diff --git a/.planning/REQUIREMENTS.md b/.planning/REQUIREMENTS.md index ce3f542..01e350c 100644 --- a/.planning/REQUIREMENTS.md +++ b/.planning/REQUIREMENTS.md @@ -36,6 +36,10 @@ Requirements for the engine's completion. Each maps to roadmap phases. - [ ] **TEST-01**: 为核心系统(数据层等)补齐单元测试 +### 数据端缺陷修复(Fix) + +- [ ] **FIX-01**: 修复数据端单元测试暴露的缺陷(仅数据端,不含渲染端),使正确预期用例转绿 + ## Out of Scope Explicitly excluded. Documented to prevent scope creep. @@ -63,13 +67,15 @@ Which phases cover which requirements. Updated during roadmap creation. | LEGACY-01 | Phase 5 | Pending | | LEGACY-02 | Phase 5 | Pending | | TEST-01 | Phase 6 | In Progress | +| FIX-01 | Phase 7 | Pending | **Coverage:** -- v1 requirements: 11 total -- Mapped to phases: 11 +- v1 requirements: 12 total +- Mapped to phases: 12 - Unmapped: 0 ✓ --- *Requirements defined: 2026-09-07* -*Last updated: 2026-09-14: corrected TEST-01 from Complete to In Progress (Phase 6 data-layer slice done; rendering-side unit tests outstanding)* +*Last updated: 2026-09-15: added FIX-01 (Phase 7 数据端缺陷修复); TEST-01 remains In Progress.* +*2026-09-14: corrected TEST-01 from Complete to In Progress (Phase 6 data-layer slice done; rendering-side unit tests outstanding)* diff --git a/.planning/ROADMAP.md b/.planning/ROADMAP.md index 881af8f..2047e3f 100644 --- a/.planning/ROADMAP.md +++ b/.planning/ROADMAP.md @@ -254,10 +254,24 @@ Plans: - [x] 06-15-PLAN.md — combat interface gap: G-06-01-D (`EnemyContext.deleteAura` normal case — `addAura` applies `atk 2→5` → `deleteAura` same instance → `buildup` expects `2`); blocked `#06-15-1` (same root cause as `#06-01-4`) as correct-expectation `it.skip`, pending user decision +### Phase 7: 数据端缺陷修复 + +**Goal**: 修复 Phase 6 单元测试暴露的数据端疑似缺陷,使正确预期用例转绿,且仅限数据端、不涉及渲染端 +**Depends on**: Phase 6 +**Requirements**: FIX-01 +**Success Criteria** (what must be TRUE): + + 1. 06-TEST-FINDINGS.md 登记的数据端疑似缺陷全部处置完毕(修复或经用户裁定改契约/不修复):#06-01-1..4、#06-03-1、#06-04-1..4、#06-05-1..3、#06-06-1、#06-07-1、#06-08-1、#06-09-1/2/3/5,以及同根因的 #06-15-1(#06-09-4 已作废) + 2. 对应的正确预期 it.skip 用例在修复后取消 skip 并通过;无法修复的缺陷经用户确认后同步修正接口文档/契约 + 3. pnpm test:ci 全绿且不新增跳过用例,数据范围 check:type / check:circular 门禁通过 + 4. 改动仅限数据端(packages 与 packages-user/data-*),不改动渲染端 @user/client-* 与 legacy 渲染接线,双端分离约束保持 + +**Plans**: TBD + ## Progress **Execution Order:** -Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 +Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 → 7 | Phase | Plans Complete | Status | Completed | |-------|----------------|--------|-----------| @@ -267,3 +281,4 @@ Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 | 4. 渲染适配与双布局 | 0/TBD | Not started | - | | 5. Legacy 移植 | 0/TBD | Not started | - | | 6. 单元测试 | 15/15 | In Progress| | +| 7. 数据端缺陷修复 | 0/TBD | Not started | - | diff --git a/.planning/STATE.md b/.planning/STATE.md index 319a1e5..7935c90 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -10,7 +10,7 @@ last_activity: 2026-09-15 last_activity_desc: Phase 06 gap-fill 06-15 complete — #06-15-1 correct-expectation skip awaiting user decision state_head: d3eb4d2a0044930c559a373bd1e181f44f9cc2e6 progress: - total_phases: 6 + total_phases: 7 completed_phases: 0 total_plans: 51 completed_plans: 51 @@ -203,6 +203,10 @@ Recent decisions affecting current work: - [Phase 06]: 06-15:#06-15-1 与既有 #06-01-4 同根因(`buildup()` 只清空光环拓扑、未像 `refreshEnemy()` 那样先 `view.reset()`),findings 中交叉引用 #06-01-4 而非另立独立缺陷编号;修复 #06-01-4 后本用例可直接取消 skip - [Phase 06]: 06-15:删除全局光环判定必须传同一光环实例(`globalAuraList` 为 Set 身份比较)且必须注册 `FakeConverter([])` 打开光环流水线(否则 `buildupBase()` 不执行导致假绿);本计划无新增码、无新增依赖、不测 saveState/loadState、不改动任何生产/核心源码 +### Roadmap Evolution + +- Phase 7 added: 数据端缺陷修复(仅数据端;修复 Phase 6 单元测试暴露的疑似缺陷,使正确预期用例转绿,不含渲染端) + ### Pending Todos None yet. diff --git a/.planning/phases/07-data-fixes/.gitkeep b/.planning/phases/07-data-fixes/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/.planning/phases/07-data-fixes/.gitkeep @@ -0,0 +1 @@ + diff --git a/.planning/state.json b/.planning/state.json index 84bdf7c..793de05 100644 --- a/.planning/state.json +++ b/.planning/state.json @@ -32,12 +32,17 @@ "number": "6", "name": "单元测试", "status": "in_progress" + }, + { + "number": "7", + "name": "数据端缺陷修复", + "status": "pending" } ], "next": { "command": "/gsd:progress --next", "label": "Advance to the next step", - "reason": "Phase 06 of 6 · executing" + "reason": "Phase 06 of 7 · executing" }, - "updated_at": "2026-09-15T03:51:56.265Z" + "updated_at": "2026-09-15T05:32:59.441Z" }