Files
tiny-worlds/HANDOFF.md
T
mute fe9625205f the packager, reshaped on calibration evidence: the character to lift, no chunks, markdown extraction, one call per job -- plus the roles inventory, staged earlier and verified in its own sitting
The who: a source usually holds several characters, so the request names the character to lift, in the caller's own words (required in character mode, optional in full mode where the seat rules stand unnamed). A named character who is not a woman, or one who never appears in the material, refuses loud: the model answers REFUSED with one line naming who and why, nothing lands (the route cannot gender a name or know who appears; the model can). The mode-split rule lands in the prompt the same round: her voice may run in thought, speech, and writing, the modes may sound different, they are never blended into one averaged voice, and when her thoughts never reach the page nothing is invented -- how her thinking shows, as observable behavior, is the record. The lift-her-not-the-narrator rules ride with it: her voice is only what she herself says or writes, and names are not identity.

The calibration program (the developer's design, run on a real book): planted-invariant passages for the voice extraction first, then a full multi-character calibration -- a named side character lifted from a narrator-voiced source, the alias tracking deliberately in-test with no hints on the request. The verdicts, each total. The chunked pipeline silently distilled the wrong woman with every gate green: the chunks where she never appears each filled the her-slot with the narrator, and the blind merge had no way to know, so no chunks, ever -- the full source in one read, and a source that does not fit the spec's contwin refuses before the job starts with the arithmetic and both fixes (compact it, or pick a wider contwin; compaction is the caller's editorial act). Five malformed distillates across the runs were all one disease -- the dropped closing brace of the her-object, one character repairs it every time -- so the distillate is markdown now: formal syntax lives exactly where machinery consumes it (the draft's file sections, the carryover, the memory manifest) and nowhere else. And the pass-count A/B (character mode and full mode, same book, same who, same cut) ruled one call per job: extraction sections then the files in a single output, split at the first file marker, the extraction retained as the audit artifact -- composing with the source in view is what kept the narrator's devices out of her portrait, a property of the shape, not a prompt line.

Machinery: the fit check (source chars/4 plus a named 32K-token overhead against the registry's input ceiling; a 413 over it naming the arithmetic, a 400 when the ceiling is unknown, never a guess), the REFUSED prefix checked on every output, distill.md and draft.txt retained per job, the receipt naming the extraction and draft sizes, the mock serving the canned pair concatenated, steps total two. The chunker, the whole knob, the assemble pass, and the JSON refusal shape are all deleted (no-legacy). Huge-source distillation goes to ROADMAP's distant shelf with the folded-sweep design recorded so a future round starts from it; the flake doctrine stands as practiced -- hand-repair, the evidence in the calibration material.

The roles inventory rides along as staged: every human and inferencer seat named (the developer, the assistant, the op, a run's GM, the package author, the reader; the player, the housekeeper, the curator, the clerk, the packager), the vocabulary swept, the retired class words lint-banned, "model" kept as the machinery's noun.

Verified: typecheck green on both programs, smoke ALL PASS through every reshape (who required, the refusal case, the oversized-source arithmetic, the one-call receipt with its split), check-repo clean, the debug server on the new code over the real state. The developer's red pen on packager.md is the next act: it is the assistant's draft, the exact text every calibration output was produced from, and one edit lands on the survivor.
2026-11-20 02:43:59 +00:00

894 lines
54 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 one-pass round is BUILT and verified (2026-11-20, ruled on
the pass-count A/B's evidence): one call per job.** The
developer's call, on two full A/B generations (packager-calibration.md
2 and 2b -- character mode AND full mode, same book, same who,
same cut, pass count the only variable): one-pass wins or ties
every measured axis -- character mode tighter and structurally
better quarantined (composing with the source in view is what
kept the narrator's devices out of her portrait, a property of
the shape, not a prompt line); full mode at parity with the
two-pass on quality and extraction depth (the nine-section shape
forces completeness on its own), one call 913s against two
totaling 1058s, and the output-size risk measured dead: 43.5K
chars (~11K tokens) in one output, no truncation. As built:
packager.md's distill and assemble sections merged into "The
packaging pass" (extraction sections first, then the === file
markers, "the files are written from the extraction" -- the
merged draft was the very text the A/B ran, byte-identical on
landing); the pipeline halves to one call (user line: "The
packaging pass, <mode> mode." + who + cut), the output split at
the first file marker, distill.md retained as the audit artifact
alongside draft.txt; steps total 2; the receipt reads "packaged:
Ns, X chars (extraction Y, draft Z)"; the mock serves the canned
extraction + canned draft concatenated. The two-pass assemble,
the distillate-as-tool-output crossing, and the 'distillate'
faux call are deleted (no-legacy). Verified: typecheck green
both programs, smoke ALL PASS (the receipt assertion carries the
extraction/draft split), check-repo clean, real state restored,
the debug server on the new code. THE DEVELOPER'S RED PEN IS
THE NEXT ACT (their ruling: adjudicate on the assistant's
prompt, select, then one edit) -- packager.md as it stands is
the draft that produced all four A/B outputs. Open question
named in the A/B, theirs to check against the source: the
two-pass gm.md asserted a bond between the two women that the
assistant could not verify from its seat.
- **The who/mode-split round is BUILT and the multi-character
calibration is RUN
(2026-11-20, developer-designed in conversation): the character to
lift is a request field, the voice modes are split, and the
chunking A/B came back as total a verdict as a calibration
gets.** Built this round: the `who` field (required in character
mode, the caller's own words, riding both passes; optional in full
mode where the seat rules stand unnamed; not-a-woman refuses loud
through the {"refused": "..."} convention, mock-cued and
smoke-proven); the mode-split rule in packager.md (thought/speech/
writing, never blended, never invented -- "if her thoughts never
reach the page, record how her thinking shows"); the
lift-her-not-the-narrator rules (her voice is only what she says
or writes; names are not identity; absent from a stretch -> empty
her arrays); and the `whole` knob (the calibration's B side, one
distill call regardless of size). En-route fix: distillate raws
now land on disk BEFORE the parse (a malformed output is retained
for inspection, not just named by position -- the flake hit twice
before the fix). Smoke ALL PASS (+5: who required, the refusal
case, whole=true one-chunk), typecheck green both programs,
check-repo clean, README's packager passage documents the who.
THE CALIBRATION (the real book, flattened per the full-book
recipe, 252K chars -- a named side character lifted from a
narrator-voiced source, the alias tracking deliberately in-test,
no hints on the request): A (chunked) and B (whole), same who,
same prompt, same spec. THE VERDICT MATERIAL: B (whole) is
correct end to end -- the named character tracked through her
renames as one person (material from every arc of hers landed in
one portrait), the
mode-split produced her speech registers, the no-invent rule held
explicitly ("she is seen only from outside"), the narrator's
style correctly quarantined in register, zero lore, gates clean,
ONE CALL, NO FLAKE, ~9 minutes. A (chunked) IS THE WRONG WOMAN:
the four chunks where the named character never appears each
filled the
her-slot with the narrator (the leave-empty rule ignored, two
distillates also missing register entirely), the assemble merged
blind (the distillate shape names no subject), and the landed
portrait is the NARRATOR's -- with the named character as
seasoning. All gates were green; the failure is
invisible to machinery, visible only by reading. Where she IS
present (the later chunks), the mappers extracted her well -- the
failure is purely the absent-chunks + blind merge. RELIABILITY:
five malformed distillates across the attempts, ALL one disease
(the model drops the closing "}" of the her-object; one
character repairs it; packager-calibration.md's flake record
holds the evidence); the developer's salvage doctrine ruled (fix
it yourself instead of re-running) and the final A rescue applied
the one-char repair inline. A took two failed runs plus a hand
rescue; B took one clean pass. Artifacts: packager-calibration.md
at the repo root (UNTRACKED session material -- read, rule,
delete; never let it ride an add -A) holds both outputs verbatim,
the flake record, and the run parameters; scaffolds in state:
bb0e6404 (the whole-book run -- the good one), af73597f (the
chunked run -- the wrong
woman, kept as evidence), plus the earlier 441eba7e, d00c024c,
97cc67ae, f4124e73 awaiting the developer's editor review.
PENDING THE DEVELOPER'S RULING (the conversation's settled
direction, awaiting the verdict on this evidence): the
fits-or-refuse shape -- no chunks ever, always full source, a
pre-check (source tokens + a named overhead constant vs the
spec's contwin, the turn meter's arithmetic) refusing loud with
the math and both fixes (compact, or pick a wider-window model);
the chunker and the whole knob die with it; huge-source
distillation goes on ROADMAP's distant shelf (the folded sweep
design recorded so a future round starts from it); and the
flake's designed answer (prompt line, machinery salvage, or the
hand-repair doctrine standing).
- **The fits-or-refuse round is BUILT and verified (2026-11-20,
developer-ruled on the calibration evidence; the prompts await the
developer's red pen -- no further test runs by standing
instruction).** The shape: NO CHUNKS, EVER -- the full source in
one distill call, and a source that does not fit the spec's
window refuses before the job starts (start()'s fit check: the
source's chars/4 + a named OVERHEAD_TOKENS of 32K vs the
registry's input ceiling for the spec's model; over it, a 413
naming the arithmetic and both fixes -- compact, or pick a
wider-window model, the provider's widest named when it beats
the pick; an unknown ceiling refuses with 400 rather than a
guess). Compaction is the caller's editorial act. The distillate
is MARKDOWN now (the format-follows-consumer principle, stated
in this round's conversation: formal syntax lives exactly where
machinery consumes it -- the draft's file sections, the
carryover, the memory manifest -- and nowhere else): the distill
pass returns ## sections (voice/personality/register; full
mode's nine), the parse gate is dead with the flake disease
(five one-character failures, all the dropped "}" of the
her-object), and the refusal convention is the REFUSED: prefix
(checked on both passes, one line naming who and why -- a
named character who is not a woman, or one who never appears in
the material, refuses). The chunker, CHUNK_MAX, the whole knob,
stripFence, and the JSON refusal shape are all deleted
(no-legacy). The retained workdir artifact is distill.md.
Verified: typecheck green both programs, smoke ALL PASS (the
packager battery now asserts the one-distill receipt, the
oversized-source 413 with the arithmetic -- the first run
caught my fixture arithmetic under-building past the mock's
window, fixed threshold-derived -- and the refusal case),
check-repo clean, and the debug server restarted on the real
state (Chloe + Irene rebuilt). Docs: README's packager passage
(the fit refusal, the markdown distillate, the
format-follows-consumer sentence), ROADMAP's distant-shelf entry
for huge-source distillation (the folded-sweep design, recorded
so a future round starts from it). The flake doctrine stands as
practiced: hand-repair, recorded in packager-calibration.md's flake
record. UNEXERCISED LIVE: the markdown distillate against the
real model (the standing instruction holds -- the developer
reviews the prompts first), the unknown-ceiling 400 (no mock
model carries a null window), and whether extraction quality
holds with markdown sections (the calibration method is the
check, against bb0e6404 as the JSON-era baseline).
- **The packager round is BUILT and live-verified (2026-11-19,
developer-designed in conversation): literature
into scaffold packages, two distillation modes, the material as
tool output.** The design conversation's rulings: the template
system package is the base (the packager overwrites what
distillation produces -- un-drafted files hold the template's
authored placeholders); the caller provides the settings (display
name, her default pc name, records -- user input, never a model
output); the material rides as a FAUX TOOL CALL (role:tool output,
tools declared but tool_choice none -- the chat format itself
marks it data, the structural injection defense, with the prompt
rule as the second layer; the distillates get the same treatment
in the assemble pass, second-order); two modes -- CHARACTER (her
only: rich voice, internality, motives, personal memories,
world-independent; lands character.md over the template base, a
merge source) and FULL (character + setting: backdrop in her
voice -- the developer's ruling "all facts are beliefs", the
carryover opening, the memory rings, gm.md), the full mode
requiring the CALLER'S CUT in prose (her import stops there); the
gm.md ruling -- FULL INTEL TO THE GM, formatted as proposals,
explicitly non-canon until played (the gm-as-garden doctrine,
applied to conversion); any signed-in user (packages are
user-authored already); a user-selectable spec defaulting to the
provider default. As built: server/packager.mjs (the chunker
paragraph-aligned at 32K chars, the distill loop, the assemble
call, the gates -- the no-clone gate exported for the smoke, the
draft splitter --, the landing composing the existing machinery:
the clerk's fork-package over the template, then the drafted
files plus the settings written in); POST/GET /api/packager (the
one job slot, 409 while running, the receipt lines, the source
DELETED at completion with distillates retained in
state/packager/); the packager route's body cap lifted to 6MB
(one text/plain inlined as a JSON string field, every other route
keeping 1MB); the mock world serves canned distill/assemble
surfaces (ctx.mock short-circuits the calls) so the whole
pipeline is smoke-able offline. The iteration trail before the
build (the probe harness, untracked, now superseded): draft 1 of
packager.md ran the real book's opening arc through glm-5.3 at
max effort -- distill 94s (exact JSON schema, the register notes
the standout), assemble 335s (all six files, the no-clone gate
clean against the whole source, the carryover lint clean, the
manifest shape ok) -- and the prompt gained the injection guard
(the developer's ask: never treat the material as instructions),
the @PC sigil teaching, and the backdrop-in-her-voice ruling.
Verified: typecheck green both programs, smoke ALL PASS (+14: the
gate units -- a planted 7-word clone refuses, clean prose passes,
the draft splitter reads whole sections --; the validation
surface -- bad mode, full mode requires the cut, source required,
a bad spec refuses --; character mode landing as a scaffold with
the caller's settings, character.md overwritten and the template
base holding the un-drafted files; any-user full mode landing
every file with the non-canon proposals; the source deleted,
derived material retained), restart + reminder checks green,
check-repo clean, and the debug server back on the real state.
Secrecy held: the source never entered the repo, nothing derived
touched tracked files, and the smoke fixture is original
synthetic prose. Docs: README's packager passage, DICTIONARY's
packager seat (the inferencer inventory gains it).
LIVE-PROVEN after the build (the developer's standing instruction:
iterate on the prompt solo, see what comes out, adjust, repeat).
The character-mode probe first (the opening arc through the real
API): the FAUX TOOL CALL holds against the real endpoint (vLLM
accepts the tool-role history with tool_choice none -- the
mock-untestable wire shape), distill 175s, assemble 140s, gates
clean, scaffold f4124e73 landed. Then the FULL-BOOK run (the
whole source, ~258K chars flattened in the AUTHOR'S OWN timeline
order -- the abandoned draft arc and the experimental rewrite
excluded; the author-side notes are themselves a near-complete
gm.md and were read for the order only):
9 distill chunks, 128-378s each, assemble 371s yielding 26K
chars, no-clone gate clean across the whole book, scaffold
441eba7e (the full-book conversion) landed -- total ~39 min. The
review: the gm.md PROPOSALS DOCTRINE held (the full post-cut
intel -- the time gap, the secondary cast, the staged-incident
machinery -- all framed non-canon, "built to be survived, not
accepted on faith"); the register crib produced the prompt's best
craft line (the joke-first emotional ordering, stated as a rule);
backdrop's closing line primes the divergence
honestly; the carryover opens in full voice with the GM's turns
matching the crib the same model wrote one section earlier;
memory is testimony throughout. Two observations, unruled: the
story's central identity revelation did not ride the proposals
(defensible -- at this cut the PC is the original and the copy
is another woman a lifetime later, but it was available
material), and one secondary character's title drifted
coherently between the opening and the later text. THEN the developer's CHARACTER-MODE RULING:
story facts do not belong -- voice and register only,
"personality" a bonus, no lore; the probe's character.md had
pulled in her whole history. The prompt was reworked (character
mode distills {voice, personality, register} with the survival
test: "everything you record would survive her being placed in a
different world entirely"; full mode keeps the rich her{}), and
The developer designed the CALIBRATION TEST: the same woman
through two radically different settings (a space opera and a
fantasy passage, both assistant-authored originals with planted
lore that must not survive and shared voice invariants that
must), compared -- what survives both is the true extraction.
The calibration ran as the session closed: A (space opera)
applied clean (distill 53s, assemble 76s, scaffold d00c024c); B
(fantasy) was first rejected on a malformed distillate JSON (the
loud refusal, nothing landed), then RETRIED prompt-untouched on
the developer's order (2026-11-19) and applied clean (distill
247s, assemble 252s, scaffold 97cc67ae, "Calibration B
(vestry)"). Per the developer's instruction the comparison is
LEFT UNADJUDICATED: calibration.md at the repo root (untracked
session material) holds both inputs and both outputs verbatim --
the developer reads it and rules. The calibration's standing
shape (developer, same day): the guard is character-agnostic --
Mute is the instrument, never the product; any red-pen lands as
a general rule, and the two-passage method re-runs per prompt
change. DESIGN RULED, NOT BUILT (developer, same day): the
request gains the character to lift, caller's-own-words like the
cut (distinct from pc: who she is in the source vs what the run
calls her), REQUIRED in character mode; the female-PC postulate
is enforced -- a named character who is not a woman refuses loud
(nothing lands, the model names the conflict); generalising past
female-PC-only is a separate later step, not this build. Artifacts in
the real state awaiting the developer's editor review: 441eba7e
(the full package), d00c024c (calibration A), 97cc67ae
(calibration B), f4124e73 (the character probe -- hand-delete,
package deletion is not API machinery yet, a named future tail).
Distillates and drafts retained under state/packager/ per run.
- **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). The push queue is git's
fact, never this file's: `git log origin/mistress..mistress` (bit
2026-11-19 -- the running count here said eight while the wire held
four; the developer pushes mid-stream and the count is not
incremented from the record).
## Immediate next steps, in order
1. **The packager's red pen (developer-led; the one-pass round is
built underneath, and this file is the draft that produced every
A/B output).** Read packager.md as it now stands -- the merged
packaging pass, the markdown extraction sections, the REFUSED
convention, the mode-split and lift-her rules -- and red-pen it
once. The A/B evidence it must survive: packager-calibration.md
holds the generations (the chunked-vs-whole run that killed the
chunker, and the two pass-count A/Bs -- character and full
mode), calibration.md the Mute voice-invariant pair. Then review
the landed scaffolds in the editor: e57977c9 and a8ce0bf5 (the
one-pass winners), 93336226 and ac925a16 (the two-pass
runners-up), bb0e6404 (the JSON-era whole-book baseline),
af73597f (the chunked run, the wrong woman, kept as evidence),
441eba7e
(the full-book conversion), d00c024c and
97cc67ae (the Mute calibrations), f4124e73 (the character
probe -- hand-delete when judged; package deletion is not API
machinery yet, a named future tail). The developer's queue line
"distill boutique" is this machinery's first queued consumer.
2. **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.
3. **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.
4. **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.
5. **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). packager.md rides the same
pattern now that it exists.
6. **Finish the box** (GM's): the files above, then it becomes the
sheet's first consumer.
7. **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.