v6.0.0 — The Lean Orchestrator
v6.0 is a structural evolution. AGENT-11 stops reinventing what Claude Code's platform now provides natively (hooks, native tool deferring, Routines, the Agent Skills open standard) and shrinks the framework's own surface dramatically — library/CLAUDE.md from 575 lines to 78 (-86%), context tracking from 5 active files to 3, MCP startup cost reduced via ENABLE_TOOL_SEARCH=auto. Public-facing API is largely backwards-compatible (/coord build still works the same); the wins are mostly invisible structural improvements that ship cleaner sessions.
Migration: existing v5.x users run bash <(curl -sSL https://raw.githubusercontent.com/TheWayWithin/agent-11/main/project/deployment/scripts/migrate-v5-to-v6.sh) (or download and run manually). The script detects v5.x markers, backs up everything before any change, and guides through the upgrade. See Migration Guide for details.
Added
- Universal Router (
/coord [mission]) — deterministic mission-based routing. 13 missions across Mode A (greenfield:build,mvp,dev-setup,dev-alignment,integrate,migrate), Mode B1 (surgical:fix), Mode B2 (maintenance:refactor,optimize,document,release,deploy,security). Mode override syntax:/coord mode:maintenance security. Unknown missions fail with a clear error and the valid list — no NLP "did you mean..." inference. - Karpathy operating constitution — seven principles applied by every specialist: read before writing, state assumptions, prefer minimal diffs, verify by running, avoid speculative refactors, lightest valid path, present alternatives explicitly when uncertain. Replaces the previous "always delegate" discipline. Deployed to
.claude/constitution/karpathy-constitution.md. - Dynamic context loading — coordinator reads only the files the mission's mode requires. Mode A loads
project-plan.md+agent-context.md+ mission file; Mode B1 (fix) loads only the bug report; Mode B2 loadsproject-plan.mdif it exists.evidence-repository.mdandprogress.mdare on-demand only. - Phase Handoff blocks — structured 5-field schema (Findings / Decisions / Warnings & Gotchas / Open Items / Evidence) appended to
agent-context.mdat phase boundaries. Replaces the separatehandoff-notes.mdfile. - Quality-gate hooks —
.claude/settings.jsonships with advisoryPostToolUsehooks fortsc/ruff/rubocopon Edit/Write/MultiEdit (auto-skip when toolchain absent —package.json/pyproject.toml/Gemfilegates) and aPreToolUseconfirmation prompt for destructive Bash (rm -rf,git push --force,git reset --hard, etc.). Advisory by default (|| true); promote to blocking by changing to|| exit 2. - Native MCP tool deferring —
.claude/settings.jsonshipsENABLE_TOOL_SEARCH=auto, leveraging Claude Code's threshold-based tool loading. Specialists discover MCP tools on demand viatool_search_tool_regex_20251119(pattern="mcp__SERVERNAME"). - Routines for Mode C (operational work) — three paste-ready prompt templates in
routines/:pr-review.md(GitHub webhook),nightly-qa.md(cron),backlog-triage.md(cron)./coorddetects cadence keywords ("daily", "every Monday", "schedule", etc.) and points users at the matching template instead of executing one-time work. Routines run on Anthropic-managed cloud viaclaude.ai/code/routines. - 3-tier skills model — Tier 1 (behavioural, in CLAUDE.md), Tier 2 (project-domain, in user
skills/), Tier 3 (marketplace, in.claude/skills/). All 7 SaaS skills aligned with Anthropic's Agent Skills open standard: each has a properdescriptionfield. Custom AGENT-11 fields preserved for backward-compat. migrate-v5-to-v6.sh— one-command migration script for v5.x users. Detects markers, backs up before changes, foldshandoff-notes.mdintoagent-context.md, retires.mcp-profiles/. Supports--dry-runand--yesflags. Idempotent./coordmode override —/coord mode:greenfield|surgical|maintenance [mission]forces a specific mode regardless of mission name./coordRoutine detection — cadence keywords trigger a pointer to the matching Routine template instead of one-time delegation.
Changed
library/CLAUDE.mdshrunk from 575 lines to 78 lines (-86%). Most content was duplicate of canonical sources elsewhere (coordinator.md, field-manual/, command files); lean version points at them.project/commands/coord.mdshrunk from 549 lines to 134 lines. Old briefing duplicated content already in coordinator.md; thin dispatcher only.- Coordinator's session-start protocol now mode-aware. Staleness check only runs on resumed missions (where tracking files exist), not blindly on every fresh start.
progress.mddemoted to write-only by default. Coordinator appends entries (issues, fixes, deliverables) but doesn't read at session start. Reads happen on staleness checks (resumed missions) or post-/clearreconstruction.- MCP server registry (
.mcp.json) deployment unchanged — it's correctly Claude Code's stdio config. v5.x's.mcp-profiles/profile-switching system is retired entirely. - All 7 MCP-using specialists (
developer,tester,operator,architect,analyst,marketer,designer) updated with concise Tool-Centric Workflow guidance. Long static MCP tool listings replaced with Tool Search references. install.shdeploys:library/settings.json.template→.claude/settings.json(new);project/constitution/karpathy-constitution.md→.claude/constitution/(new — was referenced by coordinator but missing pre-v6.0);field-manual/mcp-integration.md(added to deployment list).install.shalways installs all 11 specialists (previously defaulted to "core" 4-agent squad). The squad selector argument is accepted but ignored with a deprecation notice.
Deprecated
install.sh [core|full|minimal]arguments accepted but ignored (deprecation notice). Removal scheduled for v7.0.
Removed
handoff-notes.mdretired as a separate active-context file. Folded intoagent-context.mdas Phase Handoff blocks. v5.x users migrate viamigrate-v5-to-v6.sh(one line:cat handoff-notes.md >> agent-context.md && rm handoff-notes.md)..mcp-profiles/directory and the profile-switching system retired. Replaced by native tool deferring (ENABLE_TOOL_SEARCH=auto)./mcp-switch,/mcp-list,/mcp-statusslash commands retired (Sprint 4a).templates/handoff-notes-template.mdretired (folded intoagent-context-template.md).project/mcp/dynamic-mcp.jsonremoved — Sprint 11 artefact based on Claude API schema (per-tooldefer_loading), which doesn't apply to Claude Code's.mcp.json. Caught at Sprint 4f T1 audit. Native deferring replaces it.project/field-manual/mcp-optimization-guide.mdarchived — its entire premise was the retired profile-switching optimisation.field-manual/mcp-integration.mdis now the canonical MCP doc.project/deployment/scripts/validate-mcp-profiles.sharchived — validated profiles that no longer exist.mcp-setup.shat repo root (root-level MCP setup helper) retired in Sprint 4a alongside the profile system.
Architecture
v6.0 is delivered as 8 sub-sprints under the "Sprint 4" umbrella. Each followed a rolling-wave protocol where the next sprint's spec was the closing task of the current sprint:
- 4a — Baseline + Great Deletion: validation harness; v5.2 baseline measured; MCP profile system, backups, ASCII art deleted.
- 4b — Prompt Hygiene & Budget Controls: Karpathy constitution shipped; PAUSE-AND-PLAN replaces NO-WAITING; mission budget frontmatter; subagent hardening. Headline measurement: Task 4 (refactor) dropped 75% (6:07 → 1:33).
- 4c — The Universal Router:
/coordrewritten 549 → 91 lines; deterministic mission routing; dynamic context loading. - 4d — Native Primitives + CLAUDE.md Shrink: hooks in
settings.json;library/CLAUDE.md575 → 79 lines; Meta-Dev skill for the agent-11 repo; constitution deployment fix. - 4e — Context Consolidation 5→3:
handoff-notes.mdfolded intoagent-context.mdas Phase Handoff blocks;progress.mddemoted to write-only. - 4f — Dynamic MCP Tool Search: recalibrated mid-sprint after T1 audit caught a schema mismatch;
ENABLE_TOOL_SEARCH=autoenabled native deferring;dynamic-mcp.jsonarchived; profile-switching residue retired. - 4g — Skills + Routines: skills audited against open standard; 3-tier model documented; 3 paste-ready Routine templates;
/coordoperational-intent detection. - 4h — Validation + Migration: harness validates v6.0 vs baseline;
migrate-v5-to-v6.shfor v5.x upgrades; consolidated docs (this CHANGELOG entry).