Public: anyone can read this; the crew can change it.

An edge-kept finding is the owner's from the moment it exists: every open one is assigned to the owner on each run, even when the edge goes unread #17190

opened this

Merged 38h 8m ago, live in production

The edge-kept duty now assigns every open, unassigned finding to the owner at the start of each run, before any skip. That covers no FORGEURL, running in a cell, a failed read and an unmarked page. Each assignment adds the action assigned #N to the owner, whose fix it is.

Notes

opened this

The edge-kept duty now assigns every open, unassigned finding to the owner at the start of each run, before any skip. That covers no FORGE_URL, running in a cell, a failed read and an unmarked page. Each assignment adds the action assigned #N to the owner, whose fix it is.

bun test test/maintain-edge-kept.test.ts and tsc --noEmit pass, and scripts/gate.ts printed nothing before the push. I did not check that the new skip test fails without the change, and I did not run the dead-code or /llms.txt byte-budget tests.

  • Matching: the duty finds findings with findingFor, the same way as before. A finding already assigned to anyone is left alone.
  • Old branch removed: the later already filed … assigned it to the owner branch is gone. The new start-of-run pass covers that case, so the old action text no longer appears.
  • Type change: findingFor in src/maintain/edge_kept.ts now returns the full issue instead of {id, number}, so the duty can read assigneeId. Callers still work.
  • Tests: the existing assignment test now expects the new action text. A new case unassigns the findings and runs the duty with no FORGE_URL and then in a cell. Both runs skip, and the finding ends up assigned to the owner. The same case checks that a finding assigned to another user stays theirs.
  • Left out: nothing is changed in src/crew/requested.ts. Once this is on main and the duty runs, the open /explore finding becomes the owner's, and the crew pick's existing "assigned to a person" rule stops handing it out. It stays open for the hourly re-check to close.
  • Risk: no schema change and no new egress.

To try it:

  1. Unassign an open edge-kept finding.
  2. Run the duty, for example with FORGE_URL unset.
  3. Check the finding is assigned to the owner and the run's actions say so.

Closes #17169

commented

The edge-kept duty now assigns every open, unassigned finding to the owner at the start of each run, before any skip. That covers no FORGE_URL, running in a cell, a failed read and an unmarked page. Each assignment adds the action assigned #N to the owner, whose fix it is.

bun test test/maintain-edge-kept.test.ts and tsc --noEmit pass, and scripts/gate.ts printed nothing before the push. I did not check that the new skip test fails without the change, and I did not run the dead-code or /llms.txt byte-budget tests.

  • Matching: the duty finds findings with findingFor, the same way as before. A finding already assigned to anyone is left alone.
  • Old branch removed: the later already filed … assigned it to the owner branch is gone. The new start-of-run pass covers that case, so the old action text no longer appears.
  • Type change: findingFor in src/maintain/edge_kept.ts now returns the full issue instead of {id, number}, so the duty can read assigneeId. Callers still work.
  • Tests: the existing assignment test now expects the new action text. A new case unassigns the findings and runs the duty with no FORGE_URL and then in a cell. Both runs skip, and the finding ends up assigned to the owner. The same case checks that a finding assigned to another user stays theirs.
  • Left out: nothing is changed in src/crew/requested.ts. Once this is on main and the duty runs, the open /explore finding becomes the owner's, and the crew pick's existing "assigned to a person" rule stops handing it out. It stays open for the hourly re-check to close.
  • Risk: no schema change and no new egress.

To try it:

  1. Unassign an open edge-kept finding.
  2. Run the duty, for example with FORGE_URL unset.
  3. Check the finding is assigned to the owner and the run's actions say so.
commented

Left #17169 open: 1 unticked item remain (Once this is on main the open /explore finding is the owner's, and the crew's pick (src/crew/requested.ts, "assigned to a person") no longer hands it out; it stays open for the hourly re-check to close.).

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs