{
  "name": "9thDuck/claude-apcc — 6 hooks",
  "slug": "source-hooks-bda215f684e81d7745be211c",
  "type": "hooks",
  "category": "developer-tools",
  "example": false,
  "evidence_state": "pinned_source_listing",
  "stamp": "Pinned source listing — machine-checked",
  "summary": "Pinned source declarations and file hashes were listed.",
  "outcome": "Listed 6 hook declarations. Ran 39 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection.",
  "rule_results": [
    "The retained source tree matches its acquisition manifest.",
    "Declared hook names (listing.json): UserPromptSubmit; PostToolUse; Stop; PreCompact; SessionStart; PreToolUse"
  ],
  "task": "What declarations and files are present in this pinned source?",
  "setup": "Git blob acquisition followed by static source inspection.",
  "limitations": "Scope: acquisition and static inspection. Command results: commands.json.",
  "source_url": "https://github.com/9thDuck/claude-apcc",
  "documentation_url": "https://github.com/9thDuck/claude-apcc",
  "commit": "5768440ef759a3564ae781c80e0d523afd3aa9a1",
  "tree_sha256": "0ea1eefcd1a937aa1d690e80e54e622dcce96b99dc8990c5388cd4c6d914f714",
  "file_sha256": {
    ".claude-plugin/marketplace.json": "3934a1e41969e549a3ad18ac9bb3bb98adf4210dc62836f918152a0dd26a119b",
    ".claude-plugin/plugin.json": "cffc4761f537d0f27568c157089edf9669256bbc6ae7622414c0ef3755299275",
    ".github/FUNDING.yml": "b4cedcfa822d792280f14b7b11a9d3fa3bfa3aa679dd5e1b7ae8951efceb6d80",
    ".github/workflows/ci.yml": "0ce46f12c9ededa3dea76943c8cf844f274dc8729674b5e63211034737b79d4d",
    ".gitignore": "7a91ccb48a57e8b06695481471e4bae89efb079f9cbab22c9dac162269631121",
    "CHANGELOG.md": "a0d9ac1d8a498a1847bcdf67385835fb6d88261ea3984dda06dad1ff5d5ee65b",
    "LICENSE": "20965198054d152094ddfdae196e422b2d29f4ad0595c6642efdbe40d34ddc74",
    "README.md": "bb6d4b5aba6d68762fba0aef9c19a56905347e2ceeefd52ee333b00579336744",
    "docs/install.md": "77e883515215171c6007cfd27293a86416df528caa5afcceab639e2ef083b613",
    "docs/reference.md": "6fb9580f512e4b41a2c41fe92ea21dca6086d871f08aad007ac375a13a65ab28",
    "docs/verification/README.md": "8cbe7957c0611a845d5053f378c5d238e98d8c928f574b0fafce71802cae2dec",
    "docs/verification/pass-1.md": "435263db5a48a7d46bf18e06e1276f42ce3afa0735298ffe4d2ca2300fbcf2a5",
    "docs/verification/pass-2.md": "df0a41ab78849df413bc0d1f68e355799b9fc2f4867e5d1181fd3dd186c86f3b",
    "docs/verification/pass-3.md": "b9fcc39ebf6800f468c4d79f1cce422994e43476455347cd372c5b85a50f6fa9",
    "examples/walkthrough.mjs": "8993a0764ae0d3557c45efa351c53b777d41e6535289c84f883d3588c1e22ff0",
    "hooks/apcc.mjs": "71dc2a8ab6cbdfb3a3afb5376a3b416632a62168d17b8f8a9213edb34a27cc55",
    "hooks/apcc.test.mjs": "117a6ecfbae176de3ea9f7f6515526d2c22249a07c69b727f95f2d9f3790ab68",
    "hooks/audit-fixes.test.mjs": "ae270d101918646bb06a13b851db257bd2690d41a11eb817feba918a13d98bc9",
    "hooks/entry-guard.test.mjs": "0cdd773d5aa64a514519860fad3ca420da918243b626802ffde622fd663d8294",
    "hooks/hooks.json": "6e6b1f14f827e394e8f47ddf5b046115b778802e57a28810f3a0fa99b7643d6b",
    "hooks/install-guard.test.mjs": "0866c527a6e3a8faa7c31c37e62f929894ecce52f501c01def78f645d1056f7f",
    "hooks/install-skill.test.mjs": "0b7865d31ae057a66eac4791b5accbefc247585e9b4ec69fb9086b3c57a8ef13",
    "hooks/plugin-files.test.mjs": "0517c527e5d8262399ef9546f8d22d2bc72471782a17dd25a467480d742242f9",
    "hooks/plugin-standdown.test.mjs": "909db4707426ae917f6a1b5167b073b036a9dd2bef19f1893e662b7c54cff215",
    "hooks/skill-ref.test.mjs": "ca581b95fe3ac27000933f14bca73d0a5e1f55defb5584b0333dc271917ba331",
    "hooks/skill.test.mjs": "1a9def062f0acb7d42d436747c74326014eae24f69346c29030bd49079e5397a",
    "hooks/test-runner.test.mjs": "6ac74a387c6d7d47ca007361464246d30c29d7503bb5efb86295d26855e33977",
    "hooks/version-sync.test.mjs": "3c2fc991077741d639c1c718cdc8363d10781cae0f7cf5f47b0b7806f2d86e92",
    "hooks/window-hint.test.mjs": "16a9cf68db9fa1dd4dc57b917883fd4730cc010b69cc9932bf9307c144dd590e",
    "package.json": "5151a84585b6ba7882e93bfc7675e1b97084ad5b6b86275419d32be0cc6bd0c9",
    "scripts/install.mjs": "4dc382321e5b159542d67e43c84863b55cd93fcad281fd04d6e72c2672f0f2fd",
    "scripts/test.mjs": "52c0823579f2afbb85d2b10e31478837b88ade11c6540324d65ec13853cda064",
    "scripts/verify.mjs": "be261679900d3e9c2007abcff23024eb17d4673774e865e5eb89af87721a4f6d",
    "skills/persisting-context/SKILL.md": "b4f815f068fae25abf9fce5b3afbffa2a8f4285b0ba9719c05cec1ae808cf1e3"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-11-07T23:40:50Z",
  "source_date": "2026-11-07",
  "discovered_date": "2026-11-07",
  "retested_date": "2026-11-07",
  "reviewed_date": "2026-11-08",
  "published_date": "2026-11-08",
  "modified_date": "2026-11-08",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit be52590573838548671f6cd604dd47431e4a3ad8",
  "claude_code_version": "Not applicable: static source inspection (commands.json).",
  "model_id": "Not applicable: static source inspection (commands.json).",
  "scanner_version": "Not applicable: static source inspection.",
  "rulepack_version": "Not applicable: static source inspection.",
  "agents": [],
  "disclaimer": "This record lists declarations and file hashes from a pinned source tree. Git command results from acquisition and static inspection are retained in commands.json. Scope: acquisition and static inspection. It is not a security or quality verdict. Changed bytes are outside this record.",
  "commands": [
    "Ran 39 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection."
  ],
  "prompt_list": [
    "Not applicable: static source inspection (commands.json)."
  ],
  "history": [
    "2026-11-07T23:40:50Z: pinned source inspection"
  ],
  "application": {
    "name": "9thDuck/claude-apcc — 6 hooks",
    "softwareVersion": "5768440ef759a3564ae781c80e0d523afd3aa9a1",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 39 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection.",
    "sinkhole_log": "Not applicable: static source inspection (commands.json).",
    "canary_log": "Not applicable: static source inspection (commands.json).",
    "scanner_output": "Not applicable: static source inspection (commands.json).",
    "normalized_text": "{\n  \"listing\": {\n    \"skills\": [\n      {\n        \"path\": \"skills/persisting-context/SKILL.md\",\n        \"name\": \"persisting-context\",\n        \"description\": \"Save decisions, progress and in-flight state so a context compaction, /clear or new session cannot lose the work. Use when an apcc persist nudge arrives, before compacting a long session, or at a task boundary.\",\n        \"files\": {\n          \"skills/persisting-context/SKILL.md\": \"b4f815f068fae25abf9fce5b3afbffa2a8f4285b0ba9719c05cec1ae808cf1e3\"\n        }\n      }\n    ],\n    \"hooks\": [\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"6e6b1f14f827e394e8f47ddf5b046115b778802e57a28810f3a0fa99b7643d6b\",\n        \"event\": \"UserPromptSubmit\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node\",\n          \"args\": [\n            \"${CLAUDE_PLUGIN_ROOT}/hooks/apcc.mjs\",\n            \"nudge\"\n          ],\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"6e6b1f14f827e394e8f47ddf5b046115b778802e57a28810f3a0fa99b7643d6b\",\n        \"event\": \"PostToolUse\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node\",\n          \"args\": [\n            \"${CLAUDE_PLUGIN_ROOT}/hooks/apcc.mjs\",\n            \"nudge\"\n          ],\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"6e6b1f14f827e394e8f47ddf5b046115b778802e57a28810f3a0fa99b7643d6b\",\n        \"event\": \"Stop\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node\",\n          \"args\": [\n            \"${CLAUDE_PLUGIN_ROOT}/hooks/apcc.mjs\",\n            \"stop\"\n          ],\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"6e6b1f14f827e394e8f47ddf5b046115b778802e57a28810f3a0fa99b7643d6b\",\n        \"event\": \"PreCompact\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node\",\n          \"args\": [\n            \"${CLAUDE_PLUGIN_ROOT}/hooks/apcc.mjs\",\n            \"precompact\"\n          ],\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"6e6b1f14f827e394e8f47ddf5b046115b778802e57a28810f3a0fa99b7643d6b\",\n        \"event\": \"SessionStart\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node\",\n          \"args\": [\n            \"${CLAUDE_PLUGIN_ROOT}/hooks/apcc.mjs\",\n            \"restore\"\n          ],\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"6e6b1f14f827e394e8f47ddf5b046115b778802e57a28810f3a0fa99b7643d6b\",\n        \"event\": \"PreToolUse\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node\",\n          \"args\": [\n            \"${CLAUDE_PLUGIN_ROOT}/hooks/apcc.mjs\",\n            \"gate\"\n          ],\n          \"timeout\": 10\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "799d23852fb9d032a45f54074f089d221177f41615773277a69a05d58fb596c6",
      "commands.json": "0d75963d409cf4cc45fdeaca9b4185487c7890198116f69d75f69be87a7d848d",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "cefffa5a5e7fd3902c15d7d71c5537fade1f98c58c78587acd343cc5fafc7a63",
      "listing.json": "d58f17c3bd6438001390cf0f63921759561fed2a37ace7b1cb9f5ec9018e3c2a",
      "selection.json": "9cd1516933b98def406cfe010067f6d688fb1b1048284fd78fd391e041aab3c7"
    },
    "claims": [
      {
        "id": "acquired",
        "field": "summary",
        "text": "Pinned source declarations and file hashes were listed.",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      },
      {
        "id": "listed",
        "field": "outcome",
        "text": "Listed 6 hook declarations. Ran 39 git commands; each one's exit status and output hash is in commands.json. Scope: acquisition and static inspection.",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      },
      {
        "id": "tree",
        "field": "rule_results.0",
        "text": "The retained source tree matches its acquisition manifest.",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      },
      {
        "id": "declared",
        "field": "rule_results.1",
        "text": "Declared hook names (listing.json): UserPromptSubmit; PostToolUse; Stop; PreCompact; SessionStart; PreToolUse",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-11-08",
    "reviewed_sha256": "d10ffbcbd121530ae24af753e64f0fbbf844d48ecf19135a9b41bb72dc1e09d6",
    "gates": "395d5d7e551bb94627aeb858a3f975a671c32df8e6436745be586c9b0ad8ca43",
    "codex": "2196a84d7edc987140ea0cd5c101baa8ee65bdd4c3a5c7b1c3dcde0293acb785",
    "grok": "0fa9ef3dea1070f86d8a9fb71b9730f9f16c3caba06397573c758cd5ce51eebb",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
