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
+112 -37
View File
@@ -20,18 +20,34 @@ file is the "where did we leave off" map.
the type gate and its working lessons live in AGENTS.
- **Everything is built, proven, and committed (through `8d4a6b9`,
2026-11-15).** The full scope, each round mock-proven end to end
and live-proven where live could reach: the MVP substrate (clerk,
server, housekeeping job, SPA), multiuser (token identity, invites,
fork, user packages, story-only reads), the agenda, the per-turn reminder,
2026-11-15, plus the 2026-11-16 rounds -- see the git log).** The
full scope, each round mock-proven end to end and live-proven
where live could reach: the MVP substrate (clerk, server,
housekeeping job, SPA), multiuser (token identity, invites, fork,
user packages, story-only reads), the agenda, the per-turn reminder,
the variant round (variant literature, the crypto pick), the entity
round (/story, /table, the slidwin carry), the dormant-session
rework (the universal session lifecycle, move-at-stop, the start
lint, rebaseable housekeeping, carryover.jsonl + memory.json
packages), the format house rules (nine-rule check-repo), the
naming round, and the JSDoc typing round (server, clerk, web).
The design record lives in README / DICTIONARY /
ROADMAP; the build history in the git log.
naming round, the JSDoc typing round (server, clerk, web), and the
2026-11-16 rounds: the play-protocol batch (OOC GM turns carry no
cache blocks; memory.json editable as authored draft material,
applied by the start gate over a fresh db; /story filters OOC
whole; the per-turn raw control on the table), and model discovery
(the two-step op act, the registry, registry-gated model use, the
five named knobs), the tunables UX round (the knob definitions
table with the hints and probed bounds, the explicit override
toggle, the shared hint bar, and the request recording -- resolved
model + effective params on every msg event, failed calls
included), the mind verb (the player sets its own sampling
for its next turn: <mind> JSON, one-shot, max_tokens excluded,
bounds enforced and conflict-healed, carried unconsumed across a
session boundary), and the full-block protocol (whole-list
status/agenda at her turn tail, stamped at the canon point, the
<model> display blocks, GM prose pure, silent over-cap eviction,
the delta verbs retired). The design record lives in README /
DICTIONARY / ROADMAP; the build history in the git log.
- **The project is named: Tiny Worlds.** The invariant it names is
stated in README's premise -- each package is a tiny world on
purpose. The repo lives at `C:\data\opencode\tiny-worlds`; the
@@ -56,54 +72,113 @@ file is the "where did we leave off" map.
- **The housekeeping dry-run ran on her once:** works mechanically,
output not yet as expected -- the housekeeper.md review is pending
(step 3), and the GM has not read the prompt yet.
- **The server is stopped; state/ is fresh** (no users -- the next
start mints the real bootstrap invite to state/bootstrap-invite.txt
and the console).
- **The live story is "La Caramba / Chloe"** (run 15001de3, gitignored
state, glm-5.3-high, owner debug): session one open, 52 GM + 53
player turns. The clean reminder/agenda experiment runs there --
her turn-length curve bends back down late-session where Irene's
ran away, and her reasoning blocks grow into real continuity work
(the calibration comparison against Irene is 2026-11-16
conversation, not a doc). Her first stop carries the first real
housekeeping pass and the slidwin test (step 2).
- **Model discovery is built and live-proven (2026-11-16).** The
two-step op act (discover: the free metadata scrape; refine: the
deterministic battery + the curator pass), the registry
(state/models.json -- the truth of selectable models; a fresh
deployment has none and model use is disabled), registry-gated
model routes and turn loop, and the five named knobs
(temperature, top_p, top_k, repetition_penalty, max_tokens) per
role, run layer over deployment layer, sent only when set.
Live-verified against the real endpoint across three refine runs:
gev fails the tool probe and drops (capability detection, no
names in code), off-switch spellings verified per model, the
curator pass curated (after two network-hiccup failures that
exercised the fallback exactly as designed -- machine labels,
deterministic defaults, job applied), and the alias rule works
("measures identical to X -- likely the same model behind both
ids"). The registry on disk is the alias-aware curated run.
RESOLVED (GM, 2026-11-16): the glm-5.2-max vs glm-5.3-max flip was
the dv endpoint's alias all along (one model behind both ids), and
the general rule is ruled and built: the pick ranks on the
reasoning bucket, not the raw token count (within a bucket the
differences are sampling noise -- the thresholds sit in the
endpoint's own observed gaps), and a full tie settles
sort-lex-pick-bottom. The mock registry carries a canned tie pair
(mock / mock-tie, same bucket, same windows) and the smoke asserts
the lex-bottom pick. The on-disk registry still names glm-5.2-max
as its default (the coin-flip run) -- inert while server.json
pins its own pick, and the next refine re-picks deterministically
(glm-5.3-max, the lex bottom). PENDING: the curator.md review
(GM-led, the housekeeper.md precedent).
- **The server is stopped; state/ holds only the registry**
(models.json, the alias-aware curated run). The auth side is
pristine -- no users, so the next start mints the real bootstrap
invite to state/bootstrap-invite.txt and the console.
## Immediate next steps, in order
1. **First start under multiuser (op, one-time).** Start the server,
claim the bootstrap invite (`state/bootstrap-invite.txt` and the
console both carry it), then hand-stamp Irene's `run.json` with
`"owner": "<your user id>"` -- the SPA header tooltip shows the id.
The stamp is her calibration access: story-only reads mean an
ownerless run is unreadable past its story. No migration code
exists, by ruling; this is the op's one manual act.
2. **Start the new story -- the memory test begins there.** A fresh
run carries the first real housekeeping pass: play a session,
close-and-housekeep when the GM is ready, review the manifest and
the session log against the dump diff (the audit surface).
Everything from the session lives only in context and in her
status until this lands. The pass ends in DORMANCY -- the review
window is the point (edit rings/prompts, then start). Irene is
hands-off calibration material: read her, replay against her if
wanted (owner-only, spends a call), never continue her.
3. **Housekeeper prompt review (GM-led).** Iterate on
housekeeper.md: read it, tweak, replay -- the dry-run button
re-runs housekeeping over the session log with nothing applied.
console both carry it). Discovery is already done -- the registry
is on disk (models.json), so the selectors are populated from the
first load; re-running refine after the curator.md review
regenerates it in one click. Irene's stamp is DONE for the debug
identity (2026-11-16); re-stamping her run.json with the real
user id is optional -- without it she reads ownerless (story
only) in normal mode. No migration code exists, by ruling.
2. **Play Chloe to her first stop -- the memory test begins there.**
Her first close-and-housekeep carries the first real housekeeping
pass: review the manifest and the session log against the dump
diff (the audit surface). Everything from the session lives only
in context and in her status until this lands. The pass ends in
DORMANCY -- the review window is the point (edit rings/prompts,
then start). Her session two is also the full-block protocol's
first live run: the new prompts + substrate meet her there, and
her session-one delta tags ride the carry as history (the view
leaves them, the story strips them). Irene is hands-off
calibration material: read her, replay against her if wanted
(owner-only, spends a call), never continue her.
3. **Prompt reviews (GM-led).** housekeeper.md: read it, tweak,
replay -- the dry-run button re-runs housekeeping over the
session log with nothing applied. curator.md likewise: read it,
red-pen, re-run refine.
4. **Keep playing -- and watch the experiments.** Observables #12
(the status stays small and matches the transcripts) and #14 (turn
lengthening -- the reminder is the countermeasure under test), plus
the fresh watchables: does thread-tracking move to the agenda; drop
off-by-ones; cross-channel drift; whether description-only "empty
turns" stay on her side of the purview line. Variantary: the
metric's curve (`/story` variance -- how often, how many
candidates), coin-flip personality (choices offloaded to chance
that should be character), and whether her variants stay same-turn
alternatives rather than sequences.
(the status stays small and matches the transcripts -- now
structural under the full-block protocol) and #14 (turn
lengthening -- the reminder is the countermeasure under test,
and Chloe's curve bends back down where Irene's ran away), plus
the fresh watchables: does thread-tracking move to the agenda;
cross-channel drift; whether description-only "empty turns" stay
on her side of the purview line; the protocol's own firsts --
whether she restates her blocks every turn or only on change,
whether the `<model>` blocks teach her anything (self-
calibration), and whether she ever states a `<mind>`.
Variantary: the metric's curve (`/story` variance -- how often,
how many candidates), coin-flip personality (choices offloaded
to chance that should be character), and whether her variants
stay same-turn alternatives rather than sequences.
## Not yet exercised (expect first-use friction)
- **First start under multiuser** (step 1) -- nothing live has
touched the auth spine, invites, fork, or the non-owner reads yet;
all are mock-proven only.
- **A knob riding a real request** -- the knobs, their explicit-override
UX, and the request recording are smoke- and browser-proven, but no
live turn has carried one; the max-reasoning defaults are likewise
unplayed (Chloe runs -high; no turn has run on a -max model).
- **The full-block protocol against a live model** -- whole-list
emission, the stamping, the `<model>` blocks, and whether she ever
states a `<mind>` are all unexercised live; Chloe's session two
(post-review-window) is the first run of it. Her session-one turns
carry the old delta tags as history; the view leaves them (her
words), the story strips them.
- ask_gm in live flow (pause/resume is mock-proven; the live model
simply made its own choices so far -- by design), the self-heal
conflict path in live flow (mock-proven; capped at 3 heals a turn),
the agenda and the reminder against a live model, records tools
through the server (needs a records-enabled run).
- The slidwin carry against a real session boundary in earnest
(the new run's first stop), the story read as the review surface, the
(Chloe's first stop), the story read as the review surface, the
OOC-hole showing in practice, and everything variantary live: the
pick against a real model, the metric's curve, coin-flip
personality.