Routes individual planning questions to AUTORESOLVE or ESCALATE. Used when cm-planner surfaces multiple questions and the main agent needs to decide which require human ratification vs which can be auto-resolved with the recommended option. Read-only — produces routing verdicts, not implementations.
Architectural authority for all work in this repository. Invoked before responding to ANY user request. Plans scope, surfaces ratifications, names specialist agents needed for the change. Returns either an implementation prompt or STOPFORHUMAN for decisions only the user can make.
Audits decision documents under docs/decisions/ for convention compliance. Runs when decision docs touched OR sub-phase declared closed. Checks frontmatter, structure, length, content-sync between docs and metrics, override-block format. Returns ALL CLEAR, OVERRIDES PRESENT, or BLOCK CLOSURE.
Reviews staged git diffs before commit. Categorizes findings as HIGH (blocking), MEDIUM (advisory), or LOW (nits). Returns READY TO COMMIT or BLOCK COMMIT. Self-fast-paths trivial diffs (≤5 lines single-file no logic change).
Adds tests for new behavior in monitored source paths. Runs AFTER reviewer and conventions-audit, BEFORE final completion report. Identifies uncovered branches, writes tests using project conventions, runs them, reports results.
Entry point for any change request. Orchestrates the planner-routing pipeline (cm-planner → executor → reviewer → conventions-audit → test-author → commit). Use for any work that touches code or docs.