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:
@@ -137,6 +137,41 @@ memory the agent owes itself across sessions.
|
||||
|
||||
## State pointers
|
||||
|
||||
- **The reasoning-effort round is BUILT (2026-11-16, late night): the
|
||||
battery probes the effort ladder, the knob is first-class, hidden
|
||||
from the model, and its default SENDS.** The probe (discovery.mjs
|
||||
probeEfforts): each level of EFFORT_LEVELS (none/minimal/low/
|
||||
medium/high/xhigh/max -- mirrored in web/knobs.mjs, keep in step)
|
||||
measured for mean thinking (2 samples), efforts recorded per
|
||||
model, effortDefault = the argmax mean over minimal..max ('none'
|
||||
is the off switch, never a default candidate; null when the model
|
||||
shows no thinking or nothing moved). The knob (GM's rulings: not
|
||||
her call, hidden entirely -- never in the mind verb, never in the
|
||||
<model> display block, BOTH the loop's live push and renderView's
|
||||
via-derived block filter it; it rides the via record, raw shows
|
||||
it): resolveEffort layers run override > deployment (server.json)
|
||||
> registry per-model default, explicit null clears to nothing.
|
||||
UNLIKE the numeric knobs the unset state sends -- the registry
|
||||
measured the default, so it is honest. First non-numeric knob:
|
||||
RoleParams carries reasoning_effort?: string, the /model route
|
||||
validates against the ladder, the knob row is a select whose
|
||||
unset label names what rides ('(default: max)'), and the rows
|
||||
rebuild on model-select change (the effort context follows the
|
||||
picked model -- modelsBox's rebuildKnobs). Lessons: the loop's
|
||||
mock path hardcodes model 'mock' (resolveModel never runs under
|
||||
--mock, which is why cfg's real glm-5.3 never 409s the smoke);
|
||||
declare helpers BEFORE the factory's return statement -- code
|
||||
after return is unreachable, a hoisted function referencing an
|
||||
uninitialized const throws silently mid-fill and stale rows
|
||||
render (the browser pass caught it); renderView renders the via
|
||||
record as the turn's <model> block -- a second <model> surface
|
||||
beyond the loop's live push, both need the effort filter. The
|
||||
dv endpoint honors the ladder on the GLMs (probed live: low
|
||||
suppresses to a third of baseline, max elevates ~2x), accepts
|
||||
the whole ladder on both families without 400s, and
|
||||
reasoning_effort 'none' doubles as a standardized thinking-off
|
||||
switch. The registry on disk predates the probe -- efforts land
|
||||
at the next refine (the GM's one click, post-curator-review).
|
||||
- **The state-scan round is BUILT (2026-11-16, evening): the log is
|
||||
the one truth for status and agenda, the db tiers are retired.**
|
||||
scanState (server/session.mjs) derives each kind newest-wins
|
||||
@@ -177,6 +212,32 @@ memory the agent owes itself across sessions.
|
||||
the browser heuristically caches ES modules across reloads --
|
||||
after editing web/ warm them with fetch(url, {cache:'reload'})
|
||||
from evaluate before judging the page stale or fresh.
|
||||
- **The GM-input round is BUILT (2026-11-16, night): the composer
|
||||
reads like a turn, the tokens are colour-only, the stick-to-bottom
|
||||
works.** The overlay's real bold/italic faces shifted advance
|
||||
widths and dragged the caret (the "every character stays" trick
|
||||
preserved count, not width) -- the ruling: no faces on the
|
||||
workbench at all. One rule, colour-only, source verbatim
|
||||
(asterisks tinted, kept on screen): the input overlay and the
|
||||
transcript share the same token classes (.narration dim,
|
||||
.emph accent), zero drift by construction; the scrollbar-gutter
|
||||
match killed the second drift source (the textarea's gutter
|
||||
appearing on scroll while the pre had overflow hidden). The story
|
||||
view got its OWN renderer (view-story.mjs storyBody/storySpans):
|
||||
the book keeps real faces, asterisks spent, narration italic via
|
||||
#story-scoped CSS -- one rule for the tool, typography for the
|
||||
deliverable, deliberately separate. The composer: rows=6 floor,
|
||||
field-sizing: content grows it with the turn, max-height 50vh
|
||||
caps with internal scroll (rows is the no-support fallback --
|
||||
field-sizing is the thing the GM remembered Firefox doing; it
|
||||
wasn't in use, now it is). The footer moved under the transcript's
|
||||
column only (the input's width is the pane's width), padding
|
||||
aligned to main's. The pane stick-to-bottom was DEAD CODE all
|
||||
along: #transcript has no height/overflow (main is the scroller),
|
||||
so scrollTop assignments on it were no-ops in every browser --
|
||||
stickBottom() now scrolls main, re-asserts on the next frame
|
||||
(Firefox's scroll anchoring can reclaim a same-tick scroll around
|
||||
a content wipe), main carries overflow-anchor: none.
|
||||
- **The 2026-11-16 rounds are built and live-proven: the
|
||||
play-protocol batch and model discovery.** The protocol batch: OOC
|
||||
GM turns (paren-led, post-expansion) carry no status/agenda blocks;
|
||||
|
||||
Reference in New Issue
Block a user