Commit Graph
27 Commits
Author SHA1 Message Date
Guoliang ChenandClaude Mythos 5.2 dbb2349267 Release 0.65.7: 0.65.6, built for every platform
ci / checks (push) Successful in 54s
ci / corpus (push) Successful in 15s
release / build-and-publish (push) Successful in 5m19s
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]>
2026-11-19 10:52:35 -08:00
Guoliang ChenandClaude Mythos 5.2 948f8a0b32 Release 0.65.3: comment keywords, and the brackets in comments explained
release / build-and-publish (push) Successful in 5m28s
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]>
2026-11-19 05:06:35 -08:00
Guoliang ChenandClaude Mythos 5.2 e9f5090632 Release 0.65.2: the Hierarchy pane shows where you are
ci / checks (push) Successful in 52s
ci / corpus (push) Successful in 15s
release / build-and-publish (push) Successful in 4m59s
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]>
2026-11-19 04:32:43 -08:00
Guoliang ChenandClaude Mythos 5.2 88546c8b4e Release 0.65.1: releases are gated
ci / checks (push) Successful in 52s
ci / corpus (push) Successful in 15s
release / build-and-publish (push) Successful in 5m5s
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]>
2026-11-19 03:26:51 -08:00
lucioandClaude Opus 5.5 92875e6c6d TODO §65.3: tools/gates.sh, the release gate; guard.sh enforces memory at every depth and runs with a closed stdin
ci / checks (push) Successful in 1m34s
ci / corpus (push) Successful in 38s
guard.sh fixes (both ours): the memory sum never saw a process three or
more levels down the tree (a doubled space became an empty entry in the
`ps -p` list, which macOS rejects whole), so cargo -> rustc -> linker and
test-spawned servers were never memory-limited — QA re-proved 1.5 GB at
depth 3/4 missed by master, killed in 2-4 s now; a closed stdin skipped
the command silently, now /dev/null. The stall itself is the host's
(syspolicyd on fresh unsigned binaries).

tools/gates.sh runs fmt, clippy, the test build, one suite per workspace
crate, the doc-tests, the corpus gate and the node tests as separate
guarded steps with kept logs and per-step limits; a guard-killed step is
retried once and shown as KILLED -> retried; usage errors exit 2 (lead
fixes after QA: comments/one-line/glob members, an empty crate list, a
missing option value, an empty selection). RELEASING.md step 3, CLAUDE.md
and the README's Building section point at it.

Ten consecutive green runs recorded (healthy host); full gate on master:
PASS, 15 steps, 5 127 tests, corpus 814/820. QA (Sonnet): PASS.
docs/features/release-gates.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 06:13:28 -07:00
lucioandClaude Opus 5.5 5e4af0be3d VS Code: Find All References with whole source lines (lucisv References view)
VS Code's built-in references pane cuts each preview to ~8 characters
before the match. lucisv.references.show runs the same reference and
definition providers and fills a tree view in the lucisv sidebar: one row
per file (current file first), one row per reference with the trimmed full
line and the identifier highlighted, the declaration marked; a click
selects the exact range. The setting lucisv.references.fullLineView
(default true) binds Shift+Alt+F12 to it in verilog/systemverilog editors
only; Shift+F12 peek is untouched. Closed files are read with
workspace.fs, so no didOpen reaches the server.

