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

The planner is never parked by the direction's run cap: planning is paced, not capped #2143

shipped production is serving it opened this has it

Landed in pull #2154 · run

opened this

planIfThin (src/crew/autonomy.ts:584) returns parked: the direction is at its run cap via atRunCap(app, repo, direction) — the per-issue cap (issueRunCap/ISSUE_RUN_CAP, counted since a person who directs the crew last spoke) meant for a builder retrying one issue. The direction issue is a standing issue the planner works again and again, so after that many passes the planner stops until a person comments on #334.

Probes: it parked the planner 2026-10-15 ~20:00Z, 2026-10-16 ~00:00Z and 06:05Z (log: 10x planner not asked ... at its run cap in 10 min) while builders sat at 0-1 of 7 with 47-70 issues "ready" (all filtered: open pull, stalled, at cap). Each time a steering comment on #334 restarted it.

Done: the direction issue is exempt from the issue run cap; planning stays bounded by what already paces it — the breaker (three failed runs in an hour), plannerHold, one planning run in flight, the daily dollar ceiling — plus a direction-specific cap per day if needed (a setting, default generous). The tick log says the ready-after-filter count beside the raw count (ready=47 startable=0) so idle is never a mystery. Test: 20 planning passes with no person comment -> the 21st still runs when the map is thin; a tripped breaker still parks it.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs