/** * Custom Regression Fixtures * * Converts a logged false negative (a confirmed miss) into a labeled * {@link TestFixture}, and loads versioned custom fixtures from disk so the * eval harness exercises them alongside the built-in set. This is the * "miss -> permanent regression guard" link of the self-improvement loop. * * @module eval/custom-fixtures */ import type { TestFixture } from "./types.js"; import type { MissEntry } from "../scanners/fn-feedback.js"; /** Default location of committed custom fixtures (repo-relative). */ export declare const DEFAULT_CUSTOM_FIXTURES_DIR = "eval-fixtures/custom"; /** * Convert a logged miss into a regression fixture. The snippet becomes the * fixture's single file; the expected finding is the vulnerability the * platform must catch going forward. */ export declare function missToFixture(miss: MissEntry): TestFixture; /** * Load all `*.fixture.json` files from a custom fixtures directory. * Malformed files are skipped with a warning rather than failing the run. */ export declare function loadCustomFixtures(dir?: string): Promise; /** * Persist a fixture as `.fixture.json` in the custom fixtures directory. * Returns the absolute path written. */ export declare function writeCustomFixture(dir: string, fixture: TestFixture): Promise; //# sourceMappingURL=custom-fixtures.d.ts.map