feat(cli): --demo demonstration mode flag + app plumbing (#22, ADR-0047 D1)

Add `--demo` (and the RDBMS_PLAYGROUND_DEMO env fallback) to enter
demonstration mode, threaded onto App.demo_mode through run_loop —
mirrors the --no-undo plumbing. Off by default, zero footprint when
off. The --help line advertises only the visible keystroke badges;
the Ctrl+] caption trigger is kept low-profile (ADR-0047 D6 updated).

Phase A of ADR-0047; behaviour (badges/captions) lands in B and C.
This commit is contained in:
claude@clouddev1
2026-06-10 22:22:12 +00:00
parent e9eb1b177e
commit f879d54721
5 changed files with 107 additions and 4 deletions
+3
View File
@@ -204,6 +204,9 @@ help:
project's stored mode. Without it, the
project's last-used mode is restored
(default: simple).
--demo Demonstration mode: show on-screen badges
for otherwise-invisible keys (Tab, Enter,
...) — for screencasts and live teaching.
App-level commands (typed inside the app, available in both modes):
quit Exit cleanly.