mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-09-30 12:39:42 +02:00
Adds a new autonomous loop that accepts high-level goals, generates phased execution plans via AI, and executes them step-by-step with verification gates between phases. Core components: - OrchestratorLoop: state machine (idle→planning→approval→executing→verifying→completed) - OrchestratorPlanner: plan generation via PlanOrchestrator, Kahn's algorithm phase grouping - OrchestratorVerifier: phase verification (strict/moderate/lenient modes) - Prompt templates for phase execution, team delegation, verification, replanning API (10 endpoints): - POST start/approve/reject/pause/resume/stop - GET status/plan - POST phase/:id/skip, phase/:id/retry Frontend: orchestrator-panel.js with SSE-driven state, phase progress, task tracking Tests: 22 tests (18 route + 4 unit), all passing. Typecheck/lint/format clean. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
374 B
TypeScript
12 lines
374 B
TypeScript
/**
|
|
* @fileoverview Orchestrator port — capabilities for orchestrator loop management.
|
|
* Route modules that interact with the orchestrator depend on this port.
|
|
*/
|
|
|
|
import type { OrchestratorLoop } from '../../orchestrator-loop.js';
|
|
|
|
export interface OrchestratorPort {
|
|
readonly orchestratorLoop: OrchestratorLoop | null;
|
|
initOrchestratorLoop(): OrchestratorLoop;
|
|
}
|