QA (Sonnet): PASS with 4 lows (recorded). Node tests 8/8. tools/RELEASING.md
must-ship list names every runtime module (lane handshake).
docs/features/vscode-references-view.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 14:14:11 -07:00
lucioandClaude Fable 5.1 b757e82161 MCP M8: read-only mode — lucisv-mcp --read-only lists five read tools (1 797 bytes), never writes inside a root; full mode unchanged
ci / checks (push) Successful in 1m50s
ci / corpus (push) Successful in 52s
The mode filters the registry; an edit tool name answers unknown-tool.
Extension setting lucisv.mcp.mode (full | read-only; any other value is
read-only and logged), label and copy-config key lucisv-ro, both smokes
in the release script. Tests: tests/read_only.rs, QA lane tests/qa_m8.rs.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-29 01:10:10 -07:00
lucioandClaude Fable 5.1 bfa8e98eb5 MCP M7: the lean catalogue — nine tools, 3 440 model-visible bytes, no dry_run/paging, short answers
ci / checks (push) Successful in 1m43s
ci / corpus (push) Successful in 36s
hierarchy (file:line per instance, peek), find (every declaration by
name, refs + unresolved mentions), outline, read, check, rename, port,
edit_item, format. Name lookup reaches every declaration the symbol
tables hold (tools/declared.rs); rename of a generate-block label is
refused (engine gap filed as topo §2.9 MCP-14). Text-only results,
engine sentences made root-relative. Tests ported or deleted per the
README; QA lane in tests/qa_m7.rs. Docs, smoke gate, release notes
(0.58.0 unreleased) updated.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-24 01:40:53 -07:00
lucioandClaude Fable 5.1 d4ec571958 MCP M5: lucisv-mcp ships in every platform vsix; the extension registers it with VS Code's agent mode; Agents guide
tools/release.sh builds -p lucisv_mcp for the host and every cross triple, stages lucisv-mcp[.exe] beside the two binaries (three per platform package, fifteen in the all-platforms one; the universal package still carries none), smoke-tests it (editors/vscode/mcp_smoke.js: initialize, tools/list ≥ 26, project_overview) loose and unzipped from the host and all-platforms packages; tools/audit_artifacts.sh audits the third name and rejects any other; prune_release_assets.sh unchanged (seven vsix names). editors/vscode/mcp.js: the three-rung binary ladder (lucisv.mcp.path → bundled → PATH), one McpStdioServerDefinition per workspace folder — the constructor is POSITIONAL (label, command, args, env, version) with cwd set afterwards; the plan's object form was wrong and is corrected — with `--root <folder> --index-cache <storage>`, refreshed on folder and setting changes, guarded so VS Code < 1.101 registers nothing but the command; a missing binary refused at resolve time with one output-channel line; the `lucisv.mcp.copyConfig` command puts the Claude Code / Cursor / VS Code snippet on the clipboard. package.json: contributes.mcpServerDefinitionProviders, lucisv.mcp.enabled/path, the command; engine stays ^1.82.0 (vsce 4 accepts). ci.yml runs node --test over the extension's unit tests. Docs: docs/site guides/agents.md with the tool table generated from the binary (site rebuilt), README paragraph, RELEASING.md, extension README/CHANGELOG (Unreleased), manual-acceptance rows 18–25 for the live-VS Code checks.

