import { type OrgDaemon } from './daemon.js'; import type { TaskReferences } from './packet.js'; import type { TaskPick } from './task-match.js'; export { currentHeadSha, dagCompleteTask, localHeads } from './dag-complete.js'; export { DISPATCH_COALESCE_MS, dispatchReadyTasks, nudgeOpenTasksAtTurnEnd, queueDispatch, } from './dag-dispatch.js'; export { createGate, gatesFor, gatesPath, listGates, readGates, recordDecision, resolveGate, writeGates, } from './decision-gates.js'; export { dispatchLine, openTaskCount, recordSkillLoad } from './task-provenance.js'; export declare function dagCreateTask(daemon: OrgDaemon, org: string, role: string, title: string, assignee: string, deps: string[], loadout?: string, brief?: string, pick?: TaskPick, references?: TaskReferences): string; /** org_tasks: every task, or just `taskId` (its row carries the result and * latest evidence) — the full listing of a long run gets spilled to a file. */ export declare function dagListTasks(daemon: OrgDaemon, org: string, taskId?: string): string; export interface PlanTaskSpec { name: string; title: string; assignee: string; after?: string[]; /** ADR-O001 D7: selected catalog loadout, recorded on the created task. */ loadout?: string; /** Instructions sent with the task's dispatch (OrgTask.brief). */ brief?: string; /** Phase 2 packet references (OrgTask.references). */ references?: TaskReferences; } export declare function dagPlanGraph(daemon: OrgDaemon, org: string, role: string, specs: PlanTaskSpec[]): string; export declare function dagSplitTask(daemon: OrgDaemon, org: string, role: string, parentId: string, children: { title: string; assignee: string; }[]): string; export declare function dagMergeTask(daemon: OrgDaemon, org: string, role: string, sourceId: string, targetId: string): string; export declare function dagCancelTask(daemon: OrgDaemon, org: string, role: string, taskId: string, reason?: string): string; export declare function dagBlockTask(daemon: OrgDaemon, org: string, role: string, taskId: string, untilIso: string, reason?: string, recheckAfterMinutes?: number): string; /** ADR-O001 D6: hand an artifact-only reviewer a runtime-built packet for * `taskId` — the issue, the runtime's own diff, and the latest submitted * evidence. The caller supplies ids and a ref only, never text, so nothing * the doer wrote about the work reaches the reviewer. */ export declare function dagRequestReview(daemon: OrgDaemon, org: string, role: string, taskId: string, reviewer: string, base?: string): string; //# sourceMappingURL=decisions.d.ts.map