011-store-hiqlite
The store: hiqlite in-process with txn, two read calls, migrations, and backup
Lifecycle approvedImplementation completeVerification unknownQualification unknown
The application store: hiqlite linked as a library, opened from the Config with its own data directory and ports (never rauthy's), exposing exactly the surface the interface contract decided: execute, txn as the write path for anything with an invariant, query on the local replica and query_consistent through the leader as two named calls, migrations as versioned DDL run by a verb and never at boot, and the leader-only encrypted backup surface. Carries enrahitu://032 §3.1, §3.3, §3.6, §3.8.
Read the full pinned specification ↗Relationships
depends on
Claimed units
- establishes
{ "kind": "file", "path": "crates/rahi-store/Cargo.toml" } - establishes
{ "kind": "file", "path": "crates/rahi-store/src/lib.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/src/config.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/src/error.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/src/store.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/src/txn.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/src/query.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/src/migrate.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/src/backup.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/tests/store.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/tests/txn.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/tests/migrate.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/tests/backup.rs" } - establishes
{ "kind": "file", "path": "crates/rahi-store/tests/common/" } - extends
{ "nature": "additive", "spec": "010-workspace-and-core-types", "unit": { "anchor": "workspace.dependencies", "file": "Cargo.toml", "kind": "section" } } - extends
{ "nature": "additive", "spec": "010-workspace-and-core-types", "unit": { "kind": "file", "path": "deny.toml" } } - constrains
{ "flavor": "invariant-freeze", "note": "one txn is the atomic unit; constitution IX", "unit": { "kind": "file", "path": "crates/rahi-store/src/txn.rs" } }
Source headings
- 011: The store
- 1. Purpose
- 2. Territory
- 3. Behavior
- 4. Functional requirements
- 5. Acceptance criteria
- 6. Out of scope
- 7. Resolved decisions
- Verification
Frozen anchors
No frozen anchors declared.