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
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:
1 parent
2e9da208e3
commit
cfa8d82707
17 files changed
+508
-126
No files matched your search
+86
-61
@@ -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
|
||||
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user