import type { ApprovedRunCreationPlan } from '../domain/approvedRunAction'; import type { ApprovedActionDispatchExecutionSnapshot } from '../domain/approvedActionDispatchExecution'; import type { RunAttemptRecord, RunRecord } from '../domain/run'; export interface ApprovedRunReference { run: Readonly; attempt: Readonly; } export interface CreateApprovedRunCommand { snapshot: Readonly; plan: Readonly; } export interface ApprovedRunActionRepository { /** Creates the Run aggregate and its bound success receipt atomically. */ create( command: Readonly, ): Promise>; }