Commit Graph

165 Commits

Author SHA1 Message Date
1372e233eb docs(02-02): complete L0 fix and L2 pathfinding core plan 2026-09-09 17:38:35 +08:00
e199d99d19 refactor(02-02): declare graph builder and test mover interfaces per updated class rule 2026-09-09 17:32:28 +08:00
ffedb80057 docs: 调整风格要求 2026-09-09 17:30:39 +08:00
53d019f62e feat(02-02): add minimal-loss pathfinding system with getPath, controller contract and fallback policy 2026-09-09 17:29:22 +08:00
0e6536f426 docs: 更新类相关规则 2026-09-09 17:19:41 +08:00
0cd6ab6a2d feat(02-02): build pathfinding directed graph with injected pass predicate and authorized types fix 2026-09-09 17:17:48 +08:00
e1f61013ac fix(02-02): repair mover step-end coordinate writeback condition per approved P1 decision 2026-09-09 17:09:37 +08:00
9efadc9806 fix(02-pathfinding): revise plans for user path/types.ts interface redesign 2026-09-09 16:57:17 +08:00
7a011b29c2 feat: 完成寻路系统接口设计 2026-09-09 16:40:56 +08:00
67c0806f7f docs(state): record phase 2 pause at wave 2 gate 2026-09-09 15:53:36 +08:00
0a3122c744 docs(02-01): complete 接口草案与拍板关卡 plan 2026-09-09 15:51:52 +08:00
5a1b12e146 docs(02-01): record user interface decisions
- 拍板记录节完整登记用户六项结论(接口签名 types.ts user-owned、文件归属、P1 go、D-08 触发语义、打断选项 1、4 向)
- 各节 DRAFT/待拍板标注更新为已拍板状态
2026-09-09 15:49:08 +08:00
9477b2c78a test(02-01): 铺设 L0 mover 坐标回写回归测试脚手架(skip 状态)
- 4 个 it.skip 用例:x 正交 / y 正交 / 斜向 / 传送步的 setPos 回写
- 测试桩逐字复刻 eventDispatch.test.ts 模式(main/location stub + getOrInsertComputed polyfill)
- 最小 ObjectMover 子类驱动 moveProgress,零新依赖;待 02-02 修复 mover.ts:651 后翻绿
2026-09-09 15:33:18 +08:00
a9b1ba1b22 docs(02-01): 起草寻路系统接口草案与决策问题清单
- 新建 02-INTERFACE-DRAFT.md:IPathfindingSystem 签名草案(D-01…D-06 接口面)
- D-08 OnTouch 派发方案 A/B 并列(推荐 A,附 P2 结论)
- mover.ts:651 坐标回写缺陷逐字调查与 go/no-go 问题
- 打断时序两选项、图方向性两选项、边界/损失值守卫要求
2026-09-09 15:30:19 +08:00
3cc32f6636 docs(02): create phase plan 2026-09-09 15:10:55 +08:00
1ad8176f68 fix(02-pathfinding): revise plans based on checker feedback 2026-09-09 15:06:21 +08:00
d5fcc65cec docs(02): add artifacts-produced sections to phase plans 2026-09-09 14:57:53 +08:00
345c449373 docs(02): create phase plan 2026-09-09 14:57:18 +08:00
1dc154a2ba docs(phase-2): add validation strategy 2026-09-09 14:42:57 +08:00
c0c8727943 docs(02-pathfinding): research phase domain 2026-09-09 14:41:38 +08:00
8566a89d4d docs(state): record phase 2 context session 2026-09-09 14:27:32 +08:00
6197d5ba23 docs(02): capture phase context 2026-09-09 14:27:21 +08:00
cd81f9b6bc test(01): complete UAT - 28 passed, 0 issues 2026-09-09 13:52:04 +08:00
72a2a17eba docs: 调整测试注释说明 2026-09-09 13:36:21 +08:00
1d9b180d5f docs(test): describe individual test cases 2026-09-09 13:33:42 +08:00
4349e67669 docs(test): require test scope comments 2026-09-09 13:12:10 +08:00
33966fb4dd test(event): polyfill map insertion in fixtures 2026-09-09 13:06:27 +08:00
63d4d37ff3 fix(event): finalize event reference changes 2026-09-09 13:03:42 +08:00
64efcf2555 refactor(event): centralize point event references 2026-09-09 12:53:37 +08:00
a297311ea6 feat(event): complete phase one event system 2026-09-09 12:01:21 +08:00
b9213ddf22 docs(01-12): finalize execution summary metadata 2026-09-09 11:38:13 +08:00
ad16141993 docs(01-12): complete event gap-closure plan 2026-09-09 11:37:37 +08:00
f423aad84a style(01-12): normalize event store test line endings
- Apply the repository Prettier CRLF format to the focused event-store regression without changing assertions.
2026-09-09 11:34:52 +08:00
15d9f25b44 fix(01-12): repair event phase type fixtures
- Import the existing block event environment contract. - Type focused invocation, raw-event, and map lifecycle fixtures without changing behavior.
2026-09-09 11:33:34 +08:00
ce63966367 docs(01-11): complete legacy event-layer wiring plan 2026-09-09 11:02:08 +08:00
073e009816 test(01-11): cover legacy map event dispatch
- prove an existing point-event id reaches the mover executor\n- assert PointEvent source and approved locator environment
2026-09-09 10:59:02 +08:00
5f855d0ccc fix(01-11): wire legacy maps to event layers
- assign each legacy event alias layer to GameMap.eventLayer\n- add regression coverage for map-layer ownership and initialization state
2026-09-09 10:58:20 +08:00
701e06f8d1 docs(01-09): refresh completed plan progress 2026-09-09 10:30:17 +08:00
957f32065f docs(01-09): complete GameMap aggregation plan 2026-09-09 10:29:02 +08:00
8b2e58e9a2 test(01-09): cover high-compression point-event aggregation
- Reuses the point-event-only map fixture for LowCompression and HighCompression
- Asserts both paths preserve z-index and index-priority-eventId nesting
2026-09-09 10:26:22 +08:00
3df0b2afc5 fix(01-09): retain point-event-only map layers
- Treat non-empty pointEvents as valid layer save content
- Preserve layer z-index aggregation for compressed map saves
2026-09-09 10:25:11 +08:00
98d5958880 test(01-09): add point-event-only map aggregation regression
- Covers a dirty point event without matrix, static, or dynamic changes
- Asserts the low-compression layer keeps its z-index and nested event ids
2026-09-09 10:22:23 +08:00
cb9934343a docs(01-08): complete GameEventStore regression plan 2026-09-09 10:18:32 +08:00
6e96abb7a2 test(01-08): add GameEventStore behavior regression
- Covers public-barrel add/get and unknown-id behavior
- Verifies duplicate warning code and last-write-wins behavior
2026-09-09 00:42:29 +08:00
c3a958c932 docs(01-07): complete source-aware event dispatch plan 2026-09-09 00:22:03 +08:00
ff41ab3d6c test(01-07): cover complete event mode matrix
- Verify unmatched triggers do not affect cut or reduction results.
- Cover unknown ids, hook trigger mapping, coordinates, and source environments.
2026-09-09 00:19:47 +08:00
22056140bd fix(01-07): dispatch events with source-aware trigger matching
- Carry each event id with its real point or tile environment.
- Filter mismatched triggers before execution and include every dynamic tile in priority order.
2026-09-09 00:18:00 +08:00
87f2252ccc docs(01-10): complete map event lifecycle plan 2026-09-09 00:10:14 +08:00
d3eeb1eb19 feat(01-10): persist point event lifecycle state
- Add the approved coordinate-indexed pointEvents save field.
- Document preserve/crop resize and clear resize2 semantics.
2026-09-09 00:08:58 +08:00
bcfa1f9467 fix(01-10): restore tile defaults and stable event snapshots
- Rebuild raw tile event baselines on construction, set, load, and conversion.
- Preserve coordinate-owned point events through dynamic movement and copy save Maps.
2026-09-09 00:08:38 +08:00