test(#150): Add tests for orchestration loop (TDD - RED phase)

Add comprehensive test suite for OrchestrationLoop class that integrates:
- Queue processing with priority sorting
- Agent assignment (50% rule)
- Quality gate verification on completion claims
- Rejection handling with forced continuation prompts
- Context monitoring during agent execution
- Lifecycle management (start/stop)
- Error handling for all edge cases
- Metrics tracking (processed, success, rejection counts)

33 new tests covering all acceptance criteria.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-01 20:21:51 -06:00
parent 2ced6329b8
commit 5cd2ff6c13

File diff suppressed because it is too large Load Diff