Problem
Sound-mode TypeScript needs a channel for diagnostics beyond tsc's. The HMxxxx code table and the prefix plumbing through driver, CLI and conformance already exist, but no checker path ever sets the HM prefix. The tsconfig parser and CLI option table accept only tsc/tsgo options (the table is generated from tsgo), and the checker has no rule/lint registry.
Evidence (origin/main @ d4b219507)
packages/ts_diagnostics/src/ts_diagnostics.zig:317-330packages/ts_driver/src/ts_driver.zig:152packages/ts_driver/src/ts_driver.zig:197packages/ts_driver/src/ts_driver.zig:2536packages/ts_cli/src/options_table.zig:1packages/tsconfig/src/tsconfig.zig:872-946
Scope
- Add a Home options namespace (e.g.
"home": { ... }in tsconfig, mirrored as--home-*CLI flags) that tsc parity mode ignores. - Add a rule registry in the checker: each Home rule has a code, default severity and option gate.
- Keep tsc parity untouched: with no Home options set, output is byte-identical to today.
Acceptance criteria
- A test rule emits
HM9xxxthroughhome tsc, LSP diagnostics and the process exit code. - TS conformance numbers are unchanged with Home options off.
Links
Part of #814.