Core Rule
A mode is not a label for the whole project. It is the operating posture for the next step. A task can move from Thinking to Investigation to Implementation to Review to Integration as evidence improves.
Use this with the decision flow. Once the flow tells you the mode, this page defines how that mode should behave, what the agent should produce, and what proof you should require.
A mode is not a label for the whole project. It is the operating posture for the next step. A task can move from Thinking to Investigation to Implementation to Review to Integration as evidence improves.
Use when the goal, real question, or done condition is unclear.
A one-sentence done condition, unresolved questions, and a recommended next mode.
I can read the output and say, "yes, this is the task I actually need solved."
Do not solve this yet. Help me define the task. Give me the done condition, missing decisions, assumptions, and the next mode.
Use when uncertainty must be reduced before implementation.
Findings, evidence, confidence, unknowns, and next recommended step.
Every important claim points to a source, example, file, command, or observation.
Investigate only. Do not implement. Answer this question, cite what you checked, show what remains unknown, and recommend the next mode.
Use when the field is unfamiliar and I cannot fully judge final correctness yet.
A domain map, example set, provisional rules, risk list, and human-check queue.
Rules are tied to examples, and uncertain decisions are clearly marked instead of guessed.
I do not understand this domain well enough to judge final correctness. Help me map it. Collect examples, infer only provisional rules, expose assumptions, and mark what needs human judgment.
Use when the goal is defined and the work can produce an artifact.
The artifact, a short change explanation, touched files, assumptions, and verification steps.
I can inspect the change and rerun the exact check myself.
Implement this scoped task. Touch only these files. State assumptions. Deliver the change and the exact verification steps I can rerun.
Use when an artifact exists and needs faults found before trust.
Defects, gaps, risks, exact locations, and whether each issue is proven or speculative.
Every finding is grounded in a line, section, screenshot, output, or requirement.
Review this artifact against this spec. Find defects first. Give exact locations, severity, and proof. Do not rewrite unless needed to clarify the issue.
Use when multiple outputs must become one coherent result.
Integrated artifact, conflicts found, resolutions, and one end-to-end verification.
The combined result passes a whole-result check, not only per-part checks.
Integrate these parts. List conflicts, explain resolutions, mark unresolved decisions, and provide one end-to-end verification step.
Use before accepting any delegated output.
Commands, observations, screenshots, citations, comparisons, or other proof I can inspect.
I can independently confirm the important claim.
Do not summarize confidence. Show the verification evidence, exact commands or sources, and anything that still could be wrong.
Use when the proof gate fails or feedback exposes a defect.
Targeted fix, reason for fix, retest evidence, and any new risk.
The original failure is gone and no obvious new failure was introduced.
Fix only this failed proof gate. Explain what changed, rerun the relevant check, and stop if the fix needs a product or domain decision.
Use for one small artifact or one coherent task.
The task is small, one domain, one artifact, and does not need independent lines of work.
One prompt, one owner, one proof gate, one final review.
If the agent starts discovering unknowns, switch to Investigation or Sequential mode instead of forcing completion.
Use when later steps depend on earlier outputs.
The next decision depends on investigation, prototype results, review, or a user/domain choice.
Stage 1 proof gate -> decide -> Stage 2 proof gate -> integrate.
Do not let Stage 2 begin from unverified Stage 1 assumptions.
Use for independent questions where outputs will not collide.
Several questions can be answered independently and you will converge the findings yourself.
Separate questions, separate evidence, one convergence summary.
If findings contradict, do not average them. Escalate the contradiction as a decision.
Use rarely, only when collision risk is proven low.
Files are disjoint, runtime state is isolated, each part is independently testable, and integration is planned.
One branch or worktree per agent, no overlapping files, merge one at a time.
If you cannot name exact file boundaries or shared runtime state, switch to Sequential mode.
Use only after a workflow is stable enough to repeat.
A repeatable workflow with clear inputs, outputs, logs, and failure behavior.
The workflow has been run manually enough times that the rules are no longer changing every run.
Use after a task reveals a recurring decision or reusable rule.
A candidate checklist, AGENTS.md rule, skill note, or automation idea.
The captured rule is useful beyond this one task and includes its limits.
Use Thinking mode. Do not implement yet.
Use Investigation mode. Ask for evidence, not guesses.
Use Unknown-domain mode. Automate support layers first.
Use Review mode before trusting it.
Use Integration mode and require one whole-result check.
Use Revise mode with a tighter target.
Change structure, reviewer, tool, or take over.
Use Capture mode, then maybe Automation mode later.