Commit Graph

634 Commits

Author SHA1 Message Date
7a17accf66 docs(04-04): complete 勇士渲染修正 plan 2026-09-19 17:00:07 +08:00
0ad933368c docs(04-04): record execution state 2026-09-19 16:57:27 +08:00
3414233e34 refactor(04-04): align hero renderer with IFaceManager and split hooks
- inject IFaceManager into MapHeroRenderer; degrade/next use Dir4FaceHandler via FaceGroup.Dir4, movement uses hero.mover.faceHandler (Dir8)
- IMapExtensionManager.addHero gains faceManager param; manager.ts forwards it
- split MapHeroHook into MapHeroLocationHook / MapHeroMoverHook; onSetPos unconditional
- handle ObjectMoveType.AnimDir via step.dir
- replace mutate-animate TimingFn with @motajs/animate ExcitationCurve2D in hero.ts
2026-09-19 16:51:55 +08:00
2169af4c67 docs(04-04): sync roadmap/state metadata for D-29 revision 2026-09-19 15:09:38 +08:00
b59710ac7d docs(04-04): revise plan for D-29 IFaceManager injection 2026-09-19 14:52:13 +08:00
e3880fb756 docs(04): plan hero render correction (04-04) 2026-09-19 13:13:02 +08:00
bac3e46fba fix(04-04): revise plan per checker feedback 2026-09-19 13:08:49 +08:00
f99ad0cbe9 docs(04): create phase plan 04-04 (hero render correction, D-24..D-28) 2026-09-19 12:56:01 +08:00
4e649533ee chore: 内部接口改名 2026-09-19 12:33:10 +08:00
84972008cf Merge branches 'refine/data-client' and 'refine/data-client' of github.com:motajs/template into refine/data-client 2026-09-19 11:31:10 +08:00
68c2f40161 chore: 调整依赖 2026-09-18 21:11:18 +08:00
7d5f5d90c7 docs(04): record design rulings D-19..D-23 2026-09-18 20:37:55 +08:00
ed0b95b1c4 feat: CoreState 配置添加 loadStarter 2026-09-18 20:36:03 +08:00
f5a6ed8cf6 refactor: 加载系统 2026-09-18 20:30:40 +08:00
d3598e9e27 docs(04-03): record execution state 2026-09-18 16:02:59 +08:00
bff8060ad2 docs(04-03): complete 勇士本体被动适配 plan 2026-09-18 16:01:09 +08:00
85637b06f6 docs(04-03): record execution state
- 04-03-SUMMARY.md: pre-execution interface recheck, concurrent-edit baseline, type baseline
- reconciliation R-01..12 mapping, machine gate outputs, manual review, deferred items
- REND-01 / REND-02 remain Pending; runtime UAT unavailable (addHero not wired)
2026-09-18 15:58:50 +08:00
a3826bfa6a refactor(04-03): rebind hero renderer to IHeroLocation and existing hooks
- manager.ts / types.ts: heroMap, addHero, removeHero keyed by IHeroLocation
- hero.ts: bind IHeroLocation, read getCurrentFaceDirection, use ObjectAnimDirection
- MapHeroHook subscribes IHeroLocationHooks / IObjectMoverHooks with existing member names (D-21)
- IMapHeroRenderer drops the 8 external drive members per D-20; D-18 / D-22 members preserved
- hero.image read converged to one minimal compile bridge annotated for D-18
2026-09-18 15:55:02 +08:00
f6cd958876 docs(04): plan hero-body adaptation (04-03) 2026-09-18 14:55:01 +08:00
3d2d6dd0b1 fix(04-03): revise plan per checker feedback (token-scoped rename gates, remove unused FaceDirection import, baseline-aware scope gate) 2026-09-18 14:46:41 +08:00
c05fa322d0 fix(04-03): revise plan per checker feedback (hook async/remove-legacy self-consistency) 2026-09-18 14:31:09 +08:00
d7f2e277d9 docs(04-03): plan hero body render adaptation 2026-09-18 14:14:12 +08:00
90d14ef1c1 docs(04-02): record execution state 2026-09-18 13:01:33 +08:00
847df00d2d docs(04-02): complete 勇士移动接口探索 plan
- SUMMARY:8 段账本 + 12 条三态对账 + 2 条缺失候选 + 7 条未确定
- STATE:Plan 2/2、decisions、session;ROADMAP:04-02 计划完成
- 零生产代码改动;被查两包相对基线零变化
2026-09-18 12:52:51 +08:00
d4fe24c9dd docs(04-02): 勇士移动接口探索(只读,D-17)
- 逐成员三态对账 12 条(#04-02-R-01..12),每条两侧 file:line 锚点
- 缺失接口候选 2 条(#04-02-G-01..02)+ 固定结论行
- 未能从阅读确定 7 条;处置定稿(D-11/D-12/D-13/D-17/D-18)
- 只读 / CRLF / 基线摘要未变 / 范围门禁全绿;零生产代码改动
2026-09-18 12:46:33 +08:00
77e2ad5d45 docs(04-02): 数据端现行接口与渲染端现状两侧清单(只读,D-17)
- 数据端成员级清单:data-common 移动器族 + data-base/hero 位置移动族 + barrel 实际导出核对
- 渲染端使用点清单:hero/types/manager/move/client + 移动器契约参考
- @ts-expect-error 需要重构 全量清单位置;全文 CRLF
2026-09-18 12:44:10 +08:00
5f2743624a docs(04-02): 勇士移动接口探索骨架与 R-01 切片(只读,D-17)
- 新建 04-HERO-MOVER-INTERFACE.md:8 段骨架 + 扫描前基线与 sha256 摘要
- R-01 钩子族端到端对账切片(两侧 file:line 锚点)
- 全文 CRLF;零生产代码改动
2026-09-18 12:42:48 +08:00
35a5973cbe docs(04): plan hero-mover interface exploration (04-02) 2026-09-18 12:24:27 +08:00
908fbf385b fix(04): revise plans based on checker feedback 2026-09-18 12:13:39 +08:00
a65d93221f fix(04): revise plan 04-02 per checker feedback (AGENTS.md gate + verification Derivation) 2026-09-18 11:54:35 +08:00
208c22ce0c fix(04): enforce D-18 boundary and baseline-relative read-only gate in 04-02 2026-09-18 11:34:37 +08:00
e326f4b9c8 fix(04): revise 04-02 plan based on checker feedback 2026-09-18 11:33:03 +08:00
4a1e9b36f8 docs(04): create 04-02 勇士移动接口探索 plan (只读, D-17) 2026-09-18 11:20:07 +08:00
41616833b2 docs(04-01): complete 渲染适配与双布局第一步(只读接口对账)plan 2026-09-18 10:53:59 +08:00
4327e6733b docs(04-01): 渲染端 ↔ 数据端接口对账(只读清点,D-01 第一步) 2026-09-18 10:48:11 +08:00
c0b44c1b45 docs(04-01): ① 错配全量清点(契约桥/组合根/类型直连 + 触发序列) 2026-09-18 10:46:40 +08:00
05b9af7077 docs(04-01): 渲染端 ↔ 数据端接口对账(骨架 + 分类各一条实测记录) 2026-09-18 10:45:50 +08:00
7225bdd437 docs: 更新计划执行规则 2026-09-18 10:37:19 +08:00
6f6e4b0dcf docs: 调整关于执行计划的提示词 2026-09-18 10:10:36 +08:00
6754a9d4df docs(04): create phase plan 2026-09-18 10:06:00 +08:00
6d8075166a fix(04-render-adaptation): revise 04-01 plan per checker feedback (re-measure estimate, CRLF + tracked-anchor gates) 2026-09-18 09:55:47 +08:00
b0592d8ffe docs(04): mark the read-only audit plan as reversible 2026-09-18 09:41:24 +08:00
f480ec704c docs(04): create phase plan for read-only render/data interface audit 2026-09-18 09:40:38 +08:00
8d6928294a docs(state): record phase 4 context session 2026-09-18 09:06:59 +08:00
01fe37fdb0 docs(04): capture phase context 2026-09-18 09:06:35 +08:00
f86f19ea89 docs: 添加讨论要求提示词 2026-09-18 09:05:57 +08:00
AncTe
6ad5ff665a
Merge pull request #1 from motajs/refactor/data
Refactor/data
2026-09-18 08:37:36 +08:00
9005d3579b chore: lines 统计忽略测试文件 2026-09-18 08:31:59 +08:00
ae5a956492 chore: 删除 IDirectionMapper,全换成 IFaceHandler 2026-09-18 08:26:57 +08:00
943659e2d1 docs(phase-07): defer plan 07-16 until the data-layer rework completes 2026-09-18 08:13:32 +08:00