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]>
Every tracked file that can carry a comment (880 of them) now opens with
"Author: Guoliang Chen, a Senior Digital Design Engineer" and closes with
"Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love,
luciochen.com", in the file's own comment syntax. No behaviour change: the
diff outside the version bump and changelogs is comment lines only.
- tools/stamp_author.py: writes the lines; idempotent, `--check` lists
what is missing. Headers go under a shebang and under Markdown front
matter.
- Left alone: test fixtures, cases and snapshots (byte-exact inputs), JSON
and JSONL, logs, images, lockfiles, docs/site/dist (regenerated) and the
LICENSE files (already carry the copyright line).
- tools/linux_check.sh: --help reads its header from line 3, now that the
author line sits under the shebang.
- tools/gates.sh green on this tree: 5 545 tests, corpus 814/6 as before.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
A multi-line module instantiation now answers folding ranges, so VS Code's
sticky scroll pins it (TODO §72, docs/features/instance-folding): one range
from the module-type line, and one more per instance from the line its name
is on when that is a later line, so both `aes_control_fsm #(` and
`) u_aes_control_fsm (` stay pinned inside the connection list. The closing
`);` line stays visible.
- folding/instances.rs: what is an instantiation comes from
vlog_semantic::instantiations::sites; where it closes is re-read from the
tokens, and a statement whose tokens are not exactly that shape folds
nothing.
- folding.rs: in_answer_order is a stable sort by start line over scopes,
branches, instances; every earlier fold is unchanged and first on a shared
start line (0.66.0 against this tree on 4 933 files: identical once the
instance folds are removed).
- OpenTitan hw: 18 200 multi-line instantiations, none without its fold.
- Not folded: two-dimensional instance arrays; an instance whose head an
`ifdef splits.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
Closes TODO §71: eight owner-ordered features shipped as 0.65.2–0.65.11.
No engine change since 0.65.11.
- docs/topo.md refreshed through 0.65.11: contracts, server-lane edges,
packaging rows, open handshakes 44–66, new modules, choke points; stale
FACTS_FORMAT and state.rs references corrected.
- CLAUDE.md: file sizes re-measured.
- Feature READMEs: five stale facts corrected.
- large.rs: the two linear-time tests re-measure up to three times before
failing (0.65.11's Linux CI run read 24.9x against a 24x limit under load).
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
A hover, definition, type definition, highlight, prepare-rename or signature
help on a name the file itself declares, and the outline, folding and
selection ranges, are answered from the open buffer ahead of a scan, a
rescan or a widen (server/ahead.rs, same_file.rs). The precondition is stated
once, on Server::answer_from_the_buffer; ahead::REACH lists the notifications
proved unable to change a buffer and everything else blocks.
Completion offers what the file can reach (imported package members,
inherited class members, included headers' macros) right after its own names
(completion/related.rs), and its answers are half the size (completion/wire.rs).
A new largeFile.threshold re-classifies buffers already open. The client's
answer to a settings pull is now ordered like a notification (amends
scan-ordering); colours answered while anything is held count as unsettled.
TODO 71.2. Four dev rounds, four QA rounds; the last ran with Fable 5.2 as
dev and QA after two QA failures. docs/features/fast-actions.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
TODO §71.3. On OpenTitan the first colours of a newly opened file waited
600-700 ms for the index (building them takes 0.3-6.5 ms), a rescan held
them for most of a second, and the first answer, built from a half-finished
index, was never corrected.
- server/viewport.rs: semanticTokens range, full and full/delta for a buffer
whose text is current are answered from that buffer alone before the
request would be held — when no change for it is queued anywhere (held,
71.7's behind count, set aside ahead of it in its burst) and it is not
dirty. The handler reads only that document and the remembered token
answer. Built on 0.65.8's must_hold; the lane's own queue tracking is gone.
- server/index.rs: open_then_widen applies the didOpen, answers the burst's
colour requests, then widens; reindex_widened answers colour requests
between its files.
- One workspace/semanticTokens/refresh once the index settles, when an early
answer differed or was a guess; only for clients with refreshSupport, which
are also the only ones given early full answers.
- tokens.rs: range classifies only the window's tokens (+1 each side) and
skips AST items outside it; large.rs's line window is shared.
First colour 2-39 ms (was 600-700); folder-scope late open 611-641 -> 2-32
ms; rescan hold 325-791 -> 70-159 ms. 96.8 % of early tokens already match
the settled answer; the rest resolve through the index.
Dev (two rounds), QA (two rounds: ~10 000 token answers against an exact
oracle, 978 non-colour answers identical to base) and lead review:
docs/features/viewport-highlight/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.10) and
editors/vscode/CHANGELOG.md.
Gates: tools/gates.sh PASS on this tree including cross;
lucisv_server 2052/0.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
TODO §70, closed.
- lucisv_mcp/src/project/files.rs: Stamp's racy rule (re-check by content a
stamp taken too close to a timestamp it trusts) covered the mtime alone.
On Linux, where ctime moves in 1 ms ticks, a same-size rewrite that
restored the old mtime inside the tick of the server's read matched in
every field and index-based answers came from the old text indefinitely.
The rule now covers every trusted timestamp (mtime, and ctime where there
is one), the window is 3 s, and a wall clock stepped back since the read
distrusts the stamp. The decision is a pure compare(Seen, Clocks) with
deterministic unit tests.
- Test-only: two stdin helpers tolerate BrokenPipe on the write to a child
that exits before reading (lucisv cli.rs, lucisv_mcp qa_m8.rs); the
didOpen latency test's budget is six parses of the same buffer, not 200 ms
(lucisv_server e2e.rs); qa_m3's server is spawned before its checker
thread, which removes a hang on a pipe inherited across threads on macOS.
- .gitea/workflows/ci.yml: a linux job on the luhpe-linux-x64 runner —
clippy and cargo test --workspace on Linux x86-64.
- docs/features/mcp-transport describes the new rule and what it cannot see
(Windows has no ctime; writable mmaps).
Linux: whole suite green 10/10 as root and 10/10 as a user (dev), 6/6 and
6/6 (QA). QA reproduced the stale read on 0.65.8 (65/65, 87/87 when the stat
was identical) and got 0 here. Dev, QA and lead review:
docs/features/linux-test-portability/README.md, Round 2.
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.9) and
editors/vscode/CHANGELOG.md.
Gates: tools/gates.sh PASS on this tree including cross; lucisv_mcp 388/0.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
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]>
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]>
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).
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]>
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]>
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]>
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]>
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]>
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]>
Version bump across the four files, the extension page's version
strings, and the changelog: the seventh .vsix carrying every platform's
binaries chosen at runtime, the consolidated seven-package release
flow, and the Marketplace-grade extension page.
Co-Authored-By: Claude Fable 5 <[email protected]>
Version bump across the four files (package-lock.json's two spots had
drifted since 0.7.2 and are trued up here) and the changelog section:
five platform-specific .vsix packages with the binaries embedded, and a
release page that ships exactly those packages plus the universal
fallback.
Co-Authored-By: Claude Fable 5 <[email protected]>
The corpus job scores the pinned-rev corpus (cached at
~/.cache/lucisv-corpus on the runner, fetched once on a miss) on every
push and fails below scripts/corpus-baseline (813) or on any
verification error / crash. The release workflow now runs
tools/audit_artifacts.sh before publishing: musl must be fully static,
linux-gnu's glibc ceiling must stay <= 2.28 (RHEL 8), every file must be
the object format its name claims — verified against the 10 real v0.7.1
release binaries. Linux execution under Docker was considered and
declined: no container runtime on the runner. Version 0.7.2 with a
changelog covering this, the printer column fix and the README truth
pass.
Co-Authored-By: Claude Fable 5 <[email protected]>
.gitea/workflows/ci.yml runs fmt/clippy/test on every master push and PR
on the self-hosted mac-arm64 runner (host mode, brew-serviced act_runner).
.gitea/workflows/release.yml turns a vX.Y.Z tag into a Gitea release:
tools/release.sh --cross (Apple Silicon + x86_64 macOS, musl and RHEL 8
linux-gnu, Windows; both binaries; .vsix; SHA256SUMS), a tag-vs-version
check, tools/release_notes.sh (the CHANGELOG section becomes the notes;
missing section fails the release) and tools/publish_release.sh
(get-or-create + attach, re-run safe). Version bumped to 0.7.1 with a
changelog covering directive-split and this flow.
Co-Authored-By: Claude Fable 5 <[email protected]>
Inline templates (M15) and the linear pairs::analyze fix, released
together. Version bumped across workspace, extension and docs; changelog
entry; dist/ rebuilt for all five targets plus the vsix.
Co-Authored-By: Claude Fable 5 <[email protected]>
Hovering `NAME(args) now appends an expands-to section: the definition
the card already chose (single_step is blind to lookup, so they cannot
disagree) with parameters substituted by the call's arguments - one
step, so nested macro names stay as written. Strings, `" markers and
escaped identifiers are never substituted into; count mismatches,
unnarrowed multiple candidates and paren-less function-like uses get no
section rather than a guess; an empty argument takes the parameter's
declared default. 2000-char cap with a note. Version 0.5.0 closes the
M7-M14 navigation run with a CHANGELOG entry covering all eight.
Co-Authored-By: Claude Fable 5 <[email protected]>
VS Code's built-in default colour provider (editor.defaultColorDecorators,
default auto since 1.78) pattern-matches CSS-style hex in languages where
no extension provides document colours - so delay controls like #200 grew
RGB swatches. The extension now ships the language-scoped configuration
default "never" for [verilog] and [systemverilog]; user-overridable,
invisible to every other language. Diagnosis verified on the reporting
machine: no colour-provider extension installed, no server capability, no
user override.
Co-Authored-By: Claude Fable 5 <[email protected]>
Hover cards fence their declaration snippets as systemverilog markdown,
but VS Code colors fences with a TextMate grammar and the extension
deliberately shipped none - so hovers rendered plain. One compact
lookaround-free grammar (comments, strings closing at end of line, based
and fill and real and time literals, directives then macro uses, system
tasks, all 181 keywords generated from vlog_parser::KEYWORDS with a
mutation-checked drift test) registered for both language ids. Buffers
also gain colors before the server starts; semantic tokens still win once
it does. Fence tags are pinned as a contract in hover and completion.
Co-Authored-By: Claude Fable 5 <[email protected]>
A template tier between index names and keywords: if / if-else / else-if
(gated on the line head, so it appears after end but not after an
identifier), case and casez with default, loops, always_ff (plain and
reset variants), always_comb, always @(...), initial, and declaration
templates - logic/localparam/parameter in .sv, wire/reg/integer twins in
.v; pathless buffers get the conservative Verilog set. One renderer
spells each body as snippet and plain text so the two cannot drift, and a
registry-wide test parses every untouched expansion. Nine overlapping
static VS Code snippets moved server-side; file-level ones stay static.
Co-Authored-By: Claude Fable 5 <[email protected]>
The rainbow painted depth 3-5 pairs with editorBracketHighlight
.foreground4..6, whose VS Code defaults are fully transparent — a begin
typed three levels deep vanished with its end. The extension now uses
contributed vfmt.rainbow1..6 colors with opaque defaults in every theme
variant (dark/light/HC/HC-light), and vfmt/scopePairs additionally
reports genuinely unmatched begin/end/fork/join tokens, painted
vfmt.rainbowUnmatched bright red — file characters are never hidden.
Matched pairs, depths and 78eeef6's counting are unchanged.
Co-Authored-By: Claude Fable 5 <[email protected]>
Five completion tiers in one response: module skeletons (M4, unchanged
gate), scope-visible symbols with real kinds, workspace-index names and
`define macros (backtick-aware, never inventing punctuation), Verilog/SV
keywords (single-source KEYWORDS list factored from the lexer's table,
lexing unchanged), and token-harvested project words — comments and
strings contribute nothing and get no completions. Candidate tables build
with the index over the M1 scope ladder (94 ms / 860 files, ~1.4 MiB);
a keystroke answers in ~300 µs, budget-tested. Version 0.3.0 across the
workspace and extension, CHANGELOG covers the M1-M5 refactoring layer.
Co-Authored-By: Claude Fable 5 <[email protected]>
Version bumped to 0.2.0 (workspace-inherited, one line + lockfiles;
both binaries report it). Root MIT LICENSE plus the editors/vscode
copy that lets vsce package run without --skip-license, closing the
editor-packaging handshake. CHANGELOG.md is a user-facing first-
release document: six area paragraphs linking the feature READMEs,
stating the current corpus truth (476/820 formattable, zero
verification errors, zero crashes). tools/release.sh builds
checksummed host binaries + the sideloadable .vsix into gitignored
dist/ (aborts before deleting prior artifacts on failure -- proven
live); tools/RELEASING.md is the checklist, with marketplace/OpenVSX
commands demoted to an explicitly optional appendix per the owner:
publishing is fully deferred, sideloading via code
--install-extension is the supported path, publisher stays
REPLACE-ME.
Dev: Opus agent (mid-flight scope trim handled cleanly); QA: Sonnet
agent (artifacts, real sideload cycle, all 26 changelog links);
review in docs/features/release-prep/README.md.
Co-Authored-By: Claude Fable 5 <[email protected]>
editor-packaging: a minimal VS Code extension (41-line plain JS on
vscode-languageclient =9.0.1, one setting vfmt.serverPath, languages
verilog/systemverilog) with a zero-dependency smoke.js that validates
the extension's exact spawn contract against the real binary, plus
Neovim/Vim/coc setup docs (including the load-bearing
vim.filetype.add — Vim maps *.v by content heuristic and *.vh not at
all). Everything headless-validatable was validated: the .vsix
builds, smoke passes with negative controls, npm ci reproduces.
vfmt-core-lift: config.rs and walk.rs moved to a new std-only
vfmt_core crate as byte-identical 100% renames (CLI suite untouched,
corpus TSV md5 equal from HEAD and lifted builds). The LSP server
now discovers vfmt.toml per document with precedence config > client
tabSize > built-in default (an editor default is not a deliberate
override), warns once per document change on a broken config while
formatting with defaults, and scans the workspace with the lifted
gitignore-aware walk. QA drove every claim live over stdio.
With these, every TODO §6 item is delivered: spans, tolerant
parsing, define table, single-file semantics, workspace index, the
server, and both editors. Lead trued up the caveats this round made
stale across five documents.
Dev: 2 Opus agents; QA: 2 Sonnet agents; reviews in
docs/features/{editor-packaging,vfmt-core-lift}/README.md.
Co-Authored-By: Claude Fable 5 <[email protected]>