Repository navigation
Correction (2026-11-30, after the tag): the first 2.8.0 text gave 12.9 million Explore tokens and 11.9 million worker tokens. Those counts summed every transcript line, and Claude Code writes one line per content block with the same usage, so they were about 2.7 times too high. The corrected numbers are below; the decision is unchanged.
Built-in Explore on Claude Code is now pinned by default, and Claude Code 2.1.332, Codex 0.172.0 and agy 1.5.20 are verified.
After updating. On Claude Code, start a new session. On Codex, run python3 scripts/setup-codex.py and codex plugin add mitosis-orchestrator@mitosis-orchestrator, open Codex once and accept the hook review (any plugin file change requires it), then run python3 scripts/mitosis-doctor.py --platform codex. On agy, start a new session.
Changed
- Behaviour change: built-in
Exploreon Claude Code is pinned by default ("tiered"). The existing router classifies the Explore prompt: lookups go to the scout model (haiku, effort low); research, multi-file work, any web lookup and any prompt with an analysis cue (why, explain, summarize, review, audit, compare, assess, analyze, judge, correctness, race, root cause, architecture, security, "how ... works", "how do/does/is ..."; Chinese 為什麼, 說明, 解釋, 架構, 審查, 評估, 分析, 比較, 安全, 原因, 摘要, 總結, 怎麼, 如何; rulebuiltin-pin-tiered-analysis) go to the worker model (sonnet, effort medium). Haiku is used only for plain lookups (where is X defined, which file, list files, show a value, git log). A caller's explicitmodelis honoured.CLAUDE_MITOSIS_PIN_BUILTINS=0turns all built-in pinning off;=1keeps the 2.7 opt-in (Explore always haiku,general-purposepinned).Plan,general-purpose,claude,forkandweb-fetchstay untouched by default. - Reason, with data (one machine, 2026-11-19 to 2026-11-29, 63 sessions): 49
Agentcalls =web-fetch31 (built-in, already on haiku),flash-worker13 (sonnet),Explore5 (all inherited opus, about 4.8 million tokens and US$4.01 at list price, 91% of the tokens cache reads, more than the 13 worker runs at 5.2 million tokens and US$3.57),flash-lite-scout0. Offline, the 63 Explore prompts written on that machine from 2026-10-19 route to sonnet 58 and haiku 5 (the same with the analysis-cue rule in place); all 18 real research and fact-check prompts route to sonnet. The 2.7 sealed experiment (evals/builtin-pin) measured haiku on simple lookups only (90/90 in both arms, a ceiling), so research stays on sonnet; quality and saving on research tasks were not measured.
Added
- Early pin verification from PostToolUse
tool_response.resolvedModel. The record keepspin_source(resolvedModelortranscript); the transcript stays the later authority, and a mismatch warns through the existing path.
Fixed
- A subagent's post-compaction SessionStart (Claude Code 2.1.323+, carries
agent_id) overwrote the remembered primary model used byCLAUDE_MITOSIS_ESCALATE_PRIMARY=1and pushed the primary policy into the subagent. It now gives no opinion (also for a Codex subagent SessionStart). - Stop asked the primary to merge branch worktrees whose agent
background_tasksstill reports as running. It now waits until they finish (reminder once, as before). - agy SessionStart named the
settings.jsonmodel underagy --model(for example a Claude Opus 5.5 primary) and judged that one. It now names and judges the livemodelName.
Compatibility
- Verified Claude Code 2.1.332, Codex 0.172.0 and agy 1.5.20; new fixtures under
tests/fixtures/payloads/{claude/2.1.332,codex/0.172.0,agy/1.5.20}. Payload keys are unchanged on all three. - Doctor
CODEX_TRUST_VERIFIEDadds 0.172. sanitize-payloads.pykeepsbackground_taskstypes (shell, agent, monitor) andplatformvalues.
Known issues
- On agy, a scout prompt containing an instruction like "Mark each as HAS_DOCSTRING or NO_DOCSTRING" is upgraded to
flash-workerby the scout-imperative rule (cost only). Routing rules are unchanged in 2.8, so this is left for a release that writes a new sealed holdout first. - The Explore analysis cue is a word list. A lookup that uses one of its words (for example "Where is the design doc?") goes to sonnet, which only costs more; an analysis prompt that uses none of them stays on haiku.