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

Landing never stalls the crew: the green sweep runs beside the tick, not in front of it #2015

shipped production is serving it opened this has it

Landed in pull #2016 · run

opened this

autonomyTick (src/crew/autonomy.ts) awaits sweepGreen before driveRepo, and sweepGreen awaits landIfGreen for each green pull in turn — each one runs gateOnLand (the full gate on the merge, minutes). While green pulls wait, the repository picks no builder.

Probe 2026-10-16: trevato/forge ticks logged did=idle ready=64 active=0 slots=7 at 01:42–01:43Z, then no tick line at all until after 01:55Z; the only lines were landed on green pull=1939 (01:45:15Z) and landed on green pull=2006 (01:55:20Z). Earlier tonight the same shape: idle with 70 ready.

Done: builders are picked on every tick whatever the landing queue holds — the sweep runs as its own task with one in flight per repository (a second tick does not start a second sweep), or driveRepo runs before the sweep and the sweep is not awaited. A test: a landing gate that takes 10 s does not delay the tick's pick; two ticks during one sweep start one sweep.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs