status: baselines with exception reporting, growth as baseline shift, pick for random fields

This commit is contained in:
2026-11-11 19:02:11 +00:00
parent 25469b934c
commit 6ad729683c
9 changed files with 132 additions and 62 deletions
+25 -14
View File
@@ -57,12 +57,20 @@ Two interleaved stories calibrate the memory system against itself:
state — never touches the rings, never decays, always in the bundle.
The housekeeper is instructed to keep it out of the rings.
2. **Character** — write `runs/<story>/character.md`: starting identity.
Blanks are the player's to invent through play (their past is their
purview); the GM ratifies notable inventions into the card afterward.
That's the freeform version of a random roll — no tables.
The sheet is a reduction of choice surface — a ledger of decisions
already made; "what would make sense" does the cutting. Three kinds of
field:
- **provided** — write it in;
- **random** — draft a few candidates, `node tool/memory.mjs pick "one"
"two" "three"`, write the winner. A roll is a decision made by nobody
that the player must honor — that's its whole value;
- **free** — leave blank; the player invents it through play, the GM
ratifies notable inventions afterward.
3. **Seed** — write `runs/<story>/seed.json` and run
`node tool/memory.mjs seed`. A one-time, all-or-nothing migration:
`entries` → the rings (initial memories), `status` → starting values,
`entries` → the rings (initial memories), `status` → starting values
(a string is shorthand for `{normal, value}` — the starting state is
her normal; use the object form for an excursion in medias res),
`records` → pre-existing files (gated by `settings.json`). Refuses if
the run has any history; `--force` only on a disposable db. Everything
is journaled under window `seed`.
@@ -79,10 +87,11 @@ Two interleaved stories calibrate the memory system against itself:
3. **In play:** `((double parentheses))` is the out-of-character channel —
points of order, canon questions, proposals, vetoes. Both sides use it.
Entries carry stable ids (`[e17]`); citing one is the precise way to
reference a memory. Status declarations (`((status key: value))`) are
relayed to `set`/`unset`; record work (`((q:))`, `((file:))`,
`((amend:))`, `((discard:))`) to `search`/`file`/`amend`/`discard` —
`--gm` marks GM-authorized writes.
reference a memory. Status declarations (`((status key: value))`,
`((status norm key: value))`, `((status clear key))`,
`((status drop key))`) are relayed to `set`/`norm`/`clear`/`unset`;
record work (`((q:))`, `((file:))`, `((amend:))`, `((discard:))`) to
`search`/`file`/`amend`/`discard` — `--gm` marks GM-authorized writes.
4. **Close a window:** just stop. No in-band ritual; the player-model has no
end-of-session duties.
5. **Housekeep (fresh model, new context):** send `housekeeper.md`, then
@@ -108,7 +117,7 @@ Memory is **six tiers**:
|---|---|---|---|
| **backdrop** | the world as everyone knows it — public knowledge, the general setting; never memory, never forgotten | always | GM, rarely (retcons) |
| **identity** | the character sheet — concept, drives, skills, voice; changes rarely | always | GM, rarely; housekeeper may propose via open questions; blanks are the player's to invent |
| **status** | her current self — mood, outfit, condition, stances toward people. State, not memory: no history, no decay, updated in place | always | **the player** (`((status key: value))`); GM override exceptional and journaled |
| **status** | her own piece of paper — baselines (defaults she plays to) plus declared excursions; exception reporting keeps the chatter down | always | **the player** (`set`/`norm`/`clear`/`unset`); GM override exceptional and journaled |
| **rings A/B** | salient memory — facts, on her mind, MRU-evicted | always | housekeeper manifest |
| **records** | her files — the card index, the ledger. Narrow query only, hard cap 10 (in the tool, not the prompt), never bulk-loaded | never — on demand | **the player** (`file`/`amend`/`discard` at her desk); GM seeds; housekeeper only `archive`s |
| **cold** | forgotten or vetoed | never — not even queryable | GM only (`revive`) |
@@ -203,8 +212,9 @@ After N windows, grade against:
10. **Query discipline** — narrow queries; zero retry-on-miss cascades.
11. **Archive classification** — on-her-mind (rings) vs in-her-files
(records): are customer cards filed, not memorized?
12. **Status maintenance** — does she update on real shifts (not per-turn
chores), and does her declared status match the transcripts?
12. **Status maintenance** — excursions declared when leaving baseline and
cleared when returning; baseline shifts track character growth; her
paper stays small. Does her declared status match the transcripts?
13. **Filing discipline** — cards filed at natural desk moments and kept
current, or dumped and forgotten?
@@ -260,9 +270,10 @@ system.md system prompt for the player-model (play-side only, shared)
housekeeper.md system prompt for the post-session housekeeping model (shared)
config.json the default run
tool/
memory.mjs the clerk: runs, init, render, apply, insert, delete, revive,
file, amend, discard, search, unarchive, set, unset,
dump, restore, status (--run <name>; --gm for GM writes)
memory.mjs the clerk: runs, init, seed, render, apply, insert, delete,
revive, file, amend, discard, search, unarchive, set, norm,
clear, unset, pick, dump, restore, status
(--run <name>; --gm for GM writes; --force for migrations)
db/
schema.sql entries, records, status, events journal (shared)
runs/