import type { Check } from '../types.js'; /** * Informational sibling to "Usefulness feedback loop" — surfaces how much of * the served-atom population `src/storage/proxy-turn-correlation.ts`'s * SECOND implicit signal (proxy-captured-turn text correlation) has managed * to corroborate, all-time. Deliberately modeled on `checkUsefulness` * (src/doctor/checks/usefulness.ts), NOT on `checkUsefulnessFeedbackLoop` or * `checkExtractionYield`: this is a noisy, best-effort text-overlap * heuristic — an agent can genuinely USE a served memory's information * without ever repeating its exact wording in a later captured turn, so a * low or zero correlation rate is not evidence of a bug the way a * never-fired EXPLICIT channel or a high zero-yield extraction rate is. * This check therefore NEVER returns `ok: false`; it only makes the rate * visible (rate-not-existence, same canary precedent as * `checkExtractionYield`), so an operator can judge for themselves rather * than the mechanism being invisible. * * FEAT-477 AC — "handle proxy off gracefully, never a false signal": * `proxyCorrelationSummary` checks for `capture_source = 'proxy'` activity * FIRST and reports `proxyActivityAbsent` explicitly when there is none. * This check surfaces that as its own calm, distinct message rather than * folding it into a printed 0% rate — a 0% rate reads as "measured and * found lacking"; "no proxy activity yet" reads as "nothing to measure". */ export declare function checkProxyTurnCorrelation(dataDir: string, encryptionEnabled: boolean): Check;