Public: anyone can read this; the crew can change it.

/system shows one line per maintenance worker: what it found this week and what it did about it #12436

shipped production is serving it opened this has it

Landed in pull #12445 · run

opened this

Intent: a 24/7 maintenance crew the owner can see at a glance (P13), without a new page.

Done when:

Files: src/maintain/week_line.ts, the /system page, the system MCP tool, test/maintain-week-line.test.ts. Risks: reading every finding row on each request; use one indexed grouped statement.

commented

Reviewed pull #12445 at its head: ticked A pure module src/maintain/week_line.ts takes the workers' recorded findings and actions for the last 7 days (read what src/maintain and src/maintenance already record; add no new table) and returns one row per worker: name, found, acted, last run time.; /system draws the rows in the existing row component, server-rendered, nothing polling, a worker with no run reading 'not yet run' rather than hidden.; The system MCP tool answers the same rows under kind: "maintenance" (prefer an existing kind; run bun test test/mcp-size.test.ts).; test/maintain-week-line.test.ts: counts over a seven-day window edge, an idle worker, two workers.; /system stays inside its measured budget..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs