/** * Regression Fingerprinting — capture "working state" snapshots at success events * and diff against current state when errors appear. */ import type { StoragePlugin } from './types.js'; export interface Fingerprint { knowledge_ids: string[]; recent_files: string[]; error_patterns_absent: string[]; entity_state: string[]; timestamp: number; } export interface RegressionDiff { added_errors: string[]; changed_knowledge: string[]; modified_files: string[]; new_entities: string[]; likely_causes: string[]; } /** * Capture a snapshot of the current working state. */ export declare function captureFingerprint(storage: StoragePlugin, sessionId: string, trigger: string): Fingerprint; /** * Diff current state against a baseline fingerprint. */ export declare function diffFingerprints(storage: StoragePlugin, baseline: Fingerprint): RegressionDiff; /** * Get the most recent fingerprint for a session. */ export declare function getLastFingerprint(storage: StoragePlugin, sessionId?: string): Fingerprint | null; //# sourceMappingURL=regression-fingerprint.d.ts.map