Left out of #15369, which landed only the src/web/highlight.ts split. Lazy grammar loading needs scans to stay synchronous (viewer, diff, editor re-scan) yet test/launch-no-tla.test.ts forbids require() and test/module-state.test.ts forbids a module-level cache; it needs a design both accept (e.g. an async boundary with dynamic import()). Also split src/tui/screens/workspace.ts by concept.
Left out of #15369, which landed only the src/web/highlight.ts split. Lazy grammar loading needs scans to stay synchronous (viewer, diff, editor re-scan) yet test/launch-no-tla.test.ts forbids require() and test/module-state.test.ts forbids a module-level cache; it needs a design both accept (e.g. an async boundary with dynamic import()). Also split src/tui/screens/workspace.ts by concept.