• v0.57.0
    ci / checks (push) Successful in 1m38s
    ci / corpus (push) Successful in 34s
    release / build-and-publish (push) Successful in 7m12s
    Stable

    lucio released this 2026-09-23 23:25:56 -07:00 | 56 commits to master since this release

    The MCP block complete: structural edits, the server in the extension, cache reuse, and three census rounds

    • lucisv-mcp ships inside every platform package and VS Code's
      agent mode finds it with no configuration: the extension registers one
      server per workspace folder through mcpServerDefinitionProviders
      (VS Code 1.101+; older VS Code keeps working without it), passes it the
      folder as root and the extension's storage as the index-cache directory,
      and the command lucisv: Copy MCP server config puts the snippet for
      Claude Code, Cursor or a .vscode/mcp.json on the clipboard. Settings
      lucisv.mcp.enabled and lucisv.mcp.path. The Agents guide on the
      docs site lists every tool. (docs/features/mcp-packaging.)
    • Structural edits — the token saver. replace_item, insert_item
      and delete_item take one item's text, never the file: a module, an
      always block, a function, a declaration, selected the way read_item
      slices it. The block's own verifier refuses anything that changes a byte
      outside the item's lines, opens a block it does not close, closes the
      enclosing module, changes an item's kind, declares a name twice, splits
      an ifdef, alters a macro definition or a fence marker, or leaves a
      comment or string running into the code after it; delete_item refuses
      while a declared name is still used — by the engine, by a macro argument
      or define body, or through a .* binding — unless force is passed.
      45 QA attack tests. (docs/features/mcp-structural-edits.)
    • Warm start from the editor's index. With --index-cache DIR the
      server reads the language server's store read-only (never writes it),
      skips the parse of every file whose bytes it already describes, and
      keeps its own store beside it: opentitan startup 1.9 s → 0.8 s.
      (docs/features/mcp-cache-and-census.)
    • What three census rounds changed (mcp_analysis.md: four tasks,
      20 sub-agent runs on opentitan, with and without the server): every
      references, rename, add_port and remove_port answer now ends
      with the unresolved mentions of the name — strings, comments, macro
      text and macro-rooted paths no engine resolves — so a DV force path
      built as a string is no longer missed; every paged answer opens with
      N things (showing a–b) and the default limit is 500; the listing tools
      take an in path glob (ip/**/rtl/*.sv), which turns "who
      instantiates X under ip/, RTL only" into one call; add_port takes
      after to place the port where the file's style wants it; the tool
      catalogue is 40 % smaller; the instantiation template and hierarchy
      overrides are opt-in. Verdict: no wrong answer in 20 runs, 15 % fewer
      tokens on the whole-design question, small edits 4–19 % dearer, the
      cross-file rename complete where plain search had missed a site.
    • Filed for the engines, not fixed here: the parser's silence on a
      trailing , in a connection list, {d,, d} and type(x)'(y) in a
      connection; a false remove_port refusal on a same-file instantiation;
      extract_module writing LF into a CRLF file; a lint gap on a
      directionless header port; the LSP's references omitting three real
      aes instantiations in the *_pd_main.sv tops (docs/topo.md §2.9
      rows 35–42).
    Downloads
  • v0.56.0
    release / build-and-publish (push) Successful in 6m49s
    Stable

    lucio released this 2026-09-23 12:18:45 -07:00 | 64 commits to master since this release

    Rename keeps implicit connections bound; the MCP server, as a preview

    • Rename no longer cuts a .name or .* connection. Renaming a
      port d → din of leaf used to leave leaf u (.*) binding nothing
      and turn .d into .din against a parent with no net din; renaming
      the parent's net cut both bindings — and every case verified clean,
      because nothing records what an implicit connection binds. Now the
      binding is written out: .d becomes .din(d), a .* that bound the
      port gains .din(d) beside it, and a renamed net n → m gives
      .n(m). Every rewrite is listed in the rename's warnings; a case the
      engine cannot read — a .* into a module lucisv cannot see or finds
      declared twice, a list split by ifdefs, a hierarchical bind target,
      a .* that would start binding the new name — is refused with the
      reason. The verifier now prints every implicit binding before and after
      and refuses a mismatch, and accepts only the four spelled connection
      templates at the exact positions the rewrite writes them. The language
      server hands the engine one more hop of files (the modules a handed-over
      file instantiates), so a .* into a module declaring neither name is
      read rather than refused. A bind onto a bare instance name resolves
      through the instance table, so clk_i/rst_ni/err_o renames beside
      opentitan's fifo binds succeed. On opentitan copies: prim_count's
      err_o, aes_core's clk_i and entropy_src's clk_i rename cleanly
      with their .* cov binds written out; prim_fifo_sync's clr_i is
      refused over the FPV binds that really target fifo instances — the
      refusal the old engine silently skipped.
      (docs/features/refactor-rename/README.md, "Implicit connections".)
    • lucisv-mcp, a Model Context Protocol server for coding agents —
      preview.
      A third binary, cargo build --release -p lucisv_mcp, MCP
      over stdio, built from the same library crates as the editor and the
      CLI and sharing no code path with either. Twenty-three tools:
      project_overview, list_units, unit_interface (ports, parameters,
      a paste-ready instantiation), outline, read_item (one module,
      function or always block — not the file), search_symbols,
      defines, definition, references, hierarchy, diagnostics
      (what lucisv check says, with the CLI's JSON field names), and the
      edit tools format, fix_lint, rename, expand_wildcard,
      convert_ports, organize_imports, inline_module,
      propagate_ports, remove_port, add_port, extract_module,
      instantiate — every edit verified by the same engines, all-or-nothing,
      re-read before the first write, inside the roots only, with dry_run
      returning the diff. Answers are from disk (never an unsaved buffer),
      fresh at every call, rendered for a token budget. Try it from a
      checkout with Claude Code
      (claude mcp add lucisv -- /path/to/lucisv-mcp --root .), Cursor
      (.cursor/mcp.json) or VS Code (.vscode/mcp.json, "type": "stdio").
      Not yet inside the .vsix and not yet reading the editor's index
      cache — those are the next lanes (docs/mcp/PLAN.md, TODO-MCP.md;
      feature READMEs docs/features/mcp-*).
    • CLI: --diff output is unchanged; its printer now lives in
      lucisv_core::diff, shared with the MCP server's dry_run.
    Downloads
  • v0.55.0
    ci / checks (push) Successful in 1m11s
    ci / corpus (push) Successful in 33s
    release / build-and-publish (push) Successful in 9m37s
    Stable

    lucio released this 2026-09-17 14:36:35 -07:00 | 70 commits to master since this release

    Loop 3, round 2 — find-references reaches a module's internals

    • References see every cross-file use of a module's nets, variables
      and instances.
      With module leaf declaring logic sig and another
      file writing assign w = u_leaf.sig; (or a bind directive naming
      sig in a connection), Find All References from the declaration
      answered leaf.sv alone — while a rename already edited both files.
      The two index questions behind references asked the module's
      connection surface (ports and parameters), which cannot hold an
      internal net; they now ask the hierarchical surface, the one a path
      in another file actually reaches the declaration by. Every answer for
      a port, parameter, package member, class field or struct field is
      byte-for-byte what it was. Hover's declaration snippet uses the same
      lookup and now shows the live line for such a signal in an edited
      buffer. On the opentitan tree, references on aes.sv's
      entropy_masking_req now list aes_bind.sv, and state_q in
      entropy_src_main_sm.sv lists its use in entropy_src_core.sv.
      (docs/features/references-hierarchical-surface/README.md.)
    • A closed declaring file's own uses are in the answer. The index
      deliberately posts no in-file references for a module's internal
      signals (a table sized by every RTL body, for a rarely asked
      question), so a request from another file into a declaring file
      nobody has open used to list the cross-file sites and silently omit
      that file's own assign … = sig; lines. That one file is now parsed
      once, on exactly that request shape — 0.4–1.5 ms on a real design
      file, the same trade a rename already makes.
    • A stale index may omit a location; it can never point at a wrong
      line.
      Three QA rounds found that a span recorded at index time, or
      computed against one read of a closed file, could be rendered against
      a different read of the same file after an external edit (another
      tool, git checkout, a build step) and land on a line that no longer
      holds the name. Each closed file is now read exactly once per
      request, and every index-time span — closed files and the
      open-buffer declaration fallback alike — must still spell the name
      exactly where it is rendered, or it is dropped. Escaped identifiers,
      UTF-8 boundaries, a deleted declaring file and a name that is both a
      port and a net are covered by tests; references and rename are
      asserted to agree with the whole-scope engine.
    • Cost, accepted and recorded in docs/perf/README.md: a references
      request on a heavily used local net in a 40 000-line buffer now
      walks the indexed path, 1.22 → 1.54 ms median; every other harness
      row unchanged.
    Downloads
  • v0.54.0
    ci / checks (push) Successful in 1m9s
    ci / corpus (push) Successful in 33s
    release / build-and-publish (push) Successful in 6m58s
    Stable

    lucio released this 2026-09-12 03:13:40 -07:00 | 74 commits to master since this release

    Loop 3, round 1 — a rename correctness fix and a faster first edit

    • Rename edits a bind file's own occurrences. Renaming a module's
      internal net that a bind directive's connection names bare
      (bind aes chk u (.req(entropy_masking_req))), or reaches by a
      hierarchical path (u_aes_core.u_aes_prng_clearing.seed_en), used to
      leave the bind file untouched and say nothing — the design no longer
      elaborated after the rename. The resolver had asked the bind target's
      connection surface (ports and parameters) for a bare name, and rooted a
      bind's hierarchical path in the scope the directive is written in,
      which declares nothing. A bind connection is now a reference on the
      target's hierarchical surface, a bind's path is rooted at the target
      (a multi-segment target such as bind tb.u_aes … included), and an
      occurrence the engine cannot resolve is warned about by file and line,
      never silent. Definition, hover and references answer over bind files
      the same way. The index store format is bumped (FACTS_FORMAT 20): a
      0.53.0 store is rebuilt once. (Found by the previous round's QA on the
      opentitan tree.)
    • The first request after an edit is ~19 % faster. On a 40 000-line
      generated register file the first code-action menu after a
      one-character change costs 88 ms instead of 109: the lexer's raw and
      comment-attachment phases are fused (no intermediate token vector), the
      parser no longer clones a token it is about to discard, and the
      operator table is filtered by first byte before the longest-match
      scan. Token stream, diagnostics, AST and symbols are byte-for-byte what
      they were over 4 807 files; every formatter and linter output is
      identical.
    • --verbose timing lines carry a third group, rebuild{…}, that splits
      the document rebuild after an edit into its stages.
    • Known remainder, filed: cross-file references from a module's
      internal net (bind or not) still stop at the connection surface; the
      rest of the rebuild (the token clone, analysis, external resolution).
    Downloads
  • v0.53.0
    ci / checks (push) Successful in 1m13s
    ci / corpus (push) Successful in 42s
    release / build-and-publish (push) Successful in 6m41s
    Stable

    lucio released this 2026-09-09 15:40:29 -07:00 | 81 commits to master since this release

    The 0.52.0 review — one correctness fix

    • A symlink-aliased directory is indexed once at startup. 0.52.0's
      startup scan walks the open file's folder before the rest of the
      workspace, and the two walks kept separate visited sets: a directory
      reachable by two spellings (a_alias -> z_real) was indexed twice, so
      go-to-definition offered two targets and a valid rename was refused as
      ambiguous until the next rescan (found by the independent review of
      0.52.0). The two walks now share one directory identity; when an alias
      sorts before the open folder the scan takes the single canonical walk;
      an alias only the remaining walk can see requests one ordinary rescan
      so the spellings converge; and a same-named symlink to an open buffer
      is never a second copy of it. Startup, rescan and restart agree on
      index paths, definitions, rename and diagnostics across nine alias
      shapes, and a genuine duplicate declaration is still refused.
    • The load probe in tools/perf/ primes a warm store before timing and
      stamps scan completion from the scan's own end event.
    • No performance number moved; the CLI is unchanged.
    Downloads
  • v0.52.0
    ci / checks (push) Successful in 1m17s
    ci / corpus (push) Successful in 36s
    release / build-and-publish (push) Successful in 7m2s
    Stable

    lucio released this 2026-09-08 22:42:39 -07:00 | 85 commits to master since this release

    Performance take 5 — the review round

    An independent review of 0.51.0 (docs/performance_take5_review.md)
    named four remaining costs with gates; all four are implemented and
    measured (docs/perf/README.md, the 2026-09-08 review-round entry).
    Behaviour is unchanged everywhere the suites and byte-identity gates can
    see; two pre-existing gaps the round found are filed, not hidden.

    • A rename refuses cheaply. A cursor with no symbol used to read,
      parse and index every file in the workspace before refusing (2 s on
      opentitan); an engine-owned preflight now refuses from the request
      buffer alone in 0.3 ms with the same sentence and precedence. Refusals
      the workspace index would have to answer stay on the slow road, because
      a wrong rename refusal is terminal.
    • One lint pass per buffer revision. The diagnostics publish and the
      quick-fix discovery share one result, keyed by value on every input
      (rule set, options, width, tab width, waiver contents) and cleared by
      every index change; a cursor move on a 42 000-line file costs 1 ms
      instead of 23, and the navigation queued behind it likewise.
    • The first answer after opening a file. A workspace start now
      walks, indexes and publishes the open file's own folders before it
      discovers the rest of the workspace, one scan, every file once: the
      first go-to-definition answers in about 80 ms cold and 115 ms warm,
      correct every session, and a warm start settles under one second.
    • Scans under load. A scan publishes at most once per 512 files
      instead of once per burst of requests (a publish costs the size of the
      index): at the same offered load the median request wait falls from
      112 ms to 2 ms and the scan finishes about twice as fast. An empty
      navigation answer computed while the index is still growing is no
      longer an answer — it is asked again at the next publish or at the
      scan's end — and a cancel for such a request is honoured where it
      lands.
    • Rename reuses the index's own records. For the files a rename
      selects but never analyses, the engine now takes the index cache's
      record instead of parsing, and only when the file's bytes hash to what
      that record was written for. The hierarchical-tail rename falls from
      380 to 314 ms, the duplicate-module refusal from 2 s to 0.7 s; every
      edit and every warning byte-identical.
    • The CLI is unchanged in this release.
    Downloads
  • v0.51.0
    ci / checks (push) Successful in 1m2s
    ci / corpus (push) Successful in 33s
    release / build-and-publish (push) Successful in 6m27s
    Stable

    lucio released this 2026-09-08 02:37:51 -07:00 | 95 commits to master since this release

    Performance take 5 — the implementation round

    The owner's take-5 plan (docs/performance_take5.md) implemented end to
    end, each stage measured against the 0.50.0 reference on opentitan
    (docs/perf/README.md, 2026-09-08). Behaviour is unchanged everywhere the
    suites and the byte-identity gates can see; what changed is how much work
    the same answers cost.

    • Code actions stop repeating work. A code-action request runs the
      lint pass and reads the project configuration only when the client asks
      for quick fixes or fix-all (only: [] answers at once); the formatter's
      fence answer is computed only when a finding carries a fix and once per
      document revision; the four refactoring selectors read the document's
      own parse instead of re-parsing the buffer; the ports and
      organize-imports lightbulbs are answered from the plan-time checks with
      the same titles and counts, the click still recomputing and verifying.
      On opentitan's 42 192-line generated file a no-offer cursor move fell
      from 310 ms to 24 ms, and the navigation queued behind it with it; an
      offering cursor from 22 ms to 5.5 ms.
    • Rename reuses its analysis; the verifier is untouched. A rename
      parses and analyses each selected file once and builds its after-index
      from the edited files' fresh records; every check the verifier makes is
      the same code, re-attacked. The hierarchical-tail rename fell from 780
      to 388 ms (2.01×), an ordinary rename 141 → 92 ms, the extract command
      246 → 149 ms. A --verbose session now logs a per-stage rename trace.
      Topology handshake 33 is closed: inline-module's hierarchical-use
      refusal now sees every file whose tokens write the dissolved instance's
      name, including a bind in a file that instantiates nothing in the
      chain.
    • The CLI's package census parses once. With unused-import on,
      check --select error,warning,style no longer builds a one-file index
      for every file: the census reads package exports off its one parse and
      skips the nine files in ten that declare no package. The rule's cost on
      hw/ip fell from 142 ms to 5 ms; every output is byte-identical.
    • Startup. The server asks for the client's settings before its first
      scan (2 s bound for a client that never answers) and runs one scan at
      the answered scope — the empty default-scope scan is gone; the index
      store is not rewritten when nothing changed and is opened at the first
      step that needs it; the corpus is read a file at a time in its own step
      rather than all up front; the open buffers' folders are indexed first
      and the first navigation after opening a file is answered once that
      folder is published — correct in every session, at ~250–275 ms, where
      it used to be 84–208 ms or over a second depending on a race. Warm
      start 1.33 → ~1.05 s, warm idle RSS −15 to −20 %, the store
      byte-identical across sessions. --verbose logs a per-stage scan trace.
    • The harness (tools/perf/) records units, status, result counts and
      edit fingerprints on every row, measures the extract/inline commands for
      real, and is what every number above was taken with.
    Downloads
  • v0.50.0
    ci / checks (push) Successful in 1m4s
    ci / corpus (push) Successful in 33s
    release / build-and-publish (push) Successful in 6m26s
    Stable

    lucio released this 2026-09-07 02:32:49 -07:00 | 109 commits to master since this release

    The format cache key; performance take 4

    • uvm-utils-indent is part of the format cache key. In 0.49.0 a
      clean verdict cached under one setting of [format] uvm-utils-indent
      survived a toggle of the option, so format --check could exit 0 where
      --no-cache --check would reformat (found by the repository audit,
      topo handshake 34). The entry carries the option, the store line has it
      as a fourth field, and a 0.49.0 store is dropped entry by entry and
      rebuilt — never trusted, never an error. Regression through the real
      CLI in both toggle directions.
    • Performance take 4 (docs/performance_take4.md): 0.49.0 against
      0.43.0 on opentitan, both binaries driven by one client in one hour.
      0.44.0's didOpen fix confirmed in the release build — 14× on the
      42 192-line file, 3–7× on ordinary RTL; the CLI unchanged and its
      formatter verdicts byte-identical on all five trees; the findings filed
      for the next loop: the lazy code-action offer 2–3 ms dearer per cursor
      move (the extract and inline gates re-parse a buffer the server already
      holds), the hierarchical-tail rename at 751 ms, the Style lint class
      1.27× after unused-import, the index 14% bigger at codec 19. The
      measurement harness now lives in tools/perf/ and runs from a clean
      checkout.
    Downloads
  • v0.49.0
    ci / checks (push) Successful in 1m6s
    ci / corpus (push) Successful in 35s
    release / build-and-publish (push) Successful in 6m20s
    Stable

    lucio released this 2026-09-06 23:13:53 -07:00 | 117 commits to master since this release

    Inline module; the last coverage gaps

    • Inline module. With the cursor on S u_S (...), S's body is
      copied into the instantiating module: ports replaced by the connected
      names or literals, parameters as localparams with the override or
      default, internal names prefixed u_S_ only where the file already
      spells one of them, comments and attributes carried verbatim, .name
      shorthand connections inside the body expanded when their signal is
      renamed. Refuses — with a sentence — a .* or positional list, an
      expression connection, an unconnected port, an output into a literal,
      any hierarchical reference to the instance, a generate, initial/
      final, macros, directives, interface/inout/unpacked ports, and a
      module declared in the same file. refactor.inline action,
      lucisv.inlineModule. Extract → inline round-trips byte-equal after
      formatting.
    • The verifier learns a copy. A copied region's comments and
      attributes may be written once per copy in the destination while the
      copied file must appear in no edit at all; attack tests through the
      production entry, re-attacked by QA.
    • The last coverage gaps. Six language shapes now parse and format:
      ->> non-blocking event triggers (with delay or event control), stream
      with [range] slices, the LRM's other cast bases ((W+1)'(x),
      logic [3:0]'(x)), drive strength on a net declaration (wire (strong0, weak1) w = a; — its comment slots also fix a pre-existing refusal on
      assign /*c*/ (weak0, pull1) x = y;), let at statement position, and
      #(min:typ:max) clocking skews. randsequence … endsequence is a real
      node — productions, weighted alternatives, rand join, repeat,
      if/case, code blocks — printed one production per line; it was a
      parse error before and randsequence is now a keyword. Comment slots
      added to let, stream concatenations and the clocking grammar: the
      formatter's gap fuzzer covers 499 gaps at zero failures.
    • [format] uvm-utils-indent (editor lucisv.format.uvmUtilsIndent),
      default off: indents the uvm_field_* lines between
      uvm_object_utils_begin/uvm_component_utils_begin and their _end.
      On over the corpus it changes 21 files, all idempotent, no comment
      lost. A short comment-free enum body already prints on one line, so no
      key was added for it; the behaviour is pinned.
    Downloads
  • v0.48.2
    ci / checks (push) Successful in 1m3s
    ci / corpus (push) Successful in 34s
    release / build-and-publish (push) Successful in 6m51s
    Stable

    lucio released this 2026-09-05 22:14:15 -07:00 | 120 commits to master since this release

    The 0.48.0 packages, rebuilt from the right commit

    • 0.48.0's packages were built one commit early — a release-chain
      slip tagged the version commit before the feature commit landed, and
      the tag was moved after the build had started — so its extension lacks
      the DUT-centred hierarchy view its notes describe. 0.48.1 never
      built
      : its tag caught a concurrent lane's half-written verifier
      edits. 0.48.2 is the 0.48.0 tree, packaged from the commit that has
      the view. Nothing else changed.
    Downloads