Jason Woltje
324c6b71d8
feat(#148): Implement Quality Orchestrator and Forced Continuation services
Implements COORD-008 - Build Quality Orchestrator service that intercepts
completion claims and enforces quality gates.
**Quality Orchestrator (quality_orchestrator.py):**
- Runs all quality gates (build, lint, test, coverage) in parallel using asyncio
- Aggregates gate results into VerificationResult model
- Determines overall pass/fail status
- Handles gate exceptions gracefully
- Uses dependency injection for testability
- 87% test coverage (exceeds 85% minimum)
**Forced Continuation Service (forced_continuation.py):**
- Generates non-negotiable continuation prompts for gate failures
- Provides actionable remediation steps for each failed gate
- Includes specific error details and coverage gaps
- Blocks completion until all gates pass
- 100% test coverage
**Tests:**
- 6 tests for QualityOrchestrator covering:
- All gates passing scenario
- Single/multiple/all gates failing scenarios
- Parallel gate execution verification
- Exception handling
- 9 tests for ForcedContinuationService covering:
- Individual gate failure prompts (build, lint, test, coverage)
- Multiple simultaneous failures
- Actionable details inclusion
- Error handling for invalid states
**Quality Gates:**
✅ Build: mypy passes (no type errors)
✅ Lint: ruff passes (no violations)
✅ Test: 15/15 tests pass (100% pass rate)
✅ Coverage: 87% quality_orchestrator, 100% forced_continuation (exceeds 85%)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 20:04:26 -06:00
..
2026-02-01 18:25:16 -06:00
2026-02-01 17:41:46 -06:00
2026-02-01 18:07:58 -06:00
2026-02-01 18:03:12 -06:00
2026-02-01 17:49:09 -06:00
2026-02-01 18:03:12 -06:00
2026-02-01 20:04:26 -06:00
2026-02-01 18:03:12 -06:00
2026-02-01 18:00:19 -06:00
2026-02-01 17:50:35 -06:00
2026-02-01 20:04:26 -06:00
2026-02-01 17:55:48 -06:00
2026-02-01 17:41:46 -06:00
2026-02-01 17:56:04 -06:00
2026-02-01 17:41:46 -06:00