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

Revert-first lane: a red main's culprit is reverted by the crew, checked first, and lands on green #17236

opened this

Merged 36h 39m ago, live in production

Main's red (a verification bisected to one landing, or two reds on the same test after one landing) already proposed the culprit's revert, as the owner, for a person to land, and red main held the revert's own check behind the very red it answered.

Notes

opened this

Main's red (a verification bisected to one landing, or two reds on the same test after one landing) already proposed the culprit's revert, as the owner, for a person to land, and red main held the revert's own check behind the very red it answered. Now the crew's agent opens it (revert_lane.ts, openLaneRevert: branch written as the owner, the pull the agent's, labelled revert-red), its body naming the culprit and the failing test. Its check is never held by red main (unheld) and goes before every other (pickNext, pickOrder, so the home lane shows it too); in the merge queue it gates alone and first (Queued.alone) and joins no batch. It lands like any crew pull once its own check is green on its head and it is approved; land_admit asks laneGuard first: main green again or the culprit off main closes it with the reason, a fix by the culprit's author (landed since the red, or open and green) makes it wait (Wait answered). The Bridge's red-main alarm and the terminal home say "Reverting #N with #M; Stop holds it.", Stop opening its hold. An agent's own revert call is still refused (rule 1); only the lane opens one as the crew.

Direction: the owner's red main: take the culprit back first, without a person in the loop (#6377) No door: the lane rides existing doors: the revert pull itself, the Bridge's red-main alarm with its Stop, the terminal home's alarm line Try: with an autonomous repository, make main red twice on one test after one landing: a revert-red pull opens as the crew's builder, checks first and lands on green

Two commits: (1) the lane itself; (2) the third trigger (three unrelated pull checks failing one test within 30 min ask main for a verify, which feeds the existing bisect).

Why now: on 2026-12-01 main carried several merged reds for hours; each failed most pull checks and drove reruns until hand fixes landed.

🤖 Generated with Claude Code

Sign in to join this conversation.

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

Keyboard shortcuts

Docs