[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DT0Y3N29AM3HFEJ04ZAY16":3,"skill-same:01M6DT0Y3N29AM3HFEJ04ZAY16":100},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":52,"install":53,"resources":65},"01M6DT0Y3N29AM3HFEJ04ZAY16","Qcritical-review",null,"Critical thinking verification for SIVS stages. Spawns adversarial sub-agents to stress-test specs, implementations, and merge readiness. Also hosts structured debate and evidence-backed risk proof modes. Use for 'review critically', 'stress test this', 'devil advocate', debates, risk proof, or auto-invoked by Qgenerate-spec, Qexecute -verify, Esupervision-orchestrator.","inho-team\u002Fqe-framework","inho-team","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F264128745?v=4","01M6DSZK6GTAMMXSV3VJJSKN6Y","01M6DSZKA95G3ADR7SCQ7ANTJH",6,"MIT","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQcritical-review\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"Qcritical review","review","use","debate","readiness","critical","stage","stress-test","thinking","evidence","auto","orchestrator","stress test","verify","risk","verification","code","merge","test","spec","2026-11-10 10:12:30",false,"---\nname: Qcritical-review\nuser_invocable: true\ndescription: \"Critical thinking verification for SIVS stages. Spawns adversarial sub-agents to stress-test specs, implementations, and merge readiness. Also hosts structured debate and evidence-backed risk proof modes. Use for 'review critically', 'stress test this', 'devil advocate', debates, risk proof, or auto-invoked by Qgenerate-spec, Qexecute -verify, Esupervision-orchestrator.\"\ninvocation_trigger: When critical verification is needed at any SIVS stage, or when the user wants adversarial review, structured debate, or code risk proof.\nrecommendedModel: opus\n---\n\n> **`.qe` reads → DB:** `.qe\u002F` content is stored in the SQLite store (`qe_files`), so a path may have **no file on disk**. Read `.qe\u002F` content with `node scripts\u002Fqe-cat.mjs \u003Cpath>` (or `--ls`\u002F`--exists`) and structured state with `node scripts\u002Fqe-query.mjs …` — do not assume the raw file exists. See `QE_CONVENTIONS.md`.\n\n# Qcritical-review — Adversarial Verification\n\n## Role\nStress-tests artifacts at each SIVS stage through adversarial sub-agents. Produces a structured PASS\u002FWARN\u002FFAIL verdict. Designed to be called standalone or auto-invoked by other SIVS skills. Debate and risk modes are additive compatibility modes; they do not replace the SIVS gate.\n\n## Client Adapter Compatibility\n\n- **Claude**: spawn reviewer agents via Agent tool and `subagent_type` as described below.\n- **Codex native**: prefer native Codex subagents through the installed agent TOML. QE-installed TOML files carry `model` and `model_reasoning_effort` converted from each agent's `recommendedModel`.\n- **Codex inline fallback**: only when native subagent delegation is unavailable, run reviewer roles as role-separated inline passes in the Lead session and mark the fallback explicitly.\n- **Interaction**: ambiguous target selection and WARN\u002FFAIL decisions use the interaction adapter. Claude uses `AskUserQuestion`; Codex interactive uses concise plain-text choices; Codex non-interactive applies the safe recommended default or stops on destructive ambiguity.\n- **Command rendering**: user-visible examples use the active client's command prefix.\n\n## CLI Interface\n\n```text\n{adapter.commandPrefix}Qcritical-review --stage spec                  # Review a spec document\n{adapter.commandPrefix}Qcritical-review --stage verify                # Review an implementation\n{adapter.commandPrefix}Qcritical-review --stage supervise             # Review merge readiness\n{adapter.commandPrefix}Qcritical-review --mode cross-model            # Deprecated: uses isolated active-client reviewers\n{adapter.commandPrefix}Qcritical-review --stage verify --mode cross-model   # Compatibility spelling\n{adapter.commandPrefix}Qcritical-review --debate \u003Ctopic>              # Structured multi-round debate\n{adapter.commandPrefix}Qcritical-review --risk {UUID}                 # Evidence-backed code risk proof\n{adapter.commandPrefix}Qcritical-review \u003Cfile>                        # Auto-detect stage from file type\n{adapter.commandPrefix}Qcritical-review                               # Auto-detect from recent SIVS context\n```\n\n## Review Modes\n\n| Mode | Agents | When to Use |\n|------|--------|-------------|\n| `isolated-critical` (default) | 3 isolated active-client sub-agents | High-stakes critical review |\n| `cross-model` (deprecated) | Resolves to `isolated-critical` | Compatibility only; never invokes another AI client |\n| `--debate \u003Ctopic>` | Debate agents\u002Fengines | Structured debate; see [.\u002Freference\u002Fdebate-mode.md](.\u002Freference\u002Fdebate-mode.md) |\n| `--risk {UUID}` | Erisk-proof-auditor | Code Risk Gate proof; see [.\u002Freference\u002Frisk-mode.md](.\u002Freference\u002Frisk-mode.md) |\n\nSIVS uses one active AI client. Reviewer independence comes from fresh isolated\ncontexts and non-overlapping adversarial roles; a review mode must not bridge to\nanother AI client.\n\n## 9-Step Protocol\n\nEach review session runs a structured sequence of up to 9 steps drawn from the OMC critic protocol. Not every SIVS stage runs all 9 steps.\n\n| # | Step | Summary |\n|---|------|---------|\n| 1 | Pre-commitment Prediction | Before reading, commit to 3–5 predicted problem areas |\n| 2 | Multi-perspective Review | Examine through SE \u002F Junior \u002F Ops lenses in parallel |\n| 3 | Pre-Mortem | Generate 5–7 failure scenarios assuming exact execution |\n| 4 | Ambiguity Scan | Identify steps with two valid but conflicting interpretations |\n| 5 | Devil's Advocate | Argue the implementation is wrong; hunt for crashes and silent failures |\n| 6 | Self-audit | Re-examine each CRITICAL\u002FMAJOR finding for confidence and bias |\n| 7 | Realist Check | Pressure-test severity against realistic worst-case and mitigations |\n| 8 | Adversarial Escalation | Trigger max-adversarial mode on CRITICAL findings or 3+ MAJOR |\n| 9 | Explicit Gap Analysis | Catalog what is missing — requirements, assumptions, omitted context |\n\nFull definitions: [.\u002Freference\u002Fnine-step-protocol.md](.\u002Freference\u002Fnine-step-protocol.md)\n\n## Stage Detection (when --stage is omitted)\n\n| Stage | Detected From | 9-Step Mapping |\n|-------|--------------|----------------|\n| `spec` | `TASK_REQUEST*.md` or spec file | Steps 1, 2, 4, 9 |\n| `verify` | Source code or diff | Steps 3, 5, 6 |\n| `supervise` | PR or merge context | Steps 7, 8 |\n\nDetection order:\n1. If a file argument is given: match against the Stage column above.\n2. If no argument: check `.qe\u002Fstate\u002Funified-state.json` for last SIVS stage.\n3. If ambiguous: ask user via the interaction adapter.\n\n## Execution Procedure\n\n### Step 1: Gather Target Artifact\n\n| Stage | What to Read |\n|-------|-------------|\n| `spec` | TASK_REQUEST file, VERIFY_CHECKLIST, any referenced design docs |\n| `verify` | `git diff` of implementation, test results, checklist status |\n| `supervise` | Full PR diff (`git diff main...HEAD`), CI status, review comments |\n\n### Step 2: Spawn Adversarial Agents\n\nSpawn **3 reviewer roles** via the agent adapter. Claude uses 3 sub-agents in parallel via the Agent tool. Codex should use native subagents first, relying on the installed TOML model routing; otherwise run role-separated inline passes and mark the fallback explicitly. Reviewers must NOT see each other's output when the client can enforce isolation.\n\n#### Spec Stage Agents\n\nFull mode definitions live in [.\u002Freference\u002Fthinking-modes.md](.\u002Freference\u002Fthinking-modes.md). These agents implement the mandatory Spec self-reference gate: [.\u002Freference\u002Fspec-gate-protocol.md](.\u002Freference\u002Fspec-gate-protocol.md).\n\n| Agent | Mode | Role | Key Questions |\n|-------|------|------|--------------|\n| **Structural Reviewer** | Structural | Stress-test the spec's structure for completeness & internal consistency | \"Does every goal map to an item and vice versa? Any contradictory requirements? Dangling dependencies? Subjective\u002Funverifiable items? Whole sub-problems missing?\" |\n| **Critical Reviewer** | Critical | Devil's advocate on the spec's substance | \"What false assumption is this built on? What error case \u002F production scenario is absent? Where will this spec lead the implementer wrong?\" |\n| **Edge Case Finder** | Critical (boundary) | Identify boundary conditions | \"What happens at zero? At max? With concurrent access? With malformed input? With network failure?\" |\n\n#### Verify Stage Agents\n\nThese agents implement the mandatory Verify gate: [.\u002Freference\u002Fverify-gate-protocol.md](.\u002Freference\u002Fverify-gate-protocol.md). The Verify lead and **Devil's Advocate** use high reasoning effort.\n\n| Agent | Role | Key Questions |\n|-------|------|--------------|\n| **Devil's Advocate** | Argue the implementation is wrong | \"Where does this break? What input crashes it? Which test is missing?\" |\n| **Security Auditor** | Find vulnerabilities | \"Is there injection? Auth bypass? Data leak? OWASP Top 10 exposure?\" |\n| **Performance Skeptic** | Challenge efficiency | \"What's the time complexity? Does it scale? Are there N+1 queries? Memory leaks?\" |\n\nFor `type: code`, all Verify-stage agents also receive the TASK_REQUEST Risk Register and must explicitly challenge low-probability high-impact failures: data loss\u002Fcorruption, permission escalation, concurrency\u002Frace behavior, rollback viability, and unverified assumptions. A HIGH\u002FCRITICAL risk without a mitigation, test, defensive code path, or explicit defer rationale is a FAIL.\n\n#### Supervise Stage Agents\n\nThese agents implement the mandatory Supervise gate: [.\u002Freference\u002Fsupervise-gate-protocol.md](.\u002Freference\u002Fsupervise-gate-protocol.md). **Merge Blocker** is the cross-model-upgrade target.\n\n| Agent | Role | Key Questions |\n|-------|------|--------------|\n| **Merge Blocker** | Argue against merging | \"What regression risk exists? Is test coverage sufficient? Are there unresolved TODOs?\" |\n| **Merge Advocate** | Argue for merging | \"What's the cost of delay? Is the remaining risk acceptable? Does it meet the spec?\" |\n| **Impartial Judge** | Weigh both sides | \"Which concerns are valid? Which are hypothetical? What's the actual risk level?\" |\n\nFor `type: code`, the Supervise-stage review is the final **Code Risk Gate** owner. Merge Blocker must assume the worst credible production outcome and attempt to block merge on any unhandled HIGH\u002FCRITICAL risk, missing rollback story, hidden residual risk, or unverified assumption. Merge Advocate may accept only risks that are explicitly mitigated, tested, or deferred with a named rationale. Impartial Judge must distinguish `verified`, `mitigated`, `deferred`, and `unknown`; `unknown` HIGH\u002FCRITICAL risk is a FAIL.\n\nSupervise-stage agents MUST read the `Qcritical-review --risk` report for `type: code` tasks. Missing `.qe\u002Fagent-results\u002Frisk-proof-{UUID}.md` is a FAIL unless the task is docs\u002Fanalysis or no code changed. The report is the authoritative risk input; final-report wording is not accepted as evidence.\n\n### Step 3: Each Agent Output Format\n\n```markdown\n## [Agent Role]\n\n### Findings\n1. [Finding with severity: CRITICAL \u002F HIGH \u002F MEDIUM \u002F LOW]\n\n### Evidence\n- [Specific file:line or section reference for each finding]\n\n### Verdict: [PASS | WARN | FAIL]\n- FAIL: Found critical or high-severity issues that must be addressed\n- WARN: Found medium issues worth discussing\n- PASS: No significant concerns from this perspective\n```\n\n### Step 4: Aggregate Verdicts\n\nCollect all 3 agent reports and produce a unified verdict. Before aggregation, collect each reviewer result via `wait_agent` or the active client equivalent, then close every completed reviewer handle with `close_agent` or the active client equivalent. The final report must state `open handles: 0` or include stale warning entries.\n\nCondensed report schema:\n\n```text\nCritical Review Report\nStage: [spec | verify | supervise]\nTarget: [artifact]\nReviewer verdicts: [role + engine + PASS\u002FWARN\u002FFAIL + finding count]\nOverall: PASS | WARN | FAIL\nAction Items: [severity + concrete fix]\nSubagent Lifecycle: open handles: 0; stale warnings: none\n```\n\n### Step 5: Verdict Rules\n\n| Condition | Overall Verdict |\n|-----------|----------------|\n| Any agent returns FAIL | **FAIL** |\n| 2+ agents return WARN | **WARN** |\n| 1 agent returns WARN, rest PASS | **PASS** (with notes) |\n| All agents return PASS | **PASS** |\n\n### Step 6: Present to User\n\nDisplay the full report, then ask:\n- On **FAIL**: \"Address the critical items before proceeding. Want me to fix them?\"\n- On **WARN**: \"Review the warnings. Proceed anyway or address them first?\"\n- On **PASS**: \"No critical issues found. Proceed to next stage.\"\n\n## Agent Spawn Rules\n\n1. All 3 agents run **in parallel** where supported.\n2. Prompts include artifact content, role\u002Fquestions, output format, and: \"Be adversarial. Your job is to find problems, not confirm quality.\"\n3. Agents must NOT be told what other agents are looking for.\n4. The Lead waits, collects, and closes every reviewer handle; stale handles are warnings.\n\n## Single-AI Reviewer Execution\n\nAll reviewers run as isolated subagents of the active client. The Verify and\nSupervise leads use high reasoning effort, collect the independent reports, and\ncreate the final verification\u002FQA document. If native subagents are unavailable,\nrun isolated inline passes, record `mode=degraded-inline`, and cap the verdict at\nWARN. Do not invoke a bridge or a second AI client.\n\n#### Bootstrap clause (reviewing Qcritical-review itself)\n\nWhen a change touches `Qcritical-review` or its `reference\u002F*-gate-protocol.md` files, the gate cannot trust its own (possibly-changed) behavior to review that change — a self-reference within the self-reference defense. In that case the review MUST run against the **pre-change baseline** of these files plus an **explicit diff inspection** of the proposed change, rather than the in-tree (modified) version. This prevents a broken gate edit from approving itself.\n\n## Integration Points\n\n| Caller Skill | When | Stage \u002F Mode |\n|-------------|------|--------------|\n| `Qgenerate-spec` | After spec generation | `spec` |\n| `Qexecute -verify` | After verify loop passes | `verify` |\n| `Qexecute -verify` | After Verify and before Supervise for code risk evidence | `--risk {UUID}` |\n| `Esupervision-orchestrator` | Before final verdict | `supervise` |\n\nCallers invoke stage review via: `{adapter.commandPrefix}Qcritical-review --stage \u003Cstage>`\n\n## Attribution\n\n9-Step Protocol adapted from oh-my-claudecode (MIT, © 2025 Yeachan Heo): https:\u002F\u002Fgithub.com\u002FYeachan-Heo\u002Foh-my-claudecode\u002Fblob\u002Fmain\u002Fagents\u002Fcritic.md\n","> **`.qe` reads → DB:** `.qe\u002F` content is stored in the SQLite store (`qe_files`), so a path may have **no file on disk**. Read `.qe\u002F` content with `node scripts\u002Fqe-cat.mjs \u003Cpath>` (or `--ls`\u002F`--exists`) and structured state with `node scripts\u002Fqe-query.mjs …` — do not assume the raw file exists. See `QE_CONVENTIONS.md`.\n\n# Qcritical-review — Adversarial Verification\n\n## Role\nStress-tests artifacts at each SIVS stage through adversarial sub-agents. Produces a structured PASS\u002FWARN\u002FFAIL verdict. Designed to be called standalone or auto-invoked by other SIVS skills. Debate and risk modes are additive compatibility modes; they do not replace the SIVS gate.\n\n## Client Adapter Compatibility\n\n- **Claude**: spawn reviewer agents via Agent tool and `subagent_type` as described below.\n- **Codex native**: prefer native Codex subagents through the installed agent TOML. QE-installed TOML files carry `model` and `model_reasoning_effort` converted from each agent's `recommendedModel`.\n- **Codex inline fallback**: only when native subagent delegation is unavailable, run reviewer roles as role-separated inline passes in the Lead session and mark the fallback explicitly.\n- **Interaction**: ambiguous target selection and WARN\u002FFAIL decisions use the interaction adapter. Claude uses `AskUserQuestion`; Codex interactive uses concise plain-text choices; Codex non-interactive applies the safe recommended default or stops on destructive ambiguity.\n- **Command rendering**: user-visible examples use the active client's command prefix.\n\n## CLI Interface\n\n```text\n{adapter.commandPrefix}Qcritical-review --stage spec                  # Review a spec document\n{adapter.commandPrefix}Qcritical-review --stage verify                # Review an implementation\n{adapter.commandPrefix}Qcritical-review --stage supervise             # Review merge readiness\n{adapter.commandPrefix}Qcritical-review --mode cross-model            # Deprecated: uses isolated active-client reviewers\n{adapter.commandPrefix}Qcritical-review --stage verify --mode cross-model   # Compatibility spelling\n{adapter.commandPrefix}Qcritical-review --debate \u003Ctopic>              # Structured multi-round debate\n{adapter.commandPrefix}Qcritical-review --risk {UUID}                 # Evidence-backed code risk proof\n{adapter.commandPrefix}Qcritical-review \u003Cfile>                        # Auto-detect stage from file type\n{adapter.commandPrefix}Qcritical-review                               # Auto-detect from recent SIVS context\n```\n\n## Review Modes\n\n| Mode | Agents | When to Use |\n|------|--------|-------------|\n| `isolated-critical` (default) | 3 isolated active-client sub-agents | High-stakes critical review |\n| `cross-model` (deprecated) | Resolves to `isolated-critical` | Compatibility only; never invokes another AI client |\n| `--debate \u003Ctopic>` | Debate agents\u002Fengines | Structured debate; see [.\u002Freference\u002Fdebate-mode.md](.\u002Freference\u002Fdebate-mode.md) |\n| `--risk {UUID}` | Erisk-proof-auditor | Code Risk Gate proof; see [.\u002Freference\u002Frisk-mode.md](.\u002Freference\u002Frisk-mode.md) |\n\nSIVS uses one active AI client. Reviewer independence comes from fresh isolated\ncontexts and non-overlapping adversarial roles; a review mode must not bridge to\nanother AI client.\n\n## 9-Step Protocol\n\nEach review session runs a structured sequence of up to 9 steps drawn from the OMC critic protocol. Not every SIVS stage runs all 9 steps.\n\n| # | Step | Summary |\n|---|------|---------|\n| 1 | Pre-commitment Prediction | Before reading, commit to 3–5 predicted problem areas |\n| 2 | Multi-perspective Review | Examine through SE \u002F Junior \u002F Ops lenses in parallel |\n| 3 | Pre-Mortem | Generate 5–7 failure scenarios assuming exact execution |\n| 4 | Ambiguity Scan | Identify steps with two valid but conflicting interpretations |\n| 5 | Devil's Advocate | Argue the implementation is wrong; hunt for crashes and silent failures |\n| 6 | Self-audit | Re-examine each CRITICAL\u002FMAJOR finding for confidence and bias |\n| 7 | Realist Check | Pressure-test severity against realistic worst-case and mitigations |\n| 8 | Adversarial Escalation | Trigger max-adversarial mode on CRITICAL findings or 3+ MAJOR |\n| 9 | Explicit Gap Analysis | Catalog what is missing — requirements, assumptions, omitted context |\n\nFull definitions: [.\u002Freference\u002Fnine-step-protocol.md](.\u002Freference\u002Fnine-step-protocol.md)\n\n## Stage Detection (when --stage is omitted)\n\n| Stage | Detected From | 9-Step Mapping |\n|-------|--------------|----------------|\n| `spec` | `TASK_REQUEST*.md` or spec file | Steps 1, 2, 4, 9 |\n| `verify` | Source code or diff | Steps 3, 5, 6 |\n| `supervise` | PR or merge context | Steps 7, 8 |\n\nDetection order:\n1. If a file argument is given: match against the Stage column above.\n2. If no argument: check `.qe\u002Fstate\u002Funified-state.json` for last SIVS stage.\n3. If ambiguous: ask user via the interaction adapter.\n\n## Execution Procedure\n\n### Step 1: Gather Target Artifact\n\n| Stage | What to Read |\n|-------|-------------|\n| `spec` | TASK_REQUEST file, VERIFY_CHECKLIST, any referenced design docs |\n| `verify` | `git diff` of implementation, test results, checklist status |\n| `supervise` | Full PR diff (`git diff main...HEAD`), CI status, review comments |\n\n### Step 2: Spawn Adversarial Agents\n\nSpawn **3 reviewer roles** via the agent adapter. Claude uses 3 sub-agents in parallel via the Agent tool. Codex should use native subagents first, relying on the installed TOML model routing; otherwise run role-separated inline passes and mark the fallback explicitly. Reviewers must NOT see each other's output when the client can enforce isolation.\n\n#### Spec Stage Agents\n\nFull mode definitions live in [.\u002Freference\u002Fthinking-modes.md](.\u002Freference\u002Fthinking-modes.md). These agents implement the mandatory Spec self-reference gate: [.\u002Freference\u002Fspec-gate-protocol.md](.\u002Freference\u002Fspec-gate-protocol.md).\n\n| Agent | Mode | Role | Key Questions |\n|-------|------|------|--------------|\n| **Structural Reviewer** | Structural | Stress-test the spec's structure for completeness & internal consistency | \"Does every goal map to an item and vice versa? Any contradictory requirements? Dangling dependencies? Subjective\u002Funverifiable items? Whole sub-problems missing?\" |\n| **Critical Reviewer** | Critical | Devil's advocate on the spec's substance | \"What false assumption is this built on? What error case \u002F production scenario is absent? Where will this spec lead the implementer wrong?\" |\n| **Edge Case Finder** | Critical (boundary) | Identify boundary conditions | \"What happens at zero? At max? With concurrent access? With malformed input? With network failure?\" |\n\n#### Verify Stage Agents\n\nThese agents implement the mandatory Verify gate: [.\u002Freference\u002Fverify-gate-protocol.md](.\u002Freference\u002Fverify-gate-protocol.md). The Verify lead and **Devil's Advocate** use high reasoning effort.\n\n| Agent | Role | Key Questions |\n|-------|------|--------------|\n| **Devil's Advocate** | Argue the implementation is wrong | \"Where does this break? What input crashes it? Which test is missing?\" |\n| **Security Auditor** | Find vulnerabilities | \"Is there injection? Auth bypass? Data leak? OWASP Top 10 exposure?\" |\n| **Performance Skeptic** | Challenge efficiency | \"What's the time complexity? Does it scale? Are there N+1 queries? Memory leaks?\" |\n\nFor `type: code`, all Verify-stage agents also receive the TASK_REQUEST Risk Register and must explicitly challenge low-probability high-impact failures: data loss\u002Fcorruption, permission escalation, concurrency\u002Frace behavior, rollback viability, and unverified assumptions. A HIGH\u002FCRITICAL risk without a mitigation, test, defensive code path, or explicit defer rationale is a FAIL.\n\n#### Supervise Stage Agents\n\nThese agents implement the mandatory Supervise gate: [.\u002Freference\u002Fsupervise-gate-protocol.md](.\u002Freference\u002Fsupervise-gate-protocol.md). **Merge Blocker** is the cross-model-upgrade target.\n\n| Agent | Role | Key Questions |\n|-------|------|--------------|\n| **Merge Blocker** | Argue against merging | \"What regression risk exists? Is test coverage sufficient? Are there unresolved TODOs?\" |\n| **Merge Advocate** | Argue for merging | \"What's the cost of delay? Is the remaining risk acceptable? Does it meet the spec?\" |\n| **Impartial Judge** | Weigh both sides | \"Which concerns are valid? Which are hypothetical? What's the actual risk level?\" |\n\nFor `type: code`, the Supervise-stage review is the final **Code Risk Gate** owner. Merge Blocker must assume the worst credible production outcome and attempt to block merge on any unhandled HIGH\u002FCRITICAL risk, missing rollback story, hidden residual risk, or unverified assumption. Merge Advocate may accept only risks that are explicitly mitigated, tested, or deferred with a named rationale. Impartial Judge must distinguish `verified`, `mitigated`, `deferred`, and `unknown`; `unknown` HIGH\u002FCRITICAL risk is a FAIL.\n\nSupervise-stage agents MUST read the `Qcritical-review --risk` report for `type: code` tasks. Missing `.qe\u002Fagent-results\u002Frisk-proof-{UUID}.md` is a FAIL unless the task is docs\u002Fanalysis or no code changed. The report is the authoritative risk input; final-report wording is not accepted as evidence.\n\n### Step 3: Each Agent Output Format\n\n```markdown\n## [Agent Role]\n\n### Findings\n1. [Finding with severity: CRITICAL \u002F HIGH \u002F MEDIUM \u002F LOW]\n\n### Evidence\n- [Specific file:line or section reference for each finding]\n\n### Verdict: [PASS | WARN | FAIL]\n- FAIL: Found critical or high-severity issues that must be addressed\n- WARN: Found medium issues worth discussing\n- PASS: No significant concerns from this perspective\n```\n\n### Step 4: Aggregate Verdicts\n\nCollect all 3 agent reports and produce a unified verdict. Before aggregation, collect each reviewer result via `wait_agent` or the active client equivalent, then close every completed reviewer handle with `close_agent` or the active client equivalent. The final report must state `open handles: 0` or include stale warning entries.\n\nCondensed report schema:\n\n```text\nCritical Review Report\nStage: [spec | verify | supervise]\nTarget: [artifact]\nReviewer verdicts: [role + engine + PASS\u002FWARN\u002FFAIL + finding count]\nOverall: PASS | WARN | FAIL\nAction Items: [severity + concrete fix]\nSubagent Lifecycle: open handles: 0; stale warnings: none\n```\n\n### Step 5: Verdict Rules\n\n| Condition | Overall Verdict |\n|-----------|----------------|\n| Any agent returns FAIL | **FAIL** |\n| 2+ agents return WARN | **WARN** |\n| 1 agent returns WARN, rest PASS | **PASS** (with notes) |\n| All agents return PASS | **PASS** |\n\n### Step 6: Present to User\n\nDisplay the full report, then ask:\n- On **FAIL**: \"Address the critical items before proceeding. Want me to fix them?\"\n- On **WARN**: \"Review the warnings. Proceed anyway or address them first?\"\n- On **PASS**: \"No critical issues found. Proceed to next stage.\"\n\n## Agent Spawn Rules\n\n1. All 3 agents run **in parallel** where supported.\n2. Prompts include artifact content, role\u002Fquestions, output format, and: \"Be adversarial. Your job is to find problems, not confirm quality.\"\n3. Agents must NOT be told what other agents are looking for.\n4. The Lead waits, collects, and closes every reviewer handle; stale handles are warnings.\n\n## Single-AI Reviewer Execution\n\nAll reviewers run as isolated subagents of the active client. The Verify and\nSupervise leads use high reasoning effort, collect the independent reports, and\ncreate the final verification\u002FQA document. If native subagents are unavailable,\nrun isolated inline passes, record `mode=degraded-inline`, and cap the verdict at\nWARN. Do not invoke a bridge or a second AI client.\n\n#### Bootstrap clause (reviewing Qcritical-review itself)\n\nWhen a change touches `Qcritical-review` or its `reference\u002F*-gate-protocol.md` files, the gate cannot trust its own (possibly-changed) behavior to review that change — a self-reference within the self-reference defense. In that case the review MUST run against the **pre-change baseline** of these files plus an **explicit diff inspection** of the proposed change, rather than the in-tree (modified) version. This prevents a broken gate edit from approving itself.\n\n## Integration Points\n\n| Caller Skill | When | Stage \u002F Mode |\n|-------------|------|--------------|\n| `Qgenerate-spec` | After spec generation | `spec` |\n| `Qexecute -verify` | After verify loop passes | `verify` |\n| `Qexecute -verify` | After Verify and before Supervise for code risk evidence | `--risk {UUID}` |\n| `Esupervision-orchestrator` | Before final verdict | `supervise` |\n\nCallers invoke stage review via: `{adapter.commandPrefix}Qcritical-review --stage \u003Cstage>`\n\n## Attribution\n\n9-Step Protocol adapted from oh-my-claudecode (MIT, © 2025 Yeachan Heo): https:\u002F\u002Fgithub.com\u002FYeachan-Heo\u002Foh-my-claudecode\u002Fblob\u002Fmain\u002Fagents\u002Fcritic.md\n",{"name":5,"description":7,"user_invocable":43,"recommendedModel":44,"invocation_trigger":45},true,"opus","When critical verification is needed at any SIVS stage, or when the user wants adversarial review, structured debate, or code risk proof.","main","098bee25999f0ad7b3bba659cc28b79555ffe77f","skills\u002FQcritical-review",0,"https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework","https:\u002F\u002Fgithub.com\u002Finho-team","2026-10-12 20:59:00",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":43},[55,58,61],{"tool":56,"command":57},"npx","npx skills add inho-team\u002Fqe-framework --skill Qcritical-review",{"tool":59,"command":60},"bunx","bunx skills add inho-team\u002Fqe-framework --skill Qcritical-review",{"tool":62,"command":63},"pnpm","pnpm dlx skills add inho-team\u002Fqe-framework --skill Qcritical-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQcritical-review\u002FSKILL.md",[66,72,76,80,84,88,92,96],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"evals\u002Fevals.json","REFERENCE","参考文档",6585,"https:\u002F\u002Fgithub.com\u002Fpatinaproject\u002Fskills\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpopups\u002Fevals\u002Fevals.json",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"reference\u002Fdebate-mode.md",4090,"https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQcritical-review\u002Freference\u002Fdebate-mode.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"reference\u002Fnine-step-protocol.md",10987,"https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQcritical-review\u002Freference\u002Fnine-step-protocol.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"reference\u002Frisk-mode.md",4930,"https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQcritical-review\u002Freference\u002Frisk-mode.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"reference\u002Fspec-gate-protocol.md",4962,"https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQcritical-review\u002Freference\u002Fspec-gate-protocol.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"reference\u002Fsupervise-gate-protocol.md",8091,"https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQcritical-review\u002Freference\u002Fsupervise-gate-protocol.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"reference\u002Fthinking-modes.md",6179,"https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQcritical-review\u002Freference\u002Fthinking-modes.md",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"reference\u002Fverify-gate-protocol.md",10684,"https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQcritical-review\u002Freference\u002Fverify-gate-protocol.md",[101,114,137,147,166,173],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":38},"01M6DT1S8NH342N5C7G66JCW4B","Qversion","Shows the current QE Framework version. Use when asked 'what version', 'qe version', 'show version', or 'check version'.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQversion\u002FSKILL.md",[],[103,108,109,110,111,20,112,113],"framework","haiku","check","user","version","show",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":38},"01M6DT1PACV7KP1TH48T39Z7TS","Qupdate","Use for \"update plugin\", \"upgrade\", \"update qe\", \"update codex\", or \"codex plugin\". Updates marketplace metadata\u002Fcache, framework files, installed Codex assets, and the bridge for the current install.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQupdate\u002FSKILL.md",[],[116,121,122,123,109,124,125,126,127,128,129,130,131,132,20,133,113,134,135,136],"update","fetch","node","assets","Bash","marketplace","cache","pull","bridge","plugin","codex plugin","codex","files","upgrade","update plugin","update codex",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":38},"01M6DT1K90BZKR4YDMCQ75HQSH","Qresume","Use when resuming work, restoring context, continuing from where you left off, or loading a previous session after compaction or a session break.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQresume\u002FSKILL.md",[],[139,20,144,145,146,109],"session","context","work",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":38},"01M6DT1GF6V84ACS15200PMC8H","Qplan","Use when starting or resuming a Plan. Runs bounded tacit-knowledge intake when needed, creates or updates a roadmap, then advances one verified Goal at a time. Use Qgoal only as a goal-intake alias.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQplan\u002FSKILL.md",[],[154,155,156,157,158,20,159,160,161,162,163,164,165],"qplan","core","intake","knowledge","plan","only","roadmap","goal","time","alias","as","Qgoal",{"skillNo":167,"name":165,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":171,"publishedAt":38},"01M6DT1CGVT3D9E38GD8GRZS7Z","Explicit single-Goal alias for Qplan. Use when the user enters Qgoal with the active client prefix.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQgoal\u002FSKILL.md",[],[165,163,109,111,20,161,154,172],"active",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":38},"01M6DT18NF43V0F4DBX6C3T4VB","Qgenerate-spec","Use when a routed goal or plan handoff needs TASK_REQUEST and VERIFY_CHECKLIST documents — router-owned internal PSE unit. Use Qgoal to enter; use Qplan for roadmap work.","https:\u002F\u002Fgithub.com\u002Finho-team\u002Fqe-framework\u002Fblob\u002Fmain\u002Fskills\u002FQgenerate-spec\u002FSKILL.md",[],[37,180,155,181,182,20,183,160,161,184,154,185,186,109,146,158,31],"Qgenerate spec","documents","handoff","router","checklist","task","false"]