TODO §71.7. Three server bugs, all older than this series.
- A caret just past an identifier's last letter resolved the NEXT character
(spans are end-exclusive): references, definition, hover and highlight came
back empty where VS Code considers the caret on the word — the owner's
'not found, then works after clicking back'. lucisv_server/src/caret.rs;
nine position-to-symbol requests use it through Server::symbol_offset; the
References view opens a row with the caret at the name's start.
- process_batch held requests during a scan but applied notifications at
once, so a didChange could overtake an older one still queued; with
incremental sync that corrupted the server's copy of the buffer until the
file was reopened. Rule now: no notification overtakes an older unapplied
notification (Server::must_hold, the 'behind' count for the burst a scan
is nested in). Cancels wait whenever anything is held; responses never.
- answer_what_is_waiting acted on a didOpen it had queued but not applied,
re-holding the same batch at every file of the startup scan (~300-400 s on
OpenTitan). Scan state now changes only where a message is applied; a held
batch is handed back at most once per applied didOpen.
An attempt to also drop excluded buffers from the index on close cost 190 ms
per open of an outside file and was reverted after QA measured it.
Dev (two rounds), QA (two rounds, own ordering driver: 9 118 bursts, no
wrong text) and lead review: docs/features/scan-ordering/README.md. TODO.md
files what stays open.
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.8) and
editors/vscode/CHANGELOG.md.
Gates: tools/gates.sh PASS on this tree including cross;
lucisv_server 2030/0.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
0.65.6 was tagged and never published: the release build failed to compile
lucisv-server for Windows. lucisv_core::walk::dir_id is a Copy (dev, ino)
pair on unix and an owned PathBuf elsewhere, and 71.1's
Workspace::holds_another_spelling_of moved it inside a closure
(lucisv_server/src/state/incremental.rs). Compared by reference now.
tools/gates.sh gains a `cross` step: cargo check of the three shipped
binaries for x86_64-pc-windows-gnu and x86_64-unknown-linux-musl with the
rustup toolchain release.sh --cross uses (skipped with a note when it is
absent). It fails on the unfixed tree with the release run's own error and
passes on this one. tools/RELEASING.md lists it.
CHANGELOG.md's 0.65.7 section carries 0.65.6's notes in full under a short
account of what happened; the v0.65.6 tag is left where it is.
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots).
Gates: tools/gates.sh PASS on this tree including cross; a full local
tools/release.sh --cross and tools/audit_artifacts.sh dist pass (seven .vsix
packages, eighteen binaries).
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
TODO §71.1. On OpenTitan hw (4 058 files) every save cost ~160 ms of
whole-index work, twice (the save and VS Code's watcher echo), and watcher
events for files the index could not hold started whole rescans.
- vlog_semantic: resolution records every table lookup per reading file,
misses included (workspace/dependents.rs, references.rs, replace.rs); an
update re-resolves the edited file and the readers of keys whose values
changed in what resolution reads. An unchanged record merges nothing. When
the readers hold more than an eighth of all references, old results are
removed in one pass over the postings.
- lucisv_server: watcher events are classified per file (state/watched.rs);
the include graph keeps every include line as written and re-resolves the
lines a named path could satisfy, in one pass per event; an event naming
more paths than half the index takes the single rescan; an open buffer the
index does not hold joins on its first save; completion tables are rebuilt
only for the names a file declares. Every save still republishes every open
buffer. The line-length lint follows the formatting style's width.
- Fixed on the way: removing an included header left other files' include
edges pointing at it.
Typical saves: comment or watcher echo <0.3 ms, local signal 4 ms, package
member 12 ms; warm startup +40..120 ms for the readers table.
QA failed the first cut on four stale answers found with an independent
fresh-server oracle; all four are fixed and are differential tests. Dev
(three rounds), QA (two rounds) and lead review:
docs/features/localized-reindex/README.md. TODO.md files lane 71.7 from
what the QA rounds and an investigation found in earlier releases too.
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.6) and
editors/vscode/CHANGELOG.md.
Gates: tools/gates.sh PASS on this tree; vlog_semantic 435/0,
lucisv_server 2011/0, lucisv_mcp 384/0.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
TODO §71.5. One setting picks a house layout — [format] style in
lucisv.toml, --style, the lucisv.format.style drop-down, the server and MCP:
lucisv (default), google, lowrisc, ansi, microsoft, nxp, and auto. Seven
layout rules (indent, width, begin placement, else placement, else after a
labelled end, one-per-line lists, list indent, alignment), one row per style
in one table in crates/vlog_formatter/src/style.rs. google and lowrisc follow
those published guides; ansi, microsoft and nxp are lucisv's guesses and say
so. auto formats with each preset and keeps the result that changes the
fewest lines (crates/vlog_formatter/src/auto.rs); the language server
remembers each document's preset (lucisv_server/src/auto_style.rs) so
selection and on-type formatting do not repeat the search. The style is part
of the format cache key.
Proof: default output byte-identical to 0.65.4 on 4 921 files (corpus +
OpenTitan hw) against an independently rebuilt 0.65.4; every style formatted
three times over the same files with no verification error, crash, token or
comment difference (independent lexer) or second-run change. verify.rs is
untouched.
Dev (three rounds), QA (two rounds, pass with findings) and lead review are
in docs/features/format-styles/README.md. Three one-line calls were added to
lucisv_server/src/server/notification.rs for the memory's invalidation.
TODO.md files the pre-existing bugs QA met on the way.
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.5) and
editors/vscode/CHANGELOG.md.
Gates: tools/gates.sh PASS on this tree; vlog_formatter 376/0,
lucisv_server 1996/0, corpus 814/6.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
Test code only. The suite had only ever run on macOS; the first Linux trial
found clippy red on three unused imports and 11 failing tests.
- Unused imports (lucisv_server hover.rs, includes.rs test modules): they now
carry the same cfg as the macOS/Windows-only tests that use them.
- Eight permission-denied tests (lucisv cli, lucisv_core walk, lucisv_mcp
apply/cache/qa_m6, lucisv_server filelist): each first probes that the
mode it relies on is enforced and says 'skipped' if not (root ignores
modes); std only, no uid check.
- file_ops' case-mismatched include test probes the filesystem's case
sensitivity first.
- large.rs' two linear-time tests bound growth (8x input <= 24x time, best
of five) instead of wall-clock; shown to fail at ~60-74x on a quadratic
implementation by dev and QA independently.
- scan_trace's stage-sum lower bound is asserted on the best of three
sessions (reproduced flaky on macOS under load: 2.21 ms of 5.10 ms).
- walk.rs' TempTree test helper gains the Drop its doc promised.
- tools/linux_check.sh runs the working tree in the luhpe-linux-x64 runner's
job image, as root or --user, without a push.
Linux: root green and --user green but for the scan_trace flake were seen
once, on 88546c8 plus round 1 of this lane. Nothing since has run there (the
owner's ssh key expired), so TODO §70's Linux line and the ci.yml linux job
stay open. Dev, QA (mutation table) and lead review:
docs/features/linux-test-portability/README.md.
TODO.md also gains §71, the owner's eight-feature queue, with its waves.
Gates: tools/gates.sh PASS on this tree (0.65.4 + this), lucisv_server 1977/0.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
TODO §71.4. Each conditional-compilation branch (`ifdef, `ifndef, `elsif,
`else) is a folding range from its directive line to the line before the
next branch or `endif, kind region, nested to any depth; sticky scroll,
which already follows the server's folds, pins the branch line. Built on the
lexer's directive tokens (folding/directives.rs), so directives in comments,
strings and `define bodies are not folded; no parser or formatter change.
An existing fold is never lost or changed: scope and comment folds are
computed as before and sent first at a shared start line
(folding::in_answer_order).
Proven on OpenTitan hw (4 061 files, 1 061 branch folds) and the corpus
(860 files, 511): non-directive folds byte-identical to 0.65.3 (QA, base
built from git archive), 10 000-case fuzz against an independent model.
Dev, QA (pass with findings, one fix round) and lead review are in
docs/features/ifdef-folding/README.md. Not seen in a running editor.
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.4) and
editors/vscode/CHANGELOG.md.
Gates: tools/gates.sh PASS on this tree, lucisv_server 1977/0.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
TODO §71.8. TODO, FIXME, FIX_ME and TBD inside // and /* */ comments are
drawn bold in a new theme colour (lucisv.commentKeyword), as whole words and
never in strings or code; lucisv.commentKeywords.custom adds the user's own
words, .builtIn switches the four off, .caseSensitive ignores case, all live.
Client-side editor decorations: commentScan.js finds comments with the
grammar's own comment and string rules (0 mismatched lines against
vscode-textmate over OpenTitan hw's 1 185 823 lines), commentKeywords.js
matches literally over the visible lines only, with the block-comment state
cached per document.
The brackets sometimes coloured inside comments are VS Code's bracket-pair
colourisation before background tokenization completes, not lucisv (grammar
and semantic tokens measured clean); explained in the notes, not changed.
Dev, QA (pass with findings, one fix round) and lead review are in
docs/features/comment-highlighting/README.md. Not seen in a running editor.
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.3) and
editors/vscode/CHANGELOG.md.
Gates: tools/gates.sh PASS on this tree (20261119-050504), node 37/0.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
TODO §71.6. The rows leading to the file being edited are lit in the
extension's Hierarchy pane: every instance of the module the open file
declares in a light, bright orange with a solid bar and a bold label, each
ancestor a shade dimmer with a narrower bar, down to a floor. A pure module
(hierarchyCurrent.js) computes each module's distance with one breadth-first
search up the instantiation graph; the webview repaints only the rows whose
level changed, with no server request and no tree rebuild. Six theme colours
under contributes.colors and the setting lucisv.hierarchy.highlightCurrent.
hierarchyPalette_test.js computes label contrast (>= 4.5:1 on every level,
six built-in themes) and neighbour distinctness from the shipped defaults.
Dev, QA (pass with findings, one fix round) and lead review are in
docs/features/hierarchy-current-path/README.md. Not seen in a running editor.
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.2) and
editors/vscode/CHANGELOG.md.
Gates: tools/gates.sh PASS on this tree (20261119-043114), node 12/0.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
The release workflow runs tools/gates.sh (after ensuring the cached corpus)
before it builds anything, so a tag whose tree fails a gate publishes
nothing; until now only the branch push was checked, by a workflow the
release did not wait for. No product change: the packages are 0.65.0
rebuilt, plus the test-only import fix in 5c00b70.
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.1) and
editors/vscode/CHANGELOG.md. tools/RELEASING.md and docs/topo.md describe
the gated workflow and the new lustudio-arm64 runner.
Gates: tools/gates.sh PASS on this tree (target/gates/20261119-032522),
all fifteen steps, corpus 814/6.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
Rust 1.100's clippy reports it under -D warnings, which failed the ci
checks job on the new lustudio-arm64 runner. Test-only; no behaviour
change.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.0) and
editors/vscode/CHANGELOG.md. TODO §69.
Gates: no local cargo/tools/gates.sh run on this Windows host (the release
relies on Gitea CI). Locally: all 10 VS Code extension node tests pass
(including the new semanticTokens_test.js, 75 checks).
Add AST-guided semantic token overrides in lucisv_server/src/tokens/instantiation.rs
and cross-file overlay lookup in tokens.rs without changing the 14-type wire legend:
- module/interface/extends names -> class (pkg:: prefixes -> namespace)
- parameter-list # (never delays), .PARAM overrides and parameter values -> parameter
- instance names (declarations, gate instances, bind lists, hierarchical uses) -> function
- named port connections (.port, implicit .port, .*) -> property
- port connection signals -> variable
Enable editor.semanticHighlighting.enabled by default for [verilog] and
[systemverilog] in editors/vscode/package.json and contribute semanticTokenScopes
so every role renders with a distinct, non-white colour across VS Code themes.
Add editors/vscode/semanticTokens_test.js (75 checks, passing under node --test).
Rust tests/fmt/clippy deferred to Gitea CI (no cargo toolchain on this Windows host).
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.64.0) and
editors/vscode/CHANGELOG.md. TODO §68.1, §68.2.
Gates: no local tools/gates.sh run (owner's call, 2026-11-09: the release
relies on Gitea CI). Locally: every crate suite green in the lanes' dev
and QA runs, corpus 814/6, and on this commit's tree the release
lucisv-server and lucisv-mcp pass smoke.js / mcp_smoke.js (both modes)
and the node tests (9 files). Not yet seen in a running VS Code.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
Parser (tolerant mode only, parser/recover_list.rs): a lone '.', a
'.name(' left open at its line end and a trailing ',' in a named list are
recovered inside their entry — always a diagnostic, never silent; strict
mode and valid code are unchanged (1 026 inputs old vs new: identical
strict results and trees, byte-identical CLI output; corpus 814/6).
Server (state/port_grace.rs): diagnostics that start inside the entry the
last edit touched, in a named-connection list of an instance, are withheld
for 1.5 s and released by the loop's timeout, an edit elsewhere or a save;
a pulling client that supports it gets workspace/diagnostic/refresh.
A trailing ',' in a named list is now reported in tolerant mode too.
Dev + QA (Opus 5.5); QA failed one gate (lucisv_mcp qa_f1), one fix
round, re-check passed: parser 521, server 1954, mcp 383, formatter 352.
Not yet seen in a running VS Code. docs/features/port-entry-grace; topo
rows for §68.1 and §68.2.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
Server (lucisv_server only): on_type/auto_end.rs — the newline answer
adds the owed end at the owning statement's indentation (lucisv.autoEnd);
always_ff @( / always @( ghosts and popup templates lead with posedge clk
or negedge rst_n; completion tiers put names declared and used in this
buffer ahead of the index, templates and keywords (completion/buffer.rs);
inline/keywords.rs ghosts the rest of a keyword and follows the popup's
selected entry (lucisv.inlineKeywords); connection items keep connected
ports as a second group marked 'connected' and insert name($1), pre-filled
with a same-named signal (completion/connection.rs).
Extension: typing.js sends the newline on-type request itself when
editor.formatOnType is off and restores the cursor; the inline-completion
context is converted to LSP shapes.
Dev + QA (Opus 5.5) + one fix round; unit 1823, e2e 102, node 9 files,
smoke OK. Not yet seen in a running VS Code.
docs/features/completion-ux.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.63.1) and
editors/vscode/CHANGELOG.md. TODO §67.
Gates: no local tools/gates.sh run; lucisv_server's folding tests (16),
clippy and fmt are clean locally, and the release relies on the Gitea CI
run (owner's call, 2026-11-09).
Co-Authored-By: Claude Fable 5.2 <[email protected]>
configurationDefaults for verilog and systemverilog:
editor.stickyScroll.defaultModel = foldingProviderModel and
editor.stickyScroll.maxLineCount = 10. The outline model pinned only the
module header; the server's folds already start on each layer's first
line. A folding test pins the owner's example (module, always, case,
case item, if). Not yet seen in a running VS Code.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
The v0.63.0 release build failed at tools/release.sh's server smoke test:
smoke.js still expected rangesFormatting to re-indent a named line to the
configured depth. Selection formatting keeps a block's written leading
whitespace, so the probe now checks that the named fork is re-laid from
its own two spaces, the named wire stays put and the unnamed block keeps
its bytes. Checked against a local release lucisv-server (smoke: OK).
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.63.0) and
editors/vscode/CHANGELOG.md. TODO §66.1, §66.2.
Gates: the local tools/gates.sh run was not green — vlog_semantic and
vlog_refactor were killed on the 300 s wall clock (a stuck syspolicyd made
each new test binary take up to 40 s to launch); every test that ran
passed, and both suites passed in full when re-run piecewise on d8119aa.
By the owner's call the release relies on the Gitea CI run.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
textDocument/rangeFormatting, rangesFormatting and the on-type ';' now
format the selected block in place of the enclosing module-level item;
the reply is still one whole-document edit. On-type ';' now answers in a
buffer whose error is elsewhere and adds no final newline. topo: the
server → formatter edge and the selection-formatting row.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
A splice: the smallest run of sibling items/statements the selected lines
cover is laid out alone (Printer::print_at with the written leading
whitespace as the base) and replaces its own bytes; the parent is not
re-laid. Whole-file verify_equivalence and convergence still gate the
result; verify.rs is unchanged. A file that does not parse is formatted
when the error lies outside the target. Descent stops only on a unit's
first line; the closing end line alone names its unit. CRLF kept,
including after a trailing // comment. Module-level targets defer to
format_range, which the CLI's --lines still uses.
36 tests in tests/selection.rs; docs/features/selection-formatting.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
editors/vscode/language-configuration.json for both verilog and
systemverilog: // and /* */, bracket pairs, auto-closing and surrounding
pairs. TODO §66 planned (66.1 here, 66.2 selection formatting).
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.62.0) and
editors/vscode/CHANGELOG.md. TODO §65.2 (closed by ruling), §65.3, §65.4.
Gates: tools/gates.sh PASS on 9dc567c (15 steps, 5 180 tests, corpus
814/820); CI green on 9dc567c.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
`tb.dut.g_sw[0].buf_q` written in a file that does not declare `tb` now
resolves like an instance path: the binder marks a dotted path's head
(Target::PathHead), resolve/root.rs answers a plain lexical miss with a
hierarchical external candidate, head_site roots the spine there, and
fold_path walks it — every hop a module/interface surface. find_references,
LSP references and rename see every segment; $root.tb works; a local `tb`
shadows. FACTS_FORMAT 22.
Rooted only when the root is provable (owner's ruling: conservative): not
when the head has an import candidate (so `import uvm_pkg::*` with uvm_pkg
outside the project stays warned — opentitan's DV force paths behave as
before), not from inside a class, not beside a macro that stands where a
declaration could (item, statement, port list), not when the root name is
also a package or ambiguous. The LSP rename set adds the files of the
path's root and middle hops (sources.rs, WorkspaceIndex::path_units_to).
An unresolved path is warned once.
QA (Opus) x2: F1-F4 and R1 silent-wrong-rename shapes fixed with tests;
QA's attack cases 1-6 each warned or correctly renamed; lucisv check hw
byte-identical to master. Completion after `tb.` deferred (TODO §65.8).
tools/gates.sh: PASS, 15 steps, 5 180 tests, corpus 814/820.
docs/features/top-rooted-paths.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
guard.sh fixes (both ours): the memory sum never saw a process three or
more levels down the tree (a doubled space became an empty entry in the
`ps -p` list, which macOS rejects whole), so cargo -> rustc -> linker and
test-spawned servers were never memory-limited — QA re-proved 1.5 GB at
depth 3/4 missed by master, killed in 2-4 s now; a closed stdin skipped
the command silently, now /dev/null. The stall itself is the host's
(syspolicyd on fresh unsigned binaries).
tools/gates.sh runs fmt, clippy, the test build, one suite per workspace
crate, the doc-tests, the corpus gate and the node tests as separate
guarded steps with kept logs and per-step limits; a guard-killed step is
retried once and shown as KILLED -> retried; usage errors exit 2 (lead
fixes after QA: comments/one-line/glob members, an empty crate list, a
missing option value, an empty selection). RELEASING.md step 3, CLAUDE.md
and the README's Building section point at it.
Ten consecutive green runs recorded (healthy host); full gate on master:
PASS, 15 steps, 5 127 tests, corpus 814/820. QA (Sonnet): PASS.
docs/features/release-gates.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Root cause (lane A): not the fan-out. The default index scope (`folder`,
depth 2) opened from hw/ip/aes/dv/tb/tb.sv indexes hw/ip/aes only, so the
three *_pd_main.sv tops are never walked; with index.scope "workspace" the
LSP answers 14/12, equal to the whole-set engine. Ruled out: the 1 MiB cap,
autogen/ignore rules, the multi-line instantiation. The owner kept the
design; the index.scope setting now says a rename of a module instantiated
outside the scope leaves those sites unchanged.
Tests: server/tests/references_scope.rs (3: the LSP equals the engine over
the same file set in both scopes, a module rename reaches the top under
`workspace`), tests/opentitan_references.rs (2, ignored: 14/12 workspace,
11/9 default). lucisv_server 1 865 passed, 0 failed; node 8/8.
docs/features/references-fanout-pd-main.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); the notes are in CHANGELOG.md (## 0.61.0) and
editors/vscode/CHANGELOG.md. Gates on the tree: fmt and clippy -D warnings
clean, lucisv_server 1 862 passed 0 failed, per-crate suites green at
ca83f6f, node tests 8/8; CI checks green on 31b7db1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Show Call Hierarchy was empty in VS Code unless the cursor sat on a module
name. prepareCallHierarchy now answers on an instance name (its module),
on a function/task declaration, call or end label (a FUNCTION/METHOD item
with data {kind,name,offset}), inside a function/task body (that one), and
inside a module/interface/program (the enclosing module). Function/task
items: incomingCalls = call sites grouped by the enclosing function/task or
unit, over the same files references reads; outgoingCalls = resolved
callees (system tasks and unresolved names skipped). A function's bare name
in its own body is its result variable, not recursion. Module items keep
instantiation edges, byte-identical. prepareTypeHierarchy answers the
enclosing class inside a class body and the base on `super`.
QA (Opus): old module answers identical at 3 137 positions; outline,
definition, references, hover unchanged at 1 340 queries; findings fixed in
a rework (outgoing over a closed 300-function package 3.0 s -> 18 ms). Two
e2e assertions that pinned the old null flipped (lead's handshake).
lucisv_server 1 862 passed, 0 failed; fmt, clippy -D warnings clean.
docs/features/call-hierarchy-everywhere.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
VS Code's built-in references pane cuts each preview to ~8 characters
before the match. lucisv.references.show runs the same reference and
definition providers and fills a tree view in the lucisv sidebar: one row
per file (current file first), one row per reference with the trimmed full
line and the identifier highlighted, the declaration marked; a click
selects the exact range. The setting lucisv.references.fullLineView
(default true) binds Shift+Alt+F12 to it in verilog/systemverilog editors
only; Shift+F12 peek is untouched. Closed files are read with
workspace.fs, so no didOpen reaches the server.
QA (Sonnet): PASS with 4 lows (recorded). Node tests 8/8. tools/RELEASING.md
must-ship list names every runtime module (lane handshake).
docs/features/vscode-references-view.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
editors/vscode/package-lock.json said 0.10.2 since 0.10.2; it is 0.60.0
now, and tools/release.sh refuses to build when package.json or either
package-lock.json version differs from `lucisv --version`.
docs/repository-analysis.md: refreshed against 58520e5 (v0.60.0) — a status
row per release 0.50.0-0.60.0, nine MCP tools (five read-only), codec 21,
the generate-block and home-set contracts, the §55 split, and the current
open limits (§65.2-§65.6, review L-5-L-11, handshakes 31/32).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
state/mod.rs 986 -> 63 production lines: document.rs (one analyzed
buffer), buffers.rs (open buffers), views.rs (closed-file view cache),
scope.rs (roots, settings, scope ladder), rescan.rs (scan and widen
protocol, 411), incremental.rs (one saved file re-indexed), sources.rs
(file sets for refactorings, 170). The 3 944-line inline test module moved
to state/tests/ (14 topic files). No function body changed; only forced
pub(super) widenings. Lead's line-multiset check: no code line lost or
added. CLAUDE.md measurement refreshed (2026-10-14); a stale test path in
server/tests/folders.rs corrected.
Gates on the merged tree: fmt and clippy -D warnings clean; lucisv_server
1 823 passed, 0 failed, 38 ignored (= before); the lane's workspace run 80
suites, 5 078 passed. Refactor dev Claude Fable 5.1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- L-1: an unowned block's closing label is a use of a same-named block only
for block constructs and only when it spells the construct's own opening
label (use_block_end_label); a mismatched `end : a` or an `endfunction : g`
beside block `g` records nothing.
- L-2: duplicate-declaration stays silent for two block labels only when
both may be arms of one generate if/case; sibling `for` blocks and a
procedural block beside a generate one are reported in either order.
OpenTitan check: 1 158 findings, identical to 0.60.0.
- L-3: a block comment between `.` and the name is still dotted.
- L-4: a bind file that does not lex counts as binding (K2); a pasted
fragment that does not lex is said, not skipped.
- L-12: no unchecked slice in rename/arms.rs.
- L-13: expand/ansi/inline/extract messages name files by Scope::name_of.
7 tests (L-3/L-4's fail with the fixes disabled). Per-crate suites under the
guard: 80 suites, 5 085 passed, 0 failed, 51 ignored (one combined run was
cut at 1 800 s in vlog_refactor/tests/corpus.rs with syspolicyd at 95 % —
the §65.3 stall).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Version bump; the notes are in CHANGELOG.md (## 0.60.0) and
editors/vscode/CHANGELOG.md. TODO §65.1 plus the independent review's
H-1/H-2 and M-1/M-2 fixes. Gates on the tree: fmt and clippy -D warnings
clean, workspace lib/bins/tests 80 suites 5 078 passed 0 failed, node tests
6/6; doc-tests and the corpus gate run in CI.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
generate-label-rename README: "What changed" covers reworks 1-5 and the
review fixes; the stale "engine and verifier unchanged in code" claim is
replaced (what a rename rewrites is unchanged; the verifier gained no
normalization, only path-qualified file names). Status lists reworks 2-5,
P1/P2, §65.6 and the review; work log entries for M-2 and M-3, including
that QA's P1/P2 were fixed in the tree with no log entry. refactor-rename
README: dated correction. topo row 40: second half answered by row 43.
CHANGELOG: the two scoping bullets merged into one that matches rework 5
plus the H-1/H-2 fix. qa_warning_scope.rs P1/P2 test comments and the
rename module doc updated (comments only; that suite: 24 passed).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Scope::name_of scanned every source on each call, and the define and
macro-argument warning scans named every file of the set before looking for
a site — two quadratic passes. scope::BaseNames counts base names once (kept
on Scope and on the port offers' Files; name_among folded into it).
OpenTitan engine probe, whole hw, entropy_src_main_sm.state_q: 2.95 s ->
2.23 s (defines 326 -> 7 ms, macro arguments 394 -> 77 ms), the same 47
warnings. Workspace: 80 suites, 5 078 passed, 0 failed, 51 ignored; clippy
-D warnings clean.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
fragment_use_warnings ignored the rename's edits, so renaming module `m`
while `all.sv` includes `m.sv` and `n.sv` rewrote `n.sv`'s instantiation and
still warned "n.sv:2: `m` is used in a file that includes `m.sv` … and was
left unchanged". Tokens covered by an edit in that file are skipped.
Test: rename_warning_scope.rs (fails with the skip disabled). Workspace:
80 suites, 5 077 passed, 0 failed, 51 ignored (first run cut by the guard at
1 800 s launching a fresh test binary — the §65.3 stall; re-run green).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The home-set scoping dropped a bare macro argument outside the home set
whatever the macro did with it, and never saw a `bind` produced by a macro —
silent missed renames, regressions against 0.59.0 (`CONN(state_q)` building
`.state_q(state_q)` broke the instantiation without a word). New
rename/carry.rs decides per macro and formal position whether an argument is
carried: after a `.` (past blanks and pastes), into a carried position of
another macro, or by a macro that expands to a `bind` into the unit (every
position; its body is news and a file invoking it is home). An undefined
macro's arguments, one past the formals and a macro cycle are doubt and said.
Tests: tests/rename_macro_carry.rs (8), carry.rs unit tests (4). Workspace
lib/bins/tests: 80 suites, 5 076 passed, 0 failed, 51 ignored (guard exit 0).
OpenTitan engine probe against carrying disabled: state_q 47 = 47,
StIdle 0 = 0, cnt_q 13 = 13 warnings, timing unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A path segment naming a block (bare, indexed, nested, cross-file) is now a
reference to its label: vlog_semantic declares a `for` block's label in the
enclosing scope, makes `generate … endgenerate` no scope, gives a block a
member scope, walks an index in a path, and files blocks on a module's
hierarchical surface under `module.label` (FACTS_FORMAT 21). The LSP, CLI
and MCP rename/references get it through the engine; lucisv-mcp's `block`
refusal is lifted. No verifier normalization (attacks in
check/qa_block_paths.rs, qa_block_attacks.rs).
Reworks after QA: unresolved path segments warned in every file of the set;
sibling-arm members warned; a label beside a net is a duplicate-declaration;
function-local block keys never collide; file names path-qualified when base
names collide; rename warnings and lucisv-mcp mentions scoped to the
declaration's home set (rename/home.rs, scoped.rs), falling back to unscoped
on any doubt. TODO §65.4 and §65.6 filed.
docs/features/generate-label-rename. Workspace lib/bins/tests: 79 suites,
5 064 passed, 0 failed, 51 ignored (guard exit 0).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Version bump; the notes are in CHANGELOG.md (## 0.59.0) and
editors/vscode/CHANGELOG.md. Gates: fmt and clippy -D warnings clean,
72 suites + 6 doc suites (4937 passed, 0 failed), corpus 814/820,
node tests 6/6.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Round 5 found `hierarchy up` + `peek` cut to 20 of 77 instantiations by
the 300-line cap. Same-day base controls put read-only mode at parity
with file tools (a +8 %, d −8 %) and show the base arm itself moved
22–29 % in six days.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
The mode filters the registry; an edit tool name answers unknown-tool.
Extension setting lucisv.mcp.mode (full | read-only; any other value is
read-only and logged), label and copy-config key lucisv-ro, both smokes
in the release script. Tests: tests/read_only.rs, QA lane tests/qa_m8.rs.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Version bump; the notes are in CHANGELOG.md (## 0.58.0) and
editors/vscode/CHANGELOG.md. Gates: check/fmt/clippy clean, 4922 tests
passed 0 failed (75 suites), corpus 814/820 (baseline).
Co-Authored-By: Claude Fable 5.1 <[email protected]>
hierarchy (file:line per instance, peek), find (every declaration by
name, refs + unresolved mentions), outline, read, check, rename, port,
edit_item, format. Name lookup reaches every declaration the symbol
tables hold (tools/declared.rs); rename of a generate-block label is
refused (engine gap filed as topo §2.9 MCP-14). Text-only results,
engine sentences made root-relative. Tests ported or deleted per the
README; QA lane in tests/qa_m7.rs. Docs, smoke gate, release notes
(0.58.0 unreleased) updated.
Co-Authored-By: Claude Fable 5.1 <[email protected]>