export interface CognitiveDomain { domain: string; files: string[]; patterns: string[]; knownBugs: string[]; decisions: string[]; symbols: string[]; } export interface CognitiveMapSchema { workspace: string; lastBuilt: string; nodes: Record; } export declare const COG_MAP_FILE: string; /** * Best-effort domain for a repo-relative file path, so store_memory and the test-oracle * auto-store below don't require a human to type `domain` by hand every time. * * Prefers the persisted Cognitive Map (built via `cognitive_map` action "build") when it * has this exact file listed — that reflects an actual workspace scan. Falls back to the * same lightweight substring heuristic "build" uses, so a project that never ran "build" * still gets a reasonable tag instead of none at all. Returns undefined rather than * "general" when nothing matches — an absent domain stays visible to every domain-scoped * search (see BrainEntry.domain), while a wrong guess would actively mislead one. */ export declare function deriveDomainForFile(relPath: string): string | undefined; //# sourceMappingURL=cognitiveMap.d.ts.map