Storage: hash-chained JSONL journal as source of truth, SQLite as disposable projection

This commit is contained in:
swaits committed 2026-10-11 01:16:25 +00:00
1 parent 440c10534d
commit 11397e9c24
1 file changed
+5
+5
View File
@@ -63,3 +63,8 @@ flow, proptest) continues as needed, but the next *phase* is the interface:
*behavioral* oracle only. Receipt enforcement is server-side policy in the
MCP layer (threshold + per-account overrides, typed `receipt_required`
error, checklist in every preview); the engine stays policy-free.
- 2026-10-10: Storage durability (Stephen). SQLite is the query engine, not
the source of truth: the source of truth is an append-only, hash-chained
JSONL journal (fsync per append; tamper-evident; git-backup-friendly),
SQLite is a disposable projection rebuilt from it, blobs stay
content-addressed. Single write path: journal → fsync → apply to SQLite.