Foreman: Know What Breaks Next
v0.9.1Your factory starts heading for a death spiral long before the game sounds the alarm. Foreman watches every machine, stockpile and power plant, and tells you what runs out next, wh
- Source code
- https://github.com/y2k4life/foreman
- Tags
- Quality of Life Ships Storage Settlement Food Research World map
Your factory starts heading for a death spiral long before the game sounds the alarm. Foreman watches every machine, stockpile and power plant, and tells you what runs out next, why, and what to build to fix it.

What it tells you
- Is my base healthy? Ten vital signs (power, maintenance, supplies, workers, food, health, Unity, housing, needs, waste), each OK, watch or critical.
- What runs out next? A countdown for every product that is shrinking.
- Which machines are wasting time? Starved, backed up or unable to work, worst first.
- Is it getting worse? History back to the start of the save: power, maintenance, Unity, workers.
- How many do I need? Plans that use your save's research and difficulty, with the fewest buildings that keep up.
- Plus power plants and their short dips, food and farms, cargo ships, wells, research and the map.
Get started
- Install the mod and load a game with it (it can be added to an existing save).
- Open the console with the
`key and typeweb_api_start 3073 true. Once is enough: the game then starts its web server by itself in every game. - Open the Foreman dashboard in your browser: http://localhost:3073/foreman
The game serves the dashboard itself, so there is nothing else to install. Keep it on a second monitor; it updates by itself. It opens on the computer that runs the game only.
Ask questions in plain English (optional)
If you use an AI app on your computer (Claude Desktop, Claude Code, VS Code, Cursor, LM Studio and others), the Foreman Advisor will answer questions like "check my base" or "why is my steel line slow?" from your running game Prompt Examples. Download and setup: https://github.com/y2k4life/foreman
Gallery
- The Overview: what needs attention right now

- The map, colored by machine state

Safe to use
- Read-only. Foreman changes nothing in your game. Add it to or remove it from any save.
- Stays on your computer. It only adds read-only pages to the game's own web server, which accepts connections from this computer only. It opens no internet connections.
- The Hub's code scan lists file access, reflection and code generation: the dashboard's files are read from the mod's own folder, and the other two come from the Newtonsoft.Json library, which writes the JSON. Foreman writes no files.
For tinkerers
Every number comes from read-only JSON routes under http://localhost:3073/api/v1/mod/foreman/ (the game's /routes lists them), for your own tools and spreadsheets.
Early version. Foreman grows with the game: it covers the early and middle game today; nuclear power, rockets and space come later. Ideas and bug reports are welcome on GitHub.
Foreman is a fan-made mod, not affiliated with or endorsed by MaFi Games.
No announcements yet.
### 0.9.1
First public preview (Beta): the dashboard served by the game at /foreman, vital signs, countdowns, machine states, history, power, farms, ships, wells, research, map and terrain; read-only JSON routes; optional AI advisor on GitHub.
This mod has no dependencies.
No other mods depend on this mod yet.