Claude plans and judges. Cheap open-model coders on Devin, Cline and Command Code write the code, each slice in its own worktree. Opus checks the whole result once at the end, and nothing merges until that check passes.
agent-try
agent-tryOne ladder for every tier. Rungs alternate lanes so a capped lane gets skipped without wasting a call. After two real task failures (--max-failures 2) the ladder stops and Sonnet builds the slice. A mechanical slice stops at rung 6.
swe-2-highfree promocline-free/deepseek-v4.1-flashfree, daily cap per modelz-ai/glm-5.3-flashfree, daily cap per modeldeepseek/deepseek-v4.1-flashboosted creditsglm-5-3-high1× quotazai-org/glm-5.3standarddeepseek-v4-flash-high0.5× quota · mechanical stops heremoonshotai/kimi-k2.7-codepremiumkimi-k2-71× quotamoonshotai/kimi-k3premiumkimi-k3-low4× quota · heaviest rungSonnet via dev-builderlogged as claude-fallback| Role | Model | When |
|---|---|---|
| Lead orchestrator | sonnet | Every run. Routes and reads verdicts. |
| dev-scout | sonnet | Broad or unfamiliar goals, before the spec |
| dev-spec | opus | Once per run |
| Slice builds | lanes | Every slice, all tiers |
| dev-builder | sonnet | Ladder exhausted, or third failure |
| dev-advisor | opus | Second failure, merge conflict, before STUCK |
| dev-verify | opus | Once, on the integrated tree |
There is no Opus builder. Model names are aliases only, never dated ids.
| Exit | Meaning | Next |
|---|---|---|
0 | Done, fast check green, committed on the slice branch | Lead reviews diff, merges |
10 | Ladder exhausted on a usage cap | Sonnet builds |
11 | Two models failed the task | Sonnet builds, advisor if the check looks wrong |
20 | Refused: unsafe directory | Claude does it |
2 | Config: not logged in, not a repo | Fix setup |
| Tier | Effort · turns | Fast check |
|---|---|---|
| mechanical | low · 40 | lint/analyze changed files |
| standard | medium · 100 | the slice's test file |
| complex | high · 150 | slice tests + typecheck |
| essential | high · 150 | slice tests + typecheck; Opus verify is the safety |
The tier changes effort and turn budget. It never changes the model class.
rm -rf ~. Lanes never push; the lead does.BASE_SHA to catch weakened tests and other reward hacking./orchestrate): dev-pm → dev-planner → dev-builder → dev-qa → three dev-judges who must agree. Use it for auth, payments, migrations or releases.conductor-drive. The Conductor runs this same lean pipeline headless and messages a human only for a gate, STUCK, or DONE./lean, /dev or /orchestrate always runs the named pipeline, even for small tasks.