Commit Graph

274 Commits

Author SHA1 Message Date
13162b2406 fix(03-15): split replay commands into independent classes
- Replace the shared replay entrance object with eight owned instruction classes
- Preserve stable registration order and replay command extension boundaries
2026-09-11 14:22:01 +08:00
a6b432f106 docs(03-11): complete save architecture correction plan 2026-09-11 14:14:25 +08:00
5a206748b2 test(03-11): align Node save regressions
- Assert CoreState instances use the existing SaveSystem
- Preserve independent construction and replay coverage
2026-09-11 14:10:41 +08:00
4f606d91c7 fix(03-11): remove Phase-3 memory save adapter
- Delete the Phase-3-only in-memory save implementation
- Preserve the existing SaveSystem save barrel exports
2026-09-11 14:09:39 +08:00
3bd90535a5 docs(03-10): record summary metadata 2026-09-11 14:06:16 +08:00
f28aaeafed docs(03-10): close removed legacy ledger entry 2026-09-11 14:05:17 +08:00
97e2e10189 docs(03-10): complete legacy compatibility correction plan 2026-09-11 14:03:22 +08:00
45e3b1f05d fix(03-10): restore direct replay fixture path
- Register the fixture event and maps through existing data APIs
- Await the synchronous mutation marker before the final snapshot
2026-09-11 14:00:02 +08:00
e4e39f7b2b fix(03-10): restore compatibility loading path
- Remove Phase 3 legacy dependency and serialized loading adapters
- Restore SaveSystem, converter, bridge, and loading callback assembly
2026-09-11 13:52:54 +08:00
4d094f988f docs(03-14): complete synchronous replay correction plan 2026-09-11 13:47:18 +08:00
32fb1154e2 test(03-14): cover synchronous replay command completion
- Prove movement and pathfinding return without controller waits
- Assert synchronous nested replay-safety restoration
- Guard user-owned attribute decorator placement
2026-09-11 13:43:23 +08:00
7ffc6c4171 fix(03-14): restore synchronous replay command handling
- Remove Promise settlement from replay safety restoration
- Adapt command booleans to the existing Promise boundary
- Preserve stable replay interfaces and user-owned decorator placement
2026-09-11 13:38:38 +08:00
d9a7faa5b9 docs(03-13): complete direct event body plan 2026-09-11 13:32:08 +08:00
7315681272 test(03-13): cover direct event body execution
- Exercise eventInsertEvent with an inline Statement[] body
- Prove the body mutates the event layer without an event-store id
- Document the superseding direct-body event contract
2026-09-11 13:28:33 +08:00
2f14d8a0ae fix(03-13): execute single event bodies directly
- Accept anon-tokyo Statement[] bodies for eventInsertEvent
- Execute bodies through the existing interpreter without event-store lookup
- Preserve eventInsertEvents as the ordered id-sequence path
2026-09-11 13:25:48 +08:00
fcff1c57af wip: pause Phase 3 structural correction 2026-09-11 11:16:17 +08:00
83ca6d609b docs(03-12): complete event registration correction plan 2026-09-11 11:14:40 +08:00
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