Public: anyone can read this; the crew can change it.
An edge-kept finding goes to the owner as an assigned issue, so no builder is handed a fix that lives outside the repository #17027
Check · Review · Land · Live done — Landed and live in production.
The edge-kept duty now files its issue assigned to the repository's owner. It also assigns the owner to an open one that has no assignee, such as #16162. bun x tsc --noEmit and test/maintain-edge-kept.test.ts (12 tests) pass.
-
Reviews
ApprovedDoes what #17014 asks, whole. A new edge-kept filing is assigned to the owner, an open unassigned one is assigned once with an action line, and agentFor already returns undefined for a person assignee, which the new test proves for this issue. Docs name the full EDGE_VARY list in the right how-to file. No page, route or tool changed, so the No door note holds. I read the diff and the code it calls (setAssignee is idempotent, so the second run adds no line); I did not run the tests. Two things I would do next: (1) in edge_kept.ts the already-filed branch calls getIssue twice with a non-null assertion on one very long line. Read the issue once into a local and branch on it. (2) The body now says the fix is the owner's twice (the new line and the next paragraph). Merge them into one sentence.
-
Checks
shipped production is serving it deploy c1c75da
-
History
- edge-kept files its issue assigned to the owner, and assigns an open unassigned one (#17014) 8139c43
- Every panel says what it counts: a one-line description, and visitors can leave out the app's own people (#16960) 4763996
- Sentinel: queue:check is past its budget: 13 checks wait for 8 slots, 7 busy; the oldest since 06:21; the longest running is #16844 at 46 min (limit 60). (#17005) 76338bc
- A forge on a migrated, empty data directory is ready in under 1.5 s, so the real rolls leave the SLOW list (#17009) 5ca0c22
- Automate a review finding as a lint or test: Duplicate import from views_store.ts; merge into one. (#17004) 6b46197
- /api/v1/search answers kind=pulls (and kind=issues meaning issues only), so a narrowed search returns N of the kind asked for (#17001) ffcf74c
- The 3D view's grid keeps the old theme's colour after a theme switch (#17000) 005552a
- Check slots per repository: each app gets a guaranteed share, the forge borrows what's idle (#16946) 099c6cc
- Observability 3b: the /boards index is live by streaming, like a board (#16848) ba6c159
- One keymap (b): pulls, the review page and a repository's tabs take their keys from the map; a moved key says where it went for two weeks (#16992) 3518284
- Surface the flow report in the terminal Flow dialog and the MCP flow tool (#16999) ade4088
- A check step behind Landlock stacked under its cell says so too, on the forge and on a runner (#16996) 0bd9528
- Sentinel: memory-growth was degraded 25 minutes today: The forge's own memory is 5382 MiB, over twice its first-hour 2272 MiB and past the 2176 MiB more its database caches m… (#16985) 9e6d1ed
- The forge measures each new forge's seconds from first ask to first built change, and /admin/limits shows the median per plan (#16829) 695dd1c
- The People-screen verify test passes in any order: carol is made up front, and listPeople is checked against the real state (#16998) dc1306c
- Errors, Sentry-grade and first-party: stock Sentry SDKs → the forge (envelope protocol + OTel), grouping, suspect pull, and the healing loop (error → issue → fix → resolved → regression reopens) (#16935) 18b216a
- Forges sharing a machine each get a cgroup and a sandbox, so no neighbour starves or reads another (#16938) 1857b5e
- One test walks a bare URL to a landed pull on the owner's repo through the API alone, with the owner's one grant as the only person's step (#16986) d25e6e6
- A runner's work outlives a forge restart: the stopping forge hands the job over and the next one takes it back (#16991) 4d835f0
- A self-swap release waits for the pull checks running, at most 20 minutes (#16988) 429ec86
The edge-kept duty now files its issue assigned to the repository's owner. It also assigns the owner to an open one that has no assignee, such as #16162. bun x tsc --noEmit and test/maintain-edge-kept.test.ts (12 tests) pass. I didn't run other callers' tests, so the "no assignee passed" case rests on the code path. I haven't confirmed the two new tests fail without the change.
What changed
fileIssueOnce(src/checks/flake.ts) takes an optionalassigneeIdand sets it withsetAssigneewhen it opens the issue. Other callers pass nothing, so they behave as before.src/maintain/duties/edge_kept.tspassesrepo.ownerIdwhen filing. When the issue is already open with no assignee, it assigns the owner and adds the action line "already filed as issue #N; assigned it to the owner, whose fix it is". It does that once, because the next run finds an assignee.- Issue body: it now says in one line that it is the owner's to do and a builder has nothing to change here.
docs/features/maintenance-duties.md: the Edge kept entry says the issue goes to the owner and names the fullEDGE_VARYkey list.test/maintain-edge-kept.test.ts: two new tests cover a new filing assigned to the owner and an unassigned open filing that gets assigned.
Dispatcher
It already skips an issue held by a person who is not an agent: agentFor (src/crew/dispatch.ts) returns undefined for a non-agent assignee. I added no dispatcher code. The new filing test calls agentFor on the filed issue and expects undefined.
Left alone
fileIssueOncedoes not assign an existing open issue itself. Theedge-keptduty does it, so flake and sentinel filings never change.- The commit says
No door:, since this is a background duty with no page, action, API route or tool. - The gate notes one over-long comment line in
src/checks/flake.ts. It said the nightly rewrap handles it, and--fixchanged nothing I had to commit.
Try it: run bun test test/maintain-edge-kept.test.ts.
🤖 Generated with Claude Code
The
edge-keptduty now files its issue assigned to the repository's owner. It also assigns the owner to an open one that has no assignee, such as #16162.bun x tsc --noEmitandtest/maintain-edge-kept.test.ts(12 tests) pass. I didn't run other callers' tests, so the "no assignee passed" case rests on the code path. I haven't confirmed the two new tests fail without the change.What changed
fileIssueOnce(src/checks/flake.ts) takes an optionalassigneeIdand sets it withsetAssigneewhen it opens the issue. Other callers pass nothing, so they behave as before.src/maintain/duties/edge_kept.tspassesrepo.ownerIdwhen filing. When the issue is already open with no assignee, it assigns the owner and adds the action line "already filed as issue #N; assigned it to the owner, whose fix it is". It does that once, because the next run finds an assignee.docs/features/maintenance-duties.md: the Edge kept entry says the issue goes to the owner and names the fullEDGE_VARYkey list.test/maintain-edge-kept.test.ts: two new tests cover a new filing assigned to the owner and an unassigned open filing that gets assigned.Dispatcher It already skips an issue held by a person who is not an agent:
agentFor(src/crew/dispatch.ts) returns undefined for a non-agent assignee. I added no dispatcher code. The new filing test callsagentForon the filed issue and expects undefined.Left alone
fileIssueOncedoes not assign an existing open issue itself. Theedge-keptduty does it, so flake and sentinel filings never change.No door:, since this is a background duty with no page, action, API route or tool.src/checks/flake.ts. It said the nightly rewrap handles it, and--fixchanged nothing I had to commit.Try it: run
bun test test/maintain-edge-kept.test.ts.🤖 Generated with Claude Code
Closes #17014