ok   1: an indented line at >>> runs as an ordinary command (x = 7 printed at once)
ok   2: [] prints the entry message (2026-09-15 wording: the pane says the same)
ok   3: the prompt reads [] while adding lines
ok   4: a print typed in [] mode does NOT run then -- it shows only after run
ok   5: <esc> is echoed in the transcript
ok   6: the text on the line at <esc> is DISCARDED (never printed by any run)
ok   7: run runs the program built in [] mode, the loop's indent kept
ok   8: a second [] session APPENDS: the second run prints both blocks, in order
ok   9: the first block printed 'second block' never (it did not exist yet)
ok   10: after <esc> the prompt is >>> again
ok   11: keys lists the [] word
ok   12: no compile error anywhere (the swallowed comment / blank never became code)
ok   13: list prints the program one line per line (the two source lines are on separate lines)
ok   14: the blank line typed in [] mode is in the program (an empty line between the two)
r_repl_source_mode: all checks passed
