/** * Adversarial feedback formatter (RuleHost MVP, PRI-428). * * Converts EvaluatorAdversarialResult.failedCases into a deterministic, * human-readable text block that is injected into a Round-2 Artificer prompt * so the LLM can make targeted code corrections instead of blind regeneration. * * Design: * - Pure function, no I/O, no timestamps/random (deterministic). * - Each failed case becomes one line: caseId | attackType | expected vs * actual | rationale. * - Empty input still yields a usable, non-empty string (the gate may * reject on a runtime error with no per-case detail). */ import type { AdversarialFailedCase } from './evaluator-output.js'; /** * Format a list of adversarial failed cases into a prompt-injectable text block. * * @param failedCases - from EvaluatorAdversarialResult.failedCases (may be empty) * @returns a deterministic multi-line string; never empty */ export declare function formatAdversarialFeedback(failedCases: readonly AdversarialFailedCase[]): string; //# sourceMappingURL=adversarial-feedback.d.ts.map