|
|
dd8ba17591
|
feat(teaching): browser console that runs the functional suite by workbench
A lesson-oriented page plus a loopback job service: click a lesson and the
page really runs tools/web-freecad-functional-suite.mjs, tools/layout-probe.mjs
or tools/static-host.mjs, streaming logs and rendering verdicts from the
suite's own manifest/checkpoint/results files.
- web/tools/teaching-console: catalog derived from scenarios + registry,
73 workbench lessons, template, builder (--check), Playwright gate,
no-browser self-test for every spawn validation path
- web/teaching/suite-runner.mjs: argv whitelist, env whitelist, single
concurrent job, process-group cancel, ring-buffered logs, preflight
- web/teaching/server.mjs: /api/console/* routes with startup token,
Origin check, SSE events, artifact serving; existing routes untouched
- preflight blocks runs (E_PREFLIGHT) instead of starting without dist,
Chrome, DISPLAY, kernel or Playwright
- gates: self-test OK, build --check idempotent, offline + live Playwright
(MOD-Part-01 pass, cancel path) OK
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
2026-11-25 04:12:31 +08:00 |
|
|
|
5b61c77c2c
|
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>
|
2026-11-25 03:22:36 +08:00 |
|