06c3fe4380
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s
TypeScript fixes: - gameStore.ts: replace result.ok with result.success (Result<void> uses success not ok) - gameStore.ts: fix undefined newProgress variable → ctx.prestige.pactRitualProgress + HOURS_PER_TICK - prestigeStore.ts: replace result.ok with result.success Circular dependency fixes: - Extract GameCoordinatorState to stores/gameStore.types.ts to break gameStore↔tick-pipeline/gameActions/gameLoopActions cycle - Remove getDodgeChance re-export from floor-utils.ts to break floor-utils↔room-utils↔enemy-utils cycle - Replace direct combatStore import in discipline-slice.ts with callback pattern to break discipline-slice↔combatStore↔combat-actions↔discipline-effects cycle Verification: tsc --noEmit clean, madge --circular clean (0 circular deps)
19 lines
986 B
Plaintext
19 lines
986 B
Plaintext
# Circular Dependencies
|
|
Generated: $(date -u +"%Y-%m-%dT%H:%M:%S.%3NZ")
|
|
Found: 0 circular chain(s) — clean!
|
|
|
|
## Status
|
|
All 7 previously-known circular dependency chains have been resolved:
|
|
1. ✅ effects/discipline-effects.ts > stores/discipline-slice.ts > stores/combatStore.ts > stores/combat-actions.ts
|
|
- Fixed by: discipline-slice.ts uses callbacks instead of directly importing combatStore
|
|
2. ✅ utils/floor-utils.ts > utils/room-utils.ts > utils/enemy-utils.ts
|
|
- Fixed by: removed re-export of getDodgeChance from floor-utils.ts
|
|
3. ✅ utils/floor-utils.ts > utils/room-utils.ts
|
|
- Fixed by: same as above
|
|
4. ✅ stores/gameStore.ts > stores/gameActions.ts
|
|
- Fixed by: extracted GameCoordinatorState to gameStore.types.ts
|
|
5. ✅ stores/gameStore.ts > stores/gameLoopActions.ts
|
|
- Fixed by: extracted GameCoordinatorState to gameStore.types.ts
|
|
6. ✅ stores/gameStore.ts > stores/tick-pipeline.ts
|
|
- Fixed by: extracted GameCoordinatorState to gameStore.types.ts
|