{
  "name": "CuppaTea1983/cfqm — 4 hooks",
  "slug": "source-hooks-2d5594fc55038ea25ea3285e",
  "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 4 hook declarations. Ran 18 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; PreCompact; PostCompact; UserPromptSubmit"
  ],
  "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/CuppaTea1983/cfqm",
  "documentation_url": "https://github.com/CuppaTea1983/cfqm",
  "commit": "f07dabde212a156994316ccb6999f1f9ccfa5c29",
  "tree_sha256": "89b25685683d78c500b13ec6528971dfdb850c3bd85f6153d4f4c51350ba4132",
  "file_sha256": {
    ".claude-plugin/marketplace.json": "781f44e9d4ce030c401bb93cc4b165cfe2472b09ca165b2e50f5f8280aff1df4",
    ".gitignore": "5b47e41d0ec4e2701998bd7b1e48e46089d540a3fd4ff0305331deeb2984f07e",
    "LICENSE": "006d64430688ccca598265e6b7486c338d1d1aceb579101dc8627eced6cf9991",
    "README.md": "c8f6801434219e103696a57863e650aba9a92d603b1b125158928b08e9aec7d4",
    "plugins/cfqm/.claude-plugin/icon.png": "165b014c884b5dc251e052c8593b1c9ce548c657fb547185300bda46b6362565",
    "plugins/cfqm/.claude-plugin/plugin.json": "8ed5a493e49fcb0d22d57aa37377a8b4cb6136d25267c2af51f9a971dfa8f2a4",
    "plugins/cfqm/README.md": "072636d187d5d2514132707bf5923813b96d3c31d85a043202d83bbdefdfd0b8",
    "plugins/cfqm/hooks/hooks.json": "14e31a57c9a19fdb7500cb42fe3a611614c318954dbb2daf8c913cb3b2dd5ed3",
    "plugins/cfqm/scripts/cfqm.py": "310b20f75da1b82c27bc2ddaa413eca32480c87d75c2d9ab83d5bdbbe6bb8c99",
    "plugins/cfqm/scripts/cfqm.sh": "3e373bff0871715dff6c7f9e21d1fdfe7cffb0d585bd0dc2eb92158b5a99b97a",
    "plugins/cfqm/scripts/windows_notes.md": "1df336aae70cd6bc7a9a392b377a9d50c711e21023c6b49a4b97336b836b2af2",
    "plugins/cfqm/skills/cfqm/SKILL.md": "cb3b20972746a56c6a126568dcb8999496507cecb71bcf0510a5eb395fb40cf0",
    "plugins/cfqm/skills/cfqm/template.md": "c7bb93adc65768c80f9f46cccf7d988f0e14d72849f9e37fad343c4e2570a5dd"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-11-04T13:01:43Z",
  "source_date": "2026-11-04",
  "discovered_date": "2026-11-04",
  "retested_date": "2026-11-04",
  "reviewed_date": "2026-11-04",
  "published_date": "2026-11-04",
  "modified_date": "2026-11-04",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit 315e99350765ac8b562721804e18fe9fccd71fb7",
  "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 18 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-04T13:01:43Z: pinned source inspection"
  ],
  "application": {
    "name": "CuppaTea1983/cfqm — 4 hooks",
    "softwareVersion": "f07dabde212a156994316ccb6999f1f9ccfa5c29",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 18 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\": \"plugins/cfqm/skills/cfqm/SKILL.md\",\n        \"name\": \"cfqm\",\n        \"description\": \"Keeps this project's CFQM.md true. CFQM.md is the session memory that the cfqm hooks print back into the session after every compaction, resume and clear. Use when a \\\"[cfqm]\\\" nudge appears, when the restore says NOW was not rewritten, at a milestone (something finished, a decision made, the plan changed), when the user says something about themselves or how to work that should outlast this session, before a long session ends, or when the user runs /cfqm.\",\n        \"files\": {\n          \"plugins/cfqm/skills/cfqm/SKILL.md\": \"cb3b20972746a56c6a126568dcb8999496507cecb71bcf0510a5eb395fb40cf0\",\n          \"plugins/cfqm/skills/cfqm/template.md\": \"c7bb93adc65768c80f9f46cccf7d988f0e14d72849f9e37fad343c4e2570a5dd\"\n        }\n      }\n    ],\n    \"hooks\": [\n      {\n        \"path\": \"plugins/cfqm/hooks/hooks.json\",\n        \"sha256\": \"14e31a57c9a19fdb7500cb42fe3a611614c318954dbb2daf8c913cb3b2dd5ed3\",\n        \"event\": \"SessionStart\",\n        \"matcher\": \"startup|resume|clear|compact\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"sh \\\"${CLAUDE_PLUGIN_ROOT}/scripts/cfqm.sh\\\" restore\",\n          \"timeout\": 20,\n          \"statusMessage\": \"CFQM: restoring the session memory\"\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"plugins/cfqm/hooks/hooks.json\",\n        \"sha256\": \"14e31a57c9a19fdb7500cb42fe3a611614c318954dbb2daf8c913cb3b2dd5ed3\",\n        \"event\": \"PreCompact\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"sh \\\"${CLAUDE_PLUGIN_ROOT}/scripts/cfqm.sh\\\" precompact\",\n          \"timeout\": 20,\n          \"statusMessage\": \"CFQM: snapshot, and asking the compaction for a fresh NOW\"\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"plugins/cfqm/hooks/hooks.json\",\n        \"sha256\": \"14e31a57c9a19fdb7500cb42fe3a611614c318954dbb2daf8c913cb3b2dd5ed3\",\n        \"event\": \"PostCompact\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"sh \\\"${CLAUDE_PLUGIN_ROOT}/scripts/cfqm.sh\\\" postcompact\",\n          \"timeout\": 20,\n          \"statusMessage\": \"CFQM: filing the compaction's NOW\"\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"plugins/cfqm/hooks/hooks.json\",\n        \"sha256\": \"14e31a57c9a19fdb7500cb42fe3a611614c318954dbb2daf8c913cb3b2dd5ed3\",\n        \"event\": \"UserPromptSubmit\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"sh \\\"${CLAUDE_PLUGIN_ROOT}/scripts/cfqm.sh\\\" nudge\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "09a049bdbeb1d7be3a8e2ff72843531d4a540f076fc2ed963099359d7be382bd",
      "commands.json": "71acaf0e32c08c8ce657a6cc8eadb7ae30e7cf357d6668b22e59cff8fd83be21",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "3a2e4cce2b63deda37428704686107816e383e1be28609ce6640c4cdccb0f1a3",
      "listing.json": "6e7bd18bb491d27cf1100f96d58751331952c1d8f30e937d5cd576dafd189010",
      "selection.json": "3347942bcef96d0e96915c985894c6fcdbd2d7c4e7c20dca48bd2e9f0b1d7c21"
    },
    "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 4 hook declarations. Ran 18 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; PreCompact; PostCompact; UserPromptSubmit",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-11-04",
    "reviewed_sha256": "b266def78a78bb4ebf5fbd803ea2024de9e15311003933dbba3faa19f1c3c489",
    "gates": "25e34cb63d166574a72ca85d515cf90ef9afacb8e15ab990b39043e7f3e4ac85",
    "codex": "c7e09c7123278911824e4422c3a61bef97914d79f4757038f830979cb158a3d4",
    "grok": "0c57c70aa0f193f78a11a9b1acb08f1754949a07e4b74e33855e53392804ce84",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
