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
-6
View File
@@ -505,12 +505,6 @@ duplicate handbook cut is the GM's red pen).
## Deferred tasks (ruled out of the dormant-session rework, 2026-11-15)
- **GM-input expansion.** Expand sigils (@PC/@Package) and $vars on
the GM's input at ingestion, before the turn is sent up; expansion
errors refuse the turn; the log records the expanded line (which is
what makes continuation carryovers forever expansion-free). Deferred
to keep the rework's scope tight; the authored session-1 carryover
keeps expansion-at-start in the meantime.
- **Save-as-package beyond drafts.** Today it fires only from
never-started runs. Opening it to any dormancy raises unanswered
questions: which carryover rides (the dormant session's story tail