PHASE2 SUBSTRATE MEMORY CONTRACT
Phase 2 — Substrate Memory Contract¶
Purpose¶
Substrate is the durable memory cortex of Mobius.
Terminal is the pulse. Substrate is memory. Civic Protocol Core is proof.
Flow¶
KV HOT
↓
ECHO DIGEST
↓
MOBIUS AGENTS
↓
TERMINAL PULSE
↓
SUBSTRATE JOURNAL / MESH ARCHIVE
↓
CIVIC LEDGER PROOF
Substrate Responsibilities¶
Substrate receives broad but valid memory:
Substrate stores:
journals/{cycle}/{agent}.jsonl
ledger/mesh-aggregate.json
ledger/mesh-todos.json
ledger/mobius-pulse.json
Substrate forwards only proof-worthy events to Civic Ledger:
Retention¶
The Terminal should not become storage.
HOT window: Terminal/KV rolling memory
Substrate: append-valid durable memory
Civic Ledger: proof-worthy attestations
Idempotency¶
Substrate memory packets should include:
These fields prevent repeated workflow pulses from becoming duplicate memory.
Canon¶
Substrate may remember noisy but valid agent journals. Civic Ledger proves selectively. Terminal remains the operator view.
We heal as we walk.