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
+4 -1
View File
@@ -224,7 +224,10 @@ consumes into the log, in one action.
holds the answers (a package may ship defaults). Unresolved
sigils-of-ours and vars fail loudly before anything is sent; any
other `@`-word is the author's own text -- `@` syntax is not owned
here -- and passes through untouched. The server
here -- and passes through untouched. The GM's live input expands
the same way at ingestion: the line resolves before it is logged,
an unresolved token refuses the turn, and the line is handed
back for editing. The server
assembles and logs all of this automatically (until it lands:
manual relay).
3. **In play:** a line opening with `(` is the out-of-character channel --