[COORD-008] Build Quality Orchestrator service #148

Closed
opened 2026-01-31 21:04:21 +00:00 by jason.woltje · 0 comments
Owner

Objective

Build Quality Orchestrator service that intercepts completion claims and enforces quality gates.

Implementation Details

Implement Quality Orchestrator from Part 2:

Key responsibilities:

  • Intercept agent completion claims
  • Run all quality gates in parallel
  • Aggregate gate results
  • Generate forced continuation prompts for failures
  • Block completion until all gates pass

Includes ForcedContinuationService for generating non-negotiable continuation prompts.

Context Estimate

  • Files to modify: 3 (quality-orchestrator.service.ts, forced-continuation.service.ts, module file)
  • Implementation complexity: high (30,000 tokens)
  • Test requirements: medium (10,000 tokens)
  • Documentation: medium (3,000 tokens)
  • Total estimated: 64,350 tokens
  • Recommended agent: glm

Difficulty

medium

Dependencies

  • Blocked by: #152 (COORD-007)
  • Blocks: #154 (COORD-009)

Acceptance Criteria

  • QualityOrchestrator service implemented
  • verifyCompletion method runs all gates in parallel
  • ForcedContinuationService generates continuation prompts
  • Completion blocked when any gate fails
  • Completion approved when all gates pass
  • NestJS module configured correctly
  • Unit tests (85% coverage minimum)

Testing Requirements

  • Mock gate execution results
  • Test all gates passing scenario
  • Test one or more gates failing scenario
  • Test forced continuation prompt generation
  • Test parallel gate execution
  • Coverage: 85% minimum
## Objective Build Quality Orchestrator service that intercepts completion claims and enforces quality gates. ## Implementation Details Implement Quality Orchestrator from Part 2: Key responsibilities: - Intercept agent completion claims - Run all quality gates in parallel - Aggregate gate results - Generate forced continuation prompts for failures - Block completion until all gates pass Includes ForcedContinuationService for generating non-negotiable continuation prompts. ## Context Estimate - Files to modify: 3 (quality-orchestrator.service.ts, forced-continuation.service.ts, module file) - Implementation complexity: high (30,000 tokens) - Test requirements: medium (10,000 tokens) - Documentation: medium (3,000 tokens) - **Total estimated: 64,350 tokens** - **Recommended agent: glm** ## Difficulty medium ## Dependencies - Blocked by: #152 (COORD-007) - Blocks: #154 (COORD-009) ## Acceptance Criteria - [ ] QualityOrchestrator service implemented - [ ] verifyCompletion method runs all gates in parallel - [ ] ForcedContinuationService generates continuation prompts - [ ] Completion blocked when any gate fails - [ ] Completion approved when all gates pass - [ ] NestJS module configured correctly - [ ] Unit tests (85% coverage minimum) ## Testing Requirements - Mock gate execution results - Test all gates passing scenario - Test one or more gates failing scenario - Test forced continuation prompt generation - Test parallel gate execution - Coverage: 85% minimum
jason.woltje added the apiapip0phase-3 labels 2026-01-31 21:04:21 +00:00
jason.woltje added this to the M4.1-Coordinator (0.0.4) milestone 2026-01-31 21:10:03 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#148