handoff: working state, next steps, boutique brief, environment gotchas

This commit is contained in:
2026-11-11 22:12:40 +00:00
parent 3ab8624773
commit c6b620db07
3 changed files with 126 additions and 0 deletions
+86
View File
@@ -0,0 +1,86 @@
# 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`). 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 API call, no real housekeeping.
- Prisoners package fully drafted (`backdrop.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
1. GM red-pens `runs/prisoners/*`: the sheet ("Rell" — name swappable,
rolled edge/flaw swappable for their alternates), NPC names
(Dessa/Mira), backdrop, gm notes, seed values.
2. Add voice examples to the sheet (ROADMAP steal #1, ACCEPTED) — 2–3
sample exchanges, the `mes_example` pattern.
3. Optionally pull ROADMAP steals #2 (`/retry`, `/edit`), #3 (depth
injection pilot), #4 (params passthrough) before window one —
recommended, all small.
4. Apply the seed: `node tool/memory.mjs --run prisoners seed`
5. Play window one, via bridge or manual relay:
- `node tool/bridge.mjs --run prisoners` (`bridge.json` is 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; no `strict` mode, so clerk-side
validation is the safety net).
6. After the window: housekeeping is a manual fresh-model paste
(`housekeeper.md` + backdrop + character + ring views + transcript),
save the manifest to `runs/prisoners/manifests/`, then
`node tool/memory.mjs --run prisoners 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.md` files 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.md` are 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
`< NUL` redirection have all been rejected. For multi-line stdin
tests, pipe an array of strings into node.
- `node:sqlite` prints an ExperimentalWarning on every invocation —
harmless; the clerk filters it in bridge context.
- `bridge.json` (gitignored) holds the real key; it mirrors opencode's
`dv` provider (config at `~/.config/opencode/opencode.jsonc`, auth at
`~/.local/share/opencode/auth.json`).
- Resetting a run: `Remove-Item runs/<story>/db/memory.db` then `init`.
`--force` flags 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 `--mock` mode 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)
- Live API through the bridge (mock only so far).
- A real housekeeping invocation with a real model's manifest.
- `seed` on a real (reviewed) seed file.
- Real-data `dump`/`restore` and commit-per-wrap audit flow.
- The in-flow missed-update prediction (ROADMAP, system-1 entry) —
becomes measurable with the first real session.
+1
View File
@@ -290,6 +290,7 @@ transcripts — same pattern as the housekeeper, smaller job.
``` ```
system.md system prompt for the player-model (play-side only, shared) system.md system prompt for the player-model (play-side only, shared)
housekeeper.md system prompt for the post-session housekeeping model (shared) housekeeper.md system prompt for the post-session housekeeping model (shared)
HANDOFF.md working state — where we left off, next steps, gotchas
ROADMAP.md SOTA review and steal list, worked point by point ROADMAP.md SOTA review and steal list, worked point by point
config.json the default run config.json the default run
tool/ tool/
+39
View File
@@ -0,0 +1,39 @@
<!-- GM-PRIVATE. This file is the GM's paper. It is NEVER pasted to the
player-model or the housekeeper; no model ever reads it. -->
# Boutique — GM notes (concept brief, pre-draft)
## The premise (from the GM's pitch, recorded for the drafting session)
- The player is the sole proprietor of an elite shop. At least modern
day — the card index lives on the shop's PC.
- The main loop: reading an individual customer and finding the right
pitch. Customer-of-the-week structure.
- Scope is bounded by goals, not walls: the GM and player agree she
doesn't sell the shop and start travelling. Encode the anchor as
in-fiction drives (what the shop gives her, what she'd lose) — never
as a meta rule.
- Calibration role vs prisoners — this is the high-volume run:
- many one-shot customers (gate stress, records churn),
- obligations and orders filling ring A (retirement discipline),
- records as the full stack (the card index on the PC; records
enabled from boot; pre-existing clientele seeded),
- full player agency (proactive creativity — pitching — vs the
prisoners' reactive creativity under constraint).
## Open questions to settle at drafting (with the GM)
- Era and genre: plain modern day, or the same corporate-cyberpunk
backdrop as prisoners (a shared world)? GM to decide.
- The city, the district, and the shop's specialty — what does an
"elite shop" sell?
- The PC: name, concept, drives (including the anchor), voice — plus
voice examples (ROADMAP steal #1) and the provided/random/free split
with `pick` for the rolls.
- Seeding: pre-existing clientele cards (records), ring A (the shop
itself, suppliers, a regular or two), status baselines.
- NPC gallery: regulars, the neighbor, suppliers worth names.
## Cast
(undrafted — do it with the GM, "I draft, you cut")