{
  "name": "amit429/understanding-map — 2 hooks",
  "slug": "source-hooks-5b899a73a9c70521cdd9d906",
  "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 2 hook declarations. Ran 88 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; Stop"
  ],
  "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/amit429/understanding-map",
  "documentation_url": "https://github.com/amit429/understanding-map",
  "commit": "177b5bdebc5c8e832d41d93de7a5180900733e62",
  "tree_sha256": "1ba60659ce6a8e0197d66e4904f9922479dfbf98b9ffd7f2a2673cda27484e1d",
  "file_sha256": {
    ".claude-plugin/marketplace.json": "2b74250bb5946ec95302a75fa158830afc9c16b9be653d7ac527d751f1fb4952",
    ".claude-plugin/plugin.json": "e925d5aa046bca3ac3cc110948295c49f97cae56992c6d29c955622014e98ced",
    ".gitignore": "16ae27d3e589a806bbeb27ef4a81150feb5e48dc567ab1d37b40349870edd278",
    "LICENSE": "12b59058e47441bec763a3c5b38ad123187d124bc972c811d0d2e814de39d1df",
    "README.md": "807ba6deff943a32e4beaee2b37c7e39e7645e3ab74d8dd79731d646a6f1b33b",
    "agents/answer-key-checker.md": "51cb9d3ff0054c03e9e05bea503f117685e666c6c7af4f396ed717f2518cecc6",
    "dist/umap.js": "b8d48efbc201a97fde00a19fbae52f31c851da794ce919883f5b36913c323443",
    "docs/how-it-works.md": "9ed53c37f102deb96626c196d73ca2bb9c155fd8c2b4ca9c1390500e2451b45c",
    "docs/media/launch-poster.png": "0dc73c223d342d8f7439378aab032e70c21ec2d7773a7b13441d85f040689345",
    "docs/media/understanding-map-launch.mp4": "beba733074695178a1d39e15db8d44fb3b3bbfb7710aa1db43b22068536398d7",
    "docs/plans/2026-11-12-understanding-map.md": "69e41834718bb83ac2e8830ed7143024e3261807d968517acbeee167aa4fb8b9",
    "docs/specs/2026-11-12-understanding-map-design.md": "0dca1c3103a0ba55b54f26cedaca6e7cad37db2390937909ab78ce760e7d801e",
    "docs/specs/2026-11-12-visualize-design.md": "aadf1d678c74cb7216001aa745d2d8226520faa31b87fcf434a98c71869f321e",
    "hooks/hooks.json": "398d72e61d400e027c74482f01215ff14bb4b0c4d4cfd2e8b08d6c17e2a92b0a",
    "package-lock.json": "929197ccf73e83a71c0c14ad5e69799aff2c528513a41292f281497d6f71e4fe",
    "package.json": "d675bbd4e951d62ba0217f9e43a0c7ee5609d0dc8ae2ef8ee55db56b5f27d28c",
    "scripts/build.mjs": "98f7882b102ddb38c93a73f67f0e7063b1775cbd194c719d7a5b16f2edc0bcd9",
    "skills/handoff/SKILL.md": "ca02789c6ef4de808e15ef4566973a44c7cda2d387f89b3577e3f1dfc551264a",
    "skills/learn/SKILL.md": "d1c47122d72b7ccf950d297b9777ccb9a7890c2e02556d3aa0491273d89ca427",
    "skills/map/SKILL.md": "1e92458e79f87c82b23b767a0ab1fab3bcceae25c0410c8b17e7b4617e8aaeca",
    "skills/setup/SKILL.md": "4286d9353324607755777f3c4ca71e0961b01a9ac7d8e5c82c1c880242ba1644",
    "skills/visualize/SKILL.md": "8bea683669941ef4b3f8081866a7d816d6c501929c46c1c084d8b0127c6fe1b4",
    "skills/who/SKILL.md": "172c97d023f2e3d95b90d88c7b629754dadbc772c1235b1f4cc43ab34a7b5cad",
    "src/attribution.ts": "daca8edd34ce6bfbc0a33c5fa7a2b3b92fa9f6010cc27aa17b1eb52fc2850f84",
    "src/cli.ts": "ed9207efa34eb0f9b20a5de0882a0eb059e912f12a5f2d21935559645ab2b92c",
    "src/config.ts": "417998ae18d353b9f9bec7172a3f960bedca462eb752ad163a2d08bbec3660d1",
    "src/context.ts": "498f9ef171513720f4f76b9d487966aef478ec86e95fe8d5c684ec971c097d95",
    "src/editlog.ts": "9ef9866d2cf2b3348e8664eef13117e6ceea1af54c58f56ddcb4935fd1ad5e0f",
    "src/events.ts": "80132c5bfd487cf93d8ab963889f179a12e891398c0cbf3edce8dc554dc8333d",
    "src/git.ts": "3683adfe4edea1020fad720d3d86b6463067cc37818d4b1f8170c2e71ef66fba",
    "src/hooks.ts": "4c7f93c7c736f555029526567ebb0ff0473d7772c3ce57ca6c7eb4ab7222143a",
    "src/html.ts": "fc080f7dad3d387ac96eeadf26c28cda31ed272f2822eab1ce9f1d2d63cdd483",
    "src/identity.ts": "f073520a0b277124937ef109b77e37a355aec274629080eb694f0f7f5e061b42",
    "src/imports.ts": "6870f7fdfd419e0ed483366956f1ee287a982c017ca1fee20d6e3db5c54a0f9e",
    "src/jsonl-union.ts": "c169d7072868c98d123e65a6c2fbca11616227a71e1ff02186ca3ee15d4cda42",
    "src/layout.ts": "7bff4a5a0ead1ceeeb4474bd4a7a2fce5578b1f3187cb132aa5de6b56d57fbe4",
    "src/pipeline.ts": "6bf0338a67b8a064383fa45895d35333f9d03f81d23fd7fe876832523eeb497d",
    "src/record.ts": "d66dad9d0ed93ce47a942878d0cab3674ce539e16d172a69fba45e063d9be98d",
    "src/report-template.ts": "7b8caa375e5e815fd9e4d79590c308e66160b5e2cd66712b0d87b485eb9947ae",
    "src/report.ts": "0334980267f5ecb3d7cf5a93a8e9c87d48344f13063c6e438c321aba81050cb3",
    "src/reviews.ts": "049bc4f0336815da25fec93c6836feb5b209a7e21ac705420a285f677e90b99e",
    "src/scoring.ts": "abb0521ee69fd98170e65cf6fa2458e11d3107173ee437a508ed26ba90439048",
    "src/setup.ts": "3a3803c1d97c8863d455ea8c70fe77512b48c76b206623670a5055373e0f366e",
    "src/storyboard.ts": "088288ed62bae7f072f1fc0633b16acf2e42ea902182698c2dbdcb0cbfaea850",
    "src/terminal.ts": "d97b1e69dbee520a2c8c720aac3833e7e954dbcd0745aa007584b029e759a542",
    "src/ts-paths.ts": "abacc37df0408b398124f68623a7db9d95aff8cc08c3ccbaaba2ae7e4eb5530e",
    "src/types.ts": "d150b561bfae8e4c5a0e673b50d041c48fc30b876f9bf2cf72f6302b8f464f1c",
    "src/visual-cache.ts": "172f3c6168613263fb885c44790b364e14d13b506807c232ea4b3acff610c243",
    "src/visual-store.ts": "c54f4a1f150d6ced7a478d837188e3404dbff3ad0711ed41881b81c6ca24c9e1",
    "src/visual-template.ts": "0b7ff1e6f093ca30c024e2a5136f30cab05d2a3aa8a55e6c7b06f87450050009",
    "src/visual.ts": "b2253d38e7e60d800de4c280cdbad5506adc0a9c24e0b6ab5e5d2bd67fdcdf88",
    "src/weights.ts": "a50f76b820e88e7f97d5548db6600f3a394acec13b62123bcf55e17a6d6fb30d",
    "src/zones.ts": "8dfcf71d43e97f64c8fb4967780878481ef710e88bd0dc64be41237fab101274",
    "test/attribution.test.ts": "a75d159100e0f2e88075fe28bb9358612fbea516813ef49308ae398ad931e49c",
    "test/cli.test.ts": "57d3bfd1dfbf9443b3fcc431e68b8900b7364ca8c35bf2b1da0b7557d9a83103",
    "test/config.test.ts": "d4bef2bba0bd951158430610cf879b04fb66bd6a2733264e6e757248c28ddb46",
    "test/context.test.ts": "a1aa956f054e85d12dfa25ac53b274b9389ca391559d71f514c419fe1142786a",
    "test/e2e.test.ts": "7b14cb170637e1b7fcd8549da938cf4d6b6467547517686de6316d624a05dc1f",
    "test/events.test.ts": "3c5faca494f7ba6a835cf61a32518ddf3908d44e85024f7268941f5248916d0b",
    "test/fixtures/session.jsonl": "8fd0ba6fbc1785a7c2dba96a2066c79ccd8290cf10551364e580fb2ac5e47587",
    "test/git.test.ts": "1f6eb49ded073cea653efeb5759e759baa2fbd1893a93ddb935e2c1486381caa",
    "test/helpers/fake-dom.ts": "4447af1475c41e7d5418798063ab6b3ba6dde5ca573d0874c598158c000ac03c",
    "test/helpers/fixture.ts": "0550d295f29e8c977cb047392c820e04abeabeca66effccf63f54ad3aab9b0e7",
    "test/helpers/journey.ts": "c828fd6e754900f2123a866e41a54e5d068e8be4dedb3942a4c2cc9ed6936102",
    "test/helpers/repo.ts": "98a4bb3e48ca7ee6c2eecd37fb2ea2191ab501e57773d22d04bada6d4a962efb",
    "test/hooks.test.ts": "3ce54e73c27f4f34afdbf3f02c7bfcec0e1033b8c0e46140bcd381ca97b941af",
    "test/imports.test.ts": "a6dbc5cdd5919d97b2f25ebd23e86ef46bf236a1d2a73df1504a61c3fb82ea12",
    "test/layout.test.ts": "51d8f32d7a74ee67da5921e5074b039b0cfc30aee298bb6c306ebb512bb487a3",
    "test/pipeline.test.ts": "b7ed0f7dc8c5e654b23e7efd2eb9997f4e8640a93717e5882572ba1df1021c40",
    "test/player.test.ts": "7a5f7aa4d98abe0ed0b7384a95f19b61c9de5b97955af83897b3c03c5cd8701e",
    "test/plugin.test.ts": "8b087e8dca296da19d09360d73ad007ca8c6effc79accf4d26b9708e3c915bdf",
    "test/record.test.ts": "af06c7c4a92a4cf3bf4a6bb4a20f8625beb6352510ff0ac08aff171754e07c97",
    "test/report.test.ts": "d7e8b8acb11552b10582770bd12871525203e74a3ab9a605b7daba4de57122d1",
    "test/reviews.test.ts": "98a900e8df31846f4d3452f744a38ebca12f5b8204c053ed6b64c1b905c47902",
    "test/scoring.test.ts": "acffaf4b17b3094bd4aca66260bd74d44f6ebebad4664903fd02d8e0dd3cc7de",
    "test/setup.test.ts": "8ac9994c5c29c7cd8f24862052da5e6482b573d58acb1d8ff2fc574073fa4c6b",
    "test/storyboard.test.ts": "7ce71044ae626cf6beca138631166b4fea9f85c0f9c13f471737be1a63e0d998",
    "test/ts-paths.test.ts": "dc905f53e64c502b69a301c3a0efb5d3888dadfa2383fc53acad8e91ead8d2e8",
    "test/visual-store.test.ts": "4dd7182d7ef6cc0f03aef64bffca6462d4410b3122bb78dcd52209d241ef88ee",
    "test/visual.test.ts": "0fe973b3dde681de3881b448a5cd978ec26dcc4cd205ddf46275d0157f1a2bc1",
    "test/zones.test.ts": "afef2295cee2a2596ce76099fbb2fc85fc42aefc97fb93334621184278724328",
    "tsconfig.json": "33fb2f5474208a6fa201fe1094cafac2e9020d670d72871ace7ca88694dd4f79",
    "vitest.config.ts": "124d98777a76b86256fd3f9592b443bd48143ad0b0dcd4cf014975451c8c7cb2"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-11-15T12:15:48Z",
  "source_date": "2026-11-12",
  "discovered_date": "2026-11-12",
  "retested_date": "2026-11-15",
  "reviewed_date": "2026-11-15",
  "published_date": "2026-11-15",
  "modified_date": "2026-11-15",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit 59be5eef48ee818fc15ae5350117fd7c9fb19b7d",
  "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 88 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-15T12:15:48Z: pinned source inspection"
  ],
  "application": {
    "name": "amit429/understanding-map — 2 hooks",
    "softwareVersion": "177b5bdebc5c8e832d41d93de7a5180900733e62",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 88 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/handoff/SKILL.md\",\n        \"name\": \"handoff\",\n        \"description\": \"Use when the user wants a quick 60-second check that they understand what an AI agent just changed in this repository, after the Understanding Map nudge (\\\"Agents changed ~N lines… run /understanding-map:handoff\\\"), or wants to skip or clear that check.\",\n        \"files\": {\n          \"skills/handoff/SKILL.md\": \"ca02789c6ef4de808e15ef4566973a44c7cda2d387f89b3577e3f1dfc551264a\"\n        }\n      },\n      {\n        \"path\": \"skills/learn/SKILL.md\",\n        \"name\": \"learn\",\n        \"description\": \"Use when the user wants to understand a part of this repository they did not write or have forgotten (often AI-written code), wants a short guided tour of a zone with a few questions to check their understanding, or wants to move a zone on the Understanding Map from Dark or Fading to understood.\",\n        \"files\": {\n          \"skills/learn/SKILL.md\": \"d1c47122d72b7ccf950d297b9777ccb9a7890c2e02556d3aa0491273d89ca427\"\n        }\n      },\n      {\n        \"path\": \"skills/map/SKILL.md\",\n        \"name\": \"map\",\n        \"description\": \"Use when the user wants to know which parts of this repository nobody understands well enough to explain, debug or safely change, where comprehension debt from AI-written code is worst, or wants the Understanding Map summary and HTML report.\",\n        \"files\": {\n          \"skills/map/SKILL.md\": \"1e92458e79f87c82b23b767a0ab1fab3bcceae25c0410c8b17e7b4617e8aaeca\"\n        }\n      },\n      {\n        \"path\": \"skills/setup/SKILL.md\",\n        \"name\": \"setup\",\n        \"description\": \"Use when the user wants to set up Understanding Map in this repository, switch it between solo and team mode, or mark which paths are critical. Also runs on first use, before the first map or learning session.\",\n        \"files\": {\n          \"skills/setup/SKILL.md\": \"4286d9353324607755777f3c4ca71e0961b01a9ac7d8e5c82c1c880242ba1644\"\n        }\n      },\n      {\n        \"path\": \"skills/visualize/SKILL.md\",\n        \"name\": \"visualize\",\n        \"description\": \"Use when the user wants to see how a part of this repository works as a picture or animation, wants a visual walkthrough of a zone (what it does for the product and how it works inside), or asks to visualise a zone, folder or file after or before a learning session.\",\n        \"files\": {\n          \"skills/visualize/SKILL.md\": \"8bea683669941ef4b3f8081866a7d816d6c501929c46c1c084d8b0127c6fe1b4\"\n        }\n      },\n      {\n        \"path\": \"skills/who/SKILL.md\",\n        \"name\": \"who\",\n        \"description\": \"Use when the user asks who understands a file, directory or zone of this repository, who they could ask about some code, or whether anyone at all still understands it (bus factor), with the evidence behind each estimate.\",\n        \"files\": {\n          \"skills/who/SKILL.md\": \"172c97d023f2e3d95b90d88c7b629754dadbc772c1235b1f4cc43ab34a7b5cad\"\n        }\n      }\n    ],\n    \"hooks\": [\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"398d72e61d400e027c74482f01215ff14bb4b0c4d4cfd2e8b08d6c17e2a92b0a\",\n        \"event\": \"PostToolUse\",\n        \"matcher\": \"Edit|Write|MultiEdit|NotebookEdit\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"command -v node >/dev/null 2>&1 && node \\\"${CLAUDE_PLUGIN_ROOT}/dist/umap.js\\\" hook post-tool-use || true\"\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"398d72e61d400e027c74482f01215ff14bb4b0c4d4cfd2e8b08d6c17e2a92b0a\",\n        \"event\": \"Stop\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"command -v node >/dev/null 2>&1 && node \\\"${CLAUDE_PLUGIN_ROOT}/dist/umap.js\\\" hook stop || true\"\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "a913d228cf039e805f4c7cb68f8c97d1149cc6357b845853ba655b8d68371161",
      "commands.json": "b3ee84c77c173b56863610cb2934b2a90c0d4c6542f6498f0c581465ce0d30d9",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "4e2dd22f328afc2a7c9f263bf33e5de1d6053b8951c2ceb5a77a3f6e3fa7ef2d",
      "listing.json": "c1df71544ad8398d94a31b3dd2150f1b4fa7650b04933ff732d7bc03f1e7829d",
      "selection.json": "e6642feb7258a62305fefb61ff29d01ee87fbf78938cb4668445ab18a039080d"
    },
    "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 2 hook declarations. Ran 88 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; Stop",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-11-15",
    "reviewed_sha256": "85b33773fe3331f9ae5caae28403cd9f44492d327bcca8995e5493cc6a8aa163",
    "gates": "5dd04a39256ed46c68336531da406da4b88b809108e4ab8e21d956939d5fd21e",
    "codex": "8470a1989465f818bfc780b45bb857b48de2df7493e5fbcb6d05882c49c4aecb",
    "grok": "6d745726269d296d6bda32f27f1ad8049421fd4701a75e424d611c01f0583f76",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
