{
  "name": "codecruz/langstats — 3 hooks",
  "slug": "source-hooks-43ed5b7b75b585d43b1f29f4",
  "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 3 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): PostToolUse; SessionStart; SessionEnd"
  ],
  "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/codecruz/langstats",
  "documentation_url": "https://github.com/codecruz/langstats",
  "commit": "791493154f660c5ef716c6360ea4b1ec641c4a32",
  "tree_sha256": "034e6ed9b8be67736e160647af3a83d0827a6f65b327dc577c287197bbfee0a6",
  "file_sha256": {
    ".claude-plugin/marketplace.json": "317b800c4f491d2f07ecd7b32f93cb23f9515c2773f6b1af6a6ff9dd5f677fb4",
    ".claude-plugin/plugin.json": "58ffbe0250e422baaa7df46c4be8663bf33091a09632da69a11e476a1e6500e1",
    ".github/workflows/ci.yml": "f738a4e4bfa8d3a2232b66eb97faf2a79e9e334a8e3fbd6716cd9a6a126fd123",
    ".github/workflows/release.yml": "1ca36845a14ec7579eba2ea046da4299d4f0df8e0cd160ee66c2168c5c8cfaba",
    ".gitignore": "85490d009e8c66d68f161f6e90e94e82672068db08a15810160646a0c2a89ae2",
    "CHANGELOG.md": "e7233e45aa8857e2f71422d07dee27314a56df712ff74bbaa162567afdea3298",
    "CONTRIBUTING.es.md": "15ec662ce5588b81133df208f88238ad2129ee0d873f3f0659d284e1cd806b41",
    "CONTRIBUTING.md": "412627367cb2ed23101ded5e5fa5c8dc41b0117e65cbacda772b54b50acab5e3",
    "LICENSE": "d5a7d39c516d5af9d34a2ec6808f9846733ae9a421839175bd5af00734783668",
    "README.es.md": "81298f0644c161fb5f19d029a3b3eae8fc39e50fc6755036000efa2c320da4bc",
    "README.md": "8dcfd7af91d79fefedf76e13da53e578884959bad846002dc9b30a61230b863f",
    "commands/publish.md": "8e0d9d5c8fc58c219365076e7b0b8afd852192063c4cff25278352d2f03d184e",
    "commands/setup.md": "99ae8cd0f4dc08f2b3f83ed091925c577b5043a1ef8f899c8d872a89ab65cdbd",
    "commands/snippet.md": "c3853df9d61d3eb3bca18a57f88cf9ca394bfbb866ac25458b9477b1f67d486e",
    "commands/stats.md": "79fa205a1404d9c23e7be625d7f903d33b21bc23849b0c24b1f2c68ff84b2917",
    "commands/style.md": "e52345eacfbad50be94c25591fdc65b9a5c888f7e53e1a26bea75077cdd9fae8",
    "hooks/hooks.json": "abdf29ed41875cad1aa8520d154b571697bcffcd1a246c6e2e62bfe97bd10b4a",
    "pyproject.toml": "ce3a2746b472e415603c535b433fcda3fc5f44139114d206555f07fa8fe3703a",
    "scripts/cli.py": "7cc1deeb8e76327988cdb0069d043d3de1e8b19653be4ebd1a7f8e150892c44e",
    "scripts/langstats.py": "ccee52c4bb790965eb9989d26dded410a7007058d476b97d86dcf33e2c992e00",
    "scripts/languages.json": "f2781e8c2e36fcd16b5cd6572e6fc6530350ae60dd1fb5555f4b5fb78248ce40",
    "scripts/run": "e50d6557f65b330b43830369d6da3e4fb23d0e9e87040f529431f842372e8b19",
    "scripts/run.cmd": "40188ef1e5b858d330adf36ddff8f2fd59015197b69fd285e9bc9569b98d166f",
    "tests/conftest.py": "8004ffe54d56c6b0e7e503af0470130c9c548ea6f4e604c43e461b7ece659869",
    "tests/test_aggregate.py": "66a55d2a46b6c2c447d793deb942f3878d7f1cf02acf1beacbee498c21f07e25",
    "tests/test_config.py": "7180291e0c3ef787119d7f3974a42edc64335bd70e12380ba30d7920fc92f0d8",
    "tests/test_detect.py": "16e70725076da8a0d4f84c8ee88f2ed98508897636d325a05969085ea44c80c8",
    "tests/test_hook.py": "f02f029471c2525a881408872f161bfe6e7368552b712801bc9bc17d8fb4d216",
    "tests/test_performance.py": "26542044ff72569dd3128701af8455f9e7db547b449beda21fdca166efefc76b",
    "tests/test_publish.py": "467c6790147208fc304460e226867a5367b4b4a35871eb836c7576083072a09f",
    "tests/test_release.py": "b17fc30a1d9fb2dfa99bb84295affcbed56594c6dd11e816d787b997f85778f2",
    "tests/test_render.py": "65e398a9deb5d1ce1cf1b690f730a64e73932e066440b3cfd084ebda7ef41e12",
    "tests/test_repo.py": "dd9b18e9f649a3e82fa28eca1f4c48365447501350eedc757f8ed4652402baec",
    "tools/release.py": "862f58754cb43031e3fc46e0bba21907b5afa87d6cf4c366e333f54be88e87d7"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-11-09T10:11:55Z",
  "source_date": "2026-11-09",
  "discovered_date": "2026-11-09",
  "retested_date": "2026-11-09",
  "reviewed_date": "2026-11-09",
  "published_date": "2026-11-09",
  "modified_date": "2026-11-09",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit 63840a0b57b2879f42f04b5d326b26ead8657779",
  "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-09T10:11:55Z: pinned source inspection"
  ],
  "application": {
    "name": "codecruz/langstats — 3 hooks",
    "softwareVersion": "791493154f660c5ef716c6360ea4b1ec641c4a32",
    "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    \"hooks\": [\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"abdf29ed41875cad1aa8520d154b571697bcffcd1a246c6e2e62bfe97bd10b4a\",\n        \"event\": \"PostToolUse\",\n        \"matcher\": \"Edit|Write|MultiEdit|NotebookEdit|Read\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"sh \\\"${CLAUDE_PLUGIN_ROOT}/scripts/run\\\" hook\",\n          \"timeout\": 10,\n          \"async\": true\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"abdf29ed41875cad1aa8520d154b571697bcffcd1a246c6e2e62bfe97bd10b4a\",\n        \"event\": \"SessionStart\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"sh \\\"${CLAUDE_PLUGIN_ROOT}/scripts/run\\\" session-start\",\n          \"timeout\": 30,\n          \"async\": true\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"abdf29ed41875cad1aa8520d154b571697bcffcd1a246c6e2e62bfe97bd10b4a\",\n        \"event\": \"SessionEnd\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"sh \\\"${CLAUDE_PLUGIN_ROOT}/scripts/run\\\" session-end\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "ac4d2056813755577d46f3346512acd5ffde949125edb6286d4fe144dcfe2287",
      "commands.json": "b88824581c418dfe4f98c74ae1c3553d97d5e90eb7cab853762e7348fea97368",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "46bfef2f0be43988cf0a142d4429e56732ed2dcfd01080758730f0f3726940f7",
      "listing.json": "09a06d5fb42c3cb66dc1011ac2b10d9aac36a05276109ab2748903a18cd95de8",
      "selection.json": "fb9a6b4b30f3cbe150f7976faf2af6fb71edcb76dffd85d48dbca46ae5e9cf02"
    },
    "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 3 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): PostToolUse; SessionStart; SessionEnd",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-11-09",
    "reviewed_sha256": "dd36878a088bec6092ac8cb7c32789a2423882c50f5614196a32e5793d266e1e",
    "gates": "c5b1852888f8aad9871afe2b8e908268079d542b93dde75b69229e2744626ea9",
    "codex": "fd73dab89ed19ad914ce2ec42f2cad0075af3290127c65fe9ad28ecc2df2ee55",
    "grok": "25f230935a040338ae1f44878862e8a50558098c26b63547f24e2b97083a175e",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
