# Circular Dependencies
Generated: 2026-06-15T11:06:55.418Z
Found: 8 circular chain(s) — these MUST be fixed before modifying involved files.

1. 1) data/guardian-encounters.ts > data/guardian-procedural.ts
2. 2) stores/attunementStore.ts > stores/combatStore.ts > stores/combat-actions.ts > stores/combat-room-enchantments.ts > stores/craftingStore.ts
3. 3) stores/combatStore.ts > stores/combat-actions.ts > stores/combat-room-enchantments.ts > stores/craftingStore.ts
4. 4) stores/combatStore.ts > stores/combat-actions.ts > stores/combat-room-enchantments.ts > stores/craftingStore.ts > stores/crafting-equipment-tick.ts
5. 5) stores/combatStore.ts > stores/combat-actions.ts > stores/combat-room-enchantments.ts > stores/craftingStore.ts > stores/pipelines/equipment-crafting.ts
6. 6) stores/golem-combat-actions.ts > stores/golem-combat-helpers.ts
7. 7) stores/attunementStore.ts > stores/combatStore.ts > stores/combat-descent-actions.ts
8. 8) stores/attunementStore.ts > stores/combatStore.ts > stores/combat-descent-actions.ts > stores/non-combat-room-actions.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)