QA round 1: adversarial review logs and a with-block attack test
No blocking findings over the 8 round-1 clusters: whole-corpus idempotency and comment-preservation sweep clean (796/820), 476-run mutation fuzz clean, no swallowed errors in the diff. Adds reindented_string_inside_a_with_block_is_rejected. Findings (non-blocking) are in each feature README's QA log; the printer fits() / Doc::Inline gap is fixed separately. Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
f1db1e5746
commit
0557933994
9 files changed
+400
-8
No files matched your search
@@ -217,4 +217,36 @@ forgiveness, so no masked-corruption attack tests are owed.
|
||||
|
||||
## QA log
|
||||
|
||||
## Review
|
||||
### 2026-08-21 — round-1 adversarial QA
|
||||
|
||||
Verified: `cargo test --workspace`/clippy/fmt clean; corpus score 796/820;
|
||||
whole-corpus idempotency + comment-preservation sweep clean; 476-case mutation
|
||||
fuzz clean.
|
||||
|
||||
Targeted attacks:
|
||||
|
||||
- **`clocking`/`endclocking` reserved globally.** `logic clocking; logic
|
||||
endclocking; initial clocking = 1;` now cleanly errors ("expected
|
||||
identifier (found `clocking`)"), exit 2, no output. This matches real
|
||||
IEEE 1800 (`clocking` is a reserved word there too), so not a regression in
|
||||
practice — real RTL essentially never uses these as identifiers. Confirmed
|
||||
clean, not corrupting.
|
||||
|
||||
- **`fence.rs`/`range.rs` (`--lines`) on interfaces.** `--lines 3-3` on a
|
||||
6-item interface (ports/modport/clocking) reformats only the targeted line
|
||||
and leaves everything else byte-identical; `// verilog_format: off` /
|
||||
`... on` fences inside an interface correctly protect the fenced region
|
||||
while the rest of the interface still gets formatted. No issues found.
|
||||
|
||||
- **module-filename lint firing on interfaces.** Read
|
||||
`crates/vlog_linter/src/rules/module_filename.rs`: `ItemKind::Module` is
|
||||
shared by `module`/`interface` (distinguished by `.kw`), and the rule
|
||||
requires *exactly one* such item in the file. Confirmed a file with both a
|
||||
`module foo;` and an `interface bar_if;` is silent (two "module-like"
|
||||
items → rule doesn't fire), and a lone `interface bus_if;` in a
|
||||
mismatched-name file fires with `interface \`bus_if\` does not match file
|
||||
name ...` (matches the new test
|
||||
`an_interface_is_held_to_the_same_rule`). Correct.
|
||||
|
||||
No BLOCKING findings for this cluster.
|
||||
|
||||
Reference in new issue
Block a user