feat(PR-05): Trace provenance annotations, grouped chips and stale semantics
- mark static anchors data-annotation-source=analysis and observed run chips data-annotation-source=trace with run seq/kind; group events per source anchor into one chip (>3 events collapse to ×N with a truthful title) - add controller tests for source edits during a run (stale=true and all anchors/source ids null), mismatched Trace digest (run succeeds, trace.status=invalid, no events) and truncated Trace (event_budget preserved) - ADR-0010 records the annotation/staleness strategy and the allowed inline-chip degradation instead of SVG curves - extend browser suite with provenance/grouping assertions and dark-theme run screenshot; record PR-05 evidence (real Chromium, RFC width matrix) - unit 63 + contract 41 + integration 43 + security 11 pass; clippy clean
This commit is contained in:
1 parent
046834bcb6
commit
807c24b952
14 files changed
+462
-18
No files matched your search
+4
-7
@@ -25,7 +25,7 @@
|
||||
| PR-02 Reader/Analysis 只读面与目标目录结构 | **完成** | `src/protocol/*`、`src/reader/*`、`src/config.rs`、`tests/{contract,integration}/`、`/api/documents`;证据 `docs/evidence/PR-02/` |
|
||||
| PR-03 执行层:request/process/controller、pure + project grants | **完成** | `src/execution/{request,process,controller,events}.rs`、`--run-timeout`、ADR-0008、`tests/integration/execution.rs`;证据 `docs/evidence/PR-03/` |
|
||||
| PR-04 SSE 任务生命周期、取消、7 路由、会话 Cookie/CSRF | **完成** | `src/server/{mod,routes,security,sse}.rs`、`assets/reader.js` SSE/表单、`tests/integration/http_live.rs`、`tests/security/`、真实 Chromium + 真实冻结 CLI SSE 证据 `docs/evidence/PR-04/` |
|
||||
| PR-05 Trace 绑定/原文标注/浏览器回归 | 待开始(SSE 后动态标注/宽度矩阵已基本具备) | `src/execution/controller.rs` Trace 摘要、浏览器证据 |
|
||||
| PR-05 Trace 绑定/原文标注/浏览器回归 | **完成** | Controller Trace 摘要/`source_id`/stale、ADR-0010、`docs/evidence/PR-05/`(Chromium + 截图) |
|
||||
| PR-06 静态导出/发布包/文档闭环 | 待开始 | `src/export.rs`、`scripts/acceptance.sh`、`docs/ACCEPTANCE.md` |
|
||||
|
||||
## 继承自 0001 的可用资产(不等于 0002 验收通过)
|
||||
@@ -49,17 +49,14 @@ PR-00~PR-04 已关闭 SSE、7 路由、单函数调用表单、受控 project
|
||||
会话 Cookie/CSRF、取消/去重/单任务、执行预算与有界输出、目标目录/测试树/
|
||||
`scripts/`/CI/浏览器宽度矩阵。**剩余**:
|
||||
|
||||
1. **PR-05**:Trace 事件到原文的锚点/侧注在 SSE 后已由前端按 `source_id`
|
||||
渲染 keyed chip;仍需固化 stale/截断/无 Trace 的浏览器回归与最终视觉矩阵
|
||||
证据(含深色/打印/断网/无 JS)。
|
||||
2. **PR-06**:`examples/{welcome,branch-loop,function-params,knowledge-only,
|
||||
1. **PR-06**:`examples/{welcome,branch-loop,function-params,knowledge-only,
|
||||
unsafe-side-effect}.mq.md` 需按 RFC §13.3 创建并用冻结 CLI 实际 check/call
|
||||
记录;静态导出需按 0002 重新跑离线/零执行验收;更新 ACCEPTANCE/README/
|
||||
COMPATIBILITY/CHANGELOG 为 0002 口径并生成最终 evidence manifest。
|
||||
3. 0002 §9.2 N 系列须逐项在最终验收报告中登记(当前 HTTP/SSE/安全套件已覆盖
|
||||
2. 0002 §9.2 N 系列须逐项在最终验收报告中登记(当前 HTTP/SSE/安全套件已覆盖
|
||||
大部分:N01/N02/N03/N04/N05/N06/N07/N09/N10/N11/N12/N13/N14/N15/N16/N17/
|
||||
N19/N21/N22 有对应测试;N18/N20 在 PR-06 冻结 CLI/导出套件中登记)。
|
||||
4. 视觉/可达性的人工像素级比对与完整 screen-reader 走查仍标 `UNVERIFIED`,
|
||||
3. 视觉/可达性的人工像素级比对与完整 screen-reader 走查仍标 `UNVERIFIED`,
|
||||
自动化几何/颜色/无外部资源/响应式证据已存在(`docs/evidence/PR-04/`)。
|
||||
|
||||
## 明确 UNSUPPORTED / 非目标(不得伪造)
|
||||
|
||||
Reference in new issue
Block a user