Files
lucisv/docs/site
lucioandClaude Fable 5.1 f476c31483 Cross-file instance-member tail: a module's hierarchical surface, read only behind an instance head; rename edits the tail
TODO §49 (docs/features/hierarchical-tail). Closes topo §2.9-23 and
comment-slots finding 2. The first dev was cut off by an outage with the
library half complete; a second finished the tests, README and gates.

`Surface { Connection, Hierarchical }` on `Resolution::ExternalCandidate`
and `MemberSite::Unit`, set by `resolve.rs::head_surface` for an instance
head. `workspace/hierarchy.rs`: `surface_of` (the export rule, re-ruled)
and the two surface-taking reads; the index keeps two disjoint tables —
`members` (connection: ports, parameters; byte-identical to before for
every existing reader) and `hier_members` (nets, variables, instances) —
and a hierarchical read consults the connection table first, so a port
has one record. `FACTS_FORMAT` 18 → 19. `assign w = u_x.sig;` in another
file now resolves to `sub`'s `wire sig`; rename edits both files (nested
`u_a.u_b.sig` included); the §2.9-20 warning is retired for a resolved
tail; a generate-scoped net is still refused honestly. Completion after
`u_x.` in an expression lists the hierarchical surface; a connection
list's does not.

Census: single-file numbers unmoved; 12 939 connection + 5 239
hierarchical-only members; 335 corpus references newly resolve, 514 over
opentitan `hw/` (20 sampled by QA, all genuine). 0 of 860 corpus files
differ. Also: §50/§51 planned, §55 (state.rs size) filed.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-05 13:35:57 -05:00
..

lucisv documentation site

Astro 7 and Starlight build the static user guide and reference pages from src/content/docs/. Dependencies are pinned in package.json and package-lock.json; use the lockfile when installing:

cd docs/site
npm ci
npm run dev

Build and inspect the deployable output:

npm run build
npm run preview

dist/ contains pre-rendered HTML, CSS, JavaScript, Pagefind search, and XML sitemaps; no application server is required. It is tracked in this repository, so rebuild it after changing documentation and review the generated diff. Building does not publish the site. In a restricted environment, use ASTRO_TELEMETRY_DISABLED=1 npm run build to avoid Astro writing its global telemetry preferences.

Editing and verification

  • Usage guides: src/content/docs/start/ and guides/.
  • CLI, lint rules, LSP, architecture and API navigation: src/content/docs/reference/.
  • Overview: src/content/docs/index.mdx.
  • Routes/sidebar, site URL and metadata: astro.config.mjs.
  • Visual styles: src/styles/custom.css; static media: public/.

The site is derived documentation. Check behavior against the Rust source, CLI help, and feature contracts before updating prose. The repository-wide analysis and topology cover internal ownership and limitations. Historical coverage/performance numbers must retain their measurement scope and date.

From the repository root, generate the canonical lint rule reference and the complete Rust API docs with:

cargo run -p lucisv -- check --rules-doc
cargo doc --workspace --no-deps

The site rule page adds editorial explanations; it must agree with the registry's rule names, severities, defaults, options and fix applicability. The API page is navigational, not an exhaustive signature inventory. npm run build validates content rendering and builds search/sitemaps. npm run check invokes Astro's optional checker; it requires checker packages beyond this site's current declared dependencies.