[loop-cycle-1] refactor: split cascade.py into focused modules (#1342) #1448

Merged
Timmy merged 1 commits from refactor/split-cascade-py into main 2026-03-24 18:39:07 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
59520721be refactor: split cascade.py into 4 modules (models, health, providers, orchestrator)
Some checks failed
Tests / lint (pull_request) Failing after 8s
Tests / test (pull_request) Has been skipped
- Extract data models (enums, dataclasses) to models.py (138 lines)
- Extract health/circuit breaker mixin to health.py (137 lines)
- Extract provider API calls mixin to providers.py (318 lines)
- Trim cascade.py to orchestrator with mixin inheritance (718 lines)
- All existing imports preserved via re-exports from cascade.py
- Update test patches to reference health._quota_monitor
- 966 tests pass, 0 failures
2026-03-24 14:37:40 -04:00