87 lines
3.9 KiB
Markdown
87 lines
3.9 KiB
Markdown
# 07 最终收口说明
|
||
|
||
生成日期:2026-06-26
|
||
|
||
## 1. 收口结论
|
||
|
||
`working4` 当前已完成。`04-task-matrix.md` 中 W4-D、W4-A、W4-P、W4-U、W4-G、
|
||
W4-T、W4-V 任务均为 `done`,当前没有 `todo`、`in_progress`、`blocked` 或
|
||
`deferred` 任务行。
|
||
|
||
本阶段已完成:
|
||
|
||
- `gmoccapy-xyzab` reference profile 和 source reference map。
|
||
- gmoccapy button icon manifest、核心图标资产和 icon registry。
|
||
- gmoccapy native NML/HAL/postgui communication diagnostics。
|
||
- RUN、MDI、JOG、HOME、spindle、coolant、override gate 对齐。
|
||
- Node smoke、browser smoke、dist browser smoke、QA JSON/PDF/截图证据。
|
||
- 文档矩阵、推进台账、验收证据和决策记录归档。
|
||
|
||
## 2. 最终证据
|
||
|
||
QA report:
|
||
|
||
```text
|
||
/home/mes123456/cnc_wams/qa/web-rtcp-5axis-site-test/output/gmoccapy-xyzab-function-report.json
|
||
/home/mes123456/cnc_wams/qa/web-rtcp-5axis-site-test/output/gmoccapy-xyzab-function-report.pdf
|
||
```
|
||
|
||
QA identifiers:
|
||
|
||
```text
|
||
jobId/job_id=xyzab-20260626214346-f4b4aa36
|
||
reportId/report_id=report-xyzab-20260626214346-f4b4aa36
|
||
status=PASS
|
||
steps=6
|
||
checks=10
|
||
generatedAt=2026-06-26T21:43:46.310Z
|
||
```
|
||
|
||
截图目录:
|
||
|
||
```text
|
||
/home/mes123456/cnc_wams/qa/web-rtcp-5axis-site-test/output/gmoccapy-xyzab/
|
||
```
|
||
|
||
最终校验命令:
|
||
|
||
```bash
|
||
rg -n "\\| W4-[A-Z0-9-]+ \\| (todo|in_progress|blocked|deferred) \\|" work/working4/04-task-matrix.md
|
||
TD_WORD="$(printf '%s%s' TO DO)"
|
||
STALE_W4_PATTERN="$(printf '\\u5f85\\u5b9e\\u65bd|\\u5f85\\u9a8c\\u8bc1|\\u5f85\\u751f\\u6210|PDF \\u4efb\\u52a1\\u4fdd\\u6301 todo|\\u672c\\u8f6e\\u53ea\\u521b\\u5efa\\u6587\\u6863|\\u6ca1\\u6709\\u751f\\u6210\\u65b0\\u7684 job_id|\\u540e\\u7eed\\u65b0\\u589e\\uff1a|\\u5efa\\u8bae\\u65b0\\u589e|\\u5efa\\u8bae\\u65b0\\u589e\\u6216\\u66f4\\u65b0|\\u5fc5\\u8981\\u65f6\\u8f93\\u51fa PDF|\\u540e\\u7eed\\u6267\\u884c\\u5165\\u53e3|\\u62df\\u5b8c\\u5584\\u529f\\u80fd\\u5305|%s' "$TD_WORD")"
|
||
rg -n "$STALE_W4_PATTERN" work/working4/README.md work/working4/01-function-content.md work/working4/02-program-development-steps.md work/working4/04-task-matrix.md work/working4/05-acceptance-evidence.md work/working4/07-final-closure.md
|
||
node -e "const r=JSON.parse(require('fs').readFileSync('qa/web-rtcp-5axis-site-test/output/gmoccapy-xyzab-function-report.json','utf8')); if(r.status!=='PASS') process.exit(1); console.log(r.jobId, r.reportId, r.status, r.steps.length, r.checks.length)"
|
||
npm --prefix web-rtcp-5axis-sim-plan/app run build
|
||
npm --prefix web-rtcp-5axis-sim-plan/app run smoke:node
|
||
bash web-rtcp-5axis-sim-plan/tests/browser/verify_gmoccapy_shell_browser.sh
|
||
bash web-rtcp-5axis-sim-plan/tests/browser/verify_gmoccapy_dist_browser.sh
|
||
node qa/web-rtcp-5axis-site-test/capture-gmoccapy-xyzab-function-cases.mjs
|
||
git diff --check -- web-rtcp-5axis-sim-plan qa/web-rtcp-5axis-site-test work/working4
|
||
```
|
||
|
||
最终校验结果:
|
||
|
||
- 未发现未完成 W4 任务行。
|
||
- 当前状态文档未发现规划阶段残留关键词。
|
||
- `npm run build`、`npm run smoke:node`、gmoccapy shell browser smoke 和 dist browser smoke 均返回 0。
|
||
- QA capture 重新生成 JSON/PDF/截图,状态为 `PASS`,包含 6 个步骤和 10 个检查。
|
||
- `git diff --check` 返回 0。
|
||
|
||
## 3. 保留边界
|
||
|
||
- `gmoccapy-xyzab` 是 `trivkins coordinates=xyzab` reference-only profile。
|
||
- 本阶段不把 `gmoccapy-xyzab` 声称为 TCP/RTCP proof。
|
||
- 本阶段不证明 native `linuxcncsvr`、`milltask`、HAL realtime thread 或 gmoccapy GTK runtime 实机运行。
|
||
- 真实 RTCP promotion 仍来自 source-derived `xyzac-trt`、`xyzbc-trt` 等已有验收链路。
|
||
|
||
## 4. 后续变更规则
|
||
|
||
后续如继续扩展 `working4` 范围,必须先在 `04-task-matrix.md` 新增任务编号,不应复用已完成的 W4-D/W4-A/W4-P/W4-U/W4-G/W4-T/W4-V 任务作为未完成项。
|
||
|
||
每个新增任务必须同步更新:
|
||
|
||
- `03-progress-ledger.md`
|
||
- `04-task-matrix.md`
|
||
- `05-acceptance-evidence.md`
|
||
- 本文件的最终证据或保留边界
|