9bc16afb60
- input validation: OOC input that addresses the model, not the player, gets a point of order and is ignored; rationale stated in-prompt (the developer tunes by editing the prompts, never in-band); example rationale fixed to "since it addresses the model" - OOC protocol de-staled: system.md teaches the verbs, the substrate decides the transport; status and records are tool-first with ((...)) OOC lines as the manual fallback, GM-relayed; the OOC channel section is now purely the conversation channel - time conventions: tense is the camera (present while the scene plays, past to summarise a skip, resumes present unprompted); speech takes any tense naturally; either side may initiate a skip; the player's proposition is an ordinary move (action / intent / OOC point); her side of the gap is hers to summarise, the world in it is the GM's; Purview: skips moved from Never to Propose - GM edits folded in: GM glossary entry, generic name in the format example, present-tense narration, one-thing-per-turn rhythm rework, prompt decoupled from file paths - QUESTIONS.md: the decision queue (13 items; 1, 3 and 13 resolved on arrival), pointed to from README and HANDOFF - prelude: header comment documents the tense device and substitution tokens
5.1 KiB
5.1 KiB
Handoff — working state
A living document: trim items as they complete. Durable decisions live in
README.md (architecture, protocol, observables), ROADMAP.md (SOTA
review, steals, extension points), and the prompts (system.md,
housekeeper.md). Unanswered questions live in QUESTIONS.md, the
decision queue. This file is the "where did we leave off" map.
Where we are
- All machinery is built and mock-tested. Nothing has been played yet. No real session, no real housekeeping.
- Live endpoint probed and healthy (glm-5.3 via llm.exan.tech): all four
roles accepted; multiple and mid-stream system messages honored; full
tool round-trip; no assistant-prefill semantics;
reasoning_contentround-trips safely in input. The bridge loop itself is still mock-only. - The run is renamed
prisoners→la-caramba(config default included); the branch is renamedmaster→mistress. system.mdopens with an input-validation section (IC/OOC buckets, injection guards). The bridge tags every tool with its output channel ([IC]/[OOC]), sends the opening bundle as per-role messages —system.mdthe sole system message; backdrop, character, ring-b, ring-a, status, thenprelude.mdon a new game, all as GM messages — and logs the whole bundle into the session transcript.- La Caramba package fully drafted (
backdrop.md,prelude.md,character.md,gm.md,seed.json) — awaiting GM red pen. The seed is authored but NOT applied. - Boutique: scaffold only. Concept brief now in
runs/boutique/gm.md. - Both run databases are empty (post-smoke resets); views render clean.
Immediate next steps, in order
- GM red-pens
runs/la-caramba/*: the sheet ("Rell" — name swappable, rolled edge/flaw swappable for their alternates), NPC names (Dessa/Mira), backdrop, gm notes, seed values. - Add voice examples to the sheet (ROADMAP steal #1, ACCEPTED) — 2–3
sample exchanges, the
mes_examplepattern. - Optionally pull ROADMAP steals #2 (
/retry,/edit), #3 (depth injection pilot), #4 (params passthrough) before window one — recommended, all small. - Apply the seed:
node tool/memory.mjs --run la-caramba seed - Play window one, via bridge or manual relay:
node tool/bridge.mjs --run la-caramba(bridge.jsonis configured for llm.exan.tech / glm-5.3, key included, gitignored)- Caution: the bridge has only ever run in
--mock. The first real session is also the first live-API integration test — expect quirks (GLM tool-call edge cases; nostrictmode, so clerk-side validation is the safety net).
- After the window: housekeeping is a manual fresh-model paste
(
housekeeper.md+ backdrop + character + ring views + transcript), save the manifest toruns/la-caramba/manifests/, thennode tool/memory.mjs --run la-caramba apply <manifest>, review the log, commit.
Working agreements with the GM
- "I draft, you cut" for all creative content.
- Character and world work is done together, unhurried ("we'll get there together").
- The GM runs on organic memory and takes no notes — the system is the prosthesis. The GM's lever is narrative, never mechanical.
- The GM answers point-by-point and expects pushback in both directions.
gm.mdfiles are GM-private: never pasted to any model.- Rolls (
pick) are legitimate at drafting time; rolled values are proposals with the alternates listed for easy swaps. - The play is uncensored but not pornographic: open door, not road sign.
Hard limits in
system.mdare absolute.
Boutique creative brief
Now recorded in runs/boutique/gm.md (era, specialty, cast, and seeding
are open questions for the drafting session with the GM).
Environment gotchas (learned the hard way)
- The portable shell scanner is picky: plain ASCII only in shell
command strings. Em-dashes in commit messages, here-strings, and
< NULredirection have all been rejected. For multi-line stdin tests, pipe an array of strings into node. node:sqliteprints an ExperimentalWarning on every invocation — harmless; the clerk filters it in bridge context.bridge.json(gitignored) holds the real key; it mirrors opencode'sdvprovider (config at~/.config/opencode/opencode.jsonc, auth at~/.local/share/opencode/auth.json).- Resetting a run:
Remove-Item runs/<story>/db/memory.dbtheninit.--forceflags are only for disposable pre-story states. - Sessions log to
runs/<story>/sessions/<stamp>.jsonl— housekeeping's transcript, and the future watcher agent's food (see ROADMAP). - The
--mockmode has caught two real bugs already (dump column rename, readline line-loss). Run it before any live first-use.
Not yet exercised (expect first-use friction)
- The bridge loop against the live API (mock only so far; the endpoint itself is probed — see "Where we are").
- A real housekeeping invocation with a real model's manifest.
seedon a real (reviewed) seed file.- Real-data
dump/restoreand commit-per-wrap audit flow. - The in-flow missed-update prediction (ROADMAP, system-1 entry) — becomes measurable with the first real session.