import type { Decision, Evidence, Operation } from "../objects/types.ts"; export interface RepairContext { /** The operations that failed and must be repaired. */ failedOps: { oid: string; purpose: string; target: string; path?: string; }[]; /** The failing evidence, with its (truncated) output. */ failures: { kind: string; result: string; command?: string; detail?: string; }[]; /** Decisions that touch these ops — prior rulings the repair must respect. */ relatedDecisions: { oid: string; reason: string; futurePolicy?: string; }[]; /** A short, imperative instruction for the agent. */ suggestion: string; } /** * Build a repair packet from a set of ops and the evidence/decisions about them. * Pure; the caller supplies the already-loaded objects. */ export declare function buildRepairContext(ops: Operation[], evidence: Evidence[], decisions: Decision[]): RepairContext; //# sourceMappingURL=repair.d.ts.map