{
  "name": "bondie/agent-harness — 3 hooks",
  "slug": "source-hooks-aec93cee2fca34a7dff84360",
  "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 45 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): PreToolUse; PreToolUse; 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/bondie/agent-harness",
  "documentation_url": "https://github.com/bondie/agent-harness",
  "commit": "027baa790d4dd7db05dcd404eebb4c5a7f6b5442",
  "tree_sha256": "b743f8f5d24845bd84568167abeff2171d1e8a768d2fd572ca044c63eae5e180",
  "file_sha256": {
    ".claude-plugin/marketplace.json": "5028a81431df1ac2872a42d86d87c66d8f34266d50dc8b0098f03fcbcdc315dd",
    ".claude-plugin/plugin.json": "ae756a47b72886e7a2ce58ba432cc7d8924c55ab989573bfa95b99bc620a47ee",
    ".github/dependabot.yml": "b92fc88a9a92e0141f56281266bb7d232f1f9f493a337e1da04a3dff9d2fdba4",
    ".github/workflows/ci.yml": "5066c9f5153b3288a1ede1dc85626ccd87416418b78e4225b191df0b1ef98d06",
    ".gitignore": "816d343e87b1ccc63fe2a248ddbeed19b9bdf60998a77527ee1b83865879f0a7",
    ".mcp.json": "a525b8e0cb66ef695a62b4b5d73d960035f6fc98d49d3d8dd0406809a5eafbac",
    ".pre-commit-config.yaml": "71b12c0cdd8d55cd930049bebc3127ee9cd1237ae220ef224d9a017aa2d69d9e",
    ".python-version": "7b55f8e67b5623c4bef3fa691288da9437d79d3aba156de48d481db32ac7d16d",
    "CLAUDE.md": "967e9f6e81edfdb930b8ad02b3abbc0907781374d24def92eab41e736f21057d",
    "LICENSE": "8327a84cbcb4f8e739ec1464e1001fd24a047ba64a16e8d45ca624913a7fe3a6",
    "README.md": "51dfbadc80733a7f18a4a747b82884f7ea4b580a1c8a28a7c823a5181966b6c9",
    "agents/estimator.md": "726100eb2474813bfea7e13eb8fe935ac56ed01d20406a0aa7d398fccdff0e01",
    "agents/implementer.md": "94ebf85eb8bca95a29c3c133e0ca73207cd7e697b1e8b9d9010d8e14aa530313",
    "agents/jira-analyst.md": "114d77ff51bdfb4229ff476d8d5448c2fcbebec4e167a0f09dc775ef9e5ea2ce",
    "agents/reviewer-qa.md": "eb09905f69c99507910e4cff423396df12a96a817aad981fc702fd16f0e3ca60",
    "examples/settings.json": "839ced3776ba788471bf2ba3b99743a5cce7db8a27fc2d3dc61e18bf5d58ca04",
    "hooks/guard_memory_writes.py": "9331e6f4dfea261fb30cd481ca7aed1221d19d1fd50d40b45e64eb077d83e676",
    "hooks/guard_tracker_writes.py": "bd01f822f6dbacf2d4fd5d35d41cd6aecd62e25ac6c33c7b090e2bb93f082489",
    "hooks/hooks.json": "2d2779a14189d81f20b4dde53187b4876d5d58949e83f093c9ff2eab7661d107",
    "hooks/run_tests.py": "5a021350eaae1139b4d544650fad7f85609b28bf3cefd87b35ea6ecbb1b07d22",
    "pyproject.toml": "a8cb8e95f3a3ffbcb86672336f79a1b92d53df77c2e29beece5516a3e2de8488",
    "results/2026-backtest.md": "fbb54173185257ce5d8e32e732769476d3dd021e1cbf1b670ec99894a329e84b",
    "skills/ticket/SKILL.md": "aebcc524537d449443b86ff0b7171bda9f75945847a23792222d9710d649b2a3",
    "src/agent_harness/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "src/agent_harness/baselines.py": "9181f057b80297756ff45b32a06e5a6a47eff08a977cfc357ca84a8c1bcf6cbf",
    "src/agent_harness/cli.py": "1411c1b47e2438bf9edb55d0391cca0e40c4a25aa30383f1f5075d05b718a0d3",
    "src/agent_harness/dataset.py": "e4c7accd53581dd98ef3a702d5b1b80a8907ebe0f2ad9352d30ce57abc9f8403",
    "src/agent_harness/llm.py": "d4aa386c3025d10a80d1ca75a8860d4d6c7ecaf5fc29fd0296d6353c35518ce8",
    "src/agent_harness/metrics.py": "a589f8a82536d80c14865112baf0f298a7b31e4923908a16dccebf9a62ff4f56",
    "src/agent_harness/py.typed": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "src/agent_harness/report.py": "664fb2c3312907a04571f16ab8cd0735626f7a5ea6a846cbc47c161f6d52a3b3",
    "src/agent_harness/runner.py": "17c65f9e54f6bba2675b0fbab84c32e183267f32637bb1ff3473dc14bab23ccc",
    "tests/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "tests/conftest.py": "33cf97e2f6a288136dab684ff300475aea3f1735c3f64258c7c573831bbed6b5",
    "tests/test_baselines.py": "692a79becdec07133e272decc4375af3e1d624b8478c2a533428c38c21da8e53",
    "tests/test_hooks.py": "2f059d504439b55900b8522c5562f58f37d9ab9443aa06db56f09386b28e9817",
    "tests/test_llm.py": "09782852d88e674ed93e657a32378a1c6a87b898ec46ca76c6a83329ec95748c",
    "tests/test_metrics.py": "99fc1c8b8c380826091e72d4729388e0ec0ac568a98e13241b3cbe482b1fdcc5",
    "tests/test_runner_and_report.py": "c54304cd0e7f65fe212c62daf2a6516fbe17750ddeec7f0b8f8ac3b7f69e7f39",
    "uv.lock": "0fef9bd232a1db35f37eed58673b124c02ff73e4acd2b8f36eb8c5703d636994"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-11-06T10:23:44Z",
  "source_date": "2026-11-06",
  "discovered_date": "2026-11-06",
  "retested_date": "2026-11-06",
  "reviewed_date": "2026-11-06",
  "published_date": "2026-11-06",
  "modified_date": "2026-11-06",
  "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 45 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-06T10:23:44Z: pinned source inspection"
  ],
  "application": {
    "name": "bondie/agent-harness — 3 hooks",
    "softwareVersion": "027baa790d4dd7db05dcd404eebb4c5a7f6b5442",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 45 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/ticket/SKILL.md\",\n        \"name\": \"ticket\",\n        \"description\": \"Work a tracker ticket end to end with the agent team - analyse, estimate, implement, review - with a person approving the estimate before any code is written and every write to the tracker. Use when the user asks to work on, take over, estimate or implement a ticket by its key, e.g. \\\"/agent-harness:ticket SHOP-412\\\".\",\n        \"files\": {\n          \"skills/ticket/SKILL.md\": \"aebcc524537d449443b86ff0b7171bda9f75945847a23792222d9710d649b2a3\"\n        }\n      }\n    ],\n    \"hooks\": [\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"2d2779a14189d81f20b4dde53187b4876d5d58949e83f093c9ff2eab7661d107\",\n        \"event\": \"PreToolUse\",\n        \"matcher\": \"mcp__.*\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"python3 \\\"${CLAUDE_PLUGIN_ROOT}/hooks/guard_tracker_writes.py\\\"\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"2d2779a14189d81f20b4dde53187b4876d5d58949e83f093c9ff2eab7661d107\",\n        \"event\": \"PreToolUse\",\n        \"matcher\": \"Write|Edit|MultiEdit|NotebookEdit\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"python3 \\\"${CLAUDE_PLUGIN_ROOT}/hooks/guard_memory_writes.py\\\"\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"2d2779a14189d81f20b4dde53187b4876d5d58949e83f093c9ff2eab7661d107\",\n        \"event\": \"PostToolUse\",\n        \"matcher\": \"Edit|Write|MultiEdit\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"python3 \\\"${CLAUDE_PLUGIN_ROOT}/hooks/run_tests.py\\\"\",\n          \"timeout\": 600\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "87a942aadfdfff1712b3bc748b9bae33bd82a401f1bd753c39aaa80c94b5b278",
      "commands.json": "7e411dc840bca06c8221a11068851f7898d9d68712debd0b2b18072cd296fe3c",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "275a92dc592331bc9c830be347961de802028756b7cb6374fad95a94c3a56577",
      "listing.json": "7990b0bfdb0cb21e54d155954d26acf04c7fea8847850ecaa8f4c307782e2d17",
      "selection.json": "ed2110916d1e37e96fb9fc2d082342d9ac2ee3f2e7951e9b8391fe6a2a8ec8c0"
    },
    "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 45 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): PreToolUse; PreToolUse; PostToolUse",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-11-06",
    "reviewed_sha256": "ddcd450b9f43479f05d9a8290ce2e55a6ea648564af35ecb2108c2426bc9f20a",
    "gates": "c8696cfbc3c8e7573a15402ef36b37c60604d814413d51ccd063183812492e16",
    "codex": "818fcde93036a9050c1b5c2f1a4e0e90b3da279fd87652eee47c17370befb99d",
    "grok": "c29ac81dcaf6c37f69dfc1a9aba1ea6415ecb7ad08d80def16c02a240b3c689c",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
