generated from coulomb/repo-seed
feat: add durable store record serialization
This commit is contained in:
@@ -249,3 +249,10 @@ with a factory that returns a fresh store. The harness covers readiness,
|
||||
idempotent migration, core save/read/query behavior, transaction rollback,
|
||||
outbox ordering, and diagnostics that expose counts without raw factor or
|
||||
profile values.
|
||||
|
||||
`user_engine.store_records` defines the JSONB serialization contract for the
|
||||
generic record table. `store_record_for` turns supported domain dataclasses
|
||||
into `StoreRecord` envelopes with deterministic keys and index metadata, while
|
||||
`domain_record_from_store_record` restores those payloads to domain objects.
|
||||
These payloads are durable state and may contain sensitive values, so they must
|
||||
not be emitted as diagnostics.
|
||||
|
||||
Reference in New Issue
Block a user