{
  "name": "calexandre/homeassistant-assistant — 1 hook",
  "slug": "source-hooks-f64b415b45d5113b24d15806",
  "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 36 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/calexandre/homeassistant-assistant",
  "documentation_url": "https://github.com/calexandre/homeassistant-assistant",
  "commit": "92802e54b5522f5347903ae8926ad2e2f63ba4be",
  "tree_sha256": "02475bc890c34d5b60a11378b08cdeeee1bf12c5eb34dbc6e7d1b431125f5069",
  "file_sha256": {
    ".claude/skills/esphome/SITEMAP.md": "e8ec43d8ea3e08eb4b4c7e16961fc22f52f32e7d6b663f15e56dd62f01273c83",
    ".claude/skills/esphome/SKILL.md": "a764783aded6956ccbf526ff32ce97d1a1b7f4616b99b4cad802d84d7c8608e9",
    ".claude/skills/ha-config-fetch/SKILL.md": "66fd8d4158227d30ee95c1960762b1868902f72c96cff51eca4a4cbe72a80fdf",
    ".claude/skills/ha-config-fetch/fetch-ha-data.sh": "1344d487ae4fab0b56f8f7f9d55a48955bbe99d69e2ccdf2b06531be8b45c88a",
    ".claude/skills/ha-config-fetch/test_fetch_ha_data.py": "caec4a996bc798ff44ac6cecbe64f49cf02943914d128490e224ad4e67e1171f",
    ".claude/skills/ha-docs-sitemap/SITEMAP.md": "8ef9cad191f12cfb1d2ea58f581e353c5836813cf8640637672134eab6cd927a",
    ".claude/skills/ha-docs-sitemap/SKILL.md": "0b2756f4d3c65c3e802cdbdd26920b3934fd71bab9b307e9a0253bf32e55bde6",
    ".claude/skills/ha-implementation-format/SKILL.md": "110e10f74e03c4ac6cd153eee67340c09bd0f45f8a90e13a55d7433514516ed8",
    ".claude/skills/ha-release-notes/SKILL.md": "92b97e2d9e19dd4e98dda3bbadc534b7fc5c6e2e3a0b3ff832efd046f5b47c7b",
    ".claude/skills/ha-state-presentation/SKILL.md": "2283f46e9bc271ce5ae0e734f5967ebb2971357535269aa57bb03d9f3a925b72",
    ".claude/skills/ha-troubleshooting/SKILL.md": "59b97191b1fa0c64cd1f9a6a0b60839103855dadad75a7bfdbf8bafacbc1a928",
    ".claude/skills/homeassistant/SKILL.md": "61036bbc83102d7237a8099b823755cc1401eafcffe67084eaeb03ba4b965325",
    ".claude-plugin/icon.png": "35b27756b890ff7fb45f5b3e2f7cc8557fba02ecdee81926b0b5f49d0e0b7b09",
    ".claude-plugin/marketplace.json": "c6c0f00710f26ee05559b92625af40939f45e2f5f4ead9970a48e759e0c1ab14",
    ".claude-plugin/plugin.json": "684b3c7a2d97e447fa5eb0e57f5708bf0aa7b02bb10a57bb25557d0d92052691",
    ".editorconfig": "6ae492055f72906521e5c0440909201e8c9182d80766f04fcc51af41a9060447",
    ".github/dependabot.yml": "7edd456ec14e5ff690f9702ab99bc7d62e907c749c4caf4ed9347170368ff871",
    ".github/hooks/ssh-ha-readonly-guard.json": "bc7e5fb4bd8e25fb237926624c34b66b3c193d59f027772d12aa7ea9004c6c4c",
    ".github/hooks/ssh-ha-readonly-guard.py": "299534f622730863fec99fe7b47fd289d2516076814a704ee0b5159bfe4ffce4",
    ".github/hooks/test_ssh_ha_readonly_guard.py": "ede2286b26247e091411051680734d968e63dc1fba522bf09a281daa0bd90850",
    ".github/instructions/markdown.instructions.md": "003395664ec0aad46b187c9c164fc76c854d89f7ba20a9733ff85cbe7bf4b3c9",
    ".github/workflows/tests.yml": "db832b7e2c0909db7440bff9f508dacab2d3ad69140b644ed5448ba79e844dfb",
    ".gitignore": "3b37f8e4bfdd45e9d56e8c386d750115e2938c4f070cbbace86d8b71e3aa8458",
    ".temp/.gitkeep": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
    "AGENTS.md": "a2d0ead8ce2c045e6d8fdac1a9d0d1bd7f540f18ea14fb46de77b21a47f8973d",
    "CONTRIBUTING.md": "48bc1de79939dfefc0311133b8b68292d18685afbf6ba7cfc2c1f5fceed7e3d5",
    "LICENSE": "c6cff39db3d8b6fc0727b784036840e11f7f9d42a356cd13b4d80a30edcd6bfa",
    "README.md": "4168fa13fa697714fba51384855d668282443835dd17f098d8ecd7448252089c",
    "SECURITY.md": "60ae478b89bd8b317d44acaa0e0b753dc0ebd328c952b00548bc08f02aa63aa0",
    "hooks/hooks.json": "b111c8cd5a935fa8ed6289616d43ad757f070a476b760c580082dae3c47b0661",
    "images/haassistant-logo.png": "36c33cbf6b503645e8a9fc41c24ff26d6ffa59357acf440651b739c6a7e8633f"
  },
  "lockfiles": [
    "LOCK.json"
  ],
  "utc_date": "2026-11-07T04:27:05Z",
  "source_date": "2026-11-07",
  "discovered_date": "2026-11-07",
  "retested_date": "2026-11-07",
  "reviewed_date": "2026-11-07",
  "published_date": "2026-11-07",
  "modified_date": "2026-11-07",
  "reviewer": "machine pipeline",
  "harness_version": "toolwitness harness at commit be52590573838548671f6cd604dd47431e4a3ad8",
  "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 36 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-07T04:27:05Z: pinned source inspection"
  ],
  "application": {
    "name": "calexandre/homeassistant-assistant — 1 hook",
    "softwareVersion": "92802e54b5522f5347903ae8926ad2e2f63ba4be",
    "applicationCategory": "DeveloperApplication",
    "operatingSystem": "Not exercised"
  },
  "artifacts": {
    "transcript": "Ran 36 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\": \".claude/skills/esphome/SKILL.md\",\n        \"name\": \"esphome\",\n        \"description\": \"ESPHome device YAML authoring and esphome.io documentation navigation. Use when a request touches ESPHome firmware, device configuration, components (sensors, binary sensors, switches, lights, GPIO, I2C, SPI, UART, BLE, OTA, native API, MQTT), automations, lambdas, substitutions, packages, external components, or HA integration of ESPHome devices. Provides a structured sitemap of esphome.io so the agent fetches the correct page directly instead of crawling, plus practical working guidance for device YAML structure.\",\n        \"files\": {\n          \".claude/skills/esphome/SITEMAP.md\": \"e8ec43d8ea3e08eb4b4c7e16961fc22f52f32e7d6b663f15e56dd62f01273c83\",\n          \".claude/skills/esphome/SKILL.md\": \"a764783aded6956ccbf526ff32ce97d1a1b7f4616b99b4cad802d84d7c8608e9\"\n        }\n      },\n      {\n        \"path\": \".claude/skills/ha-config-fetch/SKILL.md\",\n        \"name\": \"ha-config-fetch\",\n        \"description\": \"Fetches Home Assistant snapshots from ha-data/ via fetch-ha-data.sh, checking freshness before reading automations, scenes, scripts, configuration.yaml, customize.yaml, logs, or other saved config files. Use when the MCP server does not expose these files and you need the local snapshot to inspect the current setup.\",\n        \"files\": {\n          \".claude/skills/ha-config-fetch/SKILL.md\": \"66fd8d4158227d30ee95c1960762b1868902f72c96cff51eca4a4cbe72a80fdf\",\n          \".claude/skills/ha-config-fetch/fetch-ha-data.sh\": \"1344d487ae4fab0b56f8f7f9d55a48955bbe99d69e2ccdf2b06531be8b45c88a\",\n          \".claude/skills/ha-config-fetch/test_fetch_ha_data.py\": \"caec4a996bc798ff44ac6cecbe64f49cf02943914d128490e224ad4e67e1171f\"\n        }\n      },\n      {\n        \"path\": \".claude/skills/ha-docs-sitemap/SKILL.md\",\n        \"name\": \"ha-docs-sitemap\",\n        \"description\": \"Finds the canonical Home Assistant documentation URL for automations, scripts, blueprints, templates, configuration, integrations, dashboards, energy, sensors, voice assistants, companion app notifications, locations, or troubleshooting without crawling the docs index. Use when you need the exact official doc page before answering or implementing a Home Assistant change.\",\n        \"files\": {\n          \".claude/skills/ha-docs-sitemap/SITEMAP.md\": \"8ef9cad191f12cfb1d2ea58f581e353c5836813cf8640637672134eab6cd927a\",\n          \".claude/skills/ha-docs-sitemap/SKILL.md\": \"0b2756f4d3c65c3e802cdbdd26920b3934fd71bab9b307e9a0253bf32e55bde6\"\n        }\n      },\n      {\n        \"path\": \".claude/skills/ha-implementation-format/SKILL.md\",\n        \"name\": \"ha-implementation-format\",\n        \"description\": \"Produces Home Assistant implementation output in the required YAML / How This Works / Customization Ideas format, writing runnable examples to .temp/ only when needed. Use when creating or editing an automation, script, scene, blueprint, or configuration and you need the repo's output contract.\",\n        \"files\": {\n          \".claude/skills/ha-implementation-format/SKILL.md\": \"110e10f74e03c4ac6cd153eee67340c09bd0f45f8a90e13a55d7433514516ed8\"\n        }\n      },\n      {\n        \"path\": \".claude/skills/ha-release-notes/SKILL.md\",\n        \"name\": \"ha-release-notes\",\n        \"description\": \"Compares a Home Assistant release against the live setup and produces a personalized summary of highlights, new integrations, improvements, and breaking changes, saving the result to ha-release-notes/ha-release-[VERSION].md. Use when the user wants a release summary tailored to their actual devices, automations, scenes, scripts, and configuration.\",\n        \"files\": {\n          \".claude/skills/ha-release-notes/SKILL.md\": \"92b97e2d9e19dd4e98dda3bbadc534b7fc5c6e2e3a0b3ff832efd046f5b47c7b\"\n        }\n      },\n      {\n        \"path\": \".claude/skills/ha-state-presentation/SKILL.md\",\n        \"name\": \"ha-state-presentation\",\n        \"description\": \"Groups live Home Assistant entities by area or function and presents their current state in a concise, Home Assistant-friendly summary. Use for current states, status checks, live monitoring, and summaries after GetLiveContext.\",\n        \"files\": {\n          \".claude/skills/ha-state-presentation/SKILL.md\": \"2283f46e9bc271ce5ae0e734f5967ebb2971357535269aa57bb03d9f3a925b72\"\n        }\n      },\n      {\n        \"path\": \".claude/skills/ha-troubleshooting/SKILL.md\",\n        \"name\": \"ha-troubleshooting\",\n        \"description\": \"Diagnoses failing Home Assistant automations, integrations, and entities by checking the config, logs, traces, and Developer Tools before proposing a fix. Use when something is failing, erroring, misbehaving, or needs a deeper debugging diagnosis, including a GetLiveContext call that fails or misses an entity.\",\n        \"files\": {\n          \".claude/skills/ha-troubleshooting/SKILL.md\": \"59b97191b1fa0c64cd1f9a6a0b60839103855dadad75a7bfdbf8bafacbc1a928\"\n        }\n      },\n      {\n        \"path\": \".claude/skills/homeassistant/SKILL.md\",\n        \"name\": \"homeassistant\",\n        \"description\": \"Routes Home Assistant work to the matching skill after grounding it in live entity state and the official docs. Use when a request touches Home Assistant automations, scripts, templates, blueprints, integrations, entity states, ESPHome devices, config files, logs, or release notes.\",\n        \"files\": {\n          \".claude/skills/homeassistant/SKILL.md\": \"61036bbc83102d7237a8099b823755cc1401eafcffe67084eaeb03ba4b965325\"\n        }\n      }\n    ],\n    \"hooks\": [\n      {\n        \"path\": \"hooks/hooks.json\",\n        \"sha256\": \"b111c8cd5a935fa8ed6289616d43ad757f070a476b760c580082dae3c47b0661\",\n        \"event\": \"PreToolUse\",\n        \"matcher\": \"Bash|PowerShell\",\n        \"declaration\": {\n          \"type\": \"command\",\n          \"command\": \"python3 \\\"${CLAUDE_PLUGIN_ROOT}/.github/hooks/ssh-ha-readonly-guard.py\\\"\",\n          \"bash\": \"python3 \\\"${CLAUDE_PLUGIN_ROOT:-${PLUGIN_ROOT:-.}}/.github/hooks/ssh-ha-readonly-guard.py\\\"\",\n          \"powershell\": \"$root = if ($env:CLAUDE_PLUGIN_ROOT) { $env:CLAUDE_PLUGIN_ROOT } elseif ($env:PLUGIN_ROOT) { $env:PLUGIN_ROOT } else { '.' }; python (Join-Path $root '.github\\\\hooks\\\\ssh-ha-readonly-guard.py')\",\n          \"timeout\": 10\n        },\n        \"executed\": false\n      }\n    ],\n    \"executions\": []\n  }\n}"
  },
  "review_input": {
    "identity_artifact": "identity.json",
    "evidence_sha256": {
      "LOCK.json": "37ddebcec27534079b02bf7838a0e05a1711f4ac253d6950fa533ed6e344e577",
      "commands.json": "5aea288d1f8a2d5f83ccaae7994119e71ffb2bd3e2eb28abcc74828dcb59e1de",
      "complete.json": "91b504b43905fdc009504d516c45eea831f39a1995b9e7d69987c9756c936d6f",
      "identity.json": "9b51e996f6ee95e068e90ab95863949d047a3af2b3267fb6665f7e517b6d9c33",
      "listing.json": "f471c5317171d3571f991f14e1c28fe25d75207f47b79a4fa5bb70a8114a1a07",
      "selection.json": "9cd1516933b98def406cfe010067f6d688fb1b1048284fd78fd391e041aab3c7"
    },
    "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 36 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-11-07",
    "reviewed_sha256": "6dd3ad729fb6648494e42b7cf56150ca7a316e2ce43fed50268c4089e95a4240",
    "gates": "6c548ccaa21b474d83b2aa40b72e45f5720464c327789fe6d806de16751bb747",
    "codex": "fe1116552aa3c9f5eaa7799441e6144fb7a74c054b931532760178e9e8e23dc8",
    "grok": "28c9ecd8348f998bbe2e6f3fbff5dd3d1140416a35f855318b995710db23b84e",
    "summary": "Deterministic gates passed; every claim rebuilt from evidence with a reviewed template; Grok reported no standing refutation."
  }
}
