Public: anyone can read this; the crew can change it.
An open edge-kept finding is assigned to the owner on production, so no builder is handed it #17349
Merged 36h 29m ago, live in production
The crew's picker no longer takes an issue a person is assigned, and the edge-kept duty takes its finding back from a builder on every run. Cause: the assignment step works. #17185 was filed at 19:49Z with the owner as assignee, before #17190 landed.
-
Reviews
ApprovedThe cause is named (the picker put a builder's name over the owner's, and the duty only reassigned unassigned findings). Both parts are fixed and tested: a
personhold in the picker, and the duty taking the finding back from an agent before any skip. The terminal shows the hold through HOLD_WORDS, the how-to is in docs/features, and README is untouched. I read the diff and did not run the app or check production's /maintenance. The two things I would do next: (1) after deploy, watch one hourly run on production and confirm /maintenance shows 'assigned #N to the owner, whose fix it is' for the open finding; (2) thepersonhold is broad, since it covers every issue a person is assigned. Say so in the crew docs if people will assign issues to themselves expecting the crew to still help. -
Checks
shipped production is serving it deploy ba55044
-
History
- maintenance-duties: the picker's person hold and the reclaim from a builder (#17344) dae7e7f
- The crew's picker holds an issue a person is assigned, and edge-kept takes its finding back from a builder (#17344) d81035e
- A spawn whose first proof answered still settles it, so the new home is asked… (#17331) 8485415
- Full-suite report files every tally echo under the budget note's file (failed… (#17333) 466ceda
- The crew falls back to the capped key when every plan's window is full, and Settings → Crew shows and steers it (#17168) 4cad6ca
- The bundle's boot is held to a share of the source boot's CPU, measured in the same run, not a wall-clock bound (#17320) 252f7b6
- server.ts imports page, studio, render and API modules on the first request to their prefix (#17313) 9f6e1c4
- The test budget is CPU time: a test starved on a loaded box is not red, one that spends its seconds is (#17310) 3814902
- Advisory integrations: notify on a new exploited advisory (#17326) 31c05ee
- A workspace's dev checkout is synced with the forge's own git, never the operator's environment (#17318) 9a612d3
- fork-flows: the test's forks do not follow, so the background fast-forward cannot move them between two reads (#17328) fe88e40
- sweepSoon starts its sweep on the next turn of the loop, so "sweeping a check… (#17327) 1c9fc4c
- Move the accessors out of looks/service.ts (keepLook, lookUrl, memoryPressure) so it leaves the boot's static closure (#17277) 3bdad32
- Shards are packed by the verification's times first: the committed table's stale ones no longer win (#17296) 0d8a7ee
- The scans' budget is their planned wall time over the check's shards, and the scans carry their measured times (#17321) dd898c7
- Sentinel: The guard parked 20 runs in a private repository (01m5th8bwh248hrnezwstf9fff) in a day (#17325) 909a51b
- Sentinel: The guard parked 62 runs in trevato/forge in a day (#17324) 237edd2
- Two pulls opened in the same instant can be recorded with one head (#17273) 3bb7949
- Move the accessors out of apps/runtime.ts (appsRuntime, envsFor) so it leaves the boot's static closure (#17252) 5bd09d3
- Say where a pull stands in one pane: one reader, three doors (#17187) 32c8a8a
The crew's picker no longer takes an issue a person is assigned, and the edge-kept duty takes its finding back from a builder on every run.
Cause: the assignment step works. #17185 was filed at 19:49Z with the owner as assignee, before #17190 landed. The problem is the picker in src/crew/held.ts: nothing held a ready issue assigned to a person. So it put a builder's name over the owner's, and each park then cleared the assignee. The duty only reassigned a finding with no assignee, and the picker took it again first, so the duty never saw it empty. I read this from the issue's comments and timeline through the API. I did not look at production's database or its /maintenance page.
Fix:
- Picker:
src/crew/held.tshas a newpersonhold. An issue whose assignee is not an agent is not started. The map and the terminal show it as "a person is its assignee; it starts when they hand it to a builder". Assigning a builder lifts the hold, so the forge-needs "hand it to the crew's builder" choice still works. - Duty:
src/maintain/duties/edge_kept.tsnow assigns the finding to the owner when it has no assignee or an agent holds it. This happens before any skip (noFORGE_URL, in a cell). The /maintenance action line is stillassigned #N to the owner, whose fix it is. A finding a person gave to another person is still left alone. The rule text and the close-when-kept behaviour are unchanged. - How-to:
docs/features/maintenance-duties.mdsays both.
Tests:
test/maintain-edge-kept.test.ts: a finding a builder holds is the owner's again after a skipped run in a cell. This test fails without the duty change.test/crew-held.test.ts: an issue assigned to the owner is held asperson, the tick does not pick it and the owner's name stays; once a builder is assigned, the hold is lifted.- Also run: the 46 test files that read holds or drive the picker, plus the llms, docs and dead-doc tests. All pass, as do
bun x tsc --noEmitand the gate. The fast list named 913 files, too many to run whole, so I chose these myself.
Not done: the edge cache rule itself is still the owner's to set. The person hold also covers pulls a person is assigned, which matches agentFor: that already starts no run on them.
To try: on a crewed repository, assign an issue to yourself. /flow lists it under person, and no builder picks it up.
🤖 Generated with Claude Code
Left #17344 open: 1 unticked item remain (That cause is fixed: on production, within one hourly run of edge-kept, every open finding whose title matches title(path) shows the owner as assignee, and /maintenance names the run's action "assigned #N to the owner, whose fix it is".).
The crew's picker no longer takes an issue a person is assigned, and the
edge-keptduty takes its finding back from a builder on every run.Cause: the assignment step works. #17185 was filed at 19:49Z with the owner as assignee, before #17190 landed. The problem is the picker in
src/crew/held.ts: nothing held a ready issue assigned to a person. So it put a builder's name over the owner's, and each park then cleared the assignee. The duty only reassigned a finding with no assignee, and the picker took it again first, so the duty never saw it empty. I read this from the issue's comments and timeline through the API. I did not look at production's database or its /maintenance page.Fix:
src/crew/held.tshas a newpersonhold. An issue whose assignee is not an agent is not started. The map and the terminal show it as "a person is its assignee; it starts when they hand it to a builder". Assigning a builder lifts the hold, so the forge-needs "hand it to the crew's builder" choice still works.src/maintain/duties/edge_kept.tsnow assigns the finding to the owner when it has no assignee or an agent holds it. This happens before any skip (noFORGE_URL, in a cell). The /maintenance action line is stillassigned #N to the owner, whose fix it is. A finding a person gave to another person is still left alone. The rule text and the close-when-kept behaviour are unchanged.docs/features/maintenance-duties.mdsays both.Tests:
test/maintain-edge-kept.test.ts: a finding a builder holds is the owner's again after a skipped run in a cell. This test fails without the duty change.test/crew-held.test.ts: an issue assigned to the owner is held asperson, the tick does not pick it and the owner's name stays; once a builder is assigned, the hold is lifted.bun x tsc --noEmitand the gate. The fast list named 913 files, too many to run whole, so I chose these myself.Not done: the edge cache rule itself is still the owner's to set. The
personhold also covers pulls a person is assigned, which matchesagentFor: that already starts no run on them.To try: on a crewed repository, assign an issue to yourself.
/flowlists it underperson, and no builder picks it up.🤖 Generated with Claude Code
Closes #17344