Commit Graph

155 Commits

Author SHA1 Message Date
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
a35e1e116d docs(01-06): complete raw map event ingestion plan 2026-09-08 23:56:15 +08:00
974669b00a fix(01-06): remove unsupported map upsert runtime calls
- Use explicit Map lookup and insertion in point and dynamic indexes.
- Keep raw event tests runnable in the Node Vitest environment.
2026-09-08 23:54:09 +08:00
a730f33195 fix(01-06): reject malformed raw event structures
- Validate map, layer, position, priority, and event id shapes before registration.
- Add dedicated logger codes and no-partial-registration coverage.
2026-09-08 23:53:39 +08:00
564ef25360 fix(01-06): wire raw point event ingestion
- Bind serialized point events to the coordinate event view.
- Select the event layer by its event alias and verify the static view stays clean.
2026-09-08 23:52:13 +08:00
6f6ed62b1b docs(01): require user review before execution commits 2026-09-07 22:12:28 +08:00
41cdd18761 docs(01): create phase 1 plans 2026-09-07 22:08:35 +08:00
6f06b68656 docs(phase-1): add research and validation strategy 2026-09-07 19:44:34 +08:00
f35590ca42 docs(state): record phase 1 context session 2026-09-07 18:27:02 +08:00
9cfe7ebea8 docs(01): capture phase context 2026-09-07 18:26:46 +08:00
4fb1741294 docs: gsd-graphify 2026-09-07 17:37:05 +08:00