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

This commit is contained in:
2026-11-15 23:45:15 +00:00
parent 951213239f
commit 193dc336be
10 changed files with 134 additions and 28 deletions
+1 -4
View File
@@ -11,13 +11,10 @@ DICTIONARY.md, or the prompts. Tiered by urgency, FIFO within a tier.
- calibration package: escape room
- calibration package: the detention
- user manual
- session rewind
## Open
### 9. Unresolved-token check in expandVars -- OPEN
Added beyond the literal ask: any leftover `$WORD` after substitution
fails loudly. Keep, or relax to silent pass-through? (2026-11-12)
### 16. Housekeeping model configuration -- OPEN (mechanism settled)
The housekeeping job runs server-side on a fresh model invocation.
Mechanism settled (2026-11-13): `server.json` names one endpoint plus