/** * trigger-review - periodic AGENT review of triggers (M1-T2). * * The read-only surface loop produces no succeeded/failed outcome, so the outcome-driven * evolveTrigger path is unusable without fabricating outcomes (review r1). Instead the agent * periodically REVIEWS a trigger - its spec, fire activity, and recent context - and decides * keep / refine / retire. No numeric threshold anywhere: the decision is the agent's (G2). * * evolveTrigger stays intact for the future outcome-linked path; this module never calls * recordOutcome. */ import type { TriggerRegistry } from './trigger-registry.js'; import type { TriggerRecord } from './trigger-types.js'; import type { EvolutionAction, EvolutionDecision } from './trigger-evolve.js'; import { type AskAgent } from './trigger-author.js'; export type ReviewDecision = EvolutionDecision; export declare function parseReviewDecision(text: string): ReviewDecision; /** Mechanically apply the agent's decision to the registry (mirror of evolveTrigger's apply, minus outcome recording). */ export declare function applyReview(decision: ReviewDecision, triggerId: string, registry: TriggerRegistry): EvolutionAction; export declare function buildReviewPrompt(trigger: TriggerRecord, recentContext: string[]): string; /** Real agent review via the local claude CLI. Exercised in the M1-T4 live smoke. */ export declare function reviewTriggerCLI(trigger: TriggerRecord, recentContext: string[], askAgent?: AskAgent): Promise; //# sourceMappingURL=trigger-review.d.ts.map