Every mission runs in exactly one mode. Each mode declares the tools it may use, the tools it may never use, and the independent verification its output must pass before completion.
P
Plan Mode
Decompose complex goals, map dependencies, surface uncertainty and define acceptance criteria before code changes begin.
Primary mission
Construct a validated, topologically sorted task DAG with explicit input/output boundaries and acceptance verification criteria.
Allowed tools
filesystem.read
ast.symbol_search
repo.dependency_tree
policy.read
Restricted tools
filesystem.write (BLOCKED)
shell.execute (BLOCKED)
git.commit (BLOCKED)
Verification requirement
Plan DAG must satisfy schema validation, contain no circular dependencies, and define unit tests for every executable task unit.
Repo Audit → Map Impact Radius → Generate Work Units → Define Test Gates → Await Operator Approval
C
Code Mode
Implement scoped changes across files while preserving repository conventions and explicit tool boundaries.
Primary mission
Synthesize minimal, idiomatic, and defensively structured code edits targeted strictly at the active task unit.
Allowed tools
filesystem.read
filesystem.write
lsp.diagnostics
git.diff
Restricted tools
network.http (ASK)
git.push (BLOCKED)
secrets.view (BLOCKED)
Verification requirement
Every modified file must compile cleanly, pass syntax linter checks, and preserve code style guidelines.