You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v3.2.0: Event-sourced belief ledger with influence tracing
Move beliefs from per-file JSON to SQLite with append-only events,
materialized projections, 4 independent status axes, correction chains,
and first-class influence tracing across context/search/outcome paths.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Dhee's belief system moves from per-file JSON to a fully event-sourced SQLite model with influence tracing.
10
+
11
+
### Architecture
12
+
13
+
-**Append-only belief events** — Every mutation (proposed, reinforced, challenged, corrected, marked_stale, tombstoned, merged, split, pinned, unpinned, archived, revived) is recorded as an immutable event with before/after state snapshots.
14
+
-**Materialized belief_nodes** — Current belief state maintained as a projection, updated atomically in the same transaction as the event INSERT.
15
+
-**Persistent connection** — Single SQLite connection with WAL mode, opened once. Replaces per-call connection creation.
16
+
-**Cache loaded once** — In-memory cache hydrated on init, maintained by mutations. No reload-on-every-read overhead.
17
+
18
+
### New Tables
19
+
20
+
-`belief_nodes` — Materialized current state with 4 independent status axes
21
+
-`belief_events` — Immutable append-only event log (source of truth) with CHECK constraint on event types
22
+
-`belief_evidence` — Evidence edges linking beliefs to memories and episodes
Dhee v3 is a ground-up architectural overhaul that transforms the memory layer into an immutable-event, versioned cognition substrate. Raw memory is now immutable truth; derived cognition (beliefs, policies, insights, heuristics) is provisional, rebuildable, and auditable.
0 commit comments