ownership: player keeps own status and records; housekeeping rings-only
This commit is contained in:
@@ -55,15 +55,16 @@ Two interleaved stories calibrate the memory system against itself:
|
||||
1. **Refresh the views:** `node tool/memory.mjs render` (default run comes
|
||||
from `config.json`; `--run <name>` overrides)
|
||||
2. **Open a window:** send `system.md`, then `runs/<story>/character.md`,
|
||||
then `runs/<story>/canon/ring-a.md` and `ring-b.md`, then narrate the
|
||||
first beat. (On a tight window, ring B is optional loading — ring A is
|
||||
the spine.)
|
||||
then `runs/<story>/canon/status.md`, then `ring-a.md` and `ring-b.md`,
|
||||
then narrate the first beat. (On a tight window, ring B is optional
|
||||
loading — ring A is the spine.)
|
||||
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. To consult the records (when the views say they're
|
||||
available): `((q: sapphire buyers))` — the GM runs `search` and relays
|
||||
the result (max 10; a miss is a miss).
|
||||
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.
|
||||
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
|
||||
@@ -82,15 +83,22 @@ State lives in **SQLite** (`runs/<story>/db/memory.db`); `canon/ring-*.md`
|
||||
are generated views. Markdown survives as rendering, dies as storage — the
|
||||
models see prose, the machine sees rows.
|
||||
|
||||
Memory is **four tiers**:
|
||||
Memory is **five tiers**:
|
||||
|
||||
| tier | what | in context | who writes it |
|
||||
|---|---|---|---|
|
||||
| **aggregates** | the character sheet — identity, drives, the values that decide a turn | always | GM; the housekeeper proposes amendments via open questions only |
|
||||
| **rings A/B** | salient memory — on her mind, MRU-evicted, terse | always | housekeeper manifest |
|
||||
| **records** | her files — the card index, the ledger, the manifest. Narrow query only, hard cap 10 (in the tool, not the prompt), never bulk-loaded | never — on demand | housekeeper (`record`, `archive`), GM CLI |
|
||||
| **identity** | the character sheet — concept, drives, skills, voice; changes rarely | always | GM, rarely; housekeeper may propose via open questions |
|
||||
| **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 |
|
||||
| **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`) |
|
||||
|
||||
The boundary that keeps the tiers honest: **stances are feelings (status,
|
||||
the player's); facts are facts (rings, the housekeeper's).** The
|
||||
housekeeper never writes feelings; the player never rewrites facts. And
|
||||
if she doesn't file it, it's not in her files — records reflect what the
|
||||
character actually kept, nothing more.
|
||||
|
||||
Records access is **diegetic and per-run**: `runs/<story>/settings.json`
|
||||
gates it. The boutique's keeper has her card index on the shop PC
|
||||
(`"records": true`); the prisoners have nothing (`"records": false`). The
|
||||
@@ -175,6 +183,10 @@ 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?
|
||||
13. **Filing discipline** — cards filed at natural desk moments and kept
|
||||
current, or dumped and forgotten?
|
||||
|
||||
## Content stance
|
||||
|
||||
@@ -213,7 +225,13 @@ pedantic, whatever housekeeping needs. The two prompts are independent.
|
||||
|
||||
**Substrate note:** the future SPA is a UI and a session runner wrapped
|
||||
around exactly these moving parts — the DB, the manifest, `apply`, `render`.
|
||||
Nothing gets redesigned; the SPA just stops the copy-pasting.
|
||||
Nothing gets redesigned; the SPA just stops the copy-pasting. Player writes
|
||||
become native tool calls (her PC *is* the UI). Query results get elided
|
||||
from history — stubbed as `[consulted the files: r1, r4 — sapphire buyers]`
|
||||
— so context stays clean while the housekeeping transcript keeps the
|
||||
attention signal. If player-side status maintenance proves too costly for
|
||||
the player-model's attention, the fallback is a dedicated status-keeper
|
||||
agent reading transcripts — same pattern as the housekeeper, smaller job.
|
||||
|
||||
## Layout
|
||||
|
||||
@@ -223,11 +241,12 @@ 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,
|
||||
record, search, unarchive, dump, restore, status
|
||||
file, amend, discard, search, unarchive, set, unset,
|
||||
dump, restore, status (--run <name>; --gm for GM writes)
|
||||
db/
|
||||
schema.sql entries, records, events journal (shared by all runs)
|
||||
schema.sql entries, records, status, events journal (shared)
|
||||
runs/
|
||||
prisoners/ one story: character.md, settings.json, db/, dumps/, canon/,
|
||||
log/, manifests/ — records disabled
|
||||
prisoners/ one story: character.md, settings.json, db/, dumps/, canon/
|
||||
(status.md, ring-a.md, ring-b.md), log/, manifests/
|
||||
boutique/ same shape — records enabled (the shopkeep's PC)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user