/** * Doctor — project/monomind health checks * Config, memory, API keys, MCP, monograph, helpers, routing, gates, gitignore, worker metrics */ import type { HealthCheck } from './doctor-env-checks.js'; export type { HealthCheck }; export declare function checkConfigFile(): 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; export declare function checkApiKeys(): Promise; export declare function checkMcpServers(): Promise; export declare function checkMonograph(): Promise; export declare function checkMonographFreshness(): Promise; export declare function checkMonoesMemory(): Promise; export declare function fixStaleHelpers(): Promise; export declare function checkHelpersFresh(): Promise; export declare function checkMonoesIntegration(): Promise; export declare function checkGitignoreCoverage(): Promise; /** Creates or appends the missing gitignore entries. Returns true if it wrote. * Append-only and idempotent: never rewrites lines the user already has. */ export declare function fixGitignoreCoverage(): Promise; export declare function checkAgentRegistry(): Promise; export declare function checkGuidanceGates(): Promise; /** * Worker metrics freshness — reports the age of the @monoes/hooks worker * output files (written at session start with a 6h staleness gate, or on * demand via `monomind hooks worker run `), so missing/stale worker * output is visible without digging through .monomind/metrics. */ export declare function checkMetricsFreshness(): Promise; /** * Surfaces critical findings from the security-audit worker output. */ export declare function checkSecurityAuditFindings(): Promise; /** * AutoMem proficiency check — reports memory learning health */ export declare function checkMemoryProficiency(): Promise; /** AppleDouble sidecars (`._name`) under `.claude/`. * * macOS writes these whenever a file carrying extended attributes is copied to * a filesystem that cannot store them natively — exFAT, most USB/network * volumes. Harmless as data, but Claude Code discovers skills and commands by * reading `.claude/skills/` and `.claude/commands/`, and a stray * `._createorg.md` is registered as a real command: a garbage entry named * `mastermind:._createorg` appears in the roster, and its "content" is a binary * resource fork. They also reappear after any Finder copy, `cp`, or tar * extract, so a one-time delete does not hold. * * Reported here rather than swept silently, because deleting files under * `.claude/` should be something the operator sees. `doctor --fix` removes them. */ export declare function checkAppleDoubleSidecars(): Promise; /** Every `._*` file under the project's `.claude/` trees. Both the repo-root * tree and the npm-shipped copy under packages/, since a sidecar in the latter * ships to users. */ export declare function findAppleDoubleSidecars(cwd: string): string[]; /** Delete every AppleDouble sidecar found. Returns how many were removed. */ export declare function fixAppleDoubleSidecars(cwd: string): number; /** 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-project-checks.d.ts.map