Commit Graph
202 Commits
Author SHA1 Message Date
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
lucioandClaude Fable 5 d3deacf0f6 Three formatter comment bugs fixed where they lived, safety net unwidened
Bucket 2 of syntax_coverage.md: 12 opentitan files parsed but failed
the formatter's own verification. Three shapes: (A) a line comment
trailing 'end' swallowed a cuddled 'else' into the comment — cuddling
now requires no trailing line comment (block comments still cuddle);
(B) a comment inside if/while/repeat/wait/case header parens printed
after the ')' — Fmt::header_parens finds the real ')' and prints the
split comments through the shared paren layout; (C) 'default;' grew an
invented ':' — the optional colon is read from the source byte. 11 of
12 files now format and round-trip (12 -> 1 verification failures on
the sweep); the 12th is a parser bug filed as a specified Handshake
and delivered by the directive round, not edited cross-lane. verify.rs
untouched; four masked-corruption rejection pairs added per the
standing template; QA's ~30-attack sweep found zero corruption and
pinned two informational boundaries. Formatter output changed:
release must bump the workspace version (format-cache rule).

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 12:55:51 -07:00
lucio 17633d2214 Merge testbench-syntax Lane A (out-of-class constraints)
ci / checks (push) Successful in 55s
ci / corpus (push) Successful in 22s
Co-Authored-By: Claude Fable 5 <[email protected]>

# Conflicts:
#	TODO.md
2026-08-29 11:11:29 -07:00
lucioandClaude Fable 5 e2c954ba77 Out-of-class constraints parse: one line, 45 files, a cascade gone
constraint C::name { ... } at file/package scope failed at the `::` —
parse_constraint's name was expect_name where the out-of-body method
path already existed; it is now parse_method_name, and nothing else
moved: the item was always a verbatim leaf, so no AST variant, no
formatter/binder/spans arm, verify.rs untouched. On the real opentitan
checkout: 45 of 45 bucket-1 files unblocked (44 fully clean, the 45th
advancing to its documented bucket-10 gap), whole-sweep failures
151 -> 107 with zero newly-failing files, and the tolerant-mode
cascade collapsing 1,349 diagnostics -> 1 across the bucket — the LSP
win the round was chosen for. Corpus gate exactly at baseline. QA
reproduced every number independently via stash before/after,
attacked the grammar widening and the verbatim byte-integrity, and
pinned the index-opacity promise with the corrected semantic test.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 11:05:34 -07:00
lucioandClaude Fable 5 e565dc0812 TODO.md: the testbench-syntax wave, planned from syntax_coverage.md
Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 10:33:38 -07:00
lucioandClaude Fable 5 34b766cbef Release 0.15.0 — the interactive-latency release
ci / checks (push) Successful in 44s
ci / corpus (push) Successful in 19s
release / build-and-publish (push) Successful in 4m25s
Co-Authored-By: Claude Fable 5 <[email protected]>
v0.15.0
2026-08-29 03:48:48 -07:00
lucio 8cdc1b3375 Merge the design-hierarchy sidebar (codex + integration round)
ci / checks (push) Successful in 47s
ci / corpus (push) Successful in 19s
Co-Authored-By: Claude Fable 5 <[email protected]>

# Conflicts:
#	crates/lucisv_server/src/main.rs
2026-08-29 03:39:31 -07:00
lucioandClaude Fable 5 651e58bfb3 The design-hierarchy sidebar: codex's feature, integrated
An instance-oriented hierarchy view in the Activity Bar —
lucisv/moduleHierarchy snapshots (schema 2: uri table, flat ranges,
derived ids; 11.6 MB -> 2.3 MB on opentitan) plus
lucisv/moduleHierarchyChanged invalidation, gated on the extension's
initializationOptions. Format 5 carries decl spans, instance
occurrences and client positions for file-scope declarations
(+1.7-1.9 % store), so a snapshot reads no files at all: handler
145-167 -> 17-20 ms settled, a save with the sidebar open 366 ->
141 ms. complete is !scanning && !must_wait, pinned. Owner UI rounds:
no hover preview, all levels collapsed by default with stable ids
across refreshes, and search over a resident flat model (freeze
diagnosed: materialized expanded tree x undebounced double
fuzzyScore x whole-tree clone per keystroke) — prebuilt lowercased
index, bitmask prefilter, top-K counting, 200-row cap with an honest
remainder, single-digit ms over a 120k-entry fixture.
LineIndex::utf16_position unifies the index's and the wire's position
math under a cross-crate agreement test.

Implementation: codex. Integration fixes + owner items: Opus dev.
QA: lead (measurement pass) + Sonnet (SHIP, independent oracles).

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 03:39:06 -07:00
lucioandClaude Fable 5 37560cad5e A subsuming widen was already incremental; its word merge was not
ci / checks (push) Failing after 1m4s
ci / corpus (push) Successful in 26s
Take 2 filed the RTL didOpen freeze as a chooser bug; measuring with
the HEAD binary refuted that — scope_dirs keeps every raised dir so
subsumption is Added, and begin_widen has file-diffed against the
index since the widen round; the 1.4-1.7 s figures were cold-store.
The real cost was candidates.absorb inserting each new word into the
sorted table one memmove at a time — quadratic in the batch, 403 ms
of a 935 ms warm jump — replaced by a counted one-pass merge whose
equivalence with build's sort is structural (43 ms). Warm hw/ip jump
935/881 -> 555/564 ms (QA: 872-880 -> 535-546 from its own builds);
the residual is real work, 1 683 new files and a 325 ms word re-lex
filed as the store's FACTS_FORMAT follow-up. The two previously
accidental properties are now pinned, QA's five-mutation matrix
confirming each test binds exactly its property. TODO.md carries take
2's other findings (codeAction big-fan-out zero-offers, inlayHint at
default scope) as deferred items.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 02:52:55 -07:00
lucioandClaude Fable 5 e4407984cb Hotfix: --stdio is accepted, because real VS Code sessions send it
ci / checks (push) Successful in 1m3s
ci / corpus (push) Successful in 21s
vscode-languageclient appends --stdio for TransportKind.stdio — the
spawn the shipped extension actually makes — and the --verbose round's
strict argument parser refused it: exit 2, five crashes, the client
gives up. Nothing in the loop caught it because smoke.js and the
restart harness spawn the binary directly, never through the library.
--stdio now parses as the statement of fact it is (stdio is the only
transport), in every combination, changing nothing; near misses and
genuinely unknown args still exit 2 with the usage line, which now
names both flags. smoke.js spawns with --stdio so the library's real
spawn shape stays covered from here on.

Found live by the owner installing the hierarchy preview build.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-29 02:48:56 -07:00