Commit Graph

257 Commits

Author SHA1 Message Date
d2ebf1cefc test(03-12): cover module-owned event registrations
- Exercise all eight approved registrations with valid typed parameters
- Retain awaited behavior and missing-target safety without nullish guard tests
2026-09-11 11:11:48 +08:00
9c39895620 refactor(03-12): move event registrations into modules
- Keep the barrel limited to registration assembly and exports
- Give map, hero, and control modules typed registration builders without hot-path shape validation
2026-09-11 11:08:49 +08:00
1077d5f65d fix(03): revise structural correction plans 2026-09-11 10:41:27 +08:00
39d5e366a4 docs(03): plan structural gap closure 2026-09-11 10:15:19 +08:00
c0444510d1 chore: 调整引入 2026-09-11 09:56:03 +08:00
c016dea567 chore: use stage 3 decorator 2026-09-11 09:41:25 +08:00
e9198a4b69 docs(phase-3): complete phase transition 2026-09-10 21:17:20 +08:00
0d657cae6b docs(03-07): record summary metadata commit 2026-09-10 20:24:01 +08:00
19df30e9e1 docs(03-07): complete serialized event loading gap closure plan 2026-09-10 20:23:03 +08:00
4b91a0b84f style(03-07): normalize serialized event files
- Apply repository CRLF and Prettier formatting to changed files
2026-09-10 20:17:23 +08:00
1b93deb8c8 test(03-07): prove serialized event replay path
- Load the fixed replay event through the internal serialized boundary
- Assert trigger, raw statements, coordinate binding, one execution, and final state
2026-09-10 20:13:51 +08:00
a111b8dcd4 feat(03-07): wire serialized event loading boundary
- Register validated serialized events through the CoreState load seam
- Bind raw map event ids with MapState.fromRaw before replay execution
2026-09-10 20:12:47 +08:00
8f3f5cad7d docs(03-09): record summary metadata commit 2026-09-10 19:58:12 +08:00
f8d7b70cf2 docs(03-09): complete replay safety gap closure plan 2026-09-10 19:57:16 +08:00
160a0d5c34 test(03-09): prove production replay safety boundaries
- Exercise decorated movement, item, and equipment registry calls\n- Assert deferred collection settlement and pure path/validation exclusion
2026-09-10 19:53:26 +08:00
fc9a1adae3 feat(03-09): decorate production replay command entrances
- Route all five state-changing command entrances through replay safety collection\n- Keep command validation, slot resolution, and registration helpers outside the decoration boundary
2026-09-10 19:49:54 +08:00
3509be39dd docs(03-08): complete gap-closure event parameter plan 2026-09-10 18:52:29 +08:00
82687b2f56 style(03-08): format event guard coverage
- Restore repository CRLF and Prettier layout for the changed event files
2026-09-10 18:50:33 +08:00
f8cae08bd9 test(03-08): cover nullish event registrations
- Exercise all eight registration functions with null and undefined\n- Assert resolved void results and unchanged fixture state
2026-09-10 18:48:57 +08:00
95df6a0198 fix(03-08): guard registered event parameters
- Return safely before parsing nullish or non-object runtime parameters\n- Cover the real eventSetBlock registration with a null regression
2026-09-10 18:47:26 +08:00
4dd28759d8 docs(phase-3): update tracking after wave 5 2026-09-10 17:58:05 +08:00
dbfa258656 docs(03-05): complete data quality gates plan 2026-09-10 17:57:10 +08:00
2794dfc32d style(03-05): normalize scoped data gate formatting 2026-09-10 17:53:33 +08:00
232df083f7 fix(03-05): complete data closure coverage and Node combat gate 2026-09-10 17:52:28 +08:00
64b97bc515 fix(03-05): close data package type and cycle boundaries 2026-09-10 17:40:29 +08:00
86a4385261 docs(03-05): approve common data cycle closure contract 2026-09-10 17:36:29 +08:00
f59ab42c4a docs(phase-3): update tracking after wave 4 2026-09-10 17:21:47 +08:00
d069f9d073 docs(03-04): complete fixed Node replay verifier plan 2026-09-10 17:21:05 +08:00
704e23fa2d fix(03-04): share verifier harness with Node replay tests
- Keep Vitest imports inside the data-state test package
- Leave the dedicated script as the direct Node process entry
2026-09-10 17:17:40 +08:00
1218504b5c test(03-04): cover Node replay divergence and factory isolation
- Exercise success, false, throw, unknown, hero, and map mismatch paths
- Verify isolated Node CoreState instances and diagnostic parameter fidelity
- Repair replay route parameter encoding required by verifier diagnostics
2026-09-10 17:11:09 +08:00
c06093839a feat(03-04): add fixed Node replay verifier
- Extend the closed-loop fixture across hero and all map matrices
- Throw deterministic local diagnostics at the first replay divergence
- Add the dedicated test:data-node process gate
2026-09-10 17:05:15 +08:00
ebf6c19d1d docs(03-04): approve replay divergence diagnostic contract
- Record first-divergence thrown behavior and locked fields
- Preserve the public Promise<boolean> replay interface
2026-09-10 16:54:02 +08:00
4b644283f2 docs(phase-3): update tracking after wave 3 2026-09-10 16:49:36 +08:00
0f6a05789d docs(03-03): finalize replay registry summary 2026-09-10 16:48:55 +08:00
b7044a1d2c docs(03-03): complete stable replay registry plan 2026-09-10 16:48:16 +08:00
97ab1fc4aa docs(03-03): normalize replay contract formatting 2026-09-10 16:45:38 +08:00
09481451d4 feat(03-03): assemble CoreState replay registry
- Bind the L2 pathfinder to each fresh hero state
- Give each CoreState an independent ReplaySystem
- Assert all eight stable commands are assembled at the top level
2026-09-10 16:44:46 +08:00
e7714894a0 feat(03-03): add async-safe replay commands
- Preserve replay collection context through async decorator settlement
- Add stable command items with awaited movement and pathfinding
- Return explicit failures for invalid item and equipment actions
2026-09-10 16:43:30 +08:00
d909e973e7 docs(03-03): record stable replay command contract
- Record the eight stable numeric command codes and locked registration order
- Define top-level ownership and CoreState/Node access boundaries
- Preserve awaited movement and pathfinding completion semantics
2026-09-10 16:35:01 +08:00
dc7716c145 docs(phase-3): update tracking after wave 2 2026-09-10 16:27:28 +08:00
97a92f96b2 docs(03-02): complete event built-ins plan 2026-09-10 16:26:47 +08:00
3134537d30 feat(03-02): implement approved event built-ins
- Add map, hero, touch, and temporary event controls
- Register exactly eight built-ins through top-level event assembly
- Cover awaited behavior and safe failure with explicit fixtures
2026-09-10 16:25:02 +08:00
e9e89fdfdb docs(03-02): record approved event built-in contract
- Record all eight approved built-in names and parameter fields
- Lock safe failure, awaited actions, and top-level registration seam
2026-09-10 16:10:30 +08:00
3e2b80a3e3 docs(03-06): complete Tile events-map contract plan 2026-09-10 16:00:39 +08:00
f911ac5989 style(03-06): normalize tile migration formatting
- Apply repository CRLF and Prettier formatting
- Record remaining out-of-scope type diagnostics
2026-09-10 15:57:59 +08:00
a12b2d2db8 feat(03-06): migrate legacy tiles to events maps
- Convert optional legacy events with safe empty defaults
- Cover TileStore consumption without trigger scalar output
2026-09-10 15:55:32 +08:00
89e53a6500 feat(03-06): migrate TileStore to events map
- Store raw tile event mappings for getEvent lookups
- Cover missing, replacement, index, and immutability behavior
2026-09-10 15:53:31 +08:00
846513b2a6 docs(phase-3): update tracking after wave 1 2026-09-10 15:49:39 +08:00
710c67ab60 docs(03-01): complete Node data tracer plan 2026-09-10 15:47:56 +08:00
4eec08638e feat(03-01): add awaited replay movement tracer
- exercise source-aware event mutation on a fixed map
- verify Node replay reaches its normal end state
2026-09-10 15:43:26 +08:00