Round 3 of the census (mcp_analysis.md): with feedback-1/2 the whole-design question is one call and 15 % cheaper than plain file tools (47/47 in 9 calls); the small edits stay 4–19 % dearer; the cross-file rename is complete every time; a 71-instance hierarchy question costs a third of the tool calls but the same tokens because every unit_interface answer carried a 30-line template. Verdict: helpful, not a toy — no wrong answer in 20 runs, one-call whole-design answers, completeness on cross-file edits, verified writes — with a fixed catalogue tax and verbose answers as the cost. Feedback-3 (crates/lucisv_mcp/src/tools/{interface,hierarchy}.rs): `unit_interface` renders the template only with `template: true` (−40 % bytes), `hierarchy` renders `#(…)` only with `overrides: true` (−55…66 %), `ports (N):`/`parameters (N):` headers; QA proved the opt-in output byte-identical to the previous binary over every fixture and the opentitan clone. Docs: the Agents guide's tool table regenerated from the binary and the site rebuilt; CHANGELOG 0.57.0 section and the extension notes drafted for the closing release; TODO-MCP's M6 items closed; docs/mcp/census-runs.txt holds the raw run log. Gates through tools/guard.sh: fmt, clippy, workspace 4 953 passed.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
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/andguides/. - 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.