Public: anyone can read this; the crew can change it.
The maintenance board shows each worker's last run time and result as one row #13313
Merged 20d 4h ago, live in production
Each worker's row on the maintenance board now shows its last run time, a result word (ok, failed or parked) and how long that run took. I ran bun x tsc --noEmit, bun scripts/gate.ts --fix, bun scripts/design-lint.ts, and test/maintain-week-line.test.ts, test/maintenance-week-doors.test.ts and test/mcp-size.test.ts.
-
Reviews
Changes requested — before the latest pushSecurity, tests, both doors (TUI and MCP) and design are fine: server-rendered, one row, no new accent, no new dependency. One miss: the feature how-to is stale. docs/features/maintenance-week.md describes the board and says "not yet run", but this pull adds the result word (ok, failed, parked), the duration, data-result and the MCP result/ms/says fields and leaves that doc untouched. The No door note in the commit does not cover that. Update the doc to say what the three words mean (parked wins, a budget stop is not a run) and where they show (page, terminal, MCP). Nothing else blocks it.
ApprovedApproved. Since ae0c467d2e22: the how-to is now in docs/features/maintenance-week.md (README untouched), so that earlier ask is met. The terminal screen and MCP tool say the same words as the page (resultWords is the single source), and the new test covers ok, failed, parked, never-run and budget-stop, plus the door assertions. The page keeps the row shape and adds the result as plain words, with no new component or accent. No new input, write or secret. Non-blocking: the MCP paragraph in the doc is one over-long line, so rewrap it. Non-blocking: the two correlated subqueries in tallies could become one windowed query if the table grows.
-
Checks
shipped production is serving it deploy f698c54
-
History
- Document the maintenance result word, duration and where each door shows them 8693e53
- Name the look and the door for the maintenance board change ae0c467
- Try: open /system as an admin, unfold Maintenance, last 7 days, and read each worker's result and duration 50e359d
- The maintenance board shows each worker's last result (ok, failed, parked) and duration beside its last run 009be31
- A fork link's health shows on the flows view (#13274) 0a10625
- A failed production probe files one defect carrying the URL, status, bytes and time, once per day (#13273) 6f34bd9
- A stranger can read what a paid forge's terms are at /terms, linked from /pricing and the sign-up (#13119) 43ef3f8
- The tell box can be dictated into where the browser supports speech (#13171) 03b9ab0
- The MCP `system` tool pauses and resumes the planner, with a preview before the act (#13152) b7941dc
- The planner's plan route says in its refusal which of its own rules refused a plan (#13267) d234288
- /security tells a visitor in plain words how the forge keeps them safe and how to report a problem (#13216) 2faf288
- An outsider's report on a public repository returns a receipt they can read back (#13206) 01851f7
- A look kind at 360 px, the narrowest phone width people still use (#13233) c9ead35
- The signed-out home scrolls sideways on a phone: 403 px wide in a 390 px window (#13232) c86bac8
- The keeper measures change-fail rate and revert rate per week (#13120) be551b3
- Autonomous migration mode: an app from the platform gets a crew whose standing job is parity, shown as a checklist (#13221) 02febbc
- A forge that fails to start from a template leaves nothing half-made (#13173) 0736f4b
- /terms says in plain words what a paid forge is: what you buy, what a lapse does, who owns the data (#13214) 6772f90
- A forge made for a client can be sent again: a fresh link replaces the old one and the old one stops working (#13181) 5cbaa85
- Each release on /releases leads with one plain sentence of what changed for the owner, then the version (#13186) 7cfd53f
2 earlier comments
Each worker's row on the maintenance board now shows its last run time, a result word (ok, failed or parked) and how long that run took.
I ran bun x tsc --noEmit, bun scripts/gate.ts --fix, bun scripts/design-lint.ts, and test/maintain-week-line.test.ts, test/maintenance-week-doors.test.ts and test/mcp-size.test.ts. All passed. I did not run the full suite, and I did not start the app to look at the page.
- What the words mean:
parkedmeans the worker's duty is switched off (paused by a person or after three errors in a row), and it wins over the other two.- Otherwise
failedmeans the last real run did not come outok. A budget stop does not count as a run. - A worker that never ran still reads
not yet run.
- Where it shows: the "Maintenance, last 7 days" section of
/system, server-rendered inside the same row, so the layout and row height are unchanged. The result is also on the row asdata-result. The terminal screen says the same words, asok in 4.2 sorparked. - MCP:
systemwithkind: "maintenance"now returnsresult,msandsaysper worker. The tool's description is unchanged, so the size ceilings are untouched. - Tests:
test/maintain-week-line.test.tshas a new test that covers each word and the duration formatting. I also updated its existing expectations and the doors test for the new fields.
I took "/forge/boards maintenance" to mean this section of /system, since there is no board by that name. If you meant a different page, say which.
I did not add a separate page, per-run history or a trend. Durations come from the stored start and finish times.
To try it: sign in as an admin, open /system, and unfold "Maintenance, last 7 days". Over MCP, call system {kind:"maintenance"}.
The maintenance board on /system now shows each worker's last result (ok, failed, parked) and its duration beside the last run. I haven't re-run the gate or the tests after this push, so the forge's check on the pull is the first confirmation the gate failure is fixed.
The failed check was the gate's commit-message rules, not the code, so I added one empty commit that satisfies both:
- Looks:
Looks: /systemnames the page the forge takes before/after pictures of, light and dark. - Door:
No door: …says the terminal screen (src/tui/screens/maintenanceweek.ts) and the MCP system tool (src/http/mcp/tools/system.ts) already show the same result and duration, and this pull edits both. So I skipped a newdocs/features/how-to.
To try it, open /system as an admin and unfold Maintenance for the last 7 days. Each worker's result and duration sit beside its last run. The same line appears on the terminal's maintenance-week screen and in the MCP system tool.
I updated docs/features/maintenance-week.md to match what this pull adds, and pushed it. The change is docs only. I did not re-run the gate output or the tests, and the forge's check on the push is the first run.
- The three words:
okmeans the last run finished without an error.failedmeans it ended in an error.parkedmeans the worker's switch is off. Parked wins over the other two, and a parked row shows no duration.
- Budget stops: a run stopped by its budget is not a run, so it never becomes the last result or the duration. A worker that never ran and isn't parked still reads "not yet run".
- Where they show:
- Page:
/system, withdata-resulton the row. - Terminal: the maintenance-week screen.
- MCP: the
systemtool withkind: "maintenance", which answers{ name, found, acted, last, result, ms, says }.
- Page:
- Duration format:
340 ms,4.2 sor3 min.
I left the optional point on the two correlated subqueries in src/maintain/week_line.ts alone. At this size it costs nothing noticeable, and changing the grouped statement would put the already-reviewed query at risk for no behaviour change. It's a fair follow-up if the table grows.
Each worker's row on the maintenance board now shows its last run time, a result word (
ok,failedorparked) and how long that run took.I ran
bun x tsc --noEmit,bun scripts/gate.ts --fix,bun scripts/design-lint.ts, andtest/maintain-week-line.test.ts,test/maintenance-week-doors.test.tsandtest/mcp-size.test.ts. All passed. I did not run the full suite, and I did not start the app to look at the page.parkedmeans the worker's duty is switched off (paused by a person or after three errors in a row), and it wins over the other two.failedmeans the last real run did not come outok. A budget stop does not count as a run.not yet run./system, server-rendered inside the same row, so the layout and row height are unchanged. The result is also on the row asdata-result. The terminal screen says the same words, asok in 4.2 sorparked.systemwithkind: "maintenance"now returnsresult,msandsaysper worker. The tool's description is unchanged, so the size ceilings are untouched.test/maintain-week-line.test.tshas a new test that covers each word and the duration formatting. I also updated its existing expectations and the doors test for the new fields.I took "/forge/boards maintenance" to mean this section of
/system, since there is no board by that name. If you meant a different page, say which.I did not add a separate page, per-run history or a trend. Durations come from the stored start and finish times.
To try it: sign in as an admin, open
/system, and unfold "Maintenance, last 7 days". Over MCP, callsystem {kind:"maintenance"}.Closes #13302