the 2026-11-16 rounds, the whole day in one commit: model discovery (the two-step op act -- discover scrapes the provider metadata, refine runs the deterministic battery over every id and hands the adjudicated results to the best passing model for the curated registry; state/models.json is the truth of selectable models and gates all model use, a fresh deployment has none; the five named sampling knobs ride run.json params over server.json params, sent only when set; the curator call retries once on the host's network hiccups, its output strictly validated with the machine-list fallback, and the do-not-deliberate line keeps its thinking tokens down); the pick rule reworked on the GM's rulings -- the dv endpoint's 5.2/5.3-max flip was an alias (one model behind both ids), the rank keys on the reasoning bucket not the raw token count (within-bucket differences are sampling noise, the thresholds sit in the endpoint's observed gaps) and full ties settle sort-lex-pick-bottom, with the mock registry carrying a canned tie pair (mock/mock-tie) and the smoke asserting the lex-bottom pick; the play-protocol batch (OOC GM turns carry no cache blocks, memory.json is authored draft applied by the start gate's reapply over a fresh db, /story filters OOC whole, the per-turn raw control on the table); the tunables UX round (web/knobs.mjs: the definitions table with the GM's hint texts and the probed this-endpoint bounds, the per-knob explicit override toggle replacing implicit empty-means-unset diffing, the shared focus-driven hint bar; the run detail and /model responses carry paramDefaults, the deployment layer -- the only default anyone can honestly name); request recording (every provider call lands its resolved model + effective params on the msg event as via, a failed call lands a req event with the failure, both surface on the raw tab and the per-turn raw control on no model-facing surface, a req riding the slidwin tail passes the start lint as conversation machinery; the housekeeping pass log names its model via the clerk's --model flag); the mind verb (<mind> JSON in a player turn sets its sampling for its next turn -- one-shot, max_tokens excluded, a budget not a mind; bounds enforced in KNOB_BOUNDS with the range named in the conflict and the heal restatement the statement that counts; derive() makes a statement live until a player reply consumes it, honest across restarts, session boundaries and forks -- an unconsumed mind rides on); the full-block protocol (the GM rewrote system/invariants/reminder to eliminate the diff verbs: she emits whole <status>/<agenda> at her turn tail, a present block is a whole-list set, absent means unchanged never blank, over-cap agendas evict from the bottom silently -- ruled a feature, silent to her, the note shows the GM; renderView strips every copy and stamps the newest of each kind at the tail of her most recent prose turn, her own emission, so the context reads as the same sequence of events the game had; GM prose goes pure, old logs' composited rides strip, they were never GM words; <mind> is write-only, its tags strip from the view; every turn of hers carries its <model> block -- the params it rode, bare JSON from the via record, the current call included, suppressed when nothing is set, emitting one refused with a pointer at <mind>; the clerk's status-apply/agenda-apply delta verbs RETIRED with their dispatch and collectors, status-set/agenda-set are the player path now; the story strips her blocks, the table chips them; the smoke imports renderView and asserts the view policy directly -- the pattern for testing view-only policy no API exposes); and the opening event RETIRED (the start gate seeds the clerk from her last authored turn's blocks -- the GM moved la-caramba's initial status into her opening turn; old carryovers keep their events as inert history; the event's pre-existing double-landing in every started log, pre-bundle and in-carry, died with the branch); smoke ALL PASS + restart + reminder + repo checks green, browser passes over the knob UX and the new chips and notes with zero console errors, typecheck green on both programs; README and DICTIONARY carry the durable design, HANDOFF trimmed to the map

