import { type FilesConfig } from "../core/agents-config/files-config.js"; import type { DiagnosticSection } from "./_types.js"; /** Post-hoc audit of the recorded run: verifies that every artifact a stage * was supposed to produce actually exists and is non-empty. Catches the * "subagent reported completed but wrote nothing" failure seen in real * sessions, which the parent only noticed after user prodding. */ export declare function checkTestingDiscipline(cwd: string, filesConfig: FilesConfig | null): DiagnosticSection; /** Doc factory checks: * 1. For each manifest target that is filled (no longer a stub): validate the * template's required sections are present, in order, and the file is * within its length cap. Over cap or missing section → warning naming the * file, the count/section, and the cap. * 2. Missing skeleton stubs → warning; unexpected non-stub files in * factory-owned subfolders → info. */ export declare function checkDocsFactory(cwd: string): DiagnosticSection; /** Reports the cross-run community-research cache state. Always emitted, even * when the cache is empty (informational). Includes file count, oldest * entry timestamp, and a hint for manual purge. */ export declare function checkCommunityResearchCache(cwd: string): DiagnosticSection;