{
  "name": "BekirEfeoglu/proof-of-green — 5 hooks",
  "slug": "source-hooks-6de4b768fcd5e622e21c3311",
  "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 48 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; PostToolUseFailure; Stop; SubagentStop"
  ],
  "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/BekirEfeoglu/proof-of-green",
  "documentation_url": "https://github.com/BekirEfeoglu/proof-of-green",
  "commit": "d880730e6c89b7639da6ba0e1afce94801aada31",
  "tree_sha256": "a48366e2e88e50011c82260b658a657f23930b56632a38f6830975ac1d853665",
  "file_sha256": {
    ".claude-plugin/marketplace.json": "b18fbbe01ba96e2ea15a5a3a986fb7f21bcf93f8cb73e7567b09e272890765d1",
    ".claude-plugin/plugin.json": "bfc892112efd1607310b18f829ec65a675eeeafe89e869515b46f71125a00db4",
    ".gitattributes": "d60f352d0db1404c70afb4bb8b2ca3fd1c610572aa40720e8a0b7baa7885418c",
    ".github/workflows/ci.yml": "368a5b70254ba907b399c53c1ea2063b61fb050160e5646307bf49aaa5410aeb",
    ".gitignore": "4d56952b0fb13bf8f9b6c13a6d4c34a075bac3af447636a1df4335d7576e2f97",
    "CHANGELOG.md": "5469d46830beef9eb70e15518ef79c2a65786af9b249c129946152bf301f3b10",
    "LICENSE": "8097c1da5e913eab795cf3515467e5125405f336ef0b23f08b8c3dcc3d49d336",
    "README.md": "3003f672efbf81ef3f9d638fcb9d68ad4318f2de2909bb8a16c76307d8708831",
    "adapters/claude.cjs": "c0ea76fb9008587d90022ad7792d4a0a94b5a9d917c570af23199c1982b0ff54",
    "adapters/codex.cjs": "df665709e2abee55e2e77722142ced4731eb36d507f485ce0a7e8a121d927137",
    "adapters/common.cjs": "bd6171c5bade57996d98740396f5af25cc551f98afe466c2f04f2358dc749380",
    "adapters/rollout.cjs": "b7286c94fc843e510fde9a75e04c97b6e1a127aa107d42ba08a5eb95bef2cee6",
    "bin/cli.cjs": "ccc7adc4d7aa58bde99997a13761464a60955d1d6f4d600b869fdfa4ac5a44f3",
    "core/codefiles.cjs": "fbd0ac7e07c7ac2f29d0b25bf9760bde8f393c7d83ebd1c75edb18ca9ba5f3e0",
    "core/config.cjs": "25bf34e295cdf0ce8cd30c489541e9e65569fc412f8fe85ea839362e705ede4d",
    "core/detect.cjs": "77a88191a05cd8f899821ded0a85f465473ebf2a4be41a3f50d4038d54d2397b",
    "core/ledger.cjs": "322fc96fa1da10293ef498fa71c8eb82b9566ffd234a0f5318fbbb1a8083e8af",
    "core/policy.cjs": "78fc43b2d78dd7abf5251226e4351678d0bec3c155bacef20b918dfaed00c985",
    "core/shelledits.cjs": "9b822532d4d41a60afa27a943d8f0680a85457d3a8ee7b9ba1e8c11cea00503e",
    "core/toolresult.cjs": "da538ebc0eb7b0ad311cebfbf777144ffee8b377c78da2109125e44f49616e79",
    "docs/superpowers/plans/2026-10-31-mcp-test-tools.md": "98c01d9c8b2f2b9826f5a4113dbb9b902036d2d92e838720a73bca5068c7a977",
    "docs/superpowers/plans/2026-10-31-proof-of-green.md": "5a3bfc178060e02ecf6d6434b6f70c4a828545aaa5671f4c465abdfab78993b6",
    "docs/superpowers/specs/2026-10-31-mcp-test-tools-design.md": "4a92d83ac72f09f46818bb1b0bb0bbe99454d77b932afa4a7ed4d0e327dd7a5b",
    "docs/superpowers/specs/2026-10-31-proof-of-green-design.md": "5d4b3296087a22a991217b36fc7af31c8eb1a94ddf0f5652562e92f33ae06620",
    "gate.cjs": "10b4b217d68283e5c6b15dc7108381b8e6e5103998d3e8b05ab545d88e8ff930",
    "hooks/hooks.json": "7f9d754e0e61ea392b8efb717ab448afce1c0b40500dc703ce3ab4e34ecbf8dc",
    "package.json": "d1972f9619301b7125b7901c11cbcd32adda669937d920ba0763d2c91ba1bcc3",
    "test/claude.test.cjs": "01d42fa1746141a8f69dd9f94702c152899ad2e7587ca8b66214129079885c89",
    "test/cli.test.cjs": "af057fd2178cc9470e371e88eccc80014856d480560d27d4ebdcbfaa9290bd81",
    "test/codefiles.test.cjs": "e81c88e4dbc6f21a2c022c6cc8a2ffd2fba19dbf4938dad838644a37046ed5da",
    "test/codex.test.cjs": "890e9bf51fd9f58d473f14eeceb64607c571860514450138982c48d51f467dd8",
    "test/config.test.cjs": "9a4193699c231682c6da0ae63bc99096ed14014ecb9ec2112ecc45cd369750d0",
    "test/detect.test.cjs": "031307c7350d71d94a0c166006fe319123b086f3fbbb76c92575df0472da098d",
    "test/fixtures/codex/rollout-basic.jsonl": "bf79e1608bf3ae614841b2bf1c1d280e5bef9c1cdbd4be780005c4a24f26db6f",
    "test/fixtures/codex/rollout-truncated.jsonl": "aba77d5341f04848777366a5ef7afb6e375e4344a891e96155e28b1fd76084f3",
    "test/fixtures/codex/rollout-unrelated.jsonl": "b2c4a94ae8f6a0fb7d6c0b059de2c32ee2b3131b94f57daf6196c47e25ad29b4",
    "test/gate.e2e.test.cjs": "7b5c8c40fea6d896e9f561f1d4cddd5b12ba07781d1e095d0c4dbf8eb27bb4b8",
    "test/ledger.test.cjs": "f3a1b780356964a1df496b65b221a0fd25de7983783062b8ba243629f1e1ce13",
    "test/packaging.test.cjs": "545b5c3ff10bc7d76cb09d1b9a5d90ce3eb64f4fbf540809fab86d0e8aa82942",
    "test/policy.test.cjs": "99137025c96ee32c5692962c286f31424c5da99e06b3f23343de3a1466ef07b1",
    "test/rollout.test.cjs": "544d0372fc441b625c4f67f4c40b5e751be98e536e0d4d90325e0666d3da2b66",
    "test/shelledits.test.cjs": "3c1b759845961e46c1ed75e8b6720faa3ed5e215bdbc3259c5f4d51bd8c0536c",
    "test/toolresult.test.cjs": "0d732313263d35e6f2fb5b0b14ad197bb31904ecde95912256e644e19c43c047"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-11-01T12:11:15Z",
  "source_date": "2026-11-01",
  "discovered_date": "2026-11-01",
  "retested_date": "2026-11-01",
  "reviewed_date": "2026-11-01",
  "published_date": "2026-11-01",
  "modified_date": "2026-11-01",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit 82d663425c39da1658470d48c7b1bbc7cf3a597d",
  "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 48 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-01T12:11:15Z: pinned source inspection"
  ],
  "application": {
    "name": "BekirEfeoglu/proof-of-green — 5 hooks",
    "softwareVersion": "d880730e6c89b7639da6ba0e1afce94801aada31",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 48 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\": \"7f9d754e0e61ea392b8efb717ab448afce1c0b40500dc703ce3ab4e34ecbf8dc\",\n        \"event\": \"UserPromptSubmit\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node \\\"${CLAUDE_PLUGIN_ROOT}/gate.cjs\\\" claude user-prompt\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"7f9d754e0e61ea392b8efb717ab448afce1c0b40500dc703ce3ab4e34ecbf8dc\",\n        \"event\": \"PostToolUse\",\n        \"matcher\": \"Edit|Write|MultiEdit|NotebookEdit|Bash|PowerShell|mcp__.*\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node \\\"${CLAUDE_PLUGIN_ROOT}/gate.cjs\\\" claude post-tool\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"7f9d754e0e61ea392b8efb717ab448afce1c0b40500dc703ce3ab4e34ecbf8dc\",\n        \"event\": \"PostToolUseFailure\",\n        \"matcher\": \"Bash|PowerShell|mcp__.*\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node \\\"${CLAUDE_PLUGIN_ROOT}/gate.cjs\\\" claude post-tool-failure\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"7f9d754e0e61ea392b8efb717ab448afce1c0b40500dc703ce3ab4e34ecbf8dc\",\n        \"event\": \"Stop\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node \\\"${CLAUDE_PLUGIN_ROOT}/gate.cjs\\\" claude stop\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"7f9d754e0e61ea392b8efb717ab448afce1c0b40500dc703ce3ab4e34ecbf8dc\",\n        \"event\": \"SubagentStop\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"node \\\"${CLAUDE_PLUGIN_ROOT}/gate.cjs\\\" claude subagent-stop\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "36f2c40f3047405991ff228896b40cc746eb4ce40f7d907c6cc709bee4240543",
      "commands.json": "33a247d2533f5aa944b567b993c86aa13c544e24c1296a8ebce6b214d34961f8",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "0ecb39e15e4c2e4ef71e1d00b3d9df0e90c5d23ca21b94d72108c375556eb958",
      "listing.json": "33fe690a0c85647c860e2274558c953886e71c3da624a4e77e8af0501db0d74c",
      "selection.json": "0f185f31f2c0767c50e8c516b88949ff063d1fff92c29dfd1f296e65b2230105"
    },
    "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 48 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; PostToolUseFailure; Stop; SubagentStop",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-11-01",
    "reviewed_sha256": "3677b4c2dac7402fe98d3b72e8ab21abb52be68847943fa7421516db301b2c62",
    "gates": "e81e2fc720cf28e8dc9f43e498ea35214a5bb4ce16c32965f45ac82ebb3a7f5b",
    "codex": "7a5064ef0058f184cbf88d06850d7c1f1f5b309a49816c7e8b548e4186611c76",
    "grok": "49a077761b12b04255aaa9a0a8433e21b99b99f446c54a96ccaff09d321ff01b",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
