feat(ql3): establish 3.0 incubation baseline

This commit is contained in:
whyour
2026-08-12 00:25:26 +08:00
parent 4bf92dcfeb
commit c699c32461
2817 changed files with 779642 additions and 653 deletions
@@ -0,0 +1,20 @@
import type { ApprovedRunCreationPlan } from '../domain/approvedRunAction';
import type { ApprovedActionDispatchExecutionSnapshot } from '../domain/approvedActionDispatchExecution';
import type { RunAttemptRecord, RunRecord } from '../domain/run';
export interface ApprovedRunReference {
run: Readonly<RunRecord>;
attempt: Readonly<RunAttemptRecord>;
}
export interface CreateApprovedRunCommand {
snapshot: Readonly<ApprovedActionDispatchExecutionSnapshot>;
plan: Readonly<ApprovedRunCreationPlan>;
}
export interface ApprovedRunActionRepository {
/** Creates the Run aggregate and its bound success receipt atomically. */
create(
command: Readonly<CreateApprovedRunCommand>,
): Promise<Readonly<ApprovedRunReference>>;
}