Commit Graph
197 Commits
Author SHA1 Message Date
AncTe f0278dff7e docs(07-03): amend replay plan to add negative int64/bigint scope (D-09 approve-both) 2026-09-15 17:58:39 +08:00
AncTe 4eec9ec22c docs(phase-07): update tracking after wave 2 2026-09-15 17:19:46 +08:00
AncTe bcb43f7105 docs(07-02): complete enemy data-fixes plan 2026-09-15 17:19:14 +08:00
AncTe ad0d70441b chore(07-02): close windows ledger entry 24
- G-06-03-A (#06-03-1) two skipped tests now green after the reuse
  mapping fix; open_count 15 -> 14, fixed_count 12 -> 13
2026-09-15 17:18:00 +08:00
AncTe 657d9720af docs(phase-07): update tracking after wave 1 2026-09-15 17:11:11 +08:00
AncTe 9177823abe docs(07-01): complete combat data-fixes plan 2026-09-15 17:10:11 +08:00
AncTe 5d6381ad98 chore(07-01): close windows ledger entries 19/20/21/27
- mark the four combat skipped-test findings fixed after their correct-expectation
  cases were un-skipped and turned green
2026-09-15 17:05:38 +08:00
AncTe 7ae08c6920 chore(07): remove obsolete phase .gitkeep 2026-09-15 16:28:54 +08:00
AncTe 817201c213 docs(07): finalize phase plan and record planning state 2026-09-15 16:22:33 +08:00
AncTe 8d66bc4ae2 fix(07): revise plans based on checker feedback 2026-09-15 16:10:58 +08:00
AncTe 5a186d4a24 docs(07): create phase plan 2026-09-15 15:55:24 +08:00
AncTe 46248dc7f8 docs(phase-7): add validation strategy 2026-09-15 14:20:42 +08:00
AncTe b0db13120f docs(07): research phase domain 2026-09-15 14:19:01 +08:00
AncTe e7f42dd91b docs(state): record phase 7 context session 2026-09-15 14:00:03 +08:00
AncTe 4ede7fcd96 docs(07): capture phase context 2026-09-15 13:59:51 +08:00
AncTe ca1b654bb4 docs(roadmap): add phase 7 for data-side defect fixes
Add Phase 7 (数据端缺陷修复) scoped to fixing data-side suspected bugs surfaced by Phase 6 unit tests, excluding rendering. Register FIX-01, update roadmap progress table and state.
2026-09-15 13:39:48 +08:00
AncTe ddb528bc36 docs(06-15): complete combat interface coverage gap-fill plan
- add 06-15-SUMMARY.md (status complete; #06-15-1 correct-expectation skip documented)
- update STATE.md position/metrics/decisions/blockers and ROADMAP.md wave 5 + plan counts
- record blocked skip in WINDOWS.md ledger (entry 27)
2026-09-15 13:23:50 +08:00
AncTe d3eb4d2a00 docs(06-15): append coverage-map section for G-06-01-D
- register G-06-01-D -> deleteAura skip case -> context.test.ts -> 06-15
- note the case is a D-05 correct-expectation it.skip blocked by #06-15-1 (same root cause as #06-01-4)
- no new warn/error codes; existing cases and skips untouched
2026-09-15 13:17:41 +08:00
AncTe 65251f5f42 test(06-15): cover deleteAura via correct-expectation skip and register #06-15-1
- add pplies a global aura after addAura and stops applying it after deleteAura (it.skip, D-05)
- reuse in-file createContextFixture/createEnemy/FakeAura/FakeConverter, no new helpers
- register finding #06-15-1 in 06-TEST-FINDINGS.md (same root cause as #06-01-4)
- unskip-verified: addAura applies (atk 2 -> 5) but deleteAura + buildup stays 5, expected 2
2026-09-15 13:15:51 +08:00
AncTe c747cd53d5 docs(06): add gap G-06-01-D and plan 06-15 (deleteAura coverage) 2026-09-15 13:07:12 +08:00
AncTe 4e53d53a69 docs(06): correct stale #06-09-4 record and revert TEST-01 to incomplete 2026-09-15 13:02:51 +08:00
AncTe 5f6c648d28 docs(06): add phase verification (data slice, gaps_found) 2026-09-15 12:18:10 +08:00
AncTe a000651cbe docs(06-14): complete replay read-stream gap-fill plan 2026-09-15 11:53:28 +08:00
AncTe 83dc4fdaf6 test(06-14): register blocked delete/insert heterogeneous stream order (G-06-04-C) and map coverage
- add correct-expectation it.skip for the heterogeneous route after delete(1) (anchor #06-04-3)
- add correct-expectation it.skip for the heterogeneous route after insert(2, 9, [true, 5]) (anchor #06-04-4)
- add file-inline expectRouteStream helper (stream-only typed reads with index 1..N and terminal null)
- append the create-or-append 06-14 section to 06-COVERAGE-MAP.md; existing 5 skips unchanged
2026-09-15 11:50:30 +08:00
AncTe 6652bc6fe7 docs(06-13): complete save/load coverage gap-fill plan
- Add 06-13-SUMMARY.md (status: complete) with per-stage outcome, commits, D-44 evidence
- Record 06-13 results in 06-TEST-FINDINGS.md (no new #06-13-N bugs; 3 new correct-expectation skips reuse #06-09-1/#06-09-2)
- Log the two blocked skipped-test windows (ids 25/26)
- Update STATE.md (plan 13 of 14, 646 passed / 25 skipped) and ROADMAP.md (06-13 checked, phase 6 13/14)
2026-09-15 11:33:38 +08:00
AncTe 992ca9d585 test(06-13): assert all CoreState key states and varied 10-step replay (G-06-09-A/B)
- seedState/mutateState/assertRestored now cover every key state: hero base attrs + modifier final atk + location, flags score/coins/stage, map two blocks + active status, enemy hp/atk, replay steps
- Replay seeded with 10 @system/replay steps mixing Up/Right/Down/Left/Teleport/UseItem/Equip/Unequip and varied param types, asserted per step
- New container test loops flags and replay through CoreState across the three compression tiers
- Append 06-13 create-or-append section to 06-COVERAGE-MAP.md; existing #06-09-1..5 skips unchanged
2026-09-15 11:27:57 +08:00
AncTe 60be0c0a24 docs(06): record G-06-04-C replay stream coverage gap 2026-09-15 11:04:02 +08:00
AncTe 5edaea1f21 docs(06): add gap-fill plan 06-14 (G-06-04-C replay read-stream) 2026-09-15 11:02:50 +08:00
AncTe b1c6d99e4a docs(06-12): complete replay + enemy-model coverage gap-fill plan 2026-09-15 10:47:23 +08:00
AncTe e2c163899d test(06-12): register blocked four-facing prefab reuse expectation (G-06-03-A)
- add correct-expectation it.skip for four facing codes reusing one prefab
- append 06-12 coverage-gap section to 06-COVERAGE-MAP.md
2026-09-15 10:43:03 +08:00
AncTe 94ab2ddcc6 docs(06-11): complete hero + map coverage gap-fill plan 2026-09-15 10:31:33 +08:00
AncTe 309f1b1850 test(06-11): cover static-dynamic-move-static full chain (G-06-06-A)
- mapLayer.test.ts: both keepEvent branches verified after a real-timer move,
  with exact event maps, dirty flags, block write-back and dynamic index updates
- 06-COVERAGE-MAP.md: append the 06-11 gap-fill section (create-or-append)
2026-09-15 10:27:59 +08:00
AncTe 7cb1aaec92 docs(06-10): complete combat/enemy combination gap-fill plan
- add 06-10-SUMMARY.md (status: complete)
- update STATE.md position/metrics/decisions/session
- add ROADMAP Wave 3 gap-fill section and mark 06-10 complete
- append #06-10 findings section (no suspected bugs, no skips)
2026-09-15 10:15:20 +08:00
AncTe f01c23eba0 test(06-10): cover maximum-pipeline single-monster final damage (G-06-07-A)
- drive real MainDamageCalculator over a monster with 10 top-level specials,
  real aura 25, real support 26, common/special query and final effects
- assert one exact {damage,turn} with full per-branch derivation in comments
- add a control asserting the result differs without the support pipeline
- append the 06-10 coverage-map section (create-or-append, no new codes)
2026-09-15 10:10:44 +08:00
AncTe 714b791339 docs(06): add gap-fill plans 06-10/06-12/06-13 (D-46) 2026-09-15 09:52:34 +08:00
AncTe 26458ff534 docs(06-11): fix G-06-06-A keepEvent plan to pre-warm source static tile 2026-09-15 09:49:57 +08:00
AncTe 174a1d5160 docs(06): record coverage gaps and add D-46 gap-fill decision 2026-09-14 23:06:32 +08:00
AncTe d815ec7736 docs(06-07): complete top-level integration plan 2026-09-14 21:11:44 +08:00
AncTe 9f9dd11223 test(06-07): add small-map replay playback and second-recording comparison
- play a recorded small-map route with bounded waiting and recording disabled
- assert a second recording equals the first step-by-step (code and param type/value)
- trigger warn 176 and errors 2001-2008 through the real replay commands
- append 06-07 code coverage map rows and record finding #06-07-1
2026-09-14 21:06:39 +08:00
AncTe 7c415df9e9 docs(06): refresh 06-07 for post-refactor replay API 2026-09-14 20:28:14 +08:00
AncTe f74646ab0c docs(06-09): complete save/load independent system plan 2026-09-14 19:01:01 +08:00
AncTe 502d87ba26 test(06-09): cover CoreState top-level saveables round trips
- add data-state/test/saveablesRoundTrip.test.ts: public CoreState.saveState/loadState over 5 saveables x 3 compressions, codes 112/113/177/178
- append 06-09 section to 06-COVERAGE-MAP.md (11 codes, create-or-append)
- register #06-09-1..5 suspected defects and the pre-existing test:ci blocker in 06-TEST-FINDINGS.md
2026-09-14 18:58:01 +08:00
AncTe 3e29548bfa test(06-09): cover enemy and hero save/load round trips
- add enemy/saveLoad.test.ts: Enemy/special/EnemyManager same-instance round trips across 3 compressions, codes 119/120
- add hero/saveLoad.test.ts: modifier/location/rendering/equipment/equipStore/items/follower/state round trips, codes 58/59
- add 06-SAVE-EXCLUSIONS.md: per-class excluded fields and rationale (D-42)
2026-09-14 18:57:42 +08:00
AncTe ccc5fc4f1f docs(06): cover ReplaySystem in 06-09 replay save/load round trips (D-42) 2026-09-14 18:22:57 +08:00
AncTe 0c1b1555cb docs(06): update 06-09 for CoreState save/load entry (D-45) 2026-09-14 18:19:28 +08:00
AncTe 5470f7a90e docs(06-08): complete flag + common unit test plan 2026-09-14 17:04:06 +08:00
AncTe 2b6de6df5f docs(06-06): complete map unit test plan 2026-09-14 16:33:08 +08:00
AncTe 6a6f717b04 docs(06-05): complete hero unit test plan 2026-09-14 16:00:26 +08:00
AncTe 730bdd12a8 docs(06-04): complete replay unit test plan 2026-09-14 15:25:42 +08:00
AncTe cb9c90abc1 test(06-04): cover ReplaySystem and ReplaySandbox pipeline (stage 3)
- system.test.ts:registerCommand/getCommand、重复注册 163、record + onRecordCommand、沙箱创建/reset、释放与实例独立性
- sandbox.test.ts:step/onStep、失败即停 158、157、notExecuted 175、156、startIndex、play/pause/resume/stop、setSpeed
- 06-COVERAGE-MAP.md 追加 06-04 小节(148–163、175)
- 06-TEST-FINDINGS.md 登记 #06-04-1..4
2026-09-14 15:21:49 +08:00