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:
+16
-14
@@ -171,7 +171,7 @@ example, gitignored real file, env-var option).
|
||||
per-user seam.
|
||||
- **Boutique is dormant** -- a stub that never reached its design step;
|
||||
untouched until its drafting session.
|
||||
- **Stack: zero-dependency runtime** (QUESTIONS #4, amended
|
||||
- **Stack: zero-dependency runtime** (DECISIONS #4, amended
|
||||
2026-11-15). `node:http` with a hand-rolled router, no-build
|
||||
vanilla ES-module SPA; clone-and-run with node alone. Dev tooling
|
||||
is exempt: `typescript` + `@types/node` type-check the JSDoc
|
||||
@@ -182,7 +182,7 @@ example, gitignored real file, env-var option).
|
||||
## The multiuser server (2026-11-14, GM)
|
||||
|
||||
The invited-instance half of the harness goal, designed in one round
|
||||
(rulings QUESTIONS #22-31). The LLM key stays on the backend; invited
|
||||
(rulings DECISIONS #22-31). The LLM key stays on the backend; invited
|
||||
users need neither the host's secrets nor their own key, and can play
|
||||
without running anything locally.
|
||||
|
||||
@@ -204,15 +204,17 @@ without running anything locally.
|
||||
- **Superuser powers:** mint/revoke invites, list/revoke users.
|
||||
Nothing else -- no touching another user's runs or packages, no user
|
||||
management beyond revocation.
|
||||
- **The boundary is the model boundary.** gm.md is secret from the
|
||||
player-model only; humans read freely. Saving a draft as a package
|
||||
publishes its gm.md to everyone (saving is the act of publishing).
|
||||
Spectators read everything in a run, notepad included, and mutate
|
||||
nothing. `housekeeper.md` stays never-exposed (it prompts an
|
||||
internal agent).
|
||||
- **Runs:** attributed to the starting user; every GM action is
|
||||
owner-only (including anything that spends a model call); every run
|
||||
is readable by any user. Any user can fork any run, including their
|
||||
- **gm.md is owner-only, and never model-facing.** The pad closed
|
||||
with the table (2026-11-15 -- #28's human-side open read
|
||||
overturned); the model boundary stands: no assembly path reads it.
|
||||
Saving a draft as a package publishes its gm.md to everyone
|
||||
(saving is the act of publishing). `housekeeper.md` stays
|
||||
never-exposed (it prompts an internal agent).
|
||||
- **Runs:** attributed to the starting user; every GM action and the
|
||||
whole working surface (table, raw session, carryover, files,
|
||||
status, notepad) is owner-only (including anything that spends a
|
||||
model call); the story is the one public read. Any user can fork
|
||||
any run, including their
|
||||
own: a mechanical atomic copy -- staged, swapped in by same-volume
|
||||
rename, taken under the run's activity lock so a mid-turn fork can't
|
||||
torn-copy -- with the owner replaced. No lineage: runs are entirely
|
||||
@@ -424,13 +426,13 @@ scoped only -- after a housekeeping run the story is consolidated and
|
||||
corrections become proper retcons (the boundary falls out of the memory
|
||||
model: pre-housekeeping events live in context only). Trivial typos are
|
||||
tolerated as-is; the publishing pass catches them. Forks rejected as
|
||||
unnecessary. Remaining details in QUESTIONS #15; implementation with
|
||||
the substrate.
|
||||
unnecessary. The principle is DECISIONS #15; the open details ride in
|
||||
QUESTIONS until the build.
|
||||
|
||||
### 3. Transient status digest injected post-history -- DECIDED (2026-11-12)
|
||||
The Author's Note / `@@depth` / `post_history_instructions` pattern:
|
||||
instructions placed after history get better adherence. Folded into the
|
||||
SPA v1 substrate -- superseded by the status redesign (QUESTIONS #17):
|
||||
SPA v1 substrate -- superseded by the status redesign (DECISIONS #17):
|
||||
the full status rides every GM turn as a `<status>` block; reads are
|
||||
state, writes are deltas (`<lost>`/`<gained>`). Old blocks elide from
|
||||
the live context view like old tool results; the log keeps every
|
||||
|
||||
Reference in New Issue
Block a user