/** * Doctor — memory checks: project root resolution, memory database, knowledge * graph, Second Brain model and document extractors, memory proficiency. * Extracted from doctor-project-checks.ts. */ import type { HealthCheck } from './doctor-env-checks.js'; /** o-16 (AC-6): the marker walk that resolves "this project" for the Memory * & Knowledge store can silently adopt a wrong ancestor — the incident that * motivated this check was a shared scratch parent's bare `.monomind` * capturing an unrelated fixture, with no visible symptom until a search * came back empty. Disclose the resolved root and why it was chosen, so a * user can see which directory their brain is keyed to without reading code * or debug logs. Always 'info': the resolution itself is never a health * problem, only the failure to see it was. * * Named/scoped to "Memory Project Root", not a bare "Project Root" (o-16 * revision 1, reviewer MAJOR 2): `MONOMIND_PROJECT_ROOT` has a SECOND, * independent consumer — `mcp-tools/guidance-tools.ts:findProjectRoot()`, * which uses a different marker (`.claude`) and can legitimately resolve a * different directory (see the divergence explained at * `memory-bridge.ts`'s `getProjectRoot()` doc comment). A generic "Project * Root" label would claim there is one true answer when this commit is * what creates a state where two resolvers can disagree — this check must * not be the thing that misleads about that. */ export declare function checkProjectRoot(): Promise; export declare function checkMemoryDatabase(): Promise; /** Memory knowledge graph (cognee port): entities/relations/rules distilled * from sessions and org runs. Informational — an empty graph on a fresh * project is normal, so it never fails. */ export declare function checkMemoryKnowledgeGraph(): Promise; /** Second Brain: when there is any indexed knowledge — ingested docs in this * project, the personal global brain, or the monograph god-node chunk — * semantic search needs the local embedding model. Its absence is silent * (search degrades to keyword matching), so surface it here instead. */ export declare function checkSecondBrainModel(): Promise; /** * AutoMem proficiency check — reports memory learning health */ export declare function checkMemoryProficiency(): Promise; /** Per-extractor health for Second Brain document ingestion (MEM-8/MEM-9): * one check per format family (PDF, DOCX, XLSX/XLS/ODS, PPTX/ODT/ODP/EPUB, * legacy DOC/PPT/Pages) instead of a single blanket "documents" check, so * `doctor` can report exactly which formats are functional vs broken. * No-op (empty array) when the documents capability isn't active — nothing * to report if this project doesn't ingest documents. */ export declare function checkDocumentExtractors(): Promise; //# sourceMappingURL=doctor-memory-checks.d.ts.map