Release 0.67.0: twelve bug-fix rounds, measured against 0.66.2
ci / checks (push) Successful in 1m26s
ci / corpus (push) Successful in 18s
release / preflight (push) Successful in 4s
ci / linux (push) Successful in 6m7s
release / linux (push) Successful in 6m6s
release / build-and-publish (push) Successful in 6m7s

Everything since 0.66.2: Rounds 1-12 (refactor and server ordering, index
lifecycle, MCP hardening, CI gates, CLI/parser/formatter fixes, formatter
alignment and overrides, linter hardening, semantic edge cases, exact
semantic-token refresh, sliced discovery walk, Windows UNC URIs, pure-move
splits) and the Take-6 performance report. This commit is the version bump,
the changelogs and the documentation sync; no source change.

- Version 0.67.0 in Cargo.toml, Cargo.lock and the extension manifests.
- CHANGELOG.md and editors/vscode/CHANGELOG.md: the 0.67.0 sections,
  including the output change, the lint delta, the Windows caveats and the
  three known regressions from Take 6.
- docs/topo.md, docs/repository-analysis.md, README.md, TODO.md and the
  site sources brought up to Rounds 1-12; topo 2.9 handshakes #67-#74 stay
  open as written.
- tools/gates.sh green on this tree: 5 820 tests, corpus 814/6 as before.

Co-Authored-By: Claude Mythos 5.2 <[email protected]>
This commit is contained in:
Guoliang ChenandClaude Mythos 5.2 committed 2026-11-26 23:04:26 -08:00
1 parent 2e9da208e3
commit cfa8d82707
17 files changed
+508 -126

No files matched your search

