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

Shrink the planner: rules count and order the work, the decider chooses, a mo… #16231

shipped production is serving it opened this has it

Landed in pull #16522 · 2 runs · run

opened this

Shrink the planner: rules count and order the work, the decider chooses, a model writes an issue only when a person's words or a defect arrive The owner, 2026-11-24: "i think the planner agent is kinda mid or doing too much"; on the plan below: "yes. go for it".

What an audit of origin/main and production found on 2026-11-24:

  • atlas ran 751 passes in 7 days, all on #334, about one every 13 minutes, for $272 at list price: 16% of all crew spend. It runs on the most capable model with nothing landed on that model in 28 days.
  • It is asked whenever nothing is startable and slots are free (src/crew/autonomy.ts about lines 590 to 920), and for pulls red on three checks, oversized issues and parked issues.
  • Recent passes open zero or one issue and write a long explanation on #334 of why not more, after reading the whole thread again.
  • In 14 days it filed 1,885 issues: 1,382 marked done, 219 dropped, 179 split, 105 open, 44 sent to Later.
  • Until 2026-11-24 it worked under a freeze ("nothing else is opened until v1.0.0 is tagged") against a queue of 378 issues it could not start (#595). Both are being lifted, so judge the new planner on the unfrozen queue.

Done when, as whole pulls, each deleting what it replaces:

  1. Plain rules, no model, do the counting and ordering: how many issues are startable against a floor; the ready list refreshed from dependencies; parked issues and three-red pulls kept as an owed list. A pass is asked for only when the rules say there is something to write.
  2. The decider (src/crew/decide.ts, fixed choices, the rule as fallback, each choice recorded in the decision ledger) chooses split, park, drop or defer for an oversized or stalled issue. Follow TypeSafe's guidance: narrow questions combined in code, several questions in one request, thresholds that rise with risk, no other option.
  3. A model is used for one job: turning a person's comment, or a defect with evidence, into a well-formed issue. On a cheaper model, only when one of those arrives, reading that comment or defect and the direction, not the whole of #334.
  4. Deleted: the per-pass explanation written to #334, the re-read of the full thread, the "nothing startable, slots free" trigger as a reason to run a model.
  5. Shown on the Crew page: the last pass (what it opened and why, in one line), the planner's share of spend, and of the issues it filed how many landed, were dropped or were split afterwards.
  6. A person and Talk can pause and resume it.

Proof: for one week after it lands, planner spend and passes per day against the week before; issues filed that landed against dropped or split. If the smaller planner files worse issues, the comparison says so.

commented

Red on three checks: pull #16522 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

check failed: gate: refused by 2 rules: both doors, name the issue (bun scripts/gate.ts --explain says how to satisfy each)

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs