# Circular Dependencies Generated: 2026-05-18T12:47:02.133Z Found: 4 circular chain(s) — these MUST be fixed before modifying involved files. 1. Processed 122 files (1.3s) (30 warnings) 2. 1) stores/combatStore.ts > stores/gameStore.ts 3. 2) stores/combatStore.ts > stores/gameStore.ts > stores/gameActions.ts 4. 3) stores/combatStore.ts > stores/gameStore.ts > stores/gameLoopActions.ts ## How to fix 1. Identify which import in the chain can be extracted to a shared types/utils file. 2. Move the shared type or function there. 3. Both files import from the new shared module instead of each other. 4. Run: bunx madge --circular src/lib/game (should return clean)