/** * Bootstrap brain state loading for agent startup. * Calls other core modules directly (not engine functions). * @task T4784 */ import type { BrainState } from '@cleocode/contracts'; import type { DataAccessor } from '../store/data-accessor.js'; /** * Build startup state from selected project tasks and explicit dependency evidence. * @param projectRoot - Owning project root captured by the caller. * @param opts - Existing bootstrap speed and optional detail selection. * @param accessor - Optional canonical accessor bound to that project. * @returns Startup state with archive-excluded progress and unresolved dependency IDs. * @throws Error when task selection or required dependency evidence cannot be read. * @remarks Dependency-only archived rows satisfy readiness without expanding the * progress population. Stored blocked status is distinct from dependency state. * Existing optional session and auxiliary-file handling is unchanged. * @example * ```ts * const state = await buildBrainState(projectRoot, { speed: 'full' }, accessor); * ``` */ export declare function buildBrainState(projectRoot: string, opts?: { speed?: 'fast' | 'full' | 'complete'; }, accessor?: DataAccessor): Promise; //# sourceMappingURL=bootstrap.d.ts.map