Commit Graph
136 Commits
Author SHA1 Message Date
AncTe fe4e410cf4 fix(06): revise plans based on checker feedback 2026-09-14 11:04:33 +08:00
AncTe 384e5673ad docs(06): capture phase context 2026-09-14 10:33:56 +08:00
AncTe 8b1297ad95 docs(state): record phase 6 context session 2026-09-14 10:02:15 +08:00
AncTe b59f8783d5 docs(06): capture phase context 2026-09-14 10:01:55 +08:00
AncTe bcac8a97e4 docs(06-02): complete enemy top-level implementation unit test plan 2026-09-14 09:10:05 +08:00
AncTe 50d868760a docs(06-01): record plan self-check 2026-09-14 08:55:21 +08:00
AncTe 6cf828c9cc docs(06-01): complete combat layer-2 unit test plan
- record 06-01-SUMMARY.md with coverage block and three suspected-bug findings
- advance STATE.md to plan 2, log decisions and execution metric
- mark ROADMAP phase 6 at 1/9 In Progress and TEST-01 complete
- open WINDOWS.md entries for the three documented skipped tests
2026-09-14 08:54:37 +08:00
AncTe 6c8f85a2be test(06-01): cover CombatFlow binding, script ordering and guards
- add combat.test.ts for same-state binding, foreign-state warn 138, script priority sort and duplicate warn 140, guard warns 139/141, awaited script/hook ordering with real timers, and battleComputed delegation
- extend the 06-TEST-FINDINGS.md sink with the #06-01-3 before-return semantics row
2026-09-14 08:51:13 +08:00
AncTe 484da2db19 test(06-01): cover MapDamage and EnemyContext behavior
- add mapDamage.test.ts for sourceless add/delete, sourced conversion, reduction caching, warns 102/103/104 and the #06-01-2 deleteEnemy finding
- add context.test.ts for the enemy registry (register/lookup/unknown-null/delete/resize/scan) and effect-registry add/remove behavior
- extend the 06-TEST-FINDINGS.md sink with the #06-01-2 row
2026-09-14 08:50:05 +08:00
AncTe 59b709e43e test(06-01): prove combat damage context/system via tracer
- add damage.test.ts covering DamageContext/DamageSystem results, handler identity, warns 106/107, cache invalidation, with(hero) and calculateCritical
- declare api-coverage in COVERAGE.md for the test-only phase
- open the shared 06-TEST-FINDINGS.md sink with schema and #06-01-1 finding
2026-09-14 08:45:34 +08:00
AncTe 3bcf2fc407 chore(state): sync planning state after phase 6 plan 2026-09-14 08:31:01 +08:00
AncTe 22726773ad docs(06): create phase plan 2026-09-14 08:30:40 +08:00
AncTe e1a16eae8b docs(state): record phase 6 context session 2026-09-14 07:36:06 +08:00
AncTe 6a3179b76f docs(06): capture phase context 2026-09-14 07:35:46 +08:00
AncTe c80516deb7 fix(event): 采纳七个内建并修正 touched-jsdoc 门禁
- event.test.ts 与 03-EVENT-CONTRACT.md 同步为七个内建(移除 touchFront/EventTouchFront)

- check-touched-jsdoc 按 dev.md 豁免继承/implements 成员,补充防误删说明

- 刷新 Phase 01-03 验证指纹,三个阶段恢复 passed
2026-09-13 23:38:46 +08:00
AncTe a55c2e32a2 test(01): complete UAT - 28 passed, 0 issues 2026-09-13 21:40:01 +08:00
AncTe 0ba70e1a63 docs(event-contract): sync with current built-in names and collection design
- built-in names: setBlock/moveBlock/removeBlock/moveHero/stepHero/touchFront/
  insertEvents/insertEvent (class names Event*)
- removeBlock: static by default, dynamic:true also removes dynamic tiles
- touchFront: steps the hero forward; the mover produces the OnTouch on bump
- GameEventSystem.collectEvent owns source collection; mover enter/leave/hit reuse it
- IBlockEventEnv gains required system and nullable heroFloor; utils.ts keeps only
  getPossibleMap/getPossibleLayer
2026-09-13 20:40:15 +08:00
AncTe d7837fcc24 docs: sync event/replay contracts with current design
- 03-EVENT-CONTRACT.md: short built-in names, class-based BuiltInFunction,
  single createEventRegistrations(), event/utils.ts (not barrel-exported)
- 03-REPLAY-CONTRACT.md: BaseReplayCommand shape, Teleport code, numeric fixed
  params, move notExecuted batching, CoreState registerReplayCommands, 2001-2008
