Use when a full plan exists and needs a hypercritical pre-implementation review that identifies risks, proposes mitigations, and updates planning artifacts before execution.
Run an alignment-gated, memory-informed review:
memory: retrieve relevant durable constraints, decisions, pitfalls, and learningsalignment: prove the intent chain still holds across research.md, plan.md, and todo.jsonhardening: dispatch four reviewer roles to critique the aligned plan for likely failure, security exposure, or ambiguityKeep the review agent-led and concise. Restore clerical fidelity drift automatically, but never pre-apply actionable mitigation work before the user explicitly accepts it.
Read fully:
memory.mdmemory.index.jsonrequirements.md when present in the active plan folderresearch.mdplan.mdtodo.jsonRead memory.archive.md only at indexed anchors selected by the memory relevance scan.
Read forge-session.json when present and refresh it after the review.
If todo.json.context.* paths exist, treat them as canonical for locating downstream artifacts.
research.md and forge-session.json.Before alignment, retrieve applicable durable knowledge:
memory.md fully.memory.index.json for entries whose tags, applies_to, summary, or how_to_comply match:
file_targetsrequirements.md, research.md, plan.md, todo.json)memory.archive.md at selected archived_location anchors only when the index summary is too thin to apply safely.Pass the Memory Digest into the alignment packet and every hardening reviewer context. Do not copy long archive text into chat or review artifacts; cite ids and anchors.
After showing the alignment packet, run exactly four hardening reviewer passes:
correctness
security
maintainability
project-standards
AGENTS.md, CLAUDE.md, README.md, docs/, templates, lifecycle contract, memory rules, and repository conventions relevant to the planned change.can_agent and can_worktree following docs/orchestration-protocol.md; record capability in forge-session.json.tool_search for the multi-agent tool surface. Set can_agent: true only when multi_agent_v1.spawn_agent and multi_agent_v1.wait_agent are available.can_agent is true, dispatch the four reviewers in parallel as read-only subagents. Spawn all four reviewers before waiting for any one reviewer result.multi_agent_v1.spawn_agent calls, one each for correctness, security, maintainability, and project-standards, followed by repeated multi_agent_v1.wait_agent calls over the pending spawned agent ids until every reviewer completes or times out. Do not satisfy this step by roleplaying the reviewers sequentially in the main thread.can_agent is false, run the same four reviewer prompts sequentially in the main thread.research.md, plan.md, todo.json, memory.index.json, and forge-session.json.correctness or security fails, rerun the failed reviewer once sequentially before deciding whether review evidence is too degraded to continue.Task or Subagent references to sequential main-thread work, treat that as a fallback mapping only. Prefer Codex-native multi_agent_v1 tools when discovered.Each reviewer receives:
research.md, plan.md, and todo.json sectionsFor Codex multi_agent_v1.spawn_agent, use a self-contained message that includes this envelope and explicitly states: "Read-only review. Do not edit files, commit, push, create issues, or update memory. Return only the normalized JSON-compatible reviewer output."
Each reviewer returns normalized findings:
{
"reviewer": "correctness|security|maintainability|project-standards",
"findings": [
{
"id": "C01",
"severity": "low|medium|high|critical",
"title": "Short issue title",
"summary": "One concrete issue and why it matters",
"evidence_refs": ["plan.md#anchor", "todo.json:task-id", "memory.md#pit-003"],
"mitigation_set": ["Specific artifact/code/test update to make", "Verification or evidence update required"],
"memory_refs": ["PIT-003"]
}
],
"coverage_notes": ["What was inspected"],
"memory_update_candidates": [
{
"summary": "Durable lesson candidate",
"applies_to": ["skills/forge-review-plan/SKILL.md"],
"evidence_refs": ["research.md#review-pass"]
}
]
}
Use reviewer-specific ids before synthesis (Cxx, SECxx, Mxx, Sxx). The orchestrator assigns final Axx or Hxx ids after deduplication.
Merge reviewer outputs before presenting findings:
high or critical security findings unless follow-up inspection disproves the exploit path or exposure.Do not ask mitigation questions until synthesis is complete.
Check, at minimum:
requirements.md exists, every original requirement has a visible status: covered, deferred, blocked, contradicted, or missingStatus vocabulary for the packet and durable record:
alignedpartialmissingcontradictedextraTreat objective-preserving clerical drift as auto-sync work, not as an approval-gated finding.
Never auto-sync changes that would alter:
Show this in chat before hardening:
requirements.md existsInvalid behavior:
Answer the critique directly from artifacts and the four reviewer outputs. Do not ask the user to perform discovery.
Cover at least:
Only severity >= medium findings are approval-gated.
Decision queue order:
Rules:
Each decision prompt must include:
Apply the mitigation set for Axx or Hxx? (yes/no)If the user wants a different boundary for the active finding, ask one scoped follow-up question for that finding only.
Do not update plan.md or todo.json for actionable findings before the user accepts that finding.
If the user accepts one or more actionable findings:
research.mdplan.md with the reviewed decision summary and mitigation deltastodo.jsontodo.json before handoffIf the user declines a finding:
research.mdAfter reviewer synthesis and decision logging, capture durable review discoveries:
memory.index.json with status: "candidate" unless it is already represented.memory.md only when the learning is high-frequency or high-risk, and only while preserving the 12-entry working-set cap.forge-session.json, not root memory.todo.json.tasks[].memory_refs during artifact sync.After the queue is complete, present a reviewed-plan summary packet with:
Ask for final approval of the reviewed plan state before implementation handoff.
forge-implementrequirements.md remains missing, contradicted, or unaccounted for without explicit deferral, blocker, or accepted residual riskNever implement in this skill.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer