{
  "name": "ilkemerol/foreman — 7 hooks",
  "slug": "source-hooks-c5cf78e9d107c92208785b7a",
  "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 7 hook declarations. Ran 32 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): SessionStart; PreToolUse; PreToolUse; PostToolUse; SubagentStart; SubagentStart; 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/ilkemerol/foreman",
  "documentation_url": "https://github.com/ilkemerol/foreman",
  "commit": "3693de8737dddc510aa3726c7eb8d0f5ee330828",
  "tree_sha256": "ed9a858a0aa4ca640287ab8b152c450b4c70572ebe5aaf740cb7ac07bc05a065",
  "file_sha256": {
    ".claude-plugin/marketplace.json": "957e4f2ed97e92f2d7d4d02baef7e0bbaa7fc754e1f22e99e8049d2295c6b792",
    ".claude-plugin/plugin.json": "60a94a2a8adc9852902e068d5cbd6d0ee2d5a4998e295111b39f9862c9f21591",
    ".gitattributes": "d60f352d0db1404c70afb4bb8b2ca3fd1c610572aa40720e8a0b7baa7885418c",
    "INSTALL.md": "8fc44c7a0df6d3f567f8952eac8f7f8ba9efe66ec1fa236be9982abfd6b56255",
    "LICENSE": "418ef94cf04c9c95c9a76db2d9b2d081f594b0d43cb2c93641fb1e1cb9a4d7d7",
    "README.md": "03a2d70651bd8b599303b4e68f588ca3ff6c72ef57895c0a7051faafe43cd075",
    "SKILL.md": "ab1da8b3848e73cb2602797d2eef2d52155e3d43189e23e088dd751d94704dd1",
    "assets/badges.py": "fcf0ada918a99edf880c31fcd44a0341afecd0549303e8080dfa9ddf0797bca0",
    "assets/badges.svg": "5db21de0d9c706aa7b276f5beb3b713bac207667f21761474605089edee9e663",
    "assets/banner.py": "bd0528782941491e21623c27442c6941a68dda9df10ea79d53285b70aad55794",
    "assets/foreman.svg": "c6d51659ab1131ca22c1046d0ee0eb0b477e3db6a300fb42f9f4ba37bef731fc",
    "bin/foreman-state.sh": "9cc78d9840a57d112964083ef1bca2319b509332bfa8c2851c60dc2e6879d7ce",
    "bin/foreman-statusline.sh": "c56c8d876b822e5cc20e8109107f9a2843f2db308a57d972654123aa7c463fa3",
    "bin/foreman-vision.sh": "a7982bb81943f25cc70d14e730694e867d7fe371bf606268c0a464f2d22624b3",
    "eval/SCENARIOS.md": "5b51cf091a471d284602f88c1862e7fc8135f8f495fe707ccda1e4fcc4dba36e",
    "eval/check.sh": "6749b3dc429e8d11a574baba4d31c277ab80479a9a95db6dada419dcf3afaf3b",
    "hooks/board-sync.sh": "af444f5a9a9ad7f27158d4d81f47bf24a735c5b0715b0612b693aa30e0d3a37f",
    "hooks/hooks.json": "77dae99778e23b5a97807a47d8be51114b04f835f206dbc65ba6174d10b8b6af",
    "hooks/master-edit-guard.sh": "b019c0b039e3fec33d118f4305529967baad325ddfa819f381c22ecc5c42fc2f",
    "hooks/nested-agent-guard.sh": "697dc5fedd0694740b7b81256ef9edd4668fa70cdc3ad50c5681965685da2a59",
    "hooks/session-start.sh": "266394bb38bb187af43dcc73d48b554f561faff93033e1440efc1127feb90e98",
    "hooks/subagent-contract.sh": "786663ed1370785e14f3a370da1517650f55c81178815026cbe4b83af37dd869",
    "references/agent-contract.md": "76ccd3a756d3eca4042256a766d1f17712ff26dc9d6c02940567886d5aba9576",
    "references/beads.md": "0492e8a12a314a08539ee66d09b91dc57d9cbee58b3541b9a923fa804156e150",
    "references/called-skills.md": "efe2971fddca0da41945d0ddbdc4e80be376ebdd078812da6bfb6d9c02ccc8cc",
    "references/one-shot.md": "7dd0e5e970f97113c28379b3d581c5980ca0ea462f2b4186b1ac72d0e17d7ff6",
    "references/wiring.md": "7885b4aafbb673713308c9d8c05e2a37d78e46917506544fac598a316cb40804"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-10-30T21:24:37Z",
  "source_date": "2026-10-30",
  "discovered_date": "2026-10-30",
  "retested_date": "2026-10-30",
  "reviewed_date": "2026-10-30",
  "published_date": "2026-10-30",
  "modified_date": "2026-10-30",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit cfa34b87e7029c8a033eebfc5fba24e043922755",
  "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 32 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-10-30T21:24:37Z: pinned source inspection"
  ],
  "application": {
    "name": "ilkemerol/foreman — 7 hooks",
    "softwareVersion": "3693de8737dddc510aa3726c7eb8d0f5ee330828",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 32 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\": \"SKILL.md\",\n        \"name\": \"foreman\",\n        \"description\": \"Orchestrator mode - the main session plans and delegates the task's work to spawned subagents instead of doing it inline. Only triggered explicitly by the user via \\\"/foreman on|off|status\\\", \\\"/foreman <task>\\\" or \\\"/foreman <skill> <args>\\\" (as a plugin, the full name is /foreman:foreman).\",\n        \"files\": {\n          \".claude-plugin/marketplace.json\": \"957e4f2ed97e92f2d7d4d02baef7e0bbaa7fc754e1f22e99e8049d2295c6b792\",\n          \".claude-plugin/plugin.json\": \"60a94a2a8adc9852902e068d5cbd6d0ee2d5a4998e295111b39f9862c9f21591\",\n          \".gitattributes\": \"d60f352d0db1404c70afb4bb8b2ca3fd1c610572aa40720e8a0b7baa7885418c\",\n          \"INSTALL.md\": \"8fc44c7a0df6d3f567f8952eac8f7f8ba9efe66ec1fa236be9982abfd6b56255\",\n          \"LICENSE\": \"418ef94cf04c9c95c9a76db2d9b2d081f594b0d43cb2c93641fb1e1cb9a4d7d7\",\n          \"README.md\": \"03a2d70651bd8b599303b4e68f588ca3ff6c72ef57895c0a7051faafe43cd075\",\n          \"SKILL.md\": \"ab1da8b3848e73cb2602797d2eef2d52155e3d43189e23e088dd751d94704dd1\",\n          \"assets/badges.py\": \"fcf0ada918a99edf880c31fcd44a0341afecd0549303e8080dfa9ddf0797bca0\",\n          \"assets/badges.svg\": \"5db21de0d9c706aa7b276f5beb3b713bac207667f21761474605089edee9e663\",\n          \"assets/banner.py\": \"bd0528782941491e21623c27442c6941a68dda9df10ea79d53285b70aad55794\",\n          \"assets/foreman.svg\": \"c6d51659ab1131ca22c1046d0ee0eb0b477e3db6a300fb42f9f4ba37bef731fc\",\n          \"bin/foreman-state.sh\": \"9cc78d9840a57d112964083ef1bca2319b509332bfa8c2851c60dc2e6879d7ce\",\n          \"bin/foreman-statusline.sh\": \"c56c8d876b822e5cc20e8109107f9a2843f2db308a57d972654123aa7c463fa3\",\n          \"bin/foreman-vision.sh\": \"a7982bb81943f25cc70d14e730694e867d7fe371bf606268c0a464f2d22624b3\",\n          \"eval/SCENARIOS.md\": \"5b51cf091a471d284602f88c1862e7fc8135f8f495fe707ccda1e4fcc4dba36e\",\n          \"eval/check.sh\": \"6749b3dc429e8d11a574baba4d31c277ab80479a9a95db6dada419dcf3afaf3b\",\n          \"hooks/board-sync.sh\": \"af444f5a9a9ad7f27158d4d81f47bf24a735c5b0715b0612b693aa30e0d3a37f\",\n          \"hooks/hooks.json\": \"77dae99778e23b5a97807a47d8be51114b04f835f206dbc65ba6174d10b8b6af\",\n          \"hooks/master-edit-guard.sh\": \"b019c0b039e3fec33d118f4305529967baad325ddfa819f381c22ecc5c42fc2f\",\n          \"hooks/nested-agent-guard.sh\": \"697dc5fedd0694740b7b81256ef9edd4668fa70cdc3ad50c5681965685da2a59\",\n          \"hooks/session-start.sh\": \"266394bb38bb187af43dcc73d48b554f561faff93033e1440efc1127feb90e98\",\n          \"hooks/subagent-contract.sh\": \"786663ed1370785e14f3a370da1517650f55c81178815026cbe4b83af37dd869\",\n          \"references/agent-contract.md\": \"76ccd3a756d3eca4042256a766d1f17712ff26dc9d6c02940567886d5aba9576\",\n          \"references/beads.md\": \"0492e8a12a314a08539ee66d09b91dc57d9cbee58b3541b9a923fa804156e150\",\n          \"references/called-skills.md\": \"efe2971fddca0da41945d0ddbdc4e80be376ebdd078812da6bfb6d9c02ccc8cc\",\n          \"references/one-shot.md\": \"7dd0e5e970f97113c28379b3d581c5980ca0ea462f2b4186b1ac72d0e17d7ff6\",\n          \"references/wiring.md\": \"7885b4aafbb673713308c9d8c05e2a37d78e46917506544fac598a316cb40804\"\n        }\n      }\n    ],\n    \"hooks\": [\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"77dae99778e23b5a97807a47d8be51114b04f835f206dbc65ba6174d10b8b6af\",\n        \"event\": \"SessionStart\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"bash \\\"${CLAUDE_PLUGIN_ROOT}/hooks/session-start.sh\\\"\",\n          \"timeout\": 5\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"77dae99778e23b5a97807a47d8be51114b04f835f206dbc65ba6174d10b8b6af\",\n        \"event\": \"PreToolUse\",\n        \"matcher\": \"Agent|Task|SendMessage|Workflow|CronCreate|RemoteTrigger|EnterWorktree|Skill|Monitor\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"bash \\\"${CLAUDE_PLUGIN_ROOT}/hooks/nested-agent-guard.sh\\\"\",\n          \"timeout\": 5\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"77dae99778e23b5a97807a47d8be51114b04f835f206dbc65ba6174d10b8b6af\",\n        \"event\": \"PreToolUse\",\n        \"matcher\": \"Edit|Write|NotebookEdit\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"bash \\\"${CLAUDE_PLUGIN_ROOT}/hooks/master-edit-guard.sh\\\"\",\n          \"timeout\": 5\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"77dae99778e23b5a97807a47d8be51114b04f835f206dbc65ba6174d10b8b6af\",\n        \"event\": \"PostToolUse\",\n        \"matcher\": \"Agent|Task\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"bash \\\"${CLAUDE_PLUGIN_ROOT}/hooks/board-sync.sh\\\"\",\n          \"timeout\": 5\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"77dae99778e23b5a97807a47d8be51114b04f835f206dbc65ba6174d10b8b6af\",\n        \"event\": \"SubagentStart\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"bash \\\"${CLAUDE_PLUGIN_ROOT}/hooks/board-sync.sh\\\"\",\n          \"timeout\": 5\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"77dae99778e23b5a97807a47d8be51114b04f835f206dbc65ba6174d10b8b6af\",\n        \"event\": \"SubagentStart\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"bash \\\"${CLAUDE_PLUGIN_ROOT}/hooks/subagent-contract.sh\\\"\",\n          \"timeout\": 5\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"77dae99778e23b5a97807a47d8be51114b04f835f206dbc65ba6174d10b8b6af\",\n        \"event\": \"SubagentStop\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"bash \\\"${CLAUDE_PLUGIN_ROOT}/hooks/board-sync.sh\\\"\",\n          \"timeout\": 5\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "9cfbe494ef14701fa9802e630dd867cfe47ed20c4a3b6bf8ba09e1c58c4f05c9",
      "commands.json": "d581c1868d0d401a0bbe8300b5a0dd6796ad9f6dc289aa192a3919309cc3d5be",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "fa6643c3d44f322680b95acf0022156f2f033691da2a039075d140bbc8b64725",
      "listing.json": "6e55100aad9b9feda36a2288304a951976f768646ae0416b5095c00465b5d597",
      "selection.json": "e81b6a9993ad4ba37925987d1334783cf743a32bad4ac0cc3ccf080d60f55310"
    },
    "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 7 hook declarations. Ran 32 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): SessionStart; PreToolUse; PreToolUse; PostToolUse; SubagentStart; SubagentStart; SubagentStop",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-10-30",
    "reviewed_sha256": "b9b18b0c379a4f9ff56bda302fbe0d679a0cc63f15e7889990a648012fb92572",
    "gates": "e88e06893bc005f6b1e8e31b3b41459bd1c55b84b37b45c3c1c9b0026f7bc061",
    "codex": "d37eff2375bb95da3dfddc67ec53f2d8410efa1ef0d346deeab431037545f69d",
    "grok": "1941581a175947c83b8cd88e58f3473b765a07f2a91cd7953d8c18bfcfb669e0",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
