variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
# AGENTS.md -- the agent's own notes
|
2026-11-13 05:16:31 +00:00
|
|
|
|
|
|
|
|
Working notes for the agent working this repo. Not project
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
documentation -- the project's homes are README (architecture, protocol,
|
2026-11-13 05:16:31 +00:00
|
|
|
observables), ROADMAP (decisions, steal list, substrate plan),
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
QUESTIONS (the decision queue -- open items only), DECISIONS (the
|
|
|
|
|
resolved record, keyed by the old queue numbers), DICTIONARY (the
|
|
|
|
|
terms of art), HANDOFF (working state). This file is
|
2026-11-13 05:16:31 +00:00
|
|
|
memory the agent owes itself across sessions.
|
|
|
|
|
|
|
|
|
|
## Working with the GM
|
|
|
|
|
|
2026-11-14 03:15:53 +00:00
|
|
|
- **Their LLM tokens are free (2026-11-14): never economise on usage.**
|
|
|
|
|
Run live tests freely; don't hesitate over spend or trim prompts,
|
|
|
|
|
manifests, or transcripts to save tokens.
|
2026-11-13 05:16:31 +00:00
|
|
|
- The GM drafts creative content; the agent drafts mechanical content.
|
|
|
|
|
"I draft, you cut" runs both directions. They edit files directly and
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
say "check it out" -- always re-read before reviewing or editing; the
|
2026-11-13 05:16:31 +00:00
|
|
|
last read never still holds.
|
|
|
|
|
- They think across several lines at once and answer in batches;
|
|
|
|
|
silence on a proposal usually means "not persuaded, moving on."
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
Discuss in prose -- question dialogs have been dismissed twice.
|
2026-11-13 05:16:31 +00:00
|
|
|
- **Commit discipline: they commit when pieces are in place. Never
|
|
|
|
|
propose, nudge, or ask about committing.** (Learned 2026-11-13,
|
|
|
|
|
after being told four-plus times.)
|
|
|
|
|
- Reviewing their creative work: check coherence against the rest of
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
the system, flag ripples, name what works and why -- the verdict on
|
2026-11-13 05:16:31 +00:00
|
|
|
creative content is theirs. GM-private files (gm.md) are never edited
|
|
|
|
|
and only flagged.
|
2026-11-15 14:46:00 +00:00
|
|
|
- Standing agreements (folded from the handoff's working-agreements
|
|
|
|
|
section when it slimmed, 2026-11-15): character and world work is
|
|
|
|
|
done together, unhurried ("we'll get there together"); the GM runs
|
|
|
|
|
on organic memory and takes no notes -- the system is the prosthesis,
|
|
|
|
|
their lever is narrative, never mechanical; they answer point-by-point
|
|
|
|
|
and expect pushback in both directions; gm.md is GM-private, never
|
|
|
|
|
pasted to any model; rolls (`pick`) are legitimate at drafting time --
|
|
|
|
|
rolled values are proposals with the alternates listed for easy
|
|
|
|
|
swaps; hard limits in `system.md` are absolute.
|
2026-11-13 05:16:31 +00:00
|
|
|
|
|
|
|
|
## Writing prompt-bound text
|
|
|
|
|
|
|
|
|
|
- **Plainness over subtlety.** Learned 2026-11-13: my content-stance
|
|
|
|
|
prose was aphoristic ("the weather is hers", "the camera keeps to
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
her side") and the GM -- the co-designer -- could not decode most of
|
2026-11-13 05:16:31 +00:00
|
|
|
it. Their rewrite named the thing (erotica), stated rules as
|
|
|
|
|
behavior (strike down unwanted advances; don't play anticipated
|
|
|
|
|
leads to please the GM), and stated the thesis outright (nothing
|
|
|
|
|
lives in a special bucket). Match that register.
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
- Metaphor survives only when cashed out in the same breath -- "tense
|
|
|
|
|
is the camera: present while the scene plays -- example -- past to
|
|
|
|
|
summarise -- example" passed their red pen. A metaphor left uncashed
|
2026-11-13 05:16:31 +00:00
|
|
|
is a riddle.
|
2026-11-14 03:15:53 +00:00
|
|
|
- **No HTML comments in prose or prompt files** (2026-11-14): purpose
|
|
|
|
|
descriptions live in README (layout), AGENTS, or as comments in the
|
|
|
|
|
substrate code. Generated views carry their do-not-edit warning in
|
|
|
|
|
the clerk, not in the output. The views are pure memory: run state
|
|
|
|
|
(records availability) rides the phase-3 housekeeping invocation,
|
|
|
|
|
not the ring headers.
|
2026-11-13 05:16:31 +00:00
|
|
|
- Output-style counterexamples prime what they prohibit (far context
|
|
|
|
|
can't suppress, only prime). State tests and positives instead.
|
|
|
|
|
Input-side counterexamples (routing examples, "Refuse" cases) are
|
|
|
|
|
safe and stay.
|
the prompt-craft round: the reminder rewritten around the one-action turn shape -- zero or one action, thoughts and dialogue as bounded speech ("end speech when the story would read better with GM's prose after yours"), impulsive or irrational acting marked in prose, and the restraint line (check what is actually limited: handcuffs allow holding small things) aimed at the calibration opening; the handbook gains "what makes the story better" (four pointers kept lean after three rescinded -- the survivors are all executable from her seat, the cut three needed world-authority), the reader-insight grammar fix, and Flavourful settled British to match the file; la-caramba gains Rationale sections -- backdrop (the world kept small to limit scope and focus) and character (restraints as the structural limitation, the rest downstream); README observable #14 stands as written (GM: the turn is one thing, the new shape is the structure OF the thing); Irene retired to calibration (GM, 2026-11-15) -- never continued, hands off, her frozen session-1 bundle an artifact, the new run carries the memory test and the first real housekeeping pass, and the hand-stamp becomes her calibration access (story-only reads make an ownerless run unreadable past its story) and can wait; the handbook's point-of-order example keeps its unclosed paren by ruling (players write OOC that way, the closing-paren-optional substrate rule is the support); operator queue items struck as answered
2026-11-15 23:17:29 +00:00
|
|
|
- The handbook's point-of-order example deliberately leaves the
|
|
|
|
|
paren unclosed (GM, 2026-11-15): people write OOC that way in the
|
|
|
|
|
wild, the substrate supports it (closing paren optional, ruled in
|
|
|
|
|
invariants), and the example shows the tolerated form. Don't flag
|
|
|
|
|
it as a typo.
|
2026-11-13 05:16:31 +00:00
|
|
|
|
|
|
|
|
## Environment gotchas
|
|
|
|
|
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
- Shell command strings: plain ASCII only -- em-dashes and fancy quotes
|
2026-11-13 05:16:31 +00:00
|
|
|
get rejected.
|
2026-11-18 17:24:37 +00:00
|
|
|
- PowerShell's `Copy-Item -Recurse $src $dst` MERGES into an existing
|
|
|
|
|
$dst (and nests $src as a child when it exists) -- it never
|
|
|
|
|
replaces. Restoring a dir wholesale wants `Remove-Item $dst` first,
|
|
|
|
|
then the copy (bitten 2026-11-18 restoring state/ after the smoke:
|
|
|
|
|
the first attempt left the smoke's deployment.db at the top level
|
|
|
|
|
with the backup nested inside it).
|
|
|
|
|
- **state/ is precious now (2026-11-18):** the real refine wrote the
|
|
|
|
|
measured registry into state/models.json, which the old smoke
|
|
|
|
|
procedure ("Remove-Item state/") would destroy -- re-running refine
|
|
|
|
|
costs 9 minutes of real traffic. Amended procedure: back state/ up
|
|
|
|
|
to temp first, smoke on the clean slate, then clean-replace it back
|
|
|
|
|
(see the Copy-Item lesson) before the debug server restarts.
|
|
|
|
|
- `git add -A` STAGES THE GM'S WIP PACKAGES (near-miss 2026-11-18:
|
|
|
|
|
packages/box and packages/detention rode `add -A` into the index
|
|
|
|
|
and only the status read caught them -- they are untracked until
|
|
|
|
|
the GM says otherwise). Stage by path, or `git restore --staged
|
|
|
|
|
packages/box packages/detention` after any broad add.
|
2026-11-13 05:16:31 +00:00
|
|
|
- The edit tool matches bytes, and the console renders dashes
|
|
|
|
|
unreliably. When an edit fails on text that "looks right," dump char
|
|
|
|
|
codes via PowerShell before retrying; or transcribe from a fresh
|
2026-11-14 09:04:13 +00:00
|
|
|
read, never from memory. **The three-space trap (bitten 2026-11-13
|
|
|
|
|
and 2026-11-14):** the read tool prefixes each line with `N: `, so
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
continuation-line indentation LOOKS one space deeper than it is --
|
2026-11-14 09:04:13 +00:00
|
|
|
eyeballing a " the package" was really " the package". Never
|
|
|
|
|
count indentation from the rendered display: dump the exact line
|
|
|
|
|
with `node -e` + JSON.stringify and transcribe from that when an
|
|
|
|
|
edit keeps failing on text that reads right.
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
- `node:sqlite` prints an ExperimentalWarning on every clerk call --
|
2026-11-13 05:16:31 +00:00
|
|
|
harmless, filtered in bridge context.
|
|
|
|
|
- Session logs, dumps, and views are generated; never hand-edit them.
|
2026-11-15 14:46:00 +00:00
|
|
|
- `server.json` (gitignored) holds the real key; it mirrors opencode's
|
|
|
|
|
`dv` provider (config at `~/.config/opencode/opencode.jsonc`, auth at
|
|
|
|
|
`~/.local/share/opencode/auth.json`).
|
|
|
|
|
- The repo lives at `C:\data\opencode\tiny-worlds` (renamed from
|
|
|
|
|
`rp-test` with the project name, 2026-11-15). The rename could not
|
|
|
|
|
happen in place -- the running app held the old dir -- so the move
|
jsdoc typing round, phases 1-2: tsc as a no-emit checker over plain mjs (checkJs, strict), the shared shapes in server/shapes.mjs (log events as a tagged union, wire messages, manifests, job state, the ctx), all 12 server modules annotated; requireOwner/requireSuperuser as JSDoc assertion functions so the router guarantee narrows without callsite churn; runtime stays zero-dependency (typescript + @types/node as pinned devDeps, node_modules gitignored, QUESTIONS #4 amended: dev tooling exempt); every non-annotation delta audited onto a small intended list (clerk status ?? 1, dead 401 guards, async wraps on enqueue callsites); smoke 105/105 + restart + repo checks green; the clerk and web/ are the next phases
2026-11-15 15:28:56 +00:00
|
|
|
was robocopy + session repoint, plus a one-time sqlite edit of
|
|
|
|
|
opencode's own db (`~/.local/share/opencode/opencode.db`) to
|
|
|
|
|
repoint the project record and drop the stale duplicate project
|
|
|
|
|
the desktop UI cannot delete (anomalyco/opencode#28030). The old
|
|
|
|
|
dir and the db backup are gone; the rename is complete. Always
|
2026-11-15 14:46:00 +00:00
|
|
|
launch from the new path.
|
|
|
|
|
- The test scripts: `smoke.mjs` expects a CLEAN state/ plus a running
|
|
|
|
|
`--mock` server, prints its run ids, and leaves a temp token file
|
jsdoc typing round, phases 3-4: the clerk (tool/memory.mjs) and the SPA (web/) typed under strict -- row shapes local to their owners (the clerk's five tables in its header; the SPA's response envelopes in the new web/shapes.mjs, the server's shared shapes imported at their use sites: User, LogEvent, JobState, HttpError); the db boundary cast at every .get()/.all(), fail as @returns {never} so guard-narrowing works; web via a second tsconfig (tsconfig.web.json: DOM libs in their own program, node types riding along because shapes.mjs's Provider typedef pulls provider.mjs in), npm run typecheck runs both; every non-annotation delta audited onto a small intended list (COUNT(*) Number() wraps, impossible-path guards, ?? ''/?? undefined null-absorbers, the RewordOp reason fix -- the validator demands it, the reminder-find naming its tag); smoke 110/110 + restart + reminder + repo checks + a zero-console-error browser pass green; the typing round is complete
2026-11-15 19:57:07 +00:00
|
|
|
for `restart-check.mjs`; `check-reminder.mjs` takes a run id --
|
|
|
|
|
one whose NEWEST LOGGED session has GM turns (post-smoke that is
|
|
|
|
|
the fork lineage, e.g. the refork id in the token file; the source
|
|
|
|
|
run's newest logged session is the near-empty session 4, and
|
|
|
|
|
aiming it there fails on 0 reminders -- learned 2026-11-15);
|
|
|
|
|
`check-repo.mjs` needs no server. The smoke cannot run twice --
|
|
|
|
|
the second run dies on the dirty state (learned 2026-11-15): stop
|
|
|
|
|
the server, Remove-Item state/ and runs/, restart, run once. Clean
|
|
|
|
|
up state/ and the smoke runs afterwards -- only the real runs
|
|
|
|
|
stay. The type gate: `npm.cmd run typecheck` runs TWO no-emit
|
|
|
|
|
tsc passes over the JSDoc annotations -- `tsconfig.json` (server
|
|
|
|
|
+ tool, node types) and `tsconfig.web.json` (web/, DOM libs; node
|
|
|
|
|
types ride along because server/shapes.mjs's Provider typedef
|
|
|
|
|
pulls provider.mjs into the web program). Dev-only tooling
|
|
|
|
|
(typescript + @types/node in devDependencies, node_modules
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
gitignored); the runtime stays zero-dependency (DECISIONS #4
|
jsdoc typing round, phases 3-4: the clerk (tool/memory.mjs) and the SPA (web/) typed under strict -- row shapes local to their owners (the clerk's five tables in its header; the SPA's response envelopes in the new web/shapes.mjs, the server's shared shapes imported at their use sites: User, LogEvent, JobState, HttpError); the db boundary cast at every .get()/.all(), fail as @returns {never} so guard-narrowing works; web via a second tsconfig (tsconfig.web.json: DOM libs in their own program, node types riding along because shapes.mjs's Provider typedef pulls provider.mjs in), npm run typecheck runs both; every non-annotation delta audited onto a small intended list (COUNT(*) Number() wraps, impossible-path guards, ?? ''/?? undefined null-absorbers, the RewordOp reason fix -- the validator demands it, the reminder-find naming its tag); smoke 110/110 + restart + reminder + repo checks + a zero-console-error browser pass green; the typing round is complete
2026-11-15 19:57:07 +00:00
|
|
|
amended 2026-11-15). All four phases are typed under strict:
|
|
|
|
|
server core, the clerk, and web/. Typing lessons (2026-11-15,
|
|
|
|
|
the round): assigning an any (api()/JSON.parse result) to a
|
|
|
|
|
`?T` variable does NOT strip the null -- declare the variable
|
|
|
|
|
plain `T` and let definite assignment carry the try/catch (the
|
|
|
|
|
catch returns); under the web program's DOM+node merge the
|
|
|
|
|
browser timers resolve to node's overloads, so annotate them
|
|
|
|
|
`?ReturnType<typeof setTimeout>` and `clearTimeout(x ??
|
|
|
|
|
undefined)`.
|
|
|
|
|
- A fresh git worktree has neither server.json (gitignored) nor
|
|
|
|
|
node_modules: copy server.json in from the main repo before the
|
|
|
|
|
mock server starts (it exits without one), and run npm.cmd
|
|
|
|
|
install before typecheck (2026-11-15, this worktree).
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
- The remote (2026-11-15, GM): origin at
|
|
|
|
|
`ssh://code@code.fleshless.org:2290/hackmaster/tiny-worlds.git`,
|
|
|
|
|
branch mistress tracks origin/mistress. The ssh key takes a
|
|
|
|
|
PASSPHRASE, so pushes are the GM's -- an agent-side `git push` is
|
|
|
|
|
non-interactive and dies on auth; the network to that host also
|
|
|
|
|
has hiccups, so a connection timeout is not proof the server is
|
|
|
|
|
down (bit once: push attempt got auth, then the port went silent
|
|
|
|
|
for minutes).
|
2026-11-13 05:16:31 +00:00
|
|
|
|
|
|
|
|
## State pointers
|
|
|
|
|
|
2026-11-18 17:24:37 +00:00
|
|
|
- **The conflict-persistence round is BUILT (2026-11-18, GM ruling):
|
|
|
|
|
conflicts stay in the contwin and are self-contained.** The old
|
|
|
|
|
view policy treated conflicts as transient (visible only while
|
|
|
|
|
the latest word, elided after) -- the GM overruled it: a mistake
|
|
|
|
|
remains visible so it is not made again. Self-contained means the
|
|
|
|
|
conflict DESCRIBES ITS PROBLEM IN FULL, quoting the offending
|
|
|
|
|
emission, because the block it answers strips from the view
|
|
|
|
|
(STRIP_HERS takes her <model>/<mind>/<sheet>) -- an old conflict
|
|
|
|
|
cannot lean on the turn it immediately follows; the quote is the
|
|
|
|
|
only visible trace of what went wrong. As built: renderView's
|
|
|
|
|
conflictOnly branch renders unconditionally (the lastGmIdx
|
|
|
|
|
elision is gone, the variable with it); the guards quote (loop.mjs
|
|
|
|
|
`quote()` -- trim, collapse, cap 160 -- a shared helper): "yours
|
|
|
|
|
said: {...}" on the <model> and <sheet> guards, "(you set: ...)"
|
|
|
|
|
on the mind verb's per-key refusals, "-- yours: {block}" on mind
|
|
|
|
|
JSON that doesn't parse (the out-of-bounds mind already carried
|
|
|
|
|
"(got 7)" and keeps its exact form); parseMind's every error now
|
|
|
|
|
names what she wrote. Ripples caught: carry.mjs's visibleBytes
|
|
|
|
|
counted conflicts as zero-cost ("elides once the story moves on")
|
|
|
|
|
-- carried conflicts now render in the new session, so they cost
|
|
|
|
|
against the 96KB budget like the prose they are; the housekeeping
|
|
|
|
|
transcript already showed conflicts as "[conflict -- answered
|
|
|
|
|
in-band]" (untouched). Verified: typecheck both programs, smoke
|
|
|
|
|
ALL PASS (+3 assertions: both session-1 conflicts render in the
|
|
|
|
|
view, the model-guard quote, the sheet-guard quote), restart +
|
|
|
|
|
reminder checks green, check-repo clean. Docs: README's protocol
|
|
|
|
|
passage, DICTIONARY's conflict and view entries. The smoke's
|
|
|
|
|
final line now prints the draft id too (the 8a899168 leftover:
|
|
|
|
|
a smoke draft survived cleanup because "run ids" never named it
|
|
|
|
|
-- delete-by-list is the backstop, the print is the fix).
|
|
|
|
|
- **The rewind round is BUILT (2026-11-17, verified into 11-18):
|
|
|
|
|
the GM's take-back, riding the send.** The GM took "session
|
|
|
|
|
rewind" off their operator queue and simplified the design past
|
|
|
|
|
my cut-event proposal: physical truncation, not typed entries --
|
|
|
|
|
fork is the preservation story (no fork, no archaeology), and
|
|
|
|
|
with all state channels derived from the log (scanState), a cut
|
|
|
|
|
re-derives everything with zero compensation machinery. As built:
|
|
|
|
|
the send (`POST /turn`) carries optional `rewind` (a log line
|
|
|
|
|
index naming a GM turn) and `expect` (the log line count it was
|
|
|
|
|
composed against -- the staleness guard, a stale tab refuses
|
|
|
|
|
before anything rides; the ask answer carries it too); gmTurn's
|
|
|
|
|
order is pendingAsk-refusal -> expect -> expand -> truncate ->
|
|
|
|
|
land (one commit inside the lock; a crash between truncate and
|
|
|
|
|
land leaves a consistent shorter log); the floor is the start
|
|
|
|
|
marker -- `{t:'note', kind:'start'}` written once at start right
|
|
|
|
|
after the carryover (the frozen opening never unwinds; the rule
|
|
|
|
|
is "after the LAST marker" because a carried log may hold an
|
|
|
|
|
older one inside its opening; pre-build logs refuse loudly with
|
|
|
|
|
the unmarked-opening 409); the CLI records verbs stand but the
|
|
|
|
|
MODEL-FACING records tools are OFF (bundle.mjs toolList returns
|
|
|
|
|
ask_gm alone) until they are rewind-compatible -- the GM's --gm
|
|
|
|
|
filings never ride a turn, rewind-safe by construction. The SPA:
|
|
|
|
|
per-GM-turn rewind button (transcript walk's onRewind, live +
|
|
|
|
|
no-pending-ask only), two-click armed, the target's EXPANDED
|
|
|
|
|
words auto-fill the composer (the log is truth, $vars baked),
|
|
|
|
|
tint + note naming the cut (the colour alone says something is
|
|
|
|
|
pending, not what dies), cancel restores, text in the box
|
|
|
|
|
disables the buttons under the rename "to rewind delete your
|
|
|
|
|
current input", a failed send keeps the gesture armed only on
|
|
|
|
|
400 (nothing touched the log), /retry never existed -- resend
|
|
|
|
|
after rewind IS the retry. The gm.md desync is PARKED (ROADMAP
|
|
|
|
|
deferred: notes orphaned from the narrative after a rewind;
|
|
|
|
|
nothing mechanical is safe, fork covers it). Verified: typecheck
|
|
|
|
|
green both programs, smoke ALL PASS (+14 rewind assertions: the
|
|
|
|
|
floor refusals, her-turn refusal, stale-expect refusal, the
|
|
|
|
|
truncation 45->42, the sheet revert, the story dropping the cut,
|
|
|
|
|
the marker surviving), restart + reminder checks green,
|
|
|
|
|
check-repo clean after staging, and a full browser pass on the
|
|
|
|
|
refork run (the gesture staged, cancelled, re-staged, edited,
|
|
|
|
|
and committed through the real send: 20 turns -> 8 on the
|
|
|
|
|
table, wire body {line, expect, rewind}, zero console errors).
|
|
|
|
|
Docs: README (protocol passage, the records-off notes x3, the
|
|
|
|
|
layout), DECISIONS #15 amendment (the full ruling record),
|
|
|
|
|
QUESTIONS closed (retry dropped, truncation ruled), ROADMAP
|
|
|
|
|
(steal #2 and the surgery section built-and-amended, the
|
|
|
|
|
operator queue line removed, the gm.md park), DICTIONARY (the
|
|
|
|
|
rewind entry). The debug server runs the new code (state/
|
|
|
|
|
restored from backup, Chloe + Irene rebuilt).
|
|
|
|
|
- **The sheet round is BUILT (2026-11-17, committed eefb721 -- the
|
|
|
|
|
roadmap audit rides the same commit): the
|
the sheet round: the GM's ledger of arbitrated run state -- the second state channel, split from status and agenda by truth model (GM, 2026-11-17). The rulings first: status and agenda are narrative self-report (their truth is "she said so", the scan caches her latest words); the sheet is actual run state (its truth is "the GM set so", the record IS the truth event -- nothing cached from anyone's words). The override channel promoted to a standing section, and that precedent decided the presentation: the sheet renders as its OWN authoritative system chunk at the freshest end, never a canon-point stamp, which would read as her words -- the same reason the override composes as hers and the sheet never does. Schemaless JSON in the tag (the mind-verb philosophy: the substrate teaches the channel, the package teaches the vocabulary -- the invariants rule the GM wrote is one universal paragraph with deliberately non-box examples, clothes and grades, and the propose-additions line as her schema-evolution channel); details learnt in-place; NO package gating -- the channel is universal and "optional, if given" makes the invariant forward-compatible in every bundle that never sets one. The build: a sheet record rides the GM turn like the override (readSheet: object-ness is the route's only law, 400 loud on arrays and scalars, nothing appended; OOC turns refuse it exactly like block edits); scanState derives newest-wins whole-set -- an absent key drops, never keeps, and {} is a live empty ledger (a truthy check, never falsy); the boundary state note carries it across stops and the dormant read path serves it; renderView appends the chunk once per assembly so one live copy holds by construction; the guard is the <model> sibling (an emitted <sheet> conflicts with "the GM's ledger -- propose changes in prose", healed in-turn, cap 3, and her emission never applies -- the scan holds the GM's record); every strip surface learned the tag (the view's STRIP_HERS, the story's verbs, the table's chip regex -- the standing grep-every-strip-list lesson, applied); and the web gains sheetEditor, the paneEditor's JSON sibling in widgets.mjs (same stage/pending/discard pattern, bad JSON refuses at the stage), the third pane in the aside, the send attaching body.sheet, and [sheet] machinery lines on both table and raw walks. The mock's sheet-guard branch is CUE-KEYED, not position-keyed: the carried tail shifts the script's counts (session 4's log starts the script over -- the battery's first attempt landed on the ask position and crashed renderView on the unpaired call; the battery now answers the script ask and moves on), while a marked GM turn is immune to every shift -- mockModel reads the view, the marked turn earns the emission, the conflict it earns earns the plain-prose heal. check-reminder is sheet-aware (the chunk is a legitimate third system surface; the count and freshest-end assertions tolerate exactly one, and the freshest-end check now allows her latest reply and/or the chunk to follow the reminder). Verified: smoke ALL PASS with +15 sheet assertions (newest-wins, whole-set semantics, the chunk one-live-copy -- ANCHORED with startsWith because the invariants bundle itself mentions the tag and a bare regex matches it twice, an honest test bug caught by an honest test), the guard's conflict and heal with her emission kept verbatim in the raw log and never applied, the view and story strips, the empty ledger rendering its chunk, the boundary note carrying the sheet, the dormant read deriving it, and session 5 deriving it from the carried note end to end), restart + reminder checks green, typecheck green on both programs, check-repo clean (it caught the round's own prose twice: "window" is a retired term in README, the contwin vocabulary wins), and a browser pass over the pane end to end with zero console errors -- staging, the pending marker, the ride, the scan re-render, and both machinery lines on the table. Docs: README's protocol passage carries the sheet with the numbers-live-on-the-sheet line (prose numbers die with the contwin; sheet numbers ride the scan forever) -- NOT in the memory tiers table, where the first draft wrongly put it (the GM's ruling: the sheet belongs in neither memories nor records); the identity tier lost its loose "character sheet" name now that the term is technical; DICTIONARY gains the sheet entry with the history line (dice retired into variant literature, sheets arrived as the state machinery -- the tabletop metaphor completing while its realism stays advisory, players hold their own pencils in the real thing and we don't, for drift); ROADMAP parks the bookkeeper extension (the housekeeper's arithmetic sibling: reads the setting's rules prose and the latest turns, computes the ledger delta from a purchase in her prose, lands it as a STAGED edit -- applied on the GM's next turn or discarded; sheet-only authority, curator fallback, per-package opt-in because an agent cannot bookkeep what is not arithmetic). The GM's prompt-side edits ride the same commit: invariants' "Character's sheet" section (the universal rule, the trailing-clause flag taken in review), the reminder's inventory line gaining "the sheet (optional)", and la caramba's gm.md lore updates. The box package (the first consumer) and detention stay untracked WIP, untouched. The 2026-11-17 roadmap audit rides the same commit (GM: "done items can retire"): retired outright -- the SPA-vs-bridge and voice-examples decisions (long resolved) and steal items #1, #3, #4, #8, #11 (done, or in #8's case never work -- the housekeeper model is per-run selection, built); retired with tombstones -- the multiuser section (built 2026-11-14, the rulings live in DECISIONS #22-31 and README, the lifecycle tail kept visible) and the SPA v1 section (all four phases done, the API sketch superseded by README's living API docs, the substrate doctrine in README), with the one unbuilt design it held -- the turn-surgery saga rule -- surviving as its own bullet cross-referenced at steal #2; amended in place, dated -- seed.json (dead, successors named: the authored carryover and memory.json), turn-0.md (dead: her authored opening turn), the upstream model listing (never queried in play since discovery), the delta-tag transport (the full-block protocol, the sheet named), the service step (multiuser built, hosting remains), the carryover editor (the raw file-editor surface exists, the purpose-built UI stays deferred); kept -- the operator's queue, the landscape and receipts, the live constraints, the open steals with numbering preserved so cross-references resolve, the deferred tasks, the distant points, the rejections, the notes. 582 lines to 338; the first deletion pass duplicated the steal-list header and the verification re-read caught it
2026-11-17 22:35:44 +00:00
|
|
|
GM's ledger of arbitrated run state, the second state channel.**
|
|
|
|
|
The rulings that shaped it (all from the 2026-11-17 conversation):
|
|
|
|
|
status and agenda are NOT on the sheet -- the split is semantic
|
|
|
|
|
(self-report: truth is "she said so", the scan caches her words;
|
|
|
|
|
the sheet: truth is "the GM set so", the record IS the truth
|
|
|
|
|
event -- the override channel promoted to a standing section, and
|
|
|
|
|
that precedent decided the presentation: its own authoritative
|
|
|
|
|
system chunk at the freshest end, NEVER a canon-point stamp, which
|
|
|
|
|
would read as her words). Schemaless JSON in the tag, one
|
|
|
|
|
universal invariants rule (the GM wrote it: optional, free-form
|
|
|
|
|
json GM curates, examples deliberately non-box -- clothes, grades;
|
|
|
|
|
"you may propose adding things" is her schema-evolution channel),
|
|
|
|
|
details learnt in-place (the mind-verb philosophy: the substrate
|
|
|
|
|
teaches the channel, the package teaches the vocabulary). NO
|
|
|
|
|
package gating -- the channel is universal, "optional, if given"
|
|
|
|
|
makes the invariant forward-compatible in every bundle. The build:
|
|
|
|
|
records ride GM turns (readSheet: object-ness only, 400 loud;
|
|
|
|
|
OOC turns refuse them like block edits), scanState derives
|
|
|
|
|
newest-wins whole-set (absent key drops, {} is a live empty
|
|
|
|
|
ledger -- truthy check, never falsy), the boundary note carries
|
|
|
|
|
it across stops (stopSession's head note + the dormant read
|
|
|
|
|
path), renderView appends the chunk once per assembly (one live
|
|
|
|
|
copy by construction), the guard conflicts an emitted <sheet>
|
|
|
|
|
("the GM's ledger -- propose changes in prose", the <model>
|
|
|
|
|
guard's sibling, healed in-turn cap 3), STRIP_HERS + the story
|
|
|
|
|
verbs + the table chip regex all learned 'sheet' (grep every
|
|
|
|
|
strip list after adding a tag -- the standing lesson, applied),
|
|
|
|
|
and the web: sheetEditor (the paneEditor's JSON sibling in
|
|
|
|
|
widgets.mjs -- same stage/pending/discard pattern, bad JSON
|
|
|
|
|
refuses at the stage), the third pane in the aside, the send
|
|
|
|
|
attaches body.sheet, machinery lines on table and raw
|
|
|
|
|
([sheet] {...} -- the GM's ledger). The mock's sheet-guard is
|
|
|
|
|
CUE-KEYED not position-keyed (the carried tail shifts counts; a
|
|
|
|
|
cue does not shift -- mockModel reads the view, the marked GM
|
|
|
|
|
turn gets the emission, the conflict it earns gets the heal; the
|
|
|
|
|
FIRST battery attempt hit the script's ask at count 1 because
|
|
|
|
|
session 4's log starts the script over -- the battery answers it
|
|
|
|
|
and moves on). check-reminder is sheet-aware now (the chunk is a
|
|
|
|
|
legitimate third system surface; the count and freshest-end
|
|
|
|
|
asserts tolerate exactly one). Verified: smoke ALL PASS (+15
|
|
|
|
|
sheet assertions: newest-wins, whole-set, the chunk one-live-copy
|
|
|
|
|
-- ANCHOR the chunk match with startsWith, the invariants bundle
|
|
|
|
|
itself mentions <sheet> and a bare regex matches it twice), the
|
|
|
|
|
guard conflict + heal + never-applies, view/story strips, the
|
|
|
|
|
empty ledger, the boundary note, the dormant read, session 5
|
|
|
|
|
deriving from the carried note), restart + reminder checks green,
|
|
|
|
|
typecheck green both programs, check-repo clean, browser pass
|
|
|
|
|
zero console errors (staging, pending marker, the ride, the scan
|
|
|
|
|
re-render, machinery lines). Docs: README's protocol passage
|
|
|
|
|
carries the sheet (NOT in the memory tiers table -- the GM ruled
|
|
|
|
|
it belongs in neither memories nor records; the first draft put
|
|
|
|
|
a row there and was wrong), the identity tier lost its loose
|
|
|
|
|
"character sheet" name (the term is technical now), DICTIONARY
|
|
|
|
|
gains the sheet entry with the dice-retired/sheet-arrived
|
|
|
|
|
history, ROADMAP gains the bookkeeper extension (the parked
|
|
|
|
|
arithmetic-sibling agent: staged edits, curator fallback,
|
|
|
|
|
per-package opt-in). The GM's prompt-side edits ride the same
|
|
|
|
|
round: invariants' sheet section, the reminder's inventory line,
|
|
|
|
|
la-caramba gm.md lore (the spine discussion). PARKED with the
|
|
|
|
|
GM: the box package (WIP, theirs) is the first consumer; the
|
|
|
|
|
bookkeeper agent; a live turn on a real model with a sheet.
|
|
|
|
|
- **The progress round is BUILT COMPLETE (2026-11-17, committed
|
|
|
|
|
bbaf336): the streaming provider, the refine meter, and the turn
|
the progress round: the provider streams, and the two long waits get honest meters -- the refine battery and her turn. The provider (provider.mjs): every completion now streams (vLLM SSE, probed live first: reasoning_content deltas arrive before content deltas, stream_options include_usage puts the full usage on the tail chunk) and assembles back into the one ChatResponse shape every caller already consumed -- content and reasoning in order, tool_calls stitched by index (id and name on the first fragment, arguments concatenated from shards, the assembled arguments parse), usage from the tail; a malformed data line fails loud where a skipped one would silently truncate, the log still records the assembled message whole, and an optional fifth param onProgress({phase, chars}) fires per delta as the meters' feed (ChatResponse names finish_reason, the wire shape the old typedef omitted). One cosmetic wire delta, named: streamed messages carry no provider_specific_fields (vLLM's duplicate reasoning channel plus refusal:null) -- nothing reads it. The refine meter (discovery.mjs + the home admin block): the job carries steps {total, done, label, chars} where the total is the scrape's model count plus the curator's two (thinking, writing), known the moment the scrape lands; the bar moves ONLY on real completions (GM, 2026-11-17: no step has a knowable duration, the point is meaningful feedback, not smooth fill), the label names the running call down to the effort-ladder sample, every completion lands a receipt line (elapsed seconds + the battery verdict), and the lines SURVIVE the job -- the receipt renders until the next refine (GM ruling: no reason to delete the log) and a rejected pass keeps its post-mortem; the curator's thinking step closes at the first prose delta (the streaming boundary -- why the provider went first), writing at the call's resolve, and a dead call closes both honestly; the 2s poll stays the transport (GM-ruled; SSE was rejected -- EventSource cannot send the Bearer header, and tokens in query strings are worse). The turn meter (loop.mjs + the progress route + the play view): the session carries a live progress record, one per provider call (a heal or tool round restarts it), fed by the streaming callback and cleared at every exit (the ask pause, the 422, the completing return, the failed request); GET /runs/:id/progress (owner-only, never queued) returns it plus the scale the bar guesstimates against -- the only true budget is max_tokens when the knobs set one (reasoning counts inside it, the usage arithmetic proves it; the route mirrors the loop's own param resolution at ~4 chars a token), else her own history: the longest past assistant turn in chars, thinking and prose both, the authored opening included (GM: a guesstimate, but an informed one). The 100% crossing pushes back geometrically: the scale grows by a quarter until the count fits, so the bar re-lands in the 80-100% band and climbs again, the same arithmetic every poll, never pinning (a count just under a grown bracket can still round to 100% for a moment -- named and accepted). No scale at all falls to the chunk-driven fallback: a twelve-segment strip, one lit, stepping ONLY when characters actually arrived -- never a free-running spinner, which would claim liveness the stream may not have; a stall shows as a stall. NO live partial prose in the transcript (the log is the one truth; streaming raw text would leak unpicked variants and half-formed heals onto the surface that shows them composed) -- the placeholder is a live div at the transcript foot, rebuilt when a render wipes it, sticking to bottom only when the scroller was already there, and the poll runs at 1s for turns (2s for refine). Verified: the provider live-probed against the real endpoint (prose+usage, thinking+progress transitions, a forced tool call with parseable arguments, the 403 path), a REAL refine run end to end on the GM's authorization (13 models, 541s, the meter exactly to spec with the curator's thinking ticking 4k-17k chars across polls) which also landed the effort measurements the registry was waiting for -- the deterministic re-pick is glm-5.3-max, and server.json's own pin still beats it until the op edits it -- smoke ALL PASS with the new assertions (the refine steps closed, the receipt's lines, the meter idle on a dormant run, idle-between-turns scaled by history, owner-gating; the first cut of the receipt assertion named the wrong mock tie-winner and the first cut of the dormant check clobbered a shared response variable -- both assertion bugs, the code was right), restart + reminder + repo checks green, typecheck green on both programs, and a disposable live run (created, three real turns, housekept, deleted) proving the meter in the browser with zero console errors: chars ticking, the phase flip at the streaming boundary, the scale re-anchoring to her new longest after each turn. Live findings on record: the measured effort default now rides every unset turn, and the test run's turns thought 12.1k/3.9k/6.5k chars against ~1.4k prose -- the max-observable default working as ruled, and the fresh-run decision the GM will make with the knob one click away; and the browser lesson pinned in AGENTS: the meter's DOM is invisible to a11y wait-text matching, so a whole frozen-meter scare during testing was a sampling artifact (the waits matched instantly against unrelated text) -- probe such widgets by DOM, never by wait
2026-11-17 02:21:38 +00:00
|
|
|
meter are all done and live-proven.** The GM's plan: abandon
|
|
|
|
|
Chloe, start a fresh run from the top (the huge max-effort result
|
|
|
|
|
prompted it -- her one max turn thought
|
|
|
|
|
11,371 chars, 9x her session max, with real continuity work inside;
|
|
|
|
|
the comparison is in the 2026-11-17 conversation). The provider
|
|
|
|
|
(provider.mjs chat): every completion STREAMS (vLLM SSE, verified
|
|
|
|
|
live: reasoning_content deltas then content deltas, usage rides the
|
|
|
|
|
tail chunk via stream_options include_usage) and assembles back
|
|
|
|
|
into the same ChatResponse -- callers unchanged, the log records
|
|
|
|
|
the assembled message whole, tool_calls stitch by index, malformed
|
|
|
|
|
chunks fail loud; optional 5th param onProgress({phase, chars}) is
|
|
|
|
|
the meter's feed. One wire delta: streamed messages carry no
|
|
|
|
|
provider_specific_fields (vLLM's duplicate reasoning channel +
|
|
|
|
|
refusal:null) -- nothing reads it, cosmetic on raw surfaces only.
|
|
|
|
|
The refine meter (discovery.mjs + view-home admin block): the job
|
|
|
|
|
carries steps {total, done, label, chars} -- total = models + the
|
|
|
|
|
curator's two (thinking, writing), known at scrape; the bar moves
|
|
|
|
|
ONLY on real completions (GM, 2026-11-17: no step has a knowable
|
|
|
|
|
duration, the point is meaningful feedback, not smooth fill), the
|
|
|
|
|
label names the running call down to the ladder sample, every
|
|
|
|
|
completion lands a receipt line (elapsed seconds + verdict), and
|
|
|
|
|
the lines SURVIVE the job (the receipt renders until the next
|
|
|
|
|
refine -- GM ruling: no reason to delete the log); the curator's
|
|
|
|
|
thinking step closes at the first prose delta (the streaming
|
|
|
|
|
boundary -- why the provider went first), writing at the resolve,
|
|
|
|
|
a dead call closes both; a rejected job keeps its lines for the
|
|
|
|
|
post-mortem. The 2s poll is the transport (GM-ruled fine; SSE was
|
|
|
|
|
rejected -- EventSource can't send the Bearer header). The TURN
|
|
|
|
|
meter (loop.mjs s.progress per provider call, GET /progress route
|
|
|
|
|
+ scale, view-play placeholder + 1s poll): no true max exists for
|
|
|
|
|
a turn except max_tokens when set (reasoning counts inside it --
|
|
|
|
|
usage arithmetic proves it; the route mirrors the loop's param
|
|
|
|
|
resolution, ~4 chars a token); else the scale is her own history
|
|
|
|
|
-- the longest PAST assistant turn in chars, thinking and prose
|
|
|
|
|
both, the authored opening included (GM, 2026-11-17: a guesstimate,
|
|
|
|
|
an informed one). 100%-crossing push-back is GEOMETRIC: grow the
|
|
|
|
|
scale by 1.25x until the count fits, so the bar lands anywhere in
|
|
|
|
|
(80%,100%] per bracket and re-brackets on each crossing -- it never
|
|
|
|
|
pins (a count just under a grown bracket can still round to 100%,
|
|
|
|
|
named to the GM as working as designed). No scale (draft-before-
|
|
|
|
|
opening edge) falls to a chunk-driven strip: twelve segments, one
|
|
|
|
|
lit, stepping ONLY when chars arrived -- never a free-running
|
|
|
|
|
spinner. NO live partial prose in the transcript (the log is the
|
|
|
|
|
one truth; streaming raw text would leak unpicked variants and
|
|
|
|
|
half-formed heals) -- the placeholder is a live div at the
|
|
|
|
|
transcript foot, rebuilt when a render wipes it, stick-to-bottom
|
|
|
|
|
only when the scroller was already at the bottom. The placeholder
|
|
|
|
|
(and the refine meter's spans) are INVISIBLE to a11y wait-text
|
|
|
|
|
matching -- browser-test them via evaluate DOM probes, never
|
|
|
|
|
browser.wait on their text (a whole "frozen meter" scare was this
|
|
|
|
|
artifact: the waits matched instantly against unrelated text and
|
|
|
|
|
the samples landed within the same second). Live-proven on a
|
|
|
|
|
disposable test run (f42403f0, created/played/deleted, three real
|
|
|
|
|
glm-5.3 turns at effort max, zero console errors): chars tick, the
|
|
|
|
|
phase flips thinking->writing at the streaming boundary, the scale
|
|
|
|
|
re-anchors to her new longest after each turn. The REAL refine ran
|
|
|
|
|
2026-11-17 end to end (GM-authorized): 13 models in 541s, the meter
|
|
|
|
|
behaved exactly to spec (curator thinking ticked 4k->17k chars
|
|
|
|
|
across polls), and the registry gained the effort measurements --
|
|
|
|
|
defaults now glm-5.3-max (the deterministic lex re-pick, as
|
|
|
|
|
predicted; server.json still pins glm-5.3, which BEATS the registry
|
|
|
|
|
until the op edits it).
|
|
|
|
|
Watch: the effort defaults ride unset turns now, and the 2-sample
|
|
|
|
|
ladders are noisy (glm-5.3's argmax is max=291 while high=11 --
|
|
|
|
|
within-bucket noise by design, but a fresh glm-5.3 run now sends
|
|
|
|
|
effort max where nothing rode before -- the test run's turns thought
|
|
|
|
|
12k/3.9k/6.5k chars, an order over her prose). New ids this scrape:
|
|
|
|
|
auto (standard), glm-5.3-low (off), deepseek-v4.1-flash/-max
|
|
|
|
|
(standard, 1M/256k windows)/-nothink (off); the gev family still
|
|
|
|
|
fails the tool probe (no --enable-auto-tool-choice on that backend).
|
|
|
|
|
The debug server is RUNNING with the new code (port 7350, pid in
|
|
|
|
|
the temp pid file; restarted clean after the test run's deletion --
|
|
|
|
|
runs/ holds only Chloe and Irene). Chloe's session is open-on-disk
|
|
|
|
|
(killed with the old server; the reconcile handles it at next
|
|
|
|
|
start).
|
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)
2026-11-16 23:52:58 +00:00
|
|
|
- **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: 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
2026-11-16 22:49:50 +00:00
|
|
|
- **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 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)
2026-11-16 23:52:58 +00:00
|
|
|
- **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, 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
2026-11-16 21:32:02 +00:00
|
|
|
- **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.
|
2026-11-14 20:01:15 +00:00
|
|
|
- **The multiuser server is built and mock-proven (2026-11-14).**
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
Design: ROADMAP "The multiuser server" + DECISIONS #22-31 (all
|
2026-11-14 20:01:15 +00:00
|
|
|
resolved). Identity = bearer token, no usernames/passwords/IDPs;
|
|
|
|
|
invites single-use with a permanent spent record; bootstrap invite
|
|
|
|
|
auto-mints on fresh deployment to state/bootstrap-invite.txt; op
|
|
|
|
|
mints/revokes invites and users; revocation destroys identity (new
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
invite = new person). Ownership is RESOLVED, never maintained --
|
2026-11-14 20:01:15 +00:00
|
|
|
run.json keeps dead owner ids, the API reads them as ownerless (GM
|
|
|
|
|
overruled my file-sweep; resolution won). Fork = atomic copy, owner
|
|
|
|
|
replaced, `forked: unixtime` stamped, no lineage. Packages split
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
system (repo) / user (state/packages, published). Reads: the story
|
|
|
|
|
is the one public surface (any signed-in user, fork button on it);
|
|
|
|
|
the table, raw session, carryover, files, status, and gm.md are
|
|
|
|
|
owner-only (the story-only ruling, 2026-11-15 -- #28's human-side
|
|
|
|
|
open read overturned with it; the model boundary stands, gm.md is
|
|
|
|
|
never model-facing). Dates/times always UTC -- house rule. Model
|
|
|
|
|
selection:
|
2026-11-14 21:15:32 +00:00
|
|
|
per-run `models: {player, housekeeper}` over server.json defaults
|
|
|
|
|
(#16 narrowed to the default choice only). Signing in is permanent
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
and per-browser -- no sign-out (lifecycle is a ROADMAP extension
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
point). The agenda (DECISIONS #32): the player's second block, `<add>`/
|
2026-11-14 21:15:32 +00:00
|
|
|
`<drop>` deltas, cap-5 recency queue; Irene's events journal
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
migrated (CHECK widened) -- her db is agenda-ready. The per-turn
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
reminder (DECISIONS #34, steal #11 done): reminder.md is repo-shared,
|
2026-11-14 22:00:04 +00:00
|
|
|
rides after every GM turn as its own system chunk, one live copy
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
(older elide); its CONTENT is the GM's -- my draft is a proposal,
|
2026-11-14 22:00:04 +00:00
|
|
|
the handbook duplicate-cut is their red pen.
|
2026-11-13 23:40:33 +00:00
|
|
|
- Substrate design round complete (2026-11-13); rulings live in ROADMAP
|
|
|
|
|
("The harness") and HANDOFF. Bridge retired before ever going live;
|
|
|
|
|
REST + SPA is the MVP; runs are per-deployment instances copied from
|
jsdoc typing round, phases 1-2: tsc as a no-emit checker over plain mjs (checkJs, strict), the shared shapes in server/shapes.mjs (log events as a tagged union, wire messages, manifests, job state, the ctx), all 12 server modules annotated; requireOwner/requireSuperuser as JSDoc assertion functions so the router guarantee narrows without callsite churn; runtime stays zero-dependency (typescript + @types/node as pinned devDeps, node_modules gitignored, QUESTIONS #4 amended: dev tooling exempt); every non-annotation delta audited onto a small intended list (clerk status ?? 1, dead 401 guards, async wraps on enqueue callsites); smoke 105/105 + restart + repo checks green; the clerk and web/ are the next phases
2026-11-15 15:28:56 +00:00
|
|
|
packages at creation; zero-dependency runtime (dev tooling exempt,
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
DECISIONS #4 amended 2026-11-15: typescript rides devDependencies,
|
jsdoc typing round, phases 1-2: tsc as a no-emit checker over plain mjs (checkJs, strict), the shared shapes in server/shapes.mjs (log events as a tagged union, wire messages, manifests, job state, the ctx), all 12 server modules annotated; requireOwner/requireSuperuser as JSDoc assertion functions so the router guarantee narrows without callsite churn; runtime stays zero-dependency (typescript + @types/node as pinned devDeps, node_modules gitignored, QUESTIONS #4 amended: dev tooling exempt); every non-annotation delta audited onto a small intended list (clerk status ?? 1, dead 401 guards, async wraps on enqueue callsites); smoke 105/105 + restart + repo checks green; the clerk and web/ are the next phases
2026-11-15 15:28:56 +00:00
|
|
|
nothing imports it). Doc set updated to match.
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
- Build order: ALL FOUR PHASES DONE (2026-11-13/14) -- clerk paper
|
2026-11-14 03:15:53 +00:00
|
|
|
migration, preset/run split, prompt split, server, housekeeping
|
|
|
|
|
job, SPA. The MVP substrate is complete and live-proven end to end
|
|
|
|
|
(two real wraps, one full UI-driven session). Remaining roadmap
|
|
|
|
|
surface is the "Later" list (turn surgery, memory browser, context
|
|
|
|
|
inspector, book export, service step) plus whatever the first real
|
|
|
|
|
story surfaces.
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
Server entry: `node server/main.mjs [--mock] [--debug]` (--debug:
|
|
|
|
|
every request is a fixed superuser, the users db bypassed, no
|
|
|
|
|
invite dance, loopback-bound regardless of config -- testing
|
|
|
|
|
only); SPA at
|
2026-11-14 03:15:53 +00:00
|
|
|
http://127.0.0.1:7350/; POST bodies from PowerShell need
|
|
|
|
|
Invoke-RestMethod (curl.exe mangles quotes); background start/stop
|
|
|
|
|
via Start-Process -PassThru with a PID file in $env:TEMP.
|
|
|
|
|
- Gotcha (2026-11-14): before starting the server, check
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
`Get-NetTCPConnection -LocalPort 7350` -- a forgotten instance holds
|
2026-11-14 03:15:53 +00:00
|
|
|
the port and silently answers with OLD code while the new one dies
|
|
|
|
|
on bind (bit me once; two accidental live turns resulted).
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
- Gotcha (2026-11-14, GM): **never call browser.screenshot** -- the
|
2026-11-14 03:15:53 +00:00
|
|
|
image return breaks the session (glm-5.3 is not multimodal; the GM
|
|
|
|
|
had to rewind once). Verify UI text-safely: browser.snapshot
|
|
|
|
|
(accessibility tree), browser.console, browser.network. If real
|
|
|
|
|
vision is ever needed, the endpoint carries multimodal
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
deepseek-v4.1 -- but prefer never needing it.
|
2026-11-14 03:15:53 +00:00
|
|
|
- Gotcha (2026-11-14, GM): **no JS alert()/confirm()/prompt() in the
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
SPA** -- they block the embedded browser pane (the GM sat locked out
|
2026-11-14 03:15:53 +00:00
|
|
|
of their input once while a test confirm hung on my dialog-tool
|
|
|
|
|
fumbling). In-page UI only: the banner for notices, two-click arm
|
|
|
|
|
for confirms.
|
2026-11-14 09:04:13 +00:00
|
|
|
- Browser-tool gotchas (2026-11-14, UI testing): evaluate takes a raw
|
|
|
|
|
expression, not an arrow function (an arrow returns the function
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
uninvoked -- its .value serializes to {} and silently corrupts
|
|
|
|
|
whatever you build from it); wait's text matches RENDERED text
|
|
|
|
|
(moot for letter case since the all-caps CSS ban, 2026-11-15 --
|
|
|
|
|
waits match source text now) and PLACEHOLDERS never match a wait at
|
|
|
|
|
all (probe the
|
2026-11-14 23:48:27 +00:00
|
|
|
textarea via evaluate instead); clickable divs are invisible to the
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
a11y tree and the keyboard -- clickable things are buttons. Added
|
2026-11-18 17:24:37 +00:00
|
|
|
2026-11-18 (rewind round): the harness renamed evaluate's param --
|
|
|
|
|
it is `script` now, not `expression` (a wrong name fails with
|
|
|
|
|
"Missing key", and search() inside execute gives the true
|
|
|
|
|
signature); evaluate RETURNS {tab, value} -- use .value or you
|
|
|
|
|
build on the wrapper. And a wait's text match is no settlement
|
|
|
|
|
proof mid-action: waiting on a word that lives on a BUTTON label
|
|
|
|
|
("rewind") matches instantly while the send is still in flight and
|
|
|
|
|
the mid-flight DOM looks like failure -- probe the settled state
|
|
|
|
|
via evaluate on a later tick instead. Added
|
2026-11-14 23:48:27 +00:00
|
|
|
2026-11-14 (multiuser round): the a11y snapshot races async renders
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
-- waiting for static skeleton text ("RUNS", the aside headings)
|
2026-11-14 23:48:27 +00:00
|
|
|
snapshots BEFORE the fetches land and looks like a rendering bug;
|
|
|
|
|
wait for text that only exists post-render (a card name, the
|
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
2026-11-16 21:32:02 +00:00
|
|
|
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.
|
2026-11-14 20:01:15 +00:00
|
|
|
- Test-state discipline (2026-11-14): the deployment's state/ is real
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
-- never leave test users or invites in it. Smoke against --mock,
|
2026-11-14 20:01:15 +00:00
|
|
|
then Remove-Item state/ and every test run (all but the GM's real
|
|
|
|
|
ones) before calling it done. A stale bootstrap file is harmless
|
|
|
|
|
(dead once a superuser exists), but test users make the deployment
|
|
|
|
|
NOT fresh and block the real bootstrap.
|
2026-11-14 23:48:27 +00:00
|
|
|
- Naming gotcha (2026-11-14, SPA round): static files under web/ must
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
not have names starting with "api" -- the server's route guard
|
2026-11-14 23:48:27 +00:00
|
|
|
matches the /api PREFIX, so web/api.mjs 404'd as a bogus API route
|
|
|
|
|
and the app died at module load with an empty <main>. The REST
|
|
|
|
|
client module is client.mjs. Any future web file name gets this
|
|
|
|
|
check.
|
2026-11-14 03:15:53 +00:00
|
|
|
- Gotcha (2026-11-14, rewind aftermath): a session rewind erases my
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
memory of tool calls but NOT their effects -- the server, files, and
|
2026-11-14 03:15:53 +00:00
|
|
|
databases keep them. After any rewind, external state is the truth:
|
|
|
|
|
re-read it, and never assume authorship of found content (I once
|
|
|
|
|
credited the GM with a GM-turn that pre-rewind me had written).
|
2026-11-14 23:48:27 +00:00
|
|
|
- Open tails (handoff, 2026-11-14, evening): **housekeeper.md review
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
is still the next creative step** -- the GM's dry-run verdict was
|
2026-11-14 23:48:27 +00:00
|
|
|
"works, but not as expected; I never saw the prompt"; iterate with
|
|
|
|
|
the replay button (nothing applied). **Status discipline: RESOLVED**
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
by the agenda (DECISIONS #32/#33). **Verbosity**: completions
|
2026-11-14 23:48:27 +00:00
|
|
|
lengthened 103 -> 668 chars across session one; the per-turn reminder
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
is the countermeasure now built -- the next live session is the test.
|
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
2026-11-16 22:49:50 +00:00
|
|
|
**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.
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
**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
|
|
|
|
|
just-closed session; the replay default never needed to move.
|
jsdoc typing round, phases 3-4: the clerk (tool/memory.mjs) and the SPA (web/) typed under strict -- row shapes local to their owners (the clerk's five tables in its header; the SPA's response envelopes in the new web/shapes.mjs, the server's shared shapes imported at their use sites: User, LogEvent, JobState, HttpError); the db boundary cast at every .get()/.all(), fail as @returns {never} so guard-narrowing works; web via a second tsconfig (tsconfig.web.json: DOM libs in their own program, node types riding along because shapes.mjs's Provider typedef pulls provider.mjs in), npm run typecheck runs both; every non-annotation delta audited onto a small intended list (COUNT(*) Number() wraps, impossible-path guards, ?? ''/?? undefined null-absorbers, the RewordOp reason fix -- the validator demands it, the reminder-find naming its tag); smoke 110/110 + restart + reminder + repo checks + a zero-console-error browser pass green; the typing round is complete
2026-11-15 19:57:07 +00:00
|
|
|
- Active work: the JSDoc typing round is COMPLETE (2026-11-15,
|
|
|
|
|
evening) -- all four phases. Phases 1-2 (the server core) are
|
|
|
|
|
committed (`f81b188`); phases 3 (the clerk) and 4 (web/, via the
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
second tsconfig) are committed (`8d4a6b9`) -- typecheck
|
jsdoc typing round, phases 3-4: the clerk (tool/memory.mjs) and the SPA (web/) typed under strict -- row shapes local to their owners (the clerk's five tables in its header; the SPA's response envelopes in the new web/shapes.mjs, the server's shared shapes imported at their use sites: User, LogEvent, JobState, HttpError); the db boundary cast at every .get()/.all(), fail as @returns {never} so guard-narrowing works; web via a second tsconfig (tsconfig.web.json: DOM libs in their own program, node types riding along because shapes.mjs's Provider typedef pulls provider.mjs in), npm run typecheck runs both; every non-annotation delta audited onto a small intended list (COUNT(*) Number() wraps, impossible-path guards, ?? ''/?? undefined null-absorbers, the RewordOp reason fix -- the validator demands it, the reminder-find naming its tag); smoke 110/110 + restart + reminder + repo checks + a zero-console-error browser pass green; the typing round is complete
2026-11-15 19:57:07 +00:00
|
|
|
green on both programs, smoke 110/110, restart-check on a genuine
|
|
|
|
|
restart, check-reminder, check-repo, and a full zero-console-error
|
|
|
|
|
browser pass over the SPA; test state cleaned. The audit lists of
|
|
|
|
|
non-annotation deltas live in HANDOFF ("Where we are"). Working
|
|
|
|
|
lessons from the rounds: in checkJs a JSDoc typedef sharing a
|
|
|
|
|
name with a runtime import conflicts (TS2440) -- the import
|
|
|
|
|
already carries the type, just use the imported name in
|
|
|
|
|
annotations; the any/null and DOM-timer lessons live in the type
|
|
|
|
|
gate bullet above. The earlier rounds (entity, variant,
|
|
|
|
|
dormant-session rework, Irene hand-migration) are all committed
|
|
|
|
|
and live in the git log; the next operational steps remain the
|
|
|
|
|
op's one-time first start under multiuser (HANDOFF step 1), then
|
|
|
|
|
the first real housekeeping pass (step 2). Plan of record:
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
HANDOFF ("The dormant-session rework"); status: HANDOFF ("Where we
|
|
|
|
|
are"). En-route fix flagged to the GM: the roll retirement had
|
|
|
|
|
missed bundle.mjs's tool list;
|
|
|
|
|
removed. Working lessons from the build: the mock model's script
|
|
|
|
|
keys on assistant replies counted CUMULATIVELY across the log
|
|
|
|
|
(gated: turns before the first exchange don't count; the conflict
|
|
|
|
|
heal is a reply like any other) -- the first build reset the count
|
|
|
|
|
on every GM turn, so every direct reply landed on script position 0;
|
|
|
|
|
a carried history shifts a session's first script position, and the
|
|
|
|
|
smoke knows the exact tail (a hand-driven browser run with a
|
|
|
|
|
different tail lands elsewhere in the script -- that is the script,
|
|
|
|
|
not a bug). The clerk's --json now means stdout is JSON only
|
|
|
|
|
(renderAll used to print view paths under --json; create started
|
|
|
|
|
applying memory.json in-process and the route's JSON.parse choked);
|
|
|
|
|
every server->clerk spawn passes --quiet. The lint
|
|
|
|
|
(check-repo) reads the git INDEX, so a renamed tracked file must be
|
|
|
|
|
staged or the lint dies on the ghost; the README layout section
|
|
|
|
|
lives inside a code fence with its own deeper indent -- byte-dump,
|
|
|
|
|
the read display lies about depth there too. Deferred to ROADMAP:
|
gm-input expansion built from the roadmap (DECISIONS #9's strictness ruling): the GM's line and ask answers expand at ingestion -- @PC/@Package and $vars resolve before the log, an unresolved token refuses the turn with a 400 naming it and nothing appended; the log records the expanded line, keeping continuation carryovers expansion-free by construction; smoke +4 (the $Bogus refusal, the log provably unchanged, a live sigil turn, the expanded line in the log) -- 115/115 all pass; the GM input gains a highlight overlay (the setup editor's stack pattern transplanted): *italics* render italic, **bold** renders bold, @PC/@Package gold, $vars green, every character kept on screen (the asterisks too) so the caret never desyncs, bold/italics matched per-line like the transcript renderer; the box rekeys -- Enter is a plain newline, Ctrl+Space sends, placeholder updated; and a pre-existing bug the live pass caught: failed-action banners were wiped by the render() that follows every action (the runGone trap) -- sendTurn, sendAnswer, and startRun now set the banner after the render; browser-proven end to end: tokens highlight in place, Enter newlines, the refusal loop shows the banner and restores the line un-eaten and still highlighted, the sigil expands in the log, zero console errors; the roadmap item struck as built, DECISIONS #9 amended to same-day-built, README's substitution paragraph and AGENTS' identity-model bullet carry the live-input rule; typecheck green on both programs, check-repo clean
2026-11-15 23:45:15 +00:00
|
|
|
save-as-package beyond drafts, the carryover
|
2026-11-15 14:46:00 +00:00
|
|
|
editor. The lint's blind side (bitten 2026-11-15, commit round): it
|
|
|
|
|
reads the git INDEX, so UNTRACKED files are invisible to it -- "ALL
|
|
|
|
|
CLEAN" before a commit does not cover never-staged files, and the
|
|
|
|
|
moment git add -A runs they enter scope (variants.mjs shipped
|
|
|
|
|
em-dashes through three green lint runs that way). Lint again after
|
|
|
|
|
staging. The checker exempts its own source from the rules that
|
|
|
|
|
name what they ban (text-transform, toLocale -- the patterns
|
|
|
|
|
themselves). The variant round: roll
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
retired as a model tool, chance in play is variant literature
|
|
|
|
|
(four ruled turn shapes), the loop picks one candidate at random
|
|
|
|
|
on reception (crypto, pre-append strict parse, 422 on malformed),
|
|
|
|
|
the pick note is the metric, every model-facing surface renders
|
|
|
|
|
the picked variant only, thinking never crosses the story wire,
|
|
|
|
|
boot resolves a crash between message and pick note. The entity
|
|
|
|
|
round: /story = the whole deliverable (literature only, all
|
|
|
|
|
sessions, no doubles -- the reading surface the observables
|
|
|
|
|
promised); /table = the play view's session projection (the
|
|
|
|
|
renamed old /story); the carry = the slidwin (contiguous
|
|
|
|
|
raw tail, whole exchanges, smart cutoff counting only prose the
|
|
|
|
|
model sees vs 96KB; the housekeeper reads session-minus-tail, so
|
|
|
|
|
an event files exactly when it drops out of the carry; the
|
|
|
|
|
boundary is invisible to the model, dimmed behind a divider for
|
|
|
|
|
the GM). Working lessons: a scripted mock keys its branches on
|
|
|
|
|
the count of assistant MESSAGES, not turns (the roll->variants
|
|
|
|
|
renumber bit once); README layout lines wrap at 17 spaces of
|
|
|
|
|
indent for continuations -- byte-dump before editing, the read
|
|
|
|
|
display lies about depth. Smoke 79/79, restart + reminder +
|
|
|
|
|
repo checks green. Unexercised live: the pick, the carry at a
|
|
|
|
|
real session boundary, the story as reading surface, coin-flip
|
|
|
|
|
personality. (Prior rounds, committed: SPA module refactor +
|
|
|
|
|
terminology through c51d310; multiuser + agenda + reminder through
|
|
|
|
|
89a2c16 -- abf8ef3 is its dead pre-amend twin.)
|
|
|
|
|
- Format house rules, same sitting (2026-11-15, GM, from their
|
|
|
|
|
operator's queue): ASCII bytes in every tracked file (the ENCODING
|
|
|
|
|
is the problem, never the visual -- rendered glyphs travel
|
|
|
|
|
ASCII-safe: the middle dot is \u00b7 in JS strings, entities in
|
|
|
|
|
HTML; em dash is --, ellipsis is ...) and no text-mutating CSS:
|
|
|
|
|
rendered text must match authored text (no text-transform, no
|
|
|
|
|
generated content: incl. ::before/::after, no caps font variants --
|
|
|
|
|
inline styles included). Both enforced by
|
|
|
|
|
test/check-repo.mjs; the repo swept clean (43 files), style.css
|
|
|
|
|
de-capped (source-case labels now -- waits match source text), the
|
|
|
|
|
setup editor's dirty marker authored into the DOM. The audit pass
|
|
|
|
|
(same day, GM-ordered) grew the check to NINE rules -- read its
|
|
|
|
|
header for the list; the found-and-fixed: four html comments in
|
|
|
|
|
prose files (la-caramba's backdrop rode one into every bundle),
|
|
|
|
|
README's "256K-class window", ROADMAP's "rides the prelude". The
|
|
|
|
|
lint's carve-outs are rulings, not sloppiness: historical records
|
|
|
|
|
keep their day's words, gm.md is GM-private, contwin glosses may
|
|
|
|
|
name the context window, and the clerk's paper->status migration
|
|
|
|
|
code is the ruled one-time
|
|
|
|
|
exception (which is why the term check scopes to living prose, not
|
|
|
|
|
code).
|
|
|
|
|
gm.md note: the sweep once touched packages/boutique/gm.md's
|
|
|
|
|
typography; moot since the GM emptied the package.
|
|
|
|
|
- Working lessons (prior builds): the newest GM
|
2026-11-14 23:48:27 +00:00
|
|
|
turn must keep its <status>/<agenda> blocks (that ride is the
|
|
|
|
|
status/agenda blocks' only channel from session two on); any new path that reads a
|
|
|
|
|
run file for sending goes through expandVars (turn0() initially
|
|
|
|
|
didn't); the transcript must surface failed session-open notes
|
|
|
|
|
(ingest), not print success unconditionally; after changing a
|
|
|
|
|
default, re-run the primary path (the start button broke for the GM
|
|
|
|
|
because post-redesign tests never pressed it); ownership is resolved
|
|
|
|
|
against the users table, never swept on disk; same-verb delta blocks
|
|
|
|
|
combine into one apply, never execute in sequence. Rename-mechanics
|
|
|
|
|
lesson (2026-11-14): scripted renames with split/join replace EVERY
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
occurrence -- renaming the clerk's `paper` case to `status` and then
|
2026-11-14 23:48:27 +00:00
|
|
|
`status` to `report` ate both, leaving no `status` dispatch; the
|
|
|
|
|
smoke caught it on the next run. Order rename pairs so a new name
|
|
|
|
|
is never a later pair's old name, and grep dispatch tables after.
|
|
|
|
|
CLI note: the run summary is `report` now; `status` is the tier
|
|
|
|
|
verb.
|
2026-11-14 09:04:13 +00:00
|
|
|
- Postulates (GM, 2026-11-14): female PCs only (names are gendered;
|
the progress round: the provider streams, and the two long waits get honest meters -- the refine battery and her turn. The provider (provider.mjs): every completion now streams (vLLM SSE, probed live first: reasoning_content deltas arrive before content deltas, stream_options include_usage puts the full usage on the tail chunk) and assembles back into the one ChatResponse shape every caller already consumed -- content and reasoning in order, tool_calls stitched by index (id and name on the first fragment, arguments concatenated from shards, the assembled arguments parse), usage from the tail; a malformed data line fails loud where a skipped one would silently truncate, the log still records the assembled message whole, and an optional fifth param onProgress({phase, chars}) fires per delta as the meters' feed (ChatResponse names finish_reason, the wire shape the old typedef omitted). One cosmetic wire delta, named: streamed messages carry no provider_specific_fields (vLLM's duplicate reasoning channel plus refusal:null) -- nothing reads it. The refine meter (discovery.mjs + the home admin block): the job carries steps {total, done, label, chars} where the total is the scrape's model count plus the curator's two (thinking, writing), known the moment the scrape lands; the bar moves ONLY on real completions (GM, 2026-11-17: no step has a knowable duration, the point is meaningful feedback, not smooth fill), the label names the running call down to the effort-ladder sample, every completion lands a receipt line (elapsed seconds + the battery verdict), and the lines SURVIVE the job -- the receipt renders until the next refine (GM ruling: no reason to delete the log) and a rejected pass keeps its post-mortem; the curator's thinking step closes at the first prose delta (the streaming boundary -- why the provider went first), writing at the call's resolve, and a dead call closes both honestly; the 2s poll stays the transport (GM-ruled; SSE was rejected -- EventSource cannot send the Bearer header, and tokens in query strings are worse). The turn meter (loop.mjs + the progress route + the play view): the session carries a live progress record, one per provider call (a heal or tool round restarts it), fed by the streaming callback and cleared at every exit (the ask pause, the 422, the completing return, the failed request); GET /runs/:id/progress (owner-only, never queued) returns it plus the scale the bar guesstimates against -- the only true budget is max_tokens when the knobs set one (reasoning counts inside it, the usage arithmetic proves it; the route mirrors the loop's own param resolution at ~4 chars a token), else her own history: the longest past assistant turn in chars, thinking and prose both, the authored opening included (GM: a guesstimate, but an informed one). The 100% crossing pushes back geometrically: the scale grows by a quarter until the count fits, so the bar re-lands in the 80-100% band and climbs again, the same arithmetic every poll, never pinning (a count just under a grown bracket can still round to 100% for a moment -- named and accepted). No scale at all falls to the chunk-driven fallback: a twelve-segment strip, one lit, stepping ONLY when characters actually arrived -- never a free-running spinner, which would claim liveness the stream may not have; a stall shows as a stall. NO live partial prose in the transcript (the log is the one truth; streaming raw text would leak unpicked variants and half-formed heals onto the surface that shows them composed) -- the placeholder is a live div at the transcript foot, rebuilt when a render wipes it, sticking to bottom only when the scroller was already there, and the poll runs at 1s for turns (2s for refine). Verified: the provider live-probed against the real endpoint (prose+usage, thinking+progress transitions, a forced tool call with parseable arguments, the 403 path), a REAL refine run end to end on the GM's authorization (13 models, 541s, the meter exactly to spec with the curator's thinking ticking 4k-17k chars across polls) which also landed the effort measurements the registry was waiting for -- the deterministic re-pick is glm-5.3-max, and server.json's own pin still beats it until the op edits it -- smoke ALL PASS with the new assertions (the refine steps closed, the receipt's lines, the meter idle on a dormant run, idle-between-turns scaled by history, owner-gating; the first cut of the receipt assertion named the wrong mock tie-winner and the first cut of the dormant check clobbered a shared response variable -- both assertion bugs, the code was right), restart + reminder + repo checks green, typecheck green on both programs, and a disposable live run (created, three real turns, housekept, deleted) proving the meter in the browser with zero console errors: chars ticking, the phase flip at the streaming boundary, the scale re-anchoring to her new longest after each turn. Live findings on record: the measured effort default now rides every unset turn, and the test run's turns thought 12.1k/3.9k/6.5k chars against ~1.4k prose -- the max-observable default working as ruled, and the fresh-run decision the GM will make with the knob one click away; and the browser lesson pinned in AGENTS: the meter's DOM is invisible to a11y wait-text matching, so a whole frozen-meter scare during testing was a sampling artifact (the waits matched instantly against unrelated text) -- probe such widgets by DOM, never by wait
2026-11-17 02:21:38 +00:00
|
|
|
DECISIONS #2 closed by it). packages/detention is GM WIP (2026-11-17):
|
|
|
|
|
never commit it, never edit it unprompted -- it goes in when they say.
|
|
|
|
|
Boutique: the GM emptied it wholesale
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
(2026-11-15 -- it kept being a noisy problem); placeholder files
|
|
|
|
|
only, no content anywhere. Still do not fix or design it
|
|
|
|
|
unprompted -- its design round is where content returns. The
|
|
|
|
|
skip-it carve-outs are retired with the content: the lint covers
|
|
|
|
|
packages/ like any living prose, and the clerk's completeness
|
|
|
|
|
check now requires non-empty files (an emptied package lists
|
|
|
|
|
honestly as MISSING, never "ok").
|
2026-11-14 09:04:13 +00:00
|
|
|
- Identity model (2026-11-14): @PC/@Package are identity sigils
|
|
|
|
|
(settings pc/name); $TOKENs are prompt-declared template vars
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
(setup inputs -> settings vars). Run ids are anonymous hex --
|
2026-11-14 09:04:13 +00:00
|
|
|
display is always "Package / PC". Any new prompt-side file reader
|
gm-input expansion built from the roadmap (DECISIONS #9's strictness ruling): the GM's line and ask answers expand at ingestion -- @PC/@Package and $vars resolve before the log, an unresolved token refuses the turn with a 400 naming it and nothing appended; the log records the expanded line, keeping continuation carryovers expansion-free by construction; smoke +4 (the $Bogus refusal, the log provably unchanged, a live sigil turn, the expanded line in the log) -- 115/115 all pass; the GM input gains a highlight overlay (the setup editor's stack pattern transplanted): *italics* render italic, **bold** renders bold, @PC/@Package gold, $vars green, every character kept on screen (the asterisks too) so the caret never desyncs, bold/italics matched per-line like the transcript renderer; the box rekeys -- Enter is a plain newline, Ctrl+Space sends, placeholder updated; and a pre-existing bug the live pass caught: failed-action banners were wiped by the render() that follows every action (the runGone trap) -- sendTurn, sendAnswer, and startRun now set the banner after the render; browser-proven end to end: tokens highlight in place, Enter newlines, the refusal loop shows the banner and restores the line un-eaten and still highlighted, the sigil expands in the log, zero console errors; the roadmap item struck as built, DECISIONS #9 amended to same-day-built, README's substitution paragraph and AGENTS' identity-model bullet carry the live-input rule; typecheck green on both programs, check-repo clean
2026-11-15 23:45:15 +00:00
|
|
|
goes through expandVars. GM input expands at ingestion too
|
|
|
|
|
(2026-11-15, DECISIONS #9: strict everywhere, a refused line hands
|
|
|
|
|
back un-eaten, the log records the expanded line -- continuation
|
|
|
|
|
carryovers stay expansion-free forever).
|
2026-11-14 09:04:13 +00:00
|
|
|
- Exposure rule (GM, 2026-11-14): everything that enters the bundle
|
|
|
|
|
is inspectable read-only in the SPA (system.md, invariants.md, the
|
|
|
|
|
assembled system message in the bundle card); anything that prompts
|
|
|
|
|
an internal agent (housekeeper.md) is never exposed. Don't hide
|
|
|
|
|
bundle parts, don't surface agent prompts.
|
|
|
|
|
- Dates principle (revised 2026-11-14, GM): **no model-facing surface
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
renders a date** -- ring views, search results, everything the
|
2026-11-14 09:04:13 +00:00
|
|
|
player-model sees. Memory doesn't timestamp; when something happened
|
|
|
|
|
lives in the entry prose. Internal stamps (created/last_touched) are
|
|
|
|
|
real, mechanical (LRU/overflow/sinking), never rendered; GM-facing
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
CLI keeps them. The manifest and seed carry no date keys at all --
|
2026-11-14 09:04:13 +00:00
|
|
|
the housekeeper's date duty is gone (it couldn't ask, and the touch
|
|
|
|
|
stamp was rewriting story time). Supersedes the story-date ruling
|
|
|
|
|
below.
|
2026-11-14 03:15:53 +00:00
|
|
|
- Watch: the "never open with world narration" rule was cut as
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
superfluous by the GM -- reinstate only if testing shows drift.
|
the prompt-craft round: the reminder rewritten around the one-action turn shape -- zero or one action, thoughts and dialogue as bounded speech ("end speech when the story would read better with GM's prose after yours"), impulsive or irrational acting marked in prose, and the restraint line (check what is actually limited: handcuffs allow holding small things) aimed at the calibration opening; the handbook gains "what makes the story better" (four pointers kept lean after three rescinded -- the survivors are all executable from her seat, the cut three needed world-authority), the reader-insight grammar fix, and Flavourful settled British to match the file; la-caramba gains Rationale sections -- backdrop (the world kept small to limit scope and focus) and character (restraints as the structural limitation, the rest downstream); README observable #14 stands as written (GM: the turn is one thing, the new shape is the structure OF the thing); Irene retired to calibration (GM, 2026-11-15) -- never continued, hands off, her frozen session-1 bundle an artifact, the new run carries the memory test and the first real housekeeping pass, and the hand-stamp becomes her calibration access (story-only reads make an ownerless run unreadable past its story) and can wait; the handbook's point-of-order example keeps its unclosed paren by ruling (players write OOC that way, the closing-paren-optional substrate rule is the support); operator queue items struck as answered
2026-11-15 23:17:29 +00:00
|
|
|
- README observable #14 reads correctly as-is (GM, 2026-11-15): a
|
|
|
|
|
turn is one thing -- the reminder's zero-or-one-action plus
|
|
|
|
|
bounded speech is the structure OF the thing, not a looser count.
|
|
|
|
|
Don't re-flag the wording.
|
2026-11-14 23:48:27 +00:00
|
|
|
- Defaults taken without asking (2026-11-13): #21 session-open refuses
|
2026-11-13 23:40:33 +00:00
|
|
|
over an unhousekept session with explicit override; #16 housekeeper
|
|
|
|
|
defaults to the player's model; #10 tool-call pairing validation goes
|
|
|
|
|
into the server loop.
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
- Open decisions live in QUESTIONS.md -- read it first; the resolved
|
|
|
|
|
record is DECISIONS.md (the old queue, kept by number). QUESTIONS is
|
gm-input expansion built from the roadmap (DECISIONS #9's strictness ruling): the GM's line and ask answers expand at ingestion -- @PC/@Package and $vars resolve before the log, an unresolved token refuses the turn with a 400 naming it and nothing appended; the log records the expanded line, keeping continuation carryovers expansion-free by construction; smoke +4 (the $Bogus refusal, the log provably unchanged, a live sigil turn, the expanded line in the log) -- 115/115 all pass; the GM input gains a highlight overlay (the setup editor's stack pattern transplanted): *italics* render italic, **bold** renders bold, @PC/@Package gold, $vars green, every character kept on screen (the asterisks too) so the caret never desyncs, bold/italics matched per-line like the transcript renderer; the box rekeys -- Enter is a plain newline, Ctrl+Space sends, placeholder updated; and a pre-existing bug the live pass caught: failed-action banners were wiped by the render() that follows every action (the runGone trap) -- sendTurn, sendAnswer, and startRun now set the banner after the render; browser-proven end to end: tokens highlight in place, Enter newlines, the refusal loop shows the banner and restores the line un-eaten and still highlighted, the sigil expands in the log, zero console errors; the roadmap item struck as built, DECISIONS #9 amended to same-day-built, README's substitution paragraph and AGENTS' identity-model bullet carry the live-input rule; typecheck green on both programs, check-repo clean
2026-11-15 23:45:15 +00:00
|
|
|
open items only now (2026-11-15 split). Remaining: #16 (which model
|
|
|
|
|
the housekeeper defaults to), #19c
|
the access round: spectator mode removed and reads made story-only -- the table, raw session, carryover, files, status, and the notepad are owner-only; the story is the one public read (any signed-in user, fork button on it that copies the run that made the story, never the view); #28's human-side open read overturned with the ruling, gm.md stays never model-facing; non-owners land in the story view (play/setup redirect on the 403, home cards link there directly), the story view names its owner and stands alone on the story response, which now carries display/owner/ownerName; the table gains a raw tab -- the whole log as it rode the wire (thinking, every variant block, every reminder copy, full tool results, rides inline) next to the curated projection, live sessions only, sticky across turn re-renders; --debug mode for easy testing: every request is a fixed superuser that bypasses the users db entirely, no invite dance, loopback-bound regardless of config (found live: the SPA boot only asked the server who it was when a token existed, so tokenless browsers never learned they were the debug user -- boot now always asks); lint rule 10: no laptop-visible facts anywhere and all commits always from Mute -- the username and home paths are derived at runtime so the checker never contains them, scanned over the tracked tree, every historical blob, and commit messages, identity enforced on author and committer on every ref plus git config; the queue split: resolved questions relocated to DECISIONS.md verbatim by number (day's words kept, reversals annotate never rewrite, the agenda/reminder trio gets its own section), QUESTIONS is open items only (stale OPENs resolved on the way: #10 by the 2026-11-13 pairing default, #11 by the raw tab); smoke reworked to the story-only battery -- ash 403s on every run surface, 200 on the story alone, the ownerless-run check rides the runs list; all twelve QUESTIONS-number citations re-pointed at DECISIONS; smoke ALL PASS in a worktree (111 checks), two-user browser pass (the non-owner's whole run surface is a 403 detail and a 200 story, back-to-table hidden, owner views intact), raw-tab browser pass (curated table leak-free, raw shows the whole variants block, tabs vanish on dormancy), typecheck green on both programs, check-repo clean
2026-11-15 22:37:06 +00:00
|
|
|
(seed voice, GM may revisit -- non-blocking), and the turn-surgery
|
|
|
|
|
build details.
|
2026-11-13 05:16:31 +00:00
|
|
|
- The tree is usually dirty by design; git status is not an alarm.
|
2026-11-13 23:40:33 +00:00
|
|
|
- Edit-tool lesson repeated (2026-11-13): nested-list indentation in
|
variant round: roll retired, chance is variant literature (strict parse, crypto pick on reception, picked-only rendering, /story variance metric); entity round: /story the whole deliverable, /table the play projection, the slidwin carry (smart contwin cutoff, whole exchanges, housekeeper reads session-minus-tail); dormant-session rework: universal session lifecycle (dormant->live->finished, sessions/<n> storage), move-at-stop, start lint + auto-send rule, rebaseable housekeeping, turn-0 -> carryover.jsonl, seed -> memory.json, draft-only save-package; format house rules enforced by the nine-rule check-repo (ascii bytes, no text-mutating css); smoke 105/105 + restart + reminder + browser pass green, irene hand-migrated to the new layout
2026-11-15 14:35:00 +00:00
|
|
|
HANDOFF failed twice from memory -- always transcribe oldString from a
|
2026-11-13 23:40:33 +00:00
|
|
|
fresh read, counting spaces.
|