[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75FJYP07GF0DHZ4HE1V05JW":3,"skill-same:01M75FJYP07GF0DHZ4HE1V05JW":43},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M75FJYP07GF0DHZ4HE1V05JW","impl-review-loop",null,"Orchestrator for the SDD implementation policy review loop. Runs up to three rounds of dual-reviewer checks on design.md. Coordinates impl-reviewer-a (structural soundness) and impl-reviewer-b (implementability\u002Frisk), merges verdicts, and manages round\u002Fattempt state. Human edits are required between rounds when findings exist.","aharada54914\u002Fsdd-forge","aharada54914","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F40755043?v=4","01M75FFC4V7WXZF0PK9RYWHNGF","01M75FFC5YJJ11B7MDCRVWB9Z6",0,"MIT","https:\u002F\u002Fgithub.com\u002Faharada54914\u002Fsdd-forge\u002Fblob\u002Fmain\u002Fplugins\u002Fsdd-review-loop\u002Fskills\u002Fimpl-review-loop\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: impl-review-loop\ndescription: Orchestrator for the SDD implementation policy review loop. Runs up to three rounds of dual-reviewer checks on design.md. Coordinates impl-reviewer-a (structural soundness) and impl-reviewer-b (implementability\u002Frisk), merges verdicts, and manages round\u002Fattempt state. Human edits are required between rounds when findings exist.\ndisable-model-invocation: false\nuser-invocable: false\n---\n\n# Implementation Policy Review Loop\n\nRun the structural soundness and implementability review gate on a feature's\ndesign.md. This skill coordinates two independent reviewers, merges their\nfindings, and manages the round\u002Fattempt state machine.\n\n## Installed project roots\n\nRun prechecks from the consumer project root. Versioned plugin caches and flat\ninstallations resolve runtime code beside the installed script; they never use\nthe installation as the project. To select a project explicitly, append\n`--repository-root \u003Cabsolute-project-root>` (PowerShell: `-RepositoryRoot`).\nSource-checkout invocations retain their checkout-root default for compatibility.\n\nPrechecks project only their required bundled calibration\u002Frisk reference inputs\ninto canonical `plugins\u002F...\u002Freferences\u002F` paths under the consumer project. The\nbytes must match the trusted installed references: existing differing files or\nlinked paths block the gate, and input verification never repairs them. Runtime\nscripts remain installed; users do not copy a plugin tree into their project.\nThe canonical reference paths and all review identity\u002Fhash requirements remain\nunchanged.\n\n## Managed allocation boundary\n\nAffected policy roles: `impl-reviewer-a`, `impl-reviewer-b`.\n\nApply this boundary only when the caller explicitly selects managed routing\nwith a policy request or model controls, or this allocation continues that\nmanaged workflow. With no managed input, retain the legacy invocation and model\nhints below. Once managed is selected, do not switch that workflow to legacy\nbecause selection, validation or launch fails. No new environment toggle is\nrequired, and this boundary does not grant delegation or execution permission.\n\nFor a managed allocation, apply in the allocating parent before an unbound\nforked Skill\u002FAgent, native role, or fresh context receives work, and before any\nidentity reservation. This\nboundary takes precedence over later native\u002Fdefault launch guidance for these\nroles. It does not add an availability or authority gate.\n\nKeep an already admitted managed entry with its validated selection\u002Fcontrols and\nmatching role, host, run\u002Fsession and workload. Keep a concretely known matching\nbatch startup and fixed generated Codex configuration under their original\ncontracts. An already bound worker continues its original procedure: do not\nselect again, allocate again, or run this refusal inside that same worker.\nA bound parent does not bind a new child, role or session: each new allocation\nneeds its own admitted selection\u002Fcarrier binding or takes the refusal below.\n\nWhen this operation has no admitted binding of the selected model and effort to\nits actual native carrier, substitute the next affected policy role and actual\nhost (`claude-code`, `codex-cli`, `copilot-cli`, or `gemini-cli`) and execute:\n\n```bash\npython3 -I -B \"\u003Cinstalled-root>\"\u002Fplugins\u002Fsdd-implementation\u002Fscripts\u002Fmanaged-model-entry.py unsupported-entry \\\n  --role \"\u003Cpolicy-role>\" --host \"\u003Chost>\"\n```\n\nExit 2 with `model-policy-error\u002Fv1` \u002F `model-unavailable` stops that allocation\nbefore work or reservation. Do not fall through to an old model hint, alias,\nunbound native default or another parent session; do not count allocation alone\nas selection proof. This refusal does not assert host incapability and never\nauthorizes same-session reload. Original host-incapable-only implementation\nfallback evidence and all review isolation requirements remain unchanged.\n\nApply separately to reviewer A or B before allocation or reservation. Keep the admitted protected managed Claude launch, exact role staging, readonly inputs, approval checkpoints and report\u002Fstatus ownership.\n\n\n## Native Codex reviewer route\n\nFor a local Codex host without an idle sub-agent allocation API, use the installed\n`launch-codex-review.py` before concluding that independent review is unavailable.\nThis route is for unmanaged spec\u002Fimpl\u002Ftask A and B allocations only. An explicitly\nselected managed workflow must retain its admitted managed transport; never use\nthis route to recover from a managed-routing failure.\n\nPrepare the normal `review-context-invocation\u002Fv2` file-manifest template after\nprecheck, with the exact role-specific allowed inputs. Its run\u002Fsession IDs are\nplaceholders only: this launcher replaces them with a newly allocated, idle native\nthread ID, pins the current ledger, runs canonical preflight, and reserves that\nidentity before the first model turn. Do not reserve the placeholder IDs yourself.\n\n```bash\npython3 -I -B \"$SDD_REVIEW_SCRIPTS\u002Flaunch-codex-review.py\" \\\n  \"$repository_root\" \"$invocation\" --manifest-sha256 \"$invocation_sha256\" \\\n  --output \"$new_output_directory\" --timeout 600\n```\n\nResolve `SDD_REVIEW_SCRIPTS` from this installed plugin's `scripts` directory.\nThe output must be a new directory inside the reviewed repository. Forward both\n`--fixed-input-record` and `--fixed-input-snapshot` unchanged when using fixed Git\ninputs. `--runtime powershell` selects the existing PowerShell validators.\nThe current native permission probe requires Linux, `\u002Fbin\u002Fcat`, `\u002Fbin\u002Fsh`, and\n`\u002Fusr\u002Fbin\u002Fpython3`, and a Codex app-server supporting named permission profiles.\nMissing capabilities stop before a model turn; never fall back to unrestricted\nor generic read-only execution. The inherited Codex account\u002Fmodel configuration\nis retained; external MCP tools, plugins, hooks, Apps, web search, and delegation\nare disabled only inside this isolated reviewer process. Parent workflow guards\nremain enabled.\n\nThe launcher projects only admitted files into a temporary directory, allows\nreads of that projection and native runtime files, denies writes\u002Fnetwork, and\nprobes inside read, outside read, write, and network denial through the native\nhost before reservation. The reviewer receives the invocation and validator\nreceipt, never the identity ledger. Raw hashes also pin lifecycle-normalized\ntask inputs without changing their canonical declared hash.\n\nOn success, `reviewer.json` is a candidate with the actual native identity;\n`delivery.json`, `idle-allocation.json`, `permission-probes.json`, reservation\nstdout\u002Fstderr, and native events are transport evidence. Adopt it only through\nthe usual role-specific output checks, A-to-B sanitization, merge, and persisted\nworkflow-state validator. A `NEEDS_WORK` or `BLOCKED` review is not a transport\nfailure and must remain visible. On timeout, reservation failure, changed input,\nor identity mismatch, no candidate is adopted. Keep the consumed reservation\nand diagnostics, correct the cause, then allocate a new identity for a retry.\n\n## Invocation\n\nCodex:\n```\nUse the impl-review-loop skill for feature \u003Cslug>\n```\n\nClaude Code:\n```\n\u002Fsdd-review-loop:impl-review-loop --feature \u003Cslug> [--reset] [--edit-summary \"\u003Ctext>\"]\n```\n\nFlags:\n- `--feature \u003Cslug>`: required; identifies `specs\u002F\u003Cslug>\u002Fdesign.md`.\n- `--reset`: archive the current attempt and start a new attempt from round 1.\n- `--edit-summary \"\u003Ctext>\"`: required when re-invoking after human edits (rounds\n  2 and 3). Summarises what the human changed. Stored in impl-review-contract.json.\n\n## Optional fixed-input navigation\n\nWhen a fixed input snapshot and its existing inventory are available, prepare a\nhuman-readable JSON index without replacing any required original input:\n\n```bash\npython3 plugins\u002Fsdd-review-loop\u002Fscripts\u002Ffixed-review-inputs.py reviewer-index \\\n  --repo . --snapshot \u003Cexisting-snapshot> --record \u003Cexisting-inventory>\n```\n\nThe index references every selected original with its hash and line count and\nquotes existing state fields. It is not an independent review, an approval, or a\ncached verdict. Regenerate it before presentation: missing or modified originals,\na changed selected HEAD, or dirty selected working files stop preparation. Its\nscope is the existing selected inventory; it does not discover a complete build\ndependency closure or certify unselected files. Reviewers still read the required\nfull originals and evaluate unresolved findings themselves.\n\n## Preconditions\n\nBefore running:\n1. `specs\u002F\u003Cfeature>\u002Fdesign.md` must exist.\n2. design.md must have an `Impl-Review-Status: Pending` header field. If the\n   field is missing and acceptance-tests.md is also absent, emit a STOP warning\n   (see LITE-SKIP below). If the field is missing but acceptance-tests.md\n   exists, halt with: \"design.md is missing Impl-Review-Status: Pending header\n   field. Add the field before invoking impl-review-loop.\"\n3. The spec-review-loop for this feature must have passed (check for\n   `Spec-Review-Status: Passed` in requirements.md header or equivalent gate\n   record). Do not run impl-review-loop if spec-review-loop has not passed.\n4. For a feature registered with profile `full`, `ux-spec.md`,\n   `frontend-spec.md`, `infra-spec.md`, and `security-spec.md` must exist as\n   real files in the feature spec directory. The precheck hash-binds all four.\n   Lite and legacy profiles retain their existing input contract.\n\n## LITE-SKIP\n\nIf design.md has no `Impl-Review-Status:` field AND\n`specs\u002F\u003Cfeature>\u002Facceptance-tests.md` is absent:\n- Print: \"impl-review-loop: STOP — design.md has no Impl-Review-Status field\n  and acceptance-tests.md is absent for feature \u003Cslug>. This appears to be a\n  lite-profile feature. Add Impl-Review-Status: Pending to design.md to enable\n  review, or use a lite spec profile.\"\n- Write no files; halt without returning PASS (this is a warning, not a pass).\n\n## Standalone Invocation Warning\n\nIf AGENTS.md (or the feature's spec directory) declares `spec_profile: lite`,\nemit a warning before running:\n\"WARNING: impl-review-loop invoked on a lite-profile feature. Lite profiles are\nintended to skip impl-review. Continuing at human request.\"\nThen proceed normally.\n\n## Process (State Machine)\n\nDetermine the current attempt and round by inspecting the\n`reports\u002Fimpl-review\u002F\u003Cfeature>\u002F` directory. If no prior run exists, start at\nattempt-1\u002Fround-1.\n\n### STEP 1 — Precheck\n\nRun `plugins\u002Fsdd-review-loop\u002Fscripts\u002Fimpl-review-precheck.sh \u003Cfeature> \u003Cattempt> \u003Cround>`.\n\nThis script produces:\n- `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Fprecheck-result.json`\n\nIf the script exits non-zero, halt and display its stderr output. Do not proceed\nto reviewer invocation.\n\n### ADR input binding — applies to both reviewers and the merged contract\n\nNew prechecks derive `adr_inputs` from the exact design using the restricted\ndeclaration grammar in `review-context-boundary.md`; an empty set is `[]`.\nDo not assemble this authority from a caller-supplied list or an ADR glob.\nInclude every precheck ADR path\u002Fhash pair in BOTH reviewer input manifests\nat STEP 2 and STEP 4, alongside the same current precheck and design pins.\nThe precheck's deterministic input digest must include the ADR serialization.\nRun `--verify-inputs` immediately before each launch, then require successful\nidentity reservation. A missing member, malformed extension, path defect or\nhash mismatch stops launch even if the invocation contains no ADR entries.\n\nAt STEP 5 copy the verified `adr_inputs` array unchanged into the contract.\nRequire both reviewer output manifests to contain exactly that ADR set and\nhashes and bind the same precheck and design. Do not infer admission from\nreviewer prose or add missing inputs after the review. Keep the extension\nabsent in historical evidence; never retrofit old reservations or FAILs.\nPersisted consumers and task-stage predecessor checks must verify the same\nbindings before this feature can progress. A template change alone is not\nevidence that those checks are implemented.\n\nIf either reviewer loses access to a required admitted input, stop this round.\nPreserve its actual output and reservation; do not fabricate check results,\nproduce a successful integrated review, or proceed to the next stage. Saved\ninterruption diagnostics do not satisfy completed-review validation. Follow\nthe interrupted-round rule in `review-context-boundary.md`; it grants no reset\nor identity-reuse permission.\n\n### STEP 2 — Invoke impl-reviewer-a\n\nSpawn impl-reviewer-a as a fresh agent (no shared context) with:\n- Feature slug, attempt number, round number.\n- Path to precheck-result.json.\n- Hash-verified allowed-input manifest including\n  `plugins\u002Fsdd-review-loop\u002Freferences\u002Freviewer-calibration.md`.\n- `specs\u002F\u003Cfeature>\u002Finvestigation.md` whenever that file exists. Reviewer A\n  reads it as supporting evidence and carries its INV-xxx IDs forward; it is\n  never authority over requirements.md. `task-review-precheck.sh` fails the\n  task stage unless the persisted contract binds it in BOTH reviewer\n  manifests, so omitting it produces evidence the next gate rejects.\n- At round 2 and round 3 only: the PREVIOUS round's\n  `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN-1>\u002Fintegrated-summary.json`.\n  This is the Issue #143 exception stated in `impl-reviewer-a.md` — the file\n  carries reviewer A's own check IDs and counts and no reviewer-b narrative,\n  so binding it does not breach the A\u002FB isolation this loop is built on.\n  Reviewer A reads it as counts and check IDs only and must not reason from\n  reviewer-b's findings. Both gates require it: `impl-review-precheck.sh`\n  fails the round without it, and `task-review-precheck.sh` fails the task\n  stage unless it appears in reviewer A's manifest specifically. Binding it\n  to reviewer B instead is not a substitute — the contract allowlist admits\n  the previous round's summary for reviewer A alone.\n\nThe agent reads inputs itself and writes:\n`reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Freviewer-a.json`\n\nimpl-reviewer-a is read-only. It must not modify any spec file.\nImmediately before invoking it, run the same precheck command with\n`--verify-inputs`. Halt if any core or layer input differs from the persisted\nprecheck manifest.\nThen persist a one-role `review-context-invocation\u002Fv2` manifest and bind it to\nthe current hash\u002Ffinal record of the canonical\n`reports\u002Freview-context\u002Fidentity-ledger.json`. Run\n`plugins\u002Fsdd-quality-loop\u002Fscripts\u002Fvalidate-review-context-set.sh\n\u003Cinvocation-manifest> \u003Crepository-root> --reserve` or the PowerShell equivalent\nwith `-Reserve`. Require `REVIEW_CONTEXT_OK` before launch. Missing\u002Fstale ledger\nstate, identity reuse, or any other non-zero result blocks launch; never replace\npersisted history with caller-supplied reserved-ID arrays.\n\n### STEP 3 — Generate integrated-summary.json\n\nDeterministically produce `integrated-summary.json` from reviewer-a.json.\nThis file contains check IDs and counts only — no verdict synthesis, no\nqualitative assessment. It is used by impl-reviewer-b to understand the\nstructural soundness landscape without being influenced by reviewer-a's verdict.\n\nSchema:\n```json\n{\n  \"schema\": \"integrated-summary\u002Fv1\",\n  \"round\": 1,\n  \"attempt\": 1,\n  \"reviewer_a_check_ids\": [\"ARCH-COVERAGE\", \"NO-CIRCULAR-DEPS\", ...],\n  \"reviewer_a_fail_count\": 0,\n  \"reviewer_a_pass_count\": 9,\n  \"reviewer_a_skip_count\": 0,\n  \"generated_at\": \"\u003CISO8601>\"\n}\n```\n\nWrite to: `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Fintegrated-summary.json`\n\n### STEP 4 — Invoke impl-reviewer-b\n\nSpawn impl-reviewer-b as a fresh agent (no shared context) with:\n- Feature slug, attempt number, round number.\n- Path to precheck-result.json.\n- Path to integrated-summary.json.\n- Hash-verified allowed-input manifest including\n  `plugins\u002Fsdd-review-loop\u002Freferences\u002Freviewer-calibration.md`.\n- `specs\u002F\u003Cfeature>\u002Finvestigation.md` whenever that file exists. Reviewer B\n  reads it to check INV-xxx grounding. The task stage's precheck requires it\n  in reviewer B's manifest too; a contract that binds it for only one reviewer\n  is rejected.\n\nimpl-reviewer-b has `disallowedPaths` covering reviewer-a.json. The agent reads\nits own inputs and writes:\n`reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Freviewer-b.json`\n\nimpl-reviewer-b is read-only. It must not modify any spec file.\nImmediately before invoking it, rerun the precheck with `--verify-inputs`.\nThis verification mode is read-only and must not replace review evidence.\nCreate a new one-role `review-context-invocation\u002Fv2` manifest using the ledger\nstate after reviewer A, then invoke `validate-review-context-set` with\n`--reserve` (Bash) or `-Reserve` (PowerShell). Require `REVIEW_CONTEXT_OK`\nbefore launching reviewer B. Reviewer B does not require any future task or\nevaluator context.\n\n### STEP 5 — Merge Verdicts\n\nRead reviewer-a.json and reviewer-b.json. Compute:\n- `findings_critical`: count of FAIL checks with severity Critical (across both).\n- `findings_major`: count of FAIL checks with severity Major (across both).\n- `findings_minor`: count of FAIL checks with severity Minor (across both).\n\nMerged verdict:\n- BLOCKED if `findings_critical > 0`.\n- NEEDS_WORK if `findings_critical == 0` and either `findings_major > 0`\n  or (`findings_minor > 0` and round \u003C 3).\n- PASS-with-warnings if `findings_minor > 0` and round == 3 and\n  `findings_major == 0` and `findings_critical == 0`.\n- PASS if `findings_critical == 0` and `findings_major == 0` and\n  `findings_minor == 0`.\n\nWrite `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Fintegrated-verdict.json`:\n```json\n{\n  \"schema\": \"integrated-verdict\u002Fv1\",\n  \"stage\": \"impl\",\n  \"feature\": \"\u003Cfeature-slug>\",\n  \"run_id\": \"\u003Cfresh-orchestrator-run-id>\",\n  \"verdict\": \"PASS|PASS-with-warnings|NEEDS_WORK|BLOCKED\",\n  \"round\": 1,\n  \"attempt\": 1,\n  \"findings_critical\": 0,\n  \"findings_major\": 0,\n  \"findings_minor\": 0,\n  \"reviewer_a_verdict\": \"PASS\",\n  \"reviewer_b_verdict\": \"PASS\"\n}\n```\n\nWrite `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Fimpl-review-contract.json`\nusing the schema from `plugins\u002Fsdd-review-loop\u002Ftemplates\u002Fimpl-review-contract.template.json`.\nIts two reviewer entries must have distinct nonblank `run_id` and\n`host_session_id` values and canonical, hash-verified allowed-input manifests.\nEach reviewer manifest must include every input the reviewer is instructed to\nread, including `plugins\u002Fsdd-review-loop\u002Freferences\u002Freviewer-calibration.md`.\nWhenever `specs\u002F\u003Cfeature>\u002Finvestigation.md` exists, both manifests must include\nit as well.\nFor full-profile features, both manifests must also include `ux-spec.md`,\n`frontend-spec.md`, `infra-spec.md`, and `security-spec.md`, using the hashes\nrecorded in `precheck-result.json`; copy that map to the contract's\n`layer_sha256` field.\n\nRound-dependent manifest contract:\n- Reviewer B's manifest binds the CURRENT round's `integrated-summary.json`,\n  in every round.\n- In rounds 2 and 3, reviewer A's manifest additionally binds the PREVIOUS\n  round's `attempt-\u003CM>\u002Fround-\u003CN-1>\u002Fintegrated-summary.json`. In round 1 it must\n  not — there is none.\n- That previous-round summary belongs to reviewer A alone. Binding it to\n  reviewer B instead is rejected: the contract allowlist admits round N-1's\n  summary for reviewer A only.\n- A round > 1 contract that omits it is rejected by `task-review-precheck.sh`\n  with \"persisted impl reviewer-a manifest is missing previous-round summary\",\n  which strands the feature before task review even though this stage reported\n  PASS. `tests\u002Fimpl-review-round2-contract.tests.sh` holds this shape.\n\nPersist both artifacts in the same round directory; downstream prechecks reject\nmissing, stale, or incomplete predecessor contracts before creating evidence.\n\n### STEP 6 — State Machine Outcome\n\n#### Both reviewers PASS, 0 findings → PASS (clean)\n\n- Update `specs\u002F\u003Cfeature>\u002Fdesign.md` header: change\n  `Impl-Review-Status: Pending` to `Impl-Review-Status: Passed`.\n- Print: \"impl-review-loop PASSED (clean) — round \u003CN> of attempt \u003CM>.\"\n- Print: \"Phase 2 (task decomposition) is now unblocked for feature \u003Cslug>.\"\n- Halt.\n\n#### Round == 3, only Minor findings remain → PASS-with-warnings\n\n- Update `specs\u002F\u003Cfeature>\u002Fdesign.md` header:\n  `Impl-Review-Status: Passed`.\n- Append a `## Implementation Warnings` section to design.md listing every Minor\n  finding with its check ID and description.\n- Print: \"impl-review-loop PASSED with warnings — \u003CK> minor findings recorded.\"\n- Print: \"Phase 2 (task decomposition) is now unblocked for feature \u003Cslug>.\"\n- Halt.\n\n#### Round \u003C 3, findings remain → correction before the next round\n\n- Preserve the STEP 5 verdict in every persisted artifact: Critical findings\n  remain `BLOCKED`; Major or Minor-only findings remain `NEEDS_WORK`.\n  Eligibility to correct inputs and request the next round does not downgrade\n  the recorded verdict or authorize later phases.\n- Generate `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Fdesign-round-\u003CN>-proposed-changes.md`\n  using `plugins\u002Fsdd-review-loop\u002Ftemplates\u002Fimpl-review-report.template.md`.\n- Present the proposed changes file to the human.\n- Print: \"impl-review-loop \u003Cpersisted-verdict> — round \u003CN> of 3. Review proposed\n  changes and edit specs\u002F\u003Cfeature>\u002Fdesign.md. Then re-invoke with --edit-summary.\"\n- Halt and await human action.\n\n#### Round == 3, Critical or Major findings remain → correction budget exhausted\n\n- Preserve the STEP 5 verdict: `BLOCKED` for Critical findings, `NEEDS_WORK`\n  for Major-only findings. In either case later phases remain blocked.\n- Print: \"impl-review-loop \u003Cpersisted-verdict>; correction budget exhausted\n  after 3 rounds in attempt \u003CM>. Critical or Major findings remain unresolved.\n  Use --reset to start a new attempt after addressing the root causes.\"\n- Halt.\n\n### STEP 7 — --reset handling\n\nWhen `--reset` is provided:\n1. Determine the current highest attempt number M from\n   `reports\u002Fimpl-review\u002F\u003Cfeature>\u002F`.\n2. The existing attempt-M directory remains as-is (archive by convention).\n3. Create `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM+1>\u002Fround-1\u002F`.\n4. Change `Impl-Review-Status:` in design.md header to `Pending` — but ONLY\n   while `specs\u002F\u003Cfeature>\u002Ftasks.md` does not yet exist. Once it does,\n   `check-workflow-state.sh` rejects a Pending impl status: its task-lifecycle\n   rule requires every stage to read `Passed` once any task is Approved or past\n   Planned, so `--reset` is unreachable for that feature and halts at\n   `task-lifecycle`. Use the provenance re-review path below instead and leave\n   the header at `Passed`.\n5. Proceed from STEP 1 with attempt = M+1, round = 1.\n\n## Re-Invocation After Human Edits\n\nWhen the human edits design.md or an ADR bound by the prior round and\nre-invokes without `--reset`:\n- For an ADR-bound prior round, require a changed design or declared ADR\n  path\u002Fhash set. Preserve design-only progress for legacy prior rounds.\n- Preserve historical NEEDS_WORK evidence; do not compare its old ADR\n  hashes to corrected current files as a condition of opening the next round.\n- Increment round counter (round 2 or round 3).\n- `--edit-summary` is required; reject without it:\n  \"impl-review-loop: --edit-summary is required when re-invoking in round 2 or 3.\n  Provide a brief description of the changes made to design.md or its bound\n  ADR inputs.\"\n- Proceed from STEP 1 with the incremented round.\n\n## Phase 2 Unblock\n\nWhen `Impl-Review-Status: Passed` is set in design.md, the task decomposition\nphase (Phase 2) is unblocked. The sdd-bootstrap-interviewer will read this field\nbefore generating tasks.md and halt if it is not Passed.\n\n## Post-Implementation Provenance Re-Review\n\nWhen impl-stage review evidence must be re-bound after Phase 2 has begun\n(evidence-schema drift, an incomplete reviewer input manifest, a stale contract\nhash), `--reset` is not the route: STEP 7 step 4 would write\n`Impl-Review-Status: Pending`, which `check-workflow-state.sh` rejects once\n`tasks.md` exists. Run a re-binding attempt instead. This re-binds existing PASS\nevidence to the current artifact hashes; it is never a first-time review and\nnever a findings waiver.\n\n1. Start a new attempt: attempt = M+1, round = 1. Do NOT clear\n   `Impl-Review-Status:` from design.md — it stays `Passed`.\n   `impl-review-precheck.sh` refuses `--provenance-rereview` unless design.md\n   declares `Passed`, precisely so the header is not flipped.\n2. Run the precheck with the re-review flag:\n   `impl-review-precheck.sh \u003Cfeature> \u003CM+1> 1 --provenance-rereview`\n   (PowerShell: `-ProvenanceRereview`). The flag requires at least one prior\n   persisted impl-review PASS verdict for the feature, and downgrades the\n   canonical workflow-state check from fatal to advisory — the stale evidence\n   being re-bound is the reason the re-review runs. Every other precheck\n   enforcement is unchanged.\n3. Invoke both reviewers per STEP 2 and STEP 4 with the complete input set,\n   including `investigation.md` when present and, for a full-profile feature,\n   all four layer specs in each reviewer manifest. Declare the invocation a\n   post-implementation provenance re-review.\n4. Merge verdicts and write the contract per STEP 5.\n5. After the contract is persisted, run\n   `plugins\u002Fsdd-quality-loop\u002Fscripts\u002Fcheck-workflow-state.sh --feature \u003Cslug>`\n   and require exit 0 before reporting completion.\n\nTYPE-H convergence rule (provenance re-review only): a TYPE-H check that\nwould raise a NEW finding against content byte-identical — modulo\nhuman-authorized status\u002Fapproval\u002Fpointer lines — to content bound by a\nprior attempt's persisted impl-review PASS evidence is recorded as PASS,\nwith the observation carried as an advisory inside the check's finding\ntext (citing the prior PASS evidence path), never as a FAIL finding of\nany severity. TYPE-D checks are unaffected. Rationale: frozen content\ncannot be edited to satisfy heuristic re-judgments, so fresh-instance\nTYPE-H calibration variance would otherwise make the re-review\nnon-convergent (each round an independent draw, with round 3 terminal).\nThis is the same rule `task-review-loop`'s SKILL.md applies at the task\nstage. It is stated here so the two stages do not differ silently: both\nimpl reviewer role files tag every check TYPE-H or TYPE-D, so the rule is\nwell-formed at this stage too. Note that flipping `Impl-Review-Status:`\nbetween `Passed` and `Pending` changes design.md's SHA-256 without changing\nits content — a status-line-only difference is exactly the case this rule\ntreats as byte-identical.\n\nControlled re-binding boundary: a provenance re-review re-binds review\nevidence to the current artifact hashes; it does not license content changes\nto frozen artifacts. Sanctioned post-review updates go to non-frozen addenda\nper AGENTS.md (see ADR 0007).\n\n## Local Claude CLI non-TTY route (opt-in)\n\nBefore constructing each invocation, run\n`python3 -B plugins\u002Fsdd-quality-loop\u002Fscripts\u002Freview-conditional-inputs.py --root \u003Cabsolute-repository-root> --feature \u003Cfeature> --stage impl`.\nInclude every returned path\u002Fhash pair without duplicates. Missing or unsafe\nselected inputs stop the launch. Persist the complete role-specific invocation\nwith a fresh canonical UUIDv4 as both run and host-session ID, then invoke once\nbefore any manual reservation:\n\n```text\nrtk proxy python3 -B plugins\u002Fsdd-review-loop\u002Fscripts\u002Flaunch-impl-review.py \u003Cabsolute-repository-root> \u003Cabsolute-invocation-path> \u003Cabsolute-round-directory>\u002Flaunch-\u003CUUID>\n```\n\nFor explicitly selected managed routing, replace the legacy command above\nwith this preparation and launch. Execute only one of these routes per reviewer;\na managed failure stops before any legacy retry.\n\n```text\ncd \"\u003Cabsolute-repository-root>\" || exit $?\noutput=\"\u003Coutput-dir>\"\npython3 -B plugins\u002Fsdd-implementation\u002Fscripts\u002Fmanaged-model-entry.py prepare \\\n  --role \u003Crole> --host claude-code --request \"\u003Cpolicy-request>\" --registry \"\u003Cregistry>\" \\\n  --run-id \u003Crun-id> --session-id \u003Csession-id> --attempt \u003Cattempt> \\\n  --output-dir \"$output\" --require-actual-id false || exit $?\ncontrols_sha=$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))[\"controls\"][\"sha256\"])' \"$output\u002Fvalidation.json\") || exit $?\npython3 -B plugins\u002Fsdd-review-loop\u002Fscripts\u002Flaunch-impl-review.py \\\n  \"\u003Cabsolute-repository-root>\" \"\u003Cabsolute-invocation-path>\" \"\u003Cabsolute-round-directory>\u002Flaunch-\u003CUUID>\" \\\n  --model-controls \"$output\u002Fcontrols.json\" --model-controls-sha256 \"$controls_sha\"\n```\n\nUse the invocation's exact role (`impl-reviewer-a` or `impl-reviewer-b`),\nrun\u002Fsession IDs and attempt in preparation; both IDs must equal the proposed\nUUID. Use repository-relative request and registry paths and a fresh output\ndirectory per reviewer. Stop on preparation failure. Forward the controls hash\nfrom successful `validation.json`; preparation stdout is not a launch receipt.\n\nThe launcher verifies current inputs and native permissions, pins dependencies,\nperforms the ordinary single reservation, then launches and checks delivery.\nRequire the exact `REVIEW_CONTEXT_OK` receipt and postflight proof. Do not\nreserve separately, retry with changed IDs or treat delivery as a verdict.\nIts read-only `preflight-host-review.py` step must emit\n`HOST_REVIEW_PREFLIGHT_OK` before reservation.\nOther host routes retain the ordinary sequential launch contract.\n\n## Boundaries\n\n- Never self-approve any finding. Findings from reviewers are facts; the\n  orchestrator counts them but does not waive or override them.\n- Never write `Impl-Review-Status: Passed` directly — only the state machine\n  outcome logic may set this field, and only after a genuine PASS verdict.\n- Never write to `specs\u002F\u003Cfeature>\u002Frequirements.md` or `specs\u002F\u003Cfeature>\u002Ftasks.md`.\n- Never invoke impl-reviewer-a and impl-reviewer-b in the same agent context.\n  Each must run in a fresh, isolated context.\n- Never pass reviewer-a output directly to reviewer-b. Use integrated-summary.json\n  (counts and IDs only) as the only bridge.\n\n## Sudo Mode\n\nSudo mode (SDD_SUDO) does not apply to this skill. The impl-review-loop always\nrequires genuine findings resolution by a human. The `--edit-summary` requirement\nis not waived by sudo.\n\n## Report Format\n\nDisplay findings to the human using:\n`plugins\u002Fsdd-review-loop\u002Ftemplates\u002Fimpl-review-report.template.md`\n\nAlways show:\n1. Verdict (PASS \u002F PASS-with-warnings \u002F NEEDS_WORK \u002F BLOCKED)\n2. Round and attempt numbers.\n3. All reviewer-a findings that are FAIL.\n4. All reviewer-b findings that are FAIL.\n5. Proposed changes (if NEEDS_WORK).\n6. Next steps instruction.\n","# Implementation Policy Review Loop\n\nRun the structural soundness and implementability review gate on a feature's\ndesign.md. This skill coordinates two independent reviewers, merges their\nfindings, and manages the round\u002Fattempt state machine.\n\n## Installed project roots\n\nRun prechecks from the consumer project root. Versioned plugin caches and flat\ninstallations resolve runtime code beside the installed script; they never use\nthe installation as the project. To select a project explicitly, append\n`--repository-root \u003Cabsolute-project-root>` (PowerShell: `-RepositoryRoot`).\nSource-checkout invocations retain their checkout-root default for compatibility.\n\nPrechecks project only their required bundled calibration\u002Frisk reference inputs\ninto canonical `plugins\u002F...\u002Freferences\u002F` paths under the consumer project. The\nbytes must match the trusted installed references: existing differing files or\nlinked paths block the gate, and input verification never repairs them. Runtime\nscripts remain installed; users do not copy a plugin tree into their project.\nThe canonical reference paths and all review identity\u002Fhash requirements remain\nunchanged.\n\n## Managed allocation boundary\n\nAffected policy roles: `impl-reviewer-a`, `impl-reviewer-b`.\n\nApply this boundary only when the caller explicitly selects managed routing\nwith a policy request or model controls, or this allocation continues that\nmanaged workflow. With no managed input, retain the legacy invocation and model\nhints below. Once managed is selected, do not switch that workflow to legacy\nbecause selection, validation or launch fails. No new environment toggle is\nrequired, and this boundary does not grant delegation or execution permission.\n\nFor a managed allocation, apply in the allocating parent before an unbound\nforked Skill\u002FAgent, native role, or fresh context receives work, and before any\nidentity reservation. This\nboundary takes precedence over later native\u002Fdefault launch guidance for these\nroles. It does not add an availability or authority gate.\n\nKeep an already admitted managed entry with its validated selection\u002Fcontrols and\nmatching role, host, run\u002Fsession and workload. Keep a concretely known matching\nbatch startup and fixed generated Codex configuration under their original\ncontracts. An already bound worker continues its original procedure: do not\nselect again, allocate again, or run this refusal inside that same worker.\nA bound parent does not bind a new child, role or session: each new allocation\nneeds its own admitted selection\u002Fcarrier binding or takes the refusal below.\n\nWhen this operation has no admitted binding of the selected model and effort to\nits actual native carrier, substitute the next affected policy role and actual\nhost (`claude-code`, `codex-cli`, `copilot-cli`, or `gemini-cli`) and execute:\n\n```bash\npython3 -I -B \"\u003Cinstalled-root>\"\u002Fplugins\u002Fsdd-implementation\u002Fscripts\u002Fmanaged-model-entry.py unsupported-entry \\\n  --role \"\u003Cpolicy-role>\" --host \"\u003Chost>\"\n```\n\nExit 2 with `model-policy-error\u002Fv1` \u002F `model-unavailable` stops that allocation\nbefore work or reservation. Do not fall through to an old model hint, alias,\nunbound native default or another parent session; do not count allocation alone\nas selection proof. This refusal does not assert host incapability and never\nauthorizes same-session reload. Original host-incapable-only implementation\nfallback evidence and all review isolation requirements remain unchanged.\n\nApply separately to reviewer A or B before allocation or reservation. Keep the admitted protected managed Claude launch, exact role staging, readonly inputs, approval checkpoints and report\u002Fstatus ownership.\n\n\n## Native Codex reviewer route\n\nFor a local Codex host without an idle sub-agent allocation API, use the installed\n`launch-codex-review.py` before concluding that independent review is unavailable.\nThis route is for unmanaged spec\u002Fimpl\u002Ftask A and B allocations only. An explicitly\nselected managed workflow must retain its admitted managed transport; never use\nthis route to recover from a managed-routing failure.\n\nPrepare the normal `review-context-invocation\u002Fv2` file-manifest template after\nprecheck, with the exact role-specific allowed inputs. Its run\u002Fsession IDs are\nplaceholders only: this launcher replaces them with a newly allocated, idle native\nthread ID, pins the current ledger, runs canonical preflight, and reserves that\nidentity before the first model turn. Do not reserve the placeholder IDs yourself.\n\n```bash\npython3 -I -B \"$SDD_REVIEW_SCRIPTS\u002Flaunch-codex-review.py\" \\\n  \"$repository_root\" \"$invocation\" --manifest-sha256 \"$invocation_sha256\" \\\n  --output \"$new_output_directory\" --timeout 600\n```\n\nResolve `SDD_REVIEW_SCRIPTS` from this installed plugin's `scripts` directory.\nThe output must be a new directory inside the reviewed repository. Forward both\n`--fixed-input-record` and `--fixed-input-snapshot` unchanged when using fixed Git\ninputs. `--runtime powershell` selects the existing PowerShell validators.\nThe current native permission probe requires Linux, `\u002Fbin\u002Fcat`, `\u002Fbin\u002Fsh`, and\n`\u002Fusr\u002Fbin\u002Fpython3`, and a Codex app-server supporting named permission profiles.\nMissing capabilities stop before a model turn; never fall back to unrestricted\nor generic read-only execution. The inherited Codex account\u002Fmodel configuration\nis retained; external MCP tools, plugins, hooks, Apps, web search, and delegation\nare disabled only inside this isolated reviewer process. Parent workflow guards\nremain enabled.\n\nThe launcher projects only admitted files into a temporary directory, allows\nreads of that projection and native runtime files, denies writes\u002Fnetwork, and\nprobes inside read, outside read, write, and network denial through the native\nhost before reservation. The reviewer receives the invocation and validator\nreceipt, never the identity ledger. Raw hashes also pin lifecycle-normalized\ntask inputs without changing their canonical declared hash.\n\nOn success, `reviewer.json` is a candidate with the actual native identity;\n`delivery.json`, `idle-allocation.json`, `permission-probes.json`, reservation\nstdout\u002Fstderr, and native events are transport evidence. Adopt it only through\nthe usual role-specific output checks, A-to-B sanitization, merge, and persisted\nworkflow-state validator. A `NEEDS_WORK` or `BLOCKED` review is not a transport\nfailure and must remain visible. On timeout, reservation failure, changed input,\nor identity mismatch, no candidate is adopted. Keep the consumed reservation\nand diagnostics, correct the cause, then allocate a new identity for a retry.\n\n## Invocation\n\nCodex:\n```\nUse the impl-review-loop skill for feature \u003Cslug>\n```\n\nClaude Code:\n```\n\u002Fsdd-review-loop:impl-review-loop --feature \u003Cslug> [--reset] [--edit-summary \"\u003Ctext>\"]\n```\n\nFlags:\n- `--feature \u003Cslug>`: required; identifies `specs\u002F\u003Cslug>\u002Fdesign.md`.\n- `--reset`: archive the current attempt and start a new attempt from round 1.\n- `--edit-summary \"\u003Ctext>\"`: required when re-invoking after human edits (rounds\n  2 and 3). Summarises what the human changed. Stored in impl-review-contract.json.\n\n## Optional fixed-input navigation\n\nWhen a fixed input snapshot and its existing inventory are available, prepare a\nhuman-readable JSON index without replacing any required original input:\n\n```bash\npython3 plugins\u002Fsdd-review-loop\u002Fscripts\u002Ffixed-review-inputs.py reviewer-index \\\n  --repo . --snapshot \u003Cexisting-snapshot> --record \u003Cexisting-inventory>\n```\n\nThe index references every selected original with its hash and line count and\nquotes existing state fields. It is not an independent review, an approval, or a\ncached verdict. Regenerate it before presentation: missing or modified originals,\na changed selected HEAD, or dirty selected working files stop preparation. Its\nscope is the existing selected inventory; it does not discover a complete build\ndependency closure or certify unselected files. Reviewers still read the required\nfull originals and evaluate unresolved findings themselves.\n\n## Preconditions\n\nBefore running:\n1. `specs\u002F\u003Cfeature>\u002Fdesign.md` must exist.\n2. design.md must have an `Impl-Review-Status: Pending` header field. If the\n   field is missing and acceptance-tests.md is also absent, emit a STOP warning\n   (see LITE-SKIP below). If the field is missing but acceptance-tests.md\n   exists, halt with: \"design.md is missing Impl-Review-Status: Pending header\n   field. Add the field before invoking impl-review-loop.\"\n3. The spec-review-loop for this feature must have passed (check for\n   `Spec-Review-Status: Passed` in requirements.md header or equivalent gate\n   record). Do not run impl-review-loop if spec-review-loop has not passed.\n4. For a feature registered with profile `full`, `ux-spec.md`,\n   `frontend-spec.md`, `infra-spec.md`, and `security-spec.md` must exist as\n   real files in the feature spec directory. The precheck hash-binds all four.\n   Lite and legacy profiles retain their existing input contract.\n\n## LITE-SKIP\n\nIf design.md has no `Impl-Review-Status:` field AND\n`specs\u002F\u003Cfeature>\u002Facceptance-tests.md` is absent:\n- Print: \"impl-review-loop: STOP — design.md has no Impl-Review-Status field\n  and acceptance-tests.md is absent for feature \u003Cslug>. This appears to be a\n  lite-profile feature. Add Impl-Review-Status: Pending to design.md to enable\n  review, or use a lite spec profile.\"\n- Write no files; halt without returning PASS (this is a warning, not a pass).\n\n## Standalone Invocation Warning\n\nIf AGENTS.md (or the feature's spec directory) declares `spec_profile: lite`,\nemit a warning before running:\n\"WARNING: impl-review-loop invoked on a lite-profile feature. Lite profiles are\nintended to skip impl-review. Continuing at human request.\"\nThen proceed normally.\n\n## Process (State Machine)\n\nDetermine the current attempt and round by inspecting the\n`reports\u002Fimpl-review\u002F\u003Cfeature>\u002F` directory. If no prior run exists, start at\nattempt-1\u002Fround-1.\n\n### STEP 1 — Precheck\n\nRun `plugins\u002Fsdd-review-loop\u002Fscripts\u002Fimpl-review-precheck.sh \u003Cfeature> \u003Cattempt> \u003Cround>`.\n\nThis script produces:\n- `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Fprecheck-result.json`\n\nIf the script exits non-zero, halt and display its stderr output. Do not proceed\nto reviewer invocation.\n\n### ADR input binding — applies to both reviewers and the merged contract\n\nNew prechecks derive `adr_inputs` from the exact design using the restricted\ndeclaration grammar in `review-context-boundary.md`; an empty set is `[]`.\nDo not assemble this authority from a caller-supplied list or an ADR glob.\nInclude every precheck ADR path\u002Fhash pair in BOTH reviewer input manifests\nat STEP 2 and STEP 4, alongside the same current precheck and design pins.\nThe precheck's deterministic input digest must include the ADR serialization.\nRun `--verify-inputs` immediately before each launch, then require successful\nidentity reservation. A missing member, malformed extension, path defect or\nhash mismatch stops launch even if the invocation contains no ADR entries.\n\nAt STEP 5 copy the verified `adr_inputs` array unchanged into the contract.\nRequire both reviewer output manifests to contain exactly that ADR set and\nhashes and bind the same precheck and design. Do not infer admission from\nreviewer prose or add missing inputs after the review. Keep the extension\nabsent in historical evidence; never retrofit old reservations or FAILs.\nPersisted consumers and task-stage predecessor checks must verify the same\nbindings before this feature can progress. A template change alone is not\nevidence that those checks are implemented.\n\nIf either reviewer loses access to a required admitted input, stop this round.\nPreserve its actual output and reservation; do not fabricate check results,\nproduce a successful integrated review, or proceed to the next stage. Saved\ninterruption diagnostics do not satisfy completed-review validation. Follow\nthe interrupted-round rule in `review-context-boundary.md`; it grants no reset\nor identity-reuse permission.\n\n### STEP 2 — Invoke impl-reviewer-a\n\nSpawn impl-reviewer-a as a fresh agent (no shared context) with:\n- Feature slug, attempt number, round number.\n- Path to precheck-result.json.\n- Hash-verified allowed-input manifest including\n  `plugins\u002Fsdd-review-loop\u002Freferences\u002Freviewer-calibration.md`.\n- `specs\u002F\u003Cfeature>\u002Finvestigation.md` whenever that file exists. Reviewer A\n  reads it as supporting evidence and carries its INV-xxx IDs forward; it is\n  never authority over requirements.md. `task-review-precheck.sh` fails the\n  task stage unless the persisted contract binds it in BOTH reviewer\n  manifests, so omitting it produces evidence the next gate rejects.\n- At round 2 and round 3 only: the PREVIOUS round's\n  `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN-1>\u002Fintegrated-summary.json`.\n  This is the Issue #143 exception stated in `impl-reviewer-a.md` — the file\n  carries reviewer A's own check IDs and counts and no reviewer-b narrative,\n  so binding it does not breach the A\u002FB isolation this loop is built on.\n  Reviewer A reads it as counts and check IDs only and must not reason from\n  reviewer-b's findings. Both gates require it: `impl-review-precheck.sh`\n  fails the round without it, and `task-review-precheck.sh` fails the task\n  stage unless it appears in reviewer A's manifest specifically. Binding it\n  to reviewer B instead is not a substitute — the contract allowlist admits\n  the previous round's summary for reviewer A alone.\n\nThe agent reads inputs itself and writes:\n`reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Freviewer-a.json`\n\nimpl-reviewer-a is read-only. It must not modify any spec file.\nImmediately before invoking it, run the same precheck command with\n`--verify-inputs`. Halt if any core or layer input differs from the persisted\nprecheck manifest.\nThen persist a one-role `review-context-invocation\u002Fv2` manifest and bind it to\nthe current hash\u002Ffinal record of the canonical\n`reports\u002Freview-context\u002Fidentity-ledger.json`. Run\n`plugins\u002Fsdd-quality-loop\u002Fscripts\u002Fvalidate-review-context-set.sh\n\u003Cinvocation-manifest> \u003Crepository-root> --reserve` or the PowerShell equivalent\nwith `-Reserve`. Require `REVIEW_CONTEXT_OK` before launch. Missing\u002Fstale ledger\nstate, identity reuse, or any other non-zero result blocks launch; never replace\npersisted history with caller-supplied reserved-ID arrays.\n\n### STEP 3 — Generate integrated-summary.json\n\nDeterministically produce `integrated-summary.json` from reviewer-a.json.\nThis file contains check IDs and counts only — no verdict synthesis, no\nqualitative assessment. It is used by impl-reviewer-b to understand the\nstructural soundness landscape without being influenced by reviewer-a's verdict.\n\nSchema:\n```json\n{\n  \"schema\": \"integrated-summary\u002Fv1\",\n  \"round\": 1,\n  \"attempt\": 1,\n  \"reviewer_a_check_ids\": [\"ARCH-COVERAGE\", \"NO-CIRCULAR-DEPS\", ...],\n  \"reviewer_a_fail_count\": 0,\n  \"reviewer_a_pass_count\": 9,\n  \"reviewer_a_skip_count\": 0,\n  \"generated_at\": \"\u003CISO8601>\"\n}\n```\n\nWrite to: `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Fintegrated-summary.json`\n\n### STEP 4 — Invoke impl-reviewer-b\n\nSpawn impl-reviewer-b as a fresh agent (no shared context) with:\n- Feature slug, attempt number, round number.\n- Path to precheck-result.json.\n- Path to integrated-summary.json.\n- Hash-verified allowed-input manifest including\n  `plugins\u002Fsdd-review-loop\u002Freferences\u002Freviewer-calibration.md`.\n- `specs\u002F\u003Cfeature>\u002Finvestigation.md` whenever that file exists. Reviewer B\n  reads it to check INV-xxx grounding. The task stage's precheck requires it\n  in reviewer B's manifest too; a contract that binds it for only one reviewer\n  is rejected.\n\nimpl-reviewer-b has `disallowedPaths` covering reviewer-a.json. The agent reads\nits own inputs and writes:\n`reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Freviewer-b.json`\n\nimpl-reviewer-b is read-only. It must not modify any spec file.\nImmediately before invoking it, rerun the precheck with `--verify-inputs`.\nThis verification mode is read-only and must not replace review evidence.\nCreate a new one-role `review-context-invocation\u002Fv2` manifest using the ledger\nstate after reviewer A, then invoke `validate-review-context-set` with\n`--reserve` (Bash) or `-Reserve` (PowerShell). Require `REVIEW_CONTEXT_OK`\nbefore launching reviewer B. Reviewer B does not require any future task or\nevaluator context.\n\n### STEP 5 — Merge Verdicts\n\nRead reviewer-a.json and reviewer-b.json. Compute:\n- `findings_critical`: count of FAIL checks with severity Critical (across both).\n- `findings_major`: count of FAIL checks with severity Major (across both).\n- `findings_minor`: count of FAIL checks with severity Minor (across both).\n\nMerged verdict:\n- BLOCKED if `findings_critical > 0`.\n- NEEDS_WORK if `findings_critical == 0` and either `findings_major > 0`\n  or (`findings_minor > 0` and round \u003C 3).\n- PASS-with-warnings if `findings_minor > 0` and round == 3 and\n  `findings_major == 0` and `findings_critical == 0`.\n- PASS if `findings_critical == 0` and `findings_major == 0` and\n  `findings_minor == 0`.\n\nWrite `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Fintegrated-verdict.json`:\n```json\n{\n  \"schema\": \"integrated-verdict\u002Fv1\",\n  \"stage\": \"impl\",\n  \"feature\": \"\u003Cfeature-slug>\",\n  \"run_id\": \"\u003Cfresh-orchestrator-run-id>\",\n  \"verdict\": \"PASS|PASS-with-warnings|NEEDS_WORK|BLOCKED\",\n  \"round\": 1,\n  \"attempt\": 1,\n  \"findings_critical\": 0,\n  \"findings_major\": 0,\n  \"findings_minor\": 0,\n  \"reviewer_a_verdict\": \"PASS\",\n  \"reviewer_b_verdict\": \"PASS\"\n}\n```\n\nWrite `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Fimpl-review-contract.json`\nusing the schema from `plugins\u002Fsdd-review-loop\u002Ftemplates\u002Fimpl-review-contract.template.json`.\nIts two reviewer entries must have distinct nonblank `run_id` and\n`host_session_id` values and canonical, hash-verified allowed-input manifests.\nEach reviewer manifest must include every input the reviewer is instructed to\nread, including `plugins\u002Fsdd-review-loop\u002Freferences\u002Freviewer-calibration.md`.\nWhenever `specs\u002F\u003Cfeature>\u002Finvestigation.md` exists, both manifests must include\nit as well.\nFor full-profile features, both manifests must also include `ux-spec.md`,\n`frontend-spec.md`, `infra-spec.md`, and `security-spec.md`, using the hashes\nrecorded in `precheck-result.json`; copy that map to the contract's\n`layer_sha256` field.\n\nRound-dependent manifest contract:\n- Reviewer B's manifest binds the CURRENT round's `integrated-summary.json`,\n  in every round.\n- In rounds 2 and 3, reviewer A's manifest additionally binds the PREVIOUS\n  round's `attempt-\u003CM>\u002Fround-\u003CN-1>\u002Fintegrated-summary.json`. In round 1 it must\n  not — there is none.\n- That previous-round summary belongs to reviewer A alone. Binding it to\n  reviewer B instead is rejected: the contract allowlist admits round N-1's\n  summary for reviewer A only.\n- A round > 1 contract that omits it is rejected by `task-review-precheck.sh`\n  with \"persisted impl reviewer-a manifest is missing previous-round summary\",\n  which strands the feature before task review even though this stage reported\n  PASS. `tests\u002Fimpl-review-round2-contract.tests.sh` holds this shape.\n\nPersist both artifacts in the same round directory; downstream prechecks reject\nmissing, stale, or incomplete predecessor contracts before creating evidence.\n\n### STEP 6 — State Machine Outcome\n\n#### Both reviewers PASS, 0 findings → PASS (clean)\n\n- Update `specs\u002F\u003Cfeature>\u002Fdesign.md` header: change\n  `Impl-Review-Status: Pending` to `Impl-Review-Status: Passed`.\n- Print: \"impl-review-loop PASSED (clean) — round \u003CN> of attempt \u003CM>.\"\n- Print: \"Phase 2 (task decomposition) is now unblocked for feature \u003Cslug>.\"\n- Halt.\n\n#### Round == 3, only Minor findings remain → PASS-with-warnings\n\n- Update `specs\u002F\u003Cfeature>\u002Fdesign.md` header:\n  `Impl-Review-Status: Passed`.\n- Append a `## Implementation Warnings` section to design.md listing every Minor\n  finding with its check ID and description.\n- Print: \"impl-review-loop PASSED with warnings — \u003CK> minor findings recorded.\"\n- Print: \"Phase 2 (task decomposition) is now unblocked for feature \u003Cslug>.\"\n- Halt.\n\n#### Round \u003C 3, findings remain → correction before the next round\n\n- Preserve the STEP 5 verdict in every persisted artifact: Critical findings\n  remain `BLOCKED`; Major or Minor-only findings remain `NEEDS_WORK`.\n  Eligibility to correct inputs and request the next round does not downgrade\n  the recorded verdict or authorize later phases.\n- Generate `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM>\u002Fround-\u003CN>\u002Fdesign-round-\u003CN>-proposed-changes.md`\n  using `plugins\u002Fsdd-review-loop\u002Ftemplates\u002Fimpl-review-report.template.md`.\n- Present the proposed changes file to the human.\n- Print: \"impl-review-loop \u003Cpersisted-verdict> — round \u003CN> of 3. Review proposed\n  changes and edit specs\u002F\u003Cfeature>\u002Fdesign.md. Then re-invoke with --edit-summary.\"\n- Halt and await human action.\n\n#### Round == 3, Critical or Major findings remain → correction budget exhausted\n\n- Preserve the STEP 5 verdict: `BLOCKED` for Critical findings, `NEEDS_WORK`\n  for Major-only findings. In either case later phases remain blocked.\n- Print: \"impl-review-loop \u003Cpersisted-verdict>; correction budget exhausted\n  after 3 rounds in attempt \u003CM>. Critical or Major findings remain unresolved.\n  Use --reset to start a new attempt after addressing the root causes.\"\n- Halt.\n\n### STEP 7 — --reset handling\n\nWhen `--reset` is provided:\n1. Determine the current highest attempt number M from\n   `reports\u002Fimpl-review\u002F\u003Cfeature>\u002F`.\n2. The existing attempt-M directory remains as-is (archive by convention).\n3. Create `reports\u002Fimpl-review\u002F\u003Cfeature>\u002Fattempt-\u003CM+1>\u002Fround-1\u002F`.\n4. Change `Impl-Review-Status:` in design.md header to `Pending` — but ONLY\n   while `specs\u002F\u003Cfeature>\u002Ftasks.md` does not yet exist. Once it does,\n   `check-workflow-state.sh` rejects a Pending impl status: its task-lifecycle\n   rule requires every stage to read `Passed` once any task is Approved or past\n   Planned, so `--reset` is unreachable for that feature and halts at\n   `task-lifecycle`. Use the provenance re-review path below instead and leave\n   the header at `Passed`.\n5. Proceed from STEP 1 with attempt = M+1, round = 1.\n\n## Re-Invocation After Human Edits\n\nWhen the human edits design.md or an ADR bound by the prior round and\nre-invokes without `--reset`:\n- For an ADR-bound prior round, require a changed design or declared ADR\n  path\u002Fhash set. Preserve design-only progress for legacy prior rounds.\n- Preserve historical NEEDS_WORK evidence; do not compare its old ADR\n  hashes to corrected current files as a condition of opening the next round.\n- Increment round counter (round 2 or round 3).\n- `--edit-summary` is required; reject without it:\n  \"impl-review-loop: --edit-summary is required when re-invoking in round 2 or 3.\n  Provide a brief description of the changes made to design.md or its bound\n  ADR inputs.\"\n- Proceed from STEP 1 with the incremented round.\n\n## Phase 2 Unblock\n\nWhen `Impl-Review-Status: Passed` is set in design.md, the task decomposition\nphase (Phase 2) is unblocked. The sdd-bootstrap-interviewer will read this field\nbefore generating tasks.md and halt if it is not Passed.\n\n## Post-Implementation Provenance Re-Review\n\nWhen impl-stage review evidence must be re-bound after Phase 2 has begun\n(evidence-schema drift, an incomplete reviewer input manifest, a stale contract\nhash), `--reset` is not the route: STEP 7 step 4 would write\n`Impl-Review-Status: Pending`, which `check-workflow-state.sh` rejects once\n`tasks.md` exists. Run a re-binding attempt instead. This re-binds existing PASS\nevidence to the current artifact hashes; it is never a first-time review and\nnever a findings waiver.\n\n1. Start a new attempt: attempt = M+1, round = 1. Do NOT clear\n   `Impl-Review-Status:` from design.md — it stays `Passed`.\n   `impl-review-precheck.sh` refuses `--provenance-rereview` unless design.md\n   declares `Passed`, precisely so the header is not flipped.\n2. Run the precheck with the re-review flag:\n   `impl-review-precheck.sh \u003Cfeature> \u003CM+1> 1 --provenance-rereview`\n   (PowerShell: `-ProvenanceRereview`). The flag requires at least one prior\n   persisted impl-review PASS verdict for the feature, and downgrades the\n   canonical workflow-state check from fatal to advisory — the stale evidence\n   being re-bound is the reason the re-review runs. Every other precheck\n   enforcement is unchanged.\n3. Invoke both reviewers per STEP 2 and STEP 4 with the complete input set,\n   including `investigation.md` when present and, for a full-profile feature,\n   all four layer specs in each reviewer manifest. Declare the invocation a\n   post-implementation provenance re-review.\n4. Merge verdicts and write the contract per STEP 5.\n5. After the contract is persisted, run\n   `plugins\u002Fsdd-quality-loop\u002Fscripts\u002Fcheck-workflow-state.sh --feature \u003Cslug>`\n   and require exit 0 before reporting completion.\n\nTYPE-H convergence rule (provenance re-review only): a TYPE-H check that\nwould raise a NEW finding against content byte-identical — modulo\nhuman-authorized status\u002Fapproval\u002Fpointer lines — to content bound by a\nprior attempt's persisted impl-review PASS evidence is recorded as PASS,\nwith the observation carried as an advisory inside the check's finding\ntext (citing the prior PASS evidence path), never as a FAIL finding of\nany severity. TYPE-D checks are unaffected. Rationale: frozen content\ncannot be edited to satisfy heuristic re-judgments, so fresh-instance\nTYPE-H calibration variance would otherwise make the re-review\nnon-convergent (each round an independent draw, with round 3 terminal).\nThis is the same rule `task-review-loop`'s SKILL.md applies at the task\nstage. It is stated here so the two stages do not differ silently: both\nimpl reviewer role files tag every check TYPE-H or TYPE-D, so the rule is\nwell-formed at this stage too. Note that flipping `Impl-Review-Status:`\nbetween `Passed` and `Pending` changes design.md's SHA-256 without changing\nits content — a status-line-only difference is exactly the case this rule\ntreats as byte-identical.\n\nControlled re-binding boundary: a provenance re-review re-binds review\nevidence to the current artifact hashes; it does not license content changes\nto frozen artifacts. Sanctioned post-review updates go to non-frozen addenda\nper AGENTS.md (see ADR 0007).\n\n## Local Claude CLI non-TTY route (opt-in)\n\nBefore constructing each invocation, run\n`python3 -B plugins\u002Fsdd-quality-loop\u002Fscripts\u002Freview-conditional-inputs.py --root \u003Cabsolute-repository-root> --feature \u003Cfeature> --stage impl`.\nInclude every returned path\u002Fhash pair without duplicates. Missing or unsafe\nselected inputs stop the launch. Persist the complete role-specific invocation\nwith a fresh canonical UUIDv4 as both run and host-session ID, then invoke once\nbefore any manual reservation:\n\n```text\nrtk proxy python3 -B plugins\u002Fsdd-review-loop\u002Fscripts\u002Flaunch-impl-review.py \u003Cabsolute-repository-root> \u003Cabsolute-invocation-path> \u003Cabsolute-round-directory>\u002Flaunch-\u003CUUID>\n```\n\nFor explicitly selected managed routing, replace the legacy command above\nwith this preparation and launch. Execute only one of these routes per reviewer;\na managed failure stops before any legacy retry.\n\n```text\ncd \"\u003Cabsolute-repository-root>\" || exit $?\noutput=\"\u003Coutput-dir>\"\npython3 -B plugins\u002Fsdd-implementation\u002Fscripts\u002Fmanaged-model-entry.py prepare \\\n  --role \u003Crole> --host claude-code --request \"\u003Cpolicy-request>\" --registry \"\u003Cregistry>\" \\\n  --run-id \u003Crun-id> --session-id \u003Csession-id> --attempt \u003Cattempt> \\\n  --output-dir \"$output\" --require-actual-id false || exit $?\ncontrols_sha=$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))[\"controls\"][\"sha256\"])' \"$output\u002Fvalidation.json\") || exit $?\npython3 -B plugins\u002Fsdd-review-loop\u002Fscripts\u002Flaunch-impl-review.py \\\n  \"\u003Cabsolute-repository-root>\" \"\u003Cabsolute-invocation-path>\" \"\u003Cabsolute-round-directory>\u002Flaunch-\u003CUUID>\" \\\n  --model-controls \"$output\u002Fcontrols.json\" --model-controls-sha256 \"$controls_sha\"\n```\n\nUse the invocation's exact role (`impl-reviewer-a` or `impl-reviewer-b`),\nrun\u002Fsession IDs and attempt in preparation; both IDs must equal the proposed\nUUID. Use repository-relative request and registry paths and a fresh output\ndirectory per reviewer. Stop on preparation failure. Forward the controls hash\nfrom successful `validation.json`; preparation stdout is not a launch receipt.\n\nThe launcher verifies current inputs and native permissions, pins dependencies,\nperforms the ordinary single reservation, then launches and checks delivery.\nRequire the exact `REVIEW_CONTEXT_OK` receipt and postflight proof. Do not\nreserve separately, retry with changed IDs or treat delivery as a verdict.\nIts read-only `preflight-host-review.py` step must emit\n`HOST_REVIEW_PREFLIGHT_OK` before reservation.\nOther host routes retain the ordinary sequential launch contract.\n\n## Boundaries\n\n- Never self-approve any finding. Findings from reviewers are facts; the\n  orchestrator counts them but does not waive or override them.\n- Never write `Impl-Review-Status: Passed` directly — only the state machine\n  outcome logic may set this field, and only after a genuine PASS verdict.\n- Never write to `specs\u002F\u003Cfeature>\u002Frequirements.md` or `specs\u002F\u003Cfeature>\u002Ftasks.md`.\n- Never invoke impl-reviewer-a and impl-reviewer-b in the same agent context.\n  Each must run in a fresh, isolated context.\n- Never pass reviewer-a output directly to reviewer-b. Use integrated-summary.json\n  (counts and IDs only) as the only bridge.\n\n## Sudo Mode\n\nSudo mode (SDD_SUDO) does not apply to this skill. The impl-review-loop always\nrequires genuine findings resolution by a human. The `--edit-summary` requirement\nis not waived by sudo.\n\n## Report Format\n\nDisplay findings to the human using:\n`plugins\u002Fsdd-review-loop\u002Ftemplates\u002Fimpl-review-report.template.md`\n\nAlways show:\n1. Verdict (PASS \u002F PASS-with-warnings \u002F NEEDS_WORK \u002F BLOCKED)\n2. Round and attempt numbers.\n3. All reviewer-a findings that are FAIL.\n4. All reviewer-b findings that are FAIL.\n5. Proposed changes (if NEEDS_WORK).\n6. Next steps instruction.\n",{"name":5,"description":7,"user-invocable":19,"disable-model-invocation":19},"main","fd25c1e5f7b94dc5e50addb995d4313da0dda65a","plugins\u002Fsdd-review-loop\u002Fskills\u002Fimpl-review-loop","https:\u002F\u002Fgithub.com\u002Faharada54914\u002Fsdd-forge","https:\u002F\u002Fgithub.com\u002Faharada54914","2026-11-15 02:49:38",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add aharada54914\u002Fsdd-forge --skill impl-review-loop",{"tool":35,"command":36},"bunx","bunx skills add aharada54914\u002Fsdd-forge --skill impl-review-loop",{"tool":38,"command":39},"pnpm","pnpm dlx skills add aharada54914\u002Fsdd-forge --skill impl-review-loop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faharada54914\u002Fsdd-forge\u002Fblob\u002Fmain\u002Fplugins\u002Fsdd-review-loop\u002Fskills\u002Fimpl-review-loop\u002FSKILL.md",true,[],[44,52,59,66,73,80],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":51},"01M7DY6PWMGRM0GFNBXAE2RP3K","status","Show a read-only Jira-style six-view SDD dashboard in the initiating parent's Sites or Claude Artifacts, with source freshness and failure visibility.","https:\u002F\u002Fgithub.com\u002Faharada54914\u002Fsdd-forge\u002Fblob\u002Fmain\u002Fplugins\u002Fsdd-ship\u002Fskills\u002Fstatus\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M75FN16WRENJ2A9CXZCXVKBQ","verify-review-reservation","Recheck the bounded identity-ledger reservation invariant after lock, hash-check or publication changes.","https:\u002F\u002Fgithub.com\u002Faharada54914\u002Fsdd-forge\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fproject-skills\u002Fformal-review-reservation\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M75FMW90YZDCB7QNJ8K5KGKG","aws-cdk","Authors, deploys, and troubleshoots AWS infrastructure using CDK with TypeScript or Python. Covers best practices, stack architecture, and construct patterns. Applies when writing CDK constructs, bootstrapping environments, running cdk deploy\u002Fsynth\u002Fdiff, fixing CDK or CloudFormation errors, planning stack structure, importing existing resources, resolving drift, or refactoring stacks without resource replacement.","https:\u002F\u002Fgithub.com\u002Faharada54914\u002Fsdd-forge\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcloud-orchestration\u002Faws-bundle\u002Fupstream\u002Fplugins\u002Faws-core\u002Fskills\u002Faws-cdk\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M75FMSTFNT7EQSZY81T4WRHN","quality-gate","Independently verify an Implementation Complete task with a Default-FAIL verification contract, deterministic checks, and an isolated critical reviewer, then decide whether it is Done.","https:\u002F\u002Fgithub.com\u002Faharada54914\u002Fsdd-forge\u002Fblob\u002Fmain\u002Fspecs\u002Fsdd-domain-multitarget\u002Fverification\u002FT-003\u002Fattempt10-20261016\u002Fbaseline\u002Fplugins\u002Fsdd-quality-loop\u002Fskills\u002Fquality-gate\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M75FMPM8FDE4NQ6FFY7KB83Y","ship","Implement approved SDD tasks through the quality gate to Done — the second of the two-command workflow. Run after \u002Fsdd-bootstrap:bootstrap and human task approval.","https:\u002F\u002Fgithub.com\u002Faharada54914\u002Fsdd-forge\u002Fblob\u002Fmain\u002Fspecs\u002Fquality-loop-fixes\u002Fhuman-copy\u002Fplugins\u002Fsdd-ship\u002Fskills\u002Fship\u002FSKILL.md",[],[],{"skillNo":81,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M75FMK3G0EPXW77XK8ED3F2E","https:\u002F\u002Fgithub.com\u002Faharada54914\u002Fsdd-forge\u002Fblob\u002Fmain\u002Fspecs\u002Fmcp-readonly-preflight\u002Fhuman-copy\u002Fplugins\u002Fsdd-ship\u002Fskills\u002Fship\u002FSKILL.md",[],[]]