[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71EEXTRRRGPXJKH5JTFWAKM":3,"skill-same:01M71EEXTRRRGPXJKH5JTFWAKM":95},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M71EEXTRRRGPXJKH5JTFWAKM","document-review",null,"Review requirements or plan documents using parallel persona agents that surface role-specific issues. Use when a requirements document or plan document exists and the user wants to improve it.","JGXC100\u002FGaleHarnessCodingCLI","JGXC100","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11926809?v=4","01M71EEBHJ3EGYSNNDDSVDKXNG","JGX","01M71EEBJ995S5J2HDEQCBA268",0,"MIT","https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fdocument-review\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"review","document","document review","user","it","role","requirements","use","parallel","path","plan documents","plan","when","documents","persona","improve","issues","mode","headless","2026-11-10 10:12:30",false,"---\nname: document-review\ndescription: Review requirements or plan documents using parallel persona agents that surface role-specific issues. Use when a requirements document or plan document exists and the user wants to improve it.\nargument-hint: \"[mode:headless] [path\u002Fto\u002Fdocument.md]\"\n---\n\n# Document Review\n\nReview requirements or plan documents through multi-persona analysis. Dispatches specialized reviewer agents in parallel, auto-applies `safe_auto` fixes, and routes remaining findings through a four-option interaction (per-finding walk-through, auto-resolve with best judgment, Append-to-Open-Questions, Report-only) for user decision.\n\n**Config:**\nAt the start of execution, use your native file-read tool to read `.compound-engineering\u002Fconfig.local.yaml` from the repository root. If the file is missing in the current worktree, check the main repository root (the parent of `.git\u002Fworktrees`). If the file is missing or unreadable, do not block the workflow — proceed silently with default settings.\n\nIf the config file contains `language: en`, write findings in English.\nIf the file is missing, contains `language: zh-CN`, or has no language key, write findings in Chinese (default).\n\n## Interactive mode rules\n\n- **Pre-load the platform question tool before any question fires.** In Claude Code, `AskUserQuestion` is a deferred tool — its schema is not available at session start. At the start of Interactive-mode work (before the routing question, per-finding walk-through questions, bulk-preview Proceed\u002FCancel, and Phase 5 terminal question), call `ToolSearch` with query `select:AskUserQuestion` to load the schema. Load it once, eagerly, at the top of the Interactive flow — do not wait for the first question site. On Codex and Gemini this preload is not required.\n- **The numbered-list fallback applies only when the harness genuinely lacks a blocking question tool** — `ToolSearch` returns no match, the tool call explicitly fails, or the runtime mode does not expose it (e.g., Codex edit modes where `request_user_input` is unavailable). A pending schema load is not a fallback trigger; call `ToolSearch` first per the pre-load rule. In genuine-fallback cases, present options as a numbered list and wait for the user's reply — never silently skip the question. Rendering a question as narrative text because the tool feels inconvenient, because the model is in report-formatting mode, or because the instruction was buried in a long skill is a bug. A question that calls for a user decision must either fire the tool or fall back loudly.\n\n## Phase 0: Detect Mode\n\nCheck the skill arguments for `mode:headless`. Arguments may contain a document path, `mode:headless`, or both. Tokens starting with `mode:` are flags, not file paths — strip them from the arguments and use the remaining token (if any) as the document path for Phase 1.\n\nIf `mode:headless` is present, set **headless mode** for the rest of the workflow.\n\n**Headless mode** changes the interaction model, not the classification boundaries. document-review still applies the same judgment about which tier each finding belongs in. The only difference is how non-safe_auto findings are delivered:\n\n- `safe_auto` fixes are applied silently (same as interactive)\n- `gated_auto`, `manual`, and FYI findings are returned as structured text for the caller to handle — no AskUserQuestion prompts, no interactive routing\n- Phase 5 returns immediately with \"Review complete\" (no routing question, no terminal question)\n\nThe caller receives findings with their original classifications intact and decides what to do with them.\n\nCallers invoke headless mode by including `mode:headless` in the skill arguments, e.g.:\n\n```\nSkill(\"document-review\", \"mode:headless docs\u002Fplans\u002Fmy-plan.md\")\n```\n\nIf `mode:headless` is not present, the skill runs in its default interactive mode with the routing question, walk-through, and bulk-preview behaviors documented in `references\u002Fwalkthrough.md` and `references\u002Fbulk-preview.md`.\n\n## Phase 1: Get and Analyze Document\n\n**If a document path is provided:** Read it, then proceed.\n\n**If no document is specified (interactive mode):** Ask which document to review, or find the most recent in `docs\u002Fbrainstorms\u002F` or `docs\u002Fplans\u002F` using a file-search\u002Fglob tool (e.g., Glob in Claude Code).\n\n**If no document is specified (headless mode):** Output \"Review failed: headless mode requires a document path. Re-invoke with: Skill(\\\"document-review\\\", \\\"mode:headless \u003Cpath>\\\")\" without dispatching agents.\n\n### Classify Document Type\n\nAfter reading, classify the document:\n- **requirements** -- from `docs\u002Fbrainstorms\u002F`, focuses on what to build and why\n- **plan** -- from `docs\u002Fplans\u002F`, focuses on how to build it with implementation details\n\n### Select Conditional Personas\n\nAnalyze the document content to determine which conditional personas to activate. Check for these signals:\n\n**product-lens** -- activate when the document makes challengeable claims about what to build and why, or when the proposed work carries strategic weight beyond the immediate problem. The system's users may be end users, developers, operators, maintainers, or any other audience -- the criteria are domain-agnostic. Check for either leg:\n\n*Leg 1 — Premise claims:* The document stakes a position on what to build or why that a knowledgeable stakeholder could reasonably challenge -- not merely describing a task or restating known requirements:\n- Problem framing where the stated need is non-obvious or debatable, not self-evident from existing context\n- Solution selection where alternatives plausibly exist (implicit or explicit)\n- Prioritization decisions that explicitly rank what gets built vs deferred\n- Goal statements that predict specific user outcomes, not just restate constraints or describe deliverables\n\n*Leg 2 — Strategic weight:* The proposed work could affect system trajectory, user perception, or competitive positioning, even if the premise is sound:\n- Changes that shape how the system is perceived or what it becomes known for\n- Complexity or simplicity bets that affect adoption, onboarding, or cognitive load\n- Work that opens or closes future directions (path dependencies, architectural commitments)\n- Opportunity cost implications -- building this means not building something else\n\n**design-lens** -- activate when the document contains:\n- UI\u002FUX references, frontend components, or visual design language\n- User flows, wireframes, screen\u002Fpage\u002Fview mentions\n- Interaction descriptions (forms, buttons, navigation, modals)\n- References to responsive behavior or accessibility\n\n**security-lens** -- activate when the document contains:\n- Auth\u002Fauthorization mentions, login flows, session management\n- API endpoints exposed to external clients\n- Data handling, PII, payments, tokens, credentials, encryption\n- Third-party integrations with trust boundary implications\n\n**scope-guardian** -- activate when the document contains:\n- Multiple priority tiers (P0\u002FP1\u002FP2, must-have\u002Fshould-have\u002Fnice-to-have)\n- Large requirement count (>8 distinct requirements or implementation units)\n- Stretch goals, nice-to-haves, or \"future work\" sections\n- Scope boundary language that seems misaligned with stated goals\n- Goals that don't clearly connect to requirements\n\n**adversarial** -- activate when the document contains:\n- More than 5 distinct requirements or implementation units\n- Explicit architectural or scope decisions with stated rationale\n- High-stakes domains (auth, payments, data migrations, external integrations)\n- Proposals of new abstractions, frameworks, or significant architectural patterns\n\n## Phase 2: Announce and Dispatch Personas\n\n### Announce the Review Team\n\nTell the user which personas will review and why. For conditional personas, include the justification:\n\n```\nReviewing with:\n- ce-coherence-reviewer (always-on)\n- ce-feasibility-reviewer (always-on)\n- ce-scope-guardian-reviewer -- plan has 12 requirements across 3 priority levels\n- ce-security-lens-reviewer -- plan adds API endpoints with auth flow\n```\n\n### Build Agent List\n\nAlways include:\n- `ce-coherence-reviewer`\n- `ce-feasibility-reviewer`\n\nAdd activated conditional personas:\n- `ce-product-lens-reviewer`\n- `ce-design-lens-reviewer`\n- `ce-security-lens-reviewer`\n- `ce-scope-guardian-reviewer`\n- `ce-adversarial-document-reviewer`\n\n### Dispatch\n\nDispatch all agents in **parallel** using the platform's task\u002Fagent tool (e.g., Agent tool in Claude Code, spawn in Codex). Omit the `mode` parameter so the user's configured permission settings apply. Each agent receives the prompt built from the subagent template included below with these variables filled:\n\n| Variable | Value |\n|----------|-------|\n| `{persona_file}` | Full content of the agent's markdown file |\n| `{schema}` | Content of the findings schema included below |\n| `{document_type}` | \"requirements\" or \"plan\" from Phase 1 classification |\n| `{document_path}` | Path to the document |\n| `{document_content}` | Full text of the document |\n| `{decision_primer}` | Cumulative prior-round decisions in the current session, or an empty `\u003Cprior-decisions>` block on round 1. See \"Decision primer\" below. |\n\nPass each agent the **full document** — do not split into sections.\n\n### Decision primer\n\nOn round 1 (no prior decisions), set `{decision_primer}` to:\n\n```\n\u003Cprior-decisions>\nRound 1 — no prior decisions.\n\u003C\u002Fprior-decisions>\n```\n\nOn round 2+ (after one or more prior rounds in the current interactive session), accumulate prior-round decisions and render them as:\n\n```\n\u003Cprior-decisions>\nRound 1 — applied (N entries):\n- {section}: \"{title}\" ({reviewer}, {confidence})\n  Evidence: \"{evidence_snippet}\"\n\nRound 1 — rejected (M entries):\n- {section}: \"{title}\" — Skipped because {reason}\n  Evidence: \"{evidence_snippet}\"\n- {section}: \"{title}\" — Deferred to Open Questions because {reason or \"no reason provided\"}\n  Evidence: \"{evidence_snippet}\"\n- {section}: \"{title}\" — Acknowledged without applying because {reason or \"no suggested_fix — user acknowledged\"}\n  Evidence: \"{evidence_snippet}\"\n\nRound 2 — applied (N entries):\n...\n\u003C\u002Fprior-decisions>\n```\n\nEach entry carries an `Evidence:` line because synthesis R29 (rejected-finding suppression) and R30 (fix-landed verification) both use an evidence-substring overlap check as part of their matching predicate — without the evidence snippet in the primer, the orchestrator cannot compute the `>50%` overlap test and has to fall back to fingerprint-only matching, which either re-surfaces rejected findings or suppresses too aggressively. The `{evidence_snippet}` is the first evidence quote from the finding, truncated to the first ~120 characters (preserving whole words at the boundary) and with internal quotes escaped. If a finding has multiple evidence entries, use the first one; the rest live in the run artifact and are not needed for the overlap check.\n\nAccumulate across all rounds in the current session. Skip, Defer, and Acknowledge actions all count as \"rejected\" for suppression purposes — each signals the user decided the finding wasn't worth actioning this round (Acknowledge is the no-fix-guard variant: the user saw a finding with no `suggested_fix`, chose not to defer or skip explicitly, and recorded acknowledgement instead; for round-to-round suppression that is semantically equivalent to Skip). Applied findings stay on the applied list so round-N+1 personas can verify fixes landed (see R30 in `references\u002Fsynthesis-and-presentation.md`).\n\nCross-session persistence is out of scope. A new invocation of document-review on the same document starts with a fresh round 1 and no carried primer, even if prior sessions deferred findings into the document's Open Questions section.\n\n**Error handling:** If an agent fails or times out, proceed with findings from agents that completed. Note the failed agent in the Coverage section. Do not block the entire review on a single agent failure.\n\n**Dispatch limit:** Even at maximum (7 agents), use parallel dispatch. These are document reviewers with bounded scope reading a single document -- parallel is safe and fast.\n\n## Phases 3-5: Synthesis, Presentation, and Next Action\n\nAfter all dispatched agents return, read `references\u002Fsynthesis-and-presentation.md` for the synthesis pipeline (validate, anchor-based gate, dedup, cross-persona agreement promotion, resolve contradictions, auto-promotion, route by three tiers with FYI subsection), `safe_auto` fix application, headless-envelope output, and the handoff to the routing question.\n\nFor the four-option routing question and per-finding walk-through (interactive mode), read `references\u002Fwalkthrough.md`. For the bulk-action preview used by best-judgment routing, Append-to-Open-Questions, and walk-through `Auto-resolve with best judgment on the rest`, read `references\u002Fbulk-preview.md`. Do not load these files before agent dispatch completes.\n\n---\n\n## Included References\n\n### Subagent Template\n\n@.\u002Freferences\u002Fsubagent-template.md\n\n### Findings Schema\n\n@.\u002Freferences\u002Ffindings-schema.json\n\n\n## Dispatch capacity rule\n\nUse bounded parallelism for persona dispatch. Queue selected reviewers, respect the active-subagent limit exposed by the harness, treat capacity spawn errors as backpressure rather than reviewer failure, and fill freed slots until all queued reviewers complete or time out.\n","# Document Review\n\nReview requirements or plan documents through multi-persona analysis. Dispatches specialized reviewer agents in parallel, auto-applies `safe_auto` fixes, and routes remaining findings through a four-option interaction (per-finding walk-through, auto-resolve with best judgment, Append-to-Open-Questions, Report-only) for user decision.\n\n**Config:**\nAt the start of execution, use your native file-read tool to read `.compound-engineering\u002Fconfig.local.yaml` from the repository root. If the file is missing in the current worktree, check the main repository root (the parent of `.git\u002Fworktrees`). If the file is missing or unreadable, do not block the workflow — proceed silently with default settings.\n\nIf the config file contains `language: en`, write findings in English.\nIf the file is missing, contains `language: zh-CN`, or has no language key, write findings in Chinese (default).\n\n## Interactive mode rules\n\n- **Pre-load the platform question tool before any question fires.** In Claude Code, `AskUserQuestion` is a deferred tool — its schema is not available at session start. At the start of Interactive-mode work (before the routing question, per-finding walk-through questions, bulk-preview Proceed\u002FCancel, and Phase 5 terminal question), call `ToolSearch` with query `select:AskUserQuestion` to load the schema. Load it once, eagerly, at the top of the Interactive flow — do not wait for the first question site. On Codex and Gemini this preload is not required.\n- **The numbered-list fallback applies only when the harness genuinely lacks a blocking question tool** — `ToolSearch` returns no match, the tool call explicitly fails, or the runtime mode does not expose it (e.g., Codex edit modes where `request_user_input` is unavailable). A pending schema load is not a fallback trigger; call `ToolSearch` first per the pre-load rule. In genuine-fallback cases, present options as a numbered list and wait for the user's reply — never silently skip the question. Rendering a question as narrative text because the tool feels inconvenient, because the model is in report-formatting mode, or because the instruction was buried in a long skill is a bug. A question that calls for a user decision must either fire the tool or fall back loudly.\n\n## Phase 0: Detect Mode\n\nCheck the skill arguments for `mode:headless`. Arguments may contain a document path, `mode:headless`, or both. Tokens starting with `mode:` are flags, not file paths — strip them from the arguments and use the remaining token (if any) as the document path for Phase 1.\n\nIf `mode:headless` is present, set **headless mode** for the rest of the workflow.\n\n**Headless mode** changes the interaction model, not the classification boundaries. document-review still applies the same judgment about which tier each finding belongs in. The only difference is how non-safe_auto findings are delivered:\n\n- `safe_auto` fixes are applied silently (same as interactive)\n- `gated_auto`, `manual`, and FYI findings are returned as structured text for the caller to handle — no AskUserQuestion prompts, no interactive routing\n- Phase 5 returns immediately with \"Review complete\" (no routing question, no terminal question)\n\nThe caller receives findings with their original classifications intact and decides what to do with them.\n\nCallers invoke headless mode by including `mode:headless` in the skill arguments, e.g.:\n\n```\nSkill(\"document-review\", \"mode:headless docs\u002Fplans\u002Fmy-plan.md\")\n```\n\nIf `mode:headless` is not present, the skill runs in its default interactive mode with the routing question, walk-through, and bulk-preview behaviors documented in `references\u002Fwalkthrough.md` and `references\u002Fbulk-preview.md`.\n\n## Phase 1: Get and Analyze Document\n\n**If a document path is provided:** Read it, then proceed.\n\n**If no document is specified (interactive mode):** Ask which document to review, or find the most recent in `docs\u002Fbrainstorms\u002F` or `docs\u002Fplans\u002F` using a file-search\u002Fglob tool (e.g., Glob in Claude Code).\n\n**If no document is specified (headless mode):** Output \"Review failed: headless mode requires a document path. Re-invoke with: Skill(\\\"document-review\\\", \\\"mode:headless \u003Cpath>\\\")\" without dispatching agents.\n\n### Classify Document Type\n\nAfter reading, classify the document:\n- **requirements** -- from `docs\u002Fbrainstorms\u002F`, focuses on what to build and why\n- **plan** -- from `docs\u002Fplans\u002F`, focuses on how to build it with implementation details\n\n### Select Conditional Personas\n\nAnalyze the document content to determine which conditional personas to activate. Check for these signals:\n\n**product-lens** -- activate when the document makes challengeable claims about what to build and why, or when the proposed work carries strategic weight beyond the immediate problem. The system's users may be end users, developers, operators, maintainers, or any other audience -- the criteria are domain-agnostic. Check for either leg:\n\n*Leg 1 — Premise claims:* The document stakes a position on what to build or why that a knowledgeable stakeholder could reasonably challenge -- not merely describing a task or restating known requirements:\n- Problem framing where the stated need is non-obvious or debatable, not self-evident from existing context\n- Solution selection where alternatives plausibly exist (implicit or explicit)\n- Prioritization decisions that explicitly rank what gets built vs deferred\n- Goal statements that predict specific user outcomes, not just restate constraints or describe deliverables\n\n*Leg 2 — Strategic weight:* The proposed work could affect system trajectory, user perception, or competitive positioning, even if the premise is sound:\n- Changes that shape how the system is perceived or what it becomes known for\n- Complexity or simplicity bets that affect adoption, onboarding, or cognitive load\n- Work that opens or closes future directions (path dependencies, architectural commitments)\n- Opportunity cost implications -- building this means not building something else\n\n**design-lens** -- activate when the document contains:\n- UI\u002FUX references, frontend components, or visual design language\n- User flows, wireframes, screen\u002Fpage\u002Fview mentions\n- Interaction descriptions (forms, buttons, navigation, modals)\n- References to responsive behavior or accessibility\n\n**security-lens** -- activate when the document contains:\n- Auth\u002Fauthorization mentions, login flows, session management\n- API endpoints exposed to external clients\n- Data handling, PII, payments, tokens, credentials, encryption\n- Third-party integrations with trust boundary implications\n\n**scope-guardian** -- activate when the document contains:\n- Multiple priority tiers (P0\u002FP1\u002FP2, must-have\u002Fshould-have\u002Fnice-to-have)\n- Large requirement count (>8 distinct requirements or implementation units)\n- Stretch goals, nice-to-haves, or \"future work\" sections\n- Scope boundary language that seems misaligned with stated goals\n- Goals that don't clearly connect to requirements\n\n**adversarial** -- activate when the document contains:\n- More than 5 distinct requirements or implementation units\n- Explicit architectural or scope decisions with stated rationale\n- High-stakes domains (auth, payments, data migrations, external integrations)\n- Proposals of new abstractions, frameworks, or significant architectural patterns\n\n## Phase 2: Announce and Dispatch Personas\n\n### Announce the Review Team\n\nTell the user which personas will review and why. For conditional personas, include the justification:\n\n```\nReviewing with:\n- ce-coherence-reviewer (always-on)\n- ce-feasibility-reviewer (always-on)\n- ce-scope-guardian-reviewer -- plan has 12 requirements across 3 priority levels\n- ce-security-lens-reviewer -- plan adds API endpoints with auth flow\n```\n\n### Build Agent List\n\nAlways include:\n- `ce-coherence-reviewer`\n- `ce-feasibility-reviewer`\n\nAdd activated conditional personas:\n- `ce-product-lens-reviewer`\n- `ce-design-lens-reviewer`\n- `ce-security-lens-reviewer`\n- `ce-scope-guardian-reviewer`\n- `ce-adversarial-document-reviewer`\n\n### Dispatch\n\nDispatch all agents in **parallel** using the platform's task\u002Fagent tool (e.g., Agent tool in Claude Code, spawn in Codex). Omit the `mode` parameter so the user's configured permission settings apply. Each agent receives the prompt built from the subagent template included below with these variables filled:\n\n| Variable | Value |\n|----------|-------|\n| `{persona_file}` | Full content of the agent's markdown file |\n| `{schema}` | Content of the findings schema included below |\n| `{document_type}` | \"requirements\" or \"plan\" from Phase 1 classification |\n| `{document_path}` | Path to the document |\n| `{document_content}` | Full text of the document |\n| `{decision_primer}` | Cumulative prior-round decisions in the current session, or an empty `\u003Cprior-decisions>` block on round 1. See \"Decision primer\" below. |\n\nPass each agent the **full document** — do not split into sections.\n\n### Decision primer\n\nOn round 1 (no prior decisions), set `{decision_primer}` to:\n\n```\n\u003Cprior-decisions>\nRound 1 — no prior decisions.\n\u003C\u002Fprior-decisions>\n```\n\nOn round 2+ (after one or more prior rounds in the current interactive session), accumulate prior-round decisions and render them as:\n\n```\n\u003Cprior-decisions>\nRound 1 — applied (N entries):\n- {section}: \"{title}\" ({reviewer}, {confidence})\n  Evidence: \"{evidence_snippet}\"\n\nRound 1 — rejected (M entries):\n- {section}: \"{title}\" — Skipped because {reason}\n  Evidence: \"{evidence_snippet}\"\n- {section}: \"{title}\" — Deferred to Open Questions because {reason or \"no reason provided\"}\n  Evidence: \"{evidence_snippet}\"\n- {section}: \"{title}\" — Acknowledged without applying because {reason or \"no suggested_fix — user acknowledged\"}\n  Evidence: \"{evidence_snippet}\"\n\nRound 2 — applied (N entries):\n...\n\u003C\u002Fprior-decisions>\n```\n\nEach entry carries an `Evidence:` line because synthesis R29 (rejected-finding suppression) and R30 (fix-landed verification) both use an evidence-substring overlap check as part of their matching predicate — without the evidence snippet in the primer, the orchestrator cannot compute the `>50%` overlap test and has to fall back to fingerprint-only matching, which either re-surfaces rejected findings or suppresses too aggressively. The `{evidence_snippet}` is the first evidence quote from the finding, truncated to the first ~120 characters (preserving whole words at the boundary) and with internal quotes escaped. If a finding has multiple evidence entries, use the first one; the rest live in the run artifact and are not needed for the overlap check.\n\nAccumulate across all rounds in the current session. Skip, Defer, and Acknowledge actions all count as \"rejected\" for suppression purposes — each signals the user decided the finding wasn't worth actioning this round (Acknowledge is the no-fix-guard variant: the user saw a finding with no `suggested_fix`, chose not to defer or skip explicitly, and recorded acknowledgement instead; for round-to-round suppression that is semantically equivalent to Skip). Applied findings stay on the applied list so round-N+1 personas can verify fixes landed (see R30 in `references\u002Fsynthesis-and-presentation.md`).\n\nCross-session persistence is out of scope. A new invocation of document-review on the same document starts with a fresh round 1 and no carried primer, even if prior sessions deferred findings into the document's Open Questions section.\n\n**Error handling:** If an agent fails or times out, proceed with findings from agents that completed. Note the failed agent in the Coverage section. Do not block the entire review on a single agent failure.\n\n**Dispatch limit:** Even at maximum (7 agents), use parallel dispatch. These are document reviewers with bounded scope reading a single document -- parallel is safe and fast.\n\n## Phases 3-5: Synthesis, Presentation, and Next Action\n\nAfter all dispatched agents return, read `references\u002Fsynthesis-and-presentation.md` for the synthesis pipeline (validate, anchor-based gate, dedup, cross-persona agreement promotion, resolve contradictions, auto-promotion, route by three tiers with FYI subsection), `safe_auto` fix application, headless-envelope output, and the handoff to the routing question.\n\nFor the four-option routing question and per-finding walk-through (interactive mode), read `references\u002Fwalkthrough.md`. For the bulk-action preview used by best-judgment routing, Append-to-Open-Questions, and walk-through `Auto-resolve with best judgment on the rest`, read `references\u002Fbulk-preview.md`. Do not load these files before agent dispatch completes.\n\n---\n\n## Included References\n\n### Subagent Template\n\n@.\u002Freferences\u002Fsubagent-template.md\n\n### Findings Schema\n\n@.\u002Freferences\u002Ffindings-schema.json\n\n\n## Dispatch capacity rule\n\nUse bounded parallelism for persona dispatch. Queue selected reviewers, respect the active-subagent limit exposed by the harness, treat capacity spawn errors as backpressure rather than reviewer failure, and fill freed slots until all queued reviewers complete or time out.\n",{"name":5,"description":7,"argument-hint":43},"[mode:headless] [path\u002Fto\u002Fdocument.md]","main","94fc651a7c5ff227f3e8f4b9678dc4566f535677","plugins\u002Fgaleharness-cli\u002Fskills\u002Fdocument-review",2,"https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI","https:\u002F\u002Fgithub.com\u002FJGXC100","2026-05-19 17:04:59",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add JGXC100\u002FGaleHarnessCodingCLI --skill document-review",{"tool":57,"command":58},"bunx","bunx skills add JGXC100\u002FGaleHarnessCodingCLI --skill document-review",{"tool":60,"command":61},"pnpm","pnpm dlx skills add JGXC100\u002FGaleHarnessCodingCLI --skill document-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fdocument-review\u002FSKILL.md",true,[65,71,75,79,83,87,91],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fbulk-preview.md","REFERENCE","参考文档",9878,"https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fdocument-review\u002Freferences\u002Fbulk-preview.md",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Ffindings-schema.json",4698,"https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fdocument-review\u002Freferences\u002Ffindings-schema.json",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fopen-questions-defer.md",12767,"https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fdocument-review\u002Freferences\u002Fopen-questions-defer.md",{"path":80,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Freview-output-template.md",10610,"https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fdocument-review\u002Freferences\u002Freview-output-template.md",{"path":84,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fsubagent-template.md",22855,"https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fdocument-review\u002Freferences\u002Fsubagent-template.md",{"path":88,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fsynthesis-and-presentation.md",43295,"https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fdocument-review\u002Freferences\u002Fsynthesis-and-presentation.md",{"path":92,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Fwalkthrough.md",25519,"https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fdocument-review\u002Freferences\u002Fwalkthrough.md",[96,107,120,131,139,147],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":38},"01M71EJT9M91X2T91N4ZPCWHN3","skill-one","Sample skill","https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fskill-one\u002FSKILL.md",[],[103,104,105,106],"skill one","one","sample skill","sample",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":38},"01M71EJRH7M0DGZ1QXJ9PSFMB5","disabled-skill","A skill with model invocation disabled","https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fdisabled-skill\u002FSKILL.md",[],[114,115,116,117,118,119],"disabled skill","a skill","with model","with","true","model",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":38},"01M71EJQMRH6JC9H9V5BQWM7RJ","claude-only-skill","A skill restricted to Claude Code only","https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fclaude-only-skill\u002FSKILL.md",[],[127,128,129,130,115],"only","claude only skill","claude only","code",{"skillNo":132,"name":133,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":38},"01M71EJPXZ0644M41M587FVKYQ","default-skill","https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fskills\u002Fdefault-skill\u002FSKILL.md",[],[137,138],"default skill","default",{"skillNo":140,"name":141,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":142,"categories":143,"keywords":144,"publishedAt":38},"01M71EJP6RPF6PDAJ2SY4VMBDT","custom-skill","https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fcustom-skills\u002Fcustom-skill\u002FSKILL.md",[],[145,146],"custom skill","custom",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":38},"01M71EJK74AZ929S8GF55G5CDV","test-xcode","Build and test iOS apps on simulator using XcodeBuildMCP. Use after making iOS code changes, before creating a PR, or when verifying app behavior and checking for crashes on simulator.","https:\u002F\u002Fgithub.com\u002FJGXC100\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Ftest-xcode\u002FSKILL.md",[],[154,155,156,157,158,159,160,161,138,118,162,26,163,31,130,164,165,166,167,168],"test","xcode","test xcode","apps","app","build and test","pr","for","xcodebuildmcp","scheme","changes","build","ios","name","behavior"]