- scope quick 260913-qtq record to AI changes only
2026-09-13 19:24:54 +08:00
AncTe e5f6d492b2 docs(quick-260913-qtq): event built-ins refactor and anon-tokyo import rename 2026-09-13 19:20:24 +08:00
AncTe 8f1e973886 docs: phase 3 completion tracking and handoff cleanup
- record phase 3 completion state and session continuity
- consume one-shot HANDOFF.json
- fix duplicate blocked count in 01-UAT.md
2026-09-13 15:16:51 +08:00
AncTe 909e8b3f63 docs(phase-3): complete phase execution 2026-09-12 13:39:27 +08:00
AncTe 42f65a739c docs(03-19): complete replay/event JSDoc normalization plan 2026-09-12 13:28:26 +08:00
AncTe b1b9603ff6 wip: phase 03 paused after plan 03-18 (03-19 remaining) 2026-09-11 23:15:29 +08:00
AncTe d82e19347b docs(03-18): complete event registration ownership plan 2026-09-11 23:14:09 +08:00
AncTe 0dc30aace8 refactor(03-18): move event registration assembly out of the barrel
- Add event/registrations.ts as the sole direct-construction assembler for
  the eight class-based registrations in stable map/hero/control order
- Reduce event/index.ts and data-state/src/index.ts to export-only barrels
  that re-export the four public registration creators
- Point CoreState at event/registrations and record the ownership and
  public-export boundaries in the event contract
2026-09-11 23:02:15 +08:00
AncTe 81c3653b90 wip: pause Phase 3 latest correction batch 2026-09-11 22:34:10 +08:00
AncTe f6a376137e docs(03-17): complete replay correction plan 2026-09-11 22:32:39 +08:00
AncTe df7d1e12c2 fix(03-17): await replay movement completion
- Remove replay-safety decoration from command implementations
- Await directional and pathfinding controller completion
- Collapse directional commands into one parameterized class
2026-09-11 22:21:01 +08:00
AncTe 3df11049dd wip: pause latest Phase 3 correction planning 2026-09-11 17:35:25 +08:00
AncTe 2b471b83ed docs(03): create replay and event gap plans 2026-09-11 16:59:17 +08:00
AncTe c41b84bef3 chore: clear Phase 3 resume checkpoint 2026-09-11 15:39:21 +08:00
AncTe b8d33233b1 docs(phase-3): record structural correction verification 2026-09-11 15:38:00 +08:00
AncTe 185f5b0b72 docs(03-16): complete circular gate scope correction plan 2026-09-11 15:16:29 +08:00
AncTe 07fd6c9786 fix(03-16): scope circular compatibility cycles explicitly
- classify only all-compatibility cycles outside the approved gate
- preserve fail-closed data and common boundary reporting
2026-09-11 15:10:25 +08:00
AncTe 5c962520ef fix(03-data-completion): revise circular gate plan coverage 2026-09-11 15:02:41 +08:00
AncTe 461e11c99e docs(03-15): complete independent replay command class plan 2026-09-11 14:35:11 +08:00
AncTe f5c6b06c59 test(03-15): cover independent replay command ownership
- Verify distinct command classes, fresh instances, stable order, and extension registration
- Add structural ownership regressions without changing replay or user-owned decorator boundaries
2026-09-11 14:28:24 +08:00
AncTe 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
AncTe a6b432f106 docs(03-11): complete save architecture correction plan 2026-09-11 14:14:25 +08:00
AncTe 3bd90535a5 docs(03-10): record summary metadata 2026-09-11 14:06:16 +08:00
AncTe f28aaeafed docs(03-10): close removed legacy ledger entry 2026-09-11 14:05:17 +08:00
AncTe 97e2e10189 docs(03-10): complete legacy compatibility correction plan 2026-09-11 14:03:22 +08:00
AncTe 4d094f988f docs(03-14): complete synchronous replay correction plan 2026-09-11 13:47:18 +08:00
AncTe 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
AncTe d9a7faa5b9 docs(03-13): complete direct event body plan 2026-09-11 13:32:08 +08:00
AncTe 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
AncTe fcff1c57af wip: pause Phase 3 structural correction 2026-09-11 11:16:17 +08:00
AncTe 83ca6d609b docs(03-12): complete event registration correction plan 2026-09-11 11:14:40 +08:00
AncTe 1077d5f65d fix(03): revise structural correction plans 2026-09-11 10:41:27 +08:00
AncTe 39d5e366a4 docs(03): plan structural gap closure 2026-09-11 10:15:19 +08:00