/** * Scaffold closeout writer for Iranti's integrate commands. * * After `iranti integrate claude/codex/copilot` creates or updates the host * integration files, this module writes a `scaffold_status` fact and a shared * checkpoint to the project's Iranti memory. This persists what the scaffold * created and what the user's next step is, so subsequent sessions start with * accurate context. * * Key export: * - writeProjectScaffoldCloseout() — write scaffold fact + checkpoint, return status */ export type ScaffoldCloseoutStatus = { status: 'written'; detail: string; entity: string; key: string; sessionId: string | null; } | { status: 'skipped' | 'failed'; detail: string; entity: null; key: null; sessionId: null; }; export type ScaffoldCloseoutFile = { path: string; status: 'created' | 'updated' | 'unchanged'; }; type ScaffoldCloseoutInput = { tool: 'claude' | 'codex' | 'copilot'; projectPath: string; projectEnvFile?: string | null; files: ScaffoldCloseoutFile[]; agentId?: string; }; export declare function writeProjectScaffoldCloseout(input: ScaffoldCloseoutInput): Promise; export {}; //# sourceMappingURL=scaffoldCloseout.d.ts.map