QA (Opus): API signature confirmed against VS Code 1.138's vscode.d.ts; 8 mutation checks caught by mcp_test.js; release.sh run end to end, vsix contents listed (three binaries, mcp.js, no test files), SHA256SUMS verified, the embedded binary smoke-tested, the vsix installed into an isolated profile. Gates: node --test 6/6, fmt clean.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-23 15:59:07 -07:00
lucioandClaude Fable 5 40094c4c4e lucisv-server --verbose: per-operation timing as a shipped toggle
ci / checks (push) Successful in 50s
ci / corpus (push) Successful in 21s
The hand-patched diagnostic build becomes a feature: --verbose gates
the timing lines (request answered / notification handled / HELD
behind a rescan / scan and widen lifecycle / flush / reindex_one, the
exact wordings of the two diagnostic builds) as LOG messages into the
client's output channel; without the flag not one line is sent and
the cost is one branch, measured unmeasurable against HEAD. Unknown
args exit 2 with usage before the transport opens. The extension
gains lucisv.verbose (default off) and its first restart-on-settings
machinery: restart.js, one serialized chain reconciling to the last
toggle, no client transition outside it — activation and deactivate
included — after QA twice caught the alternatives (a mid-start toggle
silently rejoining the stale start; deactivate's out-of-chain stop
orphaning a spawn). Headless node harness restart_test.js, 44 checks,
five mutations caught. Spawn contract amended everywhere it is
written: no args required, --verbose optional.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 01:44:56 -07:00
lucioandClaude Fable 5 cebb333bd7 All-platforms VSIX + the release flow consolidated in one script
A 7th package, lucisv-<v>-all.vsix, carries every platform's binary
pair under bin/<platform>-<arch>/ and the extension picks the right one
at runtime — flat bin/ (platform package) first, then the platform-arch
subdirectory, then PATH. Target-less on purpose, so Alpine and anything
else vsce refuses to name gets working static binaries. The release.yml
inline prune step moves into tools/prune_release_assets.sh, which now
requires all seven packages by name before anything is published.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-27 02:03:10 -07:00
lucioandClaude Fable 5 ec65e0831f CI release publishes the six extension packages only
ci / checks (push) Successful in 43s
ci / corpus (push) Successful in 20s
Owner decision: the release page carries the .vsix packages (each
platform package checked by name — a missing one fails the release —
plus the universal fallback) and SHA256SUMS, nothing else. The loose
binaries are still built and audited on the runner, since the packages
embed them, but no longer attached; standalone binaries are a cargo
build away. The new workflow step prunes dist/ after the audit and
filters SHA256SUMS to the packages, keeping the audited hashes, then
re-verifies. Prune logic tested against the real 0.10.0 dist with a
missing-package negative control; docs trued up in RELEASING.md, the
top-level README and both feature READMEs.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-27 01:07:34 -07:00
lucioandClaude Fable 5 a399f81ad9 Platform-specific VSIXs: five packages with the binaries inside
ci / checks (push) Successful in 41s
ci / corpus (push) Successful in 19s
release.sh --cross now cuts a .vsix per platform — darwin-arm64,
darwin-x64, linux-x64, linux-arm64 (new aarch64-musl cross target),
win32-x64 — each carrying lucisv and lucisv-server under bin/, staged
transiently with an EXIT trap and content-asserted with unzip. The
extension resolves a user-set lucisv.serverPath, then the bundled
server (chmod'ed on activation; VSIX extraction drops the exec bit),
then PATH; the universal no-binary .vsix stays as the fallback. The
host package's embedded server is smoke-tested out of the zip on every
release. docs/features/editor-platform-vsix has the full round.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-27 00:55:53 -07:00
lucioandClaude Fable 5 c556a13857 CI: corpus score is a gate, releases audit their artifacts; v0.7.2
ci / checks (push) Successful in 36s
ci / corpus (push) Successful in 26s
release / build-and-publish (push) Successful in 3m7s
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]>
2026-08-26 02:13:04 -07:00
lucioandClaude Fable 5 19253c105b CI on Gitea Actions: checks on push, full cross-platform release on tag; v0.7.1
ci / checks (push) Successful in 41s
release / build-and-publish (push) Successful in 3m12s
.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]>
2026-08-26 01:51:45 -07:00
lucio eeaffafd56 Rename the tool to lucisv (Language Utility for Coding In SystemVerilog) 2026-08-25 23:36:00 -07:00
lucioandClaude Fable 5 a284e33110 v0.7.0: aligned ghost text, designer trigger set
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-25 16:13:42 -07:00
lucioandClaude Fable 5 df53ecea2c v0.6.0: the ghost-text release
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]>
2026-08-25 14:55:53 -07:00
lucioandClaude Fable 5 382c114492 RHEL 8-compatible linux-gnu build in --cross
x86_64-unknown-linux-gnu joins the cross set, linked with the messense
toolchain whose sysroot caps the highest referenced symbol at
GLIBC_2.28 - RHEL 8's own glibc, audited on both binaries - with every
NEEDED library in a base install. The static musl build runs on RHEL 8
too; the gnu build exists for shops that require a native glibc link.
Setup and the symbol-audit command are in RELEASING.md.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-25 10:56:55 -07:00
lucioandClaude Fable 5 a9d73913f5 Cross-platform release: x86_64 macOS, Linux, Windows; author metadata
tools/release.sh --cross builds, next to the host Apple Silicon pair,
x86_64-apple-darwin (runs under Rosetta here, full smoke passed),
x86_64-unknown-linux-musl (static, no glibc dependency) and
x86_64-pc-windows-gnu (.exe depending only on DLLs Windows 10+ ships,
audited). The rustup stable toolchain is addressed by absolute path so
the Homebrew rust on PATH keeps owning day-to-day builds; the musl link
needs DYLD_FALLBACK_LIBRARY_PATH for rust-lld's libLLVM, the Windows
link needs mingw-w64's import libraries - both encoded in the script and
RELEASING.md so nobody rediscovers them. Author metadata: Cargo.toml
authors, package.json publisher guoliangchen + author, LICENSE holder -
all Guoliang Chen.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-25 10:33:15 -07:00
lucioandClaude Fable 5 d26f08335b Macro expansion M14: hover shows the one-step expansion; v0.5.0
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]>
2026-08-25 03:14:49 -07:00
lucioandClaude Fable 5 04be0cfb37 Color decorators 0.4.2: #200 is a delay, not a colour
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]>
2026-08-24 20:51:06 -07:00
lucioandClaude Fable 5 302b3ed443 Hover highlighting 0.4.1: ship a TextMate grammar
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]>
2026-08-24 20:15:47 -07:00
lucioandClaude Fable 5 e9b7510ca4 Templates 0.4.0: context-gated statement/item snippet completion
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]>
2026-08-24 17:28:31 -07:00
lucioandClaude Fable 5 ab89152264 Rainbow 0.3.1: never paint begin/end invisible; unmatched go red
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]>
2026-08-24 15:45:54 -07:00
lucioandClaude Fable 5 d8e37086df Refactoring M5: keyword + project-wide identifier completion; v0.3.0
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]>
2026-08-24 15:07:57 -07:00
lucioandClaude Fable 5 26a59c1d6a Add release-prep: vfmt 0.2.0, LICENSE, CHANGELOG, release tooling
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]>
2026-08-19 12:39:10 -07:00