Files
tiny-worlds/QUESTIONS.md
T
mute 3d4c374894 substrate: spa v1 plan, rewrite-here surgery, status redesign
- ROADMAP: SPA v1 decisions recorded - the story lives in the session
  logs (publishing is a later export), sessions outlive the browser via
  boot-rebuild from the jsonl, loopback single-human, ask_gm as a modal
  that survives refresh, context meter loud past 85 percent, status pane
  always visible, housekeeping is the window-close ritual with
  autorestart (rejection holds the restart; review is async via logs),
  synchronous REST as the full substrate with the SPA strictly a
  client; phasing 0-3 and the API spine; steals #2 and #3 decided
- rewrite-here turn surgery: an unfortunate GM turn is edited and the
  session restarts from there; window-scoped only (post-housekeeping
  edits are retcons); the saga rule - every player tool is either
  session-pure or a journaled mutator with recorded prior state, so
  compensation is mechanical; trivial typos tolerated
- status redesign (QUESTIONS #17): the paper holds freeform
  descriptions admitted by a 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 via lost/gained tags in
  the player's turn, exact match, non-blocking, misses relayed back as
  conflict blocks; no cap; normalization drift is the housekeeper's to
  place; status leaves the opening bundle and the bundle copy of old
  blocks elides from the live view; the initial paper rides the prelude
- system.md: Status section rewritten for the paper model; records
  cross-reference fixed
- housekeeper.md: entries are personal memories now - first person, her
  voice, labels stay terse handles; status blocks and player thinking
  named as inputs, evidence never fiction; the paper watch rule (place
  drift: facts to rings, identity to open questions)
- la-caramba: GM red-pen of the seed (first-person sensory entries,
  status key dropped, typo fixed) and prelude (trailing status block
  seeds the paper at new-game)
- QUESTIONS: queue churn throughout - items 5, 6, 8, 15, 17, 18
  resolved; 15 through 18 added
2026-11-12 13:42:37 +00:00

7.8 KiB

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.

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 — OPEN

system.md is shared by both runs and says "her paper", "she never expects them to", throughout; so do the prelude and the status views. Fine while every PC is a woman; the boutique shopkeeper may not be. Options: per-run pronoun vars in settings.json, or neutral phrasing in the shared files. Decide before boutique drafting at the latest. (2026-11-12)

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 — OPEN

Zero-dependency node:http + a no-build vanilla SPA (the repo ethos: no package.json, everything hand-rolled) vs a framework. Recommendation on the table: zero-dep. (2026-11-12)

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 — OPEN

Refactor the loop core (clerk dispatch, message assembly, logging, elision) into a shared module both bridge.mjs and the server use, or leave the bridge untouched and let the server grow alongside. Recommendation on the table: shared core before duplication sets in. (2026-11-12)

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).

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 — OPEN

Six days ahead of today. Intentional (planned window-one date) or typo? Only matters before seed is applied. (2026-11-12)

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

The housekeeping job runs server-side on a fresh model invocation. Same endpoint as the player, second model entry in bridge.json (ROADMAP steal #8 — cheap-model housekeeping one config away)? Which model? (The housekeeper.md line on reading thinking blocks as attention evidence, not fiction, is in — 2026-11-12.)

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).

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.