Commit Graph

11 Commits

Author SHA1 Message Date
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
mute 530170224f substrate: paper model in the clerk, preset/run split, harness decisions
- 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
2026-11-13 23:40:33 +00:00
mute 7ed729e294 red pen: new PC and cast, packages rename, content stance settled
- 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
2026-11-13 05:16:31 +00:00
mute 1a4dcf9a2e bridge: thin player session with native tools, session logging, result elision, mock-tested 2026-11-11 21:14:50 +00:00
mute 6ad729683c status: baselines with exception reporting, growth as baseline shift, pick for random fields 2026-11-11 19:02:11 +00:00
mute 25469b934c boot: backdrop tier, one-time seed migration, init stubs 2026-11-11 18:52:04 +00:00
mute f5aa09c686 ownership: player keeps own status and records; housekeeping rings-only 2026-11-11 18:44:58 +00:00
mute b77a0de527 records: queryable file tier, diegetic per-run gate, narrow search with hard cap 2026-11-11 18:30:29 +00:00
mute 57e8718ffa runs: per-story state, prisoners and boutique interleaved 2026-11-11 18:25:09 +00:00
mute 1dcdc917d2 audit: canonical dump as committed truth; db demoted to gitignored cache; restore 2026-11-11 17:58:39 +00:00
mute e0b384f858 substrate: sqlite state, manifest-driven housekeeping, memory tool (validated, transactional) 2026-11-11 16:54:49 +00:00