[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M781S2HR6EX6TWRSQ4EQ8GPR":3,"skill-same:01M781S2HR6EX6TWRSQ4EQ8GPR":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M781S2HR6EX6TWRSQ4EQ8GPR","spec-kitty.review",null,"Review a work package implementation","spec-kitty\u002Fspec-kitty-open-packs","spec-kitty","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F299193673?v=4","01M781PAHK4SK9KA0V4KT7R3XN","Spec Kitty","01M781PAJDDBGZA6R83VQKWW90",2,"MIT","https:\u002F\u002Fgithub.com\u002Fspec-kitty\u002Fspec-kitty-open-packs\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspec-kitty.review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: spec-kitty.review\ndescription: Review a work package implementation\nuser-invocable: true\n---\n## Startup Upgrade Check\n\nRun this at most once per active agent session before the first Spec Kitty command workflow.\nIf you already ran `spec-kitty upgrade --agent-check --json` in this session, reuse that result and skip this block.\nDo not run or announce an upgrade check again for later Spec Kitty commands in the same session.\nOtherwise, before continuing, run:\n\n```bash\nspec-kitty upgrade --agent-check --json\n```\n\nIf JSON `action` is `none`, continue.\nIf `action` is `auto_upgrade`, run `upgrade_command` before continuing. If it fails, tell the user and continue with the current Spec Kitty version.\nIf `action` is `guidance`, show `upgrade_note` briefly, then continue.\nIf `action` is `prompt`, ask the user with the host-native question UI when available:\n\n`Spec Kitty {latest_version} is available. You are on {installed_version}. Upgrade now?`\n\nUse these choices:\n\n1. Upgrade now (recommended) - record `upgrade_now`, run `upgrade_command`, then continue.\n2. Always keep me up to date - record `always`, run `upgrade_command`, then continue.\n3. Not now - record `not_now`, then continue.\n4. Never ask again - record `never_ask`, then continue.\n\nRecord the selected choice before continuing:\n\n```bash\nspec-kitty upgrade --agent-choice \u003Cupgrade_now|always|not_now|never_ask> --agent-latest \u003Clatest_version> --json\n```\n\nIf no host-native question UI is available, present the same four choices in plain text and wait for the user.\nIn non-interactive hosts, choose `not_now` and continue.\n\n\n# \u002Fspec-kitty.review - Review Work Package Implementation\n\n**Version**: 0.12.0+\n\n## Purpose\n\nReview the implementation of a work package against its prompt file, acceptance\ncriteria, and owned-file boundaries. Verify correctness, test coverage, and\ncompliance with any applicable guardrails (e.g., bulk edit occurrence maps).\n\n---\n\n## Working Directory\n\n**IMPORTANT**: This step works inside the execution workspace (worktree)\nallocated by `spec-kitty agent action review WPxx --agent \u003Cname>`. Prefer to stay within\nyour `owned_files` boundaries; any out-of-map change must be small, justified, and carry a\none-line rationale in the commit message.\n\n**One writer per checkout.** Do not edit files in a checkout another actor is implementing in; on\n`single_branch` the repository root checkout has one writer at a time, and `agent action review`\nwarns, naming them, when another actor works there. Review from your own checkout (a lane worktree,\nor a harness-isolated worktree) instead.\n\n**In repos with multiple missions, pass `--mission \u003Chandle>` to every command that accepts `--mission`.** The `\u003Chandle>` can be the mission's `mission_id` (ULID), `mid8` (first 8 chars of the ULID), or `mission_slug`. The resolver disambiguates by `mission_id` and returns a structured `MISSION_AMBIGUOUS_SELECTOR` error on ambiguity — there is no silent fallback.\n\n## User Input\n\nThe content of the user's message that invoked this skill (everything after the skill invocation token, e.g. after `\u002Fspec-kitty.\u003Ccommand>` or `$spec-kitty.\u003Ccommand>`) is the User Input referenced elsewhere in these instructions.\n\nYou **MUST** consider this user input before proceeding (if not empty).\n\n## Governance Payload Contract\n\nThe prompt produced by `spec-kitty agent action review` is guaranteed to carry\nthe following surfaces. Trust the prompt; do not consult external governance\nsources unless explicitly cited by a fetch command + when-doing rule in the\nprompt.\n\n**Guaranteed bodies** (verbatim in the prompt when under the token budget; the\nresolver substitutes a `spec-kitty charter context --include section:\u003Cslug>`\nfetch + when-doing stanza only when the budget would otherwise be exceeded):\n\n- **Terminology Canon** — from `.kittify\u002Fcharter\u002Fcharter.md` — governs the\n  identifiers and term usage you assess in the diff.\n- **Code Review Checklist** — from `.kittify\u002Fcharter\u002Fcharter.md` — your\n  primary gate set when judging the WP.\n- **Regression Vigilance** — from `.kittify\u002Fcharter\u002Fcharter.md` — the\n  project's explicit drift guard; apply when the diff renames or introduces\n  identifier-bearing terms.\n- Any additional action-critical sections the mission declares are appended\n  automatically.\n\n**Guaranteed citations** (catalog IDs always present in the prompt when the\nWP frontmatter selects a reviewer `agent_profile`):\n\n- Every `DIRECTIVE_NNN` declared in the loaded reviewer profile's\n  `directive-references` list (for example, `reviewer-renata` cites\n  `DIRECTIVE_032` — Conceptual Alignment).\n- Every tactic-id declared in the loaded reviewer profile's\n  `tactic-references` list (for example, `reviewer-renata` cites the\n  `language-driven-design` tactic).\n\nWhen you assess a WP that renames identifiers or terms, the prompt cites\nDIRECTIVE_032 (Conceptual Alignment) by ID; consult its rule body inline or\nvia the paired fetch command and apply.\n\n**Guaranteed authority pointers** (path + when-doing conditional):\n\n- `docs\u002Fcontext\u002F` — canonical terminology. Consult when the diff\n  introduces or renames a domain term.\n- `docs\u002Fadr\u002F3.x\u002F` — architectural intent. Consult when the diff\n  changes a structural boundary (package layout, public API surface,\n  dependency edges).\n- Any additional paths declared in the charter's `authority_paths:` block are\n  emitted alongside these defaults.\n\n**Fetch commands** (the prompt may substitute these for bodies that exceed the\ntoken budget; whenever a fetch command appears, the accompanying\n\"When you \u003Cverb>, run this and apply\" line specifies the trigger):\n\n- `spec-kitty charter context --include directive:DIRECTIVE_NNN`\n- `spec-kitty charter context --include tactic:\u003Cid>`\n- `spec-kitty charter context --include section:\u003Cslug>`\n\n## Review Steps\n\n### 1. Setup\n\nRun:\n\n```bash\nspec-kitty agent context resolve --action review --mission \u003Chandle> --json\n```\n\nThen execute the returned `check_prerequisites` command and capture\n`mission_dir`. All paths must be absolute.\n\nThe output of `spec-kitty agent action review ...` is the authoritative work\npackage prompt and review context. Do **not** separately call\n`spec-kitty charter context` or go hunting for alternate prompt files unless\nthe command output tells you to. The **Governance Payload Contract** section\nabove documents what the prompt is guaranteed to carry.\n\n### 2. Load Work Package Prompt\n\nRead the WP prompt file from `mission_dir\u002Ftasks\u002FWPxx-slug.md`.\nParse frontmatter for:\n- `owned_files` -- the expected modification surface; out-of-map edits are acceptable when small and accompanied by a one-line rationale\n- `authoritative_surface` -- primary directory for this WP\n- `execution_mode` -- `code_change` or `planning_artifact`\n- `subtasks` -- ordered list of subtask IDs\n- `dependencies` -- WPs that must be done first\n\n### 2a. Load Agent Profile\n\nBefore proceeding with the review, load the agent profile from the WP frontmatter\nusing the `\u002Fspk-charter-profile-load` skill (or `spec-kitty agent profile list` to browse\navailable profiles). Apply the profile's reviewer guidance and self-review gates for\nthe rest of this review session.\n\nThe WP frontmatter should already have `agent_profile` set to a reviewer profile\n(e.g., `reviewer-renata`) by the implementing agent before it moved the WP to\n`for_review`. If `agent_profile` is still set to an implementer profile, load the\nimplementer profile anyway and note the oversight in your review comments.\n\n\n### REASONS Canvas Comparison (active for this project)\n\nThis project's active charter includes the SPDD\u002FREASONS artifacts. Use the\nmission's REASONS canvas as a comparison surface for this work package.\n\n**1. Load the canvas.** Read `kitty-specs\u002F\u003Cmission>\u002Freasons-canvas.md`. If it\nis missing, invoke the `spk-charter-spdd-reasons` skill to author it before\ncompleting review. Do not auto-approve in the absence of a canvas.\n\n**2. Trace the diff.**\n\n- For each Requirement and Operation in the canvas, find concrete evidence in\n  the diff or note its absence.\n- Detect entities, files, or surfaces touched by the diff that do not appear\n  in canvas Structure or Approach.\n- Verify Norms (testing, observability, style) and Safeguards (hard\n  constraints, security, performance limits, things not to break).\n\n**3. Classify the divergence.** Choose ONE outcome:\n\n| Outcome | When | Action |\n|---|---|---|\n| approved | No divergence OR all divergences match Deviations entries. | APPROVE |\n| approved_with_deviation | Divergence is acceptable; reviewer adds a Deviations entry. | APPROVE + canvas update |\n| canvas_update_needed | Code reality reveals the canvas was wrong. | APPROVE conditionally; open canvas update task |\n| glossary_update_needed | Term drift surfaced. | APPROVE conditionally; open glossary update task |\n| charter_follow_up | The active charter should change. | APPROVE conditionally; open charter follow-up |\n| follow_up_mission | Out-of-scope work surfaced. | APPROVE current scope; open follow-up mission |\n| scope_drift_block | Out-of-bounds undocumented work. | REJECT |\n| safeguard_violation_block | Safeguard rule violated. | REJECT |\n\n**4. Charter precedence.** If a charter directive conflicts with the canvas,\nfollow the directive and add a deviation note to the canvas.\n\n**5. Record the outcome.** Reviewer should explicitly name the chosen outcome\nin the review summary so downstream automation can route the WP correctly.\n\n\n### 3. Verify Implementation\n\nFor each subtask:\n1. Confirm the subtask has been implemented as specified\n2. Check that tests exist and pass (for code_change subtasks)\n3. Verify any files modified outside `owned_files` are small, justified, and carry a one-line rationale (do not reject a well-justified, rationale-logged crossing)\n\n### 3a. Supply-Chain Security Evidence Check (dependency changes)\n\nIf the diff adds, upgrades, or removes a dependency (any ecosystem), verify the implementer's evidence trail against `DIRECTIVE_051` and the `supply-chain-install-safety` tactic — this mirrors the `supply_chain_security_review` step already present in the `review` step contract:\n\n- A result for every control DIRECTIVE_051 names is documented, not assumed or waved through.\n- Any adversarial-squad or reviewer challenge to a supply-chain finding has an explicit disposition, per the `adversarial-squad-deployment` procedure's findings-disposition contract (load it with `spec-kitty charter context --include procedure:adversarial-squad-deployment`), traceable to an evidence location. Do not approve a WP that silently drops a contested finding.\n- This check is advisory in v1 (it does not add a new fail-closed transition gate — the `in_progress->for_review` gate above is unchanged), but missing or unexamined evidence for a dependency change is a review gap to call out, not something to wave through because the mission is otherwise advisory.\n\n### 4. Check Quality\n\n- All tests pass\n- Code follows project conventions (run linter if configured)\n- No unintended side effects or regressions\n- Changes are well-documented where appropriate\n- [ ] **Error-path reachability (deletion test)**: For each test that validates\n  an error path, verify the test would fail if the implementation fix were\n  deleted. A test that validates only the *structure* of an exception handler\n  (e.g., that a `try\u002Fexcept` exists) without exercising the real dependency is\n  insufficient. Apply the deletion test: temporarily delete the implementation\n  change, run the test, confirm it fails. If it does not fail, the error path\n  is untested — the test validates structure, not behaviour. Restore the fix\n  before proceeding.\n\n### 4a. Anti-pattern Checklist (WP-Level Cheap Version of Mission-Review)\n\nFor each item below, state PASS \u002F FAIL \u002F N\u002FA in your verdict. A FAIL on any\nitem blocks approval.\n\n1. **Dead code**: every new public function, class, or module created by this\n   WP has at least one live caller from production code, excluding tests. For\n   each new module, run targeted import\u002Fcall-site greps, for example\n   `grep -r -e \"from \u003Cnew_module> import\" -e \"import \u003Cnew_module>\" src\u002F --include=\"*.\u003Cext>\"`.\n   Zero production hits means dead code.\n2. **Synthetic-fixture test**: every test marked as covering an FR listed in\n   this WP's frontmatter actually invokes the production code path that would\n   produce the asserted shape. A test that constructs a literal dict matching\n   the assertion is a synthetic fixture. Ask: if I delete the implementation\n   code, does this test still pass? If yes, the FR is untested.\n3. **Silent empty return**: search every new code path for `except ...:\n   return \"\"`, `return None`, `return []`, `return {}`, or `pass`. Each hit\n   must have a documented reason; absent that, it is a silent failure\n   candidate.\n4. **FR coverage**: every functional requirement in `requirement_refs`\n   (`FR-###`, including a letter-suffixed `FR-###a`) has at least one test\n   assertion that references the behavior it names, not just a comment or\n   frontmatter entry. `SC-###` refs are tracked, not gated, and a\n   `\u003Cmission-slug>#\u003CID>` ref cites another mission, so neither needs a test\n   here.\n5. **Frozen surface**: no commit in this WP modifies a file the spec,\n   contract, or WP prompt marks as frozen or untouchable. For each frozen file,\n   `git log --oneline \u003Cbase>..HEAD -- \u003Cfrozen-file>` must be empty.\n6. **Locked decision**: no new code path contradicts a `MUST NOT` clause in\n   `spec.md`, `plan.md`, or `contracts\u002F`. Grep the diff for forbidden patterns\n   named by those clauses.\n7. **Shared-file ownership**: any file modified by this WP that is also\n   modified by another WP, visible in `lanes.json`, shared lane metadata, or\n   the same mission merge, has an explicit coordination note in the move-task\n   reason or review feedback.\n8. **Production fragility**: any new `raise` in a production code path has a\n   documented fail-loud rationale. A bare `raise` in a request handler, worker,\n   or CLI path that can fire on a transient race is a fragility risk.\n\n### 4b. Criterion Non-Vacuity Check\n\nLoad `spec-kitty charter context --include tactic:acceptance-criteria-non-vacuity`\nand apply its three rules. State PASS \u002F FAIL \u002F N\u002FA for each:\n\n1. **Same-fixture positive control**: every refusal\u002Fabsence assertion in this\n   WP's tests is paired with a companion assertion, on the same fixture, that\n   proves the probe can observe the thing it says is missing.\n2. **Half-by-half proof for compound fixes**: for any fix made of several\n   independent changes, reverting each part in turn turns a test red; no part\n   is unexercised.\n3. **Production-path non-vacuity**: non-vacuity tests call the production\n   entry point (the CLI command, the public function actually invoked), not\n   only a helper.\n\nAdditionally: every FR row in this WP's `requirement_refs` marked *no-op\npassable? yes* names a control that exists in the diff.\n\n---\n\n## Bulk Edit Compliance (if applicable)\n\nIf this mission has `change_mode: bulk_edit` in `meta.json`:\n\n1. **Verify occurrence map exists**: `occurrence_map.yaml` must be present in the mission directory\n2. **Reference during review**: The occurrence map is the governing artifact for this bulk edit\n3. **Check category compliance**:\n   - Verify changes respect `do_not_change` categories — reject if these were modified\n   - Verify `manual_review` categories have documented justification\n   - Flag any changed files that fall outside classified categories\n4. **Check exceptions**: Verify exception files\u002Fpatterns were not modified\n5. **If occurrence map is missing**: Reject the review — bulk edit missions require classification\n\nThe system enforces map existence automatically, but as a reviewer you should verify\nthat the *substance* of the changes aligns with the classification, not just that the\nfile exists.\n\n---\n\n## Output\n\nAfter completing review:\n- Approve or reject each subtask with clear reasoning\n- If rejecting, provide specific feedback on what needs to change\n- Commit any review notes or annotations\n\n### On Approval\n\nMove the WP forward:\n```bash\nspec-kitty agent tasks move-task WPxx --to approved --actor \u003Cname> --mission \u003Chandle> --note \"Review passed\"\n```\n\n### On Rejection\n\nBefore rejecting, update `agent_profile` in the WP frontmatter back to the\nimplementer profile so the next implementation cycle starts with the right context:\n\n1. Identify the implementer profile that worked on this WP (check the history field\n   or `status.events.jsonl` to find the last `in_progress` actor).\n   Alternatively, use the default: `implementer-ivan` (or `python-pedro`\u002F`java-jenny`\n   for language-specific work).\n\n2. Update the WP frontmatter:\n   ```yaml\n   agent_profile: \"implementer-ivan\"\n   role: \"implementer\"\n   ```\n\n3. Write your review feedback to a file, then commit the updated frontmatter together\n   with your review notes **before** running:\n   ```bash\n   spec-kitty agent tasks move-task WPxx --to in_progress --actor \u003Cname> --mission \u003Chandle> \\\n     --review-feedback-file \u003Cfeedback.md>\n   ```\n   A rejection should carry its rationale (`--review-feedback-file`); record it\n   before moving the WP back (see `move-task --help`).\n\nThe implementing agent will then load the correct profile via `\u002Fspk-charter-profile-load`\nand resume work with the proper agent profile and self-review gates.\n\n**Next step**: `spec-kitty next --agent \u003Cname> --mission \u003Chandle>` will advance to the next phase.\n","## Startup Upgrade Check\n\nRun this at most once per active agent session before the first Spec Kitty command workflow.\nIf you already ran `spec-kitty upgrade --agent-check --json` in this session, reuse that result and skip this block.\nDo not run or announce an upgrade check again for later Spec Kitty commands in the same session.\nOtherwise, before continuing, run:\n\n```bash\nspec-kitty upgrade --agent-check --json\n```\n\nIf JSON `action` is `none`, continue.\nIf `action` is `auto_upgrade`, run `upgrade_command` before continuing. If it fails, tell the user and continue with the current Spec Kitty version.\nIf `action` is `guidance`, show `upgrade_note` briefly, then continue.\nIf `action` is `prompt`, ask the user with the host-native question UI when available:\n\n`Spec Kitty {latest_version} is available. You are on {installed_version}. Upgrade now?`\n\nUse these choices:\n\n1. Upgrade now (recommended) - record `upgrade_now`, run `upgrade_command`, then continue.\n2. Always keep me up to date - record `always`, run `upgrade_command`, then continue.\n3. Not now - record `not_now`, then continue.\n4. Never ask again - record `never_ask`, then continue.\n\nRecord the selected choice before continuing:\n\n```bash\nspec-kitty upgrade --agent-choice \u003Cupgrade_now|always|not_now|never_ask> --agent-latest \u003Clatest_version> --json\n```\n\nIf no host-native question UI is available, present the same four choices in plain text and wait for the user.\nIn non-interactive hosts, choose `not_now` and continue.\n\n\n# \u002Fspec-kitty.review - Review Work Package Implementation\n\n**Version**: 0.12.0+\n\n## Purpose\n\nReview the implementation of a work package against its prompt file, acceptance\ncriteria, and owned-file boundaries. Verify correctness, test coverage, and\ncompliance with any applicable guardrails (e.g., bulk edit occurrence maps).\n\n---\n\n## Working Directory\n\n**IMPORTANT**: This step works inside the execution workspace (worktree)\nallocated by `spec-kitty agent action review WPxx --agent \u003Cname>`. Prefer to stay within\nyour `owned_files` boundaries; any out-of-map change must be small, justified, and carry a\none-line rationale in the commit message.\n\n**One writer per checkout.** Do not edit files in a checkout another actor is implementing in; on\n`single_branch` the repository root checkout has one writer at a time, and `agent action review`\nwarns, naming them, when another actor works there. Review from your own checkout (a lane worktree,\nor a harness-isolated worktree) instead.\n\n**In repos with multiple missions, pass `--mission \u003Chandle>` to every command that accepts `--mission`.** The `\u003Chandle>` can be the mission's `mission_id` (ULID), `mid8` (first 8 chars of the ULID), or `mission_slug`. The resolver disambiguates by `mission_id` and returns a structured `MISSION_AMBIGUOUS_SELECTOR` error on ambiguity — there is no silent fallback.\n\n## User Input\n\nThe content of the user's message that invoked this skill (everything after the skill invocation token, e.g. after `\u002Fspec-kitty.\u003Ccommand>` or `$spec-kitty.\u003Ccommand>`) is the User Input referenced elsewhere in these instructions.\n\nYou **MUST** consider this user input before proceeding (if not empty).\n\n## Governance Payload Contract\n\nThe prompt produced by `spec-kitty agent action review` is guaranteed to carry\nthe following surfaces. Trust the prompt; do not consult external governance\nsources unless explicitly cited by a fetch command + when-doing rule in the\nprompt.\n\n**Guaranteed bodies** (verbatim in the prompt when under the token budget; the\nresolver substitutes a `spec-kitty charter context --include section:\u003Cslug>`\nfetch + when-doing stanza only when the budget would otherwise be exceeded):\n\n- **Terminology Canon** — from `.kittify\u002Fcharter\u002Fcharter.md` — governs the\n  identifiers and term usage you assess in the diff.\n- **Code Review Checklist** — from `.kittify\u002Fcharter\u002Fcharter.md` — your\n  primary gate set when judging the WP.\n- **Regression Vigilance** — from `.kittify\u002Fcharter\u002Fcharter.md` — the\n  project's explicit drift guard; apply when the diff renames or introduces\n  identifier-bearing terms.\n- Any additional action-critical sections the mission declares are appended\n  automatically.\n\n**Guaranteed citations** (catalog IDs always present in the prompt when the\nWP frontmatter selects a reviewer `agent_profile`):\n\n- Every `DIRECTIVE_NNN` declared in the loaded reviewer profile's\n  `directive-references` list (for example, `reviewer-renata` cites\n  `DIRECTIVE_032` — Conceptual Alignment).\n- Every tactic-id declared in the loaded reviewer profile's\n  `tactic-references` list (for example, `reviewer-renata` cites the\n  `language-driven-design` tactic).\n\nWhen you assess a WP that renames identifiers or terms, the prompt cites\nDIRECTIVE_032 (Conceptual Alignment) by ID; consult its rule body inline or\nvia the paired fetch command and apply.\n\n**Guaranteed authority pointers** (path + when-doing conditional):\n\n- `docs\u002Fcontext\u002F` — canonical terminology. Consult when the diff\n  introduces or renames a domain term.\n- `docs\u002Fadr\u002F3.x\u002F` — architectural intent. Consult when the diff\n  changes a structural boundary (package layout, public API surface,\n  dependency edges).\n- Any additional paths declared in the charter's `authority_paths:` block are\n  emitted alongside these defaults.\n\n**Fetch commands** (the prompt may substitute these for bodies that exceed the\ntoken budget; whenever a fetch command appears, the accompanying\n\"When you \u003Cverb>, run this and apply\" line specifies the trigger):\n\n- `spec-kitty charter context --include directive:DIRECTIVE_NNN`\n- `spec-kitty charter context --include tactic:\u003Cid>`\n- `spec-kitty charter context --include section:\u003Cslug>`\n\n## Review Steps\n\n### 1. Setup\n\nRun:\n\n```bash\nspec-kitty agent context resolve --action review --mission \u003Chandle> --json\n```\n\nThen execute the returned `check_prerequisites` command and capture\n`mission_dir`. All paths must be absolute.\n\nThe output of `spec-kitty agent action review ...` is the authoritative work\npackage prompt and review context. Do **not** separately call\n`spec-kitty charter context` or go hunting for alternate prompt files unless\nthe command output tells you to. The **Governance Payload Contract** section\nabove documents what the prompt is guaranteed to carry.\n\n### 2. Load Work Package Prompt\n\nRead the WP prompt file from `mission_dir\u002Ftasks\u002FWPxx-slug.md`.\nParse frontmatter for:\n- `owned_files` -- the expected modification surface; out-of-map edits are acceptable when small and accompanied by a one-line rationale\n- `authoritative_surface` -- primary directory for this WP\n- `execution_mode` -- `code_change` or `planning_artifact`\n- `subtasks` -- ordered list of subtask IDs\n- `dependencies` -- WPs that must be done first\n\n### 2a. Load Agent Profile\n\nBefore proceeding with the review, load the agent profile from the WP frontmatter\nusing the `\u002Fspk-charter-profile-load` skill (or `spec-kitty agent profile list` to browse\navailable profiles). Apply the profile's reviewer guidance and self-review gates for\nthe rest of this review session.\n\nThe WP frontmatter should already have `agent_profile` set to a reviewer profile\n(e.g., `reviewer-renata`) by the implementing agent before it moved the WP to\n`for_review`. If `agent_profile` is still set to an implementer profile, load the\nimplementer profile anyway and note the oversight in your review comments.\n\n\n### REASONS Canvas Comparison (active for this project)\n\nThis project's active charter includes the SPDD\u002FREASONS artifacts. Use the\nmission's REASONS canvas as a comparison surface for this work package.\n\n**1. Load the canvas.** Read `kitty-specs\u002F\u003Cmission>\u002Freasons-canvas.md`. If it\nis missing, invoke the `spk-charter-spdd-reasons` skill to author it before\ncompleting review. Do not auto-approve in the absence of a canvas.\n\n**2. Trace the diff.**\n\n- For each Requirement and Operation in the canvas, find concrete evidence in\n  the diff or note its absence.\n- Detect entities, files, or surfaces touched by the diff that do not appear\n  in canvas Structure or Approach.\n- Verify Norms (testing, observability, style) and Safeguards (hard\n  constraints, security, performance limits, things not to break).\n\n**3. Classify the divergence.** Choose ONE outcome:\n\n| Outcome | When | Action |\n|---|---|---|\n| approved | No divergence OR all divergences match Deviations entries. | APPROVE |\n| approved_with_deviation | Divergence is acceptable; reviewer adds a Deviations entry. | APPROVE + canvas update |\n| canvas_update_needed | Code reality reveals the canvas was wrong. | APPROVE conditionally; open canvas update task |\n| glossary_update_needed | Term drift surfaced. | APPROVE conditionally; open glossary update task |\n| charter_follow_up | The active charter should change. | APPROVE conditionally; open charter follow-up |\n| follow_up_mission | Out-of-scope work surfaced. | APPROVE current scope; open follow-up mission |\n| scope_drift_block | Out-of-bounds undocumented work. | REJECT |\n| safeguard_violation_block | Safeguard rule violated. | REJECT |\n\n**4. Charter precedence.** If a charter directive conflicts with the canvas,\nfollow the directive and add a deviation note to the canvas.\n\n**5. Record the outcome.** Reviewer should explicitly name the chosen outcome\nin the review summary so downstream automation can route the WP correctly.\n\n\n### 3. Verify Implementation\n\nFor each subtask:\n1. Confirm the subtask has been implemented as specified\n2. Check that tests exist and pass (for code_change subtasks)\n3. Verify any files modified outside `owned_files` are small, justified, and carry a one-line rationale (do not reject a well-justified, rationale-logged crossing)\n\n### 3a. Supply-Chain Security Evidence Check (dependency changes)\n\nIf the diff adds, upgrades, or removes a dependency (any ecosystem), verify the implementer's evidence trail against `DIRECTIVE_051` and the `supply-chain-install-safety` tactic — this mirrors the `supply_chain_security_review` step already present in the `review` step contract:\n\n- A result for every control DIRECTIVE_051 names is documented, not assumed or waved through.\n- Any adversarial-squad or reviewer challenge to a supply-chain finding has an explicit disposition, per the `adversarial-squad-deployment` procedure's findings-disposition contract (load it with `spec-kitty charter context --include procedure:adversarial-squad-deployment`), traceable to an evidence location. Do not approve a WP that silently drops a contested finding.\n- This check is advisory in v1 (it does not add a new fail-closed transition gate — the `in_progress->for_review` gate above is unchanged), but missing or unexamined evidence for a dependency change is a review gap to call out, not something to wave through because the mission is otherwise advisory.\n\n### 4. Check Quality\n\n- All tests pass\n- Code follows project conventions (run linter if configured)\n- No unintended side effects or regressions\n- Changes are well-documented where appropriate\n- [ ] **Error-path reachability (deletion test)**: For each test that validates\n  an error path, verify the test would fail if the implementation fix were\n  deleted. A test that validates only the *structure* of an exception handler\n  (e.g., that a `try\u002Fexcept` exists) without exercising the real dependency is\n  insufficient. Apply the deletion test: temporarily delete the implementation\n  change, run the test, confirm it fails. If it does not fail, the error path\n  is untested — the test validates structure, not behaviour. Restore the fix\n  before proceeding.\n\n### 4a. Anti-pattern Checklist (WP-Level Cheap Version of Mission-Review)\n\nFor each item below, state PASS \u002F FAIL \u002F N\u002FA in your verdict. A FAIL on any\nitem blocks approval.\n\n1. **Dead code**: every new public function, class, or module created by this\n   WP has at least one live caller from production code, excluding tests. For\n   each new module, run targeted import\u002Fcall-site greps, for example\n   `grep -r -e \"from \u003Cnew_module> import\" -e \"import \u003Cnew_module>\" src\u002F --include=\"*.\u003Cext>\"`.\n   Zero production hits means dead code.\n2. **Synthetic-fixture test**: every test marked as covering an FR listed in\n   this WP's frontmatter actually invokes the production code path that would\n   produce the asserted shape. A test that constructs a literal dict matching\n   the assertion is a synthetic fixture. Ask: if I delete the implementation\n   code, does this test still pass? If yes, the FR is untested.\n3. **Silent empty return**: search every new code path for `except ...:\n   return \"\"`, `return None`, `return []`, `return {}`, or `pass`. Each hit\n   must have a documented reason; absent that, it is a silent failure\n   candidate.\n4. **FR coverage**: every functional requirement in `requirement_refs`\n   (`FR-###`, including a letter-suffixed `FR-###a`) has at least one test\n   assertion that references the behavior it names, not just a comment or\n   frontmatter entry. `SC-###` refs are tracked, not gated, and a\n   `\u003Cmission-slug>#\u003CID>` ref cites another mission, so neither needs a test\n   here.\n5. **Frozen surface**: no commit in this WP modifies a file the spec,\n   contract, or WP prompt marks as frozen or untouchable. For each frozen file,\n   `git log --oneline \u003Cbase>..HEAD -- \u003Cfrozen-file>` must be empty.\n6. **Locked decision**: no new code path contradicts a `MUST NOT` clause in\n   `spec.md`, `plan.md`, or `contracts\u002F`. Grep the diff for forbidden patterns\n   named by those clauses.\n7. **Shared-file ownership**: any file modified by this WP that is also\n   modified by another WP, visible in `lanes.json`, shared lane metadata, or\n   the same mission merge, has an explicit coordination note in the move-task\n   reason or review feedback.\n8. **Production fragility**: any new `raise` in a production code path has a\n   documented fail-loud rationale. A bare `raise` in a request handler, worker,\n   or CLI path that can fire on a transient race is a fragility risk.\n\n### 4b. Criterion Non-Vacuity Check\n\nLoad `spec-kitty charter context --include tactic:acceptance-criteria-non-vacuity`\nand apply its three rules. State PASS \u002F FAIL \u002F N\u002FA for each:\n\n1. **Same-fixture positive control**: every refusal\u002Fabsence assertion in this\n   WP's tests is paired with a companion assertion, on the same fixture, that\n   proves the probe can observe the thing it says is missing.\n2. **Half-by-half proof for compound fixes**: for any fix made of several\n   independent changes, reverting each part in turn turns a test red; no part\n   is unexercised.\n3. **Production-path non-vacuity**: non-vacuity tests call the production\n   entry point (the CLI command, the public function actually invoked), not\n   only a helper.\n\nAdditionally: every FR row in this WP's `requirement_refs` marked *no-op\npassable? yes* names a control that exists in the diff.\n\n---\n\n## Bulk Edit Compliance (if applicable)\n\nIf this mission has `change_mode: bulk_edit` in `meta.json`:\n\n1. **Verify occurrence map exists**: `occurrence_map.yaml` must be present in the mission directory\n2. **Reference during review**: The occurrence map is the governing artifact for this bulk edit\n3. **Check category compliance**:\n   - Verify changes respect `do_not_change` categories — reject if these were modified\n   - Verify `manual_review` categories have documented justification\n   - Flag any changed files that fall outside classified categories\n4. **Check exceptions**: Verify exception files\u002Fpatterns were not modified\n5. **If occurrence map is missing**: Reject the review — bulk edit missions require classification\n\nThe system enforces map existence automatically, but as a reviewer you should verify\nthat the *substance* of the changes aligns with the classification, not just that the\nfile exists.\n\n---\n\n## Output\n\nAfter completing review:\n- Approve or reject each subtask with clear reasoning\n- If rejecting, provide specific feedback on what needs to change\n- Commit any review notes or annotations\n\n### On Approval\n\nMove the WP forward:\n```bash\nspec-kitty agent tasks move-task WPxx --to approved --actor \u003Cname> --mission \u003Chandle> --note \"Review passed\"\n```\n\n### On Rejection\n\nBefore rejecting, update `agent_profile` in the WP frontmatter back to the\nimplementer profile so the next implementation cycle starts with the right context:\n\n1. Identify the implementer profile that worked on this WP (check the history field\n   or `status.events.jsonl` to find the last `in_progress` actor).\n   Alternatively, use the default: `implementer-ivan` (or `python-pedro`\u002F`java-jenny`\n   for language-specific work).\n\n2. Update the WP frontmatter:\n   ```yaml\n   agent_profile: \"implementer-ivan\"\n   role: \"implementer\"\n   ```\n\n3. Write your review feedback to a file, then commit the updated frontmatter together\n   with your review notes **before** running:\n   ```bash\n   spec-kitty agent tasks move-task WPxx --to in_progress --actor \u003Cname> --mission \u003Chandle> \\\n     --review-feedback-file \u003Cfeedback.md>\n   ```\n   A rejection should carry its rationale (`--review-feedback-file`); record it\n   before moving the WP back (see `move-task --help`).\n\nThe implementing agent will then load the correct profile via `\u002Fspk-charter-profile-load`\nand resume work with the proper agent profile and self-review gates.\n\n**Next step**: `spec-kitty next --agent \u003Cname> --mission \u003Chandle>` will advance to the next phase.\n",{"name":5,"description":7,"user-invocable":24},true,"main","ab710df6d6db292abd3d1288d20f338eef0ee475",".agents\u002Fskills\u002Fspec-kitty.review",0,"https:\u002F\u002Fgithub.com\u002Fspec-kitty\u002Fspec-kitty-open-packs","https:\u002F\u002Fgithub.com\u002Fspec-kitty","https:\u002F\u002Fspec-kitty.ai","2026-11-15 03:23:45",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":24},[35,38,41],{"tool":36,"command":37},"npx","npx skills add spec-kitty\u002Fspec-kitty-open-packs --skill spec-kitty.review",{"tool":39,"command":40},"bunx","bunx skills add spec-kitty\u002Fspec-kitty-open-packs --skill spec-kitty.review",{"tool":42,"command":43},"pnpm","pnpm dlx skills add spec-kitty\u002Fspec-kitty-open-packs --skill spec-kitty.review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fspec-kitty\u002Fspec-kitty-open-packs\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspec-kitty.review\u002FSKILL.md",[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M781XGMZZ1J569VFF53BFFRX","kitty-semi-auto","Use to take a tracker issue or a coherent issue-set through a governed delivery run that works autonomously but pauses to escalate the operator's decisions. Runs BOTH ways — in this session (local) or handed to a fresh cloud runner (cloud) — from one set of standing orders covering orientation, code grounding first, Mission-vs-Ops, the pause-and-escalate contract, brownfield discipline, and the canonical closeout to a draft PR the operator merges. Triggers: semi-auto, semi-auto dispatch, run this semi-automatically, deliver these issues semi-auto, hand this to a cloud runner, dispatch semi-auto.","https:\u002F\u002Fgithub.com\u002Fspec-kitty\u002Fspec-kitty-open-packs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fkitty-semi-auto\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M781XCN71TH0P1AMK99MZ042","kitty-report-debrief","Use when a maintainer asks what happened or what is open (\"what landed since Friday\", \"WTF happened with X\", a milestone overview). Collects the facts from GitHub, writes a short branded debrief for named readers, and hands the PDF back without committing it. Triggers: what landed since, WTF happened, debrief the weekend, milestone overview, exec overview of open issues, write up what shipped.","https:\u002F\u002Fgithub.com\u002Fspec-kitty\u002Fspec-kitty-open-packs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fkitty-report-debrief\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M781X8MDSBSEFP7HDM65A89G","kitty-mission-from-issue","Use to take one or more GitHub issues through a full governed Mission (spec, plan, tasks, implementation, review) to a green pull request flipped to ready for review, which a maintainer then merges. Triggers: mission from issue, run a mission for this issue, drive issue to PR.","https:\u002F\u002Fgithub.com\u002Fspec-kitty\u002Fspec-kitty-open-packs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fkitty-mission-from-issue\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M781X574X27Q630CBWXEWMBC","kitty-land-pr","Use when a ready-for-review pull request needs a maintainer to get it ready to merge. Rebases it, fixes and reviews it, updates its description, changelog and docs, and hands it back without merging by hand. Triggers: land this PR, landing pass, land PR.","https:\u002F\u002Fgithub.com\u002Fspec-kitty\u002Fspec-kitty-open-packs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fkitty-land-pr\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M781X0KW55NB6G0P5FKGFEX0","kitty-issue-triage","Use to triage a batch of open GitHub issues on spec-kitty\u002Fspec-kitty (default, those opened in the last 7 days). Sets type, priority, domain, parent and milestone, and reports stale, duplicate or clustered issues for an operator decision. Triggers: triage issues, triage the tracker, triage new issues.","https:\u002F\u002Fgithub.com\u002Fspec-kitty\u002Fspec-kitty-open-packs\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fkitty-issue-triage\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M781WXTC0ACEC78PVXKB22YH","spk-team-tracker","https:\u002F\u002Fgithub.com\u002Fspec-kitty\u002Fspec-kitty-open-packs\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspk-team-tracker\u002FSKILL.md",[],[]]