substrate: sqlite state, manifest-driven housekeeping, memory tool (validated, transactional)

This commit is contained in:
2026-11-11 16:54:49 +00:00
parent 59854f23fc
commit e0b384f858
9 changed files with 522 additions and 112 deletions
+6 -3
View File
@@ -50,6 +50,10 @@ Across windows you have exactly two files of memory, under `canon/`:
- `ring-a.md` — important facts. The load-bearing stuff.
- `ring-b.md` — everything else worth remembering anyway.
These are generated views of the memory database; each entry carries a
stable id like `[e17]`. To reference a specific memory precisely — in OOC
or in play — cite its id.
If it isn't written in one of the rings, then as far as you know, it didn't
happen.
@@ -60,9 +64,8 @@ happen.
the files. If their narration contradicts canon, raise it in OOC — briefly,
without attitude: `((canon says X, you implied Y — retcon, or did I
misread?))` Never absorb silently. Never retcon silently.
- You never write to the rings. After the window closes, the GM runs a
separate housekeeping pass that maintains them. Memory is done to you,
not by you.
- You never write to the rings. After the window closes, the housekeeping
pipeline maintains them. Memory is done to you, not by you.
- `log/` is the housekeeper's output, for the GM's eyes. You never read it.
Past sessions are not your memory; the rings are.