/** * Core implementation for `tasks.context` — task-scoped context pack with token budget. * * Combines identity + acceptance criteria + blockers + docs + graph edges * (from taskSlice) + recent activity within a configurable token budget, * with explicit omission tracking and expansion hints. * * When `scope` is `'saga'` or `'epic'`, also includes rollup summaries * and the ready frontier for the scope. * * @task T10629 * @task T10630 */ import type { TasksContextParams, TasksContextResult } from '@cleocode/contracts'; /** * Build a bounded task-scoped context pack. * * When `params.scope` is `'saga'`, resolves member-epic rollup + ready * frontier across all members. When `'epic'`, resolves child-task rollup * + ready frontier. Otherwise behaves as a single-task pack (T10629 * baseline). * * @param projectRoot - Absolute path to the CLEO project root * @param params - Context pack parameters * @returns Bounded context pack with omission tracking * * @task T10629 * @task T10630 */ export declare function coreTaskContext(projectRoot: string, params: TasksContextParams): Promise; //# sourceMappingURL=task-context.d.ts.map