/** * Cross-run memory: a note of the LAST run's terminal failure for a feature, * persisted so the NEXT run of the same feature does not start blind. The * orchestrator injects it into the run's context on re-entry (the lanes read * it), and CLEARS it when a run completes the feature — a solved feature * carries no stale warning. Best-effort: memory is a help, never a blocker, * so nothing here throws into the run. */ export interface FeatureMemory { recordFailure(feature: string, note: string): void; lastFailure(feature: string): string | null; clear(feature: string): void; } export declare function fileFeatureMemory(memoryDir: string): FeatureMemory; /** The do-nothing store for tests and contexts without a repository. */ export declare const noFeatureMemory: FeatureMemory;