/** * [WHO]: Provides runEvolutionGate(), runCandidateEvalFixtureGate(), and EvolutionGateRunner for deterministic self-evolution promotion checks * [FROM]: Depends on core harness-eval runner, built-in offline fixtures, and active evolved eval_fixture artifacts * [TO]: Consumed by evolution_refine and turn_end auto-promotion paths * [HERE]: extensions/optional/evolution/evolution-gate.ts - eval gate adapter for controlled self-evolution */ import type { EvolutionCandidate, EvolutionGateReport } from "./evolution-types.js"; export interface EvolutionGateContext { agentDir?: string; cwd?: string; sessionId?: string; } export type EvolutionGateRunner = (candidate: EvolutionCandidate, context?: EvolutionGateContext) => Promise; export declare function runCandidateEvalFixtureGate(content: string, scenarioId: string): Promise; export declare function runEvolutionGate(candidate: EvolutionCandidate, context?: EvolutionGateContext): Promise;