import { z } from "zod"; import { type HumanScope } from "../approval/human_scope.js"; export declare const qualificationCaseSchema: z.ZodEnum<["dg01-identity-scope", "dg01-cas", "dg01-acquire-contention", "dg01-objects-history", "dg01-time-renew", "dg01-late-renew", "dg01-recovery", "dg01-handoff", "dg01-drain", "dg01-terminal", "dg01-cli-gates", "dg01-human-budget"]>; declare const inputSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"qualification-run-manifest/1">; runId: z.ZodString; repository: z.ZodString; repositoryId: z.ZodEffects; endpointHash: z.ZodString; refs: z.ZodArray, "many">; synthetic: z.ZodEffects; objectFormat: z.ZodLiteral<"sha1">; kind: z.ZodEnum<["control-genesis", "source-fixture"]>; metadata: z.ZodObject<{ runId: z.ZodString; objectId: z.ZodString; seconds: z.ZodNumber; }, "strict", z.ZodTypeAny, { runId: string; objectId: string; seconds: number; }, { runId: string; objectId: string; seconds: number; }>; parents: z.ZodArray; treeSha: z.ZodString; commitText: z.ZodString; commitSha: z.ZodString; commitBytesSha256: z.ZodString; objectPlanHash: z.ZodString; }, "strict", z.ZodTypeAny, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>, "many">; controls: z.ZodArray, "many">; publications: z.ZodArray; }, "strict", z.ZodTypeAny, { expected: string | null; transactionId: string; fixtureId: string; ref: string; }, { expected: string | null; transactionId: string; fixtureId: string; ref: string; }>, "many">; }, "strict", z.ZodTypeAny, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }>, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }>; requiredCases: z.ZodArray, "many">; clients: z.ZodArray; operations: z.ZodArray, "many">; expiresAt: z.ZodString; binding: z.ZodObject<{ commonDir: z.ZodEffects; repository: z.ZodString; repositoryId: z.ZodEffects; endpointHash: z.ZodString; credentialBindingHash: z.ZodString; credentialRef: z.ZodEffects; credentialPurpose: z.ZodLiteral<"git-transport">; actor: z.ZodEffects; hostId: z.ZodString; configHash: z.ZodString; controlEpoch: z.ZodObject<{ schemaVersion: z.ZodLiteral<"coordination-epoch/1">; protocol: z.ZodLiteral<"github-coordination/1.0">; mode: z.ZodEnum<["isolated-qualification", "production"]>; coordinationConfigDigest: z.ZodString; policy: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"none">; }, "strict", z.ZodTypeAny, { kind: "none"; }, { kind: "none"; }>, z.ZodObject<{ kind: z.ZodLiteral<"harness-policy-file">; sha256: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "harness-policy-file"; sha256: string; }, { kind: "harness-policy-file"; sha256: string; }>]>; }, "strict", z.ZodTypeAny, { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }, { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }>; implementation: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"source">; head: z.ZodString; tree: z.ZodString; artifactDigest: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "source"; head: string; tree: string; artifactDigest: string; }, { kind: "source"; head: string; tree: string; artifactDigest: string; }>, z.ZodObject<{ kind: z.ZodLiteral<"package">; artifactDigest: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "package"; artifactDigest: string; }, { kind: "package"; artifactDigest: string; }>]>; runnerHash: z.ZodString; }, "strict", z.ZodTypeAny, { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }, { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }>; runId: z.ZodEffects; maxCommits: z.ZodNumber; maxWriteAttempts: z.ZodNumber; cleanupExpiresAt: z.ZodString; refs: z.ZodArray, "many">; maxCleanupAttempts: z.ZodNumber; takeoverAllocations: z.ZodOptional; workItem: z.ZodString; controlRef: z.ZodEffects; sourceRef: z.ZodEffects; genesisSha: z.ZodString; maxCommits: z.ZodNumber; maxWriteAttempts: z.ZodNumber; }, "strict", z.ZodTypeAny, { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }, { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }>, "many">>; localResources: z.ZodOptional, string, string>; commonDir: z.ZodEffects, string, string>; configHash: z.ZodString; hostBindingHash: z.ZodString; expiresAt: z.ZodString; cleanupExpiresAt: z.ZodString; maxConcurrent: z.ZodNumber; items: z.ZodArray; clientId: z.ZodString; path: z.ZodEffects, string, string>; branch: z.ZodEffects, string, string>; fixtureId: z.ZodEffects; sourceSha: z.ZodString; operations: z.ZodTuple<[z.ZodLiteral<"import-source">, z.ZodLiteral<"create-once">, z.ZodLiteral<"observe">, z.ZodLiteral<"close-exact">], null>; }, "strict", z.ZodTypeAny, { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }, { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }>, "many">; }, "strict", z.ZodTypeAny, { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; }, { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; }>>; } & { synthetic: z.ZodEffects; objectFormat: z.ZodLiteral<"sha1">; kind: z.ZodEnum<["control-genesis", "source-fixture"]>; metadata: z.ZodObject<{ runId: z.ZodString; objectId: z.ZodString; seconds: z.ZodNumber; }, "strict", z.ZodTypeAny, { runId: string; objectId: string; seconds: number; }, { runId: string; objectId: string; seconds: number; }>; parents: z.ZodArray; treeSha: z.ZodString; commitText: z.ZodString; commitSha: z.ZodString; commitBytesSha256: z.ZodString; objectPlanHash: z.ZodString; }, "strict", z.ZodTypeAny, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>, "many">; controls: z.ZodArray, "many">; publications: z.ZodArray; }, "strict", z.ZodTypeAny, { expected: string | null; transactionId: string; fixtureId: string; ref: string; }, { expected: string | null; transactionId: string; fixtureId: string; ref: string; }>, "many">; }, "strict", z.ZodTypeAny, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }>, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }>; }, "strict", z.ZodTypeAny, { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }, { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }>; }, "strict", z.ZodTypeAny, { scope: { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }; clientId: string; }, { scope: { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }; clientId: string; }>, "many">; cleanupClientId: z.ZodString; maxCommits: z.ZodNumber; maxWriteAttempts: z.ZodNumber; maxCleanupAttempts: z.ZodNumber; expiresAt: z.ZodString; cleanupExpiresAt: z.ZodString; sameShaPublicationNegativeControl: z.ZodOptional; fixtureId: z.ZodString; ref: z.ZodEffects; expected: z.ZodNullable; publications: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { expected: string | null; fixtureId: string; ref: string; publications: { transactionId: string; clientId: string; }[]; caseId: "dg01-cas"; }, { expected: string | null; fixtureId: string; ref: string; publications: { transactionId: string; clientId: string; }[]; caseId: "dg01-cas"; }>>; acquireContention: z.ZodOptional; controlRef: z.ZodEffects; contenders: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { controlRef: string; caseId: "dg01-acquire-contention"; contenders: { transactionId: string; clientId: string; }[]; }, { controlRef: string; caseId: "dg01-acquire-contention"; contenders: { transactionId: string; clientId: string; }[]; }>>; execution: z.ZodOptional; steps: z.ZodArray; fixtureId: z.ZodString; transactionId: z.ZodString; }, "strict", z.ZodTypeAny, { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }, { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }>, "many">; resourceStep: z.ZodOptional>; }, "strict", z.ZodTypeAny, { kind: "local-synthetic-publication/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; }, { kind: "local-synthetic-publication/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"local-acquire-contention/1">; steps: z.ZodArray; fixtureId: z.ZodString; transactionId: z.ZodString; }, "strict", z.ZodTypeAny, { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }, { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }>, "many">; resourceStep: z.ZodOptional>; }, "strict", z.ZodTypeAny, { kind: "local-acquire-contention/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; }, { kind: "local-acquire-contention/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"local-same-sha-publication/1">; }, "strict", z.ZodTypeAny, { kind: "local-same-sha-publication/1"; }, { kind: "local-same-sha-publication/1"; }>]>>; }, "strict", z.ZodTypeAny, { schemaVersion: "qualification-run-manifest/1"; expiresAt: string; repository: string; endpointHash: string; repositoryId: string; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; requiredCases: ("dg01-identity-scope" | "dg01-cas" | "dg01-acquire-contention" | "dg01-objects-history" | "dg01-time-renew" | "dg01-late-renew" | "dg01-recovery" | "dg01-handoff" | "dg01-drain" | "dg01-terminal" | "dg01-cli-gates" | "dg01-human-budget")[]; clients: { scope: { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }; clientId: string; }[]; cleanupClientId: string; sameShaPublicationNegativeControl?: { expected: string | null; fixtureId: string; ref: string; publications: { transactionId: string; clientId: string; }[]; caseId: "dg01-cas"; } | undefined; acquireContention?: { controlRef: string; caseId: "dg01-acquire-contention"; contenders: { transactionId: string; clientId: string; }[]; } | undefined; execution?: { kind: "local-synthetic-publication/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; } | { kind: "local-acquire-contention/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; } | { kind: "local-same-sha-publication/1"; } | undefined; }, { schemaVersion: "qualification-run-manifest/1"; expiresAt: string; repository: string; endpointHash: string; repositoryId: string; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; requiredCases: ("dg01-identity-scope" | "dg01-cas" | "dg01-acquire-contention" | "dg01-objects-history" | "dg01-time-renew" | "dg01-late-renew" | "dg01-recovery" | "dg01-handoff" | "dg01-drain" | "dg01-terminal" | "dg01-cli-gates" | "dg01-human-budget")[]; clients: { scope: { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }; clientId: string; }[]; cleanupClientId: string; sameShaPublicationNegativeControl?: { expected: string | null; fixtureId: string; ref: string; publications: { transactionId: string; clientId: string; }[]; caseId: "dg01-cas"; } | undefined; acquireContention?: { controlRef: string; caseId: "dg01-acquire-contention"; contenders: { transactionId: string; clientId: string; }[]; } | undefined; execution?: { kind: "local-synthetic-publication/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; } | { kind: "local-acquire-contention/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; } | { kind: "local-same-sha-publication/1"; } | undefined; }>; declare const manifestSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"qualification-run-manifest/1">; runId: z.ZodString; repository: z.ZodString; repositoryId: z.ZodEffects; endpointHash: z.ZodString; refs: z.ZodArray, "many">; synthetic: z.ZodEffects; objectFormat: z.ZodLiteral<"sha1">; kind: z.ZodEnum<["control-genesis", "source-fixture"]>; metadata: z.ZodObject<{ runId: z.ZodString; objectId: z.ZodString; seconds: z.ZodNumber; }, "strict", z.ZodTypeAny, { runId: string; objectId: string; seconds: number; }, { runId: string; objectId: string; seconds: number; }>; parents: z.ZodArray; treeSha: z.ZodString; commitText: z.ZodString; commitSha: z.ZodString; commitBytesSha256: z.ZodString; objectPlanHash: z.ZodString; }, "strict", z.ZodTypeAny, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>, "many">; controls: z.ZodArray, "many">; publications: z.ZodArray; }, "strict", z.ZodTypeAny, { expected: string | null; transactionId: string; fixtureId: string; ref: string; }, { expected: string | null; transactionId: string; fixtureId: string; ref: string; }>, "many">; }, "strict", z.ZodTypeAny, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }>, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }>; requiredCases: z.ZodArray, "many">; clients: z.ZodArray; operations: z.ZodArray, "many">; expiresAt: z.ZodString; binding: z.ZodObject<{ commonDir: z.ZodEffects; repository: z.ZodString; repositoryId: z.ZodEffects; endpointHash: z.ZodString; credentialBindingHash: z.ZodString; credentialRef: z.ZodEffects; credentialPurpose: z.ZodLiteral<"git-transport">; actor: z.ZodEffects; hostId: z.ZodString; configHash: z.ZodString; controlEpoch: z.ZodObject<{ schemaVersion: z.ZodLiteral<"coordination-epoch/1">; protocol: z.ZodLiteral<"github-coordination/1.0">; mode: z.ZodEnum<["isolated-qualification", "production"]>; coordinationConfigDigest: z.ZodString; policy: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"none">; }, "strict", z.ZodTypeAny, { kind: "none"; }, { kind: "none"; }>, z.ZodObject<{ kind: z.ZodLiteral<"harness-policy-file">; sha256: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "harness-policy-file"; sha256: string; }, { kind: "harness-policy-file"; sha256: string; }>]>; }, "strict", z.ZodTypeAny, { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }, { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }>; implementation: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"source">; head: z.ZodString; tree: z.ZodString; artifactDigest: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "source"; head: string; tree: string; artifactDigest: string; }, { kind: "source"; head: string; tree: string; artifactDigest: string; }>, z.ZodObject<{ kind: z.ZodLiteral<"package">; artifactDigest: z.ZodString; }, "strict", z.ZodTypeAny, { kind: "package"; artifactDigest: string; }, { kind: "package"; artifactDigest: string; }>]>; runnerHash: z.ZodString; }, "strict", z.ZodTypeAny, { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }, { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }>; runId: z.ZodEffects; maxCommits: z.ZodNumber; maxWriteAttempts: z.ZodNumber; cleanupExpiresAt: z.ZodString; refs: z.ZodArray, "many">; maxCleanupAttempts: z.ZodNumber; takeoverAllocations: z.ZodOptional; workItem: z.ZodString; controlRef: z.ZodEffects; sourceRef: z.ZodEffects; genesisSha: z.ZodString; maxCommits: z.ZodNumber; maxWriteAttempts: z.ZodNumber; }, "strict", z.ZodTypeAny, { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }, { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }>, "many">>; localResources: z.ZodOptional, string, string>; commonDir: z.ZodEffects, string, string>; configHash: z.ZodString; hostBindingHash: z.ZodString; expiresAt: z.ZodString; cleanupExpiresAt: z.ZodString; maxConcurrent: z.ZodNumber; items: z.ZodArray; clientId: z.ZodString; path: z.ZodEffects, string, string>; branch: z.ZodEffects, string, string>; fixtureId: z.ZodEffects; sourceSha: z.ZodString; operations: z.ZodTuple<[z.ZodLiteral<"import-source">, z.ZodLiteral<"create-once">, z.ZodLiteral<"observe">, z.ZodLiteral<"close-exact">], null>; }, "strict", z.ZodTypeAny, { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }, { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }>, "many">; }, "strict", z.ZodTypeAny, { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; }, { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; }>>; } & { synthetic: z.ZodEffects; objectFormat: z.ZodLiteral<"sha1">; kind: z.ZodEnum<["control-genesis", "source-fixture"]>; metadata: z.ZodObject<{ runId: z.ZodString; objectId: z.ZodString; seconds: z.ZodNumber; }, "strict", z.ZodTypeAny, { runId: string; objectId: string; seconds: number; }, { runId: string; objectId: string; seconds: number; }>; parents: z.ZodArray; treeSha: z.ZodString; commitText: z.ZodString; commitSha: z.ZodString; commitBytesSha256: z.ZodString; objectPlanHash: z.ZodString; }, "strict", z.ZodTypeAny, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }, { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }>, "many">; controls: z.ZodArray, "many">; publications: z.ZodArray; }, "strict", z.ZodTypeAny, { expected: string | null; transactionId: string; fixtureId: string; ref: string; }, { expected: string | null; transactionId: string; fixtureId: string; ref: string; }>, "many">; }, "strict", z.ZodTypeAny, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }>, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }, { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }>; }, "strict", z.ZodTypeAny, { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }, { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }>; }, "strict", z.ZodTypeAny, { scope: { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }; clientId: string; }, { scope: { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }; clientId: string; }>, "many">; cleanupClientId: z.ZodString; maxCommits: z.ZodNumber; maxWriteAttempts: z.ZodNumber; maxCleanupAttempts: z.ZodNumber; expiresAt: z.ZodString; cleanupExpiresAt: z.ZodString; sameShaPublicationNegativeControl: z.ZodOptional; fixtureId: z.ZodString; ref: z.ZodEffects; expected: z.ZodNullable; publications: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { expected: string | null; fixtureId: string; ref: string; publications: { transactionId: string; clientId: string; }[]; caseId: "dg01-cas"; }, { expected: string | null; fixtureId: string; ref: string; publications: { transactionId: string; clientId: string; }[]; caseId: "dg01-cas"; }>>; acquireContention: z.ZodOptional; controlRef: z.ZodEffects; contenders: z.ZodArray, "many">; }, "strict", z.ZodTypeAny, { controlRef: string; caseId: "dg01-acquire-contention"; contenders: { transactionId: string; clientId: string; }[]; }, { controlRef: string; caseId: "dg01-acquire-contention"; contenders: { transactionId: string; clientId: string; }[]; }>>; execution: z.ZodOptional; steps: z.ZodArray; fixtureId: z.ZodString; transactionId: z.ZodString; }, "strict", z.ZodTypeAny, { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }, { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }>, "many">; resourceStep: z.ZodOptional>; }, "strict", z.ZodTypeAny, { kind: "local-synthetic-publication/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; }, { kind: "local-synthetic-publication/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"local-acquire-contention/1">; steps: z.ZodArray; fixtureId: z.ZodString; transactionId: z.ZodString; }, "strict", z.ZodTypeAny, { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }, { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }>, "many">; resourceStep: z.ZodOptional>; }, "strict", z.ZodTypeAny, { kind: "local-acquire-contention/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; }, { kind: "local-acquire-contention/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"local-same-sha-publication/1">; }, "strict", z.ZodTypeAny, { kind: "local-same-sha-publication/1"; }, { kind: "local-same-sha-publication/1"; }>]>>; } & { manifestHash: z.ZodString; }, "strict", z.ZodTypeAny, { schemaVersion: "qualification-run-manifest/1"; expiresAt: string; repository: string; endpointHash: string; repositoryId: string; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; manifestHash: string; requiredCases: ("dg01-identity-scope" | "dg01-cas" | "dg01-acquire-contention" | "dg01-objects-history" | "dg01-time-renew" | "dg01-late-renew" | "dg01-recovery" | "dg01-handoff" | "dg01-drain" | "dg01-terminal" | "dg01-cli-gates" | "dg01-human-budget")[]; clients: { scope: { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }; clientId: string; }[]; cleanupClientId: string; sameShaPublicationNegativeControl?: { expected: string | null; fixtureId: string; ref: string; publications: { transactionId: string; clientId: string; }[]; caseId: "dg01-cas"; } | undefined; acquireContention?: { controlRef: string; caseId: "dg01-acquire-contention"; contenders: { transactionId: string; clientId: string; }[]; } | undefined; execution?: { kind: "local-synthetic-publication/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; } | { kind: "local-acquire-contention/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; } | { kind: "local-same-sha-publication/1"; } | undefined; }, { schemaVersion: "qualification-run-manifest/1"; expiresAt: string; repository: string; endpointHash: string; repositoryId: string; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; manifestHash: string; requiredCases: ("dg01-identity-scope" | "dg01-cas" | "dg01-acquire-contention" | "dg01-objects-history" | "dg01-time-renew" | "dg01-late-renew" | "dg01-recovery" | "dg01-handoff" | "dg01-drain" | "dg01-terminal" | "dg01-cli-gates" | "dg01-human-budget")[]; clients: { scope: { kind: "qualification-run"; operations: ("create" | "cas")[]; expiresAt: string; binding: { repository: string; endpointHash: string; commonDir: string; hostId: string; credentialBindingHash: string; repositoryId: string; credentialRef: string; credentialPurpose: "git-transport"; actor: string; configHash: string; controlEpoch: { schemaVersion: "coordination-epoch/1"; mode: "isolated-qualification" | "production"; protocol: "github-coordination/1.0"; coordinationConfigDigest: string; policy: { kind: "none"; } | { kind: "harness-policy-file"; sha256: string; }; }; implementation: { kind: "source"; head: string; tree: string; artifactDigest: string; } | { kind: "package"; artifactDigest: string; }; runnerHash: string; }; runId: string; maxCommits: number; maxWriteAttempts: number; cleanupExpiresAt: string; refs: string[]; maxCleanupAttempts: number; synthetic: { objects: { schemaVersion: "synthetic-object/1"; kind: "control-genesis" | "source-fixture"; objectPlanHash: string; objectFormat: "sha1"; metadata: { runId: string; objectId: string; seconds: number; }; parents: string[]; treeSha: string; commitText: string; commitSha: string; commitBytesSha256: string; }[]; controls: { fixtureId: string; ref: string; }[]; publications: { expected: string | null; transactionId: string; fixtureId: string; ref: string; }[]; }; takeoverAllocations?: { sourceRef: string; workItem: string; controlRef: string; allocationId: string; genesisSha: string; maxCommits: number; maxWriteAttempts: number; }[] | undefined; localResources?: { expiresAt: string; commonDir: string; configHash: string; authorityRoot: string; hostBindingHash: string; cleanupExpiresAt: string; maxConcurrent: number; items: { path: string; operations: ["import-source", "create-once", "observe", "close-exact"]; branch: string; fixtureId: string; resourceId: string; clientId: string; sourceSha: string; }[]; } | undefined; }; clientId: string; }[]; cleanupClientId: string; sameShaPublicationNegativeControl?: { expected: string | null; fixtureId: string; ref: string; publications: { transactionId: string; clientId: string; }[]; caseId: "dg01-cas"; } | undefined; acquireContention?: { controlRef: string; caseId: "dg01-acquire-contention"; contenders: { transactionId: string; clientId: string; }[]; } | undefined; execution?: { kind: "local-synthetic-publication/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; } | { kind: "local-acquire-contention/1"; steps: { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; resourceStep?: { clientId: string; stepId: string; } | undefined; } | { kind: "local-same-sha-publication/1"; } | undefined; }>; export type QualificationManifest = z.infer; export type QualificationManifestInput = z.infer; /** Static upper bounds only. No Git objects, approvals, counters or runtime authority are created here. */ export declare function prepareQualificationManifest(input: QualificationManifestInput): QualificationManifest; export declare function validateQualificationManifest(input: unknown): QualificationManifest; /** Fixed actions only; same-SHA scheduling is not supplied by a request file. */ export declare function qualificationSteps(manifest: QualificationManifest): { transactionId: string; fixtureId: string; operation: "bootstrap" | "publish-source"; clientId: string; stepId: string; }[]; export declare function scopeForClient(input: QualificationManifest, clientId: string): Extract; export declare function loadQualificationManifest(commonDir: string, hash: string): QualificationManifest; /** Immutable input in the existing plan state directory; saving it grants no permission. */ export declare function saveQualificationManifest(commonDir: string, input: QualificationManifest): QualificationManifest; export declare function assertQualificationManifestScope(commonDir: string, scope: HumanScope): void; export {}; //# sourceMappingURL=manifest.d.ts.map