Files
tiny-worlds/HANDOFF.md
T
mute 0ddb9a218d the package-authoring round: fork is the verb, the scaffold flag is the ready-to-run gate, the package editor is the owner's surface, and /packages is the launchpad
The design conversation settled the verb question (developer, 2026-11-19): a "create new package" with a base selector is fork under another name, so the SPA gains one list at /packages with three acts per card -- start (the run-create flow, unchanged), fork (any package, system or user, by anyone: the copy lands in state/packages owned by the forker, pc stripped, display name asked inline, the fork landing straight in the editor -- nobody forks to immediately start), and edit (the owner's own user packages only). /new retires to a redirect onto /packages; the source link (code.fleshless.org/hackmaster/tiny-worlds) rides the header.

The template's unplayability became machinery instead of a naming special-case: settings.json carries the "scaffold" flag (the records-bool precedent -- authored content carries the marker, machinery reads it). Create refuses a scaffold loudly on both ends ("fork it to author, then flip scaffold off in the editor"), the listing marks it, the SPA disables its start. The developer's ruling over my clear-the-flag draft: the flag RIDES FORKS UNTOUCHED -- a scaffold fork stays a scaffold until its author flips it off, so the flag is the package's doneness state, and publishing your own scaffold for others to fork is free. The settings editor is raw JSON for now (native UI later, the developer's "ready to run" toggle its eventual shape), with a hint teaching the keys.

The package editor (/packages/:name): every file of a user package is authoring material -- settings included -- with the cheap save lints (memory.json and settings.json must parse as JSON objects; the carryover passes the authored lint, the run surface's exact gate), the deep checks staying at the start gate where they already lived. The gates mirror the run precedent: system packages are repo-side and refuse ("fork to edit"); an ownerless user package is readable, forkable, never editable -- and an ownerless package IS forkable, the copy is yours.

The refactor the editor forced: the setup view's file-editor machinery (nav, textarea + the sigil/var highlight overlay, drafts, dirty marks, the save flow) extracted into widgets.mjs's fileEditor factory, parameterized over DOM ids and a PUT call -- setup keeps its run-side couplings (the phase-gated rw, the addressed session), the package editor is the simpler parameterization, and the editor CSS generalized from id selectors to classes so both surfaces share it.

En-route bug found and fixed: cmdCreate always copied the REPO's handbook.md into the run, so a user package's handbook -- which save-package faithfully copies out -- was silently ignored on re-create; the author's craft edit died in the round-trip. Create now prefers the package's own handbook when it carries one, else the repo's shared copy. The smoke proves the round-trip: a handbook marker authored through the package editor surfaces in the created run's files.

Browser-pass find: the pkgedit header state span and the editor's save-state span shared the id pkgedit-state, so the widget's select() wiped the header line -- the editor's span renamed (pkgedit-edit-state), verified rendering.

Verified: typecheck green both programs; smoke ALL PASS (+20 -- the fork battery: the template fork owner-stamped scaffold-preserved pc-stripped, create refusing the scaffold on both ends, the playable fork carrying no scaffold, fork validation, the editor gates owner-200/non-owner-403/system-repo-side-403/unknown-404, the raw-JSON and carryover save lints, the ready-to-run flip, create from the flipped fork, the handbook round-trip; and the ownerless pair: the editor refuses, the fork succeeds); restart + reminder checks green (6 runs); a browser pass on --mock --debug end to end -- the paste token re-landing after the state wipe, /new redirecting with the URL honest, the template card disabled with the scaffold note, boutique disabled as incomplete, the fork form prefill and submit landing in the editor, the scaffold state line, the settings flip and save making the card startable, the start-form flow intact, zero console errors; check-repo clean; the debug server back on the real state. Docs: README's packages passage (fork, scaffold, the editor, the gates), the booting flow, the layout tree (the clerk's fork-package verb, the view list, widgets.mjs); DICTIONARY's package, scaffold, and fork entries. The developer's queue line ('"create new package" in SPA') is struck by them in the same round. packages/detention stays untracked WIP, untouched.
2026-11-19 11:11:23 +00:00

603 lines
36 KiB
Markdown

