the mind goes read-write and the temperature research lands: <model> retires, the live push dies, the clamp settles at 1.15 -- with the two-subturn design and the session's records riding along

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.
This commit is contained in:
2026-11-28 23:45:39 +00:00
parent fe9625205f
commit 8ef96c7ac5
19 changed files with 2843 additions and 170 deletions
+28 -33
View File
@@ -13,7 +13,9 @@
// every turn, the pass log's model), the mind verb (the player sets
// its sampling for its next turn: one-shot, JSON, bounds enforced,
// conflict-healed, carried unconsumed across a session boundary,
// inherited by a fork), the rewind (developer, 2026-11-17: the send that
// inherited by a fork, r/w since 2026-11-20 -- the emitted blocks
// strip, the via echo renders as the per-turn <mind> block), the
// rewind (developer, 2026-11-17: the send that
// carries it replaces its target GM turn -- physical truncation, the
// frozen-opening floor, the sheet records of the dead range reverting,
// the staleness guard on every send), the conflict channel's
@@ -22,8 +24,7 @@
// it answers strips from the view), the full-block protocol
// (whole-list status
// and agenda sets, absent = unchanged, the silent over-cap eviction,
// the view stamping at the canon point, the <model> display blocks,
// the emitted-<model> guard, GM prose pure), the state scan (the log
// the view stamping at the canon point, GM prose pure), the state scan (the log
// is the one truth -- no db tier; the GM's block edit rides its turn
// as the override and composes over her newest blocks, the boundary
// state note rides the carry head), the session lifecycle
@@ -358,7 +359,7 @@ ok('the sigil expanded at start', r.data.entries.some((e) => e.t === 'msg' && e.
// 10. the exchanges (mock: variant literature with per-variant status
// blocks, the ask, the whole-list sets, the silent eviction, the
// model guard, the mind)
// mind)
r = await call(`/runs/${runId}/turn`, { method: 'POST', token: op, body: { line: '*The tide comes in.*' } });
ok('gm turn -> variant literature', r.status === 200 && r.data.variants?.count === 2 && [0, 1].includes(r.data.variants.chosen), r.data.error ?? JSON.stringify(r.data.variants ?? null));
const pickedStatus = r.data.variants.chosen === 0 ? 'determined' : 'cautious';
@@ -398,7 +399,8 @@ ok('the status block sets the whole list', JSON.stringify(r.data.status.slice(-2
r = await call(`/runs/${runId}/turn`, { method: 'POST', token: op, body: { line: '*Evening comes.*' } });
ok('a restated agenda replaces the list', r.status === 200, r.data.error ?? '');
r = await call(`/runs/${runId}`, { token: op });
ok('agenda after restatement', JSON.stringify(r.data.agenda) === '["signal any passing ship","build a shelter"]', JSON.stringify(r.data.agenda));
ok('agenda after restatement (a comma inside an item is prose, not a separator)',
JSON.stringify(r.data.agenda) === '["signal any passing ship, or swim for it","build a shelter"]', JSON.stringify(r.data.agenda));
r = await call(`/runs/${runId}/turn`, { method: 'POST', token: op, body: { line: '*Night falls.*' } });
ok('the over-cap turn is clean (eviction is silent)', r.status === 200 && !r.data.conflicts, r.data.error ?? JSON.stringify(r.data.conflicts ?? null));
r = await call(`/runs/${runId}`, { token: op });
@@ -414,26 +416,17 @@ ok('the log keeps all seven items (raw is the only place they live)',
r = await call(`/runs/${runId}/turn`, { method: 'POST', token: op, body: { line: '*Dawn breaks.*' } });
ok('next gm turn is clean', r.status === 200 && !r.data.conflicts, r.data.error ?? JSON.stringify(r.data.conflicts ?? null));
// 10c. the <model> guard: display-only -- the conflict points at
// <mind>, the heal restates plain, and the turn heals in the same turn
r = await call(`/runs/${runId}/session`, { token: op });
const guardConflict = r.data.entries.find((e) => e.conflictOnly && /read-only display/.test(e.m.content));
ok('an emitted <model> block conflicts', !!guardConflict, guardConflict?.m.content ?? 'no conflict');
ok('the guard conflict healed in the same turn',
!!guardConflict && r.data.entries.slice(r.data.entries.indexOf(guardConflict)).some((e) => e.t === 'msg' && e.m.role === 'assistant' && /watching the water/.test(e.m.content ?? '')),
'no heal');
// 10d. the mind verb: <mind>{"temperature": 1.2}</mind> sets her
// 10c. the mind verb: <mind>{"temperature": 1.15}</mind> sets her
// sampling for her NEXT turn (one-shot, JSON, max_tokens excluded)
r = await call(`/runs/${runId}/session`, { token: op });
const mindSetter = r.data.entries.filter((e) => e.t === 'msg' && e.m.role === 'assistant').find((e) => /race ahead of her feet/.test(e.m.content ?? ''));
ok('the mind verb: the setting turn does not ride at it (next turn only)',
mindSetter?.via?.params?.temperature === undefined, JSON.stringify(mindSetter?.via ?? null));
ok('the mind verb: the note records the statement',
r.data.entries.some((e) => e.t === 'note' && e.kind === 'mind' && e.params?.temperature === 1.2), 'no mind note');
const guardTurn = r.data.entries.find((e) => e.t === 'msg' && e.m.role === 'assistant' && /squints at the horizon/.test(e.m.content ?? ''));
r.data.entries.some((e) => e.t === 'note' && e.kind === 'mind' && e.params?.temperature === 1.15), 'no mind note');
const ridingTurn = r.data.entries.find((e) => e.t === 'msg' && e.m.role === 'assistant' && /watches the water and waits for the world to move/.test(e.m.content ?? ''));
ok('the mind verb: her next turn rides at the stated mind',
guardTurn?.via?.params?.temperature === 1.2, JSON.stringify(guardTurn?.via ?? null));
ridingTurn?.via?.params?.temperature === 1.15, JSON.stringify(ridingTurn?.via ?? null));
const lastGm = [...r.data.entries].reverse().find((e) => e.t === 'msg' && e.m.role === 'user' && !e.conflictOnly);
ok('no conflict attached to the GM turn', !/<conflict>/.test(lastGm.m.content), lastGm.m.content.slice(-100));
ok('GM prose goes pure', !/<\/?(status|agenda)>/.test(lastGm.m.content), lastGm.m.content.slice(-120));
@@ -456,10 +449,10 @@ ok('the ooc turn carries no cache blocks', /\( mock GM checking in \)/.test(oocG
const scatterTurn = r.data.entries.find((e) => e.t === 'msg' && e.m.role === 'assistant' && /thoughts scatter/.test(e.m.content ?? ''));
ok('the mind is one-shot (the turn after the riding turn is at defaults)',
scatterTurn?.via?.params?.temperature === undefined, JSON.stringify(scatterTurn?.via ?? null));
const mindConflict = r.data.entries.find((e) => e.conflictOnly && /must be at least 0 and up to 2/.test(e.m.content));
const mindConflict = r.data.entries.find((e) => e.conflictOnly && /must be at least 0 and up to 1\.15/.test(e.m.content));
ok('an out-of-bounds mind conflicts with the range named', !!mindConflict, mindConflict?.m.content ?? 'no conflict');
ok('the mind conflict healed in-turn',
!!mindConflict && r.data.entries.slice(r.data.entries.indexOf(mindConflict)).some((e) => e.t === 'note' && e.kind === 'mind' && e.params?.temperature === 1.2),
!!mindConflict && r.data.entries.slice(r.data.entries.indexOf(mindConflict)).some((e) => e.t === 'note' && e.kind === 'mind' && e.params?.temperature === 1.15),
'no healed restatement');
ok('the mind statements number two (the refused one never stashed)',
r.data.entries.filter((e) => e.t === 'note' && e.kind === 'mind').length === 2, 'wrong count');
@@ -478,18 +471,20 @@ ok('the capped agenda is what derives (the eviction stays silent to her)',
'the stamp leaked the over-cap items');
ok('superseded copies strip from the view',
her1.filter((m) => m !== lastHer).every((m) => !/<\/?(status|agenda)>/.test(String(m.content ?? ''))), '');
ok('her mind tags are write-only (stripped from the view)',
her1.every((m) => !/<mind>/.test(String(m.content ?? ''))), '');
ok('an emitted <model> block strips from the view',
her1.every((m) => !/\n<model>/.test(String(m.content ?? ''))), '');
ok('her emitted mind blocks strip (the machinery echo is the only <mind> in her turns)',
her1.every((m) => {
const c = String(m.content ?? '');
const first = c.indexOf('<mind>');
return first === -1 || (first === 0 && c.indexOf('<mind>', 1) === -1);
}), '');
const viewConflicts = view1.filter((m) => m.role === 'user' && /^<conflict>/.test(String(m.content ?? '')));
ok('past conflicts stay in the context (a mistake remains visible, developer 2026-11-18)',
viewConflicts.length === 2, `${viewConflicts.length} render`);
ok('a conflict describes its problem in full (the stripped emission quoted)',
viewConflicts.some((m) => /yours said: \{"temperature": 0\.1\}/.test(String(m.content ?? ''))), '');
ok('each past turn carries its <model> block when params rode',
her1.some((m) => String(m.content ?? '').startsWith('<model>{"temperature":1.2}</model>')), '');
ok('the <model> block hides the effort knob (not her call)',
viewConflicts.length === 1, `${viewConflicts.length} render`);
ok('a conflict describes its problem in full (the refused value quoted)',
viewConflicts.some((m) => /\(got 7\)/.test(String(m.content ?? ''))), '');
ok('each past turn carries its <mind> echo when params rode',
her1.some((m) => String(m.content ?? '').startsWith('<mind>{"temperature":1.15}</mind>')), '');
ok('the <mind> echo hides the effort knob (not her call)',
her1.every((m) => !/reasoning_effort/.test(String(m.content ?? ''))), 'the effort leaked into her display');
ok('GM prose goes pure in the view',
view1.filter((m) => m.role === 'user').every((m) => !/<\/?(status|agenda)>/.test(String(m.content ?? ''))), '');
@@ -547,7 +542,7 @@ r = await call(`/runs/${forkId}/turn`, { method: 'POST', token: ash, body: { lin
ok('ash turns on the fork', r.status === 200, r.data.error ?? '');
r = await call(`/runs/${forkId}/session`, { token: ash });
const forkReply = [...r.data.entries].reverse().find((e) => e.t === 'msg' && e.m.role === 'assistant');
ok('the fork inherits her unconsumed mind', forkReply?.via?.params?.temperature === 1.2, JSON.stringify(forkReply?.via ?? null));
ok('the fork inherits her unconsumed mind', forkReply?.via?.params?.temperature === 1.15, JSON.stringify(forkReply?.via ?? null));
// 10f. the GM's block edit rides its turn (the override): the log
// records the field, the composition overwrites her newest blocks
@@ -613,7 +608,7 @@ r = await call(`/runs/${forkId}/session`, { token: ash });
const viaTurn = [...r.data.entries].reverse().find((e) => e.t === 'msg' && e.m.role === 'assistant');
ok('the recorded request carries the spec under the mind layer',
!!viaTurn?.via && viaTurn.via.model === 'mock-cheap' && viaTurn.via.provider === 'mock-b'
&& viaTurn.via.params.temperature === 1.2 && viaTurn.via.params.reasoning_effort === 'low',
&& viaTurn.via.params.temperature === 1.15 && viaTurn.via.params.reasoning_effort === 'low',
JSON.stringify(viaTurn?.via ?? null));
r = await call('/models', { token: ash });
ok('model listing (the per-provider registry)',
@@ -918,7 +913,7 @@ ok('session 2 plays on', r.status === 200 && !!r.data.player, r.data.error ?? ''
r = await call(`/runs/${runId}/session`, { token: op });
const s2Reply = [...r.data.entries].reverse().find((e) => e.t === 'msg' && e.m.role === 'assistant');
ok('an unconsumed mind carries across the session boundary',
s2Reply?.via?.params?.temperature === 1.2, JSON.stringify(s2Reply?.via ?? null));
s2Reply?.via?.params?.temperature === 1.15, JSON.stringify(s2Reply?.via ?? null));
// 18. the auto-send rule: stop again, hand-append a GM turn to the
// carryover (the future editor's one edit), start -- the turn fires