# Planning recovery

The implementation model collects facts and builds the approved design. Premium planners evaluate architectural/security choices and decide whether findings are valid. A closed planning gate is not a reason to reset a task or disable Hybrid.

When a finding or requested correction is unclear, disputed or blocked by a missing capability, call `hybrid_checkpoint` with `action: "escalate"` and the observations in `checks`. This sends the current plan, finding history and research evidence to the configured planning lead. It preserves the task, reviewer assignments and approvals.

The lead returns a `planningNext` directive:

| Kind | Next step |
| --- | --- |
| Research | Collect the specific public facts/excerpts, save attributed evidence through `research` and return it to `plan`. Do not invent architecture contracts. |
| Resubmit | Submit the lead's corrected contract or rebuttal through normal planning validation. |
| Developer | Present the specific question, options and consequences; wait for the developer. |
| Tooling | Explain the exact missing access/capability and repair required. Do not repeatedly retry an unchanged failure. |

An advisory escalation never grants implementation approval or closes findings. A reviewer can explicitly withdraw its own mistaken finding with a reason through `verifiedResolutions`; another model's pass or the implementer's assertion cannot erase dissent. Normal current-plan validation still requires the configured reports, at least one pass, and no unresolved medium/high/critical finding. Reserved developer decisions remain reserved.

On supported OpenCode hosts, a visible premature stop after active planning work can receive a continuation inside the same execution. It routes through the next step above, respects interruptions and explicit waiting instructions, excludes children/reviewer sessions and pending question-tool interactions, and suppresses unchanged recovery loops. It does not start a background session or resume an interrupted one. An already-idle conversation still needs a normal user message to resume.

Native reviewers use captured evidence and approved documentation/browser tools. This feature does not add unrestricted web search. The implementation agent may gather the lead's requested documentation using its available tools; the premium lead evaluates it. External evidence remains untrusted and must contain no credentials or private source sent to public research services.

Older saved tasks remain readable. The report schema adds a nullable `recovery` object for new responses; existing receipts without it remain accepted. For a recovery response, verdicts retain their usual meaning: a missing essential fact uses `blocked` with an actionable research directive, not `pass` with a medium finding. JSON syntax and schema/verdict errors are reported separately.
