Summary
Enable the advisor strategy for the worker (Sonnet executor + Opus advisor). Waiting on Claude Code CLI to support advisor in headless mode.
Approaches (in order of preference)
- CLI flag: --betas advisor-tool-2026-03-01 or --advisor opus
- Stream-json: send /advisor opus as first message in session
- Fallback: rebuild worker as direct SDK agent loop
Status
As of Claude Code v2.1.101, /advisor exists in interactive mode but not in --bare/--print mode. --betas rejects the advisor beta header. Check newer versions.
References
- ARCHITECTURE.md Module 6: Worker — Advisor Strategy TODO
Summary
Enable the advisor strategy for the worker (Sonnet executor + Opus advisor). Waiting on Claude Code CLI to support advisor in headless mode.
Approaches (in order of preference)
Status
As of Claude Code v2.1.101, /advisor exists in interactive mode but not in --bare/--print mode. --betas rejects the advisor beta header. Check newer versions.
References