/** * 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 { checkGitignoreCoverage, fixGitignoreCoverage } from './doctor-gitignore-checks.js'; export { checkGuidanceGates, checkHelpersFresh, fixStaleHelpers } from './doctor-helpers-checks.js'; export { checkDocumentExtractors, checkMemoryDatabase, checkMemoryKnowledgeGraph, checkMemoryProficiency, checkProjectRoot, checkSecondBrainModel, } from './doctor-memory-checks.js'; export { checkMonoesMemory, checkMonograph, checkMonographFreshness, checkMonographSemantic, } from './doctor-monograph-checks.js'; export { checkAgentRegistry, checkMonoesIntegration } from './doctor-routing-checks.js'; export { checkMetricsFreshness, checkSecurityAuditFindings } from './doctor-worker-checks.js'; export type { HealthCheck }; export declare function checkConfigFile(): Promise; export declare function checkApiKeys(): Promise; export interface McpCheckOptions { /** * Actually start the configured monomind server and speak `initialize` * (i-312). Off by default: the plain `monomind doctor` run must not spawn a * subprocess — with an `npx`-based entry that can mean a package download — * on every invocation. `doctor -c mcp` opts in. */ probe?: boolean; /** Probe budget; defaults to MCP_PROBE_TIMEOUT_MS. */ timeoutMs?: number; } export declare function checkMcpServers(options?: McpCheckOptions): 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; //# sourceMappingURL=doctor-project-checks.d.ts.map