8ef96c7ac5
The mind r/w round (2026-11-20, on the box run's live evidence: her fifth turn slipped the channel, the emission came out <model>, the guard's heal doubled a story passage): the via echo renders as the per-turn <mind> block (the block on a turn shows the params its prose was inferred with -- calibration pairs exactly), the <model> guard and its mock cue are deleted, STRIP_HERS and the story verbs drop the tag, reasoning_effort stays hidden from her, and the one-shot rule stands (r/w is the tag, not persistence). The box run's log was migrated in the same stroke, no-legacy: the refused emission became the valid mind write it tried to be, the conflict and heal left, the bundle system message regenerated under the new invariants. En-route: check-reminder's logged-turns floor relaxes to >= 1. The native-markup round's first act rides adjacent (2026-11-21): the box log's markup debris cleaned and verified through the real machinery (scan, view, story projection), and the agenda grammar is BULLETS -- blockList is kind-dependent now (status keeps its wire commas, agenda splits lines only), the pane and chip parsers match, and a comma-carrying mock item proves the grammar in the smoke. The two paused guards from that round never get built -- the blocks problem dissolves downstream into real tool calls.
Then the temperature research (2026-11-22/23; TEMP-RESEARCH.md, new at root, is the full record -- scope, the reusable fork-and-edit recipe and its gotchas, the failure taxonomy, hedges, open questions). Two blind sweeps of the box run first: prose VOICE tracks temperature blind (the composed-to-impulsive gradient survives with the number hidden), prose CONTENT was demand effect (round 1's traces read the visible <mind> block and styled to it -- a stage direction, not calibration), so the live push is RETIRED: the loop never renders the current call's settings into her view again, the per-turn via echoes are the whole read side. Thinking is temperature-robust through 1.2 and dies above it in four distinct shapes (shape-mixing 422, unbounded prose soup, reasoning-channel salad, instant salad). The n=20 organic ladder (320 forks, the box run's own moment) put the cliff at 1.2 proper: of twenty turns, 8 empty-prose, 5 soups, 2 refusals -- so the clamp drops to 1.15 ("we declare 1.2 too hot to be useful", GM, 2026-11-23; KNOB_BOUNDS moved, the smoke's conflict-range text with it). Side finding at scale: the restatement attractor -- blind, 50-85% of turns re-state their own <mind>, the value pinned near her recent emissions regardless of what rode.
Round 4 (2026-11-24) audits that corpus for content and changes no code: soft inference errors are temperature-FLAT (the ~30% breakfast error is structural, every rung), CONFABULATION IS A THRESHOLD AT 1.0 (fabrication-heavy reasoning 1.4% below the line vs 26.7% at or above; attribute drift below, invented events above; 1.15 bimodal at 8/20 -- the clamp is outcome-safe, not content-safe), and every mechanical axis is flat under the band: reasoning length, prose length, wall time, register proxies. Under the threshold, temperature is a pure voice knob.
On that evidence the two-subturn turn is DESIGNED (ROADMAP, designed-not-built): (a) full view + max effort + constant mid-band temp, the recall seat; (b) draft + tool oks + low effort + variable temp, the voice seat, the draft's register as the dial's zero point; the state blocks become real tool calls, retiring the strip lists, the strict lint, the block grammar, and the prose-to-blocks seam whole. The 2026-11-28 amendments complete it: the native tool loop carries her thread content-borne across rounds (the "thinking never returns" doctrine was transport fact -- the provider drops the field; the reader-facing rule stands), a purpose param on every tool call, the append-only prefix with the reminder as the one per-call exception (four flavors: orient, continue, draft-now, and (b)'s render contract), the recall tool (player search over its whole run; read-only, therefore rewind-safe by construction -- the records tools retire and their journaled-mutator compensation debt dies unfunded), and inline [...] annotations as the author-to-machine layer, the rationale block retained as the optional whole-turn scope. Three new ROADMAP sections ride: the status scan (the wake-up questions; location, inventory, and weather channels; meters pending), the package-declared ledger (the box order tool and the boutique shop as one mechanism; the measured 45% arithmetic re-derivation tax it kills), and the scene box with its paperdoll agent (TTI register, renderer-neutral, the model never draws a pixel). The helpfulness sweep (75 turns of the run's own reasoning: 62 CLEAN, 13 TRACE, 0 AFFECTED; onset at the punishment-arc OOC turns) and the live reading failures (the legs pronoun, the gag-speech riddle, the shed mind write) are recorded as the evidence base for the reading-rules piece.
The GM's prompt-side edits ride the same commit: invariants' r/w mind section and the agenda's no-trimming/no-metaphor lines (landed against observed behavior in the box run's thinking blocks), the clamp example already reading 1.15, system.md's injection-exception rename, README's protocol passages, DICTIONARY's updates, and the box package's backdrop and carryover content pass. The calibration materials (calibration.md, packager-calibration.md -- the A/B outputs, the flake record, the wrong-woman verdict) are committed as research records at the GM's staging. detention stays untracked WIP.
Verified across the sittings: typecheck green on both programs, smoke ALL PASS (the mind-r/w battery with the mock's script renumber, the clamp's conflict-range text, the comma-carrying agenda item), restart + reminder checks green, check-repo clean, and the debug server restarted on the real state. The substrate deltas in this commit are the mind r/w, the push retirement, and the clamp; everything else is the record.
1108 lines
67 KiB
Markdown
1108 lines
67 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 post-round-4 design session is RECORDED (2026-11-28):
|
|
everything designed this session lives in ROADMAP, and nothing is
|
|
built.** The record's map: the two-subturn section carries the
|
|
2026-11-28 amendments (the native tool loop with the
|
|
content-borne thread and `purpose` param; the append-only prefix
|
|
with the per-call reminder exception; the FOUR reminder flavors --
|
|
orient / continue / draft-now / (b)'s render contract; the recall
|
|
tool with the records retirement; inline annotations with the
|
|
rationale block RETAINED as the optional whole-turn instrument).
|
|
Three new sections follow it: "The status scan" (the wake-up
|
|
questions; location, inventory, weather channels; meters pending
|
|
the developer's fold ruling; the framework rules; the
|
|
thinking-tax bet), "The ledger" (the box and boutique calibration
|
|
points as one mechanism; log-sourced fold; the player order tool
|
|
as the first player write over arbitrated state; the measured
|
|
45% arithmetic tax it kills), and "The scene box and the
|
|
paperdoll agent" (TTI register; status unload; renderer-neutral
|
|
interface; the model never draws a pixel). The fourth new section
|
|
is the evidence: "The helpfulness sweep and the reading
|
|
failures" -- the 75-turn deep-read (62 CLEAN / 13 TRACE / 0
|
|
AFFECTED; onset at turn ~35 coinciding with the punishment-arc
|
|
OOC turns; the reward-reading loop, the hint-reified-as-plan, the
|
|
arc-graciousness) plus the three live cases (the legs, the
|
|
riddle, the shed mind write). Key rulings to carry: wrong guesses
|
|
are immersive and the character can absorb the compulsion
|
|
(compulsive determinism as canonized personality); only reasoning
|
|
budget matters -- the rule is guess-once-cheaply-and-file;
|
|
meters don't need the ledger's fold, they need its substrate;
|
|
the reading-rules instruction is THE DEVELOPER'S piece and the
|
|
sweep plus the live cases are its evidence base. The live run
|
|
grew 364 -> 593 lines during the session (the developer played
|
|
through); the riddle's wrong decode ("if I'm shameless") is
|
|
canonized in her minutes -- veto or play it is the GM's craft
|
|
call. Open items: the reading rules (developer's), the
|
|
annotation syntax question (bracket family vs new marker; the
|
|
paren channel is taken), (b)'s visible scope and exact prompt,
|
|
the attractor fight's method, the OOC-channel question, the
|
|
post-split probes (compose-only ladder, threshold-vs-lookup).
|
|
Artifacts, volatile, in the opencode temp dir: hlp-protocol.txt
|
|
(reusable), the hb-NN.txt sweep corpus. DICTIONARY gains the new
|
|
seats (the paperdoll agent) at build time, not now. Staged for
|
|
the developer's commit: ROADMAP.md, HANDOFF.md, AGENTS.md (the
|
|
developer's own queue edits ride along in ROADMAP).
|
|
|
|
- **Round 4 of the temperature research is DONE and the two-subturn
|
|
turn is DESIGNED (2026-11-24; analysis and design only -- no code
|
|
touched, nothing built).** The audit (full record: TEMP-RESEARCH
|
|
round 4; read it before extending): the n=20 sweep's 310 readable
|
|
fork reasoning traces, read by subagent fleets against the box log
|
|
as canon, under the developer's charitable-read and committed-error
|
|
rules. Findings: soft inference errors are temperature-FLAT (the
|
|
~30% breakfast misidentification runs at every rung 0.0-1.15 --
|
|
structural, the stimulus is genuinely ambiguous); CONFABULATION IS
|
|
A THRESHOLD AT 1.0 (fabrication-heavy traces 1.4% under 1.0 vs
|
|
26.7% at 1.0+; below the line attribute drift, above it invented
|
|
events; 1.15 bimodal at 8/20 heavy -- the clamp is outcome-safe,
|
|
not content-safe, the number if the developer revisits it); and
|
|
every mechanical axis is flat under the band (reasoning length,
|
|
prose length, wall time, register proxies) -- under the threshold,
|
|
temperature is a pure voice knob. THE TWO-SUBTURN DESIGN rode the
|
|
same sitting on that evidence (ROADMAP, "The two-subturn turn --
|
|
the inference split", designed-not-built): subturn (a) full view +
|
|
max effort + constant mid-band temp (the recall seat), subturn (b)
|
|
draft + tool oks + low effort + variable temp (the voice seat, the
|
|
draft's register as the dial's zero point); the state blocks become
|
|
real tool calls, RETIRING the blocks problem whole (the two paused
|
|
native-markup guards below never get built -- the problem
|
|
dissolves); conflicts re-derive (a), which RESOLVES the
|
|
conflict-doubling/heal-flow question (the mind r/w entry below) by
|
|
design -- it says start over, with the refusal in view; shape
|
|
failures re-roll (b); her `<mind>` verb drives (b). The
|
|
developer's open calls on it: the attractor fight's method, (b)'s
|
|
visible scope, (b)'s exact prompt; a post-split compose-only n=20
|
|
is planned (motif preservation a secondary axis, the temp x effort
|
|
grid the cliff locator). Their queue lines to strike when they
|
|
touch it: "two-pass turn", "does temp affect reasoning?".
|
|
Staged for the developer's commit: TEMP-RESEARCH.md, ROADMAP.md,
|
|
HANDOFF.md, AGENTS.md. Volatile artifacts (the opencode temp dir):
|
|
recount-protocol.txt (reusable, canon list embedded), canon-pack.txt,
|
|
the tr-/tp- trace dumps; the 321-fork archive stands outside the
|
|
repo at C:/data/opencode/fork-archive/temp3.
|
|
|
|
- **The temperature-research round is RUN and the substrate is
|
|
amended (2026-11-22): the live `<mind>` push is RETIRED and the
|
|
mind verb's temperature ceiling is CLAMPED at 1.2 -- both on the
|
|
experiment's own evidence. THE FULL RECORD IS TEMP-RESEARCH.md
|
|
(root, tracked): scope, method (the reusable fork-and-edit recipe
|
|
and its gotchas), hedges, results, artifacts, open questions --
|
|
read it before extending anything.** The design: two sweeps of
|
|
box-run forks, all from the same fork point (log line 285)
|
|
answering the same GM turn, one synthetic pending `<mind>` note
|
|
per fork, real inference (glm-5.3-max at effort max) -- round 1
|
|
VISIBLE (ladder 0.0-2.0, the then-live `<mind>` push showing her
|
|
the number), round 2 BLIND (0.0-1.4, the push retired between
|
|
rounds). The findings, hedged (n=1 per cell; the run-to-run noise
|
|
floor is real): prose VOICE tracks temperature blind (the
|
|
composed-to-impulsive gradient in narration register survives
|
|
with the number hidden -- cool 0.0-0.5, transitional 0.75, hot
|
|
1.0-1.2); prose CONTENT was demand effect (round 1's traces read
|
|
the visible block and styled to the number -- the content
|
|
gradient died blind); THINKING (fact checking, logic, structure)
|
|
is temperature-robust across the whole legal band and dies only
|
|
above 1.2, where four distinct failure shapes live (shape-mixing
|
|
422 at 1.3, unbounded prose soup at 1.4, reasoning-channel salad
|
|
at 1.5, instant salad at 2.0 -- the clamp fences exactly where
|
|
cognition stops). Side finding, live watch material: blind, she
|
|
self-regulates `<mind>` toward her historic ~0.95 neighborhood
|
|
regardless of what actually rode the turn. As built: loop.mjs
|
|
keeps assembling params from her stash and the spec but renders
|
|
no current-call mind block into the view (the via echoes are the
|
|
whole read side -- calibration of past turns; the riding stash is
|
|
invisible until the next echo), and KNOB_BOUNDS.temperature.max
|
|
is 1.2 (the conflict names the range, the heal flow unchanged;
|
|
AMENDED 2026-11-23, developer, on the n=20 organic sweep: 1.2 is
|
|
too hot to be useful -- max 1.15 now, 1.15 clean at 19/20);
|
|
invariants.md is the developer's own edit the same day. Verified:
|
|
typecheck green both programs, smoke ALL PASS (the out-of-bounds
|
|
conflict carries the new range text), restart + reminder checks
|
|
green, check-repo clean, the debug server restarted on the real
|
|
state. ON DISK: 17 research forks of the box run, KEPT until the
|
|
developer's nod (inventories and the volatile artifact paths in
|
|
TEMP-RESEARCH.md) -- runs/ is heavier than it looks and the forks
|
|
are data, never sweep them. Staged for the developer's commit:
|
|
server/loop.mjs, test/smoke.mjs, README.md, AGENTS.md,
|
|
TEMP-RESEARCH.md.
|
|
|
|
- **The native-markup round, first act DONE (2026-11-21): the box
|
|
run's log is cleaned, the agenda grammar is bullets-only, and the
|
|
two guards are PAUSED on the developer's word.** The finding
|
|
(theory delivered, developer-confirmed): three of her turns
|
|
carried fragments of the model family's native function-call
|
|
grammar -- endogenous vocabulary (zero context sources), leaking
|
|
at the two highest-pressure points of the structured tail
|
|
(prose-to-blocks seam, final block close), and self-priming
|
|
through the view because malformed blocks never strip. Line 137's
|
|
substituted close was swallowed by the machinery as a deliberate
|
|
agenda CLEAR -- the silent-clear asymmetry (variants refuse loud,
|
|
mind conflicts, malformed status/agenda reads as empty). The
|
|
four-point plan: the unclosed-block conflict (1), the
|
|
native-markup lint (2), the log cleanup (3), nothing in prompts
|
|
ever (4 -- counterexamples prime). Done: (3), plus the ruling that
|
|
rode it -- the agenda grammar is the bullet list the invariants
|
|
always taught, comma-split removed from blockList (status keeps
|
|
its wire commas), the pane and chip parsers match, a comma-carrying
|
|
mock item proves the grammar in the smoke. Her agenda derives as
|
|
the four bullets whole. Points 1 and 2 wait on the developer; the
|
|
seam is unguarded until then -- her next turns are the watch. The
|
|
escalation path, if the bleed recurs despite the guards: real
|
|
tools for the state verbs (the native channel by design; the costs
|
|
are transport coupling and the per-variant state trick).
|
|
|
|
- **The mind r/w round is BUILT (2026-11-20, developer's ruling on the
|
|
box run's live evidence): `<mind>` is read-write, `<model>` is
|
|
retired.** The trigger: the box run's fifth turn slipped the
|
|
channel -- her thinking said `<mind>` but the emission came out
|
|
`<model>`, the read-only display tag aped from her own turn
|
|
prefixes, and the guard's heal doubled the passage in the story.
|
|
The ruling: the asymmetry had a reason (the `<model>` block was
|
|
the machinery's neutral report when via.params could carry
|
|
GM-set knobs), the provider round killed that reason (the mind
|
|
layer is the only sampling source since 2026-11-18), so the
|
|
rename finishes what that round started. As built: the via echo
|
|
renders as the per-turn `<mind>` block (her calibrations pair
|
|
exactly -- the block on a turn shows the params its prose was
|
|
inferred with), the live push was the current call's one live
|
|
`<mind>` block at the freshest end (retired 2026-11-22, the
|
|
temperature round above -- the number it showed styled her
|
|
prose), her emitted blocks still
|
|
strip (the echo is the read side, not her bytes), the `<model>`
|
|
guard and its mock cue are deleted, STRIP_HERS and the story
|
|
verbs drop `model`, reasoning_effort stays hidden from her, and
|
|
the one-shot rule stands (the verb's semantics unchanged -- r/w
|
|
is the tag, not persistence; a persistent mind is a named
|
|
follow-up if the restate ritual reads as noise). The invariants
|
|
rewrite is the developer's (the sheet section's "Don't write it
|
|
yourself" and the agenda's no-trimming/no-metaphor lines ride the
|
|
same edit, all landed against observed behavior in the box run's
|
|
thinking blocks). The box run's log was migrated in the same
|
|
stroke (one-time, no legacy): the refused emission became the
|
|
valid `<mind>` write it tried to be (her 1.0 lands as the stash
|
|
for her next turn), the conflict and the heal left, and the
|
|
bundle system message regenerated from the current prompts -- the
|
|
run plays under the new invariants. Verified: typecheck green
|
|
both programs, the migrated log verified through the real
|
|
machinery (scan, view, story projection), smoke ALL PASS, the
|
|
repo lint clean, restart + reminder checks green. THE STORY'S
|
|
CONFLICT-DOUBLING QUESTION REMAINS ON THE DEVELOPER'S QUEUE:
|
|
mind conflicts still heal with a full-turn restatement, and the
|
|
heal flow confused her (she did not know her prose survived --
|
|
the re-issued turn came back lightly rewritten), so a conflict
|
|
that says what happened to the refused turn is the open design.
|
|
|
|
- **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; boot rebuilds every live session -- Chloe, Irene,
|
|
the box run, and the 17 parked research forks (TEMP-RESEARCH.md;
|
|
removal waits on the developer's nod)).
|
|
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
|
|
|
|
2. **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.
|
|
3. **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.
|
|
4. **The fresh run -- SUPERSEDED by the box run** (ebac64b2, live
|
|
and 21+ turns deep): it carries everything this item promised --
|
|
the prompt set, the reminder, the full-block protocol, the spec
|
|
picks, the turn meter -- all under live test now. The remaining
|
|
fresh-run work is the NEXT run from the box package once its
|
|
files are finished (item 7): the FIXME tail currently fails the
|
|
start lint, so the package's own next run is blocked until the
|
|
files are done.
|
|
5. **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.
|
|
6. **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.
|
|
7. **Finish the box** (GM's): the package still carries the FIXME
|
|
tail in carryover.jsonl (minibar, restructure, initial task,
|
|
starting BP) -- and those plain-text lines fail the carryover
|
|
lint, so the next run created from the package refuses to start
|
|
until they are resolved. The sheet is already in live use in
|
|
the box run, so this is package completion now, not
|
|
first-consumer setup.
|
|
8. **Keep playing -- and watch.** The box run (ebac64b2) has
|
|
answered some old observables: she restates her blocks every
|
|
turn (a settled ritual, mind at the head, status/agenda at the
|
|
tail), the mind verb is in real daily use (the mood dial --
|
|
0.9 through 1.15 tracking her interiority), and the sheet is in
|
|
live use (the GM's records land, the chunk renders). The open
|
|
watches: the native-markup seam (unguarded until item 1's
|
|
guards -- the rate on her next turns decides the urgency), the
|
|
rewind under real regret (never fired live), the variantary
|
|
firsts (21 turns, zero variants offered), ask_gm in live flow
|
|
(her questions go IC to the display instead -- deliberate play
|
|
or channel ignorance, the log cannot say), the first stop's
|
|
slidwin carry and live housekeeping pass, the blind `<mind>`
|
|
restatement attractor (2026-11-22, TEMP-RESEARCH.md: three blind
|
|
turns re-stated her ~0.95 set point regardless of the riding
|
|
temperature), and the conflict
|
|
quotes doing their job (fired once live, pre-migration; the
|
|
record was migrated away).
|
|
9. **The temperature research's next acts (developer-led; the
|
|
record and the fork-and-edit machinery live in
|
|
TEMP-RESEARCH.md).** The fork cleanup is the developer's nod
|
|
(17 parked forks; the inventory is in the record). The
|
|
confirmations the findings want: the blind shuffled rating --
|
|
thirteen coherent turns from both sweeps, unlabeled, scored on
|
|
the composed-to-impulsive scale, correlated against the true
|
|
temperatures -- and the repeats (3-4 forks per rung on the
|
|
poles and the 1.2 edge, one sitting each with the recipe).
|
|
|
|
## 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.
|
|
- **The 1.2 clamp's live conflict** -- the tightened ceiling
|
|
refuses a `<mind>` temperature above 1.15 (amended 2026-11-23,
|
|
from 1.2, on the sweep's evidence) with the range named;
|
|
her restatements have never exceeded 1.15, so the refusal is
|
|
smoke-proven only.
|