{
  "name": "bishtashish708/compact-diff — 5 hooks",
  "slug": "source-hooks-dccf011f53fed81723677f5f",
  "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 5 hook declarations. Ran 43 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): PreCompact; PostCompact; SessionStart; UserPromptSubmit; PostToolUse"
  ],
  "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/bishtashish708/compact-diff",
  "documentation_url": "https://github.com/bishtashish708/compact-diff",
  "commit": "7e2de3ea7ad88b5ec3c4ec1c606b95a4dd002a46",
  "tree_sha256": "6fec8bc2288b91ae43b43791de6cf8b468333627532ebe891b64d3d55f32d0a9",
  "file_sha256": {
    ".claude-plugin/marketplace.json": "97d29d9606efefc953236d3eb631eaeaef359f2709dd6d94b14daf34b78d7132",
    ".claude-plugin/plugin.json": "365dad7db37c73744e051ab957a915277ca42dbd618c51102ec60bf63f91b70a",
    ".github/workflows/ci.yml": "9b6d45c92297a5d2ce9420a83d3b32849a1b4c6fa883bc2c7848c3bea1b5491d",
    ".gitignore": "b02616692814b5513979ba50c843d3b78b58a0eac0747e55921c4f485e3eefad",
    "LICENSE": "cd6bceba53b1ee120bea10f2e09fd9d75defb0f30e05f1470b24279d4a54504f",
    "PRIVACY.md": "e21b416ce99961564339b1b12269bbdd02ac9a3ae455368f1fc43a4ac873e47e",
    "README.md": "4bde024b668cf2b70bbadf410238bcc12d99045da6276ad5568f3932b9be9ea6",
    "assets/icon.png": "6f881dd04cb433939582c2bf0c487f1dc512002b0f1b62d08a6e31c8ef24b665",
    "assets/icon.svg": "7068d715fd6ca021f9bdb69ea1fae7b4004684b13266a3c13fd92b90af304f24",
    "commands/report.md": "9046098b13be895ab1664ce52d9ad8b05dbe77f33c174d71221361cee046837b",
    "examples/auth-refactor.jsonl": "48cca40e34af5cd70493acfd3cb51d7c5854937f3ec35e8522abf7751db7c640",
    "hooks/hooks.json": "4e8505c8fbeb0c1d274af941fd625b4179e0fe202e733d34d72ef534703002ea",
    "launch/EVALUATION.md": "6e9b7888c5c39e2e2e2d2ed0d45b2fa5d0516afc158fa6d01d220e71ed9633a6",
    "launch/demo/README.md": "c7c8b3a88df5e0b9eaed16ee2b346f7fe446e13c8e61ba7e5c3beae8d4432e02",
    "launch/demo/cast.json": "ec2cf2514f40fba368fae500a762d746f14bc6862fb88768a5035ba1a50722d0",
    "launch/demo/demo.gif": "a6377c4992957eb9b66ab48d59fc9db22afc387d68505f53a33f6155fb3f69cf",
    "launch/demo/demo.py": "7e7b8c5ee8ab478ae811b320040fa5e587f1c1d15de3f8c906f86b556b281495",
    "launch/demo/demo.txt": "2c27439496eb4bc3b79eac18f321aaed2431bb49fc0ad84b48a9a25e564455b6",
    "launch/demo/real-demo.gif": "0369cfb9d93bafcc30bbfd5a4bce0b7b5c5eaffe43e1c904093d9ade78b48853",
    "launch/demo/render.swift": "f4b0d46a7e20e1fd167b02a520aebec738ab68ffb8822eeba972db507413652d",
    "launch/eval/RUBRIC.md": "ae7d0a93136e2d81417e14e7d9fa21492d2397aa17ba927957aa506a9b856cfb",
    "launch/eval/make_packets.py": "07255dd3433d1e493a8fad062d9e2ea364537db80003fcb3f4b7d9f3826161e9",
    "launch/eval/results.json": "98ad8de3419ce341d8a04b6d48c77c8fbf6875e2665eb677f285a60a0586f1f6",
    "launch/eval/score.py": "ece50b0db15f4c7f1a6dac58b34c5c8be8ff2bc546b38c28d1e1659f8de5f4ea",
    "launch/eval/steering_results.json": "1fa72c88f74bda8961005d94926654d37a49eccf2ab9740675ab2466c07fef39",
    "launch/how-much-does-compaction-drop.md": "686cfe5bd53966e7441ea8292e69c3094424ac93a466f5b2dbea6466d2abe4ec",
    "scripts/cdiff.py": "5c1ecd8dc167dbfc1a83c474e50c9a9484801b4f6a08cb1c807c0e3ba6fee341",
    "scripts/compact_diff/__init__.py": "59e7a84615fbe4b91f15220934a598390e9568bf653dcb421eb925d5e027ddba",
    "scripts/compact_diff/cli.py": "6c318accbf932aa6d054e24e35ce959f6b2489bcc338b96a946d547c8100d935",
    "scripts/compact_diff/extract.py": "d0c65923e3358e8c19bfa85facf1283ce4ac479564543a0d5b8d5898f43d119b",
    "scripts/compact_diff/hooks.py": "3b1d023041bd7af5080a6645a32314538a1f2103cc8a37442706d9d00462241e",
    "scripts/compact_diff/match.py": "c4217e3fbd54e10f36efaf8d70b13c7d08095ade092500cfbaaf398b0fad4591",
    "scripts/compact_diff/render.py": "071773e700ae48589f6c8cc3b8fdde55f388f6e6b106ac09aeb7f1ad894fc272",
    "scripts/compact_diff/store.py": "1dd6794d3708b2e3f923d599b314c7144fe66767e7fa18d6a0c01d92ba58ebd9",
    "scripts/compact_diff/transcript.py": "62b51de1661e8d096c6c44f89f847d2626ee9c57b23e184dc1d04a45d5e6f792",
    "scripts/deliver-guard.sh": "c520dc6d04386426eaffd76003afc630c5d46a9ade32725262b79ddda213a8a2",
    "tests/fixtures/build.py": "b859cedda0bd29b02eda2dee19019d9bc1048245f04d46fc501df90dfb9b3a5f",
    "tests/test_compact_diff.py": "ebf8cb9d8977a7837f8afc5bceb0a1964bff34d400e1e47cb4230fdd88ce2827"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-11-13T06:19:45Z",
  "source_date": "2026-11-12",
  "discovered_date": "2026-11-12",
  "retested_date": "2026-11-13",
  "reviewed_date": "2026-11-13",
  "published_date": "2026-11-13",
  "modified_date": "2026-11-13",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit 6a8e0964eb2d18f85b3eeea4990b440f4d05342b",
  "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 43 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-13T06:19:45Z: pinned source inspection"
  ],
  "application": {
    "name": "bishtashish708/compact-diff — 5 hooks",
    "softwareVersion": "7e2de3ea7ad88b5ec3c4ec1c606b95a4dd002a46",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 43 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    \"hooks\": [\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"4e8505c8fbeb0c1d274af941fd625b4179e0fe202e733d34d72ef534703002ea\",\n        \"event\": \"PreCompact\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"python3 \\\"${CLAUDE_PLUGIN_ROOT}/scripts/cdiff.py\\\" hook PreCompact\",\n          \"timeout\": 30\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"4e8505c8fbeb0c1d274af941fd625b4179e0fe202e733d34d72ef534703002ea\",\n        \"event\": \"PostCompact\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"python3 \\\"${CLAUDE_PLUGIN_ROOT}/scripts/cdiff.py\\\" hook PostCompact\",\n          \"timeout\": 30\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"4e8505c8fbeb0c1d274af941fd625b4179e0fe202e733d34d72ef534703002ea\",\n        \"event\": \"SessionStart\",\n        \"matcher\": \"compact\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"python3 \\\"${CLAUDE_PLUGIN_ROOT}/scripts/cdiff.py\\\" hook SessionStart\",\n          \"timeout\": 30\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"4e8505c8fbeb0c1d274af941fd625b4179e0fe202e733d34d72ef534703002ea\",\n        \"event\": \"UserPromptSubmit\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"sh \\\"${CLAUDE_PLUGIN_ROOT}/scripts/deliver-guard.sh\\\"\",\n          \"timeout\": 15\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"4e8505c8fbeb0c1d274af941fd625b4179e0fe202e733d34d72ef534703002ea\",\n        \"event\": \"PostToolUse\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"sh \\\"${CLAUDE_PLUGIN_ROOT}/scripts/deliver-guard.sh\\\"\",\n          \"timeout\": 15\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "80f262c2ef5c059a240e7c7d84cee1a1863516b5e8c0a864dc8028bc50bceb6a",
      "commands.json": "1994926c9b3d8cc19b2f034c962c7f798220cd58bda69005288916c56e89b0a0",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "84188ef078ecea692bfac1cd05369561e395f0ea81efd4363614e8baf64a8a9c",
      "listing.json": "1e818a66e7927d27405d8511e240b616ffc9f20757a5b69c8cefa1e829bf8783",
      "selection.json": "e6642feb7258a62305fefb61ff29d01ee87fbf78938cb4668445ab18a039080d"
    },
    "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 5 hook declarations. Ran 43 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): PreCompact; PostCompact; SessionStart; UserPromptSubmit; PostToolUse",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-11-13",
    "reviewed_sha256": "d64d2f54aafa6f1e0e6a0abfa1505e161d19eeb30d495ea0baea5a23d9fb6d0e",
    "gates": "49687329d5b246b9aa95d23c11502b86afe28c8f073b00fae225ca8e90c5ffd5",
    "codex": "ec407585b82c98a8057f494fd6c00b00ae9e2866fa6508816c72126b9d4ebeca",
    "grok": "c7d25fc5b3a8c95aaf1e7a7557e50fec3388c5bd94e142c48076bd93ce79e84c",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
