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 -7
View File
@@ -554,11 +554,21 @@ and housekeeper defaults (the op's explicit pick -- it beats the
registry's discovered default), `contwin` (the context window; the old
`contextWindow` key still accepted) drives the context meter,
`params` holds the deployment-default sampling knobs per role
(temperature, top_p, top_k, repetition_penalty, max_tokens) -- a
(temperature, top_p, top_k, repetition_penalty, max_tokens,
reasoning_effort) -- a
run carries its own overrides for models and knobs in `run.json`,
merged over the deployment layer, sent only when set. The knob UX
merged over the deployment layer. The five numeric knobs send only
when set (the provider's serving defaults are unknowable, so no
default is honestly nameable); reasoning_effort is the exception --
the battery measured a per-model default (the effort level with the
highest observed mean thinking), so its unset state sends that, and
an explicit null clears to nothing (the model id's baked default
applies). It is the GM's knob alone: hidden from the model, never
in the mind verb, never in the `<model>` display block -- it rides
the via record, the raw surfaces carry it. The knob UX
(web/knobs.mjs) is explicit: a per-knob override toggle (off = unset,
the input disabled; on demands a number), the definitions table
the input disabled; on demands a number, a level for the enum), the
definitions table
carrying every text -- label, hint, this endpoint's probed bounds --
and one shared hint bar driven by focus; unset and set-to-the-
deployment-default are distinct states, the run detail exposes the
@@ -583,9 +593,13 @@ surface: API metadata only, zero inference, the preliminary list.
**Refine** runs the deterministic battery over that list -- the
tool-manifest ping (the exact request shape a player turn takes; a
model that cannot take it is not an inference model and stays out of
the selectors), two reasoning samples on a fixed puzzle, and the
the selectors), two reasoning samples on a fixed puzzle, the
disable-thinking probe whose working spelling is recorded as a
discovered fact -- then hands the adjudicated results to the
discovered fact, and the reasoning-effort probe: each level of the
ladder (`none` through `max`) measured for mean thinking, the
per-model default being the level with the highest observed mean
(GM, 2026-11-16: maximum thinking by default, overridable) -- then
hands the adjudicated results to the
best-measured model (repo craft: `curator.md`) for the
presentation layer: families, labels, descriptions, role
eligibility. The curator's output is strictly validated; any
@@ -740,8 +754,10 @@ web/ the SPA -- no build, vanilla ES modules, path-routed;
override toggle and the shared hint bar
transcript.mjs register rendering (speech / narration / OOC) and
the session-log entry walk (historical opening
events render as machinery); renderContent is shared with the
story view
events render as machinery); colour-only tokens,
source verbatim -- the workbench renders no faces
(the book does: the story view carries its own
renderer)
view-*.mjs one module per view -- claim, home, new, setup, play
(the table), story (the whole deliverable, read-only)
-- each owning its elements, its state, and its wiring