/** * ADR-505: `ruflo doctor` check for ruflo-mods compaction snapshots. * * The `compactSnapshot` option (default on) writes conversation text to * `.claude-flow/sessions/compactions/`. `ruflo init` gitignores it through * `.claude-flow/.gitignore` (`sessions/`); a project whose ignore rules lost * that would commit transcripts. Warn-only: when snapshots exist and git does * not ignore them. No snapshots, or not a git work tree, is a pass. */ export declare const COMPACTIONS_DIR = ".claude-flow/sessions/compactions"; export type SnapshotHealth = { status: 'pass' | 'warn'; message: string; fix?: string; }; /** `ignored`: git ignores the path; `not-ignored`: it would be committed; `no-git`: not a work tree or git missing. */ export type IgnoreState = 'ignored' | 'not-ignored' | 'no-git'; /** `git check-ignore -q`: exit 0 ignored, 1 not ignored, anything else (128: not a repo; ENOENT: no git) no answer. */ export declare function gitIgnoreState(root: string, relPath: string): IgnoreState; export declare function compactSnapshotHealth(root: string, ignoreState?: (root: string, relPath: string) => IgnoreState): SnapshotHealth; //# sourceMappingURL=compact-snapshots.d.ts.map