# Handoff -- working state
A living document: trim items as they complete. Durable decisions live in
`README.md` (architecture, protocol, observables), `ROADMAP.md` (steal
list, extension points), and the prompts (`system.md`,
`housekeeper.md`). Unanswered questions live in `QUESTIONS.md`, the
decision queue; the agent's own working notes live in `AGENTS.md`. This
file is the "where did we leave off" map.
## Where we are
- **The package-authoring round is BUILT and verified (2026-11-19,
developer-designed in conversation): fork is the verb, the scaffold
flag is the ready-to-run gate, and the package editor is the
owner's surface.** The design conversation settled it: a
"create new package" with a base selector is fork under another
name, so one list at /packages carries three acts per card --
start (the run-create flow, unchanged), fork (any package, system
or user, by anyone; the copy lands in state/packages owned by the
forker, pc stripped, display name asked, forked: naming the
source), edit (the owner's own user packages only). The template's
unplayability became machinery: settings.json carries the
"scaffold" flag (the records-bool precedent -- authored content
carries the marker), create refuses a scaffold loudly on both
ends, the listing marks it, the SPA disables its start -- and the
flag RIDES FORKS UNTOUCHED (the developer's ruling over my
clear-the-flag draft): a scaffold fork stays a scaffold until its
author flips it off, so the flag is the package's doneness state
and publishing your own scaffold for others to fork is free. The
editor (/packages/:name): every file of a user package is
authoring material -- settings included, raw JSON for now (native
UI later, the developer's "ready to run" toggle its eventual
shape) -- with the cheap save lints (memory.json and settings.json
must parse as JSON objects; the carryover passes the authored
lint), the deep checks staying at the start gate. The gates:
system packages are repo-side and refuse ("fork to edit");
ownerless user packages refuse too (the run precedent -- readable,
forkable, never editable), and an ownerless package IS forkable
(the copy is yours). Fork lands in the editor (the developer's
ruling: nobody forks to immediately start). The refactor the
editor forced: the setup view's file-editor machinery (nav,
textarea + highlight overlay, drafts, dirty marks, save flow)
extracted into widgets.mjs's fileEditor factory, parameterized
over DOM ids and a PUT call -- setup keeps its run-side couplings
(the phase-gated rw, the addressed session), pkgedit is the
simpler parameterization; the editor CSS generalized from ids to
classes. /new retired to a redirect onto /packages (old muscle
memory lands honest). The source link (the developer's ask) rides
the header: code.fleshless.org/hackmaster/tiny-worlds. EN-ROUTE
BUG FOUND AND FIXED: cmdCreate always copied the REPO's
handbook.md into the run, so a user package's handbook (which
save-package faithfully copies out) was silently ignored on
re-create -- the author's craft edit died. Create now prefers the
package's own handbook when it carries one, else the repo's shared
copy; the smoke proves the round-trip. Browser-pass find: the
pkgedit header state span and the editor's save-state span shared
the id pkgedit-state, so the widget's select() wiped the header
line -- renamed (pkgedit-edit-state), the header line renders.
Verified: typecheck green both programs, smoke ALL PASS (+20: the
fork battery -- the template fork owner-stamped scaffold-preserved
pc-stripped, create refusing the scaffold on both ends, the
playable fork carrying no scaffold, fork validation, the editor
gates -- owner 200, non-owner 403, system repo-side 403, unknown
404, the raw-JSON and carryover save lints, the ready-to-run flip,
create from the flipped fork, the handbook round-trip; and the
ownerless pair -- the editor refuses, the fork succeeds), restart
+ reminder checks green (6 runs), a browser pass on --mock --debug
end to end (the paste token re-lands after the state wipe, /new
redirects with the URL honest, the template card disabled with the
scaffold note, boutique disabled as incomplete, fork form prefill
and submit landing in the editor, the scaffold state line, the
settings flip and save making the card startable, the start-form
flow intact, zero console errors), check-repo clean, and the debug
server back on the real state. Docs: README's packages passage,
the booting flow, the layout tree; DICTIONARY's package, scaffold,
and fork entries. The developer's operator-queue line ('"create
new package" in SPA') is struck by them in the same round.
- **The debug round is BUILT and verified (2026-11-19, developer-designed
in conversation): server.json is deleted, the bind is code, the
debug superuser is token-gated, and the context meter reads the
discovered contwin.** The rulings: a deployment always fronts the
server with a proxy, so the listen address is hardcoded loopback
with no override (an op who wants otherwise owns their own socat);
the port rides the RP_PORT env var (the RP_BASE twin the test
scripts use, default 7350, garbage refused loud); server.json is
gone entirely -- it held only the dead bind and the declared
contwin, no meaningful configuration (the developer's call,
striking their own operator-queue line); and contwin is
provider/model dependent, never global -- the meter derives it
from the registry: the run's player model's input ceiling, null
when the provider states none or no pick stands. Debug mode
reworked around its real purpose (skip the invite dance on a fresh
server, mocks in particular): the old shape -- every request the
superuser, no auth at all -- left any debug server that reached a
network fully open; now one fixed superuser behind a real bearer
token, minted into state/debug-token.txt (the bootstrap-invite
precedent: a raw secret on disk so a restart never invalidates
what the tester pasted -- the developer ruled persist), printed at
every boot, and the claim screen gains the paste path (store the
token, verify through the public /session, land or banner) --
generic surface, not debug-only: tokens are returned once and
never listed, so a pasted saved token is the only
browser-migration path that existed to build. The public /session
carries a debug flag so the claim hint says "paste the token the
server printed at boot" instead of pointing at the bootstrap file
debug never mints. Debug browser passes now exercise the real
auth path (the 401, the u: attribution line) instead of bypassing
it. En-route mock fidelity fix the smoke earned: the mock path
never set s.usage (no provider call happens), so every
usage/context surface was null under the smoke -- the mock now
carries a synthetic usage (the assembled view's chars over 4),
riding the msg events like the real path's, so the detail's usage
and the context gauge are smoke-assertable (+1: contwin 524288
from the registry, pct computed). Verified: typecheck green both
programs, smoke ALL PASS, restart + reminder checks green, a
browser pass on --mock --debug (the wrong token banners and stays
on claim, the printed token lands as Debug the op, the stored
token survives a server restart, zero console errors), check-repo
clean (it caught the round's own "window" in README -- contwin is
the word), and the debug server restarted on the real state (2
sessions rebuilt, the token minted into the real state/). Docs:
README's deployment and debug passages, the config passage, the
layout tree (the server.example.json lines gone); DICTIONARY's
meter and contwin entries (the config key died with the file);
AGENTS's server entry and the two server.json gotchas;
server.example.json and the dev machine's server.json deleted.
- **The roles inventory is BUILT (2026-11-19, GM-designed in
conversation): every human and LLM seat named, the repo swept to
it.** DICTIONARY's "The people and the models" section is now the
inventory: six human roles (the developer, the deployment
operator, the deployment user, the package author, a run's GM --
the same person the machinery records as the run's owner, one
role two names, never split -- and the reader, defined by the
act, membership-free: on-platform any signed-in user, off-platform
anyone the story text reaches) and the LLM roles (the assistant,
the player, the housekeeper, the curator, the clerk -- code,
never a model -- and the bookkeeper, parked). The mappings the
design conversation pinned: the package author is an off-platform
seat (authorship travels with the files; the machinery sees only
the publisher as the package's owner); hats stack, seats don't
(the op can also be a run's GM); the GM seat is per run (a fork
creates a second one); the developer and the assistant sit
upstream of every deployment. The naming convention, stated in
AGENTS and DICTIONARY both: "GM" always means a run's GM,
everywhere; ruling attributions name the developer; I am "the
assistant"; the op stays "the op." And the role line that is
never crossed (developer, 2026-11-19): the assistant is NOT the
player -- player-facing instructions are for the assistant to
understand how the player would interpret them, never to follow.
The sweep: 125 ruling attributions rewritten across living prose
and code comments ("(GM, date)" in every spelling, date-first and
wrapped forms included), AGENTS.md fully re-voiced (the header
rewritten, "the agent" -> "the assistant", the developer-meaning
prose fixed line by line), README's "invited players" -> "invited
users" and its four stragglers, QUESTIONS' #19c line, the gm.md
carve-out wording in AGENTS and the lint (the file is the run
GM's private file; the flagging target is the developer; the
non-editor is the assistant). Deliberately untouched: the root
prompts and every model-facing string (GM there was always the
run's GM), the packages' fiction, DECISIONS/HANDOFF/ROADMAP as
records -- DECISIONS gained one dated header note mapping the old
usage instead of a rewrite (the record is the record). And the
word "agent" retired with the same stroke (developer, 2026-11-19):
lint-banned in rule 4 exactly like "window" -- lowercase
/\bagents?\b/ fails, the filename AGENTS.md consumed as-is
("Windows" the OS the precedent) -- the living prose fixes were
the exposure rule's "internal agent prompts" -> "the internal
models' prompts" (AGENTS, README's layout, DICTIONARY's bundle
entry, the lint's own rule-8 comment) and the bookkeeper's
"arithmetic-sibling agent" -> "the bookkeeper"; DICTIONARY's
renames section carries the retirement entry. Then the class word
(developer, same day): "inferencer(s)" for the model seats
together, "LLM" lint-banned beside "agent" -- and "model" kept as
the machinery's noun, a registry entry, never a seat (a model is
what the registry lists, an inferencer is who a seat is). The
sweep that followed: 25 fixes (the exposure rule's "internal
inferencers", README's "inference key" and its Roles section
re-voiced -- "the player = one PC", "the housekeeper = a separate
inferencer invocation" -- the #22 attribution comments in the
three call sites, the prompts' one "player-model" in
housekeeper.md, the inventory's own heading "Inferencer roles").
The runtime log markers ("llm <model> u:<id>") are mechanical
records and keep their spelling.
Then the duties audit (developer, 2026-11-19, along the what-hats-
do lines: the developer maintains the repo and is the system
packages author by consequence; the op maintains a deployment; a
user's only reach is the API; a run's GM maintains their run).
Found and fixed: README's Housekeeping section was pre-split era
text -- "every housekeeping pass should end in a commit" and
"confess in the commit message" (runs/ is gitignored, the
developer's commit duty assigned to the run flow), the dead
packages/<story>/dumps and packages/<story>/db paths (the dump is
per-session under runs/), "canon/ stays committed", and
"single-human" (multiuser since 2026-11-14) -- rewritten to the
current paths with the audit's hat named (the dump cross-check is
the operator side's; the GM reviews through the server). The
CLI-attributed-to-the-GM lines now say what they are:
deployment-side filesystem reach, --gm-authorized writes,
whoever's hand runs it (the protocol passage, quickstart step 7,
which also dropped its "commit", the booting intro names its hat
switches, step 5 names the API twin). "The host" -> "the op" in
the pitch. One mechanical fiction PARKED on the ROADMAP deferred
list instead of fixed: the tiers table's "until the GM unlocks it
in the story" promises a records-unlock channel that does not
exist (records is a creation-time settings bool, settings.json is
read-only in the API) -- build the channel or fix the promise,
later. Verified clean by the audit: the notepad (ONE notepad --
the run's gm.md, owner-writable, seeded from the package copy),
the op's non-reader boundary, every provider act, the spec
attributions, the reader, the prompts.
The
developer's operator queue line is theirs to strike. Verified:
typecheck green both programs, check-repo clean, a final grep
confirming every remaining "GM" in the sweep scope is a protocol
term or a roles-inventory mention.
- **The provider-flow round is BUILT and verified (2026-11-19,
GM-designed in conversation): discovery is the probe, the key
path opens only on refusal, and the retry story is settled
universal.** The state machine as ruled: 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 runs
discovery as its probe. A working keyless listing never sees a
key field. A 401/403 stands the provider broken (the card
carries the probe record, the ask opens -- an inline password
input on the card and in the add form). The auth route is
probe-then-save: the candidate key is checked on reception, saved
only on success -- a still-refused key never reaches the config,
the previous state returns, the ask repeats (mock-lock proves
it). Every OTHER 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 -- found and fixed).
The remove-key control (custom providers only, armed): clear,
auto re-discover -- a provider gone public lands working keyless,
a locked one re-opens the ask, which is the key-replacement path
(remove, then key). o/f never asks in any state: its auth
failures are upstream breakage to show, never a prompt (the card
says so; the auth routes 403 it both ways). The probe record
(outcome ok/auth/error + detail + at) lives on the entity and
ONLY the explicit acts move it -- add, key, remove-key, discover
(and the boot self-heal); usage errors are transient and the
op's to fix eventually, nothing in the runtime flips provider
state (GM: marking a provider broken mid-play is disruptive; the
failed turn already lands its req event). The universal retry
rule (GM, 2026-11-19): 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 is the designed outcome, not
a degraded one. And the cache rule (GM, 2026-11-19): failures
NEVER cache -- a failure is the absence of a measurement, not a
measurement; every refine re-probes the models that failed the
last one (the receipt says so), so a transient error during a
battery can never pin a false verdict -- gev's 400s cost one
cheap probe per refine and self-heal the day the backend learns
tools. The gev finding that shaped it: the GM's example of a
200-failure is actually a 400, and the bright 200/non-200 line
died for the simpler rule. En-route fix the smoke earned: the
create route built the run dir BEFORE validating body.spec -- a
refused spec left an orphan run (the sixth run in
restart-check's count); the spec validates first now, nothing
lands on refusal. Verified: typecheck green both programs, smoke
ALL PASS (+27: the add-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, fixture cleanup; and the
mock-c battery -- mock-fail lands its verdict with the
never-cache marker, absent from the cache file, re-probed fresh
on the re-refine while the passing three serve from cache, not
selectable, and no orphan run), restart + reminder checks green
(5 runs again -- the leak gone), a browser pass on the mock
server driving the whole UI machine (the form's 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), and the debug server back on
the real state (Chloe + Irene). Docs: README's add-flow and
cache passages amended. The dev refine-cache never existed (the
real refine predates the cache), so no hand-clean was needed.
- **Design research landed in ROADMAP (2026-11-19, GM): two open
questions worked in conversation, nothing built.** "Teaching the
model style" -- register is a consequence, not a setting;
entrainment is the runtime mechanism (the bundle's own prose is
the in-context corpus); the corpus-free levers, cheapest first
(the GM's narration, the package lens, moves-as-tests, fixing
the two disease-teaching prompt lines, the sampling layer); the
packager (the housekeeper pattern: no direct quotes, no plot, a
no-clone gate). And "the happy camper": small scope without the
erotic copout -- gravity not walls, membrane not seal, Chekhov
debt in two currencies, no in-setting telos, demand and
forgiveness as separate axes, the model's drama gravity as the
honest difficulty. Findings only, stated generic -- the record
exists so future rounds start from it; the pilot below is its
own order of operations.
- **The provider round is BUILT and verified (2026-11-18, the
batteries-included arc): providers are first-class entities, the
config is server-written state, and a fresh clone boots
playable.** state/config.json holds the entities (slug,
baseUrl, optional key, the op's default {model, effort} pair);
the SPA manages them -- the binary add (the opencode/free
singleton or a custom provider), removal (the singleton holds
while it is all that stands), per-provider discover/refine with
the meter, the selection prompt, and the curator's
recommendation with its one-click apply. server.json shrank to
bind + contwin (optional) and imports once on first open: the
dev machine migrated (provider 'llm-exan-tech', the 13
measured models preserved, the glm-5.3 pin carried as the
default at max). The self-heal boot: an empty provider list is
auto-fixed -- opencode/free added and discovered in the
background, boot never blocks. The spec model: every request
resolves {provider, model, effort} -- no unset effort
(amending the 2026-11-16 measured-default ruling), the per-run
params layer retired (the <mind> verb is the only sampling
source; max_tokens died with it, the turn meter scales on
history alone). The registry is per-provider sections; the
adjudication cache is keyed by the double spec tuple (churn
reuses, re-probes refresh -- the smoke caught the first build
caching the bare probe and stripping curation on a cached
re-refine). Run picks are invalidatable: a removed provider, a
drifted or disqualified model blocks the run with the note
naming what died; the housekeeper inherits the player spec's
provider default (#16 closed). Legacy bare-string picks resolve
through the registry -- Chloe stays playable, Irene blocks
honestly (she never runs again by ruling). Verified: typecheck
green both programs, smoke ALL PASS with the provider battery
(the self-heal boot, the binary add, the o/f guard, the
selection-then-refine flow, the per-provider meters, the cache
hit and purge, invalidation end to end, the restore cycle),
restart + reminder checks green, a browser pass over the admin
block and the model box with zero console errors (the
refine-then-recommend-then-apply loop, the spec saves, the
inheritance health line), and the live debug server migrated
and serving. The staged vector round is superseded by this one
-- its endpoints vector survives as the import's input shape.
The same sitting proved the whole arc LIVE, from nothing
(sandboxed, then restored): bare boot with no server.json and
no state mints the invite, auto-adds opencode/free; claim, add
a custom provider with a bogus key (the recognizable 401), fix
the auth (the listing retries, 13 models), select the default
pair, create a run with its spec, start, and play a real
glm-5.3 turn -- 116s, actual prose, the full path walked clean.
Two live findings: opencode.ai serves 89 models keyless but
401s an EMPTY Bearer header (fixed: the auth header rides only
when a key exists -- the anonymous fallback was broken against
its own endpoint), and the failure log line rides stderr
(console.error), not stdout. THE NO-LEGACY PASS (GM's new rule,
2026-11-18, recorded in AGENTS): the four legacy paths this
round shipped with died the same day -- bootImport deleted (the
dev config exists; server.json cleaned to bind + contwin), the
registry's v1/v2 in-memory migration deleted (models.json
rewritten on disk into the per-provider shape), the
bare-string model picks deleted (Chloe's run.json migrated to
spec objects, shape-preserving: exactly what the runtime
resolved), the clerk's create model arg deleted (the hidden
legacy writer), plus apiKeyEnv and the contextWindow alias.
Re-verified after the pass: typecheck green both programs,
smoke ALL PASS, restart + reminder checks green, check-repo
clean, the debug server on the migrated state (Chloe resolves
spec-only, the registry reads the v3 file directly).
- **Superseded:** the provider-vector round (2026-11-18) --
endpoints as a config list -- was folded into the provider
round above the same day; its build verified as described
there, and the vector survives as the server.json import's
input shape.
- **The provider-vector round is BUILT and verified (2026-11-18),
uncommitted.** `server.json`'s singular endpoint became
`endpoints`: a list of (baseUrl, auth) pairs, auth optional --
the scaffold's prerequisite, so the free keyless default and the
op's real key coexist as entries. One client per pair, discovery
scrapes every configured endpoint and tags each model with its
base, every call routes through `providerFor`, and the
singular-era registry normalizes on open (the measured registry
survives unregenerated). Smoke-proven over two synthetic mock
endpoints; live-proven on the real 13-model registry.
- **Everything else is built and committed through `14b9b01`
(2026-11-18).**
The latest commit carries the day's three pieces:
- **The rewind round**: the GM's take-back riding the send --
`rewind` (a log line index naming one of your turns) truncates
the log at its target and lands the new turn in one commit;
fork is the preservation story. The staleness guard `expect`
rides every send (and the ask answer); the floor is the start
marker after the carryover; the player-facing records tools
are off until rewind-compatible (the CLI --gm path stands);
the SPA stages the gesture (two-click arm, auto-fill, tint +
note, cancel, the disabled rename when the box holds text).
Browser-proven committing a real rewind through the UI.
- **The conflict-persistence round** (GM, 2026-11-18):
conflicts stay in the contwin -- a mistake remains visible so
it is not made again -- and are self-contained, quoting the
offending emission (the block it answers strips from the
view). Carried conflicts now count against the carry budget.
- **The GM's reminder edit**: the checked-action metrics (three
probes for when to write as intent, the dud reveal embraced).
- **Everything else is built and committed through `eefb721`
(2026-11-17).**
The three rounds of that day, each mock-proven and live-proven where
live could reach:
- **The progress round** (`bbaf336`): the provider always streams
(assembling the same response shape, feeding an optional
onProgress callback), the refine battery has a step meter with a
surviving receipt log (the job carries steps/lines; the bar moves
only on real completions), and her turn has a live meter
(`GET /progress` + the transcript-foot placeholder: phase, chars,
elapsed, scaled to her longest past turn or max_tokens, geometric
push-back past 100%, a chunk-stepped fallback strip when no
history). The REAL refine ran end to end (GM-authorized): 13
models in 541s, the meter behaved, and the registry gained the
effort measurements -- the deterministic default re-picked to
glm-5.3-max, with server.json's own pin (glm-5.3) still beating
it until the op edits server.json.
- **The prompt-craft round** (`5279dd3`): the handbook's pointers
section is "Story is the deliverable" with the audience doctrine
(player, GM, reader -- don't summarise or quote the GM's latest
turn; addressing the reader is priced, addressing GM in-character
is nonsensical), the purview example went third-person, Retcons
moved under Continuity; invariants gained the typography ruling
(emphasis is **bold**, italics are actions/thoughts/descriptions
-- codifying what both renderers already assume). Both retired
operator-queue items were struck.
- **The sheet round** (`eefb721`) plus the roadmap audit (same
commit): the GM's ledger of arbitrated run state -- the second
state channel, split from status/agenda by truth model
(self-report vs arbitrated). Schemaless JSON in a `<sheet>` chunk
at the freshest end (its own authoritative voice, never a
canon-point stamp), GM-only authorship riding turns newest-wins
whole-set, the boundary note carrying it across stops, the
read-only guard (the `<model>` sibling), the third pane
(sheetEditor, stage-and-ride). Mock- and browser-proven; the box
package is the first consumer. The roadmap audit retired the done
(582 -> 338 lines): the multiuser and SPA sections are tombstoned,
the stale clauses amended in place, the open steals keep their
numbering.
- **The plan: abandon Chloe, start a fresh run from the top.** The
max-effort result prompted it -- her one max turn thought 11,371
chars (9x her session max) with real continuity work inside (the
comparison is the 2026-11-17 conversation). Chloe's session 1 is
open-on-disk, never stopped, never housekept; the reconcile handles
her at any future start, and the GM may never touch her again.
- **Irene is broken and never runs again (GM, 2026-11-16).** Her logs
and db stay exactly as they are -- reading her files on disk is all
that's left. Her frozen session-1 bundle keeps its old handbook: an
artifact, hands off.
- **The lore round (2026-11-17, conversation + la-caramba gm.md):**
the plot spine (the AI's satellite gambit to beach herself on the
bunker island, the lobotomized emergency model as the comedy that
was the clue) and the five seam answers: she waited for useful
hands; no crew, no robots -- persuasion is her only power; the
invisible AI swarm forum as her knowledge source (pre-lobotomy,
underexplained per the palette); the satellite is a dumb autopilot
deliberately provoked (one calculated event, no running threat, no
rescue because nobody cares); power wakes the real AI. Pinky is
foregone for this run -- without her, pink ice guards the bunker
door and the AI would spend a girl to open it (the door's mechanic
decides which one). gm.md is a garden of diverging paths, not a
plan: nothing is canon until played.
- **The box package is WIP (GM's, untracked, never commit until
said).** The backdrop is an incremental-game economy as ERP (GP/BP,
restraints as income-producing assets); still missing: the opening
turn, real memory seeds, a gm.md (the task stream, the facility's
voice, the release-target ruling) -- its current seeds are
la-caramba leftovers. `packages/detention/` is WIP, untouched;
template and box are committed (`e60fd63`).
- **The deployment thread (2026-11-18): the box is oriented, the
story is ruled, the build has not started.** A burble VM (Debian
13, single-core, 4G swap live; connection specifics in the
gitignored `.ssh/box.md`). The ruled shape: release dirs with a
moving symlink (the runner stages, the unit's ExecStartPre
relinks and prunes); the graceful stop as an in-process state
machine (starting -> alive -> waiting -> exited -- USR1 sets the
drain, refuses new ops, uncancellable, awaits the run locks and
the jobs, capped ~10 min; TERM/HUP/QUIT exit immediately;
systemd KillSignal=USR1 makes stop/restart the graceful path);
the state home moving out of the repo (default `~/.tiny-worlds`,
env override, first-start scaffold -- the release tree carries
nothing gitignored); TLS terminates in caddy (automatic
TLS-ALPN-01, staged against LE's staging endpoint first); node
via nvm at the current stable branch; the pipeline is a gitea
runner on the box, stage-and-signal, no test gates in it (the
smoke needs clean state, which the box can never give). The
provider round (above) settled the scaffold's provider
story: the o/f singleton ships, auto-added and discovered on the
empty provider list -- playable with zero secrets. Unverified:
whether the free models pass the discovery battery's tool probe
(the listing is real and keyless: 89 models at the time of the
fresh-path test -- a full refine on it is 89 batteries, which
makes the parked short-list rule suddenly relevant).
- **The debug server runs the current code** (port 7350, pid in the
temp pid file; sessions rebuilt for Chloe and Irene at boot).
state/ holds the refined registry (per-provider shape on disk,
migrated in the no-legacy pass) and the provider config
('llm-exan-tech', default glm-5.3 at max). Eight commits await
the developer's push (`bbaf336`, `5279dd3`, `eefb721`, `53f992a`,
`14b9b01`, `e60fd63`, `ccdd9ea`, and this round -- the ssh key takes a
passphrase, pushes are the developer's).
## Immediate next steps, in order
1. **The deploy build.** The free-default call is RESOLVED
(2026-11-18, the provider round): the opencode/free singleton
ships -- auto-added and discovered on the empty provider list,
playable with zero secrets; the box's first refine on it is
the live test of whether its free models pass the battery's
tool probe. What remains is the state-home half, by the book
after the fresh-boot observation on this laptop (GM,
2026-11-18): the state home out of the repo (default
~/.tiny-worlds, env override, first-start scaffold -- the dev
machine migrates once, and the smoke gets its own temp home,
killing the state-backup dance), the USR1 state machine + the
immediate-exit handlers, the systemd unit (KillSignal,
TimeoutStopSec above the cap, ExecStartPre relink + prune),
caddy with its TLS-ALPN-01 cert (staging endpoint first), the
gitea runner workflow (stage, signal, restart), and the
box-side install (nvm + current stable node, runner
registration). The first start under multiuser rides this: the
op's bootstrap-invite claim happens ON the box.
2. **The fresh run.** Create it from la caramba (re-edit its
files as desired), pick the model and the effort at create time, and
play -- on the debug server or the deployment, the developer's choice.
It carries everything new at once: the 2026-11-17 prompt set's
first live test (the audience doctrine, the typography rule,
the no-echo teaching), the reminder's checked-action metrics,
the full-block protocol's first live run (her first own
whole-list emission is still unplayed), and the spec picks and
the turn meter under real use. Her first stop carries the first
real housekeeping pass, the slidwin carry test, and the boundary
state note. The effort is a deliberate pick now (there is no
unset effort): decide it at the setup box -- the measured
ladders pre-select each model's max-mean level.
3. **The style pilot (zero build -- the design research's own
first move).** Hand-place a style chapter in a dormant run's
handbook copy (the file editor already allows it), a
style-by-name line in character.md, the opening turn in-voice:
an evening's work testing whether register carries through
entrainment at all -- the packager only earns its build if the
mechanism proves. Riding along, the two lines that teach the
disease (design research, lever 4): the reminder's "Decorate
the turn with additional flavour" (decoration is the failure
mode as a verb) and the handbook's uncashed "Flavourful
language" pointer -- prompt files, so the drafts are mine and
the red pen is the GM's.
4. **Prompt reviews (GM-led).** housekeeper.md: read it, tweak,
replay -- the dry-run button re-runs housekeeping with nothing
applied. curator.md likewise: read, red-pen, re-run refine (one
click; the meter watches it now).
5. **Finish the box** (GM's): the files above, then it becomes the
sheet's first consumer.
6. **Keep playing -- and watch.** The standing observables
status discipline, #14 turn lengthening vs the reminder), the
protocol's firsts (does she restate her blocks every turn or on
change; does the `<model>` block teach her anything; does she
ever state a `<mind>`; does a GM override read as her state and
does she adopt or fight it), the conflict quotes doing their
job (does a kept mistake stop repeating), the rewind under real
regret, the effort knob's texture and cost curve, the
prompt-craft rules against a live model (no-echo,
bold-not-italics), the variantary firsts (the pick against a
real model, the metric's curve, coin-flip personality), and the
sheet once the box runs.
## Not yet exercised (expect first-use friction)
- **First start under multiuser** -- the auth spine, invites, fork,
non-owner reads: all mock-proven only. Its first live run rides
the deployment (the op claims the box's bootstrap invite).
- **The free models against the battery** -- the o/f listing is
live-proven (89 models keyless, the empty-Bearer 401 found and
fixed in the fresh-path test), and a live second provider rode
beside it (the dv add in the same test) -- what no traffic has
touched is a refine over the free models: the tool probe, the
ladders, the curator on a free model. The box's first refine
is the test.
- **The rewind against a live model** -- mock- and browser-proven;
the fresh run's first real regret is its first live test, and the
expect guard's 409 has never fired outside the smoke.
- **The full-block protocol and the GM override against a live
model** -- whole-list emission, the stamping, the `<model>` blocks,
override adoption: the fresh run is the first run of it.
- **The sheet against a live model** -- mock- and browser-proven; the
box is the first consumer. The bookkeeper agent is parked
(ROADMAP), unbuilt.
- **The slidwin carry at a real session boundary** (the fresh run's
first stop), the story as the review surface, the OOC-hole in
practice.
- **ask_gm in live flow** (pause/resume is mock-proven; the live
model made its own choices so far), the self-heal conflict path
live (capped at 3 heals a turn), a live housekeeping rejection and
the recovery-apply path.
- **Everything variantary live**: the crypto pick against a real
model, the variance metric's curve, coin-flip personality,
same-turn alternatives rather than sequences.
- **The turn meter's fallback strip** -- every package so far has an
authored opening turn, which gives the meter a scale from the
first turn; the chunk-stepped animation only fires with no
assistant history at all.
- **The in-flow missed-update prediction** (ROADMAP, system-1) --
measurable from the second real session on.