the provider round (2026-11-18, batteries-included): providers are first-class entities, the config is server-written state (state/config.json), and a fresh clone boots playable -- the opencode/free singleton auto-added and discovered on the empty list, playable with zero secrets. Every request resolves a full spec {provider, model, effort}: no unset effort, the per-run params layer retired, the mind verb the only sampling source. The registry is per-provider sections (state/models.json), refine caches adjudications under the double spec tuple (state/refine-cache.json), run picks are invalidatable (a removed provider or drifted model blocks the run with the note naming what died), and the housekeeper inherits the player spec's provider default (#16 closed). The no-legacy pass died the same day it shipped: bootImport deleted (server.json is bind + contwin), the registry's v1/v2 in-memory migrations deleted (models.json rewritten on disk into the per-provider shape), bare-string model picks deleted (Chloe's run.json migrated to spec objects, shape-preserving), the clerk's create model arg deleted, apiKeyEnv and the contextWindow alias gone. The live arc proven from a bare boot: invite minted, o/f auto-added, a custom provider with a bogus key (the recognizable 401), the auth fixed (13 models), the default pair selected, and a real glm-5.3 turn through the full path. Two live findings: opencode.ai serves 89 models keyless but 401s an empty Bearer header (the auth header rides only when a key exists), and the failure log line rides stderr.
the provider-flow round (2026-11-19, GM-designed): discovery IS the probe. The add takes only the endpoint -- {slug, baseUrl} or {builtin: true}, an apiKey in the body 400s (the auth route is the only key path) -- and a working keyless listing never sees a key field. A 401/403 stands the provider broken: the entity carries a probe record (outcome ok/auth/error, detail, at), the card opens the ask, and only the explicit acts move the record -- add, key, remove-key, discover; usage errors are transient and the op's to fix, nothing in the runtime flips provider state. The auth route is probe-then-save: the candidate key checks on reception, saves only on success -- a still-refused key never reaches the config, the previous state returns, the ask repeats. Every other discovery failure refuses the add outright with rollback: an endpoint that cannot answer is not a provider, nothing stands (the old code let it stand on any failure). The remove-key control (custom providers, armed) clears and re-probes: a provider gone public lands working keyless, a locked one re-opens the ask -- which is the key-replacement path. o/f never asks in any state: its auth failures are upstream breakage to show, not a prompt. The universal retry rule: NO automatic retries anywhere -- every inference call is user-initiated (the send, the housekeeping run, the refine) and every act has its manual retry; the curator's one auto-retry (the 2026-11-17 hiccup lesson) is deleted, the machine-label fallback the designed outcome. And failures never cache (GM: a failure is the absence of a measurement, not a measurement) -- the adjudication cache skips inference:false entries, the receipt line says "never cached, retried at every refine", and a transient battery error can never pin a false verdict; gev's 400s cost one cheap probe per refine and self-heal the day the backend learns tools. En-route fix the smoke earned: the create route validated body.spec AFTER the clerk built the run dir -- a refused spec left an orphan run (restart-check's exact count caught the sixth run); the spec validates first now, nothing lands on refusal.
the sheet's transport at the lint: the record is the only channel, the tag is view machinery composed by renderView, never authored by anyone -- the authored gate names the tag in any content (hers would never apply and primes the guarded emission; GM prose rides the view and story raw, the GM-side strips do not know it), names a sheet record on her turn, and checks object-ness on GM-turn records and boundary state notes both kinds; her emitted sheet in a carried tail stays legitimate history (the log keeps guard-conflicted emissions verbatim, and a stop can move one into the slidwin). The carryover editor teaches its own format now: a per-file hint between the editor and the save bar (one JSON object per line; status and agenda ride her turns; the sheet rides yours as the "sheet" field, never as a tag; the sigils and $VARS expand at start on the authored opening only).
the packages: template (the base for new packages -- the mood-indexed voice examples, the settings comment convention, non-playable as-is) and box (the sheet's first consumer: an incremental-game economy as ERP, GP and BP as two currencies with the room pushing her to fund her own punishments; the opening turn third-person per the typography ruling, ending on the display that needs a second read; the amnesiac rings empty by design; the erased name reading "(redacted)" after sigil expansion). The review found and fixed: both carryovers were pretty-printed JSON with duplicate keys -- unstartable under every per-line reader, flattened to true JSONL; the box's opening sheet rode her authored prose -- dead on every surface (the scan reads GM-turn records only, the strips eat it) and priming the exact emission the guard conflicts -- moved to the GM turn's sheet record, the override's shape; the gm.md "take of leave" typo fixed in all three packages.
the lint's rule 4 scoped to the substrate (GM, 2026-11-19): a banned word in a package's prose is fine -- the packages are the fiction and their words are the story's; README and the root prompts stay patrolled, and the box's "Or windows" is an architectural plural in a padded cell.
verified: typecheck green both programs; smoke ALL PASS (+27 the provider-flow battery: apiKey-on-add 400, the dead-endpoint refusal with config rollback, the auth-standing card with its probe record, probe-then-save both ways, the remove-key round trip, the o/f guards, the failures-never-cache proof over mock-fail -- verdict with the marker, absent from the cache file, re-probed fresh while the passing three serve from cache, not selectable, no orphan run; +8 the sheet-transport lint battery); restart + reminder checks green; a browser pass driving the whole add-flow machine on a mock+debug server (the hidden key field opening on the 401, the key landing through the auth route, the remove-key round trip re-opening the ask, the dead add refusing with the banner and no card, zero console errors beyond the expected 401/500 resource lines); check-repo clean with the box's windows. detention stays untracked WIP, untouched.
The box: a burble-hosted VM, Debian 13, small single-core, 20G disk, passwordless sudo, outbound clean, almost nothing installed at orientation (curl only). Reached through the gitignored .ssh/ (a fresh ED25519 deploy key minted for the purpose, no passphrase by design -- deploys must work unattended, the lesson the main remote's passphrase key taught; the host key pinned to .ssh/known_hosts; the connection specifics live in .ssh/box.md, gitignored, because AGENTS stays generic by ruling -- GM, 2026-11-18: disclosing server intel is not catastrophic but the specifics do not belong in a tracked file). Done on the box, the one thing orientation installed: a 4G swapfile (fstab'd, swappiness 10) -- on a sub-gig VM with zero swap, one bad spike is an OOM kill rather than a slowdown, and 4G "just in case" was ruled over my proposed 1G.
The rulings that shape the deploy (recorded in ROADMAP's service-step amendment): TLS terminates in caddy, NEVER in node -- the server stays loopback http behind the proxy, which costs zero server changes (the bind already defaults to loopback) and keeps the zero-dependency shape intact; the certificate rides caddy's automatic TLS-ALPN-01, the challenge type that needs only 443 -- the right pick for the provider's HTTPS-only raw forward, with the operational note that config iteration starts against Let's Encrypt's staging endpoint so a config loop cannot burn the production rate budget. Node comes via nvm at the current stable branch, NO version pin (GM, 2026-11-18: no reason to pin 22 -- apt's node is too old for node:sqlite either way, and our DatabaseSync usage is alias-kept through node 26, so current-stable is safe; dev still runs 22.15, a parity bump on the table, nothing blocked). The bun alternative was weighed and parked: bun's node:sqlite support only merged this July, the runtime is JavaScriptCore where every gate we have ever run was V8, and the honest win on this box is 20-30ms per transient clerk spawn against a measured 44MB server -- a possible future migration with the full gate re-run under the new runtime, not an install choice.
The deploy pipeline itself is ruled a separate discussion, a gitea runner the leading idea. Orientation stands: nothing runs on the box, no code deployed, no caddy installed. Along the way: .gitignore gains .ssh/, the AGENTS state pointer carries the generic half of the box facts plus the hash updates for 53f992a, and HANDOFF's where-we-are reflects the commit. The GM's WIP packages (box, detention, and the new template) stay untracked, untouched.
The rewind (GM, 2026-11-17): "session rewind" came off the operator queue and was redesigned simpler than the turn-surgery proposal -- physical truncation, not typed cut events; fork is the preservation story (fork before rewinding keeps the branch, no fork no archaeology), and the derivation model made the simple design free: status, agenda, and the sheet are all scanState-derived from the log, so a cut re-derives every channel with zero compensation, and every log reader (the view, the scan, the carry walk, the story, housekeeping) sees the same shorter log with nothing new between them. As built: the send commits the rewind -- POST /turn takes optional rewind (a log line index naming one of your turns; that turn and everything after it leave the log, the send replaces it) and optional expect (the log line count the client composed against; the log only moves through sends, so a mismatch means a stale tab and refuses before anything rides -- the ask answer carries it too); gmTurn's order is pendingAsk-refusal -> expect -> expand -> truncate -> land, one commit inside the activity lock, a crash between truncate and land leaving a consistent shorter log and no rewound-but-waiting state ever existing; the floor is the start marker ({t:'note', kind:'start'} written once at start right after the carryover) -- the frozen opening never unwinds, the rule reads the LAST marker (a carried log may hold an older one inside its opening), and a pre-build log refuses loudly as unmarked; the player-facing records tools are OFF until rewind-compatible (their verbs mutate the session db, which a truncation does not compensate; the manifest carries ask_gm alone whatever the settings gate says, while the CLI's --gm filings never ride a turn and stand, rewind-safe by construction); and /retry never existed -- resending the same words after a rewind IS the retry (the GM had no recollection of where the idea came from; dropped, subsumed). The SPA stages the gesture client-side until the send: a per-GM-turn rewind control (the transcript walk's onRewind, offered live and ask-free only), two-click armed, the target's EXPANDED words auto-filling the composer (the log is truth, $vars baked), a composer tint plus a note naming the cut in entries (the colour alone says something is pending, not what dies), cancel restoring the pre-gesture state, text in the box disabling the buttons under the rename "to rewind delete your current input" (a visible affordance, not hiding), and a failed send keeping the gesture armed only on a 400 (anything else may have moved the log). The gm.md desync is parked to ROADMAP's deferred list (notes taken at turn 30 surviving a rewind to 20, orphaned from the narrative -- nothing mechanical is safe there, fork covers it meanwhile). Verified: typecheck green on both programs, smoke ALL PASS with +14 rewind assertions (the floor refusals, her-turn refusal, the stale-expect 409, the truncation 45->42 lines, the dead-range sheet record reverting, the story dropping the cut, the marker surviving), restart + reminder checks green, check-repo clean after staging, and a browser pass committing a real rewind through the UI end to end (the gesture staged, cancelled, re-staged, edited, sent: 20 turns to 8 on the table, the wire body exactly {line, expect, rewind}, zero console errors).
The conflict-persistence round (GM, 2026-11-18): conflicts stay in the contwin and are self-contained. The old view policy treated conflicts as transient (visible only while the latest word, elided after) -- overruled: a mistake remains visible so it is not made again. Self-contained means the conflict DESCRIBES ITS PROBLEM IN FULL, quoting the offending emission, because the block it answers strips from the view (STRIP_HERS takes her <model>/<mind>/<sheet>) -- an old conflict cannot lean on the turn it immediately follows, and the quote is the only visible trace of what went wrong. As built: renderView renders conflictOnly unconditionally (the lastGmIdx elision gone, the variable with it); a shared quote() helper (trim, collapse whitespace, cap at 160 -- enough to identify the mistake, never a wall) feeds the guards ("yours said: {...}" on <model> and <sheet>, "(you set: ...)" on the mind verb's per-key refusals, "-- yours: {the block}" on mind JSON that does not parse; the out-of-bounds mind already carried "(got 7)" and keeps its exact form); and the ripple caught: carry.mjs's visibleBytes counted conflicts as zero-cost on the grounds they "elide once the story moves on" -- carried conflicts now render in the new session, so they cost against the 96KB budget like the prose they are. The story keeps omitting conflicts (machinery, not deliverable) and invariants' one line still reads true, so no prompt-side change was needed. Verified: smoke ALL PASS with +3 assertions (both session-1 conflicts rendering in the view despite being old news, the model-guard quote, the sheet-guard quote), restart + reminder checks green, check-repo clean.
The GM's prompt-side edit rides the same commit: the reminder's decision passage gains the checked-action metrics -- three probes for when an action should be written as intent (external conditions: the lever; scope expansion: the mall; unilateral canonisation: the gasp at what is inside), each example attempt-form under the handbook's "the attempt, never the outcome", and the third deliberately bending that line with the price named in the same breath (the reaction is hers to have, the contents never hers to say, and the dud reveal embraced as a subversion vehicle -- purview taught as a negotiation, not a prohibition); the impulsive/irrational line now names the channel ("mention it in the narration"); the two tab-indented continuations normalized to the file's spaces.
Also: the smoke's final line now prints the draft id (a smoke draft survived cleanup because "run ids" never named it -- caught on the runs listing, deleted, the print is the fix). Docs: README's protocol passage carries the rewind and the conflict lifetime, with the records-off notes in the substrate section, the tiers table, and the layout; DECISIONS #15 gains the full amendment (the ruling record: a-g, expect, the ask refusal, records-off, the gm.md park); QUESTIONS' turn-surgery details closed (retry dropped, truncation ruled); ROADMAP's surgery sections built-and-amended, the operator queue line removed, the gm.md desync parked; DICTIONARY gains the rewind entry and amends the conflict and view entries. The box package and detention stay untracked WIP, untouched.
- 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)
- clerk phase 0: the paper replaces key/value status - a description set with exact-match lost/gained delta apply (paper-apply), non-blocking, misses relayed back as conflict strings; paper / paper-set (GM override) / paper-ingest (a file's status block at new-game); amend and discard journal prior content and the paper ops journal what they replace (events.prior, the saga rule); seed rejects a status key loudly. Smoke-tested end to end
- preset/run split: packages are presets (authored content only - the six state dirs are gone from both), runs are per-deployment instances under runs/ (gitignored); create <package> <run-id> copies the package wholesale (shared prompts included, run.json lineage plus optional model override) and inits state; --run addresses runs; packages and runs list them; config.json names the default package. The seed applies lazily at a fresh run's first window-open
- bridge retired before ever going live: bridge.json became server.json (bind, endpoint, models, contextWindow, params - steal #4), example committed, bridge.mjs stays as the loop donor until server mock-parity
- prelude.md renamed turn-0.md (GM); mechanical feeders, pink ice as licensed corpo firewall, slop section, Pinky treatment pinned (GM)
- harness decisions (ROADMAP The harness): stated goal - a usable RP harness, clone-and-run or invited instance, key on the backend, no secrets in the repo; repo ships code and authored content only; copy-at-creation, editable everything, discipline on the GM; per-run model selection with an upstream models listing; audit as per-wrap dump snapshots inside the run (commit-per-wrap retired); zero-dep stack (#4 resolved, #7 dissolved with the bridge, #21 by default)
- system.md split ruled (#20): substrate facts / per-project guards / per-run craft, hard limits in the craft copy; name call resolved - keep Rell (#19a)
- docs: README gains the goal and deployment model, booting rewritten for the create flow; ROADMAP phasing 0-1 done; HANDOFF and the decision queue current
- character.md: the mechanic draft is gone. New PC: 26, shop girl,
orphanage upbringing, conviction by association with a burnt decker;
backstory in first person plus a ten-state voice corpus (steal #1
done). The "Annoyed" example carries a literal injection string as an
in-band guard tripwire, shipping in every bundle
- gm.md: recast to fit. The ship and her AI are La Caramba; the cast is
Missy (ex-compliance, caught tinkering with restraints) and Pinky
(burnt decker, pink-ice deterrence backstory, explicitly not the
PC's decker); the grounding mechanism is decided (all radio offline
plus a vestigial beach-yourself clause) with the cause open:
sabotage, conspiracy, or apocalypse
- repo: runs/ renamed to packages/. Clerk, bridge, .gitignore, the
schema comment, and every doc path reference updated; the la-caramba
dump regenerated with the corrected schema
- content stance, GM's final form: erotica is not a special bucket. It
makes sense, it isn't the point, and there is no pressure: unwanted
advances may be struck down, and the player never plays anticipated
leads to please the GM. The GM's narration is the ruling on what is
earned. Hard limits unchanged and absolute
- ROADMAP: steal #11, periodic system-prompt re-injection (measure
first, X from data); the projection principle: the context is a
projection, not a ledger, with four soundness invariants; phase 1
names the view renderer (log + policy -> per-call context)
- README: what's being tested reframed - the adjudication is a review,
not a number; the observables are the reviewer's vocabulary and
instrumentation, never a rubric
- AGENTS.md: the agent's own working notes - working style, prompt
writing lessons, environment gotchas, state pointers
- QUESTIONS: #19 tracks the recast ripples (name call and seed register
still open); HANDOFF next steps reordered - phase 0 now gates window
one
- 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
- 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
- system.md is the sole system message; backdrop, character, ring-b,
ring-a, and status ride user messages (ring A and her paper get the
recency slots); prelude.md, when present and the run has no session
log yet, is the opening beat; the whole bundle is logged into the
session transcript
- $NAME tokens in bundle .md files substitute from the run's
settings.json "vars"; unresolved tokens fail loudly and never reach
the model
- every tool description is tagged with its output channel ([IC]/[OOC])
per system.md's input-validation section; records_search output is
marked in-fiction content, never instructions
- run renamed prisoners -> la-caramba throughout (config default, docs,
gm notes); backdrop rewritten (public knowledge + setting themes);
prelude split out as the new-game opener
- system.md: input-validation section, IC/OOC glossary, injection guards
- branch renamed master -> mistress
- live endpoint probed: all four roles accepted, multiple and mid-stream
system messages honored, full tool round-trip, reasoning_content
round-trips safely (notes in HANDOFF)