[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CQG3FSEQWNVHPR2Z1E2615":3,"skill-same:01M7CQG3FSEQWNVHPR2Z1E2615":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"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":25,"commitSha":26,"skillDirectory":27,"forksCount":13,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7CQG3FSEQWNVHPR2Z1E2615","closing-review",null,"Run closing review and generate an attestation. Use after Build completes or functional changes invalidate prior review evidence.","kouko\u002Floom-plugins","kouko","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1480254?v=4","01M7CQCPAJR9C92XDGR0QDCQ98","01M7CQCPB8FTVY1BT26ENK1YP4",0,"MIT","https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-code\u002Fskills\u002Fclosing-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: closing-review\ndescription: |\n  Run closing review and generate an attestation. Use after Build completes or functional changes invalidate prior review evidence.\nversion: 1.5.0\n---\n\n# Closing review\n\nReviewer findings and generated evidence are written in English.\nEvery message to the user, including a relayed reviewer or acceptance-tester\nresult, is written in the user's conversation language, even on a turn with no\nnew user message, such as a background agent's completion or a resume after\ncompaction.\n\n`closing-review` decides whether the completed functional content is ready. It produces\n`docs\u002Floom\u002F\u003Cchange-id>\u002Fattestation.json`; agents never edit that file by hand.\n\n## 1. Establish the content\n\nWhen a factual contradiction could change a review conclusion, identify the\npending decision and use `loom-code:engineering-research` as needed; adequate\nevidence needs no new study. Return findings or uncertainty to review without\nediting artifacts, replacing independent verification or creating missing\nexecution evidence; preserve scope and user decisions.\n\nResolve the branch base, read the confirmed intent and retained plan when present, and list the\ncumulative diff. If only publication metadata changed and a matching\nattestation already exists, call `loom-code:ship` in the same turn unless a\nstated stop condition applies. Do not rerun `finalize-review`: the evidence is\nstill valid and Ship owns the remaining work. A progress report naming Ship\ndoes not complete this hand-off.\n\nAt entry, omit any step the user told you to skip in plain words; §2 and §3\nsay how skipped reviewers, adversarial and acceptance-test are handled. Words that ask to skip independent acceptance testing —\n\"acceptance testing\", or the step formerly called \"blind run\" — mean the\n`acceptance-test` step. At station entry, keep the full flow unless the user\ninstructed a skip. Automatic narrow-change simplification belongs\nto finalization and attestation validation. The default is the full\nflow: skip a step only when the user\ntells you to in plain words, then tell the user in one line which step is\nskipped and continue. When you honour such a skip, append one line\n`skipped-by-instruction: \u003Cstep> \u003CYYYY-MM-DD>` to the plan's `## Risks` section,\nor the intent's `## Constraints` section when plan is absent or skipped, and commit it\nbefore dependent checks. Commit that line before reviewers read the final digest,\nbecause it changes the digest; a later commit is harmless only when the skip\nsends the change to Ship unattested (§5).\n\n## 2. Compute review depth\n\nUse the confirmed intent when spec or plan is skipped. Give reviewers and\ntesters the retained artifact paths and omitted steps; apply Acceptance\ndirectly when spec is omitted, and use bounded task handoffs when plan is\nomitted. Any downstream reference to a spec, plan or its sections applies\nonly when that artifact is retained; use the intent's Constraints for a\nrecord otherwise assigned to plan Risks. Missing skipped artifacts require\nno recovery; all retained verification still applies.\n\nBefore every host-native dispatch, the station must resolve the model-and-effort\nprofile as the [shared dispatch profile](..\u002F..\u002Freferences\u002Fdispatch-profile.md)\ndefines and apply its result. Repeat this resolution for every reviewer,\nsecond-vendor reviewer, and acceptance tester dispatch. `\u003Cloom-code>` (this plugin's\nroot) is `${CLAUDE_PLUGIN_ROOT}` on Claude Code; on any other host it is the\ndirectory two levels above this SKILL.md.\n\nOn Antigravity CLI or OpenCode, map tool and agent names with\n[`..\u002F..\u002Freferences\u002Fantigravity-tools.md`](..\u002F..\u002Freferences\u002Fantigravity-tools.md) or\n[`..\u002F..\u002Freferences\u002Fopencode-tools.md`](..\u002F..\u002Freferences\u002Fopencode-tools.md).\n\nBefore dispatching reviewers in Round 1, run\n`\"\u003Cloom-code>\u002Fscripts\u002Floom-python\" --repair sync-trunk` from the change\nworktree. When it reports `up to date`, continue. When it reports\n`content changed`, dispatch no reviewer and return to Build §3 to re-run the\ncomplete package suite and the existing adversarial programs, then start\nRound 1 again. When it prints `WARN review.sync`, state the warning in the\nround report and continue. When it prints `BLOCK review.sync`, dispatch no\nreviewer and return the change to Build. Any other result, including exit 2,\ndispatches no reviewer and reports the printed message. Run it before\nacceptance testing (§3), so acceptance testing exercises the synced content.\n\nBefore dispatching reviewers in any round, confirm on the current functional\ncontent (a committed acceptance test report aside) that Build's hand-off reports the\ncomplete package suite passing or `package-tests` is skipped by the user's plain-words\ninstruction, and that it\nreports every adversarial program passing or `adversarial` is skipped by the user's\nplain-words instruction, each\nskip waiving only its own check. When that hand-off reports a check failing, return the change to\nBuild and dispatch no reviewer. Reviewers read only content whose Build\nmechanical checks passed.\n\n\u003C!-- gate: review.absence-recovery -->\nAbsence is a distinct antecedent from a failing check. On a re-entry with\nevery planned task already committed, that hand-off is not in context, and the\nitem this station needs may itself be missing. Neither state is a check\nreporting a failure, and neither routes like one. When an item is absent, read\n`loom-code\u002Fcontract\u002Fmanifest.yaml` (`stations[].produces` and\n`actions[].owner`) for the station that produces the absent item; this file\nkeeps no second copy of that mapping. This lookup covers only an item this\nrule names: the adversarial programs, the acceptance test report or the\nattestation. Take the owner, never\n`charter.signoff`, which names where an artifact is signed off rather than\nwho produces it. When that owner is this station, produce the item here and\nroute it nowhere; for an acceptance test report specifically, that means following\n§3. When it is\nanother station, return the change there, naming the station sequence\nentered so far, and dispatch no reviewer. Recovery adds a path and waives\nnothing: every check\nabove runs on the recovered content. Keep the stations this run has entered as\na list in entry order, in the active task context and not in a committed\nledger, and name that list in the handoff and in either stop below. A second\nentry to a station is the last one allowed; a third entry to any station is a\nrecovery that has failed, and it stops and reports under the rule below rather\nthan routing on. The run enters no station more than twice, a count that\ntracks only entries made to resolve an absent item under this rule and is\nnever incremented by §4's ordinary round-and-digest progression.\n\nStop and ask when producing an absent item needs a decision point the user\nhas not answered for this change, naming the station sequence entered so\nfar. When the user has answered it, including a\ngeneral delegation such as \"you decide\", proceed and record the choice as\nuser-decided. This governs only whether the run asks again; a user-requested\nskip follows the plain-words rule in §1.\n\nStop when the attempt to produce an absent item fails. Report which item is\nabsent, what was attempted, and where it failed. Also report the station\nsequence entered so far. Do not attempt that item a\nsecond time and do not hand the change on to another station.\n\n\u003C!-- \u002Fgate -->\n\nWhen acceptance testing is needed, finish it and commit its report (§3) before\ndispatching the first reviewers. After Build commits completed functional\ncontent, run:\n\n```text\n\"\u003Cloom-code>\u002Fscripts\u002Floom-python\" --ready --script checked_readonly.py reviewer-count \u003Cchange-id>\n```\n\nUse only accepted JSON with exit 0 and `status: passed`: its positive integer\n`data.reviewer_floor`, tied to the unchanged `data.change_id`, determines how\nmany fresh-context reviewers with distinct agent identities to dispatch. The\nconsumer validates these fields before emitting them and adds `--json` itself;\ndo not parse success prose. Valid usage\u002Finternal errors, invalid observations\nor startup failures dispatch no reviewers and supply no default floor. Report\nthe diagnostic and stop this prerequisite; no automatic retry or text fallback.\nThis ready-mode call reuses the runtime prepared above; a readiness failure\nretains the launcher's repair guidance. See the shared\n[CLI result guide](..\u002F..\u002Freferences\u002Fcli-results.md).\nAfter accepting the core result, present applicable `suggested_next` only when\nit is a nonblank string, as advisory content; otherwise retain the original\ndiagnostic. Advice does not set a reviewer floor, authorize dispatch or permit\nautomatic execution, retry or text fallback.\nThe checker derives the\nfloor from the cumulative branch delta and fails closed to two when it cannot\nclassify the whole change. `finalize-review` recomputes the same policy, and\nthe PR's verification status reports a mismatch as `stale`; the orchestrator\nnever declares or overrides it. When `reviewers` is skipped by the user's plain-words\ninstruction, dispatch no\nreviewer and pass no `verdicts`.\n- Unless reviewers are skipped, resolve a selected second vendor from the\n  standing fixed CLI, the per-change `ask` answer, or a committed\n  `user-decided — second-vendor selection-confirmed: \u003Cvendor>` plan line, or a\n  direct user request naming an outside coding agent for the active code branch.\n  Record an accepted `ask` answer or direct request with that exact line in\n  the plan's `## Risks`; when plan is skipped, record\n  `- user-decided — second-vendor selection-confirmed: \u003Cvendor>` in the\n  confirmed intent's `## Constraints` before reviewing. If a plan is created\n  later, copy the selection into its Risks before review. The checker reads\n  plan Risks first, then intent Constraints when the plan is absent or has no\n  selection. Keep a direct request's verbatim quote and target in the JSON\n  `authorization_source` at dispatch, with `selected_executor` set to the final\n  user choice; a refused or superseded agent cannot fill the outside slot. The\n  request is not an asked question in `## Questions asked`. Thus\n  `reviewer-count`, finalization and attestation validation can recompute it.\n  With no selection, do not start external execution. Compare the selected\n  model's provider family with the current host model's family when that\n  family is known; if they match, the selection is not independent and must\n  not run as the outside reviewer. With a valid selection, retain\n  at least one incumbent reviewer and dispatch an additional outside reviewer.\n  A floor of one rises to two; at a higher floor, the outside reviewer may\n  occupy one slot, but cannot replace the incumbent. Finalization requires\n  both vendor families in distinct passing verdicts.\n\nReviewer independence is a quality requirement, not a ledger field. Give each\nreviewer the branch base, changed paths, intent, spec when present, plan, and\nthe applicable lens from `references\u002Flenses.md`. Reviewers return the\nstructured YAML required by `agents\u002Freviewer.md`; the orchestrator converts\nthe accepted fields to the temporary JSON consumed by finalization.\nFor branch-end review, send both `reviewed_sha` (the diff base) and\n`review_target_sha` (the committed HEAD being judged). Preserve the target in\nthe outside review's raw YAML and attributed verdict. Finalization requires it\nto equal HEAD; later attestation validation allows publication-only commits\nafter that target while requiring the target to be an ancestor with the same\nfunctional content digest.\nBefore dispatching the round's reviewers, run once at HEAD each adversarial\nprogram whose command is not pytest, shell or direct execution, writing its\ncombined output to a temporary directory outside the repository. Hand the\nreviewers those output paths together with the commit they ran at, HEAD (the\npacket's `review_target_sha`); a returned confirmation's `reviewed_sha` names\nthat commit, never the packet's diff base.\n\n\u003C!-- gate: review.external-dispatch -->\nFor the selected outside reviewer, invoke the named\n[`loom-code:external-review`](..\u002Fexternal-review\u002FSKILL.md) skill. Give it the\ncomplete reviewer packet, including the same lens from `references\u002Flenses.md`\nand the same `agents\u002Freviewer.md` YAML contract used by incumbent reviewers.\nSupply an explicit executor, model, effort and model-provider family. A\nresolver result of `overrides: null` does not select an outside profile;\nchoose and verify a complete pair or report `EXECUTION_FAILED`. Never use\nthe external CLI's default model or effort and never substitute another pair\nafter rejection.\n\nBefore any network-backed discovery, probe or review, give the user the\ncost, vendor-egress, `review_root` working directory, local-execution,\n`filesystem_access_outside_root`, and `filesystem_write_not_guaranteed`\ndisclosures and retain `authorization_source` in the external skill's complete\nJSON consent record. A direct user request naming the outside coding agent\nand an unambiguous active branch authorizes one review without a second yes\u002Fno\ncheckpoint; interpret the full request, including any refusal or correction,\nthen quote it, bind `selected_executor` and `executor` to the final choice,\nshow the disclosures, and record their flags as shown rather than separately\nacknowledged. Immediately before each owner call for outside discovery or\nexecution, re-evaluate the latest user choice across all conversation turns\navailable then. Refresh the final-choice record, or invalidate a stale approved\nrecord after cancellation, replacement, or ambiguity; a clear direct request\nneeds no second confirmation. One execution call runs discovery, preflight,\nand review consecutively. Handle a new user turn received during that call\nbefore the next outside call; material already sent cannot be recalled. The\nworking directory does not confine\nthe CLI's file reads or guarantee it cannot write files. An earlier fixed\nsetting without these disclosures is insufficient; resolve its confirmation\nat the existing intent decision point. If the provider or target is ambiguous,\nor material scope expands beyond the active task, obtain the missing choice\nbefore dispatch. A changed executor or `review_root` requires renewed\nauthorization. Pass the consent record and exact root to the shared\nrunner. A missing or stale record prevents execution. On Codex, run the\ninstalled runner outside the sandbox with narrowly scoped host approval when\nthe selected CLI requires the existing host login; denial is an authorization\nblocker, never a login diagnosis.\n\nContinue in the same active turn after disclosure for a clear direct request,\nthrough discovery, preflight, execution and the owning review's result validation.\nReuse the existing authorization instead of waiting for another user answer.\nKeep the consent record distinct from host execution approval; it does not\ngrant that approval. Carry the original user request, exact review target,\ndestination vendor and minimized packet scope into any required narrowly scoped\nhost execution request through the host's existing request mechanism. Respect\nthe host's decision; consent JSON alone never establishes host approval.\nReport a required second user answer as failed uninterrupted-execution acceptance,\neven when the host requires that answer before execution.\nDo not end the turn at disclosure, ask whether to send the scoped material, or\nmake a second answer a condition of starting. Report an actual host refusal as\nan incomplete review and preserve the refusal instead of attempting a bypass.\nCancellation, ambiguity and material scope expansion still follow the choice\nrules above; this continuation rule grants no additional access or retry.\nThe fresh-authorization retry rule below applies outside this initial execution.\n\nThe shared runner returns execution status, evidence and raw review output;\nit does not judge the review. A failed probe or review is a distinct outside\nfailure and supplies no verdict. On completion, this station validates the\nraw YAML against `agents\u002Freviewer.md`, attributes it to the selected model\nfamily, and accepts only a conforming verdict. One whole-output `yaml` or\n`YAML` fence and nonempty finding text without a Conventional Comments label\nare accepted without changing their content. Every finding still needs a\nnonblank path with a positive line number or nonblank quote; dimension scores\nmust meet their findings' severity, and the overall verdict must agree with\nthe scores and findings. For outside results, a dimension may use an exact\ncanonical score followed by ` — ` and nonblank rationale. Copy the full\ndimension score string into the attributed verdict for comparison with the\nraw YAML; use only the canonical score token for finding severity and\noverall-verdict consistency. The overall verdict remains a bare canonical\ntoken. Blank or ambiguous scores are rejected. Duplicate YAML mapping keys\nat any depth are rejected.\nA transient executor failure or malformed outside output may be retried once\nfor the same digest and reviewer identity, but every repeat outside execution\nis a newly authorized review with a fresh preflight. The earlier consent does\nnot authorize a silent\nretry. For `probe-rapid-refill-breaker` or `review-rapid-refill-breaker`, report\nan incomplete review and inspect private diagnostics before requesting that\nnew authorization. A second outside failure ends the episode as\n`EXECUTION_FAILED`. A rejected explicit model or effort never triggers a\ndefault-model retry.\nThe accepted outside verdict carries the completed runner result to\n`finalize-review`; it checks the raw YAML against the attributed lens,\nverdict, dimension scores, findings and notes, then stores a receipt bound to\nthe unmodified raw-output digest with executor, model, effort, family and\nreviewer identity in the attestation. A vendor label without this receipt is\nnot a completed outside review.\n\u003C!-- \u002Fgate -->\n\n## 3. Run acceptance testing\n\nUse acceptance testing when an Acceptance line cannot be settled mechanically.\nWhen every Acceptance is settled mechanically, omit the independent report\neven for executable, non-narrow changes; this differs from a user skip or\nautomatic narrow simplification. Finalization and publication still require\npassing functional executions and reviews, record the actual tested commit,\nand check any report present. Report absence cannot prove that semantic\ndecision: the station and reviewers must require independent evidence when needed.\nAcceptance testing means dispatching the `loom-code:acceptance-tester` agent\nfresh-context, never an agent that touched any part of the change. It writes\nthe report to `docs\u002Floom\u002F\u003Cchange-id>\u002Facceptance-test-report.md` and detailed\nevidence to `docs\u002Floom\u002F\u003Cchange-id>\u002Fevidence\u002Facceptance-test-evidence.md`.\nThose files, other direct evidence files and `attestation.json` are\npublication metadata under the manifest; executable\nprobe programs remain functional content. Commit the report and its evidence\nbefore `finalize-review`, which records the tested commit from the report's\ncanonical `Tried on ... at \u003Csha>` line and rechecks every applicable evidence\nrule. Publication rechecks those rules against the selected committed tree;\nvalid evidence-only edits keep the functional digest, while missing or invalid\ncoverage, commit identity, intent confirmation or named boundary files fails\nvalidation. Review verdicts persist authoritatively in the change directory's\n`attestation.json` under `verdicts`; the outside-repository review input is\ntemporary input, not a second authoritative record.\nWhen `acceptance-test` is skipped by the user's plain-words\ninstruction, run no acceptance testing.\nWhen `acceptance-test` is skipped and so no report exists, tell the user, in the conversation before Ship,\nevery step skipped by instruction, read from the committed\n`skipped-by-instruction:` lines and described in plain words by what it would\nhave done, not as its record id.\n\nOn every dispatch, tell the acceptance tester whether `package-tests` or\n`finalize-review` is skipped. Also hand it every finding of severity\n`important` or worse that the main agent dismissed. A finding of that\nseverity dismissed after the tester's last dispatch, when Ship comes next, is\nlisted in the pull request's Verification section instead. On a re-dispatch after a\nfix, also pass the earlier report and evidence file paths and the fix's commit range. The\ntester's steps 6-7 govern the suite row and what is re-tested.\n\nClosing review dispatches no adversary and creates no adversarial program.\nBuild commits the adversarial programs, and its hand-off names each program's\npath and command; §5 passes them to `finalize-review`. Do not record a claimed\nresult; finalization executes them. When `adversarial` is skipped by the user's plain-words\ninstruction, Build hands\noff no adversarial program and §5 omits the `adversarial` input.\n\n\u003C!-- gate: review.probe-graduation -->\nA probe program that caught a defect on its own change is carried into the\nsuite that runs on every later change, through a plan task, before §5 runs\n`finalize-review`. That is the deadline, because §5 is what executes the\nprograms and writes the attestation: a program still sitting in the change's\nstore when the attestation is written was never graduated. Graduation is a\nplan task, so the route is back through Build — this station dispatches no\nimplementer and moves no file itself. Re-enter §5 once Build reports the move.\n\nA program of this change that caught none is named as such in the review\nreport and deleted from the repository: a program that never went red is run\ntwice and never again, so it defends nothing against a later regression. The\nadversarial protocol commits a program only when it is red, so this branch\nnever fires on a program that step produced as intended. It is reached in two\ncases and no others: a program carried over from an earlier dispatch whose\ncase a later fix removed, and a program whose observed result Build's hand-off\ndoes not give, which is read as caught nothing. Read which is which from\nBuild's hand-off, which records each program's observed result. Probe programs\ncommitted for earlier changes stay where they are.\n\u003C!-- \u002Fgate -->\n\n## 4. Converge within one bounded episode\n\n\u003C!-- gate: review.bounded-episode -->\nA closing Review episode starts when fresh reviewers first evaluate completed\nfunctional content for the confirmed requirements. Only a substantive requirements\nchange with renewed intent confirmation starts another episode. The main agent\nmust record the changed requirements and affected obligations in retained spec,\nplan and evidence (or intent Constraints when those artifacts are omitted),\ndistinguishing evidence retained as applicable from evidence replaced for the\nnew requirements. Confirmation's byte pin proves the confirmed content, not\nsemantic change. The episode admits at most three distinct\nfunctional-content digests; changing the task, app, branch, reviewer, vendor,\nmodel, or technical design does not reset that limit.\nWording-only reconfirmation must preserve existing review rounds.\nThe main agent must retain the retry count for the same failed task, even after\na substantive requirements change and renewed confirmation. Before treating work\nas a new task, the main agent must record a concrete changed obligation and the\ntask-continuity rationale in those existing artifacts, with checkable evidence\nfor that distinction; a new task name alone changes neither count nor limit.\nA digest is distinct whenever a functional-content file changed since the\ncontent the reviewers last read; publication-only edits do not change it.\n\n- **Round 1 — full review.** Review the cumulative functional content.\n- **Round 2 — fix verification.** Batch fatal and important findings, return to\n  Build, which repeats its end-of-Build mechanical checks, and resume the same\n  reviewers over the functional fix delta.\n- **Round 3 — terminal verification.** Review the final digest once.\n  `NEEDS_REVISION` ends the episode as `NON_CONVERGENT`; never dispatch Round 4.\n\nTreat the episode as stuck when Round 2 still has blockers, the same blocker\nsurvives two consecutive rounds, the blocker count does not decrease after a\nfunctional fix, or the fix repeats the same mechanism shape; stop local\npatching then, and use the next available round only after the technical\ndesign re-look. The agent owns that re-plan when it preserves requirements,\nvisible behavior, and guarantees.\n\nDo not ask the user whether to continue a technical fix or which technical\nrepair to choose. Authorization for a repeat outside execution is separate.\nAsk only when resolving the blocker would change requirements, visible\nbehavior, or guarantees; that change requires a newly confirmed intent rather\nthan another round in this episode.\n\nA malformed response, unavailable executor, or other transient failure before\na conforming verdict exists may retry once against the same functional-content\ndigest. For an outside reviewer, that repeat execution requires a newly\nauthorized review with a fresh preflight; never retry silently. After\n`probe-rapid-refill-breaker` or `review-rapid-refill-breaker`, inspect private\ndiagnostics before requesting authorization. That retry is not a review round.\nA second failed attempt before a conforming verdict ends the episode as\n`EXECUTION_FAILED`.\nTreat a conforming `NEEDS_REVISION` as a successful review assignment that\nconsumes the current review round. Feed back that completed assignment as\nsuccessful conforming work under the shared dispatch profile, then return the\nartifact defects to Build for the next permitted fix round; it consumes no\nfailed-reviewer retry. An execution-boundary result remains excluded and does\nnot automatically become `malformed-response`; classify it from its actual\nfailure evidence under the shared dispatch contract and stop when that contract\npermits no retry. Report every completed host-native execution before any\npermitted retry, retaining its actual count and effective profile.\n\nKeep this episode in the active task context. Do not create a review-round\nledger or committed state schema. Wording-only publication edits do not reopen\n`closing-review`.\n\u003C!-- \u002Fgate -->\n\nBefore any fix begins, the main agent collects every fatal or important\nfinding that the reviewers and independent acceptance testing returned on the\ncontent the reviewers just read, including the committed acceptance test\nreport, into one list. Every fix starts from that\nwhole list. Findings that share a defect class, named in words taken from the\nfindings themselves, go to Build as one hand-off that names every one of their\ninstances; findings of different classes go as separate hand-offs. Every\nhand-off from the list goes to Build in the same fix round, before the\nreviewers resume. A verdict label such as `NEEDS_REVISION` names no class.\n\nBuild scopes each fix to its\ndefect's whole class before an implementer or the main agent makes it, as\nBuild §2 states.\n\nConvergence is where a lesson this branch taught is still cheap to keep.\nWhatever it taught has surfaced by now — through a finding, a probe, or\nacceptance testing — and writing it down after the merge costs a branch and a pull\nrequest for something already known. When this repository has a\n`docs\u002Floom\u002Fmemory\u002F` directory, that is where such a lesson belongs.\n\nA recorded lesson is functional content like anything else committed: it\nchanges the digest, so it must land in a digest the reviewers read, riding\nthe fix round already in flight rather than arriving after the last one. It\nnever justifies exceeding this episode's digests. A lesson that surfaces\nonce they are spent rides the next change's branch as a batched passenger —\nwhich is still not a branch opened only to record something.\n\nAlmost nothing qualifies. Most of what a review surfaces is not a durable\nlesson: a one-off implementation slip belongs in its commit message, a\nverification result in this change's evidence, an unfinished item in an\nintent. Zero to one durable lesson per change is the\nnormal outcome. This passage states the moment and the bar; it invokes\nnothing, requires no plugin to be installed, and asks for no decision from\nthe user.\n\n## 5. Finalize\n\nWrite reviewer output and the adversarial command declarations from Build's\nhand-off to a temporary JSON input outside the repository:\n\n```json\n{\n  \"verdicts\": [\n    {\"reviewer\":\"\u003Cid>\",\"vendor\":\"\u003Cvendor>\",\"model\":\"\u003Cmodel>\",\"lens\":\"code\",\"verdict\":\"PASS\",\"findings\":[]}\n  ],\n  \"findings\": [],\n  \"adversarial\": [\n    {\"command\":\"python3 -m pytest \u003Cpath>\",\"artifact\":\"\u003Cpath>\"}\n  ]\n}\n```\n\nWhen Build's hand-off records that the adversary committed no program, the\n`adversarial` list holds the no-program outcome and its reason, with no program beside it:\n\n```json\n  \"adversarial\": [\n    {\"no_program\":\"\u003Cwhy no program was worth committing>\"}\n  ]\n```\n\n`finalize-review` refuses a reason that is blank, is not on one line, has\nsurrounding whitespace or contains an HTML comment, and a no-program record\nbeside any program.\n\nThe `findings` input carries every unresolved adversarial finding that Build's\nhand-off lists.\n\nCopy each returned `probe_confirmations` entry into that probe's `adversarial` item as\n`\"confirmation\": {\"reviewer\": \"\u003Cid>\", \"reviewed_sha\": \"\u003Csha>\", \"quote\": \"\u003Clines>\"}`.\n`finalize-review` uses a confirmation only for a run whose runner is unlisted\nor whose output it cannot read.\n\nFor a selected outside reviewer, copy its `dimension_scores` and `notes` into\nthe attributed verdict as well as the fields shown above; finalization compares\nthem with the raw YAML.\n\nThen run:\n\n```text\n\"\u003Cloom-code>\u002Fscripts\u002Floom-python\" --repair finalize-review \u003Cchange-id> --input \u003Ctemporary-json>\n```\n\nWhen the required reviewer verdicts and probe evidence are available and §4\npermits finalization, run `finalize-review` in this turn. A progress update\nalone does not complete this step.\n\nThe checker runs the declared package suite and each adversarial program once.\nOnly after all executions and verdicts pass does it atomically generate the\nattestation bound to the functional-content digest. When `finalize-review`\ngenerates a valid attestation, commit the generated file with any remaining\npublication metadata in this turn; publication validates that single\nattestation directly. Once a valid attestation is committed, call\n`loom-code:ship` in this turn unless a stated stop condition applies. A\nprogress report alone does not complete the hand-off.\n\nWhen a step that `finalize-review` needs (reviewers, adversarial, package-tests)\nwas skipped by the user's plain-words instruction, skip `finalize-review` and leave the change unattested: tell the\nuser in one line that the PR will show `verification absent`, and hand the\nchange to Ship.\n\nWhen `finalize-review` refuses only over a reviewer confirmation, and the\nfunctional content is unchanged, obtain a fresh confirmation from the round's\nreviewers and re-run `finalize-review`; that is not a Build round. A\nconfirmation-only refusal is one of these five: the confirmation is missing;\nit is malformed; its reviewer gave no verdict this round; its `reviewed_sha`\nlacks HEAD's functional content; or its quote does not match its own run of\nthe probe.\nWhen `finalize-review` fails for any other cause than these five,\nreturn the fix to Build, which repeats its\nend-of-Build mechanical checks, and the fixed content, a new functional-content\ndigest, must pass the next review round (§4) before `finalize-review` runs\nagain. No technical design re-look precedes that round unless the episode is\nstuck. Earlier verdicts are never reused for the fixed content. When no round\nremains, the fix would need a fourth distinct digest, which §4 forbids, so it\nends the episode as `NON_CONVERGENT`.\n\n## Handoff\n\nReport the reviewers, executed commands, functional digest, and unresolved\nfindings. Also report every finding of severity `important` or worse\ndismissed after the acceptance tester's last dispatch, with its reason. On\nPASS, hand the matching attestation to `loom-code:ship`.\n","# Closing review\n\nReviewer findings and generated evidence are written in English.\nEvery message to the user, including a relayed reviewer or acceptance-tester\nresult, is written in the user's conversation language, even on a turn with no\nnew user message, such as a background agent's completion or a resume after\ncompaction.\n\n`closing-review` decides whether the completed functional content is ready. It produces\n`docs\u002Floom\u002F\u003Cchange-id>\u002Fattestation.json`; agents never edit that file by hand.\n\n## 1. Establish the content\n\nWhen a factual contradiction could change a review conclusion, identify the\npending decision and use `loom-code:engineering-research` as needed; adequate\nevidence needs no new study. Return findings or uncertainty to review without\nediting artifacts, replacing independent verification or creating missing\nexecution evidence; preserve scope and user decisions.\n\nResolve the branch base, read the confirmed intent and retained plan when present, and list the\ncumulative diff. If only publication metadata changed and a matching\nattestation already exists, call `loom-code:ship` in the same turn unless a\nstated stop condition applies. Do not rerun `finalize-review`: the evidence is\nstill valid and Ship owns the remaining work. A progress report naming Ship\ndoes not complete this hand-off.\n\nAt entry, omit any step the user told you to skip in plain words; §2 and §3\nsay how skipped reviewers, adversarial and acceptance-test are handled. Words that ask to skip independent acceptance testing —\n\"acceptance testing\", or the step formerly called \"blind run\" — mean the\n`acceptance-test` step. At station entry, keep the full flow unless the user\ninstructed a skip. Automatic narrow-change simplification belongs\nto finalization and attestation validation. The default is the full\nflow: skip a step only when the user\ntells you to in plain words, then tell the user in one line which step is\nskipped and continue. When you honour such a skip, append one line\n`skipped-by-instruction: \u003Cstep> \u003CYYYY-MM-DD>` to the plan's `## Risks` section,\nor the intent's `## Constraints` section when plan is absent or skipped, and commit it\nbefore dependent checks. Commit that line before reviewers read the final digest,\nbecause it changes the digest; a later commit is harmless only when the skip\nsends the change to Ship unattested (§5).\n\n## 2. Compute review depth\n\nUse the confirmed intent when spec or plan is skipped. Give reviewers and\ntesters the retained artifact paths and omitted steps; apply Acceptance\ndirectly when spec is omitted, and use bounded task handoffs when plan is\nomitted. Any downstream reference to a spec, plan or its sections applies\nonly when that artifact is retained; use the intent's Constraints for a\nrecord otherwise assigned to plan Risks. Missing skipped artifacts require\nno recovery; all retained verification still applies.\n\nBefore every host-native dispatch, the station must resolve the model-and-effort\nprofile as the [shared dispatch profile](..\u002F..\u002Freferences\u002Fdispatch-profile.md)\ndefines and apply its result. Repeat this resolution for every reviewer,\nsecond-vendor reviewer, and acceptance tester dispatch. `\u003Cloom-code>` (this plugin's\nroot) is `${CLAUDE_PLUGIN_ROOT}` on Claude Code; on any other host it is the\ndirectory two levels above this SKILL.md.\n\nOn Antigravity CLI or OpenCode, map tool and agent names with\n[`..\u002F..\u002Freferences\u002Fantigravity-tools.md`](..\u002F..\u002Freferences\u002Fantigravity-tools.md) or\n[`..\u002F..\u002Freferences\u002Fopencode-tools.md`](..\u002F..\u002Freferences\u002Fopencode-tools.md).\n\nBefore dispatching reviewers in Round 1, run\n`\"\u003Cloom-code>\u002Fscripts\u002Floom-python\" --repair sync-trunk` from the change\nworktree. When it reports `up to date`, continue. When it reports\n`content changed`, dispatch no reviewer and return to Build §3 to re-run the\ncomplete package suite and the existing adversarial programs, then start\nRound 1 again. When it prints `WARN review.sync`, state the warning in the\nround report and continue. When it prints `BLOCK review.sync`, dispatch no\nreviewer and return the change to Build. Any other result, including exit 2,\ndispatches no reviewer and reports the printed message. Run it before\nacceptance testing (§3), so acceptance testing exercises the synced content.\n\nBefore dispatching reviewers in any round, confirm on the current functional\ncontent (a committed acceptance test report aside) that Build's hand-off reports the\ncomplete package suite passing or `package-tests` is skipped by the user's plain-words\ninstruction, and that it\nreports every adversarial program passing or `adversarial` is skipped by the user's\nplain-words instruction, each\nskip waiving only its own check. When that hand-off reports a check failing, return the change to\nBuild and dispatch no reviewer. Reviewers read only content whose Build\nmechanical checks passed.\n\n\u003C!-- gate: review.absence-recovery -->\nAbsence is a distinct antecedent from a failing check. On a re-entry with\nevery planned task already committed, that hand-off is not in context, and the\nitem this station needs may itself be missing. Neither state is a check\nreporting a failure, and neither routes like one. When an item is absent, read\n`loom-code\u002Fcontract\u002Fmanifest.yaml` (`stations[].produces` and\n`actions[].owner`) for the station that produces the absent item; this file\nkeeps no second copy of that mapping. This lookup covers only an item this\nrule names: the adversarial programs, the acceptance test report or the\nattestation. Take the owner, never\n`charter.signoff`, which names where an artifact is signed off rather than\nwho produces it. When that owner is this station, produce the item here and\nroute it nowhere; for an acceptance test report specifically, that means following\n§3. When it is\nanother station, return the change there, naming the station sequence\nentered so far, and dispatch no reviewer. Recovery adds a path and waives\nnothing: every check\nabove runs on the recovered content. Keep the stations this run has entered as\na list in entry order, in the active task context and not in a committed\nledger, and name that list in the handoff and in either stop below. A second\nentry to a station is the last one allowed; a third entry to any station is a\nrecovery that has failed, and it stops and reports under the rule below rather\nthan routing on. The run enters no station more than twice, a count that\ntracks only entries made to resolve an absent item under this rule and is\nnever incremented by §4's ordinary round-and-digest progression.\n\nStop and ask when producing an absent item needs a decision point the user\nhas not answered for this change, naming the station sequence entered so\nfar. When the user has answered it, including a\ngeneral delegation such as \"you decide\", proceed and record the choice as\nuser-decided. This governs only whether the run asks again; a user-requested\nskip follows the plain-words rule in §1.\n\nStop when the attempt to produce an absent item fails. Report which item is\nabsent, what was attempted, and where it failed. Also report the station\nsequence entered so far. Do not attempt that item a\nsecond time and do not hand the change on to another station.\n\n\u003C!-- \u002Fgate -->\n\nWhen acceptance testing is needed, finish it and commit its report (§3) before\ndispatching the first reviewers. After Build commits completed functional\ncontent, run:\n\n```text\n\"\u003Cloom-code>\u002Fscripts\u002Floom-python\" --ready --script checked_readonly.py reviewer-count \u003Cchange-id>\n```\n\nUse only accepted JSON with exit 0 and `status: passed`: its positive integer\n`data.reviewer_floor`, tied to the unchanged `data.change_id`, determines how\nmany fresh-context reviewers with distinct agent identities to dispatch. The\nconsumer validates these fields before emitting them and adds `--json` itself;\ndo not parse success prose. Valid usage\u002Finternal errors, invalid observations\nor startup failures dispatch no reviewers and supply no default floor. Report\nthe diagnostic and stop this prerequisite; no automatic retry or text fallback.\nThis ready-mode call reuses the runtime prepared above; a readiness failure\nretains the launcher's repair guidance. See the shared\n[CLI result guide](..\u002F..\u002Freferences\u002Fcli-results.md).\nAfter accepting the core result, present applicable `suggested_next` only when\nit is a nonblank string, as advisory content; otherwise retain the original\ndiagnostic. Advice does not set a reviewer floor, authorize dispatch or permit\nautomatic execution, retry or text fallback.\nThe checker derives the\nfloor from the cumulative branch delta and fails closed to two when it cannot\nclassify the whole change. `finalize-review` recomputes the same policy, and\nthe PR's verification status reports a mismatch as `stale`; the orchestrator\nnever declares or overrides it. When `reviewers` is skipped by the user's plain-words\ninstruction, dispatch no\nreviewer and pass no `verdicts`.\n- Unless reviewers are skipped, resolve a selected second vendor from the\n  standing fixed CLI, the per-change `ask` answer, or a committed\n  `user-decided — second-vendor selection-confirmed: \u003Cvendor>` plan line, or a\n  direct user request naming an outside coding agent for the active code branch.\n  Record an accepted `ask` answer or direct request with that exact line in\n  the plan's `## Risks`; when plan is skipped, record\n  `- user-decided — second-vendor selection-confirmed: \u003Cvendor>` in the\n  confirmed intent's `## Constraints` before reviewing. If a plan is created\n  later, copy the selection into its Risks before review. The checker reads\n  plan Risks first, then intent Constraints when the plan is absent or has no\n  selection. Keep a direct request's verbatim quote and target in the JSON\n  `authorization_source` at dispatch, with `selected_executor` set to the final\n  user choice; a refused or superseded agent cannot fill the outside slot. The\n  request is not an asked question in `## Questions asked`. Thus\n  `reviewer-count`, finalization and attestation validation can recompute it.\n  With no selection, do not start external execution. Compare the selected\n  model's provider family with the current host model's family when that\n  family is known; if they match, the selection is not independent and must\n  not run as the outside reviewer. With a valid selection, retain\n  at least one incumbent reviewer and dispatch an additional outside reviewer.\n  A floor of one rises to two; at a higher floor, the outside reviewer may\n  occupy one slot, but cannot replace the incumbent. Finalization requires\n  both vendor families in distinct passing verdicts.\n\nReviewer independence is a quality requirement, not a ledger field. Give each\nreviewer the branch base, changed paths, intent, spec when present, plan, and\nthe applicable lens from `references\u002Flenses.md`. Reviewers return the\nstructured YAML required by `agents\u002Freviewer.md`; the orchestrator converts\nthe accepted fields to the temporary JSON consumed by finalization.\nFor branch-end review, send both `reviewed_sha` (the diff base) and\n`review_target_sha` (the committed HEAD being judged). Preserve the target in\nthe outside review's raw YAML and attributed verdict. Finalization requires it\nto equal HEAD; later attestation validation allows publication-only commits\nafter that target while requiring the target to be an ancestor with the same\nfunctional content digest.\nBefore dispatching the round's reviewers, run once at HEAD each adversarial\nprogram whose command is not pytest, shell or direct execution, writing its\ncombined output to a temporary directory outside the repository. Hand the\nreviewers those output paths together with the commit they ran at, HEAD (the\npacket's `review_target_sha`); a returned confirmation's `reviewed_sha` names\nthat commit, never the packet's diff base.\n\n\u003C!-- gate: review.external-dispatch -->\nFor the selected outside reviewer, invoke the named\n[`loom-code:external-review`](..\u002Fexternal-review\u002FSKILL.md) skill. Give it the\ncomplete reviewer packet, including the same lens from `references\u002Flenses.md`\nand the same `agents\u002Freviewer.md` YAML contract used by incumbent reviewers.\nSupply an explicit executor, model, effort and model-provider family. A\nresolver result of `overrides: null` does not select an outside profile;\nchoose and verify a complete pair or report `EXECUTION_FAILED`. Never use\nthe external CLI's default model or effort and never substitute another pair\nafter rejection.\n\nBefore any network-backed discovery, probe or review, give the user the\ncost, vendor-egress, `review_root` working directory, local-execution,\n`filesystem_access_outside_root`, and `filesystem_write_not_guaranteed`\ndisclosures and retain `authorization_source` in the external skill's complete\nJSON consent record. A direct user request naming the outside coding agent\nand an unambiguous active branch authorizes one review without a second yes\u002Fno\ncheckpoint; interpret the full request, including any refusal or correction,\nthen quote it, bind `selected_executor` and `executor` to the final choice,\nshow the disclosures, and record their flags as shown rather than separately\nacknowledged. Immediately before each owner call for outside discovery or\nexecution, re-evaluate the latest user choice across all conversation turns\navailable then. Refresh the final-choice record, or invalidate a stale approved\nrecord after cancellation, replacement, or ambiguity; a clear direct request\nneeds no second confirmation. One execution call runs discovery, preflight,\nand review consecutively. Handle a new user turn received during that call\nbefore the next outside call; material already sent cannot be recalled. The\nworking directory does not confine\nthe CLI's file reads or guarantee it cannot write files. An earlier fixed\nsetting without these disclosures is insufficient; resolve its confirmation\nat the existing intent decision point. If the provider or target is ambiguous,\nor material scope expands beyond the active task, obtain the missing choice\nbefore dispatch. A changed executor or `review_root` requires renewed\nauthorization. Pass the consent record and exact root to the shared\nrunner. A missing or stale record prevents execution. On Codex, run the\ninstalled runner outside the sandbox with narrowly scoped host approval when\nthe selected CLI requires the existing host login; denial is an authorization\nblocker, never a login diagnosis.\n\nContinue in the same active turn after disclosure for a clear direct request,\nthrough discovery, preflight, execution and the owning review's result validation.\nReuse the existing authorization instead of waiting for another user answer.\nKeep the consent record distinct from host execution approval; it does not\ngrant that approval. Carry the original user request, exact review target,\ndestination vendor and minimized packet scope into any required narrowly scoped\nhost execution request through the host's existing request mechanism. Respect\nthe host's decision; consent JSON alone never establishes host approval.\nReport a required second user answer as failed uninterrupted-execution acceptance,\neven when the host requires that answer before execution.\nDo not end the turn at disclosure, ask whether to send the scoped material, or\nmake a second answer a condition of starting. Report an actual host refusal as\nan incomplete review and preserve the refusal instead of attempting a bypass.\nCancellation, ambiguity and material scope expansion still follow the choice\nrules above; this continuation rule grants no additional access or retry.\nThe fresh-authorization retry rule below applies outside this initial execution.\n\nThe shared runner returns execution status, evidence and raw review output;\nit does not judge the review. A failed probe or review is a distinct outside\nfailure and supplies no verdict. On completion, this station validates the\nraw YAML against `agents\u002Freviewer.md`, attributes it to the selected model\nfamily, and accepts only a conforming verdict. One whole-output `yaml` or\n`YAML` fence and nonempty finding text without a Conventional Comments label\nare accepted without changing their content. Every finding still needs a\nnonblank path with a positive line number or nonblank quote; dimension scores\nmust meet their findings' severity, and the overall verdict must agree with\nthe scores and findings. For outside results, a dimension may use an exact\ncanonical score followed by ` — ` and nonblank rationale. Copy the full\ndimension score string into the attributed verdict for comparison with the\nraw YAML; use only the canonical score token for finding severity and\noverall-verdict consistency. The overall verdict remains a bare canonical\ntoken. Blank or ambiguous scores are rejected. Duplicate YAML mapping keys\nat any depth are rejected.\nA transient executor failure or malformed outside output may be retried once\nfor the same digest and reviewer identity, but every repeat outside execution\nis a newly authorized review with a fresh preflight. The earlier consent does\nnot authorize a silent\nretry. For `probe-rapid-refill-breaker` or `review-rapid-refill-breaker`, report\nan incomplete review and inspect private diagnostics before requesting that\nnew authorization. A second outside failure ends the episode as\n`EXECUTION_FAILED`. A rejected explicit model or effort never triggers a\ndefault-model retry.\nThe accepted outside verdict carries the completed runner result to\n`finalize-review`; it checks the raw YAML against the attributed lens,\nverdict, dimension scores, findings and notes, then stores a receipt bound to\nthe unmodified raw-output digest with executor, model, effort, family and\nreviewer identity in the attestation. A vendor label without this receipt is\nnot a completed outside review.\n\u003C!-- \u002Fgate -->\n\n## 3. Run acceptance testing\n\nUse acceptance testing when an Acceptance line cannot be settled mechanically.\nWhen every Acceptance is settled mechanically, omit the independent report\neven for executable, non-narrow changes; this differs from a user skip or\nautomatic narrow simplification. Finalization and publication still require\npassing functional executions and reviews, record the actual tested commit,\nand check any report present. Report absence cannot prove that semantic\ndecision: the station and reviewers must require independent evidence when needed.\nAcceptance testing means dispatching the `loom-code:acceptance-tester` agent\nfresh-context, never an agent that touched any part of the change. It writes\nthe report to `docs\u002Floom\u002F\u003Cchange-id>\u002Facceptance-test-report.md` and detailed\nevidence to `docs\u002Floom\u002F\u003Cchange-id>\u002Fevidence\u002Facceptance-test-evidence.md`.\nThose files, other direct evidence files and `attestation.json` are\npublication metadata under the manifest; executable\nprobe programs remain functional content. Commit the report and its evidence\nbefore `finalize-review`, which records the tested commit from the report's\ncanonical `Tried on ... at \u003Csha>` line and rechecks every applicable evidence\nrule. Publication rechecks those rules against the selected committed tree;\nvalid evidence-only edits keep the functional digest, while missing or invalid\ncoverage, commit identity, intent confirmation or named boundary files fails\nvalidation. Review verdicts persist authoritatively in the change directory's\n`attestation.json` under `verdicts`; the outside-repository review input is\ntemporary input, not a second authoritative record.\nWhen `acceptance-test` is skipped by the user's plain-words\ninstruction, run no acceptance testing.\nWhen `acceptance-test` is skipped and so no report exists, tell the user, in the conversation before Ship,\nevery step skipped by instruction, read from the committed\n`skipped-by-instruction:` lines and described in plain words by what it would\nhave done, not as its record id.\n\nOn every dispatch, tell the acceptance tester whether `package-tests` or\n`finalize-review` is skipped. Also hand it every finding of severity\n`important` or worse that the main agent dismissed. A finding of that\nseverity dismissed after the tester's last dispatch, when Ship comes next, is\nlisted in the pull request's Verification section instead. On a re-dispatch after a\nfix, also pass the earlier report and evidence file paths and the fix's commit range. The\ntester's steps 6-7 govern the suite row and what is re-tested.\n\nClosing review dispatches no adversary and creates no adversarial program.\nBuild commits the adversarial programs, and its hand-off names each program's\npath and command; §5 passes them to `finalize-review`. Do not record a claimed\nresult; finalization executes them. When `adversarial` is skipped by the user's plain-words\ninstruction, Build hands\noff no adversarial program and §5 omits the `adversarial` input.\n\n\u003C!-- gate: review.probe-graduation -->\nA probe program that caught a defect on its own change is carried into the\nsuite that runs on every later change, through a plan task, before §5 runs\n`finalize-review`. That is the deadline, because §5 is what executes the\nprograms and writes the attestation: a program still sitting in the change's\nstore when the attestation is written was never graduated. Graduation is a\nplan task, so the route is back through Build — this station dispatches no\nimplementer and moves no file itself. Re-enter §5 once Build reports the move.\n\nA program of this change that caught none is named as such in the review\nreport and deleted from the repository: a program that never went red is run\ntwice and never again, so it defends nothing against a later regression. The\nadversarial protocol commits a program only when it is red, so this branch\nnever fires on a program that step produced as intended. It is reached in two\ncases and no others: a program carried over from an earlier dispatch whose\ncase a later fix removed, and a program whose observed result Build's hand-off\ndoes not give, which is read as caught nothing. Read which is which from\nBuild's hand-off, which records each program's observed result. Probe programs\ncommitted for earlier changes stay where they are.\n\u003C!-- \u002Fgate -->\n\n## 4. Converge within one bounded episode\n\n\u003C!-- gate: review.bounded-episode -->\nA closing Review episode starts when fresh reviewers first evaluate completed\nfunctional content for the confirmed requirements. Only a substantive requirements\nchange with renewed intent confirmation starts another episode. The main agent\nmust record the changed requirements and affected obligations in retained spec,\nplan and evidence (or intent Constraints when those artifacts are omitted),\ndistinguishing evidence retained as applicable from evidence replaced for the\nnew requirements. Confirmation's byte pin proves the confirmed content, not\nsemantic change. The episode admits at most three distinct\nfunctional-content digests; changing the task, app, branch, reviewer, vendor,\nmodel, or technical design does not reset that limit.\nWording-only reconfirmation must preserve existing review rounds.\nThe main agent must retain the retry count for the same failed task, even after\na substantive requirements change and renewed confirmation. Before treating work\nas a new task, the main agent must record a concrete changed obligation and the\ntask-continuity rationale in those existing artifacts, with checkable evidence\nfor that distinction; a new task name alone changes neither count nor limit.\nA digest is distinct whenever a functional-content file changed since the\ncontent the reviewers last read; publication-only edits do not change it.\n\n- **Round 1 — full review.** Review the cumulative functional content.\n- **Round 2 — fix verification.** Batch fatal and important findings, return to\n  Build, which repeats its end-of-Build mechanical checks, and resume the same\n  reviewers over the functional fix delta.\n- **Round 3 — terminal verification.** Review the final digest once.\n  `NEEDS_REVISION` ends the episode as `NON_CONVERGENT`; never dispatch Round 4.\n\nTreat the episode as stuck when Round 2 still has blockers, the same blocker\nsurvives two consecutive rounds, the blocker count does not decrease after a\nfunctional fix, or the fix repeats the same mechanism shape; stop local\npatching then, and use the next available round only after the technical\ndesign re-look. The agent owns that re-plan when it preserves requirements,\nvisible behavior, and guarantees.\n\nDo not ask the user whether to continue a technical fix or which technical\nrepair to choose. Authorization for a repeat outside execution is separate.\nAsk only when resolving the blocker would change requirements, visible\nbehavior, or guarantees; that change requires a newly confirmed intent rather\nthan another round in this episode.\n\nA malformed response, unavailable executor, or other transient failure before\na conforming verdict exists may retry once against the same functional-content\ndigest. For an outside reviewer, that repeat execution requires a newly\nauthorized review with a fresh preflight; never retry silently. After\n`probe-rapid-refill-breaker` or `review-rapid-refill-breaker`, inspect private\ndiagnostics before requesting authorization. That retry is not a review round.\nA second failed attempt before a conforming verdict ends the episode as\n`EXECUTION_FAILED`.\nTreat a conforming `NEEDS_REVISION` as a successful review assignment that\nconsumes the current review round. Feed back that completed assignment as\nsuccessful conforming work under the shared dispatch profile, then return the\nartifact defects to Build for the next permitted fix round; it consumes no\nfailed-reviewer retry. An execution-boundary result remains excluded and does\nnot automatically become `malformed-response`; classify it from its actual\nfailure evidence under the shared dispatch contract and stop when that contract\npermits no retry. Report every completed host-native execution before any\npermitted retry, retaining its actual count and effective profile.\n\nKeep this episode in the active task context. Do not create a review-round\nledger or committed state schema. Wording-only publication edits do not reopen\n`closing-review`.\n\u003C!-- \u002Fgate -->\n\nBefore any fix begins, the main agent collects every fatal or important\nfinding that the reviewers and independent acceptance testing returned on the\ncontent the reviewers just read, including the committed acceptance test\nreport, into one list. Every fix starts from that\nwhole list. Findings that share a defect class, named in words taken from the\nfindings themselves, go to Build as one hand-off that names every one of their\ninstances; findings of different classes go as separate hand-offs. Every\nhand-off from the list goes to Build in the same fix round, before the\nreviewers resume. A verdict label such as `NEEDS_REVISION` names no class.\n\nBuild scopes each fix to its\ndefect's whole class before an implementer or the main agent makes it, as\nBuild §2 states.\n\nConvergence is where a lesson this branch taught is still cheap to keep.\nWhatever it taught has surfaced by now — through a finding, a probe, or\nacceptance testing — and writing it down after the merge costs a branch and a pull\nrequest for something already known. When this repository has a\n`docs\u002Floom\u002Fmemory\u002F` directory, that is where such a lesson belongs.\n\nA recorded lesson is functional content like anything else committed: it\nchanges the digest, so it must land in a digest the reviewers read, riding\nthe fix round already in flight rather than arriving after the last one. It\nnever justifies exceeding this episode's digests. A lesson that surfaces\nonce they are spent rides the next change's branch as a batched passenger —\nwhich is still not a branch opened only to record something.\n\nAlmost nothing qualifies. Most of what a review surfaces is not a durable\nlesson: a one-off implementation slip belongs in its commit message, a\nverification result in this change's evidence, an unfinished item in an\nintent. Zero to one durable lesson per change is the\nnormal outcome. This passage states the moment and the bar; it invokes\nnothing, requires no plugin to be installed, and asks for no decision from\nthe user.\n\n## 5. Finalize\n\nWrite reviewer output and the adversarial command declarations from Build's\nhand-off to a temporary JSON input outside the repository:\n\n```json\n{\n  \"verdicts\": [\n    {\"reviewer\":\"\u003Cid>\",\"vendor\":\"\u003Cvendor>\",\"model\":\"\u003Cmodel>\",\"lens\":\"code\",\"verdict\":\"PASS\",\"findings\":[]}\n  ],\n  \"findings\": [],\n  \"adversarial\": [\n    {\"command\":\"python3 -m pytest \u003Cpath>\",\"artifact\":\"\u003Cpath>\"}\n  ]\n}\n```\n\nWhen Build's hand-off records that the adversary committed no program, the\n`adversarial` list holds the no-program outcome and its reason, with no program beside it:\n\n```json\n  \"adversarial\": [\n    {\"no_program\":\"\u003Cwhy no program was worth committing>\"}\n  ]\n```\n\n`finalize-review` refuses a reason that is blank, is not on one line, has\nsurrounding whitespace or contains an HTML comment, and a no-program record\nbeside any program.\n\nThe `findings` input carries every unresolved adversarial finding that Build's\nhand-off lists.\n\nCopy each returned `probe_confirmations` entry into that probe's `adversarial` item as\n`\"confirmation\": {\"reviewer\": \"\u003Cid>\", \"reviewed_sha\": \"\u003Csha>\", \"quote\": \"\u003Clines>\"}`.\n`finalize-review` uses a confirmation only for a run whose runner is unlisted\nor whose output it cannot read.\n\nFor a selected outside reviewer, copy its `dimension_scores` and `notes` into\nthe attributed verdict as well as the fields shown above; finalization compares\nthem with the raw YAML.\n\nThen run:\n\n```text\n\"\u003Cloom-code>\u002Fscripts\u002Floom-python\" --repair finalize-review \u003Cchange-id> --input \u003Ctemporary-json>\n```\n\nWhen the required reviewer verdicts and probe evidence are available and §4\npermits finalization, run `finalize-review` in this turn. A progress update\nalone does not complete this step.\n\nThe checker runs the declared package suite and each adversarial program once.\nOnly after all executions and verdicts pass does it atomically generate the\nattestation bound to the functional-content digest. When `finalize-review`\ngenerates a valid attestation, commit the generated file with any remaining\npublication metadata in this turn; publication validates that single\nattestation directly. Once a valid attestation is committed, call\n`loom-code:ship` in this turn unless a stated stop condition applies. A\nprogress report alone does not complete the hand-off.\n\nWhen a step that `finalize-review` needs (reviewers, adversarial, package-tests)\nwas skipped by the user's plain-words instruction, skip `finalize-review` and leave the change unattested: tell the\nuser in one line that the PR will show `verification absent`, and hand the\nchange to Ship.\n\nWhen `finalize-review` refuses only over a reviewer confirmation, and the\nfunctional content is unchanged, obtain a fresh confirmation from the round's\nreviewers and re-run `finalize-review`; that is not a Build round. A\nconfirmation-only refusal is one of these five: the confirmation is missing;\nit is malformed; its reviewer gave no verdict this round; its `reviewed_sha`\nlacks HEAD's functional content; or its quote does not match its own run of\nthe probe.\nWhen `finalize-review` fails for any other cause than these five,\nreturn the fix to Build, which repeats its\nend-of-Build mechanical checks, and the fixed content, a new functional-content\ndigest, must pass the next review round (§4) before `finalize-review` runs\nagain. No technical design re-look precedes that round unless the episode is\nstuck. Earlier verdicts are never reused for the fixed content. When no round\nremains, the fix would need a fourth distinct digest, which §4 forbids, so it\nends the episode as `NON_CONVERGENT`.\n\n## Handoff\n\nReport the reviewers, executed commands, functional digest, and unresolved\nfindings. Also report every finding of severity `important` or worse\ndismissed after the acceptance tester's last dispatch, with its reason. On\nPASS, hand the matching attestation to `loom-code:ship`.\n",{"name":5,"version":23,"description":24},"1.5.0","Run closing review and generate an attestation. Use after Build completes or functional changes invalidate prior review evidence.\n","main","3b1a9972644517911454530dc1876f88525b1f37","loom-code\u002Fskills\u002Fclosing-review","https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins","https:\u002F\u002Fgithub.com\u002Fkouko","2026-11-15 00:45:02",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add kouko\u002Floom-plugins --skill closing-review",{"tool":37,"command":38},"bunx","bunx skills add kouko\u002Floom-plugins --skill closing-review",{"tool":40,"command":41},"pnpm","pnpm dlx skills add kouko\u002Floom-plugins --skill closing-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-code\u002Fskills\u002Fclosing-review\u002FSKILL.md",true,[45,51,55,59,63,67,71],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"README.md","REFERENCE","参考文档",2177,"https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-code\u002Fskills\u002Fclosing-review\u002FREADME.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Facceptance-test-report.md",5492,"https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-code\u002Fskills\u002Fclosing-review\u002Freferences\u002Facceptance-test-report.md",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fadversarial-code.md",1584,"https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-code\u002Fskills\u002Fclosing-review\u002Freferences\u002Fadversarial-code.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fadversarial-skill-gate.md",629,"https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-code\u002Fskills\u002Fclosing-review\u002Freferences\u002Fadversarial-skill-gate.md",{"path":64,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fadversarial-spec.md",463,"https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-code\u002Fskills\u002Fclosing-review\u002Freferences\u002Fadversarial-spec.md",{"path":68,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fadversarial.md",13534,"https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-code\u002Fskills\u002Fclosing-review\u002Freferences\u002Fadversarial.md",{"path":72,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Flenses.md",15431,"https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-code\u002Fskills\u002Fclosing-review\u002Freferences\u002Flenses.md",[76,83,90,97,104,111],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7CQNVD2W5MP7PKX3MD0YSQE","using-loom-workflow","Route broad Loom workflow-tool requests to the right skill. Use when the request spans tools or the right workflow skill is unclear.","https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-workflow\u002Fskills\u002Fusing-loom-workflow\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7CQNNTPVG52CS2C6Q9HJ2E2","skill-retro","Review selected past or current Claude Code or Codex sessions against readable target skill sources and related integration. Produce source-linked proposals without applying changes.","https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-workflow\u002Fskills\u002Fskill-retro\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M7CQNHR1BDKJ63CC4R1RY9GE","recap-state","Give an in-session recap of current progress for 'where were we', '我們剛剛在幹嘛', '剛剛講到哪', '我跟丟了', 'ちょっと振り返って', '今どこだっけ', or '振り返り'. The built-in \u002Frecap is an away-summary.","https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-workflow\u002Fskills\u002Frecap-state\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M7CQNE1A9272WPRE1MM3JRFK","project-retro","Review one current or specified coding session for source-backed project\ndevelopment improvements. Use for a requested retrospective, including\n振り返り seeking improvements; not for current-progress recaps or recurring skill mining.","https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-workflow\u002Fskills\u002Fproject-retro\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":18},"01M7CQNACJB36T0A039HT89P38","loom-visualization","Show comparisons, flows, decisions, states or reasoning chains as tables, ASCII or Mermaid in coding chat, including when a Loom station reports to the user (intent restatement, choices, acceptance test results); not Obsidian notes.","https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-workflow\u002Fskills\u002Floom-visualization\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":18},"01M7CQN7TVS0XF44JXQBWA32Z1","loom-memory","Record repo-wide lessons when saving to your own memory or asked to remember; recall, reconcile, or forget them when a task needs it.","https:\u002F\u002Fgithub.com\u002Fkouko\u002Floom-plugins\u002Fblob\u002Fmain\u002Floom-workflow\u002Fskills\u002Floom-memory\u002FSKILL.md",[],[]]