• Joined on 2025-05-17
Anexim commented on issue Anexim/Mana-Loop#98 2026-05-20 17:25:10 +02:00
[priority: critical] 13+ files use 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 — Changed computeDisciplineEffects() signature to…
Anexim closed issue Anexim/Mana-Loop#98 2026-05-20 17:25:10 +02:00
[priority: critical] 13+ files use as any type casts bypassing TypeScript's type safety
Anexim commented on issue Anexim/Mana-Loop#98 2026-05-20 15:26:29 +02:00
[priority: critical] 13+ files use 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.

Anexim commented on issue Anexim/Mana-Loop#97 2026-05-20 15:22:43 +02:00
[priority: critical] Near-zero test coverage — 155 of 235 files untested, including all core game logic

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,…

Anexim closed issue Anexim/Mana-Loop#97 2026-05-20 15:22:43 +02:00
[priority: critical] Near-zero test coverage — 155 of 235 files untested, including all core game logic
Anexim commented on issue Anexim/Mana-Loop#97 2026-05-20 15:22:12 +02:00
[priority: critical] Near-zero test coverage — 155 of 235 files untested, including all core game logic

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…

Anexim commented on issue Anexim/Mana-Loop#97 2026-05-20 13:01:58 +02:00
[priority: critical] Near-zero test coverage — 155 of 235 files untested, including all core game logic

Phase 1 complete: 163 pure-function unit tests added across 5 utility modules. All passing. Ready for review.

Anexim commented on issue Anexim/Mana-Loop#97 2026-05-20 13:01:58 +02:00
[priority: critical] Near-zero test coverage — 155 of 235 files untested, including all core game logic

Progress Update

Added 5 new test files with 163 unit tests covering core game logic utilities:

Anexim commented on issue Anexim/Mana-Loop#97 2026-05-20 12:40:06 +02:00
[priority: critical] Near-zero test coverage — 155 of 235 files untested, including all core game logic

Starting work on test coverage. Will begin with pure utility functions (lowest hanging fruit), then store action tests, then integration tests.

Anexim commented on issue Anexim/Mana-Loop#96 2026-05-20 12:37:36 +02:00
[priority: critical] Legacy store.ts coexists with modular stores/ — incomplete migration

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…
Anexim commented on issue Anexim/Mana-Loop#96 2026-05-20 12:37:06 +02:00
[priority: critical] Legacy store.ts coexists with modular stores/ — incomplete migration

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…
Anexim closed issue Anexim/Mana-Loop#96 2026-05-20 12:37:06 +02:00
[priority: critical] Legacy store.ts coexists with modular stores/ — incomplete migration
Anexim commented on issue Anexim/Mana-Loop#96 2026-05-20 12:09:23 +02:00
[priority: critical] Legacy store.ts coexists with modular stores/ — incomplete migration

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).…

Anexim closed issue Anexim/Mana-Loop#95 2026-05-20 12:02:30 +02:00
[priority: critical] 3 import cycles in production code (store↔utils, equipment↔utils, golems↔utils)
Anexim commented on issue Anexim/Mana-Loop#95 2026-05-20 12:01:50 +02:00
[priority: critical] 3 import cycles in production code (store↔utils, equipment↔utils, golems↔utils)

Fix complete. Broke both circular dependency chains by extracting shared data constants into standalone modules:

  1. Equipment cycle (index.ts ↔ utils.ts): Created `equipment-types-data.…
Anexim commented on issue Anexim/Mana-Loop#95 2026-05-20 11:02:27 +02:00
[priority: critical] 3 import cycles in production code (store↔utils, equipment↔utils, golems↔utils)

Starting work on breaking 3 import cycles. Will investigate each cycle, then extract shared modules to break them.

Anexim opened issue Anexim/Mana-Loop#103 2026-05-20 10:59:27 +02:00
[priority: high] gameStore.ts tick() orchestrates 7 stores with tangled cross-store coupling
Anexim opened issue Anexim/Mana-Loop#102 2026-05-20 10:59:26 +02:00
[priority: high] Bloated state types — GameState (71 fields), CombatState (58), PrestigeState (39)
Anexim opened issue Anexim/Mana-Loop#101 2026-05-20 10:59:26 +02:00
[priority: high] Inconsistent error handling — mixed return-null/throw/false patterns with no error context
Anexim opened issue Anexim/Mana-Loop#100 2026-05-20 10:59:26 +02:00
[priority: high] Duplicate functions across files (calculateDesignTime, calculateDesignCapacityCost, generateSwarmEnemies)