Skip to content

Assistant: expose synced production stats (offline produced/consumed per good) #124

Description

@ApocDev

The mod syncs production_stats (per good: produced/s, consumed/s, force-wide) into the project DB. The assistant's only path to this information is gameProduction, which needs the companion mod connected and the game running. The synced table can answer "is X actually being made / starved?" even with the game closed.

Add assistant access to the synced stats — either a small productionStats(goods[]) tool mirroring gameProduction's shape, or fold produced/consumed actuals into goodInfo. A batch form matters more than a single-good form (the agent typically checks a plan's imports in one go).

The tool description should state the staleness caveat (as fresh as the last save-load/resync) and that gameProduction remains the live source when the bridge is up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: aiAI planning supportenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions