feat(homecore-recorder/p1): ADR-132 SQLite recorder + fnv64a attr dedup (14 tests pass)

- SQLite-backed state history with HA-compat schema (states, state_attributes,
  events, recorder_runs) mirroring recorder schema v48
- FNV-1a 64-bit attribute deduplication matching HA's db_schema.py fnv64a
- RecorderListener subscribes to StateMachine broadcast and persists every
  state change; subscription created at construction to avoid missed events
- SemanticIndex trait + NullSemanticIndex for P1; ruvector-backed impl stub
  feature-gated behind --features ruvector for P2 hand-off

Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
ruv
2026-05-25 18:27:26 -04:00
parent cc079febef
commit a422995817
9 changed files with 915 additions and 0 deletions
Generated
+17
View File
@@ -3487,6 +3487,23 @@ dependencies = [
"uuid",
]
[[package]]
name = "homecore-migrate"
version = "0.1.0-alpha.0"
dependencies = [
"anyhow",
"clap",
"homecore",
"serde",
"serde_json",
"serde_yaml",
"tempfile",
"thiserror 1.0.69",
"tokio",
"tracing",
"tracing-subscriber",
]
[[package]]
name = "homecore-plugins"
version = "0.1.0-alpha.0"