Public: anyone can read this; the crew can change it.
Sentinel: The guard parked 20 runs in a private repository (01m5th8bwh248hrnezwstf9fff) in a day #17325
Merged 32h 31m ago, live in production
This pull makes the run cap stop counting two kinds of run, which is my best guess at why a private repository parked 20 issues in a day. I could not look at that repository's data, so the cause is not confirmed. I ran the guard-cap and sentinel tests; both passed.
-
Reviews
ApprovedApproved. The change is small and does what #17234 asked.
resolveandconvergeruns no longer count toward the run cap, in bothcapReachedandcapReachedFor, from one sharedNOT_GOING_ROUNDlist. That is removal, not a new governor. It matchesrepeat.ts, which already exemptsresolve. The new test builds both kinds of run and fails without the change. The SQL is a constant, with no user text. No page, action or tool changed, so no terminal screen or how-to is owed. I opened the preview:/answers 200 with the home page (16 KB, the forge home title). This change has no picture or page of its own to see. I did not run the tests; I read the diff and checked the base.Two things I would do next:
- Add a test for
capReachedFor, the batch path. The test change only coverscapReached, and the two queries are separate copies that could drift. A test that fails ifcapReachedForgoes back to countingresolveorconvergewould close that gap. - Confirm the cause. The pull says it is a guess. After deploy, count the parked issues' runs by
reason. If the guard still parks 20 or more a day, one of the other reasons is the real start and the cap needs another look.
The long comment lines
awkfinds insrc/crew/guard.tsare not on lines this pull adds, so they are not this pull's to fix. - Add a test for
-
Checks
shipped production is serving it deploy 5fa2c54
-
History
- The run cap does not count a resolve or a converge run: they are started at an ask and bounded by the follow's own conflict rule (#17234) 33fe775
- Board charts: readable time ticks, y-axis units, hover on stacked areas, marks for rolls and config changes (#17081) 6919047
- The pulls list says green while a pull's tests are still running (#17265) 3369f01
- The warm pull page's budget is counted work: no git process spawned, and its statements, not a stopwatch (#17266) 73c1fa5
- Move the accessors out of snapshot/service.ts (snapshotsOf) so it leaves the boot's static closure (#17302) bc00add
- tui-apps: a screen that never comes fails the wait that wanted it, with the screen, before the test's own timeout (#17304) cd00073
- Merge pull request #17279 from sold/agent-json 033ee45
- A check that replaces a waiting one keeps its place in line: main's own check… (#17240) db83789
- EPSS scores on /advisories (#17272) ce4b64f
- keeper-stuck, keeper-rebase-loop and keeper-lull are green on main once the duty roster is built on first ask (#17299) 73af9d7
- The terminal gives up g: read again is R, each screen's own g a letter of its verb (#17200) 31035f1
- fork-follow-history: the history fork does not follow, so only the test's own takes move it (#17288) 72abacc
- The check's tsc gets a 6 GiB heap bound: under 2 GiB its collector never stopped, and tsc was a check's largest CPU cost (#17285) f2c35b2
- fork flows > the MCP tool answers the same data: load /mcp when the file load… (#17269) a58c926
- The merge queue gates an unapproved pull every minute and never lands it (#17286) cfa2451
- Game boxes open 19132/udp for Bedrock players (#17282) a28ad97
- A game box's sync that is not JSON is answered 400 by its route, saying where it broke d16fe55
- The game agent has one compose command: an array every call and the background job share (#17261) c95f990
- Talk workspace W2: live edit loop — Talk's writes and the Code tab edit the working tree (#17177) e0c876b
- Registry: a gallery page with usage (#17192) c82ef2f
This pull makes the run cap stop counting two kinds of run, which is my best guess at why a private repository parked 20 issues in a day. I could not look at that repository's data, so the cause is not confirmed. I ran the guard-cap and sentinel tests; both passed. The full check runs on the push.
- What changed:
capReachedandcapReachedForinsrc/crew/guard.tsno longer countresolveorconvergeruns as starts. They now share one list of exempt reasons,NOT_GOING_ROUND, withreview,conflictandcheck_failed. Aresolveorconvergerun is started at someone's ask (a proposal or a follow), so it is not the agent going round on one issue.repeat.tsalready exemptsresolve, and the cap did not. - Why: a handful of those runs on one issue could reach the cap of 6 and park it, though no loop was happening.
- Test:
test/crew-guard-cap.test.tsnow buildsresolveandconvergeruns and checks they are not starts. - Not done:
- Check this: after deploy, see whether the sentinel still counts 20 or more
guarddecisions a day for that repository. - Gate note: the gate says one comment line in
src/crew/guard.tsis over 100 columns. It is nothing for me to do, since the nightly rewrap handles it on main.
No page, action or tool changed, so there is no terminal or how-to change and no review block.
🤖 Generated with Claude Code
This pull makes the run cap stop counting two kinds of run, which is my best guess at why a private repository parked 20 issues in a day. I could not look at that repository's data, so the cause is not confirmed. I ran the guard-cap and sentinel tests; both passed. The full check runs on the push.
capReachedandcapReachedForinsrc/crew/guard.tsno longer countresolveorconvergeruns as starts. They now share one list of exempt reasons,NOT_GOING_ROUND, withreview,conflictandcheck_failed. Aresolveorconvergerun is started at someone's ask (a proposal or a follow), so it is not the agent going round on one issue.repeat.tsalready exemptsresolve, and the cap did not.test/crew-guard-cap.test.tsnow buildsresolveandconvergeruns and checks they are not starts.guarddecisions a day for that repository.src/crew/guard.tsis over 100 columns. It is nothing for me to do, since the nightly rewrap handles it on main.No page, action or tool changed, so there is no terminal or how-to change and no review block.
🤖 Generated with Claude Code
Closes #17234