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,21 @@
import type { ExecutionContext } from '../domain/execution';
import type { RunDispatchCandidate } from '../domain/runDispatchCandidate';
export interface LocalExecutionContextRequest {
candidate: Readonly<RunDispatchCandidate>;
contextRef: string;
}
export interface MaterializedLocalExecutionContext {
context: ExecutionContext;
/** Opaque bounded reference persisted on the Attempt before spawn. */
logArtifactId?: string;
/** Optional non-blocking cleanup; plaintext capability values must not leak. */
dispose?: () => void | Promise<void>;
}
export interface LocalExecutionContextMaterializer {
prepare(
request: Readonly<LocalExecutionContextRequest>,
): Promise<MaterializedLocalExecutionContext | null>;
}