Skip to content

feat(batch): spawned workers and close-outs run Opus at medium effort - #673

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/worker-model-effort
Nov 18, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/worker-model-effort

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Closes #672.

Summary

Every session the shift watcher spawns now starts as Opus at medium effort, whatever the effort of the session that composed the shift (human ruling, 2026-11-18). Shift workers previously passed no --model or --effort, so they inherited the CLI default (Opus on high). Close-outs passed --model opus with no effort. Close-outs follow the workers, keeping the 2026-11-04 "same model as the workers" ruling.

  • _orchestrator.py: new WORKER_MODEL = "opus" and WORKER_EFFORT = "medium". session_command and closeout_command pass both. CLOSEOUT_MODEL = WORKER_MODEL, so stage-2 rows are unchanged.
  • skills/MODEL_DELEGATION.md: Anthropic execution workers (Agent-tool subagents, shift workers, close-outs) default to Opus at medium effort. An independent reviewer on another model leaves effort unset.
  • AUTONOMY.md and the batch conductor's AGENTS.md: the argv text matches the code.

Evidence

  • Full suite: 2337 passed, 1 skipped.
  • Skill line counts: OK. Tenant firewall (organ code): OK.
  • Live spawn (PYAUTO_ORCHESTRATOR_LIVE=1 … -k test_live_sandbox_worker, now launched with --model opus --effort medium): working → done, 15,547 tokens. So claude --bg accepts the flags.
  • Independent Fable 5.2 review: FINDINGS, three lows and no code defect. All fixed:
    • stale argv text in the batch AGENTS.md;
    • the live test's hand-written argv;
    • a vacuous assert.

No other claude --bg launch exists in agents/, bin/ or skills/. Re-dispatch, resume and /add all go through session_command.

🤖 Generated with Claude Code

session_command and closeout_command pass --model opus --effort medium
(WORKER_MODEL/WORKER_EFFORT); CLOSEOUT_MODEL follows WORKER_MODEL. Shift
workers had no --model or --effort and inherited the CLI default (high).
MODEL_DELEGATION.md: Anthropic execution workers default to Opus medium.
Fable 5.2 review: three lows (stale argv in batch AGENTS.md, live test
argv, a vacuous assert), fixed; live claude --bg spawn with the flags passed.

Closes #672

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Jammy2211
Jammy2211 merged commit 02ba484 into main Nov 18, 2026
2 checks passed
@Jammy2211
Jammy2211 deleted the feature/worker-model-effort branch November 18, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(batch): spawned workers run Opus 5.5 at medium effort

1 participant