This commit is contained in:
2026-11-16 21:32:02 +00:00
parent 193dc336be
commit 894737fcf3
30 changed files with 2193 additions and 518 deletions
+87 -3
View File
@@ -137,6 +137,80 @@ memory the agent owes itself across sessions.
## State pointers
- **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;
memory.json is authored draft material, applied by the START gate
(clerk verb `reapply` -- scratch-validated, rebuilds session one's
db; create no longer applies it; hand edits to a draft's rings are
discarded by design); /story omits OOC turns whole; the table's
turns carry a per-turn `raw` control (index-aligned fetch from
/session, thinking + as-sent content inline). Discovery: the
two-step op act (discover = scrape, refine = battery + curator),
state/models.json is the registry and gates all model use (fresh
deployment = disabled; resolution run > server.json > registry
default; server.json's explicit pick BEATS the registry), the five
named knobs ride run.json params over server.json params, sent
only when set. Live lessons: the curator (a -max model) dumped 8K
thinking tokens on the labeling task until curator.md got the "do
not deliberate" line; the host's network hiccups killed the curator
call twice -- the fallback (machine labels, deterministic
defaults) carried the job exactly as designed, and the call now
retries once; the 5.2/5.3-max flip was the dv alias (GM-confirmed,
one model behind both ids) and the pick rule now ranks on the
reasoning bucket (within-bucket counts are noise -- the thresholds
sit in the endpoint's observed gaps), full ties settling
sort-lex-pick-bottom (GM rule, 2026-11-16; the mock's tie pair
mock/mock-tie asserts it in the smoke). The dv endpoint
aliases 5.2 to 5.3 (GM, 2026-11-16) -- curator.md tells the curator
to name likely twins instead of inventing distinctions. The
tunables UX round is BUILT (2026-11-16): the knob definitions
table + explicit override toggles + shared hint bar live in
web/knobs.mjs (every knob text red-pens there), the run detail
and /model responses carry paramDefaults (the deployment layer),
and every provider request records its resolved model + effective
params on the msg event (via; a failed call lands a req event --
the start lint admits req as conversation machinery so a record
riding the slidwin tail never refuses a start); the housekeeping
pass log names its model via the clerk's new --model flag; the
hint texts are the GM's drafts verbatim pending their red pen. The
mind verb is BUILT (2026-11-16, same sitting): <mind> JSON in a
player turn sets its sampling for its NEXT turn -- rulings: tag
form, one-shot, no GM lock, JSON inside the tag, max_tokens
excluded (a budget, not a mind), no prompt-side parameter
explanations (native in base training -- the GM documents the
verb themselves); bounds enforced in loop.mjs's KNOB_BOUNDS with
the range named in the conflict, the heal restatement is the
statement that counts, derive() makes a statement live until a
player reply consumes it (restart- and boundary-honest: an
unconsumed mind rides her first turn of the next session); the
mind note + chip render on the table, the story strips the tag,
smoke +7; watch live: whether she ever uses it. The full-block
protocol round is BUILT (2026-11-16, evening, HANDOFF's own
section): the diff verbs are RETIRED everywhere (the clerk's
status-apply/agenda-apply and their dispatch cases deleted --
grep the dispatch after any rename/retirement, the standing
lesson); she emits whole <status>/<agenda> at her turn tail, the
view stamps the newest of each kind at her most recent prose
turn (her own emission -- the silent eviction stays silent to
her, the note shows the GM), <mind> is write-only, every turn
carries its <model> block (via-derived, current call included,
suppressed when nothing is set, emitting one refused), GM prose
goes pure (old logs' rides strip -- never GM words), the
agenda-set verb evicts over-cap silently for GM and player
alike, the authored-carryover lint requires a model turn. The
opening event is RETIRED with the same stroke (GM's package edit
moved the initial status into her authored opening turn; the
start gate seeds the clerk from her last authored turn's blocks;
old carryovers keep their events as inert history -- and the
event's pre-existing DOUBLE-LANDING in every started log,
pre-bundle and in-carry, died with the branch; found on Chloe's
real log, invisible to every reader because the type is skipped
everywhere). The
smoke now IMPORTS renderView and asserts the view policy
directly (the stamp, the strips, the prefixes) -- the pattern
for testing view-only policy that no API surface exposes. Watch
live: Chloe's session two is the protocol's first real run.
- **The multiuser server is built and mock-proven (2026-11-14).**
Design: ROADMAP "The multiuser server" + DECISIONS #22-31 (all
resolved). Identity = bearer token, no usernames/passwords/IDPs;
@@ -212,7 +286,14 @@ memory the agent owes itself across sessions.
-- waiting for static skeleton text ("RUNS", the aside headings)
snapshots BEFORE the fetches land and looks like a rendering bug;
wait for text that only exists post-render (a card name, the
session-info line) or probe the DOM via evaluate.
session-info line) or probe the DOM via evaluate. Added
2026-11-16 (tunables round): programmatic element.focus()/.blur()
inside evaluate fire NO focus/focusout events in the automation
context -- a focus-driven UI (the knob hint bar) looks broken when
driven that way; dispatch a FocusEvent('focus') to exercise the
listener, and treat real-focus behavior as a browser guarantee the
automation cannot reproduce. Empty number inputs also vanish from
the a11y tree (no refs) -- evaluate is the only handle on them.
- Test-state discipline (2026-11-14): the deployment's state/ is real
-- never leave test users or invites in it. Smoke against --mock,
then Remove-Item state/ and every test run (all but the GM's real
@@ -245,8 +326,11 @@ memory the agent owes itself across sessions.
Irene is unreadable past her story surface, so stamping her owner
(the op's one-time act, HANDOFF step 1) is her calibration access.
Her frozen session-1 bundle keeps its old handbook copy: an
artifact now, hands off. The stamp can wait (GM, same day) --
only calibration access depends on it; the new story does not.
artifact now, hands off. The stamp is DONE for the debug identity
(2026-11-16, GM): run.json carries owner "debug" -- full surface
under --debug, ownerless again in normal mode (the id never
resolves against a real users table) until a real-id re-stamp,
which is optional and can wait.
**Replay-after-housekeeping is dead** (found in the SPA round) --
RESOLVED BY PLAN (2026-11-15): the dormant-session rework kills
the autorestart, and during dormancy the latest log IS the