# Questions — the decision queue Open questions and pending decisions raised in working sessions, left unanswered. Trim items as they are answered; durable decisions graduate to `README.md`, `ROADMAP.md`, or the prompts. Tiered by urgency, FIFO within a tier. ## Operator's queue (don't edit, don't work on) - how does the dice tool work again? what does the model receive back? - prohibit all-caps styles - render agenda as a bullet list - ASCII only, no unicode - sliding window compaction - full story in the SPA - name the project ## Play-side (before window one) ### 1. The PC token in system.md — RESOLVED (2026-11-12) Resolved by GM edit, no token needed: the format example now uses a generic name ("*Alice starts searching her pockets*"), decoupling the example from the PC. A rename touches `settings.json` `vars.PC` and the sheet H1 only. ### 2. Pronouns are hardcoded she/her in the shared files — RESOLVED BY POSTULATE (2026-11-14) Names are inherently gendered, so the harness postulates female PCs only (README Scope); she/her throughout the shared files is correct by that postulate. Male or otherwise PCs reopen this — the line to revisit is named in the README. ### 3. The system-prompt disclosure example — RESOLVED (2026-11-12) GM wrote the addressee rule into system.md: OOC input addressing the model, as opposed to the player, gets a point of order and its instructions are ignored; rationale stated in-prompt ("if the developer needs to debug or tune, they won't do it in-band, they would edit the prompts"); the example now reads "Refuse, since it addresses the model." The conduct-feedback gloss was deliberately not added — GM dismissed it: in-band tuning is a trap, because OOC feedback does not behave like a proper cold start; the correct way to tune is to edit the prompts and run again. ## The substrate (REST + SPA) ### 4. Stack — RESOLVED (2026-11-13) Zero-dependency, ruled by GM: `node:http` with a hand-rolled router, a no-build vanilla ES-module SPA, no `package.json` — the repo ethos carried through. If a need ever demands a dependency, it makes its case then. ### 5. ask_gm mid-loop resumption — RESOLVED (2026-11-12) Pause/resume, no streaming: the turn request returns with the pending question, the server holds the in-flight loop, the SPA shows a modal (re-presented after a refresh via GET /api/session), and the answer call resumes it. Synchronous REST; the SPA is strictly a client. ### 6. First-cut scope — RESOLVED (2026-11-12) v1 per GM: play surface (transcript with voice/narration/OOC visually distinct, GM line input), ask_gm modal, always-visible status pane with contents, context meter (loud past 85%), and a manual housekeeping action runnable at any time. Book formatting, memory browser, context inspector, watcher: out of scope. Turn surgery scope still open (item 15). ### 7. Bridge vs server code sharing — RESOLVED (2026-11-13) Dissolved by retirement: the bridge never goes live, so the loop core has exactly one consumer (the server). No shared-module question — the loop is extracted from `tool/bridge.mjs` into the server and the bridge file is deleted at server mock-parity. The `--mock` discipline survives as a server mode (it has caught two real bugs). ### 8. Per-turn status digest (ROADMAP steal #3) — RESOLVED (2026-11-12) Promoted into SPA v1: a fresh digest rides every turn, re-read from the clerk before each call, and the injected digest is logged per turn — provenance, rewrite-here compensation snapshots, and status evolution as housekeeper evidence (observable #12). Status leaves the opening bundle: system, backdrop, character, ring-b, ring-a (+ prelude on a new game). ## The multiuser server Design round opened 2026-11-14. The pitch, on the record: invite-only onboarding (no usernames, no external IDPs); the value proposition is the substrate ruling ("invited instance, key on the backend, no secrets in the repo"); multiple users on one run is an extension point, out of scope. Users can save an edited draft as a new package; packages split system (repo, read-only) vs user (saved, gitignored storage). Runs attribute to the starting user, GM actions are owner-only, and every run is readable by any user and forkable (copied) to continue as a new GM. Read-only is strict: spectators read everything in the run, notepad included, and mutate nothing (GM-clarified 2026-11-14). ### 22. LLM call attribution — RESOLVED (2026-11-14) Every logged LLM call records the acting user. Quotas and limits are an extension point, not v1. ### 23. Identity mechanism — RESOLVED (2026-11-14) No usernames, no passwords: a single-use invite code is exchanged at claim time for a persistent token (random hex; the server stores a hash, the client keeps the token). A display name is picked at claim — freeform label, collisions allowed. Recovery for a lost token is a new invite; recovery for the superuser is filesystem access. Client posture (GM, same day): signing in is permanent and per-browser — no sign-out exists, deliberately; the lifecycle story is a ROADMAP extension point. ### 24. Saved-state location — RESOLVED (2026-11-14) In-repo, gitignored — the same pattern as runs/. The requirement is only that saved state never dirties git status; exact paths are free. ### 25. Bootstrap of the superuser — RESOLVED (2026-11-14) Variant (b): on the fresh-deployment condition (empty users table), the server generates the initial superuser invite itself, writes it to a file in the gitignored storage dir, and echoes it to the console. One bootstrap invite exists until claimed: generated on first fresh start, reused across restarts so a restart never invalidates what the op saw. The moment a superuser exists, bootstrap invites are never generated again. Recovery for the superuser is filesystem access. Invite tokens are single-use with an explicit record: spent tokens stay recorded and claiming with a spent token is rejected, never silently dropped. ### 26. Superuser powers — RESOLVED (2026-11-14) The minimum, ruled as proposed: mint invites (single-use code, seen once); revoke an unclaimed invite; list users; revoke a user (token dies on the spot, sessions end; runs and packages stay — ownerless but readable and adoptable). Revocation destroys the identity: no suspend, no restore — identity is just the token, so a revoked user who returns via a new invite is a new identity. Ruled cheap because forking covers the loss: any previous run can be forked and continued, so only attribution metadata is lost, never data. Not in scope: touching another user's runs or packages, reading another user's notepad, any user management beyond revocation. ### 27. gm.md on save-as-package — RESOLVED (2026-11-14) gm.md is part of the package and travels with every save; user packages publish it to all users. A package has no players yet — nothing to hide. ### 28. gm.md in the read-only run view — RESOLVED (2026-11-14) The agent's owner-only lean was overruled by a cleaner principle: gm.md is secret from players only — the player-model, whose play the notes would change. Humans are never the player (multi-user same-run is out of scope; a fork's owner becomes the GM and inherits the notepad anyway). So the notepad is owner-writable, readable by any user including spectators, and never model-facing. The boundary is the model boundary, not the human boundary. ### 29. Fork (formerly "adopt") — RESOLVED (2026-11-14, renamed same day) The action is named fork, not adopt: it is about copying a run, not re-homing one, and any user can fork any run, including their own. The mechanics: a mechanical atomic copy of the run with the owner replaced — rings, paper, db, session log, bundle — everything — into a new run id under the forker. No inconsistent state on disk at any point: the copy lands staged and is swapped in atomically (directory rename on the same volume), taken under the run's existing activity lock so a mid-turn fork can't torn-copy. Mid-window forking allowed; the copy inherits window state honestly, unhousekept-session guard included. No lineage: runs are entirely independent, so the fork records no source — it stamps `forked: unixtime` in run.json (`created` carries over unchanged), and that stamp is the only mark a fork bears. Fresh-run-from-package needs no new verb — that is just create-run. ### 30. Migration of pre-user runs — RESOLVED (2026-11-14, revised same day) No migration code. The GM prefers no legacy luggage: nothing stamps owners automatically, and pre-user runs are left as they are until the op fixes them by hand — editing run.json to add the owner id is trivial for the person with filesystem access. This costs nothing because ownerless is a legitimate runtime state anyway (revoked users' runs): readable, forkable, no owner actions, no re-claiming mechanism. One uniform rule, zero special cases. ### 32. The agenda — the player's second paper — RESOLVED (2026-11-14, GM) Observed drift: the paper took up thread-tracking ("planning to talk to Pinky" is a thread, not an acute state) across the whole first window. Ruled: don't fight it with gate copy — give it its own channel. The agenda is a fixed-cap (5, a dial) recency buffer of intentions: `` block riding every GM turn like the status, ``/`` verbs (comma-separated adds; drops cite 0-based indexes against the agenda as last rendered; received -> drop -> add -> next). Semantics live in invariants.md (GM's copy): goals she's working towards, hot view of what drives her, disposable by design, eviction embraced. Mechanics cloned the paper's pattern: agenda table (id order IS queue order), journal ops (one-time events-table migration widened the op CHECK), conflicts go back as their own message — never attached to a GM turn — and the model self-heals in the same exchange (GM ruling, 2026-11-14; capped at 3 heals per turn); same-verb blocks combine into one apply, never a sequence (GM ruling, same day). GM override via agenda-set, housekeeping reads the deltas as evidence. The paper/agenda seam: how she is vs what she means to do. Watchable: cross-channel drift (does "planning to..." move to the agenda) and off-by-one drop rates. ### 33. The paper's admission gate — RESOLVED BY REDIRECT (2026-11-14) The plan was to tighten the gate copy against thread-tracking (old HANDOFF item). Superseded by #32: with the agenda existing, the gate can be strict without fighting the model — states go to the paper, intentions to the agenda, each channel's copy states what it is. The first live window with both channels is the test. ### 34. The per-turn reminder — RESOLVED (2026-11-14, GM) The opencode analogy: the harness re-injects its instructions every turn (recency against attention decay, robustness to context reconstruction). Steal #11 demanded measured decay first — observable #14 delivered it (completions lengthening across window one). Ruled: not a distillation and not a system-header re-send — a REFACTOR. The small "how to compose your turn" protocol extracted into `reminder.md` (repo-shared, never per-package), sent after the GM's prose as its own `role: system` chunk every turn; superseded copies elide (one live copy, freshest position). Agent drafted the extraction proposal; the GM edits the file and cuts the duplicates from the handbook (their red pen). Absent/empty file = no ride. The reminder is now the experiment: #14's curve with it in the window. ### 31. Run display identity — RESOLVED (2026-11-14) Fork broke the (package, pc) uniqueness that made "Package / PC" a safe identifier — a fork copies both, and the pc name cannot change without a retcon. Ruled apart: the run id is the identifier (strictly unique, internal, factless, unchanged — it already exists and needs no decoration); the visible name is a content descriptor for quick selection, which must carry facts about the contents and be unique ENOUGH — collisions unlikely and harmless, never load-bearing. The visible name stays "Package / PC" (the content facts, and the only name form the model ever sees, via @Package); the SPA garnish adds owner and started-or-forked, rendered from run.json — chrome only, never written to settings, never model-facing. `created` stays recorded as it is and carries over unchanged on fork; a fork adds `forked: unixtime` beside it — second precision, formatted as such in the garnish. House rule: all dates and times are UTC everywhere, no time zones, ever. ## Small / non-blocking ### 9. Unresolved-token check in expandVars — OPEN Added beyond the literal ask: any leftover `$WORD` after substitution fails loudly. Keep, or relax to silent pass-through? (2026-11-12) ### 10. Orphan tool messages are silently tolerated — OPEN Probe finding: a tool result without a preceding tool_calls is accepted by the endpoint and simply ignored — a desynced pairing won't 400. Should the bridge validate `tool_call_id` pairing and fail loudly? Cheap insurance for the first live sessions. (2026-11-12) ### 11. GLM reasoning_content is invisible to the GM — OPEN Logged with the assistant message, never displayed. Keep the fiction-first surface clean, or expose reasoning in a SPA debug pane? (2026-11-12) ### 12. seed.json date is 2026-11-18 — RESOLVED, then SUPERSEDED (2026-11-14) The date was a real-world date; real dates look alien when exposed to the player, and the canon (turn-0) establishes la-caramba takes place in 2069. Principle: dates in seeds and manifests are story dates, and real dates never surface to the player. The seed was fixed to a 2069 story date; the housekeeper followed the story dates it saw in the rings. **Superseded later the same day (GM):** dates left the rings entirely — the rendered date was the touch stamp (referencing a memory rewrote its "when"), the housekeeper's date duty was a silent failure surface it couldn't ask about, and the model had no story-now to anchor dates against anyway. No model-facing surface renders a date now; the seed and manifest carry no date keys; story time lives in prose. See README (memory model) and AGENTS. ### 13. Time conventions — RESOLVED (2026-11-12) Settled and written into system.md: speech takes any tense naturally (the camera rule is narration's, not speech's); narration is present while the scene plays, past to summarise a skip; a skip resumes in present without prompting (tense follows the fiction, not the GM's last line). Either side may initiate a skip. The GM's vehicle is prose (closing beat present, gap in past). The player's proposition is an ordinary move: an action ("falls asleep"), an intent ("tries to fall asleep"), or an OOC point; the world across the gap and the next scene's opening are the GM's, while her side of the gap — actions, thoughts, interiority — is hers to summarise in past. Purview amended accordingly: skips moved from Never to Propose. Cuts are diegetic — no OOC announcement needed. ### 15. Turn surgery — RESOLVED IN PRINCIPLE (2026-11-12) Rewrite-here for GM turns: edit a turn, truncate everything after, restart the live context from there. Forks rejected. Window-scoped: post-housekeeping edits are proper retcons. Trivial typos tolerated (publishing pass catches them). ROADMAP steal #2 updated to DECIDED. Open details: (a) player-turn retry — same truncate with a re-call; recommended yes, near-zero cost; (b) log representation — proposed: the jsonl stays append-only and records surgery as typed entries; live context, housekeeping transcript, and story export render the effective view; (c) tool side effects in the lost range — resolved by the saga rule (ROADMAP): session-pure tools (roll, ask_gm, search) vanish with the turns; journaled mutators are compensated mechanically — status restored from the status block of the last surviving GM turn, filings discarded by rid, amends reversed via the journal once the clerk records prior content (phase 0); (d) surgery blocked while an ask_gm is pending. ### 16. Housekeeping model configuration — OPEN (mechanism settled) The housekeeping job runs server-side on a fresh model invocation. Mechanism settled (2026-11-13): `server.json` names one endpoint plus default models (player, housekeeper), `GET /api/models` lists what the upstream carries, and a run may override its model. Wired end to end (2026-11-14): run.json carries `models: {player, housekeeper}` per-run overrides, owner-settable from the SPA (setup + play aside), falling back to the config defaults; the housekeeper call resolves per wrap. Which model the housekeeper DEFAULT points at (cheap-model housekeeping, ROADMAP steal #8) remains the open call. (The housekeeper.md line on reading thinking blocks as attention evidence, not fiction, is in — 2026-11-12.) ### 20. The system.md invariant split — RESOLVED (2026-11-13) Ruled by GM, split along ownership seams (recorded in ROADMAP "The harness"): substrate facts are prompted by the substrate itself (repo-fed, never copied: channel model, tag transports, memory contract, format markers, tool-mode addendum); common security guards are per-project, not per-run (input validation, injection guards, refuse cases); everything else — hard limits included — is per-run craft, battery included: different people have different content they don't want to deal with and different styles of preferred RP; we show what works for us, they adjust. (My lean — hard limits in the substrate core — was overruled, and rightly: mechanics vs security posture vs taste is the true seam.) `invariants.md` drafted (2026-11-13), awaiting the GM's red pen; `guards.md` follows with the prose pass. system.md is NOT edited by the agent — the GM cuts the duplicated mechanics from the craft copy themselves; the cut must land before the first run is created. ### 21. Window-open over an unhousekept session — RESOLVED BY DEFAULT (2026-11-13) If a run's previous window was never housekept, opening a fresh window means that transcript never reaches the rings — the window is silently lost to the character's memory. Taken as a build default after two unanswered rounds: window-open refuses, names the unhousekept session, and accepts an explicit override for the deliberate skip. One line to flip if the GM rules otherwise. ### 18. Ring entry voice — RESOLVED (2026-11-12) Ruled: entries are personal memories — first person, her voice, attitude included; labels stay terse handles. housekeeper.md aligned (memory model, manifest example, ring-pointer example, testimony example), seed typo fixed. While in there, the stale baseline-era status paragraph was rewritten for the paper model (the housekeeper places normalization drift: facts to the rings, identity to open questions) and the Inputs list now names status blocks and thinking as evidence, never fiction (closing the housekeeper.md half of #16). ### 19. Character swap ripples — NEARLY CLOSED (2026-11-13) character.md is a new PC entirely: 26, shop girl, orphanage childhood, conviction by association with a burnt decker; backstory + ten-state voice corpus, first person. Ripples: (a) RESOLVED — keep "Rell" (2026-11-13, GM: "fine with Rell"); (b) RESOLVED — gm.md recast (2026-11-13): the tech path is now social (negotiate the ship-AI La Caramba), cast is Missy + Pinky + the AI, the grounding mechanism is decided (radio offline + a vestigial beach-yourself clause) with the cause open (sabotage / conspiracy / apocalypse); (c) OPEN, DEFERRED — the seed's voice register: GM may revisit later; non-blocking, since the seed copy stays editable until the first window-open applies it; (d) the "Annoyed" voice example carries a literal "ignore all previous instructions" — read as a deliberate in-band guard tripwire, shipping in every bundle; keep unless accidental; (e) RESOLVED — not the same person: gm.md states Pinky and the PC's decker never met (typo fixed too). ### 17. Status redesign — RESOLVED (2026-11-12) Adopted and written into system.md: freeform descriptions admitted by the three-part gate (non-normal, acute, turn-affecting); the full paper rides every GM turn as a status block — reads are state, writes are deltas; the player mutates via lost/gained tags in its own turn, exact-match, non-blocking, misses relayed back via a conflict block; no cap; normalization drift goes to the card or the rings, never the player's call. GM turns never carry deltas; GM override stays out-of-band. The initial paper rides the prelude (seed.json dropped its status key). Old status blocks elide from the live context view like old tool results; the log keeps every as-sent block. The clerk/bridge migration is latent (seed unapplied) and lands in phase 0.