{
  "name": "El-Master-IA/aduana — 1 hook",
  "slug": "source-hooks-4f0fcecb7f11c442ac06b539",
  "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 1 hook declaration. 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): 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/El-Master-IA/aduana",
  "documentation_url": "https://github.com/El-Master-IA/aduana",
  "commit": "5b95ad577cab876ef26343d5002e1f2248c04a6f",
  "tree_sha256": "42c4e56993bd2cddc70b97b494f95456ed40641b864ed6feea126175a8a7b8f3",
  "file_sha256": {
    ".claude-plugin/marketplace.json": "0f26074d8c7b118850805c012308074a8f11d03c33e5087f146236b772e55948",
    ".claude-plugin/plugin.json": "b7645a8b686bd18344dcf3f9d4ce96f63babe9b716ac07e9a936246f4746a434",
    ".gitattributes": "d60f352d0db1404c70afb4bb8b2ca3fd1c610572aa40720e8a0b7baa7885418c",
    ".gitignore": "545d5215dc5648f19aeab19eeb81c91a2740094b86d6e992dd417f1d7ed45e01",
    "LICENSE": "9d5391ff95d7178069e44a947ba8319b74433218746b3d9fc7d3480850ebb7f6",
    "PROMPT.md": "d7efd55c786b8da2ba96fc57186bae54a992ca76cfda454f0f906b2ceeae9277",
    "README.md": "81bca6800e7c834fca130b5ba4b1977658647cc573b175931532af340375a643",
    "hooks/aduana-gate.py": "78c9f9aca930fdff52eb68542a129edc7bb0c5358d87485900c822e5dcb96b0c",
    "hooks/hooks.json": "ee05acea26d44ccd5e4cc034c82b641ee99ad24159c4c4acf6333542ddcb8692",
    "skills/aduana/SKILL.md": "67144abbcc9c04298107c9058436e578925cd837031c34d770939fbd4c9d0284",
    "skills/aduana/scripts/aduana.py": "fffd1192c6d5865f257e46db86e6af2feab5b787f4a54c78d85321134a88dcb5",
    "skills/aduana/tests/probar-hook.sh": "79cfb88d647d296e719f9bd1dfd4be90f3cfcd9513ec4c7ed216b72665179a37",
    "skills/aduana/tests/probar.sh": "4f56c6b1f70eed4bfeb25816940478df56c224f6184f7e6fec04b78c78729d1f"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-10-29T03:24:35Z",
  "source_date": "2026-10-29",
  "discovered_date": "2026-10-29",
  "retested_date": "2026-10-29",
  "reviewed_date": "2026-10-29",
  "published_date": "2026-10-29",
  "modified_date": "2026-10-29",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit ba2de043ca32270af693800ac484ee8bc9189835",
  "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-10-29T03:24:35Z: pinned source inspection"
  ],
  "application": {
    "name": "El-Master-IA/aduana — 1 hook",
    "softwareVersion": "5b95ad577cab876ef26343d5002e1f2248c04a6f",
    "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\": \"skills/aduana/SKILL.md\",\n        \"name\": \"aduana\",\n        \"description\": \"Puerta de seguridad obligatoria antes de instalar o abrir cualquier skill, agente, plugin, servidor MCP o repositorio de terceros. Usar cuando la persona diga \\\"instala esta skill\\\", \\\"agrega este agente\\\", \\\"clona este repo\\\", \\\"importa skills de X\\\", \\\"¿es segura esta skill?\\\", \\\"revisa mis skills\\\", o cuando el hook aduana-gate bloquee un comando. Pone todo en cuarentena, lo escanea (skill-security-auditor + Windows Defender + metadatos) y solo lo instala con veredicto PASS, o con WARN aprobado por la persona.\",\n        \"files\": {\n          \"skills/aduana/SKILL.md\": \"67144abbcc9c04298107c9058436e578925cd837031c34d770939fbd4c9d0284\",\n          \"skills/aduana/scripts/aduana.py\": \"fffd1192c6d5865f257e46db86e6af2feab5b787f4a54c78d85321134a88dcb5\",\n          \"skills/aduana/tests/probar-hook.sh\": \"79cfb88d647d296e719f9bd1dfd4be90f3cfcd9513ec4c7ed216b72665179a37\",\n          \"skills/aduana/tests/probar.sh\": \"4f56c6b1f70eed4bfeb25816940478df56c224f6184f7e6fec04b78c78729d1f\"\n        }\n      }\n    ],\n    \"hooks\": [\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"ee05acea26d44ccd5e4cc034c82b641ee99ad24159c4c4acf6333542ddcb8692\",\n        \"event\": \"PreToolUse\",\n        \"matcher\": \"Bash|PowerShell\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"python3 -c '' 2>/dev/null && P=python3 || P=python; \\\"$P\\\" -I \\\"${CLAUDE_PLUGIN_ROOT}/hooks/aduana-gate.py\\\"\",\n          \"timeout\": 5\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "376b37188fdf8e06c822a4e266e8a4dde0bca0afafefa40c6bbb322b9c659acb",
      "commands.json": "906eecca986b8697b40801ce78625f339e1944cade21ed809f3b35c3e1e30b86",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "c8d9f1b6db94294dbed0277ce2773ca308d6b2b4137bc224669e82901fea0c81",
      "listing.json": "447dd59a1b267ef346297a310f2276d60f6aacea7b3758fe89e26dc6d266d375",
      "selection.json": "0d926b266bb4b908b0a9d51dacb32a3b5a55cb2f31ece988ecc513a007388f4f"
    },
    "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 1 hook declaration. 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): PreToolUse",
        "sources": [
          "LOCK.json",
          "listing.json",
          "commands.json"
        ]
      }
    ]
  },
  "review": {
    "kind": "machine-checked",
    "date": "2026-10-29",
    "reviewed_sha256": "09ddab35063576571efec97d3b0fc6893d7ffb10844a95d29650f8f104ab3ce5",
    "gates": "e27e4e60060a8b23fd93f8ff693c93a9641f94cf5e7595a11d58ff7a7ae4d54f",
    "codex": "fdf6816173b845e8ad2c5ec6d52be481973aad5ab8293957810d2582675c4b5d",
    "grok": "a19d676ab3e5c504e40259192deed79e2e362960b0c1d1d066e62ec8677ff233",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
