Skip to content

Commit 55dc413

Browse files
committed
Align fleet runner comment with settle and stall timers
Docs already split FLEET_REPORT_SETTLE_MS from FLEET_STALL_POLL_MS; the runner wiring comment still blamed quiet detection on the settle timer. Match the two-timer design so the next doc pass cannot re-poison from this call site.
1 parent 2ec02bc commit 55dc413

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/tui/runner.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,8 +2210,9 @@ export async function runTUI(initialConfig: Config): Promise<number> {
22102210

22112211
// The fleet reports itself. Store changes drive it, so a lane finishing or
22122212
// failing is on screen the moment it happens rather than at the next turn
2213-
// boundary; the timer covers the one change that produces no event at all,
2214-
// a lane going quiet. `observeFleet` decides what is worth saying.
2213+
// boundary. The settle timer coalesces a parallel burst into one observation;
2214+
// the stall poll re-runs so a lane that goes quiet with no further store
2215+
// event is still announced once. `observeFleet` decides what is worth saying.
22152216
let fleetWatch = createFleetWatch();
22162217
const reportFleet = (): void => {
22172218
const observation = observeFleet(fleetWatch, subAgentSessions.list(), Date.now());

0 commit comments

Comments
 (0)