+215
View File
@@ -6,6 +6,221 @@ All notable changes to lucisv are recorded here. Versions follow
[semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes
(see `README.md`) are the only frozen contract.
## 0.67.0 — 2026-11-26
### Twelve bug-fix rounds, measured against 0.66.2
0.67.0 is everything since 0.66.2: twelve rounds of correctness, ordering,
hardening and hygiene fixes, each with its own dev round, QA round and lead
review, and a before/after performance report on OpenTitan `hw`
(`docs/performance_take6.md`). Each paragraph below names the feature README
that holds the detail. Three things to know before upgrading:
- **Formatted output changes.** Over OpenTitan `hw` the formatter's output
differs from 0.66.2 in **413** files in the default style, **576** under
`--style auto` and **972** under `--style lowrisc`; no file gained or lost a
diff, and verification failures are **0** in every style, as before.
- **One new lint rule is on by default** (`missing-port-direction`, an Error),
and two rules report differently; see Linter.
- **Saved state is rebuilt once.** The persisted index (`FACTS_FORMAT` 22 → 23)
of both the language server and `lucisv-mcp --index-cache` is discarded and
rebuilt on first start, and the format cache's lines are re-keyed, so the
first `lucisv` run after upgrading has no cache hits.
### Formatter and safety net
- **`#(…)` parameter ports and named parameter overrides are aligned** like
every other list: type, name and `=` in columns under both `infer` and
`always` alignment (`docs/features/format-alignment-overrides-r6`). Every
file Take 6 sampled from the output change above shows it; class parameter
headers are unchanged.
- **`lowrisc` sets named connections tight to the widest name**: the widest
name's `(` follows it directly (`.err_o(…)`) and narrower names are padded
to that column (`.tl_i (tl_i)`). This is a new `connection-align-min` knob,
`0` for `lowrisc` and `1` for every other preset.
- **Selective `[format]` overrides.** `begin`, `else`, `else-after-label`,
`port-lists`, `list-indent`, `alignment` and `connection-align-min` in
`lucisv.toml` (and the matching `lucisv.format.*` editor settings) layer
over any named preset, and over every candidate under `style = "auto"`. The
CLI, the language server and the MCP `format` tool all honour them. Every
effective knob is now part of the format cache key, so toggling one
re-formats; older cache lines are dropped as stale.
- **Multi-instance declarations** (`p1 u8 (…), u9 (…);`) break symmetrically
under the one-per-line styles (`google`, `lowrisc`, `microsoft`, `nxp`)
instead of the hanging layout; `lucisv` and `ansi` output is unchanged
(`docs/features/parser-formatter-r5`).
- **Files that used to be left unformatted now format:** a comment between a
generate `end` and `else`, an `` `ifdef `` (balanced, or a conditional
`else` arm) between `end` and `else` in procedural and generate `if`, and
attributes on ANSI ports (`(* keep *) input a`).
- **The parser is stricter where it was silently lenient:** empty elements in
concatenations, replications, streaming and assignment patterns
(`{d,, d}`, `{d,}`, `'{4{a,, b}}`), in `case` item lists (`case a,, b:`)
and a trailing `,` after a named call argument (`f(.a(x),)`) are now parse
errors, so such a file is reported and left as it is. Omitted positional
arguments (`f(a, , b)`) are still accepted.
### CLI
- **`--style auto` is twice as fast**: the file is parsed once for all six
candidate presets and only the winner is verified. OpenTitan `hw`,
`--check --no-cache`: 5 564 → **2 806 ms** median, user CPU 49.9 → 21.2 s,
peak RSS 981 → 699 MiB (`docs/features/parser-formatter-r5`, Take 6).
- **`--output-format json` works in format mode** (`lucisv`, `--check`,
`format`): one JSON document with `status`, `exit_code`, `summary` and one
entry per file, with the error's category, line and column. It refuses
`--diff`, `--stdout` and stdin without `--check`. Exit codes are unchanged
(`docs/features/cli-path-r5`).
- **Stdin honours the project config:** `-` / `--stdin-filename` applies the
discovered `lucisv.toml` alike in `format` and `check`, including `[lint]
select` and `ignore` in `check`; an empty `--stdin-filename ""` is refused.
- Path normalisation (`.` and `..`) is one shared function in `lucisv_core`
for filelists, config discovery, includes and the CLI; behaviour is
unchanged, including Windows drive and UNC roots.
### Linter
(`docs/features/linter-hardening-r7`.) 75 rules now (8 error, 24 warning,
43 style). On OpenTitan `hw`, `lucisv check` goes from **1 182 to 1 178**
findings:
- **New: `missing-port-direction`** (Error, on by default, no fix) reports a
non-ANSI header port that no body declaration gives a direction. It stays
silent when the body holds a macro item, an `` `include ``, a verbatim or an
error item. It reports 0 on OpenTitan `hw`.
- **`suspicious-semicolon` exempts the drain idiom `while (<call>);`**
(`while (fifo.try_get(item));`), only when the whole condition is one call:
−5 findings on OpenTitan. `while (busy);` and `while (!q.try_get(x));` are
still reported.
- **`incomplete-assignment` sees a miss in a nested `if`**, and counts a
fully enumerated `case` without `default` as complete only when its selector
is proven to be that wide: +1 finding on OpenTitan, a real latch
(`rom_ctrl/dv/tb/tb.sv:158`).
- **`mismatched-labels`** handles `initial lbl : begin … end : lbl`, and
offers an Unsafe fix that renames a wrong footer to the header's name
(CLI `--fix --unsafe-fixes` only; the editor and MCP apply Safe fixes only).
- Rule options in `[ … ]` lists split on commas outside quotes only, and a
naming-pattern regex nested more than 64 groups deep is refused by name
instead of overflowing the stack.
- **Withdrawn during the round, not shipped:** an autofix for
`uvm-macro-semicolon` (it corrupted code in three QA passes; the rule offers
no fix, as before) and a nested-loop exemption for `instance-shadowing`
(it hid the bug the rule exists for; the 30 OpenTitan hits stay).
### Language server
- **Rename, code-action resolve, `executeCommand` and `willRenameFiles` wait
for a running scan to finish** instead of running against a partly built
index (a module declared twice no longer gets an edit or a refusal at
random); read-only answers from the open buffer still go ahead
(`docs/features/server-ordering-r1`).
- **Rename and port edits carry document versions** (`documentChanges`) when
the client supports them, so an editor can refuse an edit computed against
text it no longer has. A settings push older
than the answer to the startup settings pull no longer overwrites it.
- **The index follows open and closed buffers exactly**
(`docs/features/index-lifecycle-r2`): closing an excluded or unlisted file
removes it, closing an unsaved in-scope file reverts its record to disk, a
buffer opened mid-scan is taken in as if opened before, a large open buffer
keeps its disk record, and a symlinked file is held under one spelling
whichever alias is open.
- **Colours refresh exactly when they change** (`docs/features/lsp-viewport-folding-r9`):
a save that changes how another open file colours (a package type renamed,
a class declared) now refreshes it, and a range answered during a rescan no
longer buys a refresh when the settled answer is the same.
- **A rescan answers between slices of its discovery walk** (512 entries per
slice; `docs/features/server-scaling-r10`). On OpenTitan `hw` a settings
rescan takes 703 → **642 ms** median, a `documentSymbol` sent 5 ms into it
waits 133 → **2.8 ms**, and the store is no longer re-opened (70 → 0 ms).
On 40 000 files the rescan is 12 % faster.
- Refactorings: a rename inside a string with an escaped non-ASCII character
no longer panics; macro-argument carrying is deterministic; renaming a
member of a module declared in two files is refused instead of guessed;
`remove port` no longer counts another module's `.port(…)` in the same file
as a use; `extract module` keeps CRLF line endings
(`docs/features/refactor-correctness-r1`).
- Semantics (`docs/features/semantic-refactor-r8`): a DPI export's name is a
reference; escaped identifiers are in the word census, so a file that only
writes `\my.sig` is found (completion does not offer them); an interface's
named generate blocks are reachable through its ports; an inline nested
struct member resolves; a rename through `bind` handles a bare-instance
target and no longer mistakes a generate-scoped instance for the module's
own; and the refactoring verifier checks each edit of a move on its own.
### MCP server
(`docs/features/mcp-hardening-r3`.)
- **`find` with `refs: true` reuses cached file facts**: on OpenTitan `hw`,
warm, 2.4× faster for a qualified name (1 115 → 474 ms), 2.6× for one
declaration (1 099 → 415 ms) and 3.8× for a name with 300+ declarations
(7 800 → 2 032 ms), with byte-identical answers. A qualified `unit.name`
query is scoped to that unit.
- **`check` accepts a directory or a glob** under a root (`ip/aes/rtl`,
`ip/aes/rtl/*.sv`); unused waivers are reported for the whole design only.
- A file whose modification time is in the future settles instead of being
re-read on every call; `initialize` no longer announces an empty
`prompts` capability.
### Windows
- **UNC workspaces work** (`docs/features/windows-uri-editors-r11`). The
server reads and writes `file://server/share/…` URIs in VS Code's form
(before, they were mangled in both directions), sees through `\\?\` paths,
and returns `\`-separated paths. **This is compile- and link-checked only,
never executed on Windows**: every Windows rule was tested as string code on
macOS.
- **The Windows index cache key changes once**: the workspace root's spelling
changes (`c:/proj` → `c:\proj`), so the index is rebuilt on first start
after upgrading and the old cache directory is left unused.
- On every platform, a `\` in a file name is now written `%5C` and a URI's
`?query#fragment` is no longer read as part of the path.
### Editors
- VS Code: the `lucisv.format.*` override settings above, a toggle for
`missing-port-direction`, `lucisv.mcp.path` pointing at a directory finds
`lucisv-mcp.exe` on Windows, a failing module-view action shows a warning,
and the README's settings table is corrected (`scopeDepth` default `2`, the
eight `lucisv.format.*` rows). Neovim README: references are
workspace-wide and `--stdio` is accepted. `editors/vscode/CHANGELOG.md` has
the editor's view.
### Performance (`docs/performance_take6.md`)
Beyond the numbers above, every other CLI and LSP phase shows no measurable
change; the language server's idle memory after a cold workspace scan fell
531 → 479 MiB (not attributed). Three regressions were found and bisected;
none is fixed in 0.67.0:
- **Formatter peak memory with all workers** rose by about 90–100 MiB
(default 568 → 654 MiB median, `lowrisc` 574 → 674 MiB; with `--threads 1`
it fell 291 → 252 MiB). Cause confirmed, from Round 5: the input's syntax
tree is kept alive while the output is verified. Left as is.
- **`didOpen` of a file over `index.maxFileSize`** costs about 14 ms more
(OpenTitan's 1.3 MB `pinmux_reg_top.sv`: 60–74 → 76–84 ms), from Round 2's
symlink identity map; about 8 ms of it is confirmed.
- **`workspace/symbol`** costs about 2 ms more (1.4–3.2 → 3.8–6.7 ms, same
256 results), from Round 2; the cause is a candidate, not confirmed.
### Project hygiene
- CI and release gates (`docs/features/ci-gates-r4`): `cargo test` runs under
`tools/guard.sh` on macOS and Linux, author stamps are a gate step, a
missing cross toolchain fails `gates.sh` unless `--allow-skip-cross`, and a
release checks tag and versions in a fast `preflight` job and runs the suite
on Linux before building.
- Five more pure-move splits and 23 test modules moved out of their files;
no production file is over 600 lines, and every `#[ignore]` says why
(`docs/features/hygiene-splits-r12`). Documentation and the site sources
were re-synced (`docs/features/docs-sync-r4`).
- **Gates on the release tree:** tests passed per crate — `vlog_parser` 527,
`vlog_semantic` 453, `vlog_refactor` 793, `vlog_formatter` 383,
`vlog_linter` 710, `lucisv_core` 129, `lucisv` 162, `lucisv_server` 2263,
`lucisv_mcp` 400; doc-tests 1, extension 37; corpus 814 / 6, unchanged.
OpenTitan `hw`: 4 039 of 4 046 files format cleanly in every style, 0
verification failures.
## 0.66.2 — 2026-11-24
### Every source file names its author
Generated
+9 -9
View File
@@ -97,7 +97,7 @@ dependencies = [
[[package]]
name = "lucisv"
version = "0.66.2"
version = "0.67.0"
dependencies = [
"lucisv_core",
"rayon",
@@ -108,11 +108,11 @@ dependencies = [
[[package]]
name = "lucisv_core"
version = "0.66.2"
version = "0.67.0"
[[package]]
name = "lucisv_mcp"
version = "0.66.2"
version = "0.67.0"
dependencies = [
"lucisv_core",
"serde",
@@ -126,7 +126,7 @@ dependencies = [
[[package]]
name = "lucisv_server"
version = "0.66.2"
version = "0.67.0"
dependencies = [
"lsp-server",
"lsp-types",
@@ -262,14 +262,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
[[package]]
name = "vlog_formatter"
version = "0.66.2"
version = "0.67.0"
dependencies = [
"vlog_parser",
]
[[package]]
name = "vlog_linter"
version = "0.66.2"
version = "0.67.0"
dependencies = [
"lucisv_core",
"vlog_formatter",
@@ -279,11 +279,11 @@ dependencies = [
[[package]]
name = "vlog_parser"
version = "0.66.2"
version = "0.67.0"
[[package]]
name = "vlog_refactor"
version = "0.66.2"
version = "0.67.0"
dependencies = [
"vlog_formatter",
"vlog_parser",
@@ -292,7 +292,7 @@ dependencies = [
[[package]]
name = "vlog_semantic"
version = "0.66.2"
version = "0.67.0"
dependencies = [
"vlog_parser",
]
+1 -1
View File
@@ -15,7 +15,7 @@ members = [
]
[workspace.package]
version = "0.66.2"
version = "0.67.0"
authors = ["Guoliang Chen"]
edition = "2021"
license = "MIT"
+16 -1
View File
@@ -59,6 +59,9 @@ lucisv --no-config rtl/
# pipe through stdin/stdout; --stdin-filename names the buffer in messages
cat foo.sv | lucisv -
cat foo.sv | lucisv --stdin-filename rtl/foo.sv -
# one JSON report (status, exit_code, summary, one entry per file) for CI
lucisv --check --output-format json rtl/
```
### Exit codes (frozen contract — CI may depend on it)
@@ -89,7 +92,10 @@ and on one core the corpus check goes from 396 ms to 51 ms (2.3× at the default
thread count, where parallelism has already taken the easy win).
An entry is keyed on **(content hash, `line-length`, `indent`,
`uvm-utils-indent`, `style`, lucisv version)** per file, and only ever records the *already formatted* verdict — a file that
`uvm-utils-indent`, `style`, each `[format]` override — `begin`, `else`,
`else-after-label`, `port-lists`, `list-indent`, `alignment`,
`connection-align-min` —, lucisv version)** per file (since 0.67.0; lines
written by an older version are dropped as stale), and only ever records the *already formatted* verdict — a file that
would be reformatted, or that failed, is re-checked on every run. The store is one
text file in `.lucisv_cache/` (self-ignoring, like cargo's `target/`); deleting
it, or a corrupted one, costs one slow run and nothing else. `--no-cache`
@@ -192,6 +198,15 @@ off by default, indents the `` `uvm_field_* `` macros written between
`` `uvm_*_utils_begin `` and `` `uvm_*_utils_end `` one level; like `style`,
it is a formatting choice lucisv leaves to the project, because it changes
bytes in existing UVM code (21 of the 860 corpus files).
Single layout choices can be overridden on top of the style (since 0.67.0):
`begin`, `else` and `else-after-label` (`same-line` or `own-line`),
`port-lists` (`fit` or `one-per-line`), `list-indent` (`block` or `wrap`),
`alignment` (`infer` or `always`) and `connection-align-min` (0–8, the spaces
before `(` on the widest row of an aligned connection or `#(…)` table). Each
applies over the named style, and under `style = "auto"` over every
candidate; the editor's spellings are `lucisv.format.begin`, `.else`,
`.elseAfterLabel`, `.portLists`, `.listIndent`, `.alignment` and
`.connectionAlignMin`, which a `lucisv.toml` outranks.
An unknown key, a bad value, an out-of-range number, or any TOML beyond the
supported subset (tables other than `[format]`, `[lint]` and `[lint.<rule>]`, multi-line
+43 -18
View File
@@ -7398,17 +7398,21 @@ indexing, collide with each other and with §70's test files, and wait for
rebased onto §70's commit. 71.1 (localized re-index) is with QA in
`../lucisv-wt/71.1`. Found on the way by 71.5's QA, all present in 0.65.4
and filed here, not fixed:
- [ ] A comment between a generate `end` and `else` (also a trailing `// c`
- [x] A comment between a generate `end` and `else` (also a trailing `// c`
after a labelled generate `end` before `else`) is a verification
error: the file is left unformatted. The safety net works; the
formatter should not need it.
- [ ] `` `ifdef `` between `end` and `else` is a parse error.
- [ ] An attribute on an ANSI port (`(* keep *) input a`) is a parse error.
(Round 5, `parser-formatter-r5`, topo §2.9-44; released in 0.67.0.)
- [x] `` `ifdef `` between `end` and `else` is a parse error.
(Round 5, `parser-formatter-r5`, topo §2.9-45; released in 0.67.0.)
- [x] An attribute on an ANSI port (`(* keep *) input a`) is a parse error.
(Round 5, `parser-formatter-r5`, topo §2.9-46; released in 0.67.0.)
- [x] The server's `line-length` lint falls back to 100 columns under the
`ansi`/`microsoft`/`nxp` styles (`lucisv_server/src/lint.rs`); taken
when 71.1 merges.
- [ ] One-per-line styles give multi-instance declarations
- [x] One-per-line styles give multi-instance declarations
(`p1 u8 (...), u9 (...)`) the hanging layout.
(Round 5, `parser-formatter-r5`, topo §2.9-47; released in 0.67.0.)
- Wave 5 (lead, 2026-11-19): 71.1 shipped as 0.65.6 after a QA FAIL (four
stale answers), a fix round, a QA pass and a last small round. What the
@@ -7424,9 +7428,12 @@ indexing, collide with each other and with §70's test files, and wait for
- [x] A burst `[request, didOpen]` during the startup scan is re-held at
every file (`server/index.rs` `answer_what_is_waiting`): the scan
takes ~300 s on OpenTitan instead of ~1.7 s.
- [ ] A watcher event naming only a directory leaves stale state; an
- [x] A watcher event naming only a directory leaves stale state; an
excluded buffer stays indexed after close; symlinked files are held
under one or both spellings depending on what was open.
(Round 2, `index-lifecycle-r2`: excluded buffers and symlinks fixed,
topo §2.9-49/51; directory-only events won't-fix, §2.9-48; released in
0.67.0.)
71.3 (viewport highlighting) passed QA with a gap in the default folder
scope (colours wait out a widen, ~630 ms); it is rebased after 71.7 and
closes that in its fix round. Then 71.2.
@@ -7442,18 +7449,25 @@ indexing, collide with each other and with §70's test files, and wait for
- Wave 6 (lead, 2026-11-19): 71.7 shipped as 0.65.8. Left open from it and
from its QA, all older than this series:
- [ ] A request held during a scan is answered against the newest text; a
- [x] A request held during a scan is answered against the newest text; a
position-based one can resolve a different symbol when an edit moved
the text under it, and rename edits carry no document version.
- [ ] An unheld buffer opened while a scan runs is never taken in
(Round 1, `server-ordering-r1`, topo §2.9-52; released in 0.67.0.)
- [x] An unheld buffer opened while a scan runs is never taken in
afterwards; closing an unsaved in-scope buffer a rescan had indexed
leaves its text in the index.
- [ ] Renaming a port of a module defined twice gives an edit or a refusal
(Round 2, `index-lifecycle-r2`, topo §2.9-49/50; released in 0.67.0.)
- [x] Renaming a port of a module defined twice gives an edit or a refusal
at random (`qa717/drv/dup.py`).
- [ ] Directory-only watcher events (needs a broader watcher
(Round 1, `refactor-correctness-r1` + `server-ordering-r1`, topo
§2.9-53; released in 0.67.0.)
- [x] Directory-only watcher events (needs a broader watcher
registration — the owner's call), excluded buffers after close (a
cheap fix belongs in the index layer: adding a file is a wide
change), symlink spellings.
(Round 2: excluded buffers and symlinks fixed, topo §2.9-49/51;
directory-only events won't-fix by owner ruling, §2.9-48; released in
0.67.0.)
- §70 closed (lead, 2026-11-19), shipped with 0.65.9. Once ssh was back the
suite proved flaky on Linux (3 of 9 runs): two test helpers that insisted
@@ -7464,14 +7478,20 @@ indexing, collide with each other and with §70's test files, and wait for
lane 70b (`docs/features/linux-test-portability`, Round 2); Linux is green
10/10 as root and as a user (dev) and 6/6 each (QA); `ci.yml` has its
`linux` job. Left open:
- [ ] A file with an mtime in the future is re-read by `lucisv-mcp` on
- [x] A file with an mtime in the future is re-read by `lucisv-mcp` on
every call, forever (67 ms against 7 ms per `find` on 4 000 files).
- [ ] `crates/lucisv/tests/cli.rs:2149` asserts only an empty stdout, no
(Round 3, `mcp-hardening-r3`, topo §2.9-54; released in 0.67.0.)
- [x] `crates/lucisv/tests/cli.rs:2149` asserts only an empty stdout, no
exit code.
- [ ] `crates/lucisv_mcp/tests/qa_m3.rs` uses unix-only APIs with no cfg:
(Round 5, `cli-path-r5`, topo §2.9-55; released in 0.67.0.)
- [x] `crates/lucisv_mcp/tests/qa_m3.rs` uses unix-only APIs with no cfg:
`cargo check --all-targets` for Windows fails there (tests only).
- [ ] The release is still gated on macOS alone; Windows is compile-checked
(Round 3, `mcp-hardening-r3`, topo §2.9-56; released in 0.67.0.)
- [x] The release is still gated on macOS alone; Windows is compile-checked
(`cross`), never executed.
(Round 4, `ci-gates-r4`, topo §2.9-57: the release now waits for a
Linux clippy + test job; Windows is still compile-checked only;
released in 0.67.0.)
- Wave 7 (lead, 2026-11-19): 71.3 shipped as 0.65.10, re-applied onto
0.65.8's message loop by hand and re-validated by a second QA round. Left
@@ -7480,24 +7500,29 @@ indexing, collide with each other and with §70's test files, and wait for
it runs: a late open in workspace scope still waits 62–86 ms for
colour and a rescan holds colours 70–159 ms. Making the walk
resumable needs its own identical-result proof (`state/discover.rs`).
- [ ] A `range` answered during a rescan always counts as a guess and
- [x] A `range` answered during a rescan always counts as a guess and
costs one refresh at settle even when nothing changed.
- [ ] An edit in one file that changes how another OPEN file colours sends
(Round 9, `lsp-viewport-folding-r9`, topo §2.9-59; released in 0.67.0.)
- [x] An edit in one file that changes how another OPEN file colours sends
no refresh (as before this lane).
(Round 9, `lsp-viewport-folding-r9`, topo §2.9-60; released in 0.67.0.)
- Wave 8 (lead, 2026-11-19): 71.2 shipped as 0.65.11 after four dev rounds
and four QA rounds — two QA failures, so the last round ran with Fable 5.2
as dev and QA (`docs/features/fast-actions`, Review). Left open from it:
- [ ] Inside the startup settings wait, the client's answer to the pull is
- [x] Inside the startup settings wait, the client's answer to the pull is
applied ahead of an older settings push held with it
(`server/startup.rs`, `take_the_answer_out_of_held`; predates the
lane; needs a client whose push and answer disagree in one burst).
- [ ] `tests/fast_actions_bursts.rs`'s oracle accepts an answer the
(Round 1, `server-ordering-r1`, topo §2.9-61; released in 0.67.0.)
- [x] `tests/fast_actions_bursts.rs`'s oracle accepts an answer the
reference gives after any later message of the round: 2–9 % of
injected stale answers pass when a later message restores the state.
- [ ] Whether a large open buffer is in the index depends on when it was
(Round 1, `server-ordering-r1`, topo §2.9-62; released in 0.67.0.)
- [x] Whether a large open buffer is in the index depends on when it was
opened, saved or scanned (predates the lane; 77–98 answers differ
between a settled session and a fresh server on OpenTitan).
(Round 2, `index-lifecycle-r2`, topo §2.9-63; released in 0.67.0.)
- [x] The 40 000-file rescan after a delete takes either 12.3 s or
14.5–15.5 s, on 0.65.10 and on this tree alike; cause not found.
(Round 10: not reproducible on a quiet machine — unimodal 7.4–7.8 s
+86 -61
View File
@@ -2,11 +2,14 @@
# Repository analysis
Refreshed **2026-11-26** against committed snapshot **`69383ea`** (Round 3 landed).
Latest tagged release: **v0.66.2** (`71d13b5`, released 2026-11-24). This
refresh reconciles `CHANGELOG.md`, the feature READMEs (`docs/features/*`),
Refreshed **2026-11-26** for the **v0.67.0** release: committed snapshot **the
0.67.0 release commit** (Rounds 1–12, `8f5a4fb`–`aa2259b`, plus the Take-6
performance report, `f2d9ff0`/`2e9da20`). Previous tagged release: **v0.66.2**
(`71d13b5`, released 2026-11-24). This refresh reconciles `CHANGELOG.md`, the feature READMEs (`docs/features/*`),
`TODO.md`, `docs/topo.md`, `oct_review.md`, and live Rust/Node inspection, with
test and doc suites executed through `./tools/gates.sh --only suites,docs,node`.
the gate counts recorded on the release tree by Round 12's QA
(`docs/features/hygiene-splits-r12/README.md`) and the before/after
measurements of [performance_take6.md](performance_take6.md).
## Assessment and current status
@@ -14,12 +17,18 @@ lucisv is a nine-crate toolchain (six reusable Rust libraries plus `lucisv`,
`lucisv-server`, and `lucisv-mcp`), VS Code / Neovim integrations, release/corpus
tooling, and an Astro/Starlight docs site. Syntax, formatting, semantics, linting,
refactoring, and project inputs stay cleanly separated. Releases `v0.50.0`–`v0.66.2`
and post-tag **Rounds 1–3** (`8f5a4fb`, `4d384ec`, `69383ea`) retired performance
bottlenecks, delivered the MCP server (`--read-only`, dir/glob `check`, hash-cached
references), completed top-rooted path resolution (`FACTS_FORMAT = 22`), range/selection
formatting, sticky scroll (`ifdef` branches + instantiations), the eight-item overnight
queue (TODO §71), `instance-folding` (TODO §72), and the Round 1–3 correctness,
server-ordering, index-lifecycle, and MCP hardening fixes.
retired performance bottlenecks, delivered the MCP server (`--read-only`), completed
top-rooted path resolution (codec 22), range/selection formatting, sticky scroll
(`ifdef` branches + instantiations), the eight-item overnight queue (TODO §71) and
`instance-folding` (TODO §72). **v0.67.0** releases **Rounds 1–12**: refactor
correctness and server ordering (1), index lifecycle (2), MCP hardening with
hash-cached references and dir/glob `check` (3), CI/release gates and a docs sync
(4), CLI paths/JSON/stdin and parser/formatter fixes with a parse-once
`--style auto` (5), formatter alignment, `lowrisc` fidelity and selective
`[format]` overrides (6), linter hardening with `missing-port-direction` (7),
semantic and refactor edge cases at `FACTS_FORMAT = 23` (8), exact semantic-token
refresh (9), a resumable discovery walk (10), Windows UNC URIs and editor polish
(11), and pure-move splits (12).
| Change | Status at this refresh | Implementation and contract |
|---|---|---|
@@ -39,9 +48,19 @@ server-ordering, index-lifecycle, and MCP hardening fixes.
| Release gates (`cross`), Linux CI & MCP stamp | Released in v0.65.1, v0.65.7, v0.65.9 | `tools/gates.sh` `cross` check; Linux `ci.yml` + `tools/linux_check.sh`; `Stamp` racy window (`3 s`) covers mtime+ctime and clock step-backs |
| Overnight queue (`TODO §71`): UX, styles, reindex, fast actions | Released in v0.65.2–v0.65.8, v0.65.10–v0.66.0 | Hierarchy current path (`0.65.2`), comment keywords (`0.65.3`), `ifdef` folding (`0.65.4`), 6 named styles + `auto` (`0.65.5`), localized reindex (`0.65.6`/`0.65.7`), ordered notifications & cursor-after-name (`0.65.8`), viewport highlight (`0.65.10`), buffer-first `same_file` fast actions + related completion tier (`0.65.11`/`0.66.0`) |
| Sticky scroll instance folding & author stamps | Released in v0.66.1–v0.66.2 | `folding/instances.rs` pins multi-line `#(` and `) u_name (` headers; `tools/stamp_author.py` stamps tracked files (no runtime change) |
| Round 1: Refactor correctness & server ordering | Landed at `8f5a4fb` | UTF-8 `skip_string`, deterministic `carry.rs`, duplicate-unit `enclosing_unit` guard (`#53` + F2b `same_file::renamed_here`), `ports/remove.rs` `item.span` (`#38`), `extract` CRLF (`#39`), `Document::version` + `DocumentChanges::Edits` (`#52`), `after_scan` whole-scan hold (`#53`), startup push drain (`#61`), exact `applied_changes` oracle (`#62`) |
| Round 2: Index lifecycle & tombstones | Landed at `4d384ec` | Tombstoned `WorkspaceIndex::remove_file` + `live_files()` + `didClose` reconciliation (`#49`), mid-scan buffer absorption (`ScanAbsorbed`, `#50`), `(dev, ino)` canonical symlink spelling across discovery/overlays/widen/handlers (`#51`), disk record preserved for `doc.large` (`#63`); `#48` ruled won't-fix by owner |
| Round 3: MCP hardening & references cache | Landed at `69383ea` | `find_references_{with,batch,batch_with}` + `Project` `KnownFacts` (`#37`/`#40`), `Stamp::first_mono` future-mtime settlement (`#54`), Windows `--all-targets` `qa_m3.rs` fix (`#56`), L-9 `after_dot` + `home_set_for`/`home_sets_for` parity, qualified `find`, `check` dir/glob support, `"prompts": {}` removed, RO `2,000/330 B` & full `3,800/440 B` budgets |
| Round 1: Refactor correctness & server ordering | Released in v0.67.0 (`8f5a4fb`) | UTF-8 `skip_string`, deterministic `carry.rs`, duplicate-unit `enclosing_unit` guard (`#53` + F2b `same_file::renamed_here`), `ports/remove.rs` `item.span` (`#38`), `extract` CRLF (`#39`), `Document::version` + `DocumentChanges::Edits` (`#52`), `after_scan` whole-scan hold (`#53`), startup push drain (`#61`), exact `applied_changes` oracle (`#62`) |
| Round 2: Index lifecycle & tombstones | Released in v0.67.0 (`4d384ec`) | Tombstoned `WorkspaceIndex::remove_file` + `live_files()` + `didClose` reconciliation (`#49`), mid-scan buffer absorption (`ScanAbsorbed`, `#50`), `(dev, ino)` canonical symlink spelling across discovery/overlays/widen/handlers (`#51`), disk record preserved for `doc.large` (`#63`); `#48` ruled won't-fix by owner |
| Round 3: MCP hardening & references cache | Released in v0.67.0 (`69383ea`) | `find_references_{with,batch,batch_with}` + `Project` `KnownFacts` (`#37`/`#40`), `Stamp::first_mono` future-mtime settlement (`#54`), Windows `--all-targets` `qa_m3.rs` fix (`#56`), L-9 `after_dot` + `home_set_for`/`home_sets_for` parity, qualified `find`, `check` dir/glob support, `"prompts": {}` removed, RO `2,000/330 B` & full `3,800/440 B` budgets |
| Round 4: CI/release gates & docs sync | Released in v0.67.0 (`6d1c689`) | `authors.workspace = true` in all nine crates; guarded `cargo test` in both `ci.yml` jobs; `stamp` gate step; `cross` fails without its toolchain unless `--allow-skip-cross`; `release.yml` `preflight` → `linux` → `build-and-publish`; `corpus_gate.sh` `jq` guard (`#57`, `#65`, `#66`); docs/site sources re-synced, `TODO §65.8` WON'T FIX |
| Round 5: CLI path/JSON/stdin & parser/formatter | Released in v0.67.0 (`4cf50a0`) | `lucisv_core::path::{normalize, normalize_under}` (`#1`); format-mode `--output-format json` (`#11`); stdin `[lint] select/ignore` + `#55`; comments and `` `ifdef `` between `end`/`else` (`#44`, `#45`), ANSI port attributes (`#46`), stricter empty list elements (`#42`), one-per-line multi-instance layout (`#47`); parse-once `--style auto` (5 564 → 2 806 ms median on OpenTitan `hw`, Take 6) |
| Round 6: Alignment, `lowrisc` fidelity, `[format]` overrides | Released in v0.67.0 (`9437966`) | `#(…)` param-port and override alignment; `Style::connection_align_min` (`lowrisc` 0); `StyleOverrides` over presets and `auto` from `lucisv.toml`, CLI, MCP, server and `lucisv.format.*`; 14-field format cache `Entry`; OpenTitan `hw` output differs from 0.66.2 in 413 / 576 / 972 files (default / `auto` / `lowrisc`, Take 6) |
| Round 7: Linter hardening | Released in v0.67.0 (`e229ff9`) | `missing-port-direction` (Error, default on, `#41`; 75 rules); `suspicious-semicolon` `while (<call>);` exemption; nested `incomplete-assignment`; `mismatched-labels` Unsafe fix; quote-aware option lists; regex nesting cap 64; `uvm-macro-semicolon` autofix and `instance-shadowing` exemption withdrawn; OpenTitan `check hw` 1 182 → 1 178 |
| Round 8: Semantic & refactor edge cases | Released in v0.67.0 (`532a645`) | `index_order` generic in the path (`#12`), DPI-export names bound (`#31`), per-edit move verification (`#32`), interface generate blocks on the connection surface (L-5), bare-instance `bind` targets (L-6), nested struct `member_key` (L-10), escaped identifiers in `FileFacts::words`; `FACTS_FORMAT` 22 → 23 |
| Round 9: Semantic-token refresh | Released in v0.67.0 (`dc54b23`) | A rescan-time `range` answer refreshes only when the settled answer differs (`#59`); an edit that recolours another open file refreshes it (`#60`); `lucisv_server` only |
| Round 10: Resumable discovery walk & rescans | Released in v0.67.0 (`36733e2`) | `lucisv_core::walk::ResumableWalk`, 512-entry slices drained between (`#58`); store kept across rescans, streaming compaction, pre-sized candidates; `#64` closed not reproducible; OpenTitan `hw` settings rescan 703 → 642 ms median, `documentSymbol` during it 133 → 2.8 ms (Take 6) |
| Round 11: Windows UNC URIs & editor polish | Released in v0.67.0 (`a479faf`) | `uri.rs` `Flavor` (Windows shapes as string code in `uri/windows.rs`): UNC, verbatim and query/fragment handled; Windows compile- and link-checked only; Windows index cache key changes once; `mcp.js`, `hierarchyView.js`, VS Code and Neovim README fixes |
| Round 12: Pure-move splits & hygiene | Released in v0.67.0 (`aa2259b`) | `resolve.rs`, `parser/item.rs`, `parser/instance.rs`, `format/stmt.rs`, `lexer.rs` split; 23 `lucisv_server` test modules moved out; reasons on all 12 bare `#[ignore]`; outputs byte-identical to Round 11 |
| Take 6: performance report | Released with v0.67.0 (`f2d9ff0`, `2e9da20`) | 0.66.2 against Rounds 1–12 on OpenTitan `hw`; three regressions bisected and left unfixed: multi-threaded formatter peak RSS +86–100 MiB (Round 5, cause confirmed), `didOpen` of a file over `index.maxFileSize` +~14 ms and `workspace/symbol` +~2 ms (Round 2) |
The current source of truth for feature acceptance is each feature's QA/review
log and [TODO.md](../TODO.md). The [topology](topo.md) records the interfaces
@@ -54,13 +73,13 @@ that future changes must preserve.
| `crates/vlog_parser` | Lexer/trivia, strict and tolerant recursive descent, AST/spans; `src/lib.rs`, `parser/`, `ast/` |
| `crates/vlog_formatter` | AST → document IR → printer, presets/auto styles (`style.rs`, `auto.rs`), alignment, fences/selection ranges, equivalence & convergence; `format/mod.rs`, `verify.rs` |
| `crates/vlog_semantic` | File binding/resolution, workspace facts (`FACTS_FORMAT = 23`) and member lookup; `bind/`, `resolve.rs`, `workspace/{mod,index,update,reexport,hierarchy,path_units}.rs`, `facts.rs`, `imports.rs` |
| `crates/vlog_linter` | 74-rule registry (`registry.rs::all_rules`: 7 Error, 24 Warning, 43 Style; 51 always on, 6 workspace-default, 17 opt-in; 10 Safe + 1 Unsafe fix), lazy semantics, options, inline/external waivers; `lib.rs`, `context.rs`, `registry.rs`, `waiver_file.rs` |
| `crates/vlog_linter` | 75-rule registry (`registry.rs::all_rules`: 8 Error, 24 Warning, 43 Style; 52 always on, 6 workspace-default, 17 opt-in; 10 Safe + 2 Unsafe fixes), lazy semantics, options, inline/external waivers; `lib.rs`, `context.rs`, `registry.rs`, `waiver_file.rs` |
| `crates/vlog_refactor` | Rename/references (`find_references_{with,batch,batch_with}`, `after_dot`, `home_set_for`/`home_sets_for`, `enclosing_unit`, deterministic `carry.rs`), ports, imports, extract/inline module (`extract/` CRLF-aware), instantiation plans, whole-edit verification; `scope.rs`, `rename/`, `ports/`, `imports.rs`, `extract/`, `inline/`, `check/` |
| `crates/lucisv_core` | Config (`STYLE_NAMES`, `FileConfig`), filelists, cycle-aware tracked walks and warning channel, format cache (7-field `Entry` incl. `style` & `uvm_utils_indent`), unified diffs, atomic replacement; no language-engine dependency |
| `crates/lucisv` | CLI argument handling, input discovery/dedup, worker pool (`rayon`), reports, `--rules-doc`, and source writes |
| `crates/lucisv_server` | Ordered LSP loop (`after_scan`, `answer_from_the_buffer` fast actions in `ahead.rs`/`same_file.rs`, versioned `DocumentChanges`), overlays & tombstoned incremental reindex (`state/{discover,rescan,reconcile,incremental,watched}.rs`), folding (`directives.rs`, `instances.rs`), semantic/instantiation tokens; composes all six libraries |
| `crates/lucisv_core` | Config (`STYLE_NAMES`, `FileConfig` incl. the `[format]` override keys), lexical `path::{normalize, normalize_under}`, filelists, cycle-aware tracked and resumable (`walk::ResumableWalk`) walks and warning channel, format cache (14-field `Entry`: every effective formatting knob), unified diffs, atomic replacement; no language-engine dependency |
| `crates/lucisv` | CLI argument handling, input discovery/dedup, worker pool (`rayon`), text and JSON reports (`--output-format json` in format and check mode), `--rules-doc`, and source writes |
| `crates/lucisv_server` | Ordered LSP loop (`after_scan`, `answer_from_the_buffer` fast actions in `ahead.rs`/`same_file.rs`, versioned `DocumentChanges`), overlays & tombstoned incremental reindex (`state/{discover,rescan,reconcile,incremental,watched}.rs`), folding (`directives.rs`, `instances.rs`), semantic/instantiation tokens with exact refresh, sliced discovery walk (`state/walking.rs`), RFC 8089 `file:` URIs incl. Windows UNC (`uri.rs`, `uri/windows.rs`); composes all six libraries |
| `crates/lucisv_mcp` | Model Context Protocol server for coding agents over stdio: `project/` (`KnownFacts` cache, `Stamp::first_mono`), `tools/` (9 tools in full mode — `hierarchy`, `find`, `outline`, `read`, `check` w/ dir/glob, `rename`, `port`, `edit_item`, `format`; `--read-only` offers the first five), `rpc.rs` (no `"prompts": {}`), `apply.rs`; composes the six libraries, never `lucisv_server` (`docs/mcp/PLAN.md`) |
| `editors/` | VS Code client (`extension.js`), TextMate grammar, `commentKeywords.js`, `hierarchyCurrent.js`, `hierarchySections.js`, `referencesView.js`, 8 commands + 37 non-rule & 74 per-rule settings; Neovim config docs |
| `editors/` | VS Code client (`extension.js`), TextMate grammar, `commentKeywords.js`, `hierarchyCurrent.js`, `hierarchySections.js`, `referencesView.js`, 8 commands + 44 non-rule & 75 per-rule settings (119 in all); Neovim config docs |
| `tools/`, `scripts/`, `.gitea/workflows/` | Guard (`guard.sh`), release gates (`gates.sh`), Linux helper (`linux_check.sh`), author stamp checker (`stamp_author.py`), corpus & release automation |
| `docs/features/` | Implementation contracts, dated measurements, QA and acceptance records |
| `docs/site/` | User-facing Starlight static documentation sources (`src/`) and tracked build artifacts (`dist/`) |
@@ -83,10 +102,13 @@ second parse/format and convergence check. Failure returns an error, never a
candidate output. `format_selection` expands ranges cleanly around statement/item
boundaries and fences protect statement and class scopes; verification still covers
the whole output. Cache entries key on content hash, `line-length`, `indent`,
`uvm-utils-indent`, `style`, and lucisv version.
`uvm-utils-indent`, `style`, every `[format]` override knob (`begin`, `else`,
`else-after-label`, `port-lists`, `list-indent`, `alignment`,
`connection-align-min`), and lucisv version. `--style auto` lexes and parses the
input once for all presets and verifies only the winner.
**Linting:** one prepared tokenization/tolerant parse (`ParsedSource`) feeds all
74 rules and lazy semantics. Six semantic rules (`multiply-driven`,
75 rules and lazy semantics. Six semantic rules (`multiply-driven`,
`undeclared-identifier`, `undriven-net`, `unknown-parameter`, `unknown-port`,
`unused-signal`) run automatically when a project/workspace oracle is present
and stay off for single files or stdin unless explicitly selected. `apply_fixes`
@@ -117,64 +139,67 @@ in full mode, `2,000 B` / `330 B` in `--read-only` mode; actual Round 3 measurem
## Codebase size, resolved issues, and open work
- **Production file sizes (re-measured 2026-11-26 at `69383ea`):** counting
non-blank, non-comment lines before `#[cfg(test)]` / `mod tests` (excluding
`*/tests/`), only test-only `crates/lucisv_server/src/perf.rs` (907 lines,
`#[cfg(test)]` module in `main.rs`) exceeds 600 lines. Every non-test
production file is under 600 (`vlog_semantic/src/resolve.rs` 587,
`vlog_parser/src/parser/item.rs` 582, `parser/instance.rs` 569,
`parser/module.rs` 560, `vlog_formatter/src/format/stmt.rs` 556,
`parser/sva.rs` 542, `vlog_parser/src/lexer.rs` 540,
`vlog_refactor/src/extract/flow.rs` 535, `lucisv_server/src/server/dispatch.rs` 522,
`state/discover.rs` 510).
- **Production file sizes (re-measured 2026-11-26 after Round 12, `CLAUDE.md`):**
counting non-blank, non-comment lines before `#[cfg(test)]` / `mod tests`
(excluding `*/tests/`), no production file exceeds 600 lines; only test-only
`crates/lucisv_server/src/perf.rs` (907 lines, `#[cfg(test)]` module in
`main.rs`) and test modules moved out of their files are above it. Top
production files: `lucisv/src/main.rs` 574, `vlog_parser/src/parser/module.rs`
568, `parser/split.rs` 554, `parser/sva.rs` 542,
`vlog_refactor/src/extract/flow.rs` 535, `parser/class.rs` 518,
`parser/covergroup.rs` 517, `lucisv_server/src/server/dispatch.rs` 515,
`state/discover.rs` 515. (The earlier `lexer.rs` 540 was a counting artifact;
it was 771 and Round 12 split it.)
- **Closed since the 2026-10-14 (`58520e5`) refresh:**
- `TODO §55` (`decomposition-state`, 2026-10-14), `TODO §65.1–§65.4`, and
`TODO §65.8` (`tb.` completion — closed **WON'T FIX 2026-11-26** per Owner
Decision #3: "no").
- `docs/topo.md §2.9` handshakes `#33` (v0.51.0), `#34` (v0.50.0), `#36`
(v0.62.0 scope-relative ruling), `#37–#40`, `#48` (won't-fix by owner
ruling), `#49–#54`, `#56`, and `#61–#63` (plus `#35` moot since M7).
ruling), `#49–#54`, `#56`, and `#61–#63` (plus `#35` moot since M7); in
Rounds 4–12 `#1`, `#11`, `#12`, `#31`, `#32`, `#41`, `#42`, `#44–#47`,
`#55`, `#57–#60`, `#64` (not reproducible), `#65`, `#66`.
- `oct_review.md`: L-1–L-4, L-12, L-13 fixed `2026-10-14`; **L-9** (MCP/engine
dotted-spelling & K2 `bind` home-set parity) closed in Round 3 (`69383ea`).
dotted-spelling & K2 `bind` home-set parity) closed in Round 3 (`69383ea`);
**L-5, L-6, L-10** closed in Round 8 (`532a645`).
- **Remaining open work (tracked in [topo.md](topo.md) §2.9, `TODO.md`, and `oct_review.md`):**
- Open handshakes in `docs/topo.md §2.9`: `#1` (`lucisv_core::path::normalize`),
`#11` (structured JSON format errors), `#12` (`Scope::build` reusing `index_order`),
`#31` (DPI-export name binding), `#32` (refactor verifier same-file relocation),
`#41` (non-ANSI body-port deletion lint), `#42` (parser leniency cases),
`#44–#47` (format-styles edge cases around `generate` `end`/`else`, ANSI attributes,
multi-instance hanging layout), `#55` (`cli.rs:2149` stdin exit assertion),
`#57` (macOS-only release gating), `#58–#60` (resumable discovery walk,
rescan `range` guess flag, cross-file semantic-token colour refresh),
`#64` (40k rescan variance), `#65` (bare `cargo test` in `ci.yml`), `#66`
(`cross` gate step skipping when toolchain absent). (`#57`, `#65`, `#66`
remain open awaiting Lead sign-off after Round 4A merges.)
- Open handshakes in `docs/topo.md §2.9`: `#67` (`lucisv_core::config::parse_array`
splits `lucisv.toml` arrays at quoted commas; Round 7), `#68–#70` (three ignored
OpenTitan tests that fail when run, instances in interface blocks listed while
direct ones are not, `\\foo ` vs `foo` across files; Round 8) and `#71–#74`
(`absorb` a third of a 40k rescan, memory growth across rescans, stale
completion words after a mid-scan edit, three walks still one-call; Round 10).
- Known regressions measured by Take 6 and left as is in v0.67.0
([performance_take6.md](performance_take6.md), "Regression causes"): formatter
peak RSS with all workers +86 MiB median (default 568 → 654 MiB; Round 5, cause
confirmed); `didOpen` of a file over `index.maxFileSize` ~14 ms slower and
`workspace/symbol` ~2 ms slower (Round 2; one partly confirmed, one a candidate).
- Open `TODO.md`: `§65.6` (`` `include ``-fragment standalone analysis),
`§71` unclosed follow-ups noted above; `oct_review.md`: L-5–L-8, L-10, L-11.
`§71` unclosed follow-ups; `oct_review.md`: L-7, L-8, L-11.
- Known runtime constraint: cross-file macro expansion / full compiler elaboration
remain intentional non-goals (`99.3%` — 814/820 — on the frozen corpus).
- Manual VS Code extension-host acceptance ([manual-acceptance.md](manual-acceptance.md)):
0.65.x overnight features (`§71`) and Round 1–3 fixes remain pending a human
0.65.x overnight features (`§71`) and Round 1–12 fixes remain pending a human
VS Code walkthrough (only `0.66.1` instance folding was spot-checked by the owner
in running VS Code).
## Validation of this refresh
Executed live on `69383ea` (prior to docs-only edits; no `.rs`, `.js`, or build files modified):
Documentation-only refresh for v0.67.0 (no `.rs`, `.js`, `tools/`, `scripts/` or
Cargo inputs changed by it). Gate figures are those recorded on the release tree:
- `./tools/gates.sh --only suites,docs,node`: **PASS**
- **Rust suites (9/9 crates, guarded):** **5,637 passed, 0 failed, 68 ignored**
(`vlog_parser`: 521/0 [2 ign]; `vlog_semantic`: 438/0 [4 ign]; `vlog_refactor`:
769/0 [6 ign]; `vlog_formatter`: 376/0 [0 ign]; `vlog_linter`: 672/0 [0 ign];
`lucisv_core`: 119/0 [0 ign]; `lucisv`: 151/0 [0 ign]; `lucisv_server`:
2,192/0 [52 ign]; `lucisv_mcp`: 399/0 [4 ign]).
- **Rust doc tests (`docs`):** **1 passed, 0 failed**.
- **VS Code Node tests (`node`):** **37 passed, 0 failed**.
- `python3 tools/stamp_author.py --check`: verified author stamps after final doc edits.
- `fmt`, `clippy`, `corpus`, and `cross` gates were not separately re-run in this
docs-only pass (verified clean in Round 3 at `69383ea`; no code or Cargo inputs changed).
- `docs/site/dist/` was **not** rebuilt locally because `docs/site/node_modules`
and global `astro` are absent (`@astrojs/starlight` required); `docs/site/src/`
sources were updated and `dist/` must be rebuilt cleanly in an environment with
Node dependencies installed.
- **Rust suites** (`cargo test -p <crate> --all-targets`, guarded; Round 12 QA,
equal to the Round 11 gate logs): `vlog_parser` 527/0 [2 ign]; `vlog_semantic`
453/0 [4 ign]; `vlog_refactor` 793/0 [5 ign]; `vlog_formatter` 383/0 [0 ign];
`vlog_linter` 710/0 [0 ign]; `lucisv_core` 129/0 [0 ign]; `lucisv` 162/0
[0 ign]; `lucisv_server` 2,263/0 [53 ign]; `lucisv_mcp` 400/0 [3 ign].
- **Doc tests:** 1 passed. **VS Code Node tests:** 37 passed. **Corpus:** 814/6,
unchanged.
- **OpenTitan `hw`:** 4,039 of 4,046 files format cleanly in every style, 0
verification failures; `lucisv check hw` 1,178 findings (Take 6).
- This refresh itself ran `./tools/gates.sh --only docs,stamp` and
`python3 tools/stamp_author.py --check`; the full gate run on the release tree is
the lead's.
- `docs/site/dist/` is regenerated from `docs/site/src/` and was not rebuilt here.
<!-- Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love, luciochen.com -->
@@ -39,8 +39,12 @@ This option is off by default. It applies to `uvm_field_*` macros
between `uvm_*_utils_begin` and `uvm_*_utils_end`. In editors,
`lucisv.format.uvmUtilsIndent` is the fallback; project configuration wins.
Short, comment-free enum bodies already fit on one line without another key.
Both `uvm-utils-indent` and `style` participate in the CLI format cache key (since
v0.50.0 and v0.65.5); see [configuration](/start/configuration/#cache).
`uvm-utils-indent`, `style` and the per-knob overrides (`begin`, `else`,
`else-after-label`, `port-lists`, `list-indent`, `alignment`,
`connection-align-min`, which layer over the chosen style) participate in the
CLI format cache key (since v0.50.0, v0.65.5 and v0.67.0); see
[configuration](/start/configuration/#keys) for the values and
[cache](/start/configuration/#cache).
## Alignment is inferred
@@ -92,12 +92,23 @@ scroll (blocks, `` `ifdef `` branches, and multi-line instantiations),
named formatter presets (`style`), localized incremental reindexing, ordered
notifications, buffer-first `same_file` fast actions, and author stamps.
Rounds 1–3 (`69383ea`) further tightened UTF-8 / deterministic macro carrying and
duplicate-unit rename guards (`refactor-correctness-r1`), versioned
v0.67.0 releases Rounds 1–12. Rounds 1–3 tightened UTF-8 / deterministic macro
carrying and duplicate-unit rename guards (`refactor-correctness-r1`), versioned
`DocumentChanges` edits and `after_scan` mutator staging (`server-ordering-r1`),
tombstoned `didClose` removal and `(dev, ino)` symlink canonicalization
(`index-lifecycle-r2`), and `KnownFacts`-cached `find_references_*` + future-mtime
settlement + dir/glob `check` (`mcp-hardening-r3`).
settlement + dir/glob `check` (`mcp-hardening-r3`). Rounds 4–12 guarded CI and
the release gates (`ci-gates-r4`); added one lexical path normaliser in
`lucisv_core`, format-mode `--output-format json`, parser fixes and a parse-once
`--style auto` (Round 5); aligned `#(…)` parameter lists, added
`connection-align-min` and selective `[format]` overrides with a full-knob cache
key (Round 6, which changes formatted output); added the 75th rule,
`missing-port-direction` (Round 7); moved the facts codec to **23** (Round 8);
made semantic-token refreshes exact (Round 9); sliced the discovery walk with
`lucisv_core::walk::ResumableWalk` (Round 10); read and wrote Windows UNC `file:`
URIs through a string-level `uri.rs` flavour (Round 11, compile-checked only on
Windows); and split five files as pure moves (Round 12). The measured effect is in
the repository's `docs/performance_take6.md`.
## Design invariants
+1 -1
View File
@@ -45,7 +45,7 @@ The subcommand is recognized only as the first argument. To format a file named
|---|---|---|
| `--select` | rule/class list | Replace defaults with named rules or `error`, `warning`, `style`; comma-separated and repeatable |
| `--ignore` | rule/class list | Remove named rules or severity classes from the enabled set |
| `--output-format` | `text` or `json` | Select human or machine-readable diagnostics |
| `--output-format` | `text` or `json` | Select human or machine-readable output: lint diagnostics, or (since v0.67.0) one format report with `status`, `exit_code`, `summary` and per-file `files` entries; refused with `--diff`, `--stdout` and stdin without `--check` |
| `--fix` | — | Apply safe fixes and rewrite files |
| `--unsafe-fixes` | — | Allow unsafe fixes when a rule provides them |
| `--waiver-file <PATH>` | path | Read Verible-format waiver directives from this file; repeatable. Adds to `[lint] waivers` from `lucisv.toml`. Relative to the working directory. A missing file or an unparsable directive is an error (exit 2) |
@@ -99,7 +99,15 @@ Buffer-local actions (`hover`, `definition`, `typeDefinition`, `documentHighligh
`signatureHelp`, `prepareRename` for buffer-scoped names, and viewport
semantic tokens) answer immediately during active background scans whenever
buffer preconditions hold; cursor lookups immediately after an identifier's
last character resolve the preceding name.
last character resolve the preceding name. Workspace-wide mutators (`rename`,
`codeAction/resolve`, `executeCommand`, `willRenameFiles`) wait until a running
scan has finished, and rename and port edits carry document versions
(`documentChanges`) when the client supports them. A scan's discovery walk runs
in slices with requests answered between them, and a semantic-token refresh is
sent exactly when an answer changed — including for an open file whose colours
another file's save changed. `file:` URIs follow VS Code's spelling, including
Windows UNC shares (`file://server/share/…`; compile-checked, not run on
Windows).
## Semantic presentation
@@ -9,9 +9,10 @@ description: Navigational index of the main public APIs in lucisv’s reusable R
This is a navigational API index, not source documentation. It summarizes the main public callable surface of the six reusable library crates in the workspace; command-line and language-server binaries are documented in their dedicated references.
This index reflects **v0.66.2** (through Round 3 at committed `69383ea`),
including named formatter styles, selection formatting, codec-23 workspace facts (Round 8),
tombstone index removal, and cached `find_references_*` / home-set APIs. For the
This index reflects **v0.67.0** (Rounds 1–12), including named formatter styles
with selective overrides, selection formatting, codec-23 workspace facts (Round 8),
tombstone index removal, cached `find_references_*` / home-set APIs, lexical path
normalisation and the resumable directory walk. For the
complete signatures and fields, run `cargo doc --workspace --no-deps`; this
hand-maintained index is not an exhaustive replacement for rustdoc. The parser's strict and tolerant entry
points share one grammar; tolerant errors do not imply formatter acceptance.
@@ -73,7 +74,11 @@ The CLI and server configure their worker threads accordingly.
| `verify_convergence` | Confirm a second formatting pass is identical |
`Config` exposes `max_width`, `indent_width`, `uvm_utils_indent`, `style`
(`Style`), and `auto_style`, along with `Config::styled` and `Config::named`.
(`Style`), `auto_style` and `overrides` (`StyleOverrides`: per-knob choices
layered over the preset, and over every candidate under `auto`), along with
`Config::styled`, `Config::named`, `apply_overrides`, `with_overrides` and
`effective_style`. `Style::connection_align_min` is `0` for `lowrisc` and `1`
for the other presets.
`Config { max_width: 120, ..Config::default() }` keeps the other defaults.
### Document model and printer
@@ -235,8 +240,9 @@ conservative.
Apply a `RefactorEdit` as one complete operation. Each path in `created` also
has one offset-zero insertion in `edits`; create those files before applying
text edits. Engines do no I/O. Callers must supply every file needed for edits
and refusal checks; the remaining refactor verifier gap is recorded in the
repository topology, handshake 32 (handshake 33 closed in v0.51.0).
and refusal checks. The verifier checks each edit of a move on its own for the
files the move names (handshake 32, closed in Round 8; handshake 33 closed in
v0.51.0).
## `lucisv_core`
@@ -248,7 +254,9 @@ repository topology, handshake 32 (handshake 33 closed in v0.51.0).
| `Discovery` | `new`, `for_input`, `for_file`, `for_dir` |
| `filelist::read` | Resolve a nested EDA filelist |
| `walk::collect_files`, `collect_files_with`, `collect_files_tracked`, `collect_files_below`, `collect_files_below_tracked` | Walk inputs with ignores, exclusions, sizes, and `DirectoryTracker` cycle/identity dedup (`DirId`, `dir_id`); accepts a `FnMut(Warning)` sink for recoverable failures |
| `walk::ResumableWalk` | `new`, `step`, `is_done`, `error`: the same walk in bounded slices, so a caller can do other work between them |
| `walk::is_excluded` | Test a path against exclusion patterns |
| `path::normalize`, `path::normalize_under` | Fold `.` and `..` lexically (no `canonicalize`, symlinks unfollowed), clamping at Unix, drive and UNC roots |
### Atomic writes, diffs, and cache
@@ -35,6 +35,11 @@ style_regex = "[a-z_0-9]+"
| `line-length` | integer | `100` | `40..400` | CLI and server |
| `[format].style` | string | `"lucisv"` | `lucisv`, `google`, `lowrisc`, `ansi`, `microsoft`, `nxp`, or `auto` | CLI, MCP, and server |
| `[format].uvm-utils-indent` | boolean | `false` | indent the `` `uvm_field_* `` macros between `` `uvm_*_utils_begin `` and `` `uvm_*_utils_end `` one level | CLI and server |
| `[format].begin`, `.else`, `.else-after-label` | string | unset (the style decides) | `same-line` or `own-line`; override that choice of the active style (of every candidate under `auto`) | CLI, MCP, and server |
| `[format].port-lists` | string | unset | `fit` or `one-per-line` | CLI, MCP, and server |
| `[format].list-indent` | string | unset | `block` or `wrap` | CLI, MCP, and server |
| `[format].alignment` | string | unset | `infer` or `always` | CLI, MCP, and server |
| `[format].connection-align-min` | integer | unset | `0`–`8`: spaces before `(` on the widest row of an aligned connection or `#(…)` table (`lowrisc` uses `0`, the other styles `1`) | CLI, MCP, and server |
| `indent` | integer | `2` | `1..8` | CLI and server |
| `exclude` | string array | `[]` | path patterns | CLI walk and server index |
| `filelist` | string | — | EDA `.f` path | server index |
@@ -85,6 +90,7 @@ Unknown keys, out-of-range numbers, invalid values, tables other than `[format]`
| `lucisv.formatOnSave` | `false` | Server-driven save formatting for clients that need it |
| `lucisv.format.style` | `"lucisv"` | Named formatter layout (`lucisv`, `google`, `lowrisc`, `ansi`, `microsoft`, `nxp`, or `auto`); `lucisv.toml` outranks it |
| `lucisv.format.uvmUtilsIndent` | `false` | The editor's spelling of `[format] uvm-utils-indent`; a checked-in `lucisv.toml` outranks it |
| `lucisv.format.begin` / `.else` / `.elseAfterLabel` / `.portLists` / `.listIndent` / `.alignment` / `.connectionAlignMin` | unset | The editor's spellings of the `[format]` overrides; a checked-in `lucisv.toml` outranks them |
| `lucisv.lineLength` | `null` | Editor fallback for maximum width |
| `lucisv.indent` | `null` | Editor fallback for indentation |
| `lucisv.exclude` | `[]` | Extra workspace index exclusions |
@@ -129,8 +135,8 @@ the fallback sentinel, so it does not clear a non-empty project selection.
## Cache
Successful “already formatted” verdicts are cached under `.lucisv_cache/`. Entries are keyed by file, content hash, line length, indentation, `uvm-utils-indent`, named `style`, and lucisv version. Files that would change or fail are never cached. Use `--no-cache` to disable reads and writes or `--cache-dir` to relocate the store.
Successful “already formatted” verdicts are cached under `.lucisv_cache/`. Entries are keyed by file, content hash, line length, indentation, `uvm-utils-indent`, named `style`, every `[format]` override, and lucisv version. Files that would change or fail are never cached. Use `--no-cache` to disable reads and writes or `--cache-dir` to relocate the store.
`uvm-utils-indent` joined the cache key in v0.50.0 and `style` joined in v0.65.5; stores from older versions are safely ignored and rebuilt automatically. Editor formatting does not use this CLI format cache.
`uvm-utils-indent` joined the cache key in v0.50.0, `style` in v0.65.5 and the overrides in v0.67.0; stores from older versions are safely ignored and rebuilt automatically. Editor formatting does not use this CLI format cache.
<!-- Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love, luciochen.com -->
+40 -17
View File
@@ -33,17 +33,29 @@ viewport-highlight and fast-actions; updated **2026-11-26** through
`instance-folding` (`0.66.1`), `stamp_author.py` (`0.66.2`),
`refactor-correctness-r1`, `server-ordering-r1`, `index-lifecycle-r2`, and
`mcp-hardening-r3` (closing handshakes `#37–#40`, `#48` won't-fix, `#49–#54`,
`#56`, `#61–#63`, plus earlier `#33`, `#34`, `#36`, and `TODO §65.8` WON'T FIX).
`#56`, `#61–#63`, plus earlier `#33`, `#34`, `#36`, and `TODO §65.8` WON'T FIX);
updated again **2026-11-26** for the **v0.67.0** release (Rounds 1–12 and the
Take-6 performance report, `docs/performance_take6.md`): Rounds 4–12 added
the feature rows `ci-gates-r4`, `docs-sync-r4`, `cli-path-r5`,
`parser-formatter-r5`, `format-alignment-overrides-r6`, `linter-hardening-r7`,
`semantic-refactor-r8`, `lsp-viewport-folding-r9`, `server-scaling-r10`,
`windows-uri-editors-r11` and `hygiene-splits-r12` (closing `#1`, `#11`, `#12`,
`#31`, `#32`, `#41`, `#42`, `#44–#47`, `#55`, `#57–#60`, `#64` not
reproducible, `#65`, `#66`).
**Code audit refreshed 2026-11-26.** Latest release: **v0.66.2**
(`71d13b5`); committed snapshot: **`69383ea`**.
**Code audit refreshed 2026-11-26.** Latest release: **v0.67.0**; committed
snapshot: **the 0.67.0 release commit** (Rounds 1–12 are `8f5a4fb`–`aa2259b`,
the Take-6 report `f2d9ff0`/`2e9da20`; the previous release is v0.66.2,
`71d13b5`).
Nine workspace crates (CLI + LSP + MCP + six libraries); **75** registered
lint rules (`8` error, `24` warning, `43` style); persisted facts codec
**23** (`FACTS_FORMAT = 23`, Round 8). Releases `v0.50.0`–`v0.66.2` and Rounds 1–3 closed
**23** (`FACTS_FORMAT = 23`, Round 8). Releases `v0.50.0`–`v0.67.0` closed
TODO §55 (`state/` decomposition), call hierarchy, top-rooted paths, range/selection
formatting, sticky scroll, auto-`end` and instantiation highlighting, the eight-item
overnight queue (TODO §71), `instance-folding` (TODO §72), and Round 1–3 correctness,
ordering, index-lifecycle, and MCP hardening items. After Rounds 4–12 (Rounds 11 and 12 touched no row), §2.9 keeps open handshakes `#67` (filed by Round 7),
overnight queue (TODO §71), `instance-folding` (TODO §72), and — released in
v0.67.0 — the Round 1–12 correctness, ordering, index-lifecycle, MCP hardening,
CI gate, CLI, parser/formatter, linter, semantic, viewport, scaling, Windows URI
and hygiene items. After Rounds 4–12 (Rounds 11 and 12 touched no row), §2.9 keeps open handshakes `#67` (filed by Round 7),
`#68–70` (filed by Round 8) and `#71–74` (filed by Round 10).
See [repository-analysis.md](repository-analysis.md) for evidence and validation.
Feature QA logs and TODO checkboxes remain the acceptance authority; remote
@@ -365,7 +377,7 @@ output after content changes, and keep historical measurements dated.
| header-recovery | parser `ListElem::{Ok,Error}`, `ExprKind::Error`, `recover_list.rs` → formatter, semantic, linter, refactor and server list walkers | Tolerant mode preserves valid siblings; strict formatting still rejects malformed input |
| linter-expansion-1 | `Severity`, `Violation::severity`, `rules_named`, `MentionOracle::module_interface`, `Semantics::duplicates` ↔ CLI reports, server diagnostics/settings, generated VS Code toggles | Delivered; duplicate facts are in-memory only |
| linter-expansion-2 | core `FileConfig::lint_options`/`LintOption` → linter `RuleOptions`; registry specs ↔ CLI validation, server option overlay and editor settings | Delivered; core records raw values and does not depend on the linter |
| linter-expansion-3 | shared scoped-item/expression/preprocessor walkers ↔ registry (73 rules at delivery, now 74), rule docs and generated editor toggles | Delivered; rule names and option keys are user-facing contracts |
| linter-expansion-3 | shared scoped-item/expression/preprocessor walkers ↔ registry (73 rules at delivery, now 75), rule docs and generated editor toggles | Delivered; rule names and option keys are user-facing contracts |
| small-items-3 | parser `ItemKind::GenBlock` → every recursive item walker; `recover_list` lookahead; core `atomic::write_atomic` → CLI format/fix and format cache | Delivered in v0.40.0; per-operation temp ownership and canonical CLI dedup followed in v0.43.0 (§2.9-26) |
| lazy-code-action | refactor `sites_phrase` ↔ server `ports.rs`; `ClientAbilities::code_action_resolve` ↔ dispatch and `{uri, position, title}` action data; indexed `DeclPositions` → `locate::definition_location` | Delivered in v0.41.0; clients without resolve support retain eager port actions, lint fixes remain eager |
| parser-skips | parser `module.rs`/`split.rs` rival-header detection; `DataDecl::delay: Option<NetDelay>` → formatter `format/decl.rs` and semantic `bind/decl.rs` | **Released in v0.42.0**; preserves the written delay position; no verifier normalization change |
@@ -379,25 +391,36 @@ output after content changes, and keep historical measurements dated.
| hierarchical-tail | `Surface` tags on declarations/references, codec 19 ↔ `workspace/hierarchy.rs`, member-tail resolution, completion and rename source selection | Released in v0.45.0; §2.9-23 closed; connection surface stays unchanged, instance tails read the hierarchical surface |
| expand-wildcard / convert-to-ansi | `ports/{expand,ansi,merge}.rs` ↔ whole-edit verifier; server `ports.rs`, commands and action titles ↔ extension manifest; refactor → formatter test-only edge | Released in v0.46.0; explicit unmatched-port warnings and conservative merge/refusal rules |
| organize-imports | semantic `imports.rs` → linter `unused-import` and refactor `imports.rs`; server `imports.rs` ↔ `source.organizeImports` / `lucisv.organizeImports` | Released in v0.47.0; 74 rules, new rule default off; package re-exports count as usage |
| extract / inline module | refactor `extract/`, `inline/`, `check/ledger.rs`, `RefactorEdit::created` ↔ server `extract.rs`, `inline_module.rs`, source selectors and client resource capabilities; extension `extract.js` ↔ name prompt | Extract v0.47.0, inline v0.49.0; file copies/moves preserve protected pieces; §2.9-33 closed in v0.51.0, §2.9-32 open; Round 1 (`refactor-correctness-r1`) fixed `#39` CRLF preservation |
| extract / inline module | refactor `extract/`, `inline/`, `check/ledger.rs`, `RefactorEdit::created` ↔ server `extract.rs`, `inline_module.rs`, source selectors and client resource capabilities; extension `extract.js` ↔ name prompt | Extract v0.47.0, inline v0.49.0; file copies/moves preserve protected pieces; §2.9-33 closed in v0.51.0, §2.9-32 closed in Round 8 (`semantic-refactor-r8`); Round 1 (`refactor-correctness-r1`) fixed `#39` CRLF preservation; both released in v0.67.0 |
| dut-hierarchy | extension `hierarchySections.js` ↔ model/view, manifest commands, `lucisv.hierarchy.duts`, workspace state; consumes unchanged `lucisv/moduleHierarchy` snapshot | Delivered in v0.48.0, package corrected in v0.48.2; configured DUTs are locked, saved and configured names union |
| coverage-gaps-l | new `randsequence` AST/parser/formatter modules and six grammar additions → all AST walkers and grammar keyword lock; `Config::uvm_utils_indent` ↔ core `[format]`, CLI config merge, server setting and extension manifest | Released in v0.49.0; default-off output option; cache-key omission (§2.9-34) fixed in v0.50.0 |
| release-gates | `.gitea/workflows/release.yml` runs `tools/gates.sh` before `release.sh --cross`; `gates.sh` step list/limits ↔ `docs/features/release-gates`, `tools/RELEASING.md`; `cross` step ↔ the rustup toolchain `release.sh --cross` builds with | Released in v0.65.1 (gate) and v0.65.7 (`cross`); open §2.9-57, §2.9-66 |
| release-gates | `.gitea/workflows/release.yml` runs `tools/gates.sh` before `release.sh --cross`; `gates.sh` step list/limits ↔ `docs/features/release-gates`, `tools/RELEASING.md`; `cross` step ↔ the rustup toolchain `release.sh --cross` builds with | Released in v0.65.1 (gate) and v0.65.7 (`cross`); §2.9-57, §2.9-65, §2.9-66 closed in Round 4 (`ci-gates-r4`, released in v0.67.0) |
| hierarchy-current-path | extension `hierarchyCurrent.js` ↔ `hierarchyView.js` ↔ `media/hierarchy.{js,css}` (`lit` row field + `{type:'lit'}` message); `hierarchySections.headerId` now exported; manifest colours `lucisv.hierarchyCurrent`/`Parent1–3`/`Ancestor`/`CurrentBar` + `lucisv.hierarchy.highlightCurrent`; consumes the unchanged schema-2 snapshot | Released in v0.65.2; extension-only, no server change; not yet seen in a running editor |
| comment-highlighting | extension `commentScan.js` mirrors the grammar's `comments`/`strings` rules (locked by `commentScan_test.js`) ↔ `commentKeywords.js` decorations ↔ manifest `lucisv.commentKeywords.{builtIn,custom,caseSensitive}` + colour `lucisv.commentKeyword`; `.vscodeignore`/`RELEASING.md` runtime-module list | Released in v0.65.3; grammar and server unchanged; bracket colour in comments is VS Code's (explained, not changed) |
| ifdef-folding | server `folding/directives.rs::branch_spans` (reads lexer `Directive` tokens) → `folding.rs` (`scope_and_comment_folds` / `branch_folds` / `in_answer_order`) ↔ sticky scroll via the extension's `foldingProviderModel` (§67) | Released in v0.65.4; existing folds byte-identical and first on a shared start line; large buffers still fold nothing |
| format-styles | formatter `style.rs` (`Style`, `PRESETS`, `preset`, `names`), `auto.rs` (`format_auto`, `resolve_style`), `align::plan(mode)`, `Config::{style, auto_style, styled, named, style_name}` ↔ core `STYLE_NAMES`/`parse_style`/`FileConfig::format_style`, cache `Entry::style` (seven-field line) ↔ CLI `--style`, MCP `format`/`diagnostics`, server `settings.rs` `lucisv.format.style`, `auto_style.rs`, `lint.rs` line-length ↔ manifest enum | Released in v0.65.5 (server lint width v0.65.6); default `lucisv` byte-identical; `verify.rs` untouched; open §2.9-44–47 |
| format-styles | formatter `style.rs` (`Style`, `PRESETS`, `preset`, `names`), `auto.rs` (`format_auto`, `resolve_style`), `align::plan(mode)`, `Config::{style, auto_style, styled, named, style_name}` ↔ core `STYLE_NAMES`/`parse_style`/`FileConfig::format_style`, cache `Entry::style` (seven-field line) ↔ CLI `--style`, MCP `format`/`diagnostics`, server `settings.rs` `lucisv.format.style`, `auto_style.rs`, `lint.rs` line-length ↔ manifest enum | Released in v0.65.5 (server lint width v0.65.6); default `lucisv` byte-identical; `verify.rs` untouched; §2.9-44–47 closed in Round 5 (`parser-formatter-r5`, released in v0.67.0) |
| localized-reindex | semantic `workspace/{dependents,references,replace}.rs` (readers table, in memory, in `fingerprint`), `update_file`/`update_facts -> bool`, `symbols_named`, `FileFacts::{declares_the_same, declared_names}` ↔ server `state/incremental.rs` (`OneFile`), `state/watched.rs` (`Watched`), `watch::{scope_files, names_a_config}`, `IncludeGraph::{update_held, add_known, refresh_naming}`, `Candidates::{set_file_words, refresh_names}`, `server/index.rs` `BURST_DIVISOR` | Released in v0.65.6, published as v0.65.7 (Windows fix); no `FACTS_FORMAT` change; §2.9-48 won't-fix (2026-11-26), §2.9-49/51 closed in Round 2 (`index-lifecycle-r2`) |
| scan-ordering | server `server/mod.rs` `must_hold`/`behind`/`hold`, `server/batch.rs::changes_state`, `opened_mid_scan` set in `notification.rs`'s `didOpen` arm and read in `index.rs::answer_what_is_waiting`; `caret.rs::symbol_offset` → `dispatch.rs` `Server::symbol_offset` (nine requests); extension `referencesView.js` opens rows at the name's start | Released in v0.65.8; amended in v0.65.11 (fast-actions: `owes_a_state_change` — the answer to a settings pull is ordered like a notification); §2.9-50 closed in Round 2, §2.9-52/53 closed in Round 1 (`server-ordering-r1`) |
| linux-test-portability (Round 2) | `lucisv_mcp` `project/files.rs` `Stamp` (`identity: Option<Identity>`, `read_mono`, `RACY` 3 s over mtime and ctime, `Change::Suspect`) ↔ every index-based MCP tool; `ci.yml` `linux` job ↔ `tools/linux_check.sh` (same image, no push) | Released in v0.65.9; test code plus the one MCP product fix; §2.9-54/56 closed in Round 3 (`mcp-hardening-r3`), §2.9-55/57 open |
| viewport-highlight | server `server/viewport.rs` (`colours_may_go_ahead`, `coloured_ahead`, `index_unsettled`, `refresh_tokens_if_stale`, `Viewport::defers_widen`) and, since 0.65.11, `server/ahead.rs` (`answer_from_the_buffer`, `set_aside`, `open_then_widen`, `answer_ahead_mid_widen`) ↔ `must_hold`/`behind`/`held`/`dirty` (scan-ordering) ↔ `dispatch.rs::answer_flushed` ↔ `index.rs::reindex_widened`; `tokens::semantic_tokens_in_range` + `large::line_window` + `tokens/instantiation.rs::overrides_within`; `ClientAbilities::semantic_tokens_refresh` (`main.rs`) | Released in v0.65.10; non-colour answers unchanged (978 compared); the early-answer machinery moved to `ahead.rs` in v0.65.11 (pure move); open §2.9-58–60 |
| fast-actions | server `server/ahead.rs` (`answer_from_the_buffer` — the one precondition —, `REACH`/`Reach`, `Server::can_reach`, `nothing_unapplied_for`, `settings_awaited`, `answer_ahead_of`, `answer_held_ahead`) ↔ `same_file.rs` (`METHODS`, `answered_by_the_buffer`; its README table pinned to the dispatch by `same_file/tests.rs`) ↔ `server/mod.rs` (`must_hold`, `owes_a_state_change`, `settings_announced`) ↔ `server/diagnostics.rs::flush_buffer` ↔ `server/large_file.rs::reclassify_large_buffers` ↔ `viewport.rs` (`index_unsettled` also while anything is held); `completion/related.rs` (sortText `4`, `RELATED_LIMIT`, tiers renumbered `4→5`…`7→8`, `tests/e2e.rs` digits) and `completion/wire.rs` ↔ `ClientAbilities::completion_item_defaults` (`main.rs`); `includes::include_at`, `type_def::type_name`, `candidates::macro_of` now `pub(crate)` | Released in v0.65.11 (TODO §71.2) after an escalation round; no `vlog_semantic` change; scan-ordering's response exemption amended; `completionItem/resolve` measured, not built; §2.9-61/62 closed in Round 1, §2.9-63 closed in Round 2, §2.9-64 open |
| linux-test-portability (Round 2) | `lucisv_mcp` `project/files.rs` `Stamp` (`identity: Option<Identity>`, `read_mono`, `RACY` 3 s over mtime and ctime, `Change::Suspect`) ↔ every index-based MCP tool; `ci.yml` `linux` job ↔ `tools/linux_check.sh` (same image, no push) | Released in v0.65.9; test code plus the one MCP product fix; §2.9-54/56 closed in Round 3 (`mcp-hardening-r3`), §2.9-55 in Round 5 (`cli-path-r5`), §2.9-57 in Round 4 (`ci-gates-r4`); all released in v0.67.0 |
| viewport-highlight | server `server/viewport.rs` (`colours_may_go_ahead`, `coloured_ahead`, `index_unsettled`, `refresh_tokens_if_stale`, `Viewport::defers_widen`) and, since 0.65.11, `server/ahead.rs` (`answer_from_the_buffer`, `set_aside`, `open_then_widen`, `answer_ahead_mid_widen`) ↔ `must_hold`/`behind`/`held`/`dirty` (scan-ordering) ↔ `dispatch.rs::answer_flushed` ↔ `index.rs::reindex_widened`; `tokens::semantic_tokens_in_range` + `large::line_window` + `tokens/instantiation.rs::overrides_within`; `ClientAbilities::semantic_tokens_refresh` (`main.rs`) | Released in v0.65.10; non-colour answers unchanged (978 compared); the early-answer machinery moved to `ahead.rs` in v0.65.11 (pure move); §2.9-59/60 closed in Round 9 (`lsp-viewport-folding-r9`), §2.9-58 in Round 10 (`server-scaling-r10`); released in v0.67.0 |
| fast-actions | server `server/ahead.rs` (`answer_from_the_buffer` — the one precondition —, `REACH`/`Reach`, `Server::can_reach`, `nothing_unapplied_for`, `settings_awaited`, `answer_ahead_of`, `answer_held_ahead`) ↔ `same_file.rs` (`METHODS`, `answered_by_the_buffer`; its README table pinned to the dispatch by `same_file/tests.rs`) ↔ `server/mod.rs` (`must_hold`, `owes_a_state_change`, `settings_announced`) ↔ `server/diagnostics.rs::flush_buffer` ↔ `server/large_file.rs::reclassify_large_buffers` ↔ `viewport.rs` (`index_unsettled` also while anything is held); `completion/related.rs` (sortText `4`, `RELATED_LIMIT`, tiers renumbered `4→5`…`7→8`, `tests/e2e.rs` digits) and `completion/wire.rs` ↔ `ClientAbilities::completion_item_defaults` (`main.rs`); `includes::include_at`, `type_def::type_name`, `candidates::macro_of` now `pub(crate)` | Released in v0.65.11 (TODO §71.2) after an escalation round; no `vlog_semantic` change; scan-ordering's response exemption amended; `completionItem/resolve` measured, not built; §2.9-61/62 closed in Round 1, §2.9-63 closed in Round 2, §2.9-64 closed not reproducible in Round 10; released in v0.67.0 |
| instance-folding | server `folding/instances.rs` (consumes `vlog_semantic::instantiations::sites` + token scan) → `folding.rs::in_answer_order`; sticky scroll pins multi-line `#(` and `) u_name (` lines (`editors/vscode/README.md`) | Released in v0.66.1 (TODO §72); seen in a running VS Code (2026-11-19); existing folds unchanged |
| stamp-author | `tools/stamp_author.py` header/footer contract across tracked source/doc/manifest files (`--check` used in dev/QA/release verification) | Released in v0.66.2 (`71d13b5`); no runtime behavior change |
| refactor-correctness-r1 (Round 1) | `vlog_refactor` UTF-8 `skip_string` (`rename/{home,carry}.rs`), deterministic `BTreeMap`/`BTreeSet` fixed-point `carry.rs`, duplicate file-scope unit guard `enclosing_unit` shared by `rename/{mod,preflight}.rs` ↔ `lucisv_server/src/same_file.rs::renamed_here` (`server-ordering-r1`), `ports/remove.rs` `body_uses_in` bounded to `item.span`, CRLF preservation in `extract/{mod,render}.rs` | Delivered in Round 1 (`8f5a4fb`); closes §2.9-38, #39, #53 (refactor half) |
| server-ordering-r1 (Round 1) | `lucisv_server` `Document::version` (`AtomicI64`), `ClientAbilities::document_changes` (`main.rs`), shared `ports::encode_edit` (`ports.rs`, `rename.rs`) preserving open client URIs, `Server::after_scan` + `waits_for_whole_scan` (`server/mod.rs`), `startup.rs::take_the_answer_out_of_held` push drain, `ahead::take_ahead_applied` (`fast_actions_bursts.rs`), `same_file::renamed_here` (`enclosed_by_unit` matching `rename_preflight`) | Delivered in Round 1 (`8f5a4fb`); closes §2.9-52, #53 (server half), #61, #62 |
| index-lifecycle-r2 (Round 2) | `vlog_semantic` `WorkspaceIndex::remove_file` tombstone mask + `live_files()` (compacted on `merge`/`absorb`, remapped in `fingerprint`) ↔ `lucisv_server` `DidCloseTextDocument` (`close_and_reconcile`), `ScanAbsorbed` (`state/{mod,rescan,reconcile,incremental}.rs`), `(dev, ino)` canonical symlink deduplication across walks/overlays/widen/handlers (`index_path_for`/`is_same_file`), keeping disk record for `doc.large`, `lucisv_mcp` `live_files()` callers (`names.rs`, `diagnostics.rs`) | Delivered in Round 2 (`4d384ec`); closes §2.9-49, #50, #51, #63 |
| mcp-hardening-r3 (Round 3) | `vlog_refactor` `find_references_{with,batch,batch_with}` (`&dyn KnownFacts`), `after_dot`, `home_set_for`, `home_sets_for` ↔ `lucisv_mcp` `Project` `KnownFacts`, `Stamp::first_mono`/`inherit_observation`, `tools/{diagnostics,glob,find,edit,mentions,item/refs}.rs` (`check` dir/glob, qualified `find`, L-9 parity), `rpc.rs` (no `"prompts": {}`), `tests/qa_m3.rs` `#[cfg(unix)]`, `wire.rs`/`read_only.rs`/`docs/mcp/PLAN.md` updated ceilings | Delivered in Round 3 (`69383ea`); closes §2.9-37, #40, #54, #56, L-9 |
| refactor-correctness-r1 (Round 1) | `vlog_refactor` UTF-8 `skip_string` (`rename/{home,carry}.rs`), deterministic `BTreeMap`/`BTreeSet` fixed-point `carry.rs`, duplicate file-scope unit guard `enclosing_unit` shared by `rename/{mod,preflight}.rs` ↔ `lucisv_server/src/same_file.rs::renamed_here` (`server-ordering-r1`), `ports/remove.rs` `body_uses_in` bounded to `item.span`, CRLF preservation in `extract/{mod,render}.rs` | Released in v0.67.0 (Round 1, `8f5a4fb`); closes §2.9-38, #39, #53 (refactor half) |
| server-ordering-r1 (Round 1) | `lucisv_server` `Document::version` (`AtomicI64`), `ClientAbilities::document_changes` (`main.rs`), shared `ports::encode_edit` (`ports.rs`, `rename.rs`) preserving open client URIs, `Server::after_scan` + `waits_for_whole_scan` (`server/mod.rs`), `startup.rs::take_the_answer_out_of_held` push drain, `ahead::take_ahead_applied` (`fast_actions_bursts.rs`), `same_file::renamed_here` (`enclosed_by_unit` matching `rename_preflight`) | Released in v0.67.0 (Round 1, `8f5a4fb`); closes §2.9-52, #53 (server half), #61, #62 |
| index-lifecycle-r2 (Round 2) | `vlog_semantic` `WorkspaceIndex::remove_file` tombstone mask + `live_files()` (compacted on `merge`/`absorb`, remapped in `fingerprint`) ↔ `lucisv_server` `DidCloseTextDocument` (`close_and_reconcile`), `ScanAbsorbed` (`state/{mod,rescan,reconcile,incremental}.rs`), `(dev, ino)` canonical symlink deduplication across walks/overlays/widen/handlers (`index_path_for`/`is_same_file`), keeping disk record for `doc.large`, `lucisv_mcp` `live_files()` callers (`names.rs`, `diagnostics.rs`) | Released in v0.67.0 (Round 2, `4d384ec`); closes §2.9-49, #50, #51, #63. Take 6 (`docs/performance_take6.md`, bisected to `4d384ec`): `didOpen` of a file over `index.maxFileSize` is ~14 ms slower (OpenTitan `pinmux_reg_top.sv` 60–74 → 76–84 ms) because `Workspace::index_file_id` misses and builds its identity map, one `stat` per indexed file — ~8 ms of it confirmed; `workspace/symbol` is ~2 ms slower (1.4–3.2 → 3.8–6.7 ms), candidate cause `document_for_path`'s identity fallback, not confirmed; neither fixed |
| mcp-hardening-r3 (Round 3) | `vlog_refactor` `find_references_{with,batch,batch_with}` (`&dyn KnownFacts`), `after_dot`, `home_set_for`, `home_sets_for` ↔ `lucisv_mcp` `Project` `KnownFacts`, `Stamp::first_mono`/`inherit_observation`, `tools/{diagnostics,glob,find,edit,mentions,item/refs}.rs` (`check` dir/glob, qualified `find`, L-9 parity), `rpc.rs` (no `"prompts": {}`), `tests/qa_m3.rs` `#[cfg(unix)]`, `wire.rs`/`read_only.rs`/`docs/mcp/PLAN.md` updated ceilings | Released in v0.67.0 (Round 3, `69383ea`); closes §2.9-37, #40, #54, #56, L-9; Take 6: warm `find refs:true` 2.4–3.8× faster on OpenTitan `hw`, answers byte-identical |
| ci-gates-r4 (Round 4) | `[workspace.package].authors` ↔ `authors.workspace = true` in all nine crate manifests; `tools/guard.sh` (`ps -Ao`, `-m`/`-t` validation, fd 3 closed; exit 137 on kill, 2 on usage) ↔ `ci.yml` (`checks` and `linux` jobs guard `cargo test`, `stamp` step) ↔ `tools/gates.sh` (`stamp` step, `cross` fails without its toolchain unless `--allow-skip-cross`) ↔ `release.yml` `preflight` → `linux` → `build-and-publish` ↔ `tools/RELEASING.md`; `scripts/corpus_gate.sh` exits 2 without `jq` | Released in v0.67.0 (Round 4, `6d1c689`); closes §2.9-57, #65, #66; no binary behaviour change |
| docs-sync-r4 (Round 4) | `README.md`, `TODO.md`, `docs/repository-analysis.md`, `docs/topo.md`, `docs/manual-acceptance.md`, `docs/site/src/` ↔ the live counts (crates, rules, settings, `FACTS_FORMAT`, gate numbers); `docs/site/dist/` regenerated outside the lane | Released in v0.67.0 (Round 4, `6d1c689`); closes §2.9-36 and `TODO §65.8` (WON'T FIX); documentation only |
| cli-path-r5 (Round 5A) | core `path::{normalize, normalize_under}` ↔ `filelist.rs`, `config.rs`, server `includes::normalize` (re-export, used by `file_ops.rs`), CLI `identity`; CLI stdin config discovery (`run_check_stdin` `[lint] select/ignore` via `lint::pick`); format-mode `--output-format json` schema (`status`, `exit_code`, `summary`, `files[]` with `error.{category,line,column,message}`) ↔ `tools/corpus_check.sh`, `scripts/score.sh` (JSON when `jq` is present, text fallback, byte-identical TSVs) | Released in v0.67.0 (Round 5, `4cf50a0`); closes §2.9-1, #11, #55; exit codes 0/1/2 unchanged; corpus 814/6 |
| parser-formatter-r5 (Round 5B) | formatter `format::{parse_once, render_parsed, verify_rendered}`, `verify::{stream_from_tokens, verify_equivalence_items}` ↔ `auto.rs` (one parse for all presets, winner verified) and `selection/`; parser `GenIf::{then_trailing, else_directives, else_comments}`, `StmtKind::If::else_directives` ↔ formatter `format/{branch,stmt}.rs`; `Parser::take_attrs` (ANSI port attributes) ↔ `format/module.rs`; `parse_expr_item_with(allow_omitted)` (empty list elements refused outside call arguments); `format/instance.rs` multi-instance layout under `PortLists::OnePerLine` | Released in v0.67.0 (Round 5, `4cf50a0`); closes §2.9-42, #44–#47; `--style auto` over OpenTitan `hw` 5 564 → 2 806 ms median (Take 6). Take 6 (bisected to `4cf50a0`): multi-threaded formatter peak RSS +86 MiB median (default 568 → 654 MiB, `lowrisc` 574 → 674 MiB; `--threads 1` 291 → 252 MiB) because `format_styled` (`format/mod.rs`) keeps the input's `ParsedSource` alive across `verify_rendered` — confirmed by experiment (dropping it: 660 → 595 MiB), not fixed |
| format-alignment-overrides-r6 (Round 6) | formatter `Style::connection_align_min` (`lowrisc` 0, others 1), `StyleOverrides` + `Config::{apply_overrides, with_overrides, effective}` (layered over presets and every `auto` candidate), `#(…)` param-port (`PARAM_PORT_COLS`) and override (`connection_cols`) alignment ↔ core `FileConfig` `[format]` keys (`begin`, `else`, `else-after-label`, `port-lists`, `list-indent`, `alignment`, `connection-align-min` 0..=8) and 14-field cache `Entry` ↔ CLI `args.rs`/`entry_for`, MCP `tools/format.rs`, server `settings.rs`/`format.rs`/`auto_style.rs` ↔ manifest `lucisv.format.*` | Released in v0.67.0 (Round 6, `9437966`); Take 6 attributes the formatted-output change to this round (its three samples; Round 5's `#47` also changes one-per-line multi-instance layouts): OpenTitan `hw` 413 / 576 / 972 files differ from 0.66.2 in default / `auto` / `lowrisc` (Take 6); 0 verification failures; older cache lines dropped as stale |
| linter-hardening-r7 (Round 7) | linter registry (75 rules: new `missing-port-direction`, Error, default on, no fix) → CLI `--rules-doc`, server diagnostics, `vscode_lint_settings` → manifest (78 keys) and site `reference/rules.md`; `mismatched-labels` Unsafe fix (CLI `--unsafe-fixes` only; LSP and MCP apply Safe fixes only); `options/list.rs` quote-aware split; `regex/pike.rs` nesting cap 64; `incomplete-assignment` consumes `Semantics::{reference_at, symbol, references_of}` for selector width | Released in v0.67.0 (Round 7, `e229ff9`); closes §2.9-41, files #67; OpenTitan `check hw` 1 182 → 1 178; `uvm-macro-semicolon` autofix and the `instance-shadowing` nested-loop exemption withdrawn |
| semantic-refactor-r8 (Round 8) | semantic `index_order<P: AsRef<Path>, T>` ↔ refactor `Scope::assemble`; `FACTS_FORMAT` 22 → 23 (escaped words in `W`, DPI-export names as references, interface generate blocks on the connection surface) ↔ server `index_cache`, MCP `cache`; `FileFacts::words` ↔ MCP `declared.rs`/`diagnostics.rs`, `rename_trace`, semantic-lint mention guards, server `candidates.rs` (`insertable`); `Semantics::member_key` nested struct keys ↔ server `nav.rs`, `same_file.rs`, `completion/related.rs`; refactor `check::verify_move` per-edit rule for move-named files | Released in v0.67.0 (Round 8, `532a645`); closes §2.9-12, #31, #32, `oct_review.md` L-5/L-6/L-10; files #68–#70; OpenTitan `hw/ip` workspace symbols 41 621 → 41 684 (interface blocks only) |
| lsp-viewport-folding-r9 (Round 9) | server `Document::refresh_overlay` + `colours_moved` (`tokens::overlays_colour_alike`) ↔ every overlay refresh site (`state/incremental.rs`, `state/rescan.rs`); `tokens::range_answer` ↔ `Server::semantic_tokens_range` ↔ `Viewport::answered_range` (32 ranges per buffer); `Server::coloured_ahead` removed from `viewport.rs`/`ahead.rs`; `didClose` → `Viewport::forget` | Released in v0.67.0 (Round 9, `dc54b23`); closes §2.9-59, #60; no change outside `lucisv_server`; OpenTitan folding and viewport sweeps identical to trunk |
| server-scaling-r10 (Round 10) | core `walk::ResumableWalk` (`new`, `step`, `is_done`, `error`), `DirectoryTracker: Eq` ↔ server `state/walking.rs` (512-entry slices, identities in one pass at landing), `Scan::walking`, `server/index.rs` `scan_once` drains between slices; `IndexCache::reopen` (store kept across rescans), streaming compaction, `Candidates::from_words`; verbose trace `slice_max` / `slices` ↔ `tools/perf/{bigtree,rescan,rescan_diff}.py` | Released in v0.67.0 (Round 10, `36733e2`); closes §2.9-58, #64 (not reproducible); files #71–#74; Take 6 on OpenTitan `hw`: settings rescan 703 → 642 ms median, `documentSymbol` 5 ms into it 133 → 2.8 ms, `cache_open` 70 → 0 ms, longest discovery slice 11.5 ms (24 slices) |
| windows-uri-editors-r11 (Round 11) | server `uri.rs` `Flavor` (Posix/Windows as pure string code, `NATIVE` the only `cfg!(windows)`) + `uri/windows.rs`; unchanged signatures `path_to_uri`/`uri_to_path`, VS Code's canonical form (`file://server/share/…`, `file:///C%3A/…`) ↔ `hierarchyView.js` URI comparison; Windows root spelling ↔ `index_cache::workspace_key` (key changes once); extension `mcp.js` `findable` (`.exe` in a directory), `hierarchyView.js` (warn on a failed action, listeners disposed with the view) | Released in v0.67.0 (Round 11, `a479faf`); no §2.9 row opened or closed; Windows compile- and link-checked only, never executed |
| hygiene-splits-r12 (Round 12) | pure moves: semantic `resolve.rs` → `resolve/{member,types}.rs`; parser `parser/item.rs` → `package.rs`, `generate.rs`; `parser/instance.rs` → `connection.rs`; `lexer.rs` → `lexer/{number,define_params,attach}.rs`; formatter `format/stmt.rs` → `case.rs`, `timing.rs`; 23 `lucisv_server` inline test modules → `<module>/tests.rs`; public paths re-exported | Released in v0.67.0 (Round 12, `aa2259b`); no §2.9 row opened or closed; OpenTitan outputs byte-identical to Round 11; test counts equal in all nine crates |
The lazy action resolves against current workspace state and rejects a stale
or inapplicable action. Indexed definition locations bypass closed-file reads
+32
View File
@@ -7,6 +7,38 @@ for you. The extension and its bundled language server share one version
number; the full engineering notes live in the
[project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md).
## 0.67.0 — 2026-11-26
- **Format on save may change more lines than before.** `#(…)` parameter
lists and parameter overrides are now aligned in columns, and the `lowrisc`
style sets connections tight to the widest name (`.err_o(…)`).
- **Pick single formatter options on top of a style:** `lucisv.format.begin`,
`else`, `elseAfterLabel`, `portLists`, `listIndent`, `alignment` and
`connectionAlignMin` override just that choice of the style you use (or of
`auto`). A `lucisv.toml` still wins.
- **A new error, on by default:** `missing-port-direction` underlines a
non-ANSI port that the module body never gives a direction
(`lucisv.lint.rules.missing-port-direction` turns it off). A
`while (q.try_get(x));` drain loop is no longer flagged as a stray
semicolon.
- **Rename and other project-wide edits wait for indexing to finish**
instead of acting on a half-built index, and carry the document version so
VS Code can refuse an edit computed against older text.
- **Colours stay right across files:** saving a file that changes how
another open file is coloured (a renamed package type, a new class) now
recolours that file; a re-scan no longer refreshes colours that did not
change. Requests answer during the start of a re-scan instead of pausing.
- **Closing, reopening and symlinked files** keep the index consistent:
a closed excluded file leaves it, an unsaved closed file goes back to its
saved text, and a file opened through a symlink is one file.
- **Windows network shares (UNC paths) open and navigate correctly** — tested
as code, not yet on a Windows machine. On Windows the project index is
rebuilt once after the upgrade; on every platform the saved index is
rebuilt once, so the first start takes a full scan.
- `lucisv.mcp.path` set to a folder finds `lucisv-mcp.exe` on Windows; a
failing action in the module view now shows a warning; the README's
settings table is corrected (`lucisv.index.scopeDepth` defaults to `2`).
## 0.66.2 — 2026-11-24
- **Nothing changes in the editor.** The extension's and the language
+11 -1
View File
@@ -32,7 +32,7 @@ Install **lucisv — Verilog/SystemVerilog** from the VS Code Extensions view,
then open a Verilog or SystemVerilog file. There is no separate server or CLI
setup.
The current release is **0.66.0**. Its platform packages include
The current release is **0.67.0**. Its platform packages include
`lucisv-server`, the `lucisv` command-line tool and `lucisv-mcp` (see
[Agents (MCP)](#agents-mcp)):
@@ -451,6 +451,16 @@ default):
}
```
## Release 0.67.0 highlights
Version 0.67.0 is twelve rounds of fixes: `#(…)` parameter lists align and
`lowrisc` sets connections tight (so format on save changes more lines),
single `lucisv.format.*` choices override a style, a new on-by-default error
for a port with no direction, rename that waits for indexing and carries
document versions, colours that refresh exactly when another file changes
them, re-scans that answer requests while they walk the tree, and Windows
network-share (UNC) paths. The project index is rebuilt once on first start.
## Release 0.66.0 highlights
Version 0.66.0 completes a round of eight editor features: no workspace
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "lucisv",
"version": "0.66.2",
"version": "0.67.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "lucisv",
"version": "0.66.2",
"version": "0.67.0",
"license": "MIT",
"dependencies": {
"vscode-languageclient": "9.0.1"
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "lucisv",
"displayName": "lucisv — Verilog/SystemVerilog",
"description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.",
"version": "0.66.2",
"version": "0.67.0",
"publisher": "guoliangchen",
"author": "Guoliang Chen",
"license": "MIT",