Commit Graph

3 Commits

Author SHA1 Message Date
b876ad5742 feat(reducer): 二级减速器有头创建工具包与初学者教学
- tools/reducer:目录/前置/单件/批量/装配/自测,复用 cad-ui-rebuild 引擎
- 教学控制台新增「二级减速器」分组:23 件逐件课 + 装配课 + 环境课(job kind reducer-part / reducer-assembly)
- web/teaching/reducer-toolkit.html 初学者配套页(生成物)+ Playwright 双视口门禁
- 首页补工具入口;工具手册随 npm 脚本变更重生成

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-25 07:31:24 +08:00
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
4eff6110e7 Add 27-model production-line Web FreeCAD course tooling and pages
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 04:16:04 +08:00