411 Commits
Author SHA1 Message Date
lucioandClaude Fable 5 c2f107444c docs: coverage_gaps addendum at 0.32.0 — the recommended order is complete; TODO §27 planned (SVA bodies as real nodes, §2.9-18)
ci / checks (push) Successful in 58s
ci / corpus (push) Successful in 40s
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 13:22:42 -07:00
lucioandClaude Fable 5 baf0bf16f0 Release 0.32.0 — bind semantics, macro and directive residues, lucisv.instantiate
release / build-and-publish (push) Successful in 6m14s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.32.0
2026-09-02 13:21:09 -07:00
lucioandClaude Fable 5 81df63d942 Bind semantics, the spaced macro call and the directive inside a connection, and lucisv.instantiate
TODO section 26; closes docs/topo.md 2.9-15 and 2.9-19; coverage_gaps
M4/M5/M6 corrected against a fresh opentitan census.
A bind directive's target is a path of segments with optional indices
(bind top.gen[0].u_core chk u_chk (...)); a lone target binds as a
module reference, an instance path records nothing rather than a guess.
Each connection's port half resolves against the module being bound in
and its expression half in the target module's scope first, the
workspace's member path when the target lives elsewhere, the writing
scope last (Target::BindScope, resolve::in_bind_target - the
inline-constraint shape). FACTS_FORMAT 14 -> 15: binds now post
references and an instantiation edge.
Expression-position spaced macro calls (assign x = `WIDTH (a + b);)
keep the author's gap, read from the source as glued_null_item reads
its gap; verify.rs untouched, both pins stand. A conditional directive
inside a connection value becomes ExprKind::Verbatim, byte-exact
through raw_inline as Doc::Inline, with the closing paren's line and
the list's break read from the source - so the instantiation keeps its
edge, lens and port references instead of collapsing to opaque bytes
(opentitan: the two padring sites in chip_earlgrey_{asic,cw340}.sv,
+2 edges, everything else byte-identical to 0.31.0).
lucisv.instantiate [uri, position, module] renders the inline ghost's
plan as plain text through workspace/applyEdit for clients without
inline completion; the Neovim README documents it.
QA: 3186 tests / 47 binaries, corpus 814/820, independent binary diff
over corpus and 2 645 opentitan files: only the two named files differ.

docs/features/bind-semantics/README.md.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 13:15:21 -07:00
lucioandClaude Fable 5 a0c290ccc2 Comment slots in shared machinery: an owner for every gap, four fuzzers at zero, and the small-correctness residue
ci / checks (push) Successful in 57s
ci / corpus (push) Successful in 26s
release / build-and-publish (push) Successful in 5m49s
TODO section 25; closes docs/topo.md 2.9-20, 2.9-21, 2.9-22; opens 2.9-23.
A comment written where no AST node had a field was never deleted: bump
queued it and take_meta handed it to the next node, so it printed one
node later and verify.rs refused the whole file. About seventy named
comment fields now own those gaps - SegmentComments on member/scope/
index/range segments (one parse_postfix_segment replacing three
hand-copied loops), one [a:b] grammar, BinaryComments on inside, casts,
unary/postfix, if/case/for/foreach/do-while headers, @ and # timing,
Stmt::before_semi with StmtKind::takes_semi() as the single owner of
the ; (debug_assert enforced), labels on ten nodes, qualifier runs as
Vec<Qualifier>, function/task/module/package/class/typedef/enum/struct
headers, declarators, ports, connections, instantiations. Each prints
through Fmt::slot_comments, a no-op when empty: 860 corpus and 3 975
opentitan files are byte-identical to v0.30.0 (QA reproduced from an
independent baseline build). Four exhaustive gap fuzzers at zero -
covergroup 329, fragment 153, constraint 395 (committed at last), RTL
352 (new) - are the regression gate. verify.rs untouched, ten attack
pairs. Expression slots are boxed so Expr stays 96 bytes; ast::size_pins
asserts it (QA's one finding).

Also: nav::definition gains the macro branch hover already had (H5);
a cast's type binds as a type via bind_type_expr, FACTS_FORMAT 13 -> 14
(M11); rename reports the candidate references that stayed unresolved
through the overlay, one line per file and unit (2.9-20); the scoped
name join keeps an escaped segment's terminator (2.9-21). One flagged
edit outside scope: a .. in vlog_linter/src/signals.rs patterns.

docs/features/comment-slots/README.md.

Co-Authored-By: Claude Fable 5 <[email protected]>
v0.31.0
2026-09-02 11:32:16 -07:00
lucioandClaude Fable 5 58112d4d3b release: retry uploads past Cloudflare's 524, re-checking the server first; optional direct API URL
ci / checks (push) Successful in 58s
ci / corpus (push) Successful in 39s
0.29.0 and 0.30.0 both died in the publish step with curl: (56) ...
error: 524 - Cloudflare's origin timeout, because GITHUB_SERVER_URL is
the public host and every upload crosses the proxy. tools/
publish_release.sh now retries each upload (UPLOAD_ATTEMPTS, default 5,
backing off) and asks the server what it holds before every retry: an
asset already there at the local size is done, one at another size is a
truncated upload and is deleted before re-sending. LUCISV_API_URL, an
optional repository Actions variable passed through release.yml, names a
direct http://host:port so the API bypasses the proxy; unset, the public
URL is used as before. Mock-tested with a curl stand-in reproducing the
524-then-partial sequence. Work log in docs/features/ci-release.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 11:13:19 -07:00
lucioandClaude Fable 5 51869c8bf4 Release 0.30.0 — semantic lints on, vendor and formal collateral
release / build-and-publish (push) Failing after 7m36s
ci / corpus (push) Successful in 29s
ci / checks (push) Successful in 1m1s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.30.0
2026-09-02 09:06:13 -07:00
lucioandClaude Fable 5 5051bbdf15 Semantic lints on by default: the index knows who mentions what, and the linter finally asks
TODO section 24, coverage_gaps M7 via topo 2.9-6 and 2.9-4.
unused-signal, undriven-net and multiply-driven shipped off because a
per-file analysis cannot see a signal read or driven from another
file's hierarchy. The index now carries a per-file identifier census -
FileFacts::words, FACTS_FORMAT 12 -> 13, one harvest lifted from the
server's completion candidates and now feeding them back from the store
instead of re-lexing every file at startup (scan -28 percent) - and the
linter gains a MentionOracle: unused-signal and undriven-net say nothing
when the name is mentioned in any other indexed file, the
false-negative-safe direction; multiply-driven shares the gate but never
reads it. The three are on wherever an oracle exists (the editor always,
the CLI when it walks a project) and off for a single file or stdin.
With them, the missing off switch: [lint] select/ignore in lucisv.toml
with CLI flags winning key by key, and lucisv.lint.select/ignore in the
editor.

QA's finding, reworked: the census dropped macro invocations whole, so a
signal named only inside `uvm_info(..., dut.sig) was not silenced; the
harvest now splits macro, directive and attribute words, skipping
double-quoted runs so a "%d" cannot silence a signal named d
project-wide, with workspace-defined macro names filtered out of the
completion table at the reader. Store +16.9 percent corpus / +15.0
percent opentitan, measured.

Corpus unused-signal 52 -> 44 and undriven-net 3 -> 0 with every
silencing hand-checked, nothing added; opentitan - lint-clean under its
own tools - 14 findings, all classified true against the whole repo.
Also: the docs-site rules page gains the empty-item row it lacked.

docs/features/semantic-lints-on/README.md.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 09:06:08 -07:00
lucioandClaude Fable 5 29096cbbac Vendor and formal collateral: specify, UDPs, checkers, configs, interface classes, alias, union tagged - proven output-neutral
TODO section 23, coverage_gaps M1-M3 with the evidence corrected: every
construct here has zero declarations in the corpus and in opentitan (the
analysis's '13 checker files' were UVM protocol-checker filenames), so
this is a completeness round for vendored cell/IO/memory models and
formal collateral, and the formatted output of all 860 corpus and all
3975 opentitan files is byte-identical to v0.29.0.

Five keywords reserved on a measured zero-collision census (checker,
endchecker, config, endconfig, library); five deliberately not - expect
has 41 real task-call sites, so the statement form is recognised only
when its parentheses hold a sequence operator. One parse_opaque_block
(counts its own opener, keeps the label, leaves a trailing ';' as the
null item empty-item sees) serves specify, primitive with table,
checker and config; library lines parse; specparam is a real
declaration with a rewind for PATHPULSE$; alias a = b = c binds every
term; union tagged formats; interface class routes through the class
prefix with no new kind and no FACTS bump - deliberately, so it cannot
collide with the parallel lane's bump - and implements now contributes
type-hierarchy supertypes. pairs.rs pairs table, checker and config.

docs/features/vendor-formal-grammar/README.md.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 08:33:30 -07:00
lucioandClaude Fable 5 c40e720518 Release 0.29.0 — fragment mode and define continuation
release / build-and-publish (push) Failing after 15m23s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.29.0
2026-09-02 07:35:24 -07:00
lucioandClaude Fable 5 4e62a14af6 Fragment mode and define continuation: the three .svh shapes that did not parse, and the define that was blamed on its class body
TODO section 22, coverage_gaps H4 corrected. Class-body and module-item
include fragments already parsed - the file-scope item loop is the
class-item loop. The three shapes that did not - a bare statement list,
an enum-member list (riscv-dv's CUSTOM_1, file, included between enum
members), a covergroup-item list - become SourceFile::fragment, detected
by a whole-file rule that cannot misfire on a valid file: the first
structural item failed (directives, macros and null items do not count;
a tolerant Ok that recorded a diagnostic counts as failed - an existing
parity test caught if/else reading as a generate-if to one parser and a
statement to the other), the file does not open with a design-unit
keyword, and a shape consumes the file to EOF, tried narrowest-first.
Each shape re-lexes a fresh token stream - Rewind does not restore the
tokens' comment buckets and the first draft lost comments on
non-fragment files. A fragment formats at indent zero through the
existing printers; its declarations bind; its enum variants are not
exported (pkg::CUSTOM_1 must not resolve to a name that does not
exist). FACTS stays 12.

The other .svh was never a fragment problem: a define whose formal
argument list spans two lines with no backslash. The lexer continues
such a directive until the list closes - incrementally, after QA found
the first cut quadratic on an unclosed list (20000 lines: 2.5 s ->
0.56 ms), pinned by a byte-visit counter.

Opentitan 12 -> 10 failing files, exactly the two predicted; corpus
813 -> 814 of 820; every remaining comment-gap failure proven to fail
identically outside a fragment.

docs/features/fragment-mode/README.md.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 07:34:31 -07:00
lucioandClaude Fable 5 cbb80e884f docs: clocking-wave README — tl_errors.svh's blocker is a define continuation, not its class body
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 06:11:32 -07:00
lucioandClaude Fable 5 3ee1c558b3 docs: coverage_gaps.md status addendum at 0.28.0 — C1, C2, H1, H2, H3, H6 delivered; H4 next
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 06:03:21 -07:00
lucioandClaude Fable 5 fae939119a Release 0.28.0 — covergroup bodies
release / build-and-publish (push) Successful in 7m44s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.28.0
2026-09-02 06:02:23 -07:00
lucioandClaude Fable 5 2734885f2b Covergroup bodies: coverpoints, bins, transitions and crosses are real code - 544 of 544 on opentitan, zero fallbacks
TODO section 21, round 2 of coverage_gaps C1, closing it. A covergroup
was a flat token scan into verbatim text; now ItemKind::Covergroup with
CoverItemKind::{Coverpoint, Cross, Option, Directive, Empty}, BinDecl
(wildcard, kind, array, spec: Values / Transitions / Default /
DefaultSequence / Select, with, iff) and SelectExpr for binsof ...
intersect ... && !binsof - behind the same Rewind fallback as
constraints (v0.27.0's scan re-run character for character on any
failure), no keywords reserved. The bin '(' ambiguity is settled by
position, the LRM's own rule, which replaced a lookahead scan and took
the fallback count to zero. Two guards in shared expression machinery -
an index cannot begin with *, -> or =; a bin's own with (...) filter is
not an array-method iterator argument - both attacked across the corpus
and the opentitan tree. Canonical layout, verify.rs untouched, thirteen
attack pairs. Every sampled expression binds to the class's properties;
cg_inst.cp resolves cross-file; FACTS_FORMAT 11 -> 12. The gap fuzzer
was built in from day one and its classification is asserted, not
claimed.

Opentitan: 544/544 structured, 87/87 DV covergroup files idempotent
with comment streams byte-identical, sweep and per-file diagnostics
identical. Corpus +1139 references, 1135 answered.

docs/features/covergroup-bodies/README.md.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 06:01:48 -07:00
lucioandClaude Fable 5 53bc293c37 Release 0.27.0 — constraint bodies
release / build-and-publish (push) Successful in 5m49s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.27.0
2026-09-02 04:19:08 -07:00
lucioandClaude Fable 5 bce167c052 Constraint bodies: constraint c { ... } is real code - soft, dist, ->, foreach, solve before - with a rewind to the verbatim it always had
TODO section 20 round 1, coverage_gaps C1 for constraints. A constraint
declaration was opaque text with no name span; renaming a rand field
left constraint c { user_id < 5; } as non-compiling code. Now
ItemKind::Constraint with a structured ConstraintSet (Expr{soft},
Implication, If, Foreach, SolveBefore, Unique, DisableSoft, Directive,
Empty), ExprKind::Dist, and randomize() with bodies as
ConstraintBody::{Items, Verbatim}. The parser attempts the structured
body behind a Rewind snapshot - cursor, both pending-comment buckets,
depth, links, open_conds, diagnostics - and on any error re-runs
v0.26.0's verbatim capture character for character, so an unknown body
IS the old behavior. No keywords reserved: soft/dist/solve/before are
matched by text, so logic before; keeps working and token.rs, pairs.rs
and the editor grammar are untouched. Canonical layout, verify.rs
untouched, attack pairs re-derived and extended. Every operand binds to
the class's properties (foreach vars nest; a with block resolves against
the randomized object's class first), so hover, definition, references
and rename reach inside. FACTS_FORMAT 10 -> 11. Lint rules read
constraint operands.

QA's finding - comments after the round's own words were dropped and
the safety net refused the file - answered with an exhaustive gap fuzzer
(358 gaps, format and idempotency demanded) and fourteen named comment
fields; the forty gaps that remain are shared machinery that fails
identically outside a constraint, filed as topo 2.9-22. Opentitan: 1993
of 2009 bodies structured, sweep unchanged, 48 DV files idempotent with
comment streams byte-identical, per-file diagnostics identical.

docs/features/constraint-bodies/README.md.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 04:18:18 -07:00
lucioandClaude Fable 5 dd4aa498bb Release 0.26.0 — member completion and escaped identifiers
ci / checks (push) Successful in 57s
ci / corpus (push) Successful in 22s
release / build-and-publish (push) Successful in 5m16s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.26.0
2026-09-02 02:19:17 -07:00
lucioandClaude Fable 5 7d637323a5 Escaped identifiers: the terminating space, written once at fifty sites
coverage_gaps H3. An escaped identifier ends at whitespace (IEEE 1800
5.6.1) and the lexer stops the token before it; the formatter emitted
every name bare or through a format! splice, so \my-signal; re-lexed
as one token and the safety net refused the whole file - netlists and
generated RTL could not be formatted at all. One choke point
(format::named / name_doc, predicate ends_escaped because parser-joined
composites like a.\b end inside an escaped name) now terminates the
name; the space is unconditional and the printer's trailing trim
removes it before a break, so doc.rs and printer.rs are untouched.
verify.rs untouched; eight masked-corruption attack pairs; corpus
byte-identical by construction (every corpus backslash is inside a
string or a comment). Ran in its own worktree in parallel with member
completion. Open, filed as topo 2.9-21: a scoped name whose segment is
escaped is refused, never corrupted, until the parser keeps segments.

docs/features/escaped-identifiers/README.md; TODO.md section 19.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 02:17:43 -07:00
lucioandClaude Fable 5 df85fd3b54 Member completion: a dot means members - item., reg2hw.ctrl., vif.cb., pkg::, and the port map
TODO section 18. Typing a dot used to get the whole-index dump (every
keyword and project word, capped at 512); now the answer after a
separator is exclusively the members of what precedes it, or nothing.
The prefix walk is published from vlog_semantic as MemberSite /
Semantics::member_site / WorkspaceIndex::members_of_chain and the
resolver's own member_of, unit_member, member_in_chain and follow_one
are rewritten to call it - one walk, so the popup cannot list a member
hover would not resolve (pinned structurally). Inherited members ride
the same base chain; this./super./pkg::/cls:: are the same question.
A headless dot inside an instantiation's (...) or #(...) lists the
module's ports or parameters through signature.rs's own list detector
and the Target::Port walk, already-connected ports dropped. Trigger
characters '.' and ':'. Measured cheaper than the dump it replaces
(6-62 us vs 212 us).

QA's finding fixed at the root: the binder had discarded ParamPort.kw
and bound every localparam as Param, so #(. offered prim_fifo_sync's
DepthW. SymbolKind::LocalParam, keyword sticky across continuation
entries as instantiate::params reads it, exported wherever Param is,
'localparam' on the hover card, excluded from the override list only.
FACTS_FORMAT 9 -> 10.

Also carried: TODO sections 19 and 20 (the escaped-identifier and
constraint-body plans) and the topo rows for both lanes.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-02 02:05:03 -07:00
lucioandClaude Fable 5 bbf87976a1 Release 0.25.0 — struct members
ci / checks (push) Successful in 59s
ci / corpus (push) Successful in 22s
release / build-and-publish (push) Successful in 5m16s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.25.0
2026-09-01 23:56:22 -07:00
lucioandClaude Fable 5 2a2334ef5a Struct members: s.field, reg2hw.ctrl.q and the anonymous aggregates resolve
coverage_gaps H1 + topo 2.9-13 delivered. The in-file gap was one
resolver gate: member_scope now returns any symbol's child scope when it
is a Struct scope, so a typedef, an anonymous struct declarator and an
inline nested field are one rule; fields declare with their own type so
s.hdr.addr hops through a member. Cross-file, struct members export
under the typedef's name, package-nested struct typedefs under their
bare name (the nested-class convention, ambiguity refused), and inline
nested fields - the opentitan register-package shape - under a
synthesized owner.field key carried as the field's type: joined with
'.', not '::', because member_type's last_segment would collapse the
latter to the bare field name and q/d/qe live in every register
package. Anonymous enum variants land in the enclosing scope like
typedef ones. FACTS_FORMAT 8 -> 9; typeDefinition descends into
typedef struct bodies.

Unresolved fell 1203 -> 1162; the corpus store shrank 1.1 percent
(resolved locals encode smaller than the candidates they replaced),
opentitan's register packages grow it 4.3 percent. QA: 28 opentitan
probes, three planted sibling pairs (rxfull/fmtfull, avsetup_rst/
avout_rst, tpm_csb/csb) all correct, zero wrong answers, hover under
0.5 ms.

docs/features/struct-members/README.md; TODO.md section 17.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-01 23:53:45 -07:00
lucioandClaude Fable 5 95f930cf20 Release 0.24.0 — interface semantics
ci / checks (push) Successful in 49s
ci / corpus (push) Successful in 20s
release / build-and-publish (push) Successful in 4m40s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.24.0
2026-09-01 22:55:31 -07:00
lucioandClaude Fable 5 311551f232 Interface semantics: interfaces, modports and clocking blocks become symbols; vif.sig crosses files
coverage_gaps C2/H2, topo 2.9-7 delivered. SymbolKind::{Interface,
Modport, Clocking}; is_instantiable() (Module | Interface) is the one
predicate every 'is this a module' filter reads, pinned in place, so
interfaces stay in the module table, the ghost, the hierarchies and the
refactorings while the card finally says 'interface'. An interface
exports its signals - they ARE its surface - where a module still exports
ports and params only, which is what lets virtual my_if vif; vif.sig
resolve across files. Modport and clocking-internal names bind as
scope-local references (nothing on a miss - a lexical walk would land a
modport port on a file-scope lure); the modport half of bus_if.mp in a
type position is Target::TypeMember, resolved through type_here; a
clocking block carries type_name = its enclosing unit so vif.cb.data
hops through round-2 machinery unchanged. FACTS_FORMAT 7 -> 8.

Unresolved fell 1256 -> 1203 on the corpus, the first movement in three
rounds: the @(cb) / cb.data names that had nothing to bind. Store +1.2
percent. A modport now renames from its type-position use (the refactor
pin flipped at review). QA: 17 opentitan probes, zero wrong answers, all
sub-millisecond; vif.cb.scl_i lands on i2c_if.sv's own signal.

docs/features/interface-semantics/README.md; TODO.md section 16.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-01 22:53:27 -07:00
lucioandClaude Fable 5 ff67281995 Release 0.23.0 — member chains and instance heads
ci / checks (push) Successful in 51s
ci / corpus (push) Successful in 21s
release / build-and-publish (push) Successful in 4m50s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.23.0
2026-09-01 21:37:28 -07:00
lucioandClaude Fable 5 7ca2508ec7 Member chains and instance heads: cfg.vif.clk, item.hdr.addr, u_sub.port resolve through the index
DV round 2 (TODO section 15 round 2). A chain tail carries spellings -
Target::MemberOf { head, mids } - so in-file it hops declared type to
declared type, and a chain that leaves the file becomes one composed path
Unit::mid::tail that follow_one walks with member_type hops: no deferred
resolution, no ordering assumption, and chain tails post to the index
through the existing contract so hover, references and rename agree.
Def::type_name rides every indexed declaration (FACTS_FORMAT 6 -> 7,
with ReferenceFact base so this.x uses post cross-file); an instance
symbol's type is its module, and modules export ports and parameters -
nets/vars stayed in-file on measurement (+24 percent store, and .port(w)
connections would have resolved to internal nets). Typedef aliases are
chased with a visited guard; a type the workspace declares twice with
different kinds is refused one hop out, the round-1 lesson applied.

The rename truth flipped with it: u_sub.sig IS sub's wire sig and is
renamed alongside it; an unresolvable tail is left alone but no longer
warned about, filed as topo 2.9-20.

Corpus: references 97454 -> 98919, unresolved unchanged at 1256,
store +15.4 percent. QA: zero wrong answers across the attack suite and
15 live opentitan probes.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-01 21:35:11 -07:00
lucioandClaude Fable 5 91b7c2fd67 Release 0.22.0 — class member access
ci / checks (push) Successful in 49s
ci / corpus (push) Successful in 19s
release / build-and-publish (push) Successful in 4m51s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.22.0
2026-09-01 20:19:23 -07:00
lucioandClaude Fable 5 ce2f858e5e Class member access: in_item.user_id resolves, through the handle's type and up its extends chain
DV round 1 (TODO section 15). The tail of head.member gets a reference
when the head is a plain identifier whose declared type (Symbol::type_name,
new) is a class or module: the member is found in that scope, else up the
in-file extends chain, else the workspace's member table chases
WorkspaceIndex::base_of (a subclass-to-base map rebuilt from the existing
inheritance census, no new facts field) - cycle-guarded on both sides and
placed in follow_one so hover, cross-file references and rename cannot
disagree. this.x/super.x misses ride the same loop, delivering topo
2.9-9. An out-of-class method body (task c2::update) sees its class's
members through a stand-in Class scope. FACTS_FORMAT 5 -> 6: the layout is
unchanged but the reference census grew.

Honesty by construction, after QA's one REWORK: a head whose type is
declared in-file as anything without a member scope (typedef, alias,
enum, param) records nothing - a two-state Option had stood in for the
three-state TypeHere question, and a typedef named bus_t could have been
answered by an unrelated class bus_t elsewhere. The fix removed exactly
438 wrong postings from the corpus with unresolved unchanged at 1256.

Hover 7-143 us; opentitan tl_seq_item member 0.12 ms cold, 0.01 ms warm;
store +2.85 percent.

docs/features/class-member-access/README.md.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-01 20:17:18 -07:00
lucioandClaude Fable 5 14fbdab717 docs: coverage_gaps.md — the ranked Verilog/SV gap analysis at 0.21.0
ci / checks (push) Successful in 57s
ci / corpus (push) Successful in 23s
Two sweeps crossed: a 71-file empirical probe (44 RTL, 27 DV, 13 LSP
spot checks) against snapshot binaries, and an inventory of every
documented non-goal, verbatim capture, non-resolution rule and open
handshake. Idempotency and comment preservation held everywhere that
parsed; the gaps are grammar holes, opaque verbatim regions and
semantic blind spots, ranked Critical/High/Medium/Low with a
recommended order.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-01 16:34:53 -07:00
lucioandClaude Fable 5 f8401a0024 Release 0.21.0 — null items and the empty-item lint
ci / checks (push) Successful in 49s
ci / corpus (push) Successful in 20s
release / build-and-publish (push) Successful in 4m58s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.21.0
2026-09-01 15:03:36 -07:00
lucioandClaude Fable 5 307a56e921 Null items: the semicolon after endgenerate, and everywhere else an item may stand
Owner report: 'for loop inside generate shows expected item (found ;) at
endgenerate;'. Lead diagnosis before dispatch: every generate-for spelling
and three systemverilog.io examples already parsed; the failing token was
the lone ';' - IEEE 1800-2017 A.1.4's null item, legal in module,
generate, package, interface, program and class scope and at file scope,
rejected by lucisv in all of them.

ItemKind::Empty, one branch at the top of parse_item_kind, the three
exhaustive arms topo 3.3 predicts and no others. The formatter keeps the
';' where it was written - glued to the previous sibling's line
(endgenerate; end; endmodule; ;;) when no newline separates them and the
';' carries no docs of its own, else on a line of its own - decided from
src spans in item_seq rather than a parser flag. verify.rs untouched,
eight attack pairs. New empty-item lint (slang's -Wempty-member) with a
safe fix whose deletion range structurally cannot swallow a comment.

Corpus byte-identical at 813/820 against the pre-change binary; opentitan
sweep identical file-for-file; empty-item fires zero times there. The LSP
now publishes a warning with a quick fix where it used to publish a parse
error.

docs/features/null-items/README.md; TODO.md section 14.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-09-01 15:01:33 -07:00
lucioandClaude Fable 5 1e30ea0fb5 gitignore: the owner's .zcode and the agent-harness .claude directory
ci / checks (push) Successful in 54s
ci / corpus (push) Successful in 23s
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-31 21:51:35 -07:00
lucioandClaude Fable 5 3f912e7fce Release 0.20.0 — fuzzy completion at VS Code's floor
ci / checks (push) Successful in 46s
ci / corpus (push) Successful in 20s
release / build-and-publish (push) Successful in 4m35s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.20.0
2026-08-30 19:04:41 -07:00
lucioandClaude Fable 5 f3b5a9d189 Fuzzy completion: clkenq reaches clk_osc_en_q, at VS Code's own floor
Prefix matching below three typed characters, subsequence from three
up — the owner's ruling, which is VS Code's own rule. The scope,
index-name and word tiers match by case-insensitive subsequence at 3+,
ranked prefix-first then by a three-pass greedy-tighten scorer
(boundary and contiguity bonuses, gap penalties); module, keyword,
template and macro tiers unchanged, and the instantiation ghost's
exact-match probe deliberately stays exact.

The scan is affordable because every word and unit name carries a
32-bit character mask beside it, written in exactly two places so
table and mask cannot desync: a clkenq keystroke rejects 99.6% of
opentitan's 100k-word table with one AND each (+0.05 ms); the
pathological class is three very common letters (aes +0.8 ms, QA's
ena ~3-4 ms answered-in), accepted at lead review as imperceptible
in a popup. Responses below the floor are always isIncomplete — a
complete two-character answer would be client-filtered and the third
keystroke, the one that turns fuzzy on, would never reach the server.

QA verified clkenq -> clk_osc_en_q live in a real opentitan buffer
(gfr_clk_mux2.sv) and the 2-to-3 transition over the wire; ten
adversarial matcher attacks all passed.

docs/features/fuzzy-completion/README.md; TODO.md section 13.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-30 19:02:42 -07:00
lucioandClaude Fable 5 02b4204536 Release 0.19.0 — the space-armed ghost, every module answering
ci / checks (push) Successful in 50s
ci / corpus (push) Successful in 21s
release / build-and-publish (push) Successful in 4m47s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.19.0
2026-08-30 17:17:44 -07:00
lucioandClaude Fable 5 03a4958294 Inline instantiation round 2: the space is the commitment, and every indexed module answers
Two owner rulings from live use. The ghost now fires only after
'name<space>' — aes alone may still be growing into aes_dft, so the
typed space is what says the name is finished; an Ident ending at the
cursor offers nothing at all. And a module declared in more than one
file no longer declines: completion::nearest_definition picks the copy
sharing the most leading path components with the asking buffer (a
top_earlgrey buffer gets top_earlgrey's ast_dft), then the shallowest,
then the lexicographically smallest — the depth term is QA's catch,
fixed at review, so a direct sibling beats a deeper subdirectory copy
that ties on the prefix. vlog_refactor::module_definition keeps its
ambiguity refusal for its own callers.

The refusal residue is now the enumerable inline::NoGhost, and QA's
sweep proves the ruling: 1131/1131 opentitan module names ghost, zero
declines (199 multiply-declared, tb 61 ways), ast_dft and io_osc
verified from both tops over the wire, 0.05-0.08 ms per non-matching
keystroke.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-30 17:15:42 -07:00
lucioandClaude Fable 5 f27fa1c045 Release 0.18.0 — inline instantiation, two levels
ci / checks (push) Successful in 50s
ci / corpus (push) Successful in 21s
release / build-and-publish (push) Successful in 4m56s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.18.0
2026-08-30 14:47:40 -07:00
lucioandClaude Fable 5 cadb4319e4 Inline instantiation: the popup names the module, the ghost writes the rest
ci / checks (push) Successful in 45s
ci / corpus (push) Successful in 19s
Two levels, sized for opentitan. Tier 0 of the completion popup stops
planning skeletons (up to 64 file reads + header parses per keystroke)
and offers module names alone; once the identifier at the cursor exactly
matches an indexed module, textDocument/inlineCompletion ghosts the full
instantiation — every parameter, every port, each a tabstop, in-scope
signals auto-connected — planned once through the existing header-slice
path and the FileView cache. Candidates::has_module is the per-keystroke
probe: a case-sensitive binary search whose str-order premise is pinned.
lucisv.inlineInstantiation (default on) gates it, independent of
inlineTemplates.

Measured on opentitan: non-matching keystroke 0.10-0.17 ms warm, ghost
0.6-1.1 ms for aes (14 params/16 ports), 2.5 ms cold for the
112-parameter top_earlgrey; popup module tier reads no files at all.

Lead corrections at merge: four doc references to a lucisv/instantiate
command that never existed, replaced by the honest gap (topo 2.9-19: no
skeleton path for clients without inlineCompletion); extension and nvim
README docs delivered.

docs/features/inline-instantiation/README.md; TODO.md section 12.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-30 14:17:16 -07:00
lucioandClaude Fable 5 1cfbab4a56 Docs debt: performance_take2.md, the merged-wave measurement, finally checked in beside take 1
Written 2026-08-29 as the owner-requested second opentitan round; referenced
by CHANGELOG 0.15.0, docs/perf/README.md and the index-scope README ever
since, but never staged. Placed in docs/ so its relative link to
performance.md resolves.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-30 14:17:00 -07:00
lucioandClaude Fable 5 a1fa402fd8 Release 0.17.0 — the testbench wave, complete
ci / checks (push) Successful in 53s
ci / corpus (push) Successful in 22s
release / build-and-publish (push) Successful in 5m4s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.17.0
2026-08-29 18:47:45 -07:00
lucioandClaude Fable 5 bc533c6cb1 The clocking wave: eight buckets in one round, 43 -> 11 on opentitan
ci / checks (push) Successful in 56s
ci / corpus (push) Successful in 22s
Clocking signal bindings (the one production the modelled node was
missing), default disable iff captured verbatim with six rejection
pairs, iff on event-control terms, indexed bare event names
(chain-charged), gate drive strengths (the mop-up's amortized skip),
program blocks as modules with a different closer, and macros as a
concurrent assertion's whole action — where QA caught a real
regression (a macro BEGINNING a statement, four UVM-idiom shapes) and
the rework moved the decision to the token after the call:
at_statement_tail, one line, with the failure asymmetry argued in the
doc and attacked by QA against the diff rather than trusted. Chain
limit 256 -> 1024 on measured need (567 links in pinmux_reg_top) with
PARSE_STACK_SIZE 16 -> 32 MiB restoring the 3.3x margin, a sabotage
probe proving it real, and parse_sens_list's uncharged chain loop
closed. Whole-tree superset: exactly one output move, ~55 lines of
prim_sync_reqack generate code freed from an assertion's opaque
bytes. Corpus 860 files byte-identical, 813/820. The 11 remaining:
macro fragments (preprocessing decision), vendor non-SV (exclude
patterns recommended), three written-up skips.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 18:46:58 -07:00
lucioandClaude Fable 5 5ad0772475 Merge testbench-syntax mop-up round
ci / checks (push) Successful in 45s
ci / corpus (push) Successful in 18s
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 16:08:59 -07:00
lucioandClaude Fable 5 af3280c651 The mop-up: nine small buckets, forty-five files, no new surface where none was needed
Block-scoped typedef statements (new StmtKind, three arms plus the
typeDefinition hop QA's audit caught missing), system-function casting
types (the bucket the analysis had mislabeled as drive strengths),
enum member ranges, casts over assignment patterns, gate delay lists,
virtual iface.modport through ansi-first-port's own gate, rand on
struct members, foreach skipped dimensions, hierarchical bind instance
paths. OpenTitan sweep 88 -> 43 with zero newly-failing files and the
whole-tree superset check proving 0 of 3,855 previously-passing files
moved; corpus byte-identical at 813/820; tolerant diagnostics 147 -> 0
on the fixed set and 0 files worse anywhere. One skip written up
(pullup drive strength: two AST changes for one file). verify.rs
untouched, no capture added.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 16:08:51 -07:00
lucioandClaude Fable 5 24b0dd9912 Docs debt from the wave: changelog fold, coverage correction, stale non-goal
ci / checks (push) Successful in 46s
ci / corpus (push) Successful in 18s
The extension changelog's outside-edit "Unreleased" section described
the hierarchy sidebar 0.15.0 had already shipped — folded into that
entry, keeping its two specifics the entry lacked. syntax_coverage.md
carries the mop-up's correction (bucket 6 was system-function casting
types, never drive strengths; bucket 12 is six files) and is committed
as the pre-wave snapshot it is. ansi-first-port's deliberate non-goal
for virtual bus_if.mp is un-staled: the mop-up delivered it through
this feature's own gate, the narrow way the item asked for.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 15:42:28 -07:00
lucioandClaude Fable 5 852d05d9ad Release 0.16.0 — the testbench-syntax release
ci / checks (push) Successful in 52s
ci / corpus (push) Successful in 23s
release / build-and-publish (push) Successful in 4m52s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.16.0
2026-08-29 15:34:30 -07:00
lucioandClaude Fable 5 98675c630a docs/topo.md: the testbench wave's edges
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 15:33:43 -07:00
lucioandClaude Fable 5 7f65a2449a The merged-tree pins both lanes promised each other
ci / checks (push) Successful in 48s
ci / corpus (push) Successful in 21s
The refusal pin a_comment_before_a_call_in_a_condition_is_still_refused
flips exactly as Lane B's Handshake said it should now that take_gap
and header_parens share a tree: the shape formats, the comment stays
inside the parens, fixed point asserted, plus the keymgr .cases entry.
And the standing invariant-4 template applied to the directive
capture: three (input, corrupted output) pairs — a dropped `else arm,
swapped arms, a lost `endif — each asserted rejected by the safety
net. Both were flagged by the serial round as the lead's first
post-merge task; done by the lead.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 13:43:24 -07:00
lucio 3f300fa9e9 Merge testbench-syntax serial round (directive-in-statements + take_gap)
Co-Authored-By: Claude Fable 5 <[email protected]>

# Conflicts:
#	docs/features/formatter-bug-fixes/README.md
2026-08-29 13:38:32 -07:00
lucioandClaude Fable 5 7881cc869c Directives may open inside a statement, and comments keep their owners
Bucket 7: the mirror image of directive-split — an `ifdef opening
INSIDE an assign RHS, expression or instantiation head, where all
three existing directive features trigger on a closing directive and
could not fire. The construct is captured verbatim by two mirror
recoveries sharing one capture step (statement-level first, item-level
behind it), construct_end classifying the head (Semi /
endfunction+label / Unknown -> refuse rather than guess), and
terminated_in_arm honoring both real terminator placements. Both
flagship tb.sv files needed only take_list_directives to stop
harvesting an outer region's `else as a list element. OpenTitan sweep
107 -> 100, exactly the 7 targets (chip_if.sv x2, chip_earlgrey
asic/cw340, jtag_dtm_reg_block, both top_* tb.sv), zero regressions,
corpus per-file byte-identical to baseline.

Also delivers Lane B's Handshake: take_before_open's queue drain was
necessary-but-not-sufficient — CallComments::dangling drained the
same way — both now behind Parser::take_gap (comments kept only when
span.start >= last_end()), verified by composing with Lane B's tree:
keymgr_scoreboard.sv formats, closing the last bucket-2 file.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 13:38:02 -07:00
lucio 89186a8eaa docs: move performance and topology notes
ci / checks (push) Successful in 53s
ci / corpus (push) Successful in 21s
2026-08-29 13:29:57 -07:00
lucio 27a652ee3d Merge testbench-syntax Lane B (formatter round-trip bugs)
ci / checks (push) Successful in 54s
ci / corpus (push) Successful in 21s
Co-Authored-By: Claude Fable 5 <[email protected]>

# Conflicts:
#	TODO.md
2026-08-29 12:56:47 -07:00