Incorporates #599 and #555 on current main, preserves pending-plan approval waits, adds regression coverage, and regenerates course data.
Validated locally: 503 tests and 118 subtests, TypeScript, 118-page production build. PR CI and Test passed.
Co-authored-by: wangwei69 <uquantum@hotmail.com>
Co-authored-by: Hongming (Chip) Li <hichipli@gmail.com>
Every chapter REPL treated an empty line as a quit command and exited with
status 0 without a word, while the banner only promises "Type q to quit".
Under VS Code's debugger the Python extension's environment-activation line
is often injected into stdin after the program started, so the first thing
the REPL read was a blank line and the chapter vanished right after its
banner.
An empty line is now ignored and the prompt comes back; q and exit still
quit, and EOF/Ctrl-C still end the loop. s17 already behaved this way. A
static test keeps every chapter's quit check free of the empty string.
Fixes#567