diff --git a/.planning/ROADMAP.md b/.planning/ROADMAP.md index de580c9..9332433 100644 --- a/.planning/ROADMAP.md +++ b/.planning/ROADMAP.md @@ -181,7 +181,7 @@ Plans: 3. 移动端(窄屏)布局下,同一场景正常显示且可操作 4. 数据端与渲染端保持双端分离——数据端无 DOM,仍可在 Node 环境跑回放验证 -**Plans**: 8/8 plans planned — 04-01..04-07 已执行(04-06 = material 接口影响范围清点·只读;04-07 = material 接口适应实施·第二步);**04-08(TextureManager 新接口影响范围清点·只读,D-38/D-39/D-40/D-41/D-42 第一步)已规划待执行**;渲染适配与移动端/桌面端双布局(REND-01/REND-02)整体仍未完成 +**Plans**: 8/8 plans executed planned — 04-01..04-07 已执行(04-06 = material 接口影响范围清点·只读;04-07 = material 接口适应实施·第二步);**04-08(TextureManager 新接口影响范围清点·只读,D-38/D-39/D-40/D-41/D-42 第一步)已规划待执行**;渲染适配与移动端/桌面端双布局(REND-01/REND-02)整体仍未完成 **Plan register note (2026-09-21):** 第五个增量 `04-05`(收口 `#04-01-M-06` / `#04-01-M-09`:状态栏 9 个数值属性改经 `client.hero.attribute.getFinalAttribute(...)` 读取 + 逐图层钩子类 `RendererLayerHook`,2026-09-20 执行)此前未登记进本路线图,本次一并补登;第六个增量 `04-06` = material 接口适应(D-30/D-31/D-32)**第一步·只读影响清点**,产出 `04-MATERIAL-INTERFACE-IMPACT.md`,第二步(实施)待用户审阅后另行规划。第七个增量 `04-07` = material 接口适应实施(**第二步·代码改动**,D-33..D-37),2026-09-22 已执行(10 文件原子提交)。**第八个增量 `04-08` = TextureManager 新接口适应(D-38..D-42)第一步·只读影响清点**,产出 `04-TEXTURE-INTERFACE-IMPACT.md`;第二步(实施)待用户审阅后另行规划。 Plans: @@ -212,7 +212,7 @@ Plans: **Wave 7** *(blocked on Wave 6 completion)* -- [ ] 04-08-PLAN.md — TextureManager 新接口影响范围清点(**只读**,D-38/D-39/D-40/D-41/D-42 第一步):以 `d36ea69`(`refactor: 贴图存储方式`)后的 `client-base/src/{types.ts,material/types.ts,material/manager.ts,material/autotile.ts,material/index.ts}` 为基准,清点 `packages-user` 消费者面对改名(`MaterialManager`→`TextureManager` 与构造器)、移除(`BlockCls` 枚举 / `IMaterialFramedData.cls`→`tileType` / `IAutotileProcessor` 三方法合一 / `renderAnimatedWith`→`renderAnimated` / `getIdentifierByAlias` / `getAliasByIdentifier` / `getBlockCls(ByAlias)` / `IClientBase.autotile` / `create()` 与 `createMaterial()`)与新增收紧(`tiles` / `autotile` / `tilesetReserve` / `tilesetUnit` / `getFrameCount` / 四个 `add*` 参数 / `flatten` / `AutotileType` / `IClientCoreConfig` 两个必填字段)的引用,按 A 符号改名与移除 / B 成员与签名变化 / C 地图渲染消费者定位索引 / D 被删且无替代(需用户反馈)/ E 加载相关与添加素材(仅报告,D-39/D-41)/ F 未确定 六类分组,每行精确到符号 + `file:line` 且 ≥2 锚点;产出 `04-TEXTURE-INTERFACE-IMPACT.md`,生产代码零改动(`material/` 按 D-42 只登记),第二步实施待用户审阅后另行规划 +- [x] 04-08-PLAN.md — TextureManager 新接口影响范围清点(**只读**,D-38/D-39/D-40/D-41/D-42 第一步):以 `d36ea69`(`refactor: 贴图存储方式`)后的 `client-base/src/{types.ts,material/types.ts,material/manager.ts,material/autotile.ts,material/index.ts}` 为基准,清点 `packages-user` 消费者面对改名(`MaterialManager`→`TextureManager` 与构造器)、移除(`BlockCls` 枚举 / `IMaterialFramedData.cls`→`tileType` / `IAutotileProcessor` 三方法合一 / `renderAnimatedWith`→`renderAnimated` / `getIdentifierByAlias` / `getAliasByIdentifier` / `getBlockCls(ByAlias)` / `IClientBase.autotile` / `create()` 与 `createMaterial()`)与新增收紧(`tiles` / `autotile` / `tilesetReserve` / `tilesetUnit` / `getFrameCount` / 四个 `add*` 参数 / `flatten` / `AutotileType` / `IClientCoreConfig` 两个必填字段)的引用,按 A 符号改名与移除 / B 成员与签名变化 / C 地图渲染消费者定位索引 / D 被删且无替代(需用户反馈)/ E 加载相关与添加素材(仅报告,D-39/D-41)/ F 未确定 六类分组,每行精确到符号 + `file:line` 且 ≥2 锚点;产出 `04-TEXTURE-INTERFACE-IMPACT.md`,生产代码零改动(`material/` 按 D-42 只登记),第二步实施待用户审阅后另行规划 **UI hint**: yes @@ -407,7 +407,7 @@ Phases execute in numeric order: 1 → 2 → 3 → 4 → 5 → 6 → 7 | 1. 事件系统 | 13/13 | In Progress| | | 2. 寻路系统 | 5/5 | In Progress| | | 3. 数据端完成 | 19/19 | Complete | 2026-09-12 | -| 4. 渲染适配与双布局 | 7/7 | In Progress| | +| 4. 渲染适配与双布局 | 8/8 | In Progress| | | 5. Legacy 移植 | 0/TBD | Not started | - | | 6. 单元测试 | 18/18 | In Progress| | | 7. 数据端缺陷修复 | 15/16 | 暂缓 (Deferred) | - | diff --git a/.planning/STATE.md b/.planning/STATE.md index e091a49..ea2ec60 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -4,16 +4,16 @@ milestone: v1.0 current_phase: 04 current_phase_name: 渲染适配与双布局 status: executing -stopped_at: Completed 04-07-PLAN.md(material 接口适应实施:big-image 全删、7 处改 getTile、四实现类构造器注入 state、cache.ts legacy 路径删除、补 @user/data-state 声明;material 诊断 19→0、总行数 199→180;REND-01/REND-02 保持 Pending) -last_updated: "2026-09-23T03:17:38.728Z" -last_activity: 2026-09-21 -last_activity_desc: Phase 04 execution started -state_head: b4c8482f874dd710f97a91f854283fe670734ecb +stopped_at: Completed 04-08-PLAN.md(TextureManager 新接口影响范围清点·只读:交付 04-TEXTURE-INTERFACE-IMPACT.md(11 节 / A13 B8 C8 D9 E7 F8 / 每行双 file:line 锚点);旧名 5 个源码面 0 引用;texture 归属错误 23 不变、总错误 263;生产代码零改动;REND-01/REND-02 保持 Pending,第二步未规划) +last_updated: "2026-09-23T05:20:00.000Z" +last_activity: 2026-09-23 +last_activity_desc: Completed 04-08-PLAN.md(TextureManager 新接口影响范围清点·只读) +state_head: e47c34c6b0152217d4f20630d89c5297b5336e80 progress: total_phases: 7 completed_phases: 1 total_plans: 79 - completed_plans: 77 + completed_plans: 78 milestone_name: milestone --- @@ -28,10 +28,10 @@ See: .planning/PROJECT.md (updated 2026-09-17) ## Current Position -Phase: 04 (渲染适配与双布局) — READY TO EXECUTE -Plan: 7 of 7 -Status: Ready to execute -Last activity: 2026-09-21 — Completed quick task 260921-lwa: Upgrade toolchain to pnpm 12.5.1 and Node 24 +Phase: 04 (渲染适配与双布局) — IN PROGRESS +Plan: 8 of 8 +Status: 04-08 完成(TextureManager 新接口影响范围只读清点);Phase 4 整体未完成 — REND-01/REND-02 仍 Pending,第二步(texture 接口适应实施)待用户审阅后另行规划 +Last activity: 2026-09-23 — Completed 04-08-PLAN.md(TextureManager 新接口影响范围清点·只读) Progress: [█████░░░░░] 50% diff --git a/.planning/milestone.lock b/.planning/milestone.lock index 00aadd0..a7f560b 100644 --- a/.planning/milestone.lock +++ b/.planning/milestone.lock @@ -1,6 +1,6 @@ { "phase": "04", - "session": "wt-session-b84829ae-9f7f-44f6-b3e6-65c99e0c49cb", - "pid": 33048, - "updated_at": 1789718455992 + "session": "wt-session-05f6d015-f20a-49e3-bced-83df09fd48f7", + "pid": 3324, + "updated_at": 1790139339759 } diff --git a/.planning/state.json b/.planning/state.json index dff5ede..5aa5366 100644 --- a/.planning/state.json +++ b/.planning/state.json @@ -44,5 +44,5 @@ "label": "Advance to the next step", "reason": "Phase 04 of 7 · executing" }, - "updated_at": "2026-09-23T03:17:38.824Z" + "updated_at": "2026-09-23T04:55:40.008Z" }