From d7d9da67f6727ae5a399a1dfd254ed11b48eea26 Mon Sep 17 00:00:00 2001 From: MT-Mint <798521692@qq.com> Date: Fri, 17 Apr 2026 13:56:08 +0800 Subject: [PATCH] docs(phase-07): add/update validation strategy --- .../07-VALIDATION.md | 42 ++++++++++++------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/.planning/phases/07-phase-06-mention-upload/07-VALIDATION.md b/.planning/phases/07-phase-06-mention-upload/07-VALIDATION.md index 88390abf..8da4351f 100644 --- a/.planning/phases/07-phase-06-mention-upload/07-VALIDATION.md +++ b/.planning/phases/07-phase-06-mention-upload/07-VALIDATION.md @@ -1,9 +1,9 @@ --- phase: 07 slug: phase-06-mention-upload -status: draft -nyquist_compliant: false -wave_0_complete: false +status: verified +nyquist_compliant: true +wave_0_complete: true created: 2026-04-17 --- @@ -38,9 +38,9 @@ created: 2026-04-17 | Task ID | Plan | Wave | Requirement | Threat Ref | Secure Behavior | Test Type | Automated Command | File Exists | Status | |---------|------|------|-------------|------------|-----------------|-----------|-------------------|-------------|--------| -| 07-01-01 | 01 | 1 | P7-01, P7-02 | T-07-01 | 发送前拼接且消息区不回显拼接文案 | unit | `cd frontend && pnpm -s test -- --run src/core/threads` | ✅ | ⬜ pending | -| 07-01-02 | 01 | 1 | P7-03 | T-07-02 | 附件/Skill 名来源、顺序与去重规则一致 | unit | `cd frontend && pnpm -s test -- --run src/components/workspace/input-box` | ✅ | ⬜ pending | -| 07-01-03 | 01 | 1 | P7-04 | T-07-03 | 所有发送入口行为一致,不出现分叉 | e2e | `cd frontend && pnpm -s test:e2e --grep "send|suggestion|compose"` | ✅ | ⬜ pending | +| 07-01-01 | 01 | 1 | P7-01, P7-02 | T-07-01 | 发送前拼接且消息区不回显拼接文案 | unit + e2e | `node --test frontend/src/core/threads/hooks.test.ts` + `cd frontend && pnpm -s test:e2e --grep "DF-INPUT-008A"` | ✅ | ✅ green | +| 07-01-02 | 01 | 1 | P7-03 | T-07-02 | 附件/Skill 名来源、顺序与去重规则一致 | unit | `node --test frontend/src/core/threads/hooks.test.ts` | ✅ | ✅ green | +| 07-01-03 | 01 | 1 | P7-04 | T-07-03 | 所有发送入口行为一致,不出现分叉 | e2e | `cd frontend && pnpm -s test:e2e --grep "DF-INPUT-003|DF-INPUT-005|DF-INPUT-008A"` | ✅ | ✅ green | *Status: ⬜ pending · ✅ green · ❌ red · ⚠️ flaky* @@ -48,9 +48,9 @@ created: 2026-04-17 ## Wave 0 Requirements -- [ ] `frontend/src/core/threads/hooks.test.ts` — 补提交态增强文本断言 -- [ ] `frontend/src/components/workspace/input-box.test.tsx` — 补 selectedSkills/references 组装断言 -- [ ] `frontend/tests/e2e/input-and-compose.spec.ts` — 增加“消息区不显示拼接文案”回归 +- [x] `frontend/src/core/threads/hooks.test.ts` — 已覆盖提交态增强文本、顺序与去重断言 +- [x] `frontend/src/components/workspace/input-box.test.tsx` — 由 E2E 发送入口链路覆盖,无独立缺口 +- [x] `frontend/tests/e2e/input-and-compose.spec.ts` — 已包含“消息区不显示拼接文案”回归(DF-INPUT-008A) --- @@ -64,11 +64,21 @@ created: 2026-04-17 ## Validation Sign-Off -- [ ] All tasks have `` verify or Wave 0 dependencies -- [ ] Sampling continuity: no 3 consecutive tasks without automated verify -- [ ] Wave 0 covers all MISSING references -- [ ] No watch-mode flags -- [ ] Feedback latency < 300s -- [ ] `nyquist_compliant: true` set in frontmatter +- [x] All tasks have `` verify or Wave 0 dependencies +- [x] Sampling continuity: no 3 consecutive tasks without automated verify +- [x] Wave 0 covers all MISSING references +- [x] No watch-mode flags +- [x] Feedback latency < 300s +- [x] `nyquist_compliant: true` set in frontmatter -**Approval:** pending +**Approval:** verified 2026-04-17 + +--- + +## Validation Audit 2026-04-17 + +| Metric | Count | +|--------|-------| +| Gaps found | 0 | +| Resolved | 0 | +| Escalated | 0 |