/** * A scaffold to generate: a new file that satisfies a detection rule a repo is * currently failing for *absence*. Scaffolds never overwrite an existing file — * `computeMissingScaffolds` only proposes targets none of whose search paths * exist yet (idempotent). */ export interface Scaffold { /** Stable id (the rule/area this scaffold satisfies). */ id: string; /** Path (relative to repo root) to create. */ path: string; /** File content — generated to pass the corresponding detection rule. */ content: string; } /** * Returns the scaffolds for AI-readiness files the repo is missing. A target is * skipped when any of its known search paths already exists, so running twice is * a no-op (idempotent). Pure: reads the filesystem but writes nothing. */ export declare function computeMissingScaffolds(repoRoot: string): Scaffold[];