the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean

This commit is contained in:
2026-11-15 22:37:06 +00:00
parent 8d4a6b91df
commit e763d6c146
20 changed files with 881 additions and 575 deletions
+19 -15
View File
@@ -14,8 +14,8 @@ WORDS.
- **the player** -- the player-model: the LLM playing the one PC.
The two parties who play are the GM and the player (2026-11-14,
GM) -- and the player is always the model: humans are never "the
player" (QUESTIONS #28); a human in the app is a GM (of their own
runs), a spectator, or the op.
player" (DECISIONS #28); a human in the app is a GM (of their own
runs), a reader of other people's stories, or the op.
- **the PC** -- the one character the player-model plays. Female by
postulate (README Scope); the shared prompts say "she" throughout.
- **the housekeeper** -- a fresh model invocation after each session,
@@ -48,8 +48,10 @@ WORDS.
literature turns only -- OOC, tool calls, substrate verbs,
thinking, rings all out -- always spanning every session in order,
the opening to the last turn recorded, plus the dormant session's
current carryover. Load-bearing prose living inside OOC only is a
GM protocol violation, and the story enforces it by omission: the
current carryover. The one public read of a run: any signed-in
user gets the story and nothing else (the table, the files, the
pad are the owner's). Load-bearing prose living inside OOC only is
a GM protocol violation, and the story enforces it by omission: the
hole shows. Prose may speak of the story; mechanics always say run.
- **draft** -- a run whose session one is dormant: created, never
started. Editable in setup, deletable from the SPA; a played run
@@ -92,10 +94,13 @@ WORDS.
- **the table** -- the GM's play surface: the open session curated
for play (`/api/runs/<id>/table`), what the model is working with
plus the meta the GM needs -- thinking never crosses the wire,
variant turns carry only the picked one. The table sees only the
open session: previous sessions' prose lives in the story. During
dormancy the play view shows the carryover the same way -- a pure
mirror of what the next contwin will hold.
variant turns carry only the picked one. The owner's alone: a
non-owner is shown the story, never the table. Two faces in the
SPA: the table itself and the raw tab (the whole log as it rode
the wire -- thinking, every variant, every reminder copy). The
table sees only the open session: previous sessions' prose lives
in the story. During dormancy the play view shows the carryover
the same way -- a pure mirror of what the next contwin will hold.
- **memory.json** -- the package's session-0 manifest: her starting
memories as the mock housekeeping output of the non-existent
session zero (an all-insert manifest, housekeeper vocabulary,
@@ -202,13 +207,12 @@ WORDS.
invite code is exchanged at claim for a persistent bearer token.
No usernames, no passwords, no external IDPs. Spent invites stay
recorded forever and are rejected loudly on reuse.
- **owner / ownerless / spectator** -- runs belong to their starter;
every mutation and every model call is owner-only; everything is
readable by any user. Ownership is resolved, never maintained:
run.json keeps dead owner ids, the API reads them as absent. A
non-owner in a run is a spectator: reads everything, notepad
included (the boundary is the model boundary), mutates nothing.
Fork is the way in.
- **owner / ownerless** -- runs belong to their starter; every
mutation, every model call, and the whole working surface (table,
raw session, carryover, files, status, notepad) is owner-only. The
story is the one public read, any signed-in user; fork is the way
in. Ownership is resolved, never maintained: run.json keeps dead
owner ids, the API reads them as absent.
- **fork** -- an atomic copy of any run under the forker, window
state honestly carried. No lineage; the only mark is
`forked: unixtime` in run.json beside the carried `created`.