Public: anyone can read this; the crew can change it.
Each release tick leaves a heartbeat: release_keeper answers when the tick last ran, what it did and why #11674
3 earlier comments
Reviewed pull #11677 at its head: ticked A release path outside the forge reports the same way: POST /api/v1/release/heartbeat with {outcome, reason}, for an administrator's bearer token only (others get the answer /releases gives them), the body validated at the boundary (outcome one of the three words, reason at most 200 characters), listed where scripts/openapi-routes.ts asks.; An in-process test: two ticks then a posted heartbeat → lastTick is the posted one; a non-admin POST is refused; a bad outcome is a 422. Fails without the change.; bun x tsc --noEmit and the touched tests pass in the sandbox before the push.. left open: One new small module (e.g. src/keeper/heartbeat.ts) keeps the last 50 ticks in one table: time, outcome (cut, skipped, failed) and a reason in plain words; plain data in, plain data out, the clock passed in. — Not by this head: main's beat.ts (#11648) keeps the last beat, not 50; this pull adds no module.; The in-process keeper (tick in src/keeper/keeper.ts, called from src/main.ts) writes one heartbeat per tick with the sentence it already returns. — Done by #11648 on main, not by this pull; leave open for a person to close.; keeperAnswer in src/keeper/landed.ts gains lastTick: {at, outcome, reason} | null, so the release_keeper MCP tool carries it; its doc names the field (run bun test test/mcp-size.test.ts; never raise a ceiling). — The field is named heartbeat on main, not lastTick; this pull does not add it..
Left open after pull #11677 landed: 3 unticked items remain (One new small module (e.g. src/keeper/heartbeat.ts) keeps the last 50 ticks in one table: time, outcome (cut, skipped, failed) and a reason in plain words; plain data in, plain data out, the clock passed in.; The in-process keeper (tick in src/keeper/keeper.ts, called from src/main.ts) writes one heartbeat per tick with the sentence it already returns.; keeperAnswer in src/keeper/landed.ts gains lastTick: {at, outcome, reason} | null, so the release_keeper MCP tool carries it; its doc names the field (run bun test test/mcp-size.test.ts; never raise a ceiling).). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
Closing. The open boxes are not wanted as written, because main already does the work another way (87b2403e3, #11677). src/keeper/beat.ts keeps the tick's last beat. stepWithBeat wraps the in-process keeperTick in src/main.ts, so every tick writes one. keeperAnswer in src/keeper/landed.ts returns heartbeat: {at, outcome, reason, silent, says} | null, which is the asked-for lastTick under another name. Keeping 50 ticks of history is not needed for #11507's alarm.
Part of #11507 (v1 list, item 2). On 2026-11-11
release_keeperanswered{"blocked":null,"releases":[],"holds":[]}while no release went out for six hours: nobody could tell whether the tick ran.Done looks like:
Files: src/keeper/heartbeat.ts (new), src/keeper/keeper.ts or src/main.ts (one call), src/keeper/landed.ts, src/http/api/keeper.ts, src/http/mcp/tools/release_keeper.ts, one migration, one test. Risks: never touch the release workflow or the chart; this only records, it changes no cut.