feat(#134): design Non-AI Quality Orchestrator service
Implement quality orchestration service to enforce standards on AI agent work and prevent premature completion claims. Components: - QualityOrchestratorService: Core validation and gate execution - QualityGate interface: Extensible gate definitions - CompletionClaim/Validation: Track claims and verdicts - OrchestrationConfig: Per-workspace configuration Features: - Validate completions against quality gates (build/lint/test/coverage) - Run gates with command execution and output validation - Support string and RegExp output pattern matching - Smart continuation logic with attempt tracking - Generate actionable feedback for failed gates - Strict/lenient mode for gate enforcement - 5-minute timeout, 10MB output buffer per gate Default gates: - Build Check (required) - Lint Check (required) - Test Suite (required) - Coverage Check (optional, 85% threshold) Tests: 21 passing with 85.98% coverage Fixes #134 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { Module } from "@nestjs/common";
|
||||
import { QualityOrchestratorService } from "./quality-orchestrator.service";
|
||||
|
||||
/**
|
||||
* Quality Orchestrator Module
|
||||
* Provides quality enforcement for AI agent task completions
|
||||
*/
|
||||
@Module({
|
||||
providers: [QualityOrchestratorService],
|
||||
exports: [QualityOrchestratorService],
|
||||
})
|
||||
export class QualityOrchestratorModule {}
|
||||
Reference in New Issue
Block a user