diff --git a/TODO.md b/TODO.md index 8032afa..3b351c9 100644 --- a/TODO.md +++ b/TODO.md @@ -1296,3 +1296,40 @@ and three owner items. See unit's range is now in the index for free. - [ ] Manual extension-host acceptance (themes, keyboard-only, zoom, screen readers, an old server binary, both VSIX shapes). + +## 11. Testbench-syntax wave (2026-08-29) — syntax_coverage.md findings + +Source: `syntax_coverage.md` (opentitan sweep, 96.2% → the gap). The top +two buckets both edit `vlog_parser/src/parser.rs`, so per CLAUDE.md's +parallel-lane rule they run serially; the wave's first two lanes pair +the constraints round with the TOPO-independent formatter bugs instead. + +### Lane A — out-of-class constraints (worktree; files: +crates/vlog_parser/src/parser.rs, crates/vlog_parser/tests/*, +crates/vlog_semantic if an arm is needed, docs/features/ +out-of-class-constraints/README.md, TODO.md §11 Lane A lines) + +- [ ] `constraint C::name { ... }` at file/package/class-external scope + — 45 files blocked, and the tolerant-mode cascade (300+ bogus + diagnostics per file) is the real LSP damage. Expected shape: the + classes feature's verbatim capture reused (justify if not). + +### Lane B — formatter round-trip bugs (worktree; files: +crates/vlog_formatter/src/* EXCEPT verify.rs forgiveness, +crates/vlog_formatter/tests/*, docs/features/formatter-bug-fixes/ +README.md, TODO.md §11 Lane B lines) + +- [ ] The 12 files the safety net refused (comment / `else if` merging + shapes in syntax_coverage.md §bucket 2): fix the formatter so its + output verifies; verify.rs forgiveness may NOT be widened (any + widening needs masked-corruption attack tests per invariant 4 — + prefer no widening at all). + +### Serial, after Lane A merges (parser.rs frees up) + +- [ ] Directive-split for expressions/statements: `` `ifdef `` splitting + an assign RHS / instantiation head (chip_if.sv:1192 anchor; blocks + both top_* tb.sv testbenches). 5-file floor, high leverage. +- [ ] Mop-up bundle (~26 files): enum member ranges, cast-base drive + strengths, local typedef statement, gate delays, virtual+modport, + rand-on-struct, foreach-skip-dim, hierarchical bind instance list.