as any type casts bypassing TypeScript's type safety
✅ Fixed. Eliminated as any and explicit : any type casts across 18 source files.
Changes made:
effects/discipline-effects.ts— ChangedcomputeDisciplineEffects()signature to…
as any type casts bypassing TypeScript's type safety
as any type casts bypassing TypeScript's type safety
Starting work on eliminating as any type casts. Will systematically find and replace with proper types across all affected files.
Issue resolved. Added 156 new tests across 8 files covering store actions (combat, mana, prestige, discipline) and cross-store tick integration (time progression, mana regen, incursion, meditation,…
Phase 2 Complete: Store Action Tests + Cross-Store Integration Tests
The previous agent crashed after completing the tests but before committing. I've verified, fixed, and pushed all…
Phase 1 complete: 163 pure-function unit tests added across 5 utility modules. All passing. Ready for review.
Progress Update
Added 5 new test files with 163 unit tests covering core game logic utilities:
Starting work on test coverage. Will begin with pure utility functions (lowest hanging fruit), then store action tests, then integration tests.
Summary
Successfully completed the migration from legacy store.ts to the modular stores/ architecture.
Files Deleted (734 LOC removed)
src/lib/game/store.ts— monolithic 355-line…
✅ Completed the legacy store migration.
What was done:
- Deleted
src/lib/game/store.ts(355 LOC monolithic store — zero imports, dead code) - Deleted
src/lib/game/crafting-slice.ts(379…
Starting work on removing legacy store.ts and crafting-slice.ts. Investigation complete:
store.ts — No actual imports anywhere in the codebase (only a comment reference in mana-utils.ts).…
Fix complete. Broke both circular dependency chains by extracting shared data constants into standalone modules:
- Equipment cycle (
index.ts ↔ utils.ts): Created `equipment-types-data.…
Starting work on breaking 3 import cycles. Will investigate each cycle, then extract shared modules to break them.