2026-11-11 22:12:40 +00:00
|
|
|
# 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`,
|
2026-11-12 06:47:20 +00:00
|
|
|
`housekeeper.md`). Unanswered questions live in `QUESTIONS.md`, the
|
|
|
|
|
decision queue. This file is the "where did we leave off" map.
|
2026-11-11 22:12:40 +00:00
|
|
|
|
|
|
|
|
## Where we are
|
|
|
|
|
|
|
|
|
|
- All machinery is built and mock-tested. **Nothing has been played yet.**
|
2026-11-12 05:40:56 +00:00
|
|
|
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_content`
|
|
|
|
|
round-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 renamed `master` → `mistress`.
|
|
|
|
|
- `system.md` opens 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.md`
|
|
|
|
|
the sole system message; backdrop, character, ring-b, ring-a, status,
|
|
|
|
|
then `prelude.md` on a new game, all as GM messages — and logs the whole
|
|
|
|
|
bundle into the session transcript.
|
2026-11-13 05:16:31 +00:00
|
|
|
- Red pen largely done (2026-11-13): new PC (shop girl, conviction by
|
|
|
|
|
association with a burnt decker), ten-state voice corpus (steal #1
|
|
|
|
|
done), gm notes recast (the ship-AI La Caramba, Missy, Pinky).
|
|
|
|
|
Remaining: the name call (`vars.PC` still "Rell"), optional seed
|
|
|
|
|
register touch-up (QUESTIONS #19). The seed is authored but NOT
|
|
|
|
|
applied — and blocked on phase 0: the seed's status key is gone and
|
|
|
|
|
`system.md` describes the paper/tag model the clerk and bridge don't
|
|
|
|
|
implement yet.
|
|
|
|
|
- Boutique: scaffold only. Concept brief now in `packages/boutique/gm.md`.
|
2026-11-11 22:12:40 +00:00
|
|
|
- Both run databases are empty (post-smoke resets); views render clean.
|
|
|
|
|
|
|
|
|
|
## Immediate next steps, in order
|
|
|
|
|
|
2026-11-13 05:16:31 +00:00
|
|
|
1. Name call: keep "Rell" or rename — one line in `settings.json`
|
|
|
|
|
`vars.PC`. Optional: seed register touch-up (QUESTIONS #19). Decide
|
|
|
|
|
whether Pinky is the PC's decker (QUESTIONS #19e).
|
|
|
|
|
2. **Phase 0 (ROADMAP) — gates window one:** clerk/bridge migration to
|
|
|
|
|
the paper model — GM turns carry the status block, `<lost>`/
|
|
|
|
|
`<gained>` delta apply with conflict reporting, prelude ingestion at
|
|
|
|
|
new-game, status tools removed, thinking stripped from the live
|
|
|
|
|
context, amend/discard journal prior content, usage tracking.
|
|
|
|
|
`system.md` already teaches the new model; the substrate must catch
|
|
|
|
|
up before the first real session.
|
|
|
|
|
3. Apply the seed: `node tool/memory.mjs --run la-caramba seed`
|
|
|
|
|
4. Play window one, via bridge or manual relay:
|
2026-11-12 05:40:56 +00:00
|
|
|
- `node tool/bridge.mjs --run la-caramba` (`bridge.json` is configured
|
2026-11-11 22:12:40 +00:00
|
|
|
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).
|
2026-11-13 05:16:31 +00:00
|
|
|
5. After the window: housekeeping is a manual fresh-model paste
|
2026-11-11 22:12:40 +00:00
|
|
|
(`housekeeper.md` + backdrop + character + ring views + transcript),
|
2026-11-13 05:16:31 +00:00
|
|
|
save the manifest to `packages/la-caramba/manifests/`, then
|
2026-11-12 05:40:56 +00:00
|
|
|
`node tool/memory.mjs --run la-caramba apply <manifest>`, review the
|
2026-11-11 22:12:40 +00:00
|
|
|
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.
|
2026-11-13 05:16:31 +00:00
|
|
|
- The play is uncensored; nothing lives in a special bucket — it makes
|
|
|
|
|
sense, it isn't the point, no pressure (no playing to please the GM).
|
2026-11-11 22:12:40 +00:00
|
|
|
Hard limits in `system.md` are absolute.
|
|
|
|
|
|
|
|
|
|
## Boutique creative brief
|
|
|
|
|
|
2026-11-13 05:16:31 +00:00
|
|
|
Now recorded in `packages/boutique/gm.md` (era, specialty, cast, and seeding
|
2026-11-11 22:12:40 +00:00
|
|
|
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`).
|
2026-11-13 05:16:31 +00:00
|
|
|
- Resetting a run: `Remove-Item packages/<story>/db/memory.db` then `init`.
|
2026-11-11 22:12:40 +00:00
|
|
|
`--force` flags are only for disposable pre-story states.
|
2026-11-13 05:16:31 +00:00
|
|
|
- Sessions log to `packages/<story>/sessions/<stamp>.jsonl` — housekeeping's
|
2026-11-11 22:12:40 +00:00
|
|
|
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)
|
|
|
|
|
|
2026-11-12 05:40:56 +00:00
|
|
|
- The bridge loop against the live API (mock only so far; the endpoint
|
|
|
|
|
itself is probed — see "Where we are").
|
2026-11-11 22:12:40 +00:00
|
|
|
- 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.
|