Files
tiny-worlds/QUESTIONS.md
T
mute ba72d2ed1f substrate: server, housekeeping job, spa - the mvp complete
- prompt split, GM's cut: system.md = opening + guards (glossary, purpose, input validation; repo-fed, per-project); invariants.md = substrate (syntax markers, tools, memory, records, the paper + its three-part gate; repo-fed, travels with the code); handbook.md = craft copy (shape of play, thoughts, purview, time skips, continuity, stance, hard limits; copied per run). One system message: system -> invariants -> the run's handbook. OOC is a single open paren, closing optional, match the GM's style; a lone paren is an empty OOC line, skipped by the parser. housekeeper.md aligned: the paper holds acute states, relational shifts are recorded as the facts behind them, and dates are story dates (follow the rings' calendar, never the wall clock - the seed is 2069 now, per canon)
- server/ (phase 2, zero-dep node:http): REST spine per the sketch, per-run session machine with ask_gm pause/resume (the whole tool-call batch waits, pairing stays sound), view renderer (thinking-strip, tool-result elision with ask answers exempt, old status/conflict blocks stripped), boot-rebuild from the typed jsonl, lazy seed + turn-0 ingestion at window-open with the unhousekept refuse-and-override guard, usage tracking + context meter, tool-pairing validation, scripted mock model. The clerk gained --json (packages/runs/status); tool/bridge.mjs deleted at mock-parity per the retirement decision
- housekeeping job (phase 3, server/housekeeping.mjs): trigger ends the window and runs the chain async - transcript with labeled thinking, run-state injection (records availability; the ring views stay pure memory), housekeeper on a fresh context, manifest saved (raw output too if unparseable), clerk apply (writes the window log, snapshots dumps/<window>.sql), state.json lastHousekeptSession, autorestart. Rejection holds the restart and surfaces why; the apply endpoint is the recovery path and the manual-relay close. Live-proven twice: both manifests sound (ring-B classification, first-person voice, precise touches, story-dated)
- spa (phase 4, web/ - no build, vanilla es modules, served at /): three-register transcript per the ruled markers incl. multi-line narration blocks, bundle as a collapsed card with turn-0 as the opening GM turn, paper tags as chips, status pane with conflict surfacing, context meter hot past 85 percent, gm line input, ask modal re-presented from pendingAsk, housekeeping button with two-click arm + poll + inline log. No js alert/confirm (they block the embedded pane) - in-page banner instead. Driven end to end through the ui on a disposable live run
- seed: date fixed to the 2069 story calendar (was a real-world date; real dates never surface to the player)
- docs: README goal states the mvp is complete, layout covers server/ and web/, protocol and substrate sections rewritten for the server; ROADMAP phases 0-4 done, harness decisions current; QUESTIONS #4 #7 #10 #12 #16-mechanism #19a #20 #21 resolved; HANDOFF is the handoff map; AGENTS carries the working lessons (tokens are free, no screenshots - not multimodal, no js dialogs, external state survives rewinds)
2026-11-14 03:15:53 +00:00

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

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 (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 now carries a 2069 story date (proposed 2069-11-18 — the actual day is the GM's canon call); the housekeeper follows the story dates it sees in the rings (its first real manifest was story-dated).

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