Architectural refactor to eliminate circular imports and establish clean module boundaries: - Move enums from app/core/models/enums.py to app/core/enums.py (foundational module with zero dependencies) - Update all imports across 30 files to use new enum location - Set up clean export structure: - app.core.enums: canonical source for all enums - app.core: convenience exports for full public API - app.core.models: exports models only (not enums) - Add module exports to app/core/__init__.py and app/core/effects/__init__.py - Remove circular import workarounds from game_state.py This enables app.core.models to export GameState without circular import issues, since enums no longer depend on the models package. All 826 tests passing. |
||
|---|---|---|
| .. | ||
| test_effects | ||
| test_models | ||
| __init__.py | ||
| conftest.py | ||
| test_config.py | ||
| test_coverage_gaps.py | ||
| test_engine.py | ||
| test_evolution_stack.py | ||
| test_rng.py | ||
| test_rules_validator.py | ||
| test_turn_manager.py | ||
| test_visibility.py | ||
| test_win_conditions.py | ||