• v0.56.0
    release / build-and-publish (push) Successful in 6m49s
    Stable

    lucio released this 2026-09-23 12:18:45 -07:00 | 80 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