{
  "name": "AmirHoseinSafari/Vibe-Rails — 2 hooks",
  "slug": "source-hooks-f8b37c2ecd69789be23a8a73",
  "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 59 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"
  ],
  "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/AmirHoseinSafari/Vibe-Rails",
  "documentation_url": "https://github.com/AmirHoseinSafari/Vibe-Rails",
  "commit": "2e1d3e485eb8f4654260668448f6dff0e853e22c",
  "tree_sha256": "59ede8bc95ee6b8074e35b42589267e703b20d890915f038b6b3f128b8716a15",
  "file_sha256": {
    ".claude-plugin/icon.png": "7275ed14e7b2dae98df1985b01fcbb9ffda140e896788a79f1cb80cfee45de58",
    ".claude-plugin/marketplace.json": "80bcecf2738653ad353c5100d5fcee7c7d71fe3ff31bcf89ce727d3ef387feb2",
    ".claude-plugin/plugin.json": "7737782e453f29d007565840b20ca21edf3c77752fad01b13a5e9879555497bb",
    ".githooks/pre-commit": "e0233e61564dea8d6c7968f90b1eede5e5153d210197d89dcca301116e266389",
    ".github/ISSUE_TEMPLATE/bug.yml": "6a9c8b4cba69373a3d0aaf9b957f6c47081dade18a175a6669d12be439030402",
    ".github/ISSUE_TEMPLATE/config.yml": "13064e7bea658e01e718b414fbb7b3b244f36411fe25ee2055c151f7b534547a",
    ".github/ISSUE_TEMPLATE/idea.yml": "2ba2f6100f17dfe6a019d2d777848fa00a15dd3459735fc8b77cb1e1a95d1e33",
    ".github/ISSUE_TEMPLATE/template.yml": "29fae0fcb0e9414f2eedaa9e7b4da3be9b17af9954fc9b58d0170a346cef24ef",
    ".github/workflows/test.yml": "c731ca30880da32cda24fd165c1ebaa51542e9df278bb1145bc743b6bcd53301",
    ".gitignore": "f099257dac11b23ea83db87c1375ea7decce6a2f45044691607ad05252f6574d",
    "CHANGELOG.md": "e1c039c1ed12eb3cf375bb8a8e155c8f4fcf47001decf95ee6a401cbef0ee708",
    "CLAUDE.md": "5bd48bb28ac9133958c23a83a6d5df94bd8f70ffec1678688fcdfe93f8a5b7fb",
    "CONTRIBUTING.md": "e100540139172ef1e9cc0ccfdcba55ec78b58dcd541779c1192597aa8f4c3796",
    "LICENSE": "7c104934d71a3e0b5e1670069568fcc6d0a6a990574a893669bf895934164ad8",
    "README.md": "c9c1b825ee75fdb8332e4597764175359c25cfb9d42f4b05bd2bca9afc7d46e5",
    "TODO.md": "b07b3559335efc62e9c04ce2ba1efd1896cd0636910275bd34c49f4c73e00368",
    "assets/icon.svg": "6ca9d146297bedda44dbe6337fa6ddfe3e5d81dbf0c0f5a75a92c119a4e90b8b",
    "bin/vibe-rails": "668d3d8550aad8ef233a17bcd8d63096b822cfc762c2c460fc5d7e8f821ca880",
    "docs/ARCHITECTURE.md": "3646fd64f139c6c5bcdb8f6adab3cdc239ef82c3b8ea0b82314d4dd74db70262",
    "docs/GITHUB_APP.md": "cdc714178363909cb5d876efed1355b55191199358d6234b886366dc899dcec5",
    "docs/LAUNCH.md": "527a336f77521b9f6a2960cb066e85f04666f989a622b2fa76ecc36ffc58cd19",
    "docs/ROADMAP.md": "d2300fd6093a5c14c593c3744c23549ce807072c832eaebd92b5f3049e2777f5",
    "hooks/hooks.json": "b403cd4647880e15862097c2d741c2f2c11ae6f842c87916487da61c3de0df85",
    "package.json": "e8453a37ec85024cd5eea18c95a6e745e059904d6f7ba260a1c81119c7dc4c7f",
    "skills/bug/SKILL.md": "b3725d679924ab97411fe2c7b2f3b964a4fa5e5dd46099729141a675f2a4487b",
    "skills/feature/SKILL.md": "8ed0ea1e25e52b5006345de03811856aacd9a329038268cd56afba4e6e567be3",
    "skills/start/SKILL.md": "489a4fc729b36f31e03f03b01b7626163b7410c88cbf31ae904a16ce9129c89a",
    "src/cli.js": "1f2c022514a5256511ceff743bac3a7284cbe8a6241d5b57ff3cc2851b419490",
    "src/commands.js": "37d158a664ca954636f766e2a60a0595ebb3af42bbc8532c92e6f18e98c66c7e",
    "src/hook.js": "d7b90d9dbb4133492cda73339acfbafd42dcbbd5f9f939b2ff357a3732ea48c4",
    "src/lib/git.js": "cee7b8133e34688ddb2359b56d6ccfe98500a84029bca3564b52b9c74507f9b8",
    "src/lib/github.js": "45eb9dcf849a597fb188b4bf0e8b3f7057d597c7440d7507659a00cf4b746808",
    "src/lib/project.js": "0cf54f792db59c48565e6f582878ef93c15dd851a844d1cf06183ae0ba31174a",
    "src/lib/render.js": "97b26baff769aad0c457ec0f6e9369e814f9b9eaa355112511faef6219bc1ec9",
    "src/lib/structure.js": "c1e9ed97fed6a06d79fe8891c86d598a9fb452f3cd0cad39b8b7334b7ac1a8a4",
    "src/lib/tests.js": "f5b3a4a0dd3f10e79461cd825f033022670af84c723c71085ca92de43d4dba1d",
    "templates/web-basic/files/CLAUDE.md": "9496a1ba4fcff80403388201acfe1fb846a6a0354a9811db1e1e3ca6fb20363e",
    "templates/web-basic/files/gitignore": "3a3bcf768c25d0483b1e4b81f5a2879def4f8160c994929ae3a997511dbd84ae",
    "templates/web-basic/files/index.html": "4e923fede5760da618f8f5cd01940ff58cf08763aeebd7059a91716715e54ffb",
    "templates/web-basic/files/package.json": "8d25ac96a0a0d0cf4cae252c78b27f9347a1832f6904bc76c459c406c07cc4b2",
    "templates/web-basic/files/src/App.test.tsx": "76b477a687234f3145cc574806a8a22a8c6def6d93c3ded73b9bd98b486ca678",
    "templates/web-basic/files/src/App.tsx": "85c25f844ff9898e0a204f066583b12808ef79c4327e993b80b42b82e1e6c97f",
    "templates/web-basic/files/src/data/storage.test.ts": "3705f380bea1e7cfbac370d0933257e0639b3f21aa24162e4351c5f40281ac31",
    "templates/web-basic/files/src/data/storage.ts": "7f87ef6205fbbec02dff6c1b83e7767278103a89244e18c42b91ebadb5e0beab",
    "templates/web-basic/files/src/main.tsx": "f11b5c2fb8b63400f9ddecc0948af6b9292b128c90c0e8a7c51463f2b6bec8b0",
    "templates/web-basic/files/src/test-setup.ts": "aa995b003ae9ccf981d4cf841eec213566244bd34dac2172f061a1b07d80ec30",
    "templates/web-basic/files/tsconfig.json": "c76e181ef8269f86ee0ff6ec00d9a3e1a142b8fc6e29bf28d0ef5108fc500fa8",
    "templates/web-basic/files/vite.config.ts": "cd9105dd028438eb3cfb28c6f15938f443a0c9f7559797b97f9e369fa4a35743",
    "templates/web-basic/stack.json": "b49ed5cf977e31cddb82ccea318876c69304acd67509fc04cedcbe775d9a8f65",
    "test/cli.test.js": "557acc624ad2fdb609a71520770e3866ee11ca3160046379939d7d324d366dd2",
    "test/fixtures/fake-stack/files/dev-server.cjs": "a41338ca9efdf7a3a672d5d61cf84fea45f39481226a78b46c89df37bf2bd099",
    "test/fixtures/fake-stack/files/run-tests.cjs": "c117250ad3c2645da76b54c99bd63db59276c1677ba2b88c8c00921863792927",
    "test/fixtures/fake-stack/files/tests.json": "6d2790f6b752cdf3356166fed41a643b74c53452198203f3284045d5464102cb",
    "test/fixtures/fake-stack/stack.json": "0926425787aaa3d99b7047dbddc8942c192f03cb374771234078d7b48297704a"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-11-22T23:06:45Z",
  "source_date": "2026-11-17",
  "discovered_date": "2026-11-17",
  "retested_date": "2026-11-22",
  "reviewed_date": "2026-11-23",
  "published_date": "2026-11-23",
  "modified_date": "2026-11-23",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit 2af5e8f14b9fc723e51bbf977c7e85e324078d6a",
  "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 59 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-22T23:06:45Z: pinned source inspection"
  ],
  "application": {
    "name": "AmirHoseinSafari/Vibe-Rails — 2 hooks",
    "softwareVersion": "2e1d3e485eb8f4654260668448f6dff0e853e22c",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 59 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/bug/SKILL.md\",\n        \"name\": \"bug\",\n        \"description\": \"Fix something that is broken or not working as expected in an app built with Vibe Rails. Use when the user reports a bug, a problem, an error, or says something does not work, in a folder that contains a .vibe-rails directory.\",\n        \"files\": {\n          \"skills/bug/SKILL.md\": \"b3725d679924ab97411fe2c7b2f3b964a4fa5e5dd46099729141a675f2a4487b\"\n        }\n      },\n      {\n        \"path\": \"skills/feature/SKILL.md\",\n        \"name\": \"feature\",\n        \"description\": \"Add something new to an app built with Vibe Rails. Use when the user asks for a new feature, a change in behaviour, or an addition, in a folder that contains a .vibe-rails directory.\",\n        \"files\": {\n          \"skills/feature/SKILL.md\": \"8ed0ea1e25e52b5006345de03811856aacd9a329038268cd56afba4e6e567be3\"\n        }\n      },\n      {\n        \"path\": \"skills/start/SKILL.md\",\n        \"name\": \"start\",\n        \"description\": \"Start building a new app with Vibe Rails, or continue one. Use when someone wants to build, make or create an app, website or tool, especially if they are not a programmer, or when working in a folder that contains a .vibe-rails directory.\",\n        \"files\": {\n          \"skills/start/SKILL.md\": \"489a4fc729b36f31e03f03b01b7626163b7410c88cbf31ae904a16ce9129c89a\"\n        }\n      }\n    ],\n    \"hooks\": [\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"b403cd4647880e15862097c2d741c2f2c11ae6f842c87916487da61c3de0df85\",\n        \"event\": \"SessionStart\",\n        \"matcher\": null,\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"\\\"${CLAUDE_PLUGIN_ROOT}/bin/vibe-rails\\\" hook session-start\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      },\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"b403cd4647880e15862097c2d741c2f2c11ae6f842c87916487da61c3de0df85\",\n        \"event\": \"PreToolUse\",\n        \"matcher\": \"Bash|Write|Edit|MultiEdit|NotebookEdit\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"\\\"${CLAUDE_PLUGIN_ROOT}/bin/vibe-rails\\\" hook pre-tool-use\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "f5d17c11c37f7e302b09665bdd7bb2217b219ea0de0dc2501df72f9feb52d546",
      "commands.json": "9f4d695330e8f3201d7f32eff0aaea357d5fd6b2f8b57ffe1c17da667c9469cb",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "82bd189e775a04774b4af9e27bd6c3346d7b8672e5fd550d25b2cad8297c32b7",
      "listing.json": "5b7587918100c78319db5e2651d8ee7dc81efc24f2d27455ac9ffa597be39f02",
      "selection.json": "575dbb2eb2f371dae602837d609811f98bd5595f56a2648d395aab570629d9b2"
    },
    "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 59 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",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-11-23",
    "reviewed_sha256": "4a97a1672e214a69ecd96594473161a0deeffa5a617a57a343d0a2d217f43a4a",
    "gates": "09177e937f843fdde082041ddf8892e5082899b600c06b0ffa19587e1cc41c3e",
    "codex": "4dc63a0dd9b0f1dd7224b224005321b6fb835e3087804fd8329d8018988b9891",
    "grok": "4e2510b80be915ae25f5524bbe7a7f8b7db441f3de1ba35512f2ed4a52465e21",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
