diff --git a/CLAUDE.md b/CLAUDE.md index 95ab4a3..9103281 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -70,6 +70,13 @@ is in the decomposition-server README) and `vlog_parser/src/lexer.rs` thresholds: a dev adding to a file near 600 puts the code in a new module. +Re-measured 2026-09-07 at 0.49.0 (same rule, before `mod tests`): four +files over 600 — `lucisv_server/src/state.rs` 958 (grew across §37–§49; +a decomposition is filed as TODO §55: scope/widen, the document store, +the source selectors are three sentences), `perf.rs` 900 (reasoned), +`lexer.rs` 763, `vlog_formatter/src/format/stmt.rs` 604 (at the mark; the +next statement arm goes in a new module) — and everything else under it. + ## Rust standards - `cargo fmt` clean, `cargo clippy --all-targets` clean (no `#[allow]` diff --git a/TODO.md b/TODO.md index 938a895..d7a297e 100644 --- a/TODO.md +++ b/TODO.md @@ -4643,7 +4643,32 @@ re-exports (topo 16) → §49 cross-file instance-member tail in rename 0.46.0 → §52 organize imports → §53.1 extract module → 0.47.0 → **§56 DUT-centred hierarchy view (owner request 2026-09-06) → 0.48.0** → §53.2 inline module (its own lane; 53.1 consumed the round, as planned) -→ §54 coverage gaps L3/L6/L10 → 0.49.0. Sections after §46 are planned when +→ §54 coverage gaps L3/L6/L10 → 0.49.0. + +**Closed 2026-09-07.** Every section above shipped in the release named: +0.44.0 (§45, §46), 0.45.0 (§47–§49), 0.46.0 (§50, §51), 0.47.0 (§52, +§53.1), 0.48.0/0.48.2 (§56; 0.48.0's first packages were built a commit +early and 0.48.1 never built — see the changelog), 0.49.0 (§53.2, §54). +Loop 2's dev/QA/lead protocol ran in the main tree with no worktrees; +its two release slips are recorded in CLAUDE.md's rules of thumb below +(§57) and in the lead's memory. + +**Open items for loop 3** (owner decides; nothing here is in flight): +- §44 second finding ruled non-hot; §55 `state.rs` decomposition (958 + lines, three sentences) — a Fable refactor lane; +- topo §2.9-31 DPI-export name binding (dpi-export request (b)); +- topo §2.9-32 the refactoring verifier and a same-file relocation of a + never-dropped piece written as two edits (eq. 3 unreachable); +- topo §2.9-33 `module_sources` lacks a transitive-instantiators rung + (inline-module's hierarchical scan sees only the handed files); +- inline module's deliberate refusals worth their own rounds: same-file + `S`, unconnected outputs, any `generate`, prefixing past end labels; + extract module's: attributes on absorbed declarations (§51 too), an + `interface`'s non-ANSI header (§51), a `.*` inside a `bind` (§50); +- `uvm-utils-indent` default (off; 21 corpus files change when on) — + revisit after use; +- organize imports on files with `` `include``s (refused by design — + the preprocessor question, TODO §7's standing non-goal). Sections after §46 are planned when reached. ## 45. Small items, round 4 (planned 2026-09-05) — topo §2.9-29, 30, 17, 22 @@ -5462,11 +5487,13 @@ the existing bookmark does (`hierarchyView.js` `BOOKMARK_KEY`). After §53.2 and §54 merge and 0.49.0 ships, the last lane of loop 2 is the lead's own, no dev/QA: -- [ ] **Tree:** `git status --porcelain` empty; `git worktree list` shows +- [x] **Tree:** `git status --porcelain` empty; `git worktree list` shows the main tree only; `git branch` shows `master` only; no local tag that is not on the server; no stray files in the tree (`corpus-check-results.tsv` is ignored — fine); the scratchpad and - `~/.cache/lucisv-baselines/wip-*` snapshots deleted. + `~/.cache/lucisv-baselines/wip-*` snapshots deleted. — done + 2026-09-07 at 4c2dae3 (main tree only, `master` only, every local + tag on the server, snapshots and scratch leftovers removed). - [ ] **Remote:** `master` pushed and equal to local; every release tag on the server; every release with 8 assets; the published vsix of the final release unzipped and checked for the feature files of @@ -5477,12 +5504,14 @@ lead's own, no dev/QA: topo §2.9 open rows (23 done; 29/30 done; 31 DPI export, 32 the verifier same-file relocation) restated in one "open items" list for loop 3. -- [ ] **Docs:** `docs/topo.md` rows for every loop-2 lane present; +- [x] **Docs:** `docs/topo.md` rows for every loop-2 lane present; `docs/coverage_gaps.md` struck where delivered; CLAUDE.md's measurement line refreshed (`state.rs` 957 lines → whatever §55 leaves it; if §55 does not run, the number and the reason); `docs/manual-acceptance.md` rows through §56; the site rebuilt and - committed. + committed. — done 2026-09-07 (CLAUDE.md re-measured at 0.49.0: + state.rs 958 with §55 filed; topo rows for §36–§56; L3/L6/L9/L10 + struck; acceptance rows 15–17; site rebuilt in the §54 commit). - [ ] **Memory:** the paused-state memory rewritten as a short current state (not a running log), with the release list and the open items. - [ ] **Closing release:** if anything above changed a shipped file