the state-scan round: the log is the one truth for status and agenda, the db tiers retired -- scanState (server/session.mjs) derives each kind newest-wins across her emissions (the picked variant's text), the GM's override records, and the boundary state notes; the panes, the run detail, and the stamp all read it, GET /status and detail.status are derived reads, no clerk call, no db copy; the agenda cap is a derivation rule (GM, 2026-11-16: we log all seven items on reception, but the only way to see all seven is the raw event -- at no point an over-cap list can be derived), the reception note still shows the GM what sank; the stamp renders the canonical grammar -- status comma-separated, agenda markdown bullets, matching the line the GM added to invariants; the GM's block edits are overrides (GM, 2026-11-16: mutate during the contwin composition, the logs record the overrides arriving with the GM's turn as they should, the model sees the blocks overwritten with GM's edits attached to her turn, append if empty): the pane editors STAGE (paneEditor reworked -- no save callback, staged state, pending marker, discard), the send attaches them to POST /turn, node logs the override field on the GM turn, the composition renders it as hers -- the log never mutates, her words stay verbatim, the raw surfaces show the record; OOC turns refuse edits client and server both, the out-of-band POST /status and /agenda routes retired; stop writes the boundary state note at the carry head always (the crash-reconcile filters it before comparing), the start gate's n=1 seeding is dead (her authored opening turn IS the seed, the lint keeps requiring it), continuation carryovers are writable in the file editor during dormancy -- the review window's one editing surface, blocks included, no new pane; the clerk lost the tiers wholesale (schema tables, four verbs, canon status/agenda views, dump sections, report fields; the events CHECK keeps the historical op names; old dbs keep dead tables, never read, never dropped -- Irene is hands-off, and by the same day's ruling she is broken and never runs again: logs and db kept as they are, no replay, no continuation, no compatibility designed for her); Chloe hand-migrated to the new protocol -- her most recent turn carries the whole-list blocks applied from her db's exact values, her next context stamps them, her older lost/gained tags stay as history; the mock's agenda blocks went bullet, a new script position for the override turn's reply restates the mind so the boundary assert holds; smoke reworked to the scan battery (+ the 10f override block: the record rides its turn, the composition stamps at her canon point, the log keeps her emission verbatim, the OOC refusal, the boundary note at the carry head, the retired routes 404) -- ALL PASS; restart + reminder + repo checks green; the browser pass caught and fixed two real bugs (the pending marker's display:flex beat the hidden attribute -- any display rule needs a [hidden] override; setEditable(true) never ran the widget sync so the edit button stayed hidden) and proved the whole UX end to end with zero console errors -- staging, send-with-turn, the machinery lines on the table and raw, the OOC gate banner, discard, dormant read-only panes, the boundary note in the dormant preview; typecheck green on both programs; README/DICTIONARY carry the single-truth design, HANDOFF the round record and the Irene rewording, AGENTS the state pointer and the browser lessons

This commit is contained in:
2026-11-16 22:49:50 +00:00
parent 894737fcf3
commit 5ffecee935
17 changed files with 581 additions and 465 deletions
+47 -13
View File
@@ -137,6 +137,46 @@ memory the agent owes itself across sessions.
## State pointers
- **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
across her emissions (the picked variant's text), the GM's
override fields, and the boundary state notes; the panes, the run
detail, and the stamp all read it (GET /status and detail.status
are derived reads; no clerk call). The cap is a derivation rule:
an over-cap agenda is never derivable anywhere, the raw log is
the only place her seven items live, the reception note still
shows the GM what sank. The stamp renders canonical formats:
status comma-separated, agenda markdown bullets (the grammar
invariants teaches -- the GM added the line themselves). The GM's
block edits are overrides: the pane editors STAGE (paneEditor
reworked -- no save callback, staged state + pending marker +
discard), the send attaches them to POST /turn, node logs the
override field on the GM turn (the log never mutates -- GM,
2026-11-16: "mutate during the contwin composition... the model
sees the blocks overwritten with GM's edits attached to her
turn"; append-if-empty; OOC turns refuse edits, client and
server both). stop writes the state note at the carry head
always (the resume-reconcile filters it out before comparing);
the start gate's n=1 seeding is dead (her authored opening turn
IS the seed); continuation carryovers are rw in the file editor
during dormancy (the save lint unchanged). The clerk lost the
status/agenda tiers wholesale (schema, four verbs, canon views,
dump sections, report fields; the events CHECK keeps the
historical op names; old dbs keep dead tables, never read, never
dropped -- Irene is hands-off). Chloe is MIGRATED: her last turn
carries the whole-list blocks hand-applied from her db's values
(the db's now-dead tables agreed at cutover by construction).
Browser lessons of the round: a CSS display rule on a class
BEATS the hidden attribute (the pending marker showed un-staged
-- .pane-pending[hidden] { display: none } is the fix, and any
widget that uses hidden + a display rule needs the [hidden]
override); a widget whose sync() runs on only some paths drifts
(setEditable(true) never synced -- always run the full sync,
unconditionally); the SPA is served with no cache headers, so
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 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;
@@ -318,19 +358,13 @@ memory the agent owes itself across sessions.
by the agenda (DECISIONS #32/#33). **Verbosity**: completions
lengthened 103 -> 668 chars across session one; the per-turn reminder
is the countermeasure now built -- the next live session is the test.
**Irene is retired to calibration (GM, 2026-11-15): her run
(4f261452) is never continued -- it survives untouched as
calibration material, and a NEW run becomes the live story: the
memory test and the first real housekeeping pass start there.**
The hand-stamp still matters -- story-only reads mean an ownerless
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 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.
**Irene is broken and never runs again (GM, 2026-11-16, superseding
the calibration retirement): her run (4f261452) is kept exactly as
it is -- logs and db untouched, no replay, no continuation, no
compatibility designed for her. Reading her files on disk (the
calibration comparisons) is all that's left; the hand-stamp talk
is moot.** Her frozen session-1 bundle keeps its old handbook
copy: an artifact now, hands off.
**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