docs(tools): generate full tool usage manual (HTML)

Static scan of tools/ and web/tools/ (1691 files, no tool execution):
purpose/usage/env extraction with provenance badges, family folding
(67 families covering 953 files), 16 directory records, 42 hand-written
chapters plus 4 environment contracts, and a 1996-entry search index.

- tools/tools-manual/{config,scan,extract,chapters,render,verify}.mjs
- tools/build-tools-manual.mjs (--check/--verify/--stats)
- tools/check-tools-manual.mjs (Playwright, desktop + mobile)
- docs/current/tools-manual/index.html (1.08 MB, self-contained)
- web/package.json: manual:tools, check:tools-manual

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 03:22:36 +08:00
parent facbb196d8
commit 5b61c77c2c
10 changed files with 2879 additions and 0 deletions

View File

@@ -35,12 +35,15 @@
"build:wasm-modules": "python3 ../tools/build_web_module_artifacts.py",
"sync:wasm-manifest": "node tools/sync-assets.mjs",
"check:geometry-boundary": "node tools/audit-geometry-boundary.mjs",
"sync:ui-mount-inventory": "node ../tools/parity/build-ui-mount-inventory.mjs",
"resume:official": "node ../tools/auto-resume-official-case.mjs --json",
"checkpoint:official": "node ../tools/official-case-checkpoint.mjs",
"check:official-continuation": "node ../tools/auto-resume-official-case.mjs --json && node ../tools/check-official-case-continuation.mjs --json",
"manual:features": "node tools/manual/generate-features.mjs",
"build:manual": "node tools/manual/build-manual.mjs",
"check:manual": "node tools/manual/check-page.mjs",
"manual:tools": "node ../tools/build-tools-manual.mjs",
"check:tools-manual": "node ../tools/build-tools-manual.mjs --verify && node ../tools/check-tools-manual.mjs",
"prebuild": "npm run sync-show-python-family-fixture && npm run check:geometry-boundary",
"dev": "npm run sync-api-index && npm run sync-object-index && npm run sync-format-index && npm run sync-module-registry && npm run sync-part-tier2-adapter && npm run sync-partdesign-tier2-adapter && npm run sync-sketcher-tier2-adapter && npm run sync-techdraw-tier2-adapter && npm run sync-import-tier2-adapter && npm run sync-mesh-tier2-adapter && npm run sync-material-tier1-adapter && npm run sync-tier2-remainder && npm run sync-tier3-stateful && npm run sync-viewprovider-index && npm run sync-property-index && npm run sync-geometry-index && npm run sync-document-graph-index && npm run sync-capability-index && npm run sync-tier1-readonly && npm run sync-tier4-restricted && npm run sync-api-adapter-fill && npm run sync-format-extensions && npm run sync-kernel && npm run sync-release-manifest && vite --host 0.0.0.0",
"build": "npm run sync-api-index && npm run sync-object-index && npm run sync-format-index && npm run sync-module-registry && npm run sync-part-tier2-adapter && npm run sync-partdesign-tier2-adapter && npm run sync-sketcher-tier2-adapter && npm run sync-techdraw-tier2-adapter && npm run sync-import-tier2-adapter && npm run sync-mesh-tier2-adapter && npm run sync-material-tier1-adapter && npm run sync-tier2-remainder && npm run sync-tier3-stateful && npm run sync-viewprovider-index && npm run sync-property-index && npm run sync-geometry-index && npm run sync-document-graph-index && npm run sync-capability-index && npm run sync-tier1-readonly && npm run sync-tier4-restricted && npm run sync-api-adapter-fill && npm run sync-format-extensions && npm run sync-kernel && npm run sync-release-manifest && tsc --noEmit && vite build",