the night rounds: the GM-input rework and the reasoning-effort knob -- the workbench renders no faces: the composer overlay and the transcript share colour-only tokens (.narration dim, .emph accent), source verbatim, asterisks tinted and kept on screen, so the input's caret can never drift (the old overlay's real bold/italic shifted advance widths -- keeping every character preserved count, not width; the scrollbar-gutter match killed the second drift source); the story view carries its OWN renderer (view-story storyBody/storySpans) -- the book keeps real bold/italic with the asterisks spent, narration italic via #story-scoped CSS, one rule for the tool and typography for the deliverable, deliberately separate; the composer is turn-shaped: rows=6 floor, field-sizing: content grows it with the turn (the thing the GM remembered Firefox doing -- it was never in use), max-height 50vh caps with internal scroll, the footer moved under the transcript's column only so the input's width is the pane's; the transcript's stick-to-bottom was DEAD CODE all along (#transcript has no height or overflow -- main is the scroller, the scrollTop assignments were no-ops in every browser): stickBottom scrolls main and re-asserts next frame (Firefox's scroll anchoring can reclaim a same-tick scroll around a content wipe), main carries overflow-anchor: none; the prose pane drops its machinery by ruling: the status/agenda chips and the retired delta tags strip (the panes carry the derived state), the reminder card never renders (it is the same every turn -- the raw tab keeps every copy), and the status/agenda note receipts (the old delta applies and the whole-list sets alike) skip the prose walk while the raw keeps them; the model dropdown collapsed to one plain list of ids sorted, ceilings riding along (the family grouping left the user guessing what a family name means, and the curator's tier labels only made sense inside their groups); and the reasoning-effort round: the battery probes the ladder (probeEfforts -- each of none/minimal/low/medium/high/xhigh/max measured for mean thinking, two samples, efforts recorded per model, effortDefault the argmax mean over minimal..max, 'none' never a candidate -- it is the off switch; null when the model shows no thinking), the knob is first-class and the GM's alone (GM, 2026-11-16: hidden from the model, not her call -- never in the mind verb, never in the <model> display block, and renderView's via-derived block filters it too, both surfaces; it rides the via record for the raw surfaces), its unset state SENDS the measured max-mean default (the one knob with an honestly nameable default -- the registry measured it; layers run override > deployment > registry per-model, explicit null clears to nothing), the first non-numeric knob (RoleParams carries the string, the /model route validates against the ladder, the knob row a select whose unset label names what rides and rebuilds on model-select change); the GLM ladder verified live by hand before the build (low suppresses to a third of baseline, max elevates about double, the whole ladder accepted on both families without 400s, and reasoning_effort 'none' doubles as a standardized thinking-off switch); the model dropdown, the composer, and the knob UX browser-proven with zero console errors (the pass caught the unreachable-helpers bug: code after a factory's return never runs, a hoisted function referencing the uninitialized const throws silently mid-fill and stale rows render); smoke ALL PASS with the effort battery (the canned mock ladders, the default riding a bare turn's via, the override riding the next turn, the bogus-level 400, the null clear, no reasoning_effort in any <model> block) + restart + reminder + repo checks green, typecheck green on both programs; ROADMAP gains the distant extension point (n-choice inference composed by a turn-editor agent) and the operator's queue moved there from QUESTIONS by the GM; HANDOFF prepared as the handoff (the typing-round bullet trimmed into the rounds list, the server line now truthful -- the debug server runs, the registry bullet carries the six-knob state and the pending-effort refine)

This commit is contained in:
2026-11-16 23:52:58 +00:00
parent 5ffecee935
commit eebc1993dd
19 changed files with 571 additions and 179 deletions
+23 -9
View File
@@ -33,12 +33,14 @@ body {
height: 100vh;
}
/* play keeps the two-column transcript + aside layout */
/* play keeps the two-column transcript + aside layout; the footer
(the composer) sits under the transcript's column only -- the
input's width is the pane's width (GM, 2026-11-16) */
body.play {
grid-template:
"header header" auto
"main aside" 1fr
"footer footer" auto / 1fr 300px;
"footer ." auto / 1fr 300px;
}
/* --- header --- */
@@ -98,7 +100,7 @@ button.primary { border-color: var(--accent); color: var(--accent); }
/* --- main / views --- */
main { grid-area: main; overflow-y: auto; padding: 18px 22px; }
main { grid-area: main; overflow-y: auto; padding: 18px 22px; overflow-anchor: none; }
h1 { font-size: 15px; letter-spacing: 0.1em; color: var(--dim); font-weight: normal; margin: 4px 0 14px; }
@@ -276,8 +278,8 @@ h1 { font-size: 15px; letter-spacing: 0.1em; color: var(--dim); font-weight: nor
.raw-slot { margin: 10px 0 2px; }
.line { margin: 2px 0; white-space: pre-wrap; }
.narration { color: var(--dim); font-style: italic; }
.narration strong { color: var(--text); font-style: italic; }
.narration { color: var(--dim); } /* colour-only: no italic face -- same glyphs, same widths */
.emph { color: var(--accent); }
.ooc { color: var(--dim); border-left: 2px solid var(--line); padding-left: 8px; font-size: 13px; }
.tags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 5px; }
@@ -290,8 +292,6 @@ h1 { font-size: 15px; letter-spacing: 0.1em; color: var(--dim); font-weight: nor
.chip.drop { text-decoration: line-through; }
.chip.add { color: var(--ok); border-color: var(--ok); }
.chip.mind { color: var(--accent); border-color: var(--accent); }
.chip.status { color: var(--text); }
.chip.agenda { color: var(--accent); border-color: var(--accent); }
.machinery {
margin: 6px 0; font-size: 12px; color: var(--dim);
@@ -351,6 +351,11 @@ details.bundle pre { margin: 0; padding: 0 12px 10px; white-space: pre-wrap; fon
}
.story-head h1 { margin: 0; }
#story { max-width: 760px; }
/* the book earns its typography: the story's narration is italic and
its emphasis is bold -- the workbench's colour-only rule stops at
the story's door (the renderers are separate by the same ruling) */
#story .narration { color: var(--dim); font-style: italic; }
#story .narration strong { color: var(--text); font-style: italic; }
.session-break { margin: 26px 0 12px; border-top: 1px solid var(--line); }
/* --- aside (play) --- */
@@ -417,7 +422,7 @@ body.play #play-aside { display: block; }
footer {
grid-area: footer;
gap: 8px; padding: 10px 14px;
gap: 8px; padding: 10px 22px 14px; /* the composer's edges align with the transcript's column */
background: var(--panel); border-top: 1px solid var(--line);
display: none;
}
@@ -426,16 +431,24 @@ body.play footer { display: flex; }
#gm-stack.off { opacity: 0.4; }
/* the highlight overlay: the setup editor's stack pattern -- a pre
behind a transparent-text textarea, identical metrics, so the
tokens light up in place without moving the caret */
tokens light up in place without moving the caret. The tokens are
colour-only (real faces shift advance widths and dragged the
caret); scrollbar-gutter keeps the columns aligned when the box
starts scrolling; field-sizing grows the box with the turn from
its six-line floor (the rows attribute is the no-support floor) */
#gm-hl, #gm-input {
grid-area: 1 / 1;
margin: 0;
padding: 5px 8px;
font: inherit;
line-height: 1.5;
white-space: pre-wrap;
overflow-wrap: break-word;
border: 1px solid var(--line);
border-radius: 4px;
scrollbar-gutter: stable;
min-height: 6lh;
max-height: 50vh;
}
#gm-hl { pointer-events: none; overflow: hidden; color: var(--text); border-color: transparent; background: transparent; }
#gm-input {
@@ -444,6 +457,7 @@ body.play footer { display: flex; }
caret-color: var(--text);
resize: none;
overflow-y: auto;
field-sizing: content; /* the box grows with the turn; max-height caps it */
}
#gm-input::placeholder { color: var(--dim); }
#gm-send { padding: 5px 18px; }