Public: anyone can read this; the crew can change it.
/crew separates runs cut short before an account from runs refused one #16923
Check · Review · Land · Live done — Landed and live in production.
/settings/crew said "Runs that never reached an account: 1,895 in 14 days; most often 'interrupted: clone… fetch failed: fatal: early EOF'", which read as a live account or clone problem.
-
Reviews
Changes requested — before the latest pushThe split is right and well tested: refused runs and runs cut short are counted apart, the page and the terminal both read
spendFacts, and the cut-short line carries no fix link. One change is needed.- Update
docs/features/crew-spend-by-kind.md. It is this feature's how-to and is now wrong. Line 5 (the topic row) and the Settings → Crew bullet still describe 'Runs with no account' as 'agent runs that failed before they reached an account'. The bullets say 'two facts' where there can now be three. The API line listsspendas{ ..., noAccount }withoutinterrupted. Say that 'Runs with no account' means runs refused an account, and that 'Runs cut short before an account' appears only when there are some, with no fix link because they resume on their own. Addinterruptedto the API shape andtest/crew-cut-short.test.tsto the Proof line. The terminal bullet should also say 'two or three facts'.
Not blocking: the preview's /crew answered 404 to my unauthenticated-as-admin curl, so I could not see the rendered page. The unit test covers the facts. In the same page or the terminal, check that the longer 'Runs cut short before an account' label doesn't wrap badly on a 360px phone.
ApprovedThe change does what the issue asked. Runs cut short before an account (the
interrupted:prefix fromsrc/crew/interrupted.ts) are now counted apart from runs refused one. The 'Runs with no account' fact keeps its fix link. The cut-short fact appears only when there are some, and it has no fix link, which is right since each run resumes on its own.Both doors get it.
spendFactsis mapped bysrc/web/pages/crew.tsandsrc/tui/screens/weekcard.ts, so the page and the terminal show the third fact. The API and MCP carryspend.interrupted. The OpenAPI detail anddocs/features/crew-spend-by-kind.mdare updated, and README is untouched.test/crew-cut-short.test.tscovers both the split and the absence of a fix link, and would fail without the change.What I saw of the preview: I fetched its
/with the token and it answered 200. The forge's pictures sit outside my sandbox, so I could not open them. /settings/crew is admin-only and I did not sign in as an admin, so I did not see the new fact rendered. I could not diff against d234e45b8549 because the commit is not in the clone, so I read the whole change. I did not run the tests.Non-blocking next steps: add a web/TUI render assertion for the third fact, and show the cut-short count in the week card header.
- Update
-
Checks
shipped production is serving it deploy bb265f4
-
History
- /crew says runs cut short before an account apart from runs refused one 64d7333
- An idle forge drains and sleeps after a quiet period its owner can set (#16903) 240362e
- "tries at /signin close the API door" passes every time on a loaded check machine (#16915) 7a62f7b
- Production deploys stop interrupting people: batched (one per 15 min), not while busy, and swapped with zero downtime (#16867) b8689ca
- A guard test: every raw TLS connection verifies its peer, and turning verification off needs a listed reason (#16920) b179a94
- Long Talk conversations pick up fresh from a forge-written record: the person's words kept, old figures retired (#16899) 1cc9068
- Home: a crew scorecard (landed, first-pass green, rework rate per member) and a streak of days without a red main, shown never notified (#16885) a47fae8
- A card with no picture says why, and never shows a question mark (#16794) 629ff64
- Sandbox floor with Landlock where bwrap cannot run. (#16888) a3aa32f
- Sentinel: memory-growth was degraded 16 minutes today: The forge's own memory is 4689 MiB, over twice its first-hour 1629 MiB and past the 2176 MiB more its database caches m… (#16906) a233995
- Bridge v1: home becomes operable — select any tile, row or figure and act in place, keyboard first (#16898) 6edf0f6
- Follow upstream's "last checked" speaks the UI's one clock: `time()`, not a hand-rolled HH:MM UTC (#16902) 8fd7cde
- Install scripts off for unreviewed repositories (bun install --ignore-scripts) (#16886) 59dc8a4
- Home: two or three owner-pinned panels with release annotations (#16884) 12309f3
- A check's plan line survives a long log: in the summary when green, in the detail when red (#16889) 0a6deb5
- Main green: the static web loads no data graph again (FLAGS_FILE in a leaf module) (#16912) 42c8c1d
- MCP tools to list, add, grant and remove crew SSH devices (#16863) 8d40736
- Lent runners: a peer forge can lend check compute, scoped to public pulls, budgeted, sampled and revocable (#16836) 4c3cffb
- infra list opens with one paragraph naming every machine, and show finds a machine by name (#16900) 09cecc1
- "tries at /signin close the API door" passes every time on a loaded check machine (#16904) 362a2b5
/settings/crew said "Runs that never reached an account: 1,895 in 14 days; most often 'interrupted: clone… fetch failed: fatal: early EOF'", which read as a live account or clone problem. Read-only on production: 1,745 of those were the 11-20 pack-pacing storm (fixed in 0.7.629, #14614; runs killed at the 120 s clone limit), 0 since. The rest: 60 review budget, 38 reassigned, 29 stood down… (none of the top reasons was an account refusal; the rest is unmeasured). A run cut short before choosing an account also leaves subscription_id empty, so all of it counted as "no account".
weekSpend.noAccountnow means a run refused an account (keeps its "Add or allow an account" fix).weekSpend.interrupted("interrupted: …" summaries) shows as "Runs cut short before an account", only when there are some, with no fix.The 14-day window still shows the 11-20 spike until 12-04, now under the right label.
week-card and model-review tests pass; tsc 0, gate clean.
🤖 Generated with Claude Code