import { Readable, Writable } from 'node:stream'; import { z } from 'zod'; declare const RuntimeEventSchema: z.ZodObject<{ id: z.ZodString; sequence: z.ZodOptional; sessionId: z.ZodOptional; turnId: z.ZodOptional; name: z.ZodEnum<{ "visual.published": "visual.published"; "file.preview_requested": "file.preview_requested"; "task.inbox": "task.inbox"; "task.input": "task.input"; "task.wait": "task.wait"; "session.started": "session.started"; "session.updated": "session.updated"; "session.title.updated": "session.title.updated"; "turn.started": "turn.started"; "assistant.delta": "assistant.delta"; "assistant.reasoning.delta": "assistant.reasoning.delta"; "tool.started": "tool.started"; "tool.completed": "tool.completed"; "skill.selected": "skill.selected"; "skill.loaded": "skill.loaded"; "skill.load_failed": "skill.load_failed"; "user_question.asked": "user_question.asked"; "user_question.answered": "user_question.answered"; "user_question.dismissed": "user_question.dismissed"; "approval.requested": "approval.requested"; "approval.resolved": "approval.resolved"; "command.output": "command.output"; workspace_action: "workspace_action"; workspace_action_result: "workspace_action_result"; "workspace.diff": "workspace.diff"; "create_improve.updated": "create_improve.updated"; "session.context.updated": "session.context.updated"; "session.compaction.started": "session.compaction.started"; "session.compaction.completed": "session.compaction.completed"; "session.compaction.failed": "session.compaction.failed"; "goal.continuation.started": "goal.continuation.started"; "goal.continuation.skipped": "goal.continuation.skipped"; "goal.continuation.failed": "goal.continuation.failed"; "harness.refiner.queued": "harness.refiner.queued"; "harness.refiner.started": "harness.refiner.started"; "harness.refiner.completed": "harness.refiner.completed"; "harness.refiner.failed": "harness.refiner.failed"; "turn.completed": "turn.completed"; "turn.failed": "turn.failed"; "turn.interrupted": "turn.interrupted"; "session.closed": "session.closed"; "subagent.started": "subagent.started"; "subagent.reported": "subagent.reported"; "subagent.completed": "subagent.completed"; "subagent.progress": "subagent.progress"; "subagent.failed": "subagent.failed"; "subagent.cancelled": "subagent.cancelled"; "subagent.cleanup": "subagent.cleanup"; "subagent.workspace_retained": "subagent.workspace_retained"; "subagent.workspace_retention_expiring": "subagent.workspace_retention_expiring"; "subagent.archived": "subagent.archived"; "subagent.message": "subagent.message"; diagnostic: "diagnostic"; }>; timestamp: z.ZodString; source: z.ZodOptional>; action: z.ZodOptional; appId: z.ZodOptional>; args: z.ZodOptional>; status: z.ZodOptional>; output: z.ZodOptional; error: z.ZodOptional; relatedDeploymentId: z.ZodOptional; data: z.ZodOptional; }, z.core.$strip>; type RuntimeEvent = z.infer; declare const OpenPondAppSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodNullable; visibility: z.ZodOptional>; gitOwner: z.ZodOptional>; gitRepo: z.ZodOptional>; gitHost: z.ZodOptional>; defaultBranch: z.ZodOptional>; sandbox: z.ZodDefault>; sandboxActionRegistry: z.ZodOptional; source: z.ZodLiteral<"openpond.yaml">; manifestName: z.ZodString; manifestVersion: z.ZodString; manifestUseCase: z.ZodString; manifestDescription: z.ZodString; manifestPath: z.ZodString; manifestHash: z.ZodString; inputSchema: z.ZodDefault>; env: z.ZodDefault; }, z.core.$loose>>>; start: z.ZodObject<{ name: z.ZodString; kind: z.ZodEnum<{ action: "action"; service: "service"; start: "start"; }>; command: z.ZodString; cwd: z.ZodNullable; timeoutSeconds: z.ZodNullable; requiresStart: z.ZodBoolean; ports: z.ZodDefault; access: z.ZodString; path: z.ZodString; }, z.core.$loose>>>; artifactPaths: z.ZodDefault>; }, z.core.$loose>; actions: z.ZodDefault; command: z.ZodString; cwd: z.ZodNullable; timeoutSeconds: z.ZodNullable; requiresStart: z.ZodBoolean; ports: z.ZodDefault; access: z.ZodString; path: z.ZodString; }, z.core.$loose>>>; artifactPaths: z.ZodDefault>; }, z.core.$loose>>>; services: z.ZodDefault; command: z.ZodString; cwd: z.ZodNullable; timeoutSeconds: z.ZodNullable; requiresStart: z.ZodBoolean; ports: z.ZodDefault; access: z.ZodString; path: z.ZodString; }, z.core.$loose>>>; artifactPaths: z.ZodDefault>; }, z.core.$loose>>>; defaultActionName: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$loose>>>; sandboxManifestHash: z.ZodOptional>; sandboxManifestPath: z.ZodOptional>; sandboxManifestSyncedAt: z.ZodOptional>; sandboxManifestError: z.ZodOptional>; updatedAt: z.ZodOptional>; latestDeployment: z.ZodOptional; status: z.ZodOptional; deploymentDomain: z.ZodOptional>; createdAt: z.ZodOptional; isProduction: z.ZodOptional>; gitBranch: z.ZodOptional>; }, z.core.$strip>>>; scheduleSummary: z.ZodOptional; disabled: z.ZodOptional; nextRunAt: z.ZodOptional>; lastRunAt: z.ZodOptional>; schedules: z.ZodDefault; scheduleType: z.ZodString; scheduleExpression: z.ZodString; enabled: z.ZodBoolean; rawEnabled: z.ZodOptional; syncStatus: z.ZodNullable; syncError: z.ZodOptional>; startAt: z.ZodNullable; endAt: z.ZodNullable; maxRuns: z.ZodNullable; executionCount: z.ZodNullable; lifecycleStatus: z.ZodNullable; lifecycleReason: z.ZodNullable; lastExecutionAt: z.ZodOptional>; lastExecutionStatus: z.ZodOptional>; lastRunNowAt: z.ZodOptional>; lastRunNowStatus: z.ZodOptional>; updatedAt: z.ZodString; deploymentId: z.ZodString; isProduction: z.ZodOptional; payload: z.ZodOptional; }, z.core.$loose>>>>; truncated: z.ZodOptional; }, z.core.$loose>>>; }, z.core.$strip>; type OpenPondApp = z.infer; type ConnectedAppProviderFamilyId = "slack" | "microsoft_teams" | "github" | "google" | "turnkey" | "x" | "mcp"; type ConnectedAppSetupSurface = "native_bot" | "oauth_connector" | "wallet_connector" | "mcp_endpoint"; type ConnectedAppCapabilityAccess = "read" | "write" | "setup" | "tooling"; type ConnectedAppCapability = { id: string; label: string; description: string; access: ConnectedAppCapabilityAccess; leaseable: boolean; }; declare const CONNECTED_APP_PROVIDER_TOOL_NAMES: readonly [ "connected_app_search", "connected_app_read", "connected_app_write" ]; type ConnectedAppProviderToolName = typeof CONNECTED_APP_PROVIDER_TOOL_NAMES[number]; type ConnectedAppProviderToolOperation = "search" | "read" | "write"; type ConnectedAppToolCallRequest = { provider: ConnectedAppProviderFamilyId; operation: ConnectedAppProviderToolOperation; toolName: ConnectedAppProviderToolName; sessionId: string; turnId: string; toolCallId: string; userPrompt: string; connectionIds: string[]; capabilityIds: string[]; args: Record; }; type ConnectedAppToolCallResponse = { ok: boolean; output?: string | null; data?: unknown; }; type ConnectedAppConnectionLike = { id?: string | null; teamId?: string | null; provider?: string | null; providerAccountName?: string | null; providerWorkspaceName?: string | null; scopes?: string[] | null; capabilities?: string[] | null; status?: string | null; }; declare const WorkspaceDiffSummarySchema: z.ZodObject<{ appId: z.ZodString; repoPath: z.ZodString; initialized: z.ZodBoolean; dirty: z.ZodBoolean; filesChanged: z.ZodNumber; additions: z.ZodNumber; deletions: z.ZodNumber; repoFiles: z.ZodDefault>>; files: z.ZodArray>>; contentType: z.ZodOptional; contentEncoding: z.ZodOptional>; readVersion: z.ZodOptional>; readStamp: z.ZodOptional; }, z.core.$strip>>; error: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>; type WorkspaceDiffSummary = z.infer; declare const SidebarAppPreferenceSchema: z.ZodObject<{ pinned: z.ZodOptional; archived: z.ZodOptional; order: z.ZodOptional; }, z.core.$strip>; type SidebarAppPreference = z.infer; declare const SidebarAppPreferencesSchema: z.ZodRecord; archived: z.ZodOptional; order: z.ZodOptional; }, z.core.$strip>>; type SidebarAppPreferences = z.infer; declare const SidebarFileBookmarkSchema: z.ZodObject<{ id: z.ZodString; workspaceKind: z.ZodEnum<{ local: "local"; sandbox: "sandbox"; }>; workspaceId: z.ZodString; workspaceName: z.ZodString; path: z.ZodString; status: z.ZodEnum<{ pinned: "pinned"; saved_for_later: "saved_for_later"; }>; order: z.ZodDefault>; sourceSessionId: z.ZodDefault>; available: z.ZodDefault; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; type SidebarFileBookmark = z.infer; declare const PatchSidebarFileBookmarkRequestSchema: z.ZodObject<{ workspaceKind: z.ZodEnum<{ local: "local"; sandbox: "sandbox"; }>; workspaceId: z.ZodString; workspaceName: z.ZodString; path: z.ZodString; status: z.ZodEnum<{ none: "none"; pinned: "pinned"; saved_for_later: "saved_for_later"; }>; order: z.ZodOptional>; sourceSessionId: z.ZodOptional>; }, z.core.$strip>; type PatchSidebarFileBookmarkRequest = z.infer; declare const AccountStateSchema: z.ZodObject<{ state: z.ZodEnum<{ signed_out: "signed_out"; signed_in: "signed_in"; loading: "loading"; switching: "switching"; auth_error: "auth_error"; }>; activeProfile: z.ZodNullable>; }, z.core.$strip>>; label: z.ZodString; email: z.ZodNullable; avatarUrl: z.ZodNullable; environment: z.ZodNullable; baseUrl: z.ZodNullable; apiBaseUrl: z.ZodNullable; chatApiBaseUrl: z.ZodDefault>>; creditsLabel: z.ZodNullable; profile: z.ZodNullable; email: z.ZodNullable; name: z.ZodNullable; handle: z.ZodNullable; image: z.ZodNullable; timezone: z.ZodNullable; isAdmin: z.ZodNullable; isVerified: z.ZodNullable; dailyAgentAppId: z.ZodNullable; dailyAgentDeploymentId: z.ZodNullable; credits: z.ZodNullable; }, z.core.$strip>>; products: z.ZodArray; price: z.ZodNullable; currency: z.ZodNullable; credits: z.ZodNullable; }, z.core.$loose>>; apiHealth: z.ZodNullable; apiBase: z.ZodString; latencyMs: z.ZodNumber; status: z.ZodNullable; service: z.ZodNullable; checkedAt: z.ZodString; error: z.ZodNullable; }, z.core.$strip>>; accounts: z.ZodArray; apiBaseUrl: z.ZodDefault>>; chatApiBaseUrl: z.ZodOptional>; environment: z.ZodNullable; isActive: z.ZodBoolean; authHealth: z.ZodEnum<{ unknown: "unknown"; signed_out: "signed_out"; signed_in: "signed_in"; auth_error: "auth_error"; }>; displayLabel: z.ZodNullable; email: z.ZodDefault>>; avatarUrl: z.ZodNullable; apiKeyHint: z.ZodOptional>; apiKeyAccess: z.ZodDefault>; teamId: z.ZodNullable; scopes: z.ZodArray; }, z.core.$strip>>>>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; type AccountState = z.infer; declare const ChatModelRefSchema: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; type ChatModelRef = z.infer; declare const ProviderSettingsSchema: z.ZodObject<{ version: z.ZodDefault>; providers: z.ZodDefault>; env: z.ZodDefault>; registryId: z.ZodDefault>; version: z.ZodDefault>; installUrl: z.ZodDefault>; authMethodId: z.ZodDefault>; }, z.core.$strip>>>; nativeMode: z.ZodDefault>; nativeOptions: z.ZodDefault>; binaryPath: z.ZodDefault>; sourceHome: z.ZodDefault>; enabled: z.ZodDefault; baseUrl: z.ZodDefault>; defaultModel: z.ZodDefault>; modelOverrides: z.ZodDefault>; updatedAt: z.ZodDefault>; }, z.core.$strip>>>; statuses: z.ZodDefault, z.ZodTemplateLiteral<`acp:${string}`> ]>; displayName: z.ZodString; lifecycleStatus: z.ZodDefault>; credentialModes: z.ZodDefault>>; routing: z.ZodDefault; localRuntime: z.ZodDefault; localByok: z.ZodDefault; hostedByok: z.ZodDefault; }, z.core.$strip>>; capabilities: z.ZodDefault; streaming: z.ZodDefault; modelDiscovery: z.ZodDefault>; toolCalling: z.ZodDefault; reasoning: z.ZodDefault; imageInput: z.ZodDefault; structuredOutput: z.ZodDefault; }, z.core.$strip>>; credential: z.ZodDefault; source: z.ZodDefault>; redacted: z.ZodDefault>; lastValidatedAt: z.ZodDefault>; lastError: z.ZodDefault>; }, z.core.$strip>>; enabled: z.ZodDefault; available: z.ZodDefault; defaultModel: z.ZodDefault>; modelIds: z.ZodDefault>; lastError: z.ZodDefault>; }, z.core.$strip>>>; modelCaches: z.ZodDefault, z.ZodTemplateLiteral<`acp:${string}`> ]>; models: z.ZodDefault, z.ZodTemplateLiteral<`acp:${string}`> ]>; displayName: z.ZodString; contextWindow: z.ZodDefault>; outputLimit: z.ZodDefault>; lifecycleStatus: z.ZodDefault>; source: z.ZodEnum<{ hosted: "hosted"; provider: "provider"; manual: "manual"; curated: "curated"; cache: "cache"; }>; capabilities: z.ZodDefault; toolCalling: z.ZodDefault; reasoning: z.ZodDefault; reasoningEfforts: z.ZodDefault>>; vision: z.ZodDefault; structuredOutput: z.ZodDefault; }, z.core.$strip>>; raw: z.ZodOptional>; }, z.core.$strip>>>; fetchedAt: z.ZodDefault>; lastError: z.ZodDefault>; source: z.ZodDefault>; }, z.core.$strip>>>; updatedAt: z.ZodDefault>; }, z.core.$strip>; type ProviderSettings = z.infer; declare const ChatProviderSchema: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; type ChatProvider = z.infer; declare const CodexPermissionModeSchema: z.ZodEnum<{ default: "default"; "auto-review": "auto-review"; "full-access": "full-access"; }>; type CodexPermissionMode = z.infer; declare const CodexReasoningEffortSchema: z.ZodEnum<{ off: "off"; low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; max: "max"; }>; type CodexReasoningEffort = z.infer; declare const ContextUsageSnapshotSchema: z.ZodObject<{ provider: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; model: z.ZodString; usedTokens: z.ZodNumber; maxContextTokens: z.ZodNumber; usableContextTokens: z.ZodNumber; percentFull: z.ZodNumber; source: z.ZodEnum<{ provider_usage: "provider_usage"; provider_tokenizer: "provider_tokenizer"; model_family: "model_family"; heuristic: "heuristic"; }>; updatedAtEventId: z.ZodNullable; }, z.core.$strip>; type ContextUsageSnapshot = z.infer; declare const AppPreferencesSchema: z.ZodObject<{ defaultChatProvider: z.ZodDefault, z.ZodTemplateLiteral<`acp:${string}`> ]>>; defaultChatModel: z.ZodDefault; defaultChatModelRef: z.ZodOptional, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>>; subagents: z.ZodDefault; workspaceDefaultsVersion: z.ZodDefault>; toolDefaultsVersion: z.ZodDefault>; delegationMode: z.ZodDefault>; defaultModelRef: z.ZodDefault, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>>; roles: z.ZodDefault; modelRef: z.ZodDefault, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>>; isolationMode: z.ZodDefault>; maxConcurrentRuns: z.ZodDefault; toolPolicy: z.ZodDefault>; background: z.ZodDefault; peerMessages: z.ZodDefault>; }, z.core.$strip>>>; maxConcurrentRuns: z.ZodDefault; maxConcurrentRunsPerProvider: z.ZodDefault>; maxConcurrentRunsPerWorkspaceTarget: z.ZodDefault>; }, z.core.$strip>, z.ZodTransform<{ roles: { id: string; enabled: boolean; modelRef: { providerId: `acp:${string}` | "openpond" | "codex" | "claude-code" | "grok-build" | "opencode" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null; isolationMode: "none" | "worktree" | "copy_on_write"; maxConcurrentRuns: number; toolPolicy: "read_only" | "workspace_write" | "full_tools"; background: boolean; peerMessages: "disabled" | "parent_scoped"; }[]; enabled: boolean; workspaceDefaultsVersion: 1; toolDefaultsVersion: 1; delegationMode: "manual" | "balanced" | "proactive"; defaultModelRef: { providerId: `acp:${string}` | "openpond" | "codex" | "claude-code" | "grok-build" | "opencode" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null; maxConcurrentRuns: number; maxConcurrentRunsPerProvider: number | null; maxConcurrentRunsPerWorkspaceTarget: number | null; }, { enabled: boolean; workspaceDefaultsVersion: 1; toolDefaultsVersion: 1; delegationMode: "manual" | "balanced" | "proactive"; defaultModelRef: { providerId: `acp:${string}` | "openpond" | "codex" | "claude-code" | "grok-build" | "opencode" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null; roles: { id: string; enabled: boolean; modelRef: { providerId: `acp:${string}` | "openpond" | "codex" | "claude-code" | "grok-build" | "opencode" | "anthropic" | "openai" | "xai" | "google" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null; isolationMode: "none" | "worktree" | "copy_on_write"; maxConcurrentRuns: number; toolPolicy: "read_only" | "workspace_write" | "full_tools"; background: boolean; peerMessages: "disabled" | "parent_scoped"; }[]; maxConcurrentRuns: number; maxConcurrentRunsPerProvider: number | null; maxConcurrentRunsPerWorkspaceTarget: number | null; }>>>>; codexPermissionMode: z.ZodDefault>; codexReasoningEffort: z.ZodDefault>; openPondCommandAccessMode: z.ZodDefault>; defaultBranchPrefix: z.ZodDefault; defaultNewProjectDirectory: z.ZodDefault; defaultTeamId: z.ZodDefault>; advancedWorkspaceControls: z.ZodDefault; steerActiveResponses: z.ZodDefault; contextCompaction: z.ZodDefault; triggerPercent: z.ZodDefault; summaryModel: z.ZodDefault>; }, z.core.$strip>>>; training: z.ZodDefault, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>>; creationMode: z.ZodDefault>; autoApproveEvidence: z.ZodDefault; }, z.core.$strip>>>; sidebarWidth: z.ZodDefault; diffPanelWidth: z.ZodDefault; sidebarSectionsCollapsed: z.ZodDefault; projects: z.ZodDefault; cloudProjects: z.ZodDefault; chats: z.ZodDefault; savedForLater: z.ZodDefault; }, z.core.$strip>>>; editor: z.ZodDefault>; diagnosticsWhileEditing: z.ZodDefault; checkOnSave: z.ZodDefault; languages: z.ZodDefault>; customCommand: z.ZodDefault; }, z.core.$strip>>>; python: z.ZodDefault>; customCommand: z.ZodDefault; }, z.core.$strip>>>; rust: z.ZodDefault>; customCommand: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>>>; }, z.core.$strip>>>; }, z.core.$strip>; type AppPreferences = z.infer; declare const SessionSchema: z.ZodObject<{ id: z.ZodString; experience: z.ZodDefault>; provider: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelRef: z.ZodOptional, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>>; openPondCommandAccessMode: z.ZodDefault>; systemKind: z.ZodOptional>>; hiddenFromDefaultSidebar: z.ZodOptional; parentSessionId: z.ZodOptional>; parentTurnId: z.ZodOptional>; subagentRunId: z.ZodOptional>; subagentRoleId: z.ZodOptional>; subagentDelegationMode: z.ZodOptional>>; title: z.ZodString; appId: z.ZodNullable; appName: z.ZodNullable; workspaceKind: z.ZodOptional>; workspaceId: z.ZodOptional>; workspaceName: z.ZodOptional>; localProjectId: z.ZodOptional>; cloudProjectId: z.ZodOptional>; cloudTeamId: z.ZodOptional>; currentProfile: z.ZodOptional; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strip>>>; profileWorkflowBinding: z.ZodOptional; profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; workflowId: z.ZodString; }, z.core.$strict>>>; profileComponentBinding: z.ZodOptional; profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; }, z.core.$strict>>>; metadata: z.ZodOptional>; cwd: z.ZodNullable; codexThreadId: z.ZodNullable; nativeAgent: z.ZodOptional, z.ZodTemplateLiteral<`acp:${string}`> ]>; instanceId: z.ZodString; sessionId: z.ZodString; cwd: z.ZodString; }, z.core.$strip>>>; createdAt: z.ZodString; updatedAt: z.ZodString; status: z.ZodEnum<{ failed: "failed"; idle: "idle"; active: "active"; closed: "closed"; }>; runtimeSeconds: z.ZodOptional; runtimeRunningSince: z.ZodOptional>; pinned: z.ZodBoolean; savedForLater: z.ZodOptional; archived: z.ZodBoolean; order: z.ZodNumber; }, z.core.$strip>; type Session = z.infer; declare const TurnSchema: z.ZodObject<{ id: z.ZodString; sessionId: z.ZodString; providerTurnId: z.ZodNullable; modelRef: z.ZodOptional, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>>; prompt: z.ZodString; startedAt: z.ZodString; completedAt: z.ZodNullable; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; in_progress: "in_progress"; interrupted: "interrupted"; }>; error: z.ZodNullable; metadata: z.ZodDefault>>; createImproveRun: z.ZodDefault; id: z.ZodString; revision: z.ZodNumber; operation: z.ZodEnum<{ create: "create"; improve: "improve"; import: "import"; promote: "promote"; }>; surface: z.ZodEnum<{ direct_prompt_create: "direct_prompt_create"; context_backed_create: "context_backed_create"; create_as_agent: "create_as_agent"; workflow_suggestion: "workflow_suggestion"; local_extend: "local_extend"; hosted_create: "hosted_create"; local_import: "local_import"; direct_prompt_improve: "direct_prompt_improve"; context_backed_improve: "context_backed_improve"; hosted_improve: "hosted_improve"; lab_create: "lab_create"; lab_improve: "lab_improve"; training: "training"; }>; command: z.ZodEnum<{ create_as_agent: "create_as_agent"; local_import: "local_import"; lab_create: "lab_create"; lab_improve: "lab_improve"; training: "training"; "/create": "/create"; "/edit": "/edit"; "openpond extend": "openpond extend"; suggest_workflow: "suggest_workflow"; }>; objective: z.ZodString; state: z.ZodEnum<{ failed: "failed"; paused: "paused"; ready: "ready"; planning: "planning"; awaiting_questions: "awaiting_questions"; awaiting_plan_approval: "awaiting_plan_approval"; applying_source: "applying_source"; running_checks: "running_checks"; evaluating: "evaluating"; awaiting_promotion: "awaiting_promotion"; opening_pull_request: "opening_pull_request"; pull_request_open: "pull_request_open"; reconciling_release: "reconciling_release"; released: "released"; rejected: "rejected"; ready_local: "ready_local"; pushing_hosted: "pushing_hosted"; running_hosted_checks: "running_hosted_checks"; published_hosted: "published_hosted"; blocked: "blocked"; cancelled: "cancelled"; }>; adapter: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"local">; sourceAuthority: z.ZodLiteral<"local_profile">; activeProfile: z.ZodNullable; repoPath: z.ZodNullable; sourcePath: z.ZodNullable; localHead: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"hosted">; sourceAuthority: z.ZodLiteral<"hosted_profile">; teamId: z.ZodNullable; projectId: z.ZodNullable; activeProfile: z.ZodNullable; sourceRef: z.ZodNullable; baseSha: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"promote_local_to_hosted">; sourceAuthority: z.ZodLiteral<"promote_local_to_hosted">; teamId: z.ZodNullable; projectId: z.ZodNullable; activeProfile: z.ZodNullable; repoPath: z.ZodNullable; sourcePath: z.ZodNullable; localHead: z.ZodNullable; hostedHead: z.ZodNullable; sourceRef: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"managed_artifact">; sourceAuthority: z.ZodLiteral<"managed_artifact">; activeProfile: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip> ], "kind">; actor: z.ZodObject<{ id: z.ZodNullable; kind: z.ZodDefault>; label: z.ZodNullable; }, z.core.$strip>; scope: z.ZodObject<{ profileId: z.ZodString; conversationId: z.ZodNullable; originTurnId: z.ZodNullable; projectId: z.ZodNullable; targetProject: z.ZodNullable; name: z.ZodNullable; workspacePath: z.ZodNullable; sourceRef: z.ZodNullable; baseSha: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; context: z.ZodObject<{ messageIds: z.ZodDefault>; conversationExcerpts: z.ZodDefault; role: z.ZodNullable; excerpt: z.ZodString; reason: z.ZodNullable; }, z.core.$strip>>>; attachments: z.ZodDefault; name: z.ZodString; mediaType: z.ZodNullable; ref: z.ZodNullable; }, z.core.$strip>>>; apps: z.ZodDefault; required: z.ZodDefault; }, z.core.$strip>>>; tools: z.ZodDefault; outputSummary: z.ZodNullable; artifactRefs: z.ZodDefault>; sideEffects: z.ZodDefault>; }, z.core.$strip>>>; signalRefs: z.ZodDefault>; evalRefs: z.ZodDefault>; targetRepoAssumptions: z.ZodDefault>; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"unselected">; }, z.core.$strip>, z.ZodObject<{ defaultActionKey: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"agent">; }, z.core.$strip>, z.ZodObject<{ skillName: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"skill">; }, z.core.$strip>, z.ZodObject<{ slot: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"extension">; }, z.core.$strip>, z.ZodObject<{ trainingPlanId: z.ZodNullable; trainingJobId: z.ZodNullable; artifactId: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"model">; }, z.core.$strip>, z.ZodObject<{ key: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"configuration">; }, z.core.$strip> ], "kind">; evidenceSnapshots: z.ZodDefault; id: z.ZodString; contentHash: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; direct_intent: "direct_intent"; }>; reviewedBy: z.ZodNullable; reviewedAt: z.ZodString; }, z.core.$strip>; sources: z.ZodArray; id: z.ZodString; sourceHash: z.ZodString; excerptRef: z.ZodNullable; }, z.core.$strip>>; reviewerIntent: z.ZodString; createdAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; tasksetRef: z.ZodDefault; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; evidenceSnapshotIds: z.ZodArray; policyBoundary: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; targetRecommendation: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; skill: "skill"; extension: "extension"; model: "model"; configuration: "configuration"; }>; rationale: z.ZodArray; confidence: z.ZodNumber; }, z.core.$strip>; authoringSplitRefs: z.ZodDefault>; privateSplitRefs: z.ZodDefault>; approvedBy: z.ZodNullable; approvedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; targetSelection: z.ZodDefault; preselectedKind: z.ZodNullable>; confirmedKind: z.ZodNullable>; }, z.core.$strip>>>; plan: z.ZodNullable; id: z.ZodString; runId: z.ZodString; status: z.ZodDefault>; objective: z.ZodString; summary: z.ZodString; capturedContextSummary: z.ZodString; defaultChatAction: z.ZodObject<{ key: z.ZodNullable; label: z.ZodNullable; required: z.ZodDefault; }, z.core.$strip>; sourcePlan: z.ZodDefault; reason: z.ZodString; }, z.core.$strip>>>; requirements: z.ZodDefault; name: z.ZodString; status: z.ZodDefault>; detail: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>>>; checks: z.ZodDefault; }, z.core.$strip>>>; approvalId: z.ZodNullable; approvedAt: z.ZodNullable; editedFromPlanId: z.ZodNullable; metadata: z.ZodDefault>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; workflowCapture: z.ZodNullable; id: z.ZodString; runId: z.ZodString; command: z.ZodEnum<{ create_as_agent: "create_as_agent"; local_import: "local_import"; lab_create: "lab_create"; lab_improve: "lab_improve"; training: "training"; "/create": "/create"; "/edit": "/edit"; "openpond extend": "openpond extend"; suggest_workflow: "suggest_workflow"; }>; objective: z.ZodString; conversationExcerpts: z.ZodDefault; role: z.ZodNullable; excerpt: z.ZodString; reason: z.ZodNullable; }, z.core.$strip>>>; attachments: z.ZodDefault; name: z.ZodString; mediaType: z.ZodNullable; ref: z.ZodNullable; }, z.core.$strip>>>; apps: z.ZodDefault; required: z.ZodDefault; }, z.core.$strip>>>; tools: z.ZodDefault; outputSummary: z.ZodNullable; artifactRefs: z.ZodDefault>; sideEffects: z.ZodDefault>; }, z.core.$strip>>>; sideEffects: z.ZodDefault>; profileActions: z.ZodDefault>; externalProviders: z.ZodDefault>; environmentVariables: z.ZodDefault>; files: z.ZodDefault>; schedules: z.ZodDefault>; webhooks: z.ZodDefault>; channelTargets: z.ZodDefault>; outputArtifacts: z.ZodDefault>; targetRepoAssumptions: z.ZodDefault>; traceRefs: z.ZodDefault>; metadata: z.ZodDefault>; createdAt: z.ZodString; }, z.core.$strip>>; executionPolicy: z.ZodDefault>; pauseAllowed: z.ZodDefault; cancellationAllowed: z.ZodDefault; }, z.core.$strip>>; iterationPolicy: z.ZodDefault>; maximumAttempts: z.ZodDefault; currentAttempt: z.ZodDefault; }, z.core.$strip>>; approvalIds: z.ZodDefault>; questionIds: z.ZodDefault>; questions: z.ZodDefault>; title: z.ZodString; prompt: z.ZodString; required: z.ZodDefault; status: z.ZodDefault>; options: z.ZodDefault; metadata: z.ZodDefault>; }, z.core.$strip>>>; answer: z.ZodDefault; detail: z.ZodNullable; answeredAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; metadata: z.ZodDefault>; }, z.core.$strip>>>; candidates: z.ZodDefault; displayName: z.ZodNullable; kind: z.ZodLiteral<"unselected">; }, z.core.$strip>, z.ZodObject<{ defaultActionKey: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"agent">; }, z.core.$strip>, z.ZodObject<{ skillName: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"skill">; }, z.core.$strip>, z.ZodObject<{ slot: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"extension">; }, z.core.$strip>, z.ZodObject<{ trainingPlanId: z.ZodNullable; trainingJobId: z.ZodNullable; artifactId: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"model">; }, z.core.$strip>, z.ZodObject<{ key: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"configuration">; }, z.core.$strip> ], "kind">; status: z.ZodEnum<{ failed: "failed"; draft: "draft"; rejected: "rejected"; authored: "authored"; checking: "checking"; evaluated: "evaluated"; accepted: "accepted"; }>; git: z.ZodDefault; remoteName: z.ZodDefault; remoteUrl: z.ZodNullable; worktreePath: z.ZodNullable; changedPaths: z.ZodDefault>; diffStat: z.ZodNullable; pullRequest: z.ZodDefault; number: z.ZodNumber; url: z.ZodString; state: z.ZodEnum<{ open: "open"; merged: "merged"; closed: "closed"; }>; baseBranch: z.ZodString; headBranch: z.ZodString; mergeCommit: z.ZodNullable; openedAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>>; }, z.core.$strip>>>; parentCandidateId: z.ZodDefault>; tasksetRef: z.ZodDefault; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; evidenceSnapshotIds: z.ZodArray; policyBoundary: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; targetRecommendation: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; skill: "skill"; extension: "extension"; model: "model"; configuration: "configuration"; }>; rationale: z.ZodArray; confidence: z.ZodNumber; }, z.core.$strip>; authoringSplitRefs: z.ZodDefault>; privateSplitRefs: z.ZodDefault>; approvedBy: z.ZodNullable; approvedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; authoringModelRef: z.ZodDefault>; allowedPaths: z.ZodDefault>; sourceRefs: z.ZodDefault>; artifactRefs: z.ZodDefault>; checkRefs: z.ZodDefault>; evaluationReceiptRefs: z.ZodDefault>; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; evaluationReceipts: z.ZodDefault; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"unselected">; }, z.core.$strip>, z.ZodObject<{ defaultActionKey: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"agent">; }, z.core.$strip>, z.ZodObject<{ skillName: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"skill">; }, z.core.$strip>, z.ZodObject<{ slot: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"extension">; }, z.core.$strip>, z.ZodObject<{ trainingPlanId: z.ZodNullable; trainingJobId: z.ZodNullable; artifactId: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"model">; }, z.core.$strip>, z.ZodObject<{ key: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"configuration">; }, z.core.$strip> ], "kind">; evaluatorKind: z.ZodDefault>; subject: z.ZodDefault>; sourceCommit: z.ZodDefault>; sourceBranch: z.ZodDefault>; tasksetId: z.ZodDefault>; tasksetHash: z.ZodDefault>; taskAttemptRefs: z.ZodDefault>; status: z.ZodEnum<{ failed: "failed"; pending: "pending"; blocked: "blocked"; passed: "passed"; }>; publishGate: z.ZodDefault>; summaryCounts: z.ZodDefault>>; evalRefs: z.ZodDefault>; artifactRefs: z.ZodDefault>; summary: z.ZodNullable; createdAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; checkRefs: z.ZodDefault>; sourceRefs: z.ZodDefault>; externalExecutionRefs: z.ZodDefault; id: z.ZodString; status: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>>>; localProfileCommit: z.ZodNullable; hostedSourceCommit: z.ZodNullable; hostedSourceRef: z.ZodNullable; releaseOutcome: z.ZodDefault; profileCommit: z.ZodNullable; profileTag: z.ZodNullable; releaseReceiptRef: z.ZodNullable; pullRequest: z.ZodDefault; number: z.ZodNumber; url: z.ZodString; state: z.ZodEnum<{ open: "open"; merged: "merged"; closed: "closed"; }>; baseBranch: z.ZodString; headBranch: z.ZodString; mergeCommit: z.ZodNullable; openedAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>>; updatedAt: z.ZodNullable; }, z.core.$strip>>; blockedReason: z.ZodNullable; appliedActionIds: z.ZodDefault>; metadata: z.ZodDefault>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>>>; profileSnapshot: z.ZodOptional; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strip>; revision: z.ZodNullable; sourceHash: z.ZodString; }, z.core.$strip>>>; harnessSnapshot: z.ZodOptional; workspaceId: z.ZodString; workspaceRevision: z.ZodNumber; sourceRevision: z.ZodString; channelName: z.ZodString; channelRevision: z.ZodNumber; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; toolCatalogHash: z.ZodOptional>; overlay: z.ZodDefault>>>; }, z.core.$strict>>>; }, z.core.$strip>; type Turn = z.infer; declare const SubagentRunSchema: z.ZodObject<{ id: z.ZodString; parentSessionId: z.ZodString; parentTurnId: z.ZodDefault>; childSessionId: z.ZodDefault>; roleId: z.ZodString; objective: z.ZodString; modelRef: z.ZodDefault, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>>; isolationMode: z.ZodDefault>; toolPolicy: z.ZodDefault>; background: z.ZodDefault; peerMessages: z.ZodDefault>; status: z.ZodDefault>; progress: z.ZodDefault>; inspectedFiles: z.ZodDefault>; inspectedResources: z.ZodDefault>; repeatedSearches: z.ZodDefault>; repeatedReads: z.ZodDefault>; repeatedCommands: z.ZodDefault>; changedFiles: z.ZodDefault>; patchRefs: z.ZodDefault; id: z.ZodString; label: z.ZodString; }, z.core.$strip>>>; validationAttempts: z.ZodDefault>; exitCode: z.ZodDefault>; outputSummary: z.ZodDefault>; startedAt: z.ZodDefault>; completedAt: z.ZodDefault>; }, z.core.$strip>>>; latestMeaningfulActivity: z.ZodDefault>; currentBlocker: z.ZodDefault>; updatedAt: z.ZodDefault>; }, z.core.$strip>>; evidenceRetention: z.ZodDefault>; messageRetentionDays: z.ZodDefault>; artifactRetentionDays: z.ZodDefault>; cleanupAfterExpiry: z.ZodDefault; }, z.core.$strip>>; createdAt: z.ZodString; startedAt: z.ZodDefault>; completedAt: z.ZodDefault>; updatedAt: z.ZodDefault>; error: z.ZodDefault>; report: z.ZodDefault; findings: z.ZodDefault>; artifacts: z.ZodDefault; id: z.ZodString; label: z.ZodString; }, z.core.$strip>>>; patchRef: z.ZodDefault; id: z.ZodString; label: z.ZodString; }, z.core.$strip>>>; diffRef: z.ZodDefault; id: z.ZodString; label: z.ZodString; }, z.core.$strip>>>; testsRun: z.ZodDefault>; blockers: z.ZodDefault>; confidence: z.ZodDefault>>; followUpNeeded: z.ZodDefault; }, z.core.$strip>>>; metadata: z.ZodDefault>>; }, z.core.$strip>; type SubagentRun = z.infer; declare const SubagentMessageSchema: z.ZodObject<{ id: z.ZodString; fromRunId: z.ZodString; toRunId: z.ZodDefault>; toRole: z.ZodDefault>; kind: z.ZodEnum<{ artifact: "artifact"; status: "status"; question: "question"; answer: "answer"; handoff: "handoff"; blocker: "blocker"; }>; priority: z.ZodOptional>; body: z.ZodString; refs: z.ZodDefault; id: z.ZodString; label: z.ZodString; }, z.core.$strip>>>; delivery: z.ZodOptional>; status: z.ZodDefault>; deliveredRunIds: z.ZodDefault>; acknowledgedRunIds: z.ZodDefault>; deliveredParentSessionId: z.ZodDefault>; acknowledgedParentSessionId: z.ZodDefault>; wakeRequestedParentSessionId: z.ZodDefault>; wakeQueuedParentSessionId: z.ZodDefault>; wakeDeferredParentSessionId: z.ZodDefault>; wakeParentReason: z.ZodDefault>; wakeRequestedRunIds: z.ZodDefault>; wakeInterruptedRunIds: z.ZodDefault>; wakeDeferredRunIds: z.ZodDefault>; reason: z.ZodDefault>; }, z.core.$strip>>; createdAt: z.ZodString; }, z.core.$strip>; type SubagentMessage = z.infer; declare const ApprovalSchema: z.ZodObject<{ id: z.ZodString; sessionId: z.ZodString; turnId: z.ZodNullable; providerRequestId: z.ZodUnion; kind: z.ZodEnum<{ command: "command"; permissions: "permissions"; file_change: "file_change"; user_input: "user_input"; create_plan: "create_plan"; subagent_patch_apply: "subagent_patch_apply"; legacy_exec: "legacy_exec"; legacy_patch: "legacy_patch"; }>; title: z.ZodString; detail: z.ZodString; status: z.ZodEnum<{ pending: "pending"; cancelled: "cancelled"; accepted: "accepted"; accepted_for_session: "accepted_for_session"; declined: "declined"; }>; createdAt: z.ZodString; }, z.core.$strip>; type Approval = z.infer; declare const SendTurnRequestSchema: z.ZodObject<{ prompt: z.ZodString; workflowInput: z.ZodOptional; metadata: z.ZodOptional>; usageAttribution: z.ZodNullable>; workflowKind: z.ZodOptional>; goalId: z.ZodOptional>; subagentRunId: z.ZodOptional>; subagentRoleId: z.ZodOptional>; createImproveRunId: z.ZodOptional>; commandName: z.ZodOptional>; commandSource: z.ZodOptional>>; }, z.core.$strict>>>; cwd: z.ZodOptional>; model: z.ZodOptional>; modelRef: z.ZodOptional, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; mentionedAppIds: z.ZodOptional>; mentionedConnectedApps: z.ZodOptional; provider: z.ZodEnum<{ google: "google"; github: "github"; x: "x"; mcp: "mcp"; slack: "slack"; microsoft_teams: "microsoft_teams"; turnkey: "turnkey"; }>; appIds: z.ZodArray>; setupSurfaces: z.ZodArray>; connectionIds: z.ZodOptional>; capabilities: z.ZodOptional>; }, z.core.$strict>>>; openPondActionCatalog: z.ZodOptional>; sourcePath: z.ZodNullable>; sourceActionId: z.ZodNullable>; name: z.ZodNullable>; label: z.ZodNullable>; description: z.ZodNullable>; visibility: z.ZodNullable>; inputSchema: z.ZodNullable ]>>>; outputSchema: z.ZodNullable ]>>>; approvalPolicy: z.ZodNullable>>; artifactPolicy: z.ZodNullable>>; setupRequirements: z.ZodOptional>>; mcp: z.ZodNullable>>; schedulePolicy: z.ZodNullable>>; trace: z.ZodNullable>>; implementation: z.ZodNullable>>; invokesModel: z.ZodOptional; }, z.core.$strip>>>; attachments: z.ZodOptional; lineCount: z.ZodOptional; relativePath: z.ZodOptional; text: z.ZodOptional; contentsBase64: z.ZodOptional; }, z.core.$strip>>>; createImproveRun: z.ZodNullable; id: z.ZodString; revision: z.ZodNumber; operation: z.ZodEnum<{ create: "create"; improve: "improve"; import: "import"; promote: "promote"; }>; surface: z.ZodEnum<{ direct_prompt_create: "direct_prompt_create"; context_backed_create: "context_backed_create"; create_as_agent: "create_as_agent"; workflow_suggestion: "workflow_suggestion"; local_extend: "local_extend"; hosted_create: "hosted_create"; local_import: "local_import"; direct_prompt_improve: "direct_prompt_improve"; context_backed_improve: "context_backed_improve"; hosted_improve: "hosted_improve"; lab_create: "lab_create"; lab_improve: "lab_improve"; training: "training"; }>; command: z.ZodEnum<{ create_as_agent: "create_as_agent"; local_import: "local_import"; lab_create: "lab_create"; lab_improve: "lab_improve"; training: "training"; "/create": "/create"; "/edit": "/edit"; "openpond extend": "openpond extend"; suggest_workflow: "suggest_workflow"; }>; objective: z.ZodString; state: z.ZodEnum<{ failed: "failed"; paused: "paused"; ready: "ready"; planning: "planning"; awaiting_questions: "awaiting_questions"; awaiting_plan_approval: "awaiting_plan_approval"; applying_source: "applying_source"; running_checks: "running_checks"; evaluating: "evaluating"; awaiting_promotion: "awaiting_promotion"; opening_pull_request: "opening_pull_request"; pull_request_open: "pull_request_open"; reconciling_release: "reconciling_release"; released: "released"; rejected: "rejected"; ready_local: "ready_local"; pushing_hosted: "pushing_hosted"; running_hosted_checks: "running_hosted_checks"; published_hosted: "published_hosted"; blocked: "blocked"; cancelled: "cancelled"; }>; adapter: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"local">; sourceAuthority: z.ZodLiteral<"local_profile">; activeProfile: z.ZodNullable; repoPath: z.ZodNullable; sourcePath: z.ZodNullable; localHead: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"hosted">; sourceAuthority: z.ZodLiteral<"hosted_profile">; teamId: z.ZodNullable; projectId: z.ZodNullable; activeProfile: z.ZodNullable; sourceRef: z.ZodNullable; baseSha: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"promote_local_to_hosted">; sourceAuthority: z.ZodLiteral<"promote_local_to_hosted">; teamId: z.ZodNullable; projectId: z.ZodNullable; activeProfile: z.ZodNullable; repoPath: z.ZodNullable; sourcePath: z.ZodNullable; localHead: z.ZodNullable; hostedHead: z.ZodNullable; sourceRef: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"managed_artifact">; sourceAuthority: z.ZodLiteral<"managed_artifact">; activeProfile: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip> ], "kind">; actor: z.ZodObject<{ id: z.ZodNullable; kind: z.ZodDefault>; label: z.ZodNullable; }, z.core.$strip>; scope: z.ZodObject<{ profileId: z.ZodString; conversationId: z.ZodNullable; originTurnId: z.ZodNullable; projectId: z.ZodNullable; targetProject: z.ZodNullable; name: z.ZodNullable; workspacePath: z.ZodNullable; sourceRef: z.ZodNullable; baseSha: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; context: z.ZodObject<{ messageIds: z.ZodDefault>; conversationExcerpts: z.ZodDefault; role: z.ZodNullable; excerpt: z.ZodString; reason: z.ZodNullable; }, z.core.$strip>>>; attachments: z.ZodDefault; name: z.ZodString; mediaType: z.ZodNullable; ref: z.ZodNullable; }, z.core.$strip>>>; apps: z.ZodDefault; required: z.ZodDefault; }, z.core.$strip>>>; tools: z.ZodDefault; outputSummary: z.ZodNullable; artifactRefs: z.ZodDefault>; sideEffects: z.ZodDefault>; }, z.core.$strip>>>; signalRefs: z.ZodDefault>; evalRefs: z.ZodDefault>; targetRepoAssumptions: z.ZodDefault>; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"unselected">; }, z.core.$strip>, z.ZodObject<{ defaultActionKey: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"agent">; }, z.core.$strip>, z.ZodObject<{ skillName: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"skill">; }, z.core.$strip>, z.ZodObject<{ slot: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"extension">; }, z.core.$strip>, z.ZodObject<{ trainingPlanId: z.ZodNullable; trainingJobId: z.ZodNullable; artifactId: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"model">; }, z.core.$strip>, z.ZodObject<{ key: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"configuration">; }, z.core.$strip> ], "kind">; evidenceSnapshots: z.ZodDefault; id: z.ZodString; contentHash: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; direct_intent: "direct_intent"; }>; reviewedBy: z.ZodNullable; reviewedAt: z.ZodString; }, z.core.$strip>; sources: z.ZodArray; id: z.ZodString; sourceHash: z.ZodString; excerptRef: z.ZodNullable; }, z.core.$strip>>; reviewerIntent: z.ZodString; createdAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; tasksetRef: z.ZodDefault; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; evidenceSnapshotIds: z.ZodArray; policyBoundary: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; targetRecommendation: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; skill: "skill"; extension: "extension"; model: "model"; configuration: "configuration"; }>; rationale: z.ZodArray; confidence: z.ZodNumber; }, z.core.$strip>; authoringSplitRefs: z.ZodDefault>; privateSplitRefs: z.ZodDefault>; approvedBy: z.ZodNullable; approvedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; targetSelection: z.ZodDefault; preselectedKind: z.ZodNullable>; confirmedKind: z.ZodNullable>; }, z.core.$strip>>>; plan: z.ZodNullable; id: z.ZodString; runId: z.ZodString; status: z.ZodDefault>; objective: z.ZodString; summary: z.ZodString; capturedContextSummary: z.ZodString; defaultChatAction: z.ZodObject<{ key: z.ZodNullable; label: z.ZodNullable; required: z.ZodDefault; }, z.core.$strip>; sourcePlan: z.ZodDefault; reason: z.ZodString; }, z.core.$strip>>>; requirements: z.ZodDefault; name: z.ZodString; status: z.ZodDefault>; detail: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>>>; checks: z.ZodDefault; }, z.core.$strip>>>; approvalId: z.ZodNullable; approvedAt: z.ZodNullable; editedFromPlanId: z.ZodNullable; metadata: z.ZodDefault>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; workflowCapture: z.ZodNullable; id: z.ZodString; runId: z.ZodString; command: z.ZodEnum<{ create_as_agent: "create_as_agent"; local_import: "local_import"; lab_create: "lab_create"; lab_improve: "lab_improve"; training: "training"; "/create": "/create"; "/edit": "/edit"; "openpond extend": "openpond extend"; suggest_workflow: "suggest_workflow"; }>; objective: z.ZodString; conversationExcerpts: z.ZodDefault; role: z.ZodNullable; excerpt: z.ZodString; reason: z.ZodNullable; }, z.core.$strip>>>; attachments: z.ZodDefault; name: z.ZodString; mediaType: z.ZodNullable; ref: z.ZodNullable; }, z.core.$strip>>>; apps: z.ZodDefault; required: z.ZodDefault; }, z.core.$strip>>>; tools: z.ZodDefault; outputSummary: z.ZodNullable; artifactRefs: z.ZodDefault>; sideEffects: z.ZodDefault>; }, z.core.$strip>>>; sideEffects: z.ZodDefault>; profileActions: z.ZodDefault>; externalProviders: z.ZodDefault>; environmentVariables: z.ZodDefault>; files: z.ZodDefault>; schedules: z.ZodDefault>; webhooks: z.ZodDefault>; channelTargets: z.ZodDefault>; outputArtifacts: z.ZodDefault>; targetRepoAssumptions: z.ZodDefault>; traceRefs: z.ZodDefault>; metadata: z.ZodDefault>; createdAt: z.ZodString; }, z.core.$strip>>; executionPolicy: z.ZodDefault>; pauseAllowed: z.ZodDefault; cancellationAllowed: z.ZodDefault; }, z.core.$strip>>; iterationPolicy: z.ZodDefault>; maximumAttempts: z.ZodDefault; currentAttempt: z.ZodDefault; }, z.core.$strip>>; approvalIds: z.ZodDefault>; questionIds: z.ZodDefault>; questions: z.ZodDefault>; title: z.ZodString; prompt: z.ZodString; required: z.ZodDefault; status: z.ZodDefault>; options: z.ZodDefault; metadata: z.ZodDefault>; }, z.core.$strip>>>; answer: z.ZodDefault; detail: z.ZodNullable; answeredAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; metadata: z.ZodDefault>; }, z.core.$strip>>>; candidates: z.ZodDefault; displayName: z.ZodNullable; kind: z.ZodLiteral<"unselected">; }, z.core.$strip>, z.ZodObject<{ defaultActionKey: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"agent">; }, z.core.$strip>, z.ZodObject<{ skillName: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"skill">; }, z.core.$strip>, z.ZodObject<{ slot: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"extension">; }, z.core.$strip>, z.ZodObject<{ trainingPlanId: z.ZodNullable; trainingJobId: z.ZodNullable; artifactId: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"model">; }, z.core.$strip>, z.ZodObject<{ key: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"configuration">; }, z.core.$strip> ], "kind">; status: z.ZodEnum<{ failed: "failed"; draft: "draft"; rejected: "rejected"; authored: "authored"; checking: "checking"; evaluated: "evaluated"; accepted: "accepted"; }>; git: z.ZodDefault; remoteName: z.ZodDefault; remoteUrl: z.ZodNullable; worktreePath: z.ZodNullable; changedPaths: z.ZodDefault>; diffStat: z.ZodNullable; pullRequest: z.ZodDefault; number: z.ZodNumber; url: z.ZodString; state: z.ZodEnum<{ open: "open"; merged: "merged"; closed: "closed"; }>; baseBranch: z.ZodString; headBranch: z.ZodString; mergeCommit: z.ZodNullable; openedAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>>; }, z.core.$strip>>>; parentCandidateId: z.ZodDefault>; tasksetRef: z.ZodDefault; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; evidenceSnapshotIds: z.ZodArray; policyBoundary: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; targetRecommendation: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; skill: "skill"; extension: "extension"; model: "model"; configuration: "configuration"; }>; rationale: z.ZodArray; confidence: z.ZodNumber; }, z.core.$strip>; authoringSplitRefs: z.ZodDefault>; privateSplitRefs: z.ZodDefault>; approvedBy: z.ZodNullable; approvedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; authoringModelRef: z.ZodDefault>; allowedPaths: z.ZodDefault>; sourceRefs: z.ZodDefault>; artifactRefs: z.ZodDefault>; checkRefs: z.ZodDefault>; evaluationReceiptRefs: z.ZodDefault>; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; evaluationReceipts: z.ZodDefault; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"unselected">; }, z.core.$strip>, z.ZodObject<{ defaultActionKey: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"agent">; }, z.core.$strip>, z.ZodObject<{ skillName: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"skill">; }, z.core.$strip>, z.ZodObject<{ slot: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"extension">; }, z.core.$strip>, z.ZodObject<{ trainingPlanId: z.ZodNullable; trainingJobId: z.ZodNullable; artifactId: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"model">; }, z.core.$strip>, z.ZodObject<{ key: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"configuration">; }, z.core.$strip> ], "kind">; evaluatorKind: z.ZodDefault>; subject: z.ZodDefault>; sourceCommit: z.ZodDefault>; sourceBranch: z.ZodDefault>; tasksetId: z.ZodDefault>; tasksetHash: z.ZodDefault>; taskAttemptRefs: z.ZodDefault>; status: z.ZodEnum<{ failed: "failed"; pending: "pending"; blocked: "blocked"; passed: "passed"; }>; publishGate: z.ZodDefault>; summaryCounts: z.ZodDefault>>; evalRefs: z.ZodDefault>; artifactRefs: z.ZodDefault>; summary: z.ZodNullable; createdAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; checkRefs: z.ZodDefault>; sourceRefs: z.ZodDefault>; externalExecutionRefs: z.ZodDefault; id: z.ZodString; status: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>>>; localProfileCommit: z.ZodNullable; hostedSourceCommit: z.ZodNullable; hostedSourceRef: z.ZodNullable; releaseOutcome: z.ZodDefault; profileCommit: z.ZodNullable; profileTag: z.ZodNullable; releaseReceiptRef: z.ZodNullable; pullRequest: z.ZodDefault; number: z.ZodNumber; url: z.ZodString; state: z.ZodEnum<{ open: "open"; merged: "merged"; closed: "closed"; }>; baseBranch: z.ZodString; headBranch: z.ZodString; mergeCommit: z.ZodNullable; openedAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>>; updatedAt: z.ZodNullable; }, z.core.$strip>>; blockedReason: z.ZodNullable; appliedActionIds: z.ZodDefault>; metadata: z.ZodDefault>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>>; approvalPolicy: z.ZodDefault>; sandbox: z.ZodDefault>; codexPermissionMode: z.ZodDefault>; codexReasoningEffort: z.ZodOptional>; }, z.core.$strip>; type SendTurnRequest = z.infer; declare const WorkspaceToolResultSchema: z.ZodObject<{ ok: z.ZodBoolean; action: z.ZodEnum<{ create_sandbox_template_scaffold: "create_sandbox_template_scaffold"; resource_read: "resource_read"; resource_search: "resource_search"; list_files: "list_files"; read_files: "read_files"; search_files: "search_files"; preview_write_files: "preview_write_files"; preview_write_file: "preview_write_file"; preview_edit_file: "preview_edit_file"; preview_delete_file: "preview_delete_file"; write_files: "write_files"; write_file: "write_file"; edit_file: "edit_file"; delete_file: "delete_file"; workspace_status: "workspace_status"; validate_sandbox_template: "validate_sandbox_template"; build_sandbox_template: "build_sandbox_template"; run_sandbox_template: "run_sandbox_template"; git_init: "git_init"; git_status: "git_status"; git_diff: "git_diff"; git_fetch: "git_fetch"; git_commit: "git_commit"; git_push: "git_push"; publish_openpond_repo: "publish_openpond_repo"; sandbox_create: "sandbox_create"; sandbox_templates: "sandbox_templates"; sandbox_template_launch: "sandbox_template_launch"; sandbox_status: "sandbox_status"; sandbox_start: "sandbox_start"; sandbox_list_files: "sandbox_list_files"; sandbox_read_file: "sandbox_read_file"; sandbox_search_files: "sandbox_search_files"; sandbox_upload_file: "sandbox_upload_file"; sandbox_write_file: "sandbox_write_file"; sandbox_edit_file: "sandbox_edit_file"; sandbox_delete_file: "sandbox_delete_file"; sandbox_mkdir: "sandbox_mkdir"; sandbox_move_file: "sandbox_move_file"; sandbox_exec: "sandbox_exec"; sandbox_git_status: "sandbox_git_status"; sandbox_git_diff: "sandbox_git_diff"; sandbox_git_export_patch: "sandbox_git_export_patch"; sandbox_git_apply_patch_local: "sandbox_git_apply_patch_local"; sandbox_git_branch: "sandbox_git_branch"; sandbox_git_commit: "sandbox_git_commit"; sandbox_git_pull: "sandbox_git_pull"; sandbox_git_push: "sandbox_git_push"; sandbox_preserve_source: "sandbox_preserve_source"; sandbox_promote_source: "sandbox_promote_source"; sandbox_run_action: "sandbox_run_action"; sandbox_open_port: "sandbox_open_port"; sandbox_snapshot_catalog: "sandbox_snapshot_catalog"; sandbox_snapshot_create: "sandbox_snapshot_create"; sandbox_snapshot_update: "sandbox_snapshot_update"; sandbox_snapshot_validate: "sandbox_snapshot_validate"; sandbox_snapshot_publish: "sandbox_snapshot_publish"; sandbox_replays: "sandbox_replays"; sandbox_replay_start: "sandbox_replay_start"; sandbox_replay_get: "sandbox_replay_get"; sandbox_replay_logs: "sandbox_replay_logs"; sandbox_replay_artifacts: "sandbox_replay_artifacts"; sandbox_replay_cancel: "sandbox_replay_cancel"; sandbox_logs: "sandbox_logs"; sandbox_receipts: "sandbox_receipts"; sandbox_prepare_agent: "sandbox_prepare_agent"; sandbox_save_agent_package: "sandbox_save_agent_package"; sandbox_save_output: "sandbox_save_output"; work_agent_package_install: "work_agent_package_install"; work_output_delete: "work_output_delete"; work_output_read: "work_output_read"; sandbox_schedule_create: "sandbox_schedule_create"; sandbox_stop: "sandbox_stop"; }>; appId: z.ZodOptional>; output: z.ZodString; data: z.ZodOptional; }, z.core.$strip>; type WorkspaceToolResult = z.infer; declare const RemoteDeviceScopeSchema: z.ZodObject<{ installationId: z.ZodString; profileId: z.ZodString; ownerUserId: z.ZodString; teamId: z.ZodNullable; }, z.core.$strict>; type RemoteDeviceScope = z.infer; declare const RemoteCommandInputSchema: z.ZodObject<{ idempotencyKey: z.ZodString; action: z.ZodEnum<{ start: "start"; steer: "steer"; stop: "stop"; approval: "approval"; follow_up: "follow_up"; }>; targetId: z.ZodString; expectedRevision: z.ZodNumber; expectedTurnId: z.ZodOptional>; expectedApprovalId: z.ZodOptional>; expiresAt: z.ZodOptional; payload: z.ZodObject<{ text: z.ZodOptional; resume: z.ZodOptional; response: z.ZodOptional>; projectId: z.ZodOptional; starterId: z.ZodOptional; starterRevision: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>; type RemoteCommandInput = z.infer; type RemoteCommandState = "accepted" | "dispatching" | "admitted" | "applied" | "rejected" | "expired" | "cancelled" | "reconciling"; type RemoteCommandReceipt = { id: string; deviceId: string; state: RemoteCommandState; revision: number; payloadHash: string; action: RemoteCommandInput["action"]; targetId: string; localSessionId?: string; remoteTaskId?: string; inputId?: string; turnId?: string; approvalId?: string; error?: string; createdAt: string; expiresAt: string; }; type RemoteDispatchCommand = RemoteCommandInput & { id: string; deviceId: string; payloadHash: string; scope: RemoteDeviceScope; grantRevision: number; fence: number; deadline: string; actor: "remote-human" | "ponder"; localSessionId?: string; localStarterId?: string; permit: { keyId: string; signature: string; expiresAt: string; }; }; type RemoteDeviceServicePublicKey = { keyId: string; publicKey: string; }; declare const OpenPondProfileSkillSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; path: z.ZodString; scope: z.ZodLiteral<"profile">; enabled: z.ZodBoolean; sourcePath: z.ZodString; charCount: z.ZodNumber; sourceHash: z.ZodString; validationStatus: z.ZodEnum<{ error: "error"; valid: "valid"; warning: "warning"; }>; validationMessages: z.ZodArray; resourceFiles: z.ZodDefault>>; }, z.core.$strip>; declare const OpenPondProfileStateSchema: z.ZodObject<{ mode: z.ZodEnum<{ local: "local"; none: "none"; }>; repoPath: z.ZodNullable; activeProfile: z.ZodNullable; sourcePath: z.ZodNullable; manifestPath: z.ZodNullable; agents: z.ZodArray>; skills: z.ZodDefault; enabled: z.ZodBoolean; sourcePath: z.ZodString; charCount: z.ZodNumber; sourceHash: z.ZodString; validationStatus: z.ZodEnum<{ error: "error"; valid: "valid"; warning: "warning"; }>; validationMessages: z.ZodArray; resourceFiles: z.ZodDefault>>; }, z.core.$strip>>>>; evals: z.ZodDefault; sourcePath: z.ZodString; }, z.core.$strip>>>>; git: z.ZodNullable; head: z.ZodNullable; shortHead: z.ZodNullable; dirty: z.ZodBoolean; upstream: z.ZodNullable; ahead: z.ZodNullable; behind: z.ZodNullable; remoteUrl: z.ZodNullable; files: z.ZodArray>; indexStatus: z.ZodNullable; worktreeStatus: z.ZodNullable; status: z.ZodString; category: z.ZodEnum<{ added: "added"; modified: "modified"; deleted: "deleted"; renamed: "renamed"; untracked: "untracked"; changed: "changed"; }>; }, z.core.$strip>>; fileCount: z.ZodOptional; error: z.ZodNullable; }, z.core.$strip>>; catalog: z.ZodObject<{ actionCount: z.ZodNumber; generatedAt: z.ZodNullable; manifestPath: z.ZodNullable; registryPath: z.ZodNullable; stale: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; skillCatalog: z.ZodDefault; stale: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>>>; actionCatalog: z.ZodArray>; sourcePath: z.ZodNullable>; sourceActionId: z.ZodNullable>; name: z.ZodNullable>; label: z.ZodNullable>; description: z.ZodNullable>; visibility: z.ZodNullable>; inputSchema: z.ZodNullable ]>>>; outputSchema: z.ZodNullable ]>>>; approvalPolicy: z.ZodNullable>>; artifactPolicy: z.ZodNullable>>; setupRequirements: z.ZodOptional>>; mcp: z.ZodNullable>>; schedulePolicy: z.ZodNullable>>; trace: z.ZodNullable>>; implementation: z.ZodNullable>>; invokesModel: z.ZodOptional; }, z.core.$strip>>; sourceSetupRequirements: z.ZodArray>; setupGate: z.ZodObject<{ status: z.ZodEnum<{ ready: "ready"; blocked: "blocked"; setup_required: "setup_required"; }>; requirementCount: z.ZodNumber; blockingCount: z.ZodNumber; optionalMissingCount: z.ZodNumber; readyCount: z.ZodNumber; requirements: z.ZodArray; actionId: z.ZodNullable; kind: z.ZodNullable; label: z.ZodString; status: z.ZodString; required: z.ZodBoolean; blocking: z.ZodBoolean; }, z.core.$strip>>; blockingRequirements: z.ZodArray; actionId: z.ZodNullable; kind: z.ZodNullable; label: z.ZodString; status: z.ZodString; required: z.ZodBoolean; blocking: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; diff: z.ZodObject<{ changedAgents: z.ZodArray; newAgents: z.ZodArray; deletedAgents: z.ZodArray; changedSkills: z.ZodDefault>>; changedActions: z.ZodArray; changedExtensions: z.ZodArray; setupChanges: z.ZodArray; envRequirementChanges: z.ZodArray; files: z.ZodArray>; indexStatus: z.ZodNullable; worktreeStatus: z.ZodNullable; status: z.ZodString; category: z.ZodEnum<{ added: "added"; modified: "modified"; deleted: "deleted"; renamed: "renamed"; untracked: "untracked"; changed: "changed"; }>; }, z.core.$strip>>; fileCount: z.ZodOptional; }, z.core.$strip>; hosted: z.ZodNullable; projectId: z.ZodNullable; sourceRef: z.ZodNullable; sourceCommitSha: z.ZodNullable; lastPushedAt: z.ZodNullable; lastPushedLocalHead: z.ZodNullable; lastPushedHostedHead: z.ZodNullable; promotionStatus: z.ZodDefault>>; hostedRunStatus: z.ZodDefault>>; hostedRunAgentId: z.ZodDefault>>; hostedRunId: z.ZodDefault>>; hostedRunAt: z.ZodDefault>>; hostedSourceMaterialization: z.ZodDefault>; runtimeAgentId: z.ZodOptional>; projectId: z.ZodOptional>; sourceRoot: z.ZodOptional>; sourceRef: z.ZodOptional>; sourceCommitSha: z.ZodOptional>; manifestHash: z.ZodOptional>; manifestPath: z.ZodOptional>; manifestSyncedAt: z.ZodOptional>; fileCount: z.ZodOptional>; totalBytes: z.ZodOptional>; generatedManifestPath: z.ZodOptional>; synthesizedOpenPondYaml: z.ZodOptional>; uploadMetadataPath: z.ZodOptional>; setupCommands: z.ZodOptional>; validationCommands: z.ZodOptional>; materializedAt: z.ZodOptional>; error: z.ZodOptional>; }, z.core.$strip>>>>; hostedSourceCheck: z.ZodDefault>; deployPlanStatus: z.ZodOptional>; canRun: z.ZodOptional>; canDeploy: z.ZodOptional>; sourceRef: z.ZodOptional>; sourceCommitSha: z.ZodOptional>; manifestHash: z.ZodOptional>; manifestPath: z.ZodOptional>; setupCommands: z.ZodOptional>; validationCommands: z.ZodOptional>; requiredChecks: z.ZodOptional>; evalNames: z.ZodOptional>; blockedReasons: z.ZodOptional>; staleReasons: z.ZodOptional>; runtimeId: z.ZodOptional>; sandboxId: z.ZodOptional>; traceArtifactRefs: z.ZodOptional>; evalResultArtifactRefs: z.ZodOptional>; validatorArtifactRefs: z.ZodOptional>; checkedAt: z.ZodOptional>; error: z.ZodOptional>; }, z.core.$strip>>>>; hostedPublish: z.ZodDefault>; snapshotId: z.ZodOptional>; sourceRef: z.ZodOptional>; sourceCommitSha: z.ZodOptional>; manifestHash: z.ZodOptional>; manifestPath: z.ZodOptional>; buildStatus: z.ZodOptional>; validationStatus: z.ZodOptional>; evalStatus: z.ZodOptional>; publishedAt: z.ZodOptional>; error: z.ZodOptional>; }, z.core.$strip>>>>; hostedRun: z.ZodDefault>; runId: z.ZodOptional>; runtimeId: z.ZodOptional>; sandboxId: z.ZodOptional>; sourceRef: z.ZodOptional>; sourceCommitSha: z.ZodOptional>; manifestHash: z.ZodOptional>; setupGateStatus: z.ZodOptional>; setupRequirementRefs: z.ZodOptional>; artifactRefs: z.ZodOptional>; traceArtifactRefs: z.ZodOptional>; evalArtifactRefs: z.ZodOptional>; startedAt: z.ZodOptional>; completedAt: z.ZodOptional>; error: z.ZodOptional>; }, z.core.$strip>>>>; }, z.core.$strip>>; summary: z.ZodObject<{ state: z.ZodEnum<{ error: "error"; none: "none"; dirty: "dirty"; ready: "ready"; pending_commit: "pending_commit"; }>; message: z.ZodString; agentCount: z.ZodNumber; actionCount: z.ZodNumber; defaultAction: z.ZodNullable; checkFresh: z.ZodBoolean; checkStaleReason: z.ZodNullable; localHead: z.ZodNullable; hostedHead: z.ZodNullable; }, z.core.$strip>; lastCheck: z.ZodNullable; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; }>; checkedAt: z.ZodString; exitCode: z.ZodOptional>; sourceHead: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; declare const OpenPondProfileLibrarySchema: z.ZodObject<{ lastUsed: z.ZodNullable; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strip>>; profiles: z.ZodArray; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strip>; name: z.ZodString; repoPath: z.ZodString; sourcePath: z.ZodNullable; state: z.ZodObject<{ mode: z.ZodEnum<{ local: "local"; none: "none"; }>; repoPath: z.ZodNullable; activeProfile: z.ZodNullable; sourcePath: z.ZodNullable; manifestPath: z.ZodNullable; agents: z.ZodArray>; skills: z.ZodDefault; enabled: z.ZodBoolean; sourcePath: z.ZodString; charCount: z.ZodNumber; sourceHash: z.ZodString; validationStatus: z.ZodEnum<{ error: "error"; valid: "valid"; warning: "warning"; }>; validationMessages: z.ZodArray; resourceFiles: z.ZodDefault>>; }, z.core.$strip>>>>; evals: z.ZodDefault; sourcePath: z.ZodString; }, z.core.$strip>>>>; git: z.ZodNullable; head: z.ZodNullable; shortHead: z.ZodNullable; dirty: z.ZodBoolean; upstream: z.ZodNullable; ahead: z.ZodNullable; behind: z.ZodNullable; remoteUrl: z.ZodNullable; files: z.ZodArray>; indexStatus: z.ZodNullable; worktreeStatus: z.ZodNullable; status: z.ZodString; category: z.ZodEnum<{ added: "added"; modified: "modified"; deleted: "deleted"; renamed: "renamed"; untracked: "untracked"; changed: "changed"; }>; }, z.core.$strip>>; fileCount: z.ZodOptional; error: z.ZodNullable; }, z.core.$strip>>; catalog: z.ZodObject<{ actionCount: z.ZodNumber; generatedAt: z.ZodNullable; manifestPath: z.ZodNullable; registryPath: z.ZodNullable; stale: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>; skillCatalog: z.ZodDefault; stale: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strip>>>; actionCatalog: z.ZodArray>; sourcePath: z.ZodNullable>; sourceActionId: z.ZodNullable>; name: z.ZodNullable>; label: z.ZodNullable>; description: z.ZodNullable>; visibility: z.ZodNullable>; inputSchema: z.ZodNullable ]>>>; outputSchema: z.ZodNullable ]>>>; approvalPolicy: z.ZodNullable>>; artifactPolicy: z.ZodNullable>>; setupRequirements: z.ZodOptional>>; mcp: z.ZodNullable>>; schedulePolicy: z.ZodNullable>>; trace: z.ZodNullable>>; implementation: z.ZodNullable>>; invokesModel: z.ZodOptional; }, z.core.$strip>>; sourceSetupRequirements: z.ZodArray>; setupGate: z.ZodObject<{ status: z.ZodEnum<{ ready: "ready"; blocked: "blocked"; setup_required: "setup_required"; }>; requirementCount: z.ZodNumber; blockingCount: z.ZodNumber; optionalMissingCount: z.ZodNumber; readyCount: z.ZodNumber; requirements: z.ZodArray; actionId: z.ZodNullable; kind: z.ZodNullable; label: z.ZodString; status: z.ZodString; required: z.ZodBoolean; blocking: z.ZodBoolean; }, z.core.$strip>>; blockingRequirements: z.ZodArray; actionId: z.ZodNullable; kind: z.ZodNullable; label: z.ZodString; status: z.ZodString; required: z.ZodBoolean; blocking: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; diff: z.ZodObject<{ changedAgents: z.ZodArray; newAgents: z.ZodArray; deletedAgents: z.ZodArray; changedSkills: z.ZodDefault>>; changedActions: z.ZodArray; changedExtensions: z.ZodArray; setupChanges: z.ZodArray; envRequirementChanges: z.ZodArray; files: z.ZodArray>; indexStatus: z.ZodNullable; worktreeStatus: z.ZodNullable; status: z.ZodString; category: z.ZodEnum<{ added: "added"; modified: "modified"; deleted: "deleted"; renamed: "renamed"; untracked: "untracked"; changed: "changed"; }>; }, z.core.$strip>>; fileCount: z.ZodOptional; }, z.core.$strip>; hosted: z.ZodNullable; projectId: z.ZodNullable; sourceRef: z.ZodNullable; sourceCommitSha: z.ZodNullable; lastPushedAt: z.ZodNullable; lastPushedLocalHead: z.ZodNullable; lastPushedHostedHead: z.ZodNullable; promotionStatus: z.ZodDefault>>; hostedRunStatus: z.ZodDefault>>; hostedRunAgentId: z.ZodDefault>>; hostedRunId: z.ZodDefault>>; hostedRunAt: z.ZodDefault>>; hostedSourceMaterialization: z.ZodDefault>; runtimeAgentId: z.ZodOptional>; projectId: z.ZodOptional>; sourceRoot: z.ZodOptional>; sourceRef: z.ZodOptional>; sourceCommitSha: z.ZodOptional>; manifestHash: z.ZodOptional>; manifestPath: z.ZodOptional>; manifestSyncedAt: z.ZodOptional>; fileCount: z.ZodOptional>; totalBytes: z.ZodOptional>; generatedManifestPath: z.ZodOptional>; synthesizedOpenPondYaml: z.ZodOptional>; uploadMetadataPath: z.ZodOptional>; setupCommands: z.ZodOptional>; validationCommands: z.ZodOptional>; materializedAt: z.ZodOptional>; error: z.ZodOptional>; }, z.core.$strip>>>>; hostedSourceCheck: z.ZodDefault>; deployPlanStatus: z.ZodOptional>; canRun: z.ZodOptional>; canDeploy: z.ZodOptional>; sourceRef: z.ZodOptional>; sourceCommitSha: z.ZodOptional>; manifestHash: z.ZodOptional>; manifestPath: z.ZodOptional>; setupCommands: z.ZodOptional>; validationCommands: z.ZodOptional>; requiredChecks: z.ZodOptional>; evalNames: z.ZodOptional>; blockedReasons: z.ZodOptional>; staleReasons: z.ZodOptional>; runtimeId: z.ZodOptional>; sandboxId: z.ZodOptional>; traceArtifactRefs: z.ZodOptional>; evalResultArtifactRefs: z.ZodOptional>; validatorArtifactRefs: z.ZodOptional>; checkedAt: z.ZodOptional>; error: z.ZodOptional>; }, z.core.$strip>>>>; hostedPublish: z.ZodDefault>; snapshotId: z.ZodOptional>; sourceRef: z.ZodOptional>; sourceCommitSha: z.ZodOptional>; manifestHash: z.ZodOptional>; manifestPath: z.ZodOptional>; buildStatus: z.ZodOptional>; validationStatus: z.ZodOptional>; evalStatus: z.ZodOptional>; publishedAt: z.ZodOptional>; error: z.ZodOptional>; }, z.core.$strip>>>>; hostedRun: z.ZodDefault>; runId: z.ZodOptional>; runtimeId: z.ZodOptional>; sandboxId: z.ZodOptional>; sourceRef: z.ZodOptional>; sourceCommitSha: z.ZodOptional>; manifestHash: z.ZodOptional>; setupGateStatus: z.ZodOptional>; setupRequirementRefs: z.ZodOptional>; artifactRefs: z.ZodOptional>; traceArtifactRefs: z.ZodOptional>; evalArtifactRefs: z.ZodOptional>; startedAt: z.ZodOptional>; completedAt: z.ZodOptional>; error: z.ZodOptional>; }, z.core.$strip>>>>; }, z.core.$strip>>; summary: z.ZodObject<{ state: z.ZodEnum<{ error: "error"; none: "none"; dirty: "dirty"; ready: "ready"; pending_commit: "pending_commit"; }>; message: z.ZodString; agentCount: z.ZodNumber; actionCount: z.ZodNumber; defaultAction: z.ZodNullable; checkFresh: z.ZodBoolean; checkStaleReason: z.ZodNullable; localHead: z.ZodNullable; hostedHead: z.ZodNullable; }, z.core.$strip>; lastCheck: z.ZodNullable; status: z.ZodEnum<{ failed: "failed"; passed: "passed"; }>; checkedAt: z.ZodString; exitCode: z.ZodOptional>; sourceHead: z.ZodOptional>; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>>; }, z.core.$strip>; type OpenPondProfileSkill = z.infer; type OpenPondProfileState = z.infer; type OpenPondProfileLibrary = z.infer; declare const OpenPondProfileRefSchema: z.ZodObject<{ source: z.ZodEnum<{ local: "local"; github: "github"; openpond_git: "openpond_git"; }>; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strip>; type OpenPondProfileRef = z.infer; declare const OpenPondActionCatalogEntrySchema: z.ZodObject<{ id: z.ZodString; agentId: z.ZodNullable>; sourcePath: z.ZodNullable>; sourceActionId: z.ZodNullable>; name: z.ZodNullable>; label: z.ZodNullable>; description: z.ZodNullable>; visibility: z.ZodNullable>; inputSchema: z.ZodNullable ]>>>; outputSchema: z.ZodNullable ]>>>; approvalPolicy: z.ZodNullable>>; artifactPolicy: z.ZodNullable>>; setupRequirements: z.ZodOptional>>; mcp: z.ZodNullable>>; schedulePolicy: z.ZodNullable>>; trace: z.ZodNullable>>; implementation: z.ZodNullable>>; invokesModel: z.ZodOptional; }, z.core.$strip>; type OpenPondActionCatalogEntry = z.infer; declare const OpenPondExtensionCatalogSchema: z.ZodObject<{ rootPath: z.ZodString; registryPath: z.ZodString; extensions: z.ZodArray; owner: z.ZodString; repo: z.ZodString; repositoryUrl: z.ZodString; requestedRef: z.ZodString; resolvedCommit: z.ZodString; sourcePath: z.ZodString; readmePath: z.ZodNullable; installedAt: z.ZodString; updatedAt: z.ZodString; packageHash: z.ZodString; skills: z.ZodArray; validationStatus: z.ZodEnum<{ error: "error"; valid: "valid"; }>; validationMessages: z.ZodArray; }, z.core.$strip>>; validationStatus: z.ZodEnum<{ error: "error"; valid: "valid"; }>; validationMessages: z.ZodArray; }, z.core.$strip>>; error: z.ZodNullable; }, z.core.$strip>; type OpenPondExtensionCatalog = z.infer; declare const CreateImproveRunSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.createImprove.run.v1">; id: z.ZodString; revision: z.ZodNumber; operation: z.ZodEnum<{ create: "create"; improve: "improve"; import: "import"; promote: "promote"; }>; surface: z.ZodEnum<{ direct_prompt_create: "direct_prompt_create"; context_backed_create: "context_backed_create"; create_as_agent: "create_as_agent"; workflow_suggestion: "workflow_suggestion"; local_extend: "local_extend"; hosted_create: "hosted_create"; local_import: "local_import"; direct_prompt_improve: "direct_prompt_improve"; context_backed_improve: "context_backed_improve"; hosted_improve: "hosted_improve"; lab_create: "lab_create"; lab_improve: "lab_improve"; training: "training"; }>; command: z.ZodEnum<{ create_as_agent: "create_as_agent"; local_import: "local_import"; lab_create: "lab_create"; lab_improve: "lab_improve"; training: "training"; "/create": "/create"; "/edit": "/edit"; "openpond extend": "openpond extend"; suggest_workflow: "suggest_workflow"; }>; objective: z.ZodString; state: z.ZodEnum<{ failed: "failed"; paused: "paused"; ready: "ready"; planning: "planning"; awaiting_questions: "awaiting_questions"; awaiting_plan_approval: "awaiting_plan_approval"; applying_source: "applying_source"; running_checks: "running_checks"; evaluating: "evaluating"; awaiting_promotion: "awaiting_promotion"; opening_pull_request: "opening_pull_request"; pull_request_open: "pull_request_open"; reconciling_release: "reconciling_release"; released: "released"; rejected: "rejected"; ready_local: "ready_local"; pushing_hosted: "pushing_hosted"; running_hosted_checks: "running_hosted_checks"; published_hosted: "published_hosted"; blocked: "blocked"; cancelled: "cancelled"; }>; adapter: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"local">; sourceAuthority: z.ZodLiteral<"local_profile">; activeProfile: z.ZodNullable; repoPath: z.ZodNullable; sourcePath: z.ZodNullable; localHead: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"hosted">; sourceAuthority: z.ZodLiteral<"hosted_profile">; teamId: z.ZodNullable; projectId: z.ZodNullable; activeProfile: z.ZodNullable; sourceRef: z.ZodNullable; baseSha: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"promote_local_to_hosted">; sourceAuthority: z.ZodLiteral<"promote_local_to_hosted">; teamId: z.ZodNullable; projectId: z.ZodNullable; activeProfile: z.ZodNullable; repoPath: z.ZodNullable; sourcePath: z.ZodNullable; localHead: z.ZodNullable; hostedHead: z.ZodNullable; sourceRef: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"managed_artifact">; sourceAuthority: z.ZodLiteral<"managed_artifact">; activeProfile: z.ZodNullable; confirmationPolicy: z.ZodDefault>; }, z.core.$strip> ], "kind">; actor: z.ZodObject<{ id: z.ZodNullable; kind: z.ZodDefault>; label: z.ZodNullable; }, z.core.$strip>; scope: z.ZodObject<{ profileId: z.ZodString; conversationId: z.ZodNullable; originTurnId: z.ZodNullable; projectId: z.ZodNullable; targetProject: z.ZodNullable; name: z.ZodNullable; workspacePath: z.ZodNullable; sourceRef: z.ZodNullable; baseSha: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; context: z.ZodObject<{ messageIds: z.ZodDefault>; conversationExcerpts: z.ZodDefault; role: z.ZodNullable; excerpt: z.ZodString; reason: z.ZodNullable; }, z.core.$strip>>>; attachments: z.ZodDefault; name: z.ZodString; mediaType: z.ZodNullable; ref: z.ZodNullable; }, z.core.$strip>>>; apps: z.ZodDefault; required: z.ZodDefault; }, z.core.$strip>>>; tools: z.ZodDefault; outputSummary: z.ZodNullable; artifactRefs: z.ZodDefault>; sideEffects: z.ZodDefault>; }, z.core.$strip>>>; signalRefs: z.ZodDefault>; evalRefs: z.ZodDefault>; targetRepoAssumptions: z.ZodDefault>; }, z.core.$strip>; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"unselected">; }, z.core.$strip>, z.ZodObject<{ defaultActionKey: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"agent">; }, z.core.$strip>, z.ZodObject<{ skillName: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"skill">; }, z.core.$strip>, z.ZodObject<{ slot: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"extension">; }, z.core.$strip>, z.ZodObject<{ trainingPlanId: z.ZodNullable; trainingJobId: z.ZodNullable; artifactId: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"model">; }, z.core.$strip>, z.ZodObject<{ key: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"configuration">; }, z.core.$strip> ], "kind">; evidenceSnapshots: z.ZodDefault; id: z.ZodString; contentHash: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; direct_intent: "direct_intent"; }>; reviewedBy: z.ZodNullable; reviewedAt: z.ZodString; }, z.core.$strip>; sources: z.ZodArray; id: z.ZodString; sourceHash: z.ZodString; excerptRef: z.ZodNullable; }, z.core.$strip>>; reviewerIntent: z.ZodString; createdAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; tasksetRef: z.ZodDefault; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; evidenceSnapshotIds: z.ZodArray; policyBoundary: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; targetRecommendation: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; skill: "skill"; extension: "extension"; model: "model"; configuration: "configuration"; }>; rationale: z.ZodArray; confidence: z.ZodNumber; }, z.core.$strip>; authoringSplitRefs: z.ZodDefault>; privateSplitRefs: z.ZodDefault>; approvedBy: z.ZodNullable; approvedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; targetSelection: z.ZodDefault; preselectedKind: z.ZodNullable>; confirmedKind: z.ZodNullable>; }, z.core.$strip>>>; plan: z.ZodNullable; id: z.ZodString; runId: z.ZodString; status: z.ZodDefault>; objective: z.ZodString; summary: z.ZodString; capturedContextSummary: z.ZodString; defaultChatAction: z.ZodObject<{ key: z.ZodNullable; label: z.ZodNullable; required: z.ZodDefault; }, z.core.$strip>; sourcePlan: z.ZodDefault; reason: z.ZodString; }, z.core.$strip>>>; requirements: z.ZodDefault; name: z.ZodString; status: z.ZodDefault>; detail: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>>>; checks: z.ZodDefault; }, z.core.$strip>>>; approvalId: z.ZodNullable; approvedAt: z.ZodNullable; editedFromPlanId: z.ZodNullable; metadata: z.ZodDefault>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; workflowCapture: z.ZodNullable; id: z.ZodString; runId: z.ZodString; command: z.ZodEnum<{ create_as_agent: "create_as_agent"; local_import: "local_import"; lab_create: "lab_create"; lab_improve: "lab_improve"; training: "training"; "/create": "/create"; "/edit": "/edit"; "openpond extend": "openpond extend"; suggest_workflow: "suggest_workflow"; }>; objective: z.ZodString; conversationExcerpts: z.ZodDefault; role: z.ZodNullable; excerpt: z.ZodString; reason: z.ZodNullable; }, z.core.$strip>>>; attachments: z.ZodDefault; name: z.ZodString; mediaType: z.ZodNullable; ref: z.ZodNullable; }, z.core.$strip>>>; apps: z.ZodDefault; required: z.ZodDefault; }, z.core.$strip>>>; tools: z.ZodDefault; outputSummary: z.ZodNullable; artifactRefs: z.ZodDefault>; sideEffects: z.ZodDefault>; }, z.core.$strip>>>; sideEffects: z.ZodDefault>; profileActions: z.ZodDefault>; externalProviders: z.ZodDefault>; environmentVariables: z.ZodDefault>; files: z.ZodDefault>; schedules: z.ZodDefault>; webhooks: z.ZodDefault>; channelTargets: z.ZodDefault>; outputArtifacts: z.ZodDefault>; targetRepoAssumptions: z.ZodDefault>; traceRefs: z.ZodDefault>; metadata: z.ZodDefault>; createdAt: z.ZodString; }, z.core.$strip>>; executionPolicy: z.ZodDefault>; pauseAllowed: z.ZodDefault; cancellationAllowed: z.ZodDefault; }, z.core.$strip>>; iterationPolicy: z.ZodDefault>; maximumAttempts: z.ZodDefault; currentAttempt: z.ZodDefault; }, z.core.$strip>>; approvalIds: z.ZodDefault>; questionIds: z.ZodDefault>; questions: z.ZodDefault>; title: z.ZodString; prompt: z.ZodString; required: z.ZodDefault; status: z.ZodDefault>; options: z.ZodDefault; metadata: z.ZodDefault>; }, z.core.$strip>>>; answer: z.ZodDefault; detail: z.ZodNullable; answeredAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; metadata: z.ZodDefault>; }, z.core.$strip>>>; candidates: z.ZodDefault; displayName: z.ZodNullable; kind: z.ZodLiteral<"unselected">; }, z.core.$strip>, z.ZodObject<{ defaultActionKey: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"agent">; }, z.core.$strip>, z.ZodObject<{ skillName: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"skill">; }, z.core.$strip>, z.ZodObject<{ slot: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"extension">; }, z.core.$strip>, z.ZodObject<{ trainingPlanId: z.ZodNullable; trainingJobId: z.ZodNullable; artifactId: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"model">; }, z.core.$strip>, z.ZodObject<{ key: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"configuration">; }, z.core.$strip> ], "kind">; status: z.ZodEnum<{ failed: "failed"; draft: "draft"; rejected: "rejected"; authored: "authored"; checking: "checking"; evaluated: "evaluated"; accepted: "accepted"; }>; git: z.ZodDefault; remoteName: z.ZodDefault; remoteUrl: z.ZodNullable; worktreePath: z.ZodNullable; changedPaths: z.ZodDefault>; diffStat: z.ZodNullable; pullRequest: z.ZodDefault; number: z.ZodNumber; url: z.ZodString; state: z.ZodEnum<{ open: "open"; merged: "merged"; closed: "closed"; }>; baseBranch: z.ZodString; headBranch: z.ZodString; mergeCommit: z.ZodNullable; openedAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>>; }, z.core.$strip>>>; parentCandidateId: z.ZodDefault>; tasksetRef: z.ZodDefault; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; evidenceSnapshotIds: z.ZodArray; policyBoundary: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; targetRecommendation: z.ZodObject<{ kind: z.ZodEnum<{ agent: "agent"; skill: "skill"; extension: "extension"; model: "model"; configuration: "configuration"; }>; rationale: z.ZodArray; confidence: z.ZodNumber; }, z.core.$strip>; authoringSplitRefs: z.ZodDefault>; privateSplitRefs: z.ZodDefault>; approvedBy: z.ZodNullable; approvedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; authoringModelRef: z.ZodDefault>; allowedPaths: z.ZodDefault>; sourceRefs: z.ZodDefault>; artifactRefs: z.ZodDefault>; checkRefs: z.ZodDefault>; evaluationReceiptRefs: z.ZodDefault>; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; evaluationReceipts: z.ZodDefault; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"unselected">; }, z.core.$strip>, z.ZodObject<{ defaultActionKey: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"agent">; }, z.core.$strip>, z.ZodObject<{ skillName: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"skill">; }, z.core.$strip>, z.ZodObject<{ slot: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"extension">; }, z.core.$strip>, z.ZodObject<{ trainingPlanId: z.ZodNullable; trainingJobId: z.ZodNullable; artifactId: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"model">; }, z.core.$strip>, z.ZodObject<{ key: z.ZodNullable; id: z.ZodNullable; displayName: z.ZodNullable; kind: z.ZodLiteral<"configuration">; }, z.core.$strip> ], "kind">; evaluatorKind: z.ZodDefault>; subject: z.ZodDefault>; sourceCommit: z.ZodDefault>; sourceBranch: z.ZodDefault>; tasksetId: z.ZodDefault>; tasksetHash: z.ZodDefault>; taskAttemptRefs: z.ZodDefault>; status: z.ZodEnum<{ failed: "failed"; pending: "pending"; blocked: "blocked"; passed: "passed"; }>; publishGate: z.ZodDefault>; summaryCounts: z.ZodDefault>>; evalRefs: z.ZodDefault>; artifactRefs: z.ZodDefault>; summary: z.ZodNullable; createdAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; checkRefs: z.ZodDefault>; sourceRefs: z.ZodDefault>; externalExecutionRefs: z.ZodDefault; id: z.ZodString; status: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>>>; localProfileCommit: z.ZodNullable; hostedSourceCommit: z.ZodNullable; hostedSourceRef: z.ZodNullable; releaseOutcome: z.ZodDefault; profileCommit: z.ZodNullable; profileTag: z.ZodNullable; releaseReceiptRef: z.ZodNullable; pullRequest: z.ZodDefault; number: z.ZodNumber; url: z.ZodString; state: z.ZodEnum<{ open: "open"; merged: "merged"; closed: "closed"; }>; baseBranch: z.ZodString; headBranch: z.ZodString; mergeCommit: z.ZodNullable; openedAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>>; updatedAt: z.ZodNullable; }, z.core.$strip>>; blockedReason: z.ZodNullable; appliedActionIds: z.ZodDefault>; metadata: z.ZodDefault>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; declare const CreateImproveRunActionSchema: z.ZodDiscriminatedUnion<[ z.ZodObject<{ type: z.ZodLiteral<"answer_question">; questionId: z.ZodString; value: z.ZodString; runId: z.ZodString; expectedRevision: z.ZodNumber; actionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"approve_plan">; runId: z.ZodString; expectedRevision: z.ZodNumber; actionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"revise_plan">; revision: z.ZodString; runId: z.ZodString; expectedRevision: z.ZodNumber; actionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"cancel">; reason: z.ZodDefault>>; runId: z.ZodString; expectedRevision: z.ZodNumber; actionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"pause">; runId: z.ZodString; expectedRevision: z.ZodNumber; actionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resume">; runId: z.ZodString; expectedRevision: z.ZodNumber; actionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"open_pull_request">; candidateId: z.ZodString; runId: z.ZodString; expectedRevision: z.ZodNumber; actionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"apply_candidate">; candidateId: z.ZodString; runId: z.ZodString; expectedRevision: z.ZodNumber; actionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"reject_candidate">; candidateId: z.ZodString; reason: z.ZodDefault>>; runId: z.ZodString; expectedRevision: z.ZodNumber; actionId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"reconcile_pull_request">; candidateId: z.ZodString; runId: z.ZodString; expectedRevision: z.ZodNumber; actionId: z.ZodString; }, z.core.$strip> ], "type">; type CreateImproveRun = z.infer; type CreateImproveRunAction = z.infer; declare const ModelUsageVisibilitySchema: z.ZodEnum<{ system: "system"; background: "background"; user_facing: "user_facing"; }>; declare const ModelUsageStatusSchema: z.ZodEnum<{ started: "started"; completed: "completed"; failed: "failed"; interrupted: "interrupted"; }>; declare const ModelUsageRecordSchema: z.ZodObject<{ id: z.ZodString; requestId: z.ZodString; requestOrdinal: z.ZodNumber; sessionId: z.ZodNullable; turnId: z.ZodNullable; provider: z.ZodString; model: z.ZodString; route: z.ZodEnum<{ unknown: "unknown"; openpond_hosted: "openpond_hosted"; local_byok: "local_byok"; codex_app_server: "codex_app_server"; }>; source: z.ZodEnum<{ missing: "missing"; provider_usage: "provider_usage"; codex_context_usage: "codex_context_usage"; }>; requestKind: z.ZodEnum<{ chat_turn: "chat_turn"; tool_loop: "tool_loop"; slash_command: "slash_command"; create_improve_planner: "create_improve_planner"; harness_refiner: "harness_refiner"; context_compaction: "context_compaction"; subagent: "subagent"; codex_context: "codex_context"; other: "other"; }>; visibility: z.ZodEnum<{ system: "system"; background: "background"; user_facing: "user_facing"; }>; status: z.ZodEnum<{ started: "started"; completed: "completed"; failed: "failed"; interrupted: "interrupted"; }>; startedAt: z.ZodString; completedAt: z.ZodNullable; durationMs: z.ZodNullable; firstTokenMs: z.ZodNullable; promptTokens: z.ZodNullable; cachedPromptTokens: z.ZodNullable; uncachedPromptTokens: z.ZodNullable; cacheWritePromptTokens: z.ZodNullable; cacheTelemetrySource: z.ZodNullable>; completionTokens: z.ZodNullable; totalTokens: z.ZodNullable; errorType: z.ZodNullable; errorMessage: z.ZodNullable; attribution: z.ZodObject<{ surface: z.ZodEnum<{ chat: "chat"; system: "system"; compaction: "compaction"; settings: "settings"; goal: "goal"; create_improve: "create_improve"; }>; workflowKind: z.ZodEnum<{ summary: "summary"; tool_loop: "tool_loop"; slash_command: "slash_command"; subagent: "subagent"; other: "other"; direct_chat: "direct_chat"; planner: "planner"; scan: "scan"; }>; sessionId: z.ZodDefault>; turnId: z.ZodDefault>; goalId: z.ZodDefault>; subagentRunId: z.ZodDefault>; subagentRoleId: z.ZodDefault>; createImproveRunId: z.ZodDefault>; commandName: z.ZodDefault>; commandSource: z.ZodDefault>>; appId: z.ZodDefault>; workspaceKind: z.ZodDefault>>; workspaceId: z.ZodDefault>; localProjectId: z.ZodDefault>; cloudProjectId: z.ZodDefault>; sourceEventSequence: z.ZodDefault>; }, z.core.$strip>; }, z.core.$strip>; type ModelUsageVisibility = z.infer; type ModelUsageStatus = z.infer; type ModelUsageRecord = z.infer; declare const LocalAgentScheduleSchema: z.ZodObject<{ id: z.ZodString; localProjectId: z.ZodString; localProjectName: z.ZodString; agentRootPath: z.ZodString; agentName: z.ZodString; scheduleName: z.ZodString; scheduleType: z.ZodEnum<{ cron: "cron"; rate: "rate"; }>; scheduleExpression: z.ZodString; timezone: z.ZodNullable; targetAction: z.ZodString; input: z.ZodDefault>>; enabledByDefault: z.ZodBoolean; enabled: z.ZodBoolean; sourceHash: z.ZodString; manifestHash: z.ZodNullable; agentVersionId: z.ZodOptional>; agentPackageDigest: z.ZodOptional>; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; lastRunStatus: z.ZodNullable>; lastRunId: z.ZodNullable; lastError: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; type LocalAgentSchedule = z.infer; declare const LocalAgentScheduleRunSchema: z.ZodObject<{ id: z.ZodString; scheduleId: z.ZodString; definitionSnapshot: z.ZodOptional; scheduleExpression: z.ZodString; timezone: z.ZodNullable; targetAction: z.ZodString; input: z.ZodDefault>>; enabledByDefault: z.ZodBoolean; enabled: z.ZodBoolean; sourceHash: z.ZodString; manifestHash: z.ZodNullable; agentVersionId: z.ZodOptional>; agentPackageDigest: z.ZodOptional>; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; lastRunStatus: z.ZodNullable>; lastRunId: z.ZodNullable; lastError: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; configurationSnapshot: z.ZodOptional>; inputSnapshot: z.ZodOptional>; localProjectId: z.ZodString; scheduleName: z.ZodString; scheduledFor: z.ZodString; trigger: z.ZodEnum<{ schedule: "schedule"; manual: "manual"; }>; status: z.ZodEnum<{ failed: "failed"; running: "running"; skipped: "skipped"; queued: "queued"; succeeded: "succeeded"; }>; targetAction: z.ZodString; agentVersionId: z.ZodOptional>; agentPackageDigest: z.ZodOptional>; startedAt: z.ZodNullable; completedAt: z.ZodNullable; exitCode: z.ZodNullable; stdout: z.ZodNullable; stderr: z.ZodNullable; result: z.ZodNullable>; traceArtifactRef: z.ZodNullable; error: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; type LocalAgentScheduleRun = z.infer; declare const CreateHostedSavedWorkRequestSchema: z.ZodObject<{ clientRequestId: z.ZodString; sourceTurnId: z.ZodOptional>; targetSessionId: z.ZodOptional>; name: z.ZodString; prompt: z.ZodString; recurrence: z.ZodObject<{ version: z.ZodLiteral<1>; kind: z.ZodEnum<{ once: "once"; daily: "daily"; weekdays: "weekdays"; weekly: "weekly"; monthly: "monthly"; }>; timeZone: z.ZodString; startDate: z.ZodString; localTime: z.ZodString; weekdays: z.ZodOptional>>; dayOfMonth: z.ZodOptional; end: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"never">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"on_date">; date: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"after_occurrences">; occurrences: z.ZodNumber; }, z.core.$strip> ], "kind">; }, z.core.$strip>; modelId: z.ZodDefault; }, z.core.$strip>; type CreateHostedSavedWorkRequest = z.infer; declare const ChatWorkflowSchema: z.ZodObject<{ id: z.ZodString; sessionId: z.ZodString; sessionTitle: z.ZodString; sourceTurnId: z.ZodNullable; name: z.ZodString; prompt: z.ZodString; profileRef: z.ZodOptional; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strip>>; profileWorkflowId: z.ZodOptional; profileMigrationError: z.ZodOptional>; recurrence: z.ZodObject<{ version: z.ZodLiteral<1>; kind: z.ZodEnum<{ once: "once"; daily: "daily"; weekdays: "weekdays"; weekly: "weekly"; monthly: "monthly"; }>; timeZone: z.ZodString; startDate: z.ZodString; localTime: z.ZodString; weekdays: z.ZodOptional>>; dayOfMonth: z.ZodOptional; end: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"never">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"on_date">; date: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"after_occurrences">; occurrences: z.ZodNumber; }, z.core.$strip> ], "kind">; }, z.core.$strip>; enabled: z.ZodBoolean; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; lastRunStatus: z.ZodNullable>; lastRunId: z.ZodNullable; lastError: z.ZodNullable; scheduledRunCount: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; declare const ChatWorkflowRunSchema: z.ZodObject<{ definitionSnapshot: z.ZodOptional; name: z.ZodString; prompt: z.ZodString; profileRef: z.ZodOptional; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strip>>; profileWorkflowId: z.ZodOptional; profileMigrationError: z.ZodOptional>; recurrence: z.ZodObject<{ version: z.ZodLiteral<1>; kind: z.ZodEnum<{ once: "once"; daily: "daily"; weekdays: "weekdays"; weekly: "weekly"; monthly: "monthly"; }>; timeZone: z.ZodString; startDate: z.ZodString; localTime: z.ZodString; weekdays: z.ZodOptional>>; dayOfMonth: z.ZodOptional; end: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"never">; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"on_date">; date: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"after_occurrences">; occurrences: z.ZodNumber; }, z.core.$strip> ], "kind">; }, z.core.$strip>; enabled: z.ZodBoolean; nextRunAt: z.ZodNullable; lastRunAt: z.ZodNullable; lastRunStatus: z.ZodNullable>; lastRunId: z.ZodNullable; lastError: z.ZodNullable; scheduledRunCount: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; configurationSnapshot: z.ZodOptional>; id: z.ZodString; workflowId: z.ZodString; sessionId: z.ZodString; scheduledFor: z.ZodString; trigger: z.ZodEnum<{ schedule: "schedule"; manual: "manual"; }>; status: z.ZodEnum<{ failed: "failed"; running: "running"; queued: "queued"; succeeded: "succeeded"; }>; turnId: z.ZodNullable; error: z.ZodNullable; createdAt: z.ZodString; startedAt: z.ZodNullable; completedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>; type ChatWorkflow = z.infer; type ChatWorkflowRun = z.infer; declare const DatasetArtifactRegistryEntrySchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetArtifactRegistry.v1">; manifest: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetArtifact.v1">; id: z.ZodString; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; contentHash: z.ZodString; format: z.ZodLiteral<"parquet">; schema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetSemanticSchema.v1">; fields: z.ZodArray; logicalType: z.ZodEnum<{ string: "string"; boolean: "boolean"; messages: "messages"; integer: "integer"; float: "float"; json: "json"; }>; nullable: z.ZodBoolean; policy: z.ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; }, z.core.$strip>>; schemaHash: z.ZodString; }, z.core.$strip>; shards: z.ZodArray; path: z.ZodString; contentHash: z.ZodString; schemaHash: z.ZodString; sizeBytes: z.ZodNumber; rowCount: z.ZodNumber; rowGroupCount: z.ZodNumber; }, z.core.$strip>>; rowCount: z.ZodNumber; splitCounts: z.ZodRecord, z.ZodNumber>; sourceReceiptRefs: z.ZodArray; mappingHash: z.ZodString; qualityReportHash: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>; profileId: z.ZodString; storageRoot: z.ZodString; relativeManifestPath: z.ZodString; available: z.ZodBoolean; unavailableReason: z.ZodNullable; verifiedAt: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; type DatasetArtifactRegistryEntry = z.infer; declare const ExternalDatasetSourceRefSchema: z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: z.ZodLiteral<"huggingface">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; revision: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; gated: z.ZodBoolean; private: z.ZodBoolean; declaredLicense: z.ZodNullable; sourceFileHashes: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: z.ZodLiteral<"uploaded_file">; originalFileNames: z.ZodArray; mediaTypes: z.ZodArray; sourceFileHashes: z.ZodArray; totalBytes: z.ZodNumber; parserVersion: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: z.ZodLiteral<"generated">; generatorId: z.ZodString; generatorVersion: z.ZodString; seed: z.ZodNumber; generatorHash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: z.ZodLiteral<"learning_batch">; batch: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; taskDefinition: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; admittedBy: z.ZodString; }, z.core.$strip> ], "kind">; type ExternalDatasetSourceRef = z.infer; declare const TrainingSourceRefSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingSource.v1">; id: z.ZodString; profileId: z.ZodString; sessionId: z.ZodString; turnIds: z.ZodDefault>; workspaceId: z.ZodNullable; sourceHash: z.ZodString; clusterKey: z.ZodString; title: z.ZodString; occurredAt: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: z.ZodNullable; grantedAt: z.ZodNullable; purpose: z.ZodLiteral<"task_authoring_and_evaluation">; }, z.core.$strip>; connectedAppIds: z.ZodDefault>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: z.ZodDefault>; }, z.core.$strip>; declare const TasksetSourceRefSchema: z.ZodUnion; id: z.ZodString; profileId: z.ZodString; sessionId: z.ZodString; turnIds: z.ZodDefault>; workspaceId: z.ZodNullable; sourceHash: z.ZodString; clusterKey: z.ZodString; title: z.ZodString; occurredAt: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: z.ZodNullable; grantedAt: z.ZodNullable; purpose: z.ZodLiteral<"task_authoring_and_evaluation">; }, z.core.$strip>; connectedAppIds: z.ZodDefault>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: z.ZodLiteral<"huggingface">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; revision: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; gated: z.ZodBoolean; private: z.ZodBoolean; declaredLicense: z.ZodNullable; sourceFileHashes: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: z.ZodLiteral<"uploaded_file">; originalFileNames: z.ZodArray; mediaTypes: z.ZodArray; sourceFileHashes: z.ZodArray; totalBytes: z.ZodNumber; parserVersion: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: z.ZodLiteral<"generated">; generatorId: z.ZodString; generatorVersion: z.ZodString; seed: z.ZodNumber; generatorHash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: z.ZodLiteral<"learning_batch">; batch: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; taskDefinition: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; admittedBy: z.ZodString; }, z.core.$strip> ], "kind">, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.connectedDatasetSource.v1">; kind: z.ZodLiteral<"connected_activity">; id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; origin: z.ZodEnum<{ hermes: "hermes"; openclaw: "openclaw"; native_chat: "native_chat"; native_work: "native_work"; codex: "codex"; claude_code: "claude_code"; opencode: "opencode"; grok_build: "grok_build"; pi: "pi"; oh_my_pi: "oh_my_pi"; }>; sourceId: z.ZodString; sessionId: z.ZodString; normalizerVersion: z.ZodString; projection: z.ZodEnum<{ conversation: "conversation"; turn: "turn"; }>; ownerUserId: z.ZodString; purpose: z.ZodLiteral<"recorded_evaluation">; sourceFileHashes: z.ZodOptional>; metadata: z.ZodDefault>; }, z.core.$strict> ]>; declare const TaskDataRecordSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskData.v1">; id: z.ZodString; clusterKey: z.ZodString; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; sourceRefs: z.ZodArray; assets: z.ZodOptional; mediaType: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; resourceRefs: z.ZodOptional>; requiredOutputs: z.ZodOptional>; submissionMode: z.ZodOptional>; maxBytes: z.ZodOptional; metadata: z.ZodDefault>; }, z.core.$strip>>>; tags: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strip>; declare const GraderFixtureSchema: z.ZodObject<{ id: z.ZodString; taskId: z.ZodString; label: z.ZodEnum<{ positive: "positive"; negative: "negative"; boundary: "boundary"; adversarial: "adversarial"; prompt_injection: "prompt_injection"; infrastructure_failure: "infrastructure_failure"; }>; output: z.ZodRecord; infrastructureError: z.ZodNullable; expectedPassed: z.ZodBoolean; expectedRewardEligible: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>; type TrainingSourceRef = z.infer; type TasksetSourceRef = z.infer; type TaskDataRecord = z.infer; type GraderFixture = z.infer; declare const TasksetDraftSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetDraft.v1">; id: z.ZodString; revision: z.ZodNumber; profileId: z.ZodString; modelScope: z.ZodDefault; draftId: z.ZodString; requestHash: z.ZodString; sourcePackageHash: z.ZodString; sourceTasksetRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; lineage: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelTasksetAuthoring.v1">; owner: z.ZodObject<{ scopeId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; root: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; parent: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; authoringGraph: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>>>; name: z.ZodString; objective: z.ZodString; purpose: z.ZodDefault>; benchmark: z.ZodDefault; definitionId: z.ZodString; releaseId: z.ZodString; releaseHash: z.ZodString; managedReleasePath: z.ZodString; adaptationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; evaluationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; primaryMetric: z.ZodEnum<{ foreground_tokens: "foreground_tokens"; success_rate: "success_rate"; latency_ms: "latency_ms"; cost_usd: "cost_usd"; }>; qualityGate: z.ZodEnum<{ none: "none"; non_regression: "non_regression"; all_pass: "all_pass"; }>; source: z.ZodEnum<{ builtin: "builtin"; imported: "imported"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; preferenceComparison: z.ZodDefault; releaseId: z.ZodString; releaseHash: z.ZodString; publishedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; status: z.ZodEnum<{ draft: "draft"; published: "published"; validating: "validating"; needs_review: "needs_review"; }>; sourceRefs: z.ZodDefault; id: z.ZodString; profileId: z.ZodString; sessionId: z.ZodString; turnIds: z.ZodDefault>; workspaceId: z.ZodNullable; sourceHash: z.ZodString; clusterKey: z.ZodString; title: z.ZodString; occurredAt: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: z.ZodNullable; grantedAt: z.ZodNullable; purpose: z.ZodLiteral<"task_authoring_and_evaluation">; }, z.core.$strip>; connectedAppIds: z.ZodDefault>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: z.ZodLiteral<"huggingface">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; revision: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; gated: z.ZodBoolean; private: z.ZodBoolean; declaredLicense: z.ZodNullable; sourceFileHashes: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: z.ZodLiteral<"uploaded_file">; originalFileNames: z.ZodArray; mediaTypes: z.ZodArray; sourceFileHashes: z.ZodArray; totalBytes: z.ZodNumber; parserVersion: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: z.ZodLiteral<"generated">; generatorId: z.ZodString; generatorVersion: z.ZodString; seed: z.ZodNumber; generatorHash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: z.ZodLiteral<"learning_batch">; batch: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; taskDefinition: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; admittedBy: z.ZodString; }, z.core.$strip> ], "kind">, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.connectedDatasetSource.v1">; kind: z.ZodLiteral<"connected_activity">; id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; origin: z.ZodEnum<{ hermes: "hermes"; openclaw: "openclaw"; native_chat: "native_chat"; native_work: "native_work"; codex: "codex"; claude_code: "claude_code"; opencode: "opencode"; grok_build: "grok_build"; pi: "pi"; oh_my_pi: "oh_my_pi"; }>; sourceId: z.ZodString; sessionId: z.ZodString; normalizerVersion: z.ZodString; projection: z.ZodEnum<{ conversation: "conversation"; turn: "turn"; }>; ownerUserId: z.ZodString; purpose: z.ZodLiteral<"recorded_evaluation">; sourceFileHashes: z.ZodOptional>; metadata: z.ZodDefault>; }, z.core.$strict> ]>>>; datasetArtifact: z.ZodOptional; id: z.ZodString; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; contentHash: z.ZodString; format: z.ZodLiteral<"parquet">; schema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetSemanticSchema.v1">; fields: z.ZodArray; logicalType: z.ZodEnum<{ string: "string"; boolean: "boolean"; messages: "messages"; integer: "integer"; float: "float"; json: "json"; }>; nullable: z.ZodBoolean; policy: z.ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; }, z.core.$strip>>; schemaHash: z.ZodString; }, z.core.$strip>; shards: z.ZodArray; path: z.ZodString; contentHash: z.ZodString; schemaHash: z.ZodString; sizeBytes: z.ZodNumber; rowCount: z.ZodNumber; rowGroupCount: z.ZodNumber; }, z.core.$strip>>; rowCount: z.ZodNumber; splitCounts: z.ZodRecord, z.ZodNumber>; sourceReceiptRefs: z.ZodArray; mappingHash: z.ZodString; qualityReportHash: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>>; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.taskEnvironment.v1">; kind: z.ZodEnum<{ chat: "chat"; work: "work"; agent: "agent"; program: "program"; stateful_harness: "stateful_harness"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; toolNames: z.ZodDefault>; actionBindings: z.ZodOptional; actionId: z.ZodString; modelToolName: z.ZodString; description: z.ZodString; inputSchema: z.ZodRecord; actionSchemaHash: z.ZodString; agentRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; implementationHash: z.ZodString; runtimeBindingId: z.ZodString; capabilityReceiptHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; studentVisible: z.ZodBoolean; timeoutMs: z.ZodNumber; episodeArgumentBindings: z.ZodDefault; }, z.core.$strict>>>; }, z.core.$strict>>>; lifecycle: z.ZodArray>; defaultTimeoutMs: z.ZodNumber; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; resources: z.ZodOptional; path: z.ZodString; mediaType: z.ZodOptional>; visibility: z.ZodEnum<{ privileged: "privileged"; policy_visible: "policy_visible"; policy_hidden: "policy_hidden"; }>; required: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; metadata: z.ZodDefault>; }, z.core.$strip>; output: z.ZodDefault; jsonSchema: z.ZodNullable>; requiredOutputSource: z.ZodOptional>; responsePath: z.ZodOptional; renderer: z.ZodNullable>; }, z.core.$strip>>; }, z.core.$strip>>; capabilities: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetCapabilities.v1">; taskKind: z.ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; supportedSignals: z.ZodArray>; compatibleMethods: z.ZodArray>; rewardKinds: z.ZodArray>; requiresTools: z.ZodBoolean; requiresState: z.ZodBoolean; requiresPrivilegedGrading: z.ZodBoolean; environmentPlacements: z.ZodArray>; exportable: z.ZodBoolean; portabilityBlockers: z.ZodDefault>; }, z.core.$strip>; metrics: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetMetricPolicy.v1">; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; review: z.ZodObject<{ enabled: z.ZodBoolean; candidateCount: z.ZodNumber; minimumSamples: z.ZodDefault; allowTies: z.ZodBoolean; allowRejectAll: z.ZodBoolean; rubric: z.ZodString; criteria: z.ZodArray>; }, z.core.$strip>; tasks: z.ZodDefault; id: z.ZodString; clusterKey: z.ZodString; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; assets: z.ZodOptional; mediaType: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; resourceRefs: z.ZodOptional>; requiredOutputs: z.ZodOptional>; submissionMode: z.ZodOptional>; maxBytes: z.ZodOptional; metadata: z.ZodDefault>; }, z.core.$strip>>>; tags: z.ZodDefault>; metadata: z.ZodDefault>; sourceRefs: z.ZodDefault>; }, z.core.$strip>>>; graders: z.ZodDefault>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"model_judge">; rubric: z.ZodString; judge: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; calibrationFixtureRefs: z.ZodArray; calibrationStatus: z.ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubric: z.ZodString; reviewerRole: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; module: z.ZodString; exportName: z.ZodString; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strip> ]>>>; graderFixtures: z.ZodDefault; output: z.ZodRecord; infrastructureError: z.ZodNullable; expectedPassed: z.ZodBoolean; expectedRewardEligible: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; learningSignals: z.ZodObject<{ demonstrations: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"demonstration">; prompt: z.ZodDefault>; response: z.ZodDefault>; }, z.core.$strip>>>; preferences: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"preference">; prompt: z.ZodString; chosen: z.ZodString; rejected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; corrections: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"correction">; original: z.ZodString; corrected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; feedback: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"feedback">; feedback: z.ZodString; polarity: z.ZodEnum<{ positive: "positive"; negative: "negative"; mixed: "mixed"; neutral: "neutral"; }>; }, z.core.$strip>>>; rewards: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"reward">; task: z.ZodString; rules: z.ZodArray>; otherwisePoints: z.ZodNumber; executable: z.ZodBoolean; }, z.core.$strip>>>; labels: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"label">; labelKind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodArray>; calibrationExamples: z.ZodObject<{ positive: z.ZodString; negative: z.ZodString; boundary: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strip>; publishedTasksetRef: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>; type TasksetDraft = z.infer; declare const ImmutableReleaseRefSchema: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; type ImmutableReleaseRef = z.infer; declare const HarnessEvaluationReviewReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessEvaluationReviewReceipt.v1">; id: z.ZodString; ownerScope: z.ZodObject<{ kind: z.ZodEnum<{ personal: "personal"; team: "team"; }>; id: z.ZodString; }, z.core.$strict>; workspaceRef: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; previousWatermark: z.ZodNullable>; nextWatermark: z.ZodObject<{ cursor: z.ZodString; throughCreatedAt: z.ZodString; }, z.core.$strict>; selectedEvidence: z.ZodArray; kind: z.ZodEnum<{ apply_receipt: "apply_receipt"; evaluation: "evaluation"; harness_advance: "harness_advance"; model_candidate: "model_candidate"; observation: "observation"; proposal: "proposal"; refiner_outcome: "refiner_outcome"; rollback: "rollback"; route_decision: "route_decision"; taskset: "taskset"; training_qualification: "training_qualification"; trigger: "trigger"; validation: "validation"; work_outcome: "work_outcome"; }>; sourceRef: z.ZodString; sourcePolicy: z.ZodObject<{ policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; state: z.ZodEnum<{ authorized: "authorized"; deleted: "deleted"; expired: "expired"; revoked: "revoked"; }>; checkedAt: z.ZodString; }, z.core.$strict>; occurrenceKey: z.ZodString; occurredAt: z.ZodString; }, z.core.$strict>>; excludedEvidence: z.ZodArray; sourcePolicy: z.ZodNullable; state: z.ZodEnum<{ authorized: "authorized"; deleted: "deleted"; expired: "expired"; revoked: "revoked"; }>; checkedAt: z.ZodString; }, z.core.$strict>>; reason: z.ZodEnum<{ before_watermark: "before_watermark"; budget: "budget"; deleted: "deleted"; duplicate: "duplicate"; expired: "expired"; outside_scope: "outside_scope"; resolved: "resolved"; revoked: "revoked"; sensitive: "sensitive"; unverified: "unverified"; }>; }, z.core.$strict>>; claim: z.ZodNullable>; independentOccurrences: z.ZodNumber; unresolvedOccurrences: z.ZodNumber; }, z.core.$strict>>; classification: z.ZodEnum<{ harness_maintenance: "harness_maintenance"; model_improvement: "model_improvement"; no_action: "no_action"; product: "product"; runtime: "runtime"; taskset: "taskset"; }>; triage: z.ZodArray; status: z.ZodEnum<{ blocked: "blocked"; not_applicable: "not_applicable"; resolved: "resolved"; unresolved: "unresolved"; }>; reason: z.ZodString; evidenceRefs: z.ZodArray>; }, z.core.$strict>>; reason: z.ZodString; nextAuthority: z.ZodEnum<{ evaluation_system: "evaluation_system"; human_review: "human_review"; none: "none"; product_team: "product_team"; runtime_service: "runtime_service"; training_system: "training_system"; }>; maxEstimatedCostUsd: z.ZodNumber; tasksetProposal: z.ZodNullable>; evaluation: z.ZodNullable>; trainingQualification: z.ZodNullable>; policyVersion: z.ZodString; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; type HarnessEvaluationReviewReceipt = z.infer; declare const AgentSnapshotSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.agentSnapshot.v2">; id: z.ZodString; sourceRelease: z.ZodNullable>; instructions: z.ZodArray; }, z.core.$strict>>; skills: z.ZodArray; }, z.core.$strict>>; agents: z.ZodArray; }, z.core.$strict>>; toolDeclarations: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilityRequirements: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; dependencyLock: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; portability: z.ZodObject<{ portable: z.ZodBoolean; blockers: z.ZodArray; localOnlyAssetRefs: z.ZodArray; hostPrivateAssetRefs: z.ZodArray; }, z.core.$strict>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const HarnessReleaseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessRelease.v2">; id: z.ZodString; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; program: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; lifecycle: z.ZodObject<{ create: z.ZodLiteral; reset: z.ZodLiteral; step: z.ZodLiteral; collect: z.ZodLiteral; destroy: z.ZodLiteral; resetScope: z.ZodEnum<{ attempt: "attempt"; task: "task"; }>; }, z.core.$strict>; graderInterface: z.ZodObject<{ visibleEvidence: z.ZodArray; privilegedEvidence: z.ZodArray; privateVerifierIsolation: z.ZodBoolean; }, z.core.$strict>; files: z.ZodArray; }, z.core.$strict>>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; type AgentSnapshot = z.infer; type HarnessRelease = z.infer; declare const ImprovementSafeBoundaryKindSchema: z.ZodEnum<{ before_model_step: "before_model_step"; completed_tool_batch: "completed_tool_batch"; turn_completed: "turn_completed"; turn_paused: "turn_paused"; }>; declare const ImprovementObservationSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.improvementObservation.v1">; id: z.ZodString; runRef: z.ZodString; turnId: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; overlay: z.ZodNullable>; eventRefs: z.ZodArray; contentHash: z.ZodString; }, z.core.$strict>>; kind: z.ZodEnum<{ completion_detour: "completion_detour"; recovery: "recovery"; retry: "retry"; reusable_success: "reusable_success"; tool_failure: "tool_failure"; user_turn: "user_turn"; validation: "validation"; }>; state: z.ZodEnum<{ open: "open"; recovered: "recovered"; terminal: "terminal"; }>; tool: z.ZodNullable>; deterministicClass: z.ZodNullable; summary: z.ZodString; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const RefinementTriggerDecisionSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.refinementTriggerDecision.v1">; id: z.ZodString; runRef: z.ZodString; turnId: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; overlay: z.ZodNullable>; observations: z.ZodArray>; decision: z.ZodEnum<{ no_action: "no_action"; queue_refiner: "queue_refiner"; route_deterministically: "route_deterministically"; }>; deterministicRoute: z.ZodNullable>; suggestedRoutes: z.ZodArray>; reason: z.ZodString; deduplicationKey: z.ZodString; policy: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.refinementTriggerPolicy.v1">; maxEstimatedCostUsd: z.ZodNumber; cooldownMs: z.ZodNumber; maxPendingPlans: z.ZodNumber; maxEvidenceEvents: z.ZodNumber; maxProposalEdits: z.ZodNumber; maxProposalBytes: z.ZodNumber; }, z.core.$strict>; estimatedMaxCostUsd: z.ZodNumber; pendingPlanCount: z.ZodNumber; boundary: z.ZodObject<{ kind: z.ZodEnum<{ before_model_step: "before_model_step"; completed_tool_batch: "completed_tool_batch"; turn_completed: "turn_completed"; turn_paused: "turn_paused"; }>; eventSequence: z.ZodNumber; occurredAt: z.ZodString; }, z.core.$strict>; cooldownUntil: z.ZodNullable; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const ImprovementRouteDecisionSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.improvementRouteDecision.v1">; id: z.ZodString; trigger: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; route: z.ZodEnum<{ agent: "agent"; memory: "memory"; product: "product"; prompt: "prompt"; runtime: "runtime"; skill: "skill"; taskset: "taskset"; training: "training"; }>; authority: z.ZodEnum<{ evaluation_system: "evaluation_system"; human_review: "human_review"; refiner_model: "refiner_model"; runtime_service: "runtime_service"; training_system: "training_system"; }>; automatic: z.ZodBoolean; reason: z.ZodString; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const HarnessRefinerOutcomeSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessRefinerOutcome.v1">; id: z.ZodString; trigger: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; decision: z.ZodEnum<{ no_action: "no_action"; proposed: "proposed"; }>; proposal: z.ZodNullable>; reason: z.ZodString; evidenceRefs: z.ZodArray>; estimatedCostUsd: z.ZodNumber; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const ImprovementApplyReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.improvementApplyReceipt.v1">; id: z.ZodString; proposal: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; beforeOverlay: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; afterOverlay: z.ZodNullable>; decision: z.ZodEnum<{ applied: "applied"; conflict: "conflict"; declined: "declined"; retained: "retained"; rolled_back: "rolled_back"; }>; boundary: z.ZodObject<{ kind: z.ZodEnum<{ before_model_step: "before_model_step"; completed_tool_batch: "completed_tool_batch"; turn_completed: "turn_completed"; turn_paused: "turn_paused"; }>; eventSequence: z.ZodNumber; occurredAt: z.ZodString; }, z.core.$strict>; validationRefs: z.ZodArray>; outcomeEvidenceRefs: z.ZodArray; contentHash: z.ZodString; }, z.core.$strict>>; rollbackOf: z.ZodNullable>; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; type ImprovementSafeBoundaryKind = z.infer; type ImprovementObservation = z.infer; type RefinementTriggerDecision = z.infer; type ImprovementRouteDecision = z.infer; type HarnessRefinerOutcome = z.infer; type ImprovementApplyReceipt = z.infer; declare const HarnessWorkspaceSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessWorkspace.v1">; id: z.ZodString; ownerScope: z.ZodObject<{ kind: z.ZodEnum<{ personal: "personal"; team: "team"; }>; id: z.ZodString; }, z.core.$strict>; name: z.ZodString; location: z.ZodEnum<{ hosted: "hosted"; local: "local"; }>; sourceRevision: z.ZodString; revision: z.ZodNumber; dirty: z.ZodBoolean; currentChannel: z.ZodObject<{ name: z.ZodString; release: z.ZodNullable>; revision: z.ZodNumber; }, z.core.$strict>; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strict>; declare const HarnessRunOverlaySchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessRunOverlay.v1">; id: z.ZodString; runId: z.ZodString; baseHarnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; workspace: z.ZodObject<{ workspaceId: z.ZodString; revision: z.ZodNumber; sourceRevision: z.ZodString; channelRevision: z.ZodNumber; }, z.core.$strict>; revision: z.ZodNumber; status: z.ZodEnum<{ abandoned: "abandoned"; active: "active"; frozen: "frozen"; }>; edits: z.ZodArray; operation: z.ZodEnum<{ create: "create"; delete: "delete"; update: "update"; }>; target: z.ZodString; summary: z.ZodString; content: z.ZodNullable; contentHash: z.ZodNullable; effects: z.ZodArray>; }, z.core.$strict>>; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const HarnessImprovementProposalSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessImprovementProposal.v1">; id: z.ZodString; overlay: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; baseHarnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; expectedWorkspace: z.ZodObject<{ workspaceId: z.ZodString; revision: z.ZodNumber; sourceRevision: z.ZodString; channelRevision: z.ZodNumber; }, z.core.$strict>; requestedScope: z.ZodEnum<{ global: "global"; personal: "personal"; team: "team"; }>; route: z.ZodEnum<{ agent: "agent"; memory: "memory"; product: "product"; prompt: "prompt"; runtime: "runtime"; skill: "skill"; taskset: "taskset"; training: "training"; }>; risk: z.ZodEnum<{ low: "low"; restricted: "restricted"; review: "review"; }>; effects: z.ZodArray>; evidence: z.ZodArray; id: z.ZodString; contentHash: z.ZodNullable; }, z.core.$strict>>; edits: z.ZodArray; operation: z.ZodEnum<{ create: "create"; delete: "delete"; update: "update"; }>; target: z.ZodString; summary: z.ZodString; content: z.ZodNullable; contentHash: z.ZodNullable; effects: z.ZodArray>; }, z.core.$strict>>; validationPlan: z.ZodArray; description: z.ZodString; required: z.ZodBoolean; }, z.core.$strict>>; expectedOutcome: z.ZodString; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const HarnessTargetedValidationReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessTargetedValidationReceipt.v1">; id: z.ZodString; proposal: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; validationId: z.ZodString; kind: z.ZodEnum<{ business_formula: "business_formula"; component_activation: "component_activation"; dependency: "dependency"; file_render: "file_render"; memory: "memory"; observed_recovery: "observed_recovery"; package: "package"; prompt: "prompt"; schema: "schema"; skill: "skill"; targeted_evaluation: "targeted_evaluation"; }>; status: z.ZodEnum<{ blocked: "blocked"; failed: "failed"; passed: "passed"; skipped: "skipped"; }>; summary: z.ZodString; evidenceRefs: z.ZodArray; id: z.ZodString; contentHash: z.ZodNullable; }, z.core.$strict>>; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const HarnessAdvanceReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessAdvanceReceipt.v1">; id: z.ZodString; workspaceId: z.ZodString; ownerScope: z.ZodObject<{ kind: z.ZodEnum<{ personal: "personal"; team: "team"; }>; id: z.ZodString; }, z.core.$strict>; proposal: z.ZodNullable>; expectedWorkspaceRevision: z.ZodNumber; observedWorkspaceRevision: z.ZodNumber; previousChannelRevision: z.ZodNumber; nextChannelRevision: z.ZodNumber; previousRelease: z.ZodNullable>; nextRelease: z.ZodNullable>; validationReceipts: z.ZodArray>; decision: z.ZodEnum<{ advanced: "advanced"; conflict: "conflict"; retained: "retained"; rolled_back: "rolled_back"; }>; reason: z.ZodString; rollbackOf: z.ZodNullable>; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const HarnessOverlayMergeReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessOverlayMergeReceipt.v1">; id: z.ZodString; workspaceId: z.ZodString; baseHarnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; leftOverlay: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; rightOverlay: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; decision: z.ZodEnum<{ conflict: "conflict"; merged: "merged"; }>; mergedOverlay: z.ZodNullable>; conflictTargets: z.ZodArray; requiresRevalidation: z.ZodLiteral; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; type HarnessWorkspace = z.infer; type HarnessRunOverlay = z.infer; type HarnessImprovementProposal = z.infer; type HarnessTargetedValidationReceipt = z.infer; type HarnessAdvanceReceipt = z.infer; type HarnessOverlayMergeReceipt = z.infer; declare const HarnessRefinementCandidateSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessRefinementCandidate.v1">; id: z.ZodString; ownerScope: z.ZodObject<{ kind: z.ZodEnum<{ personal: "personal"; team: "team"; }>; id: z.ZodString; }, z.core.$strict>; workspaceRef: z.ZodString; fingerprint: z.ZodString; recurrenceFamily: z.ZodString; statement: z.ZodString; status: z.ZodEnum<{ confirmed: "confirmed"; expired: "expired"; rejected: "rejected"; resolved: "resolved"; unresolved: "unresolved"; }>; occurrences: z.ZodArray; kind: z.ZodEnum<{ apply_receipt: "apply_receipt"; evaluation: "evaluation"; harness_advance: "harness_advance"; model_candidate: "model_candidate"; observation: "observation"; proposal: "proposal"; refiner_outcome: "refiner_outcome"; rollback: "rollback"; route_decision: "route_decision"; taskset: "taskset"; training_qualification: "training_qualification"; trigger: "trigger"; validation: "validation"; work_outcome: "work_outcome"; }>; sourceRef: z.ZodString; sourcePolicy: z.ZodObject<{ policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; state: z.ZodEnum<{ authorized: "authorized"; deleted: "deleted"; expired: "expired"; revoked: "revoked"; }>; checkedAt: z.ZodString; }, z.core.$strict>; occurrenceKey: z.ZodString; occurredAt: z.ZodString; }, z.core.$strict>>; counterevidence: z.ZodArray; kind: z.ZodEnum<{ apply_receipt: "apply_receipt"; evaluation: "evaluation"; harness_advance: "harness_advance"; model_candidate: "model_candidate"; observation: "observation"; proposal: "proposal"; refiner_outcome: "refiner_outcome"; rollback: "rollback"; route_decision: "route_decision"; taskset: "taskset"; training_qualification: "training_qualification"; trigger: "trigger"; validation: "validation"; work_outcome: "work_outcome"; }>; sourceRef: z.ZodString; sourcePolicy: z.ZodObject<{ policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; state: z.ZodEnum<{ authorized: "authorized"; deleted: "deleted"; expired: "expired"; revoked: "revoked"; }>; checkedAt: z.ZodString; }, z.core.$strict>; occurrenceKey: z.ZodString; occurredAt: z.ZodString; }, z.core.$strict>>; sourceReviews: z.ZodArray>; relatedHarnessReleases: z.ZodArray>; firstSeenAt: z.ZodString; lastSeenAt: z.ZodString; lastReviewedAt: z.ZodString; expiresAt: z.ZodString; resolution: z.ZodNullable; reason: z.ZodString; evidenceRefs: z.ZodArray>; resolvedAt: z.ZodString; }, z.core.$strict>>; createdAt: z.ZodString; updatedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; declare const HarnessRefinementCandidateLifecycleReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessRefinementCandidateLifecycleReceipt.v1">; id: z.ZodString; candidateId: z.ZodString; decision: z.ZodEnum<{ created: "created"; expired: "expired"; merged: "merged"; rejected: "rejected"; reopened: "reopened"; resolved: "resolved"; }>; beforeCandidate: z.ZodNullable>; afterCandidate: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; review: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; addedEvidence: z.ZodArray; kind: z.ZodEnum<{ apply_receipt: "apply_receipt"; evaluation: "evaluation"; harness_advance: "harness_advance"; model_candidate: "model_candidate"; observation: "observation"; proposal: "proposal"; refiner_outcome: "refiner_outcome"; rollback: "rollback"; route_decision: "route_decision"; taskset: "taskset"; training_qualification: "training_qualification"; trigger: "trigger"; validation: "validation"; work_outcome: "work_outcome"; }>; sourceRef: z.ZodString; sourcePolicy: z.ZodObject<{ policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; state: z.ZodEnum<{ authorized: "authorized"; deleted: "deleted"; expired: "expired"; revoked: "revoked"; }>; checkedAt: z.ZodString; }, z.core.$strict>; occurrenceKey: z.ZodString; occurredAt: z.ZodString; }, z.core.$strict>>; removedEvidence: z.ZodArray>; reason: z.ZodString; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; declare const HarnessCrossRunRefinementRequestSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessCrossRunRefinementRequest.v1">; id: z.ZodString; ownerScope: z.ZodObject<{ kind: z.ZodEnum<{ personal: "personal"; team: "team"; }>; id: z.ZodString; }, z.core.$strict>; workspaceRef: z.ZodString; candidate: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; candidateFingerprint: z.ZodString; review: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; admittedHarness: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; evidence: z.ZodArray; kind: z.ZodEnum<{ apply_receipt: "apply_receipt"; evaluation: "evaluation"; harness_advance: "harness_advance"; model_candidate: "model_candidate"; observation: "observation"; proposal: "proposal"; refiner_outcome: "refiner_outcome"; rollback: "rollback"; route_decision: "route_decision"; taskset: "taskset"; training_qualification: "training_qualification"; trigger: "trigger"; validation: "validation"; work_outcome: "work_outcome"; }>; sourceRef: z.ZodString; sourcePolicy: z.ZodObject<{ policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; state: z.ZodEnum<{ authorized: "authorized"; deleted: "deleted"; expired: "expired"; revoked: "revoked"; }>; checkedAt: z.ZodString; }, z.core.$strict>; occurrenceKey: z.ZodString; occurredAt: z.ZodString; }, z.core.$strict>>; capabilities: z.ZodObject<{ memory: z.ZodBoolean; prompt: z.ZodBoolean; skill: z.ZodBoolean; agent: z.ZodBoolean; }, z.core.$strict>; deduplicationKey: z.ZodString; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; type HarnessRefinementCandidate = z.infer; type HarnessRefinementCandidateLifecycleReceipt = z.infer; type HarnessCrossRunRefinementRequest = z.infer; declare const ToolDeclarationSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; inputSchema: z.ZodRecord; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>; type ToolDeclaration = z.infer; declare const HarnessSourcePackageSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessSourcePackage.v1">; agentSnapshot: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.agentSnapshot.v2">; id: z.ZodString; sourceRelease: z.ZodNullable>; instructions: z.ZodArray; }, z.core.$strict>>; skills: z.ZodArray; }, z.core.$strict>>; agents: z.ZodArray; }, z.core.$strict>>; toolDeclarations: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilityRequirements: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; dependencyLock: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; portability: z.ZodObject<{ portable: z.ZodBoolean; blockers: z.ZodArray; localOnlyAssetRefs: z.ZodArray; hostPrivateAssetRefs: z.ZodArray; }, z.core.$strict>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; harnessRelease: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessRelease.v2">; id: z.ZodString; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; program: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; lifecycle: z.ZodObject<{ create: z.ZodLiteral; reset: z.ZodLiteral; step: z.ZodLiteral; collect: z.ZodLiteral; destroy: z.ZodLiteral; resetScope: z.ZodEnum<{ attempt: "attempt"; task: "task"; }>; }, z.core.$strict>; graderInterface: z.ZodObject<{ visibleEvidence: z.ZodArray; privilegedEvidence: z.ZodArray; privateVerifierIsolation: z.ZodBoolean; }, z.core.$strict>; files: z.ZodArray; }, z.core.$strict>>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; files: z.ZodArray>; contentHash: z.ZodString; }, z.core.$strict>; type HarnessSourcePackage = z.infer; declare const ProfileWorkflowSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; description: z.ZodString; inputSchema: z.ZodRecord; invocation: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"instructions">; instructions: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; skillPaths: z.ZodArray; }, z.core.$strict>; type ProfileWorkflow = z.infer; declare const ProfileWorkflowActionSchema: z.ZodObject<{ id: z.ZodString; agentId: z.ZodString; sourceActionId: z.ZodString; inputSchema: z.ZodRecord; }, z.core.$strict>; type ProfileWorkflowAction = z.infer; declare const AttemptReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.attemptReceipt.v1">; id: z.ZodString; runManifest: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; taskId: z.ZodString; seed: z.ZodString; terminal: z.ZodBoolean; failureClass: z.ZodNullable>; outputHash: z.ZodNullable; traceHash: z.ZodString; artifactRefs: z.ZodArray>; sizeBytes: z.ZodDefault>; }, z.core.$strict>>; graderEvidenceRefs: z.ZodArray>; sizeBytes: z.ZodDefault>; }, z.core.$strict>>; startedAt: z.ZodString; completedAt: z.ZodString; latencyMs: z.ZodNumber; costUsd: z.ZodNullable; legacyAttemptRef: z.ZodDefault>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const EvaluationResultSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.evaluationResult.v1">; id: z.ZodString; runManifest: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; model: z.ZodObject<{ provider: z.ZodString; model: z.ZodString; revision: z.ZodDefault>; artifactHash: z.ZodDefault>; tokenizerRevision: z.ZodDefault>; chatTemplateHash: z.ZodDefault>; }, z.core.$strict>; receiptRefs: z.ZodArray>; attemptCount: z.ZodNumber; rewardEligibleCount: z.ZodNumber; terminalCount: z.ZodNumber; meanScore: z.ZodNullable; failureCounts: z.ZodRecord, z.ZodNumber>; authoredMetric: z.ZodOptional; runManifest: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; policy: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetMetricPolicy.v1">; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; policyHash: z.ZodString; receiptRefs: z.ZodArray>; includedCount: z.ZodNumber; missingRewardCount: z.ZodNumber; excludedCount: z.ZodNumber; value: z.ZodNullable; contentHash: z.ZodString; }, z.core.$strict>>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; type AttemptReceipt = z.infer; type EvaluationResult = z.infer; declare const ProfileEvaluationCatalogSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.profileEvaluations.v1">; definitions: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; taskIds: z.ZodArray; seeds: z.ZodArray; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; }, z.core.$strict>>; suites: z.ZodArray; definitionIds: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; type ProfileEvaluationCatalog = z.infer; declare const ModelTasksetDraftRequestSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelTasksetDraftRequest.v1">; operationId: z.ZodString; modelId: z.ZodString; expectedModelRevision: z.ZodNumber; sourcePackageHash: z.ZodString; }, z.core.$strict>; type ModelTasksetDraftRequest = z.infer; declare const TasksetDraftFileMutationSchema: z.ZodObject<{ draftId: z.ZodString; expectedDraftRevision: z.ZodNumber; path: z.ZodString; expectedFileHash: z.ZodNullable; content: z.ZodNullable; data: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; type TasksetDraftFileMutation = z.infer; declare const TasksetReadinessReportSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetReadiness.v1">; tasksetId: z.ZodString; tasksetHash: z.ZodString; ready: z.ZodBoolean; recommendedMethod: z.ZodEnum<{ none: "none"; retrieval: "retrieval"; sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; trainingPath: z.ZodDefault; bootstrap: z.ZodNullable; purpose: z.ZodLiteral<"trajectory_bootstrap">; demonstrationRefs: z.ZodArray; limitations: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; methodReadiness: z.ZodDefault; status: z.ZodEnum<{ recommended: "recommended"; compatible: "compatible"; needs_dataset_work: "needs_dataset_work"; }>; reasonCodes: z.ZodDefault>>; reasons: z.ZodDefault>; }, z.core.$strip>>>; compatibleDestinationClasses: z.ZodArray>; blockers: z.ZodDefault; }, z.core.$strip>>>; advisories: z.ZodDefault; }, z.core.$strip>>>; warnings: z.ZodDefault>; generatedAt: z.ZodString; }, z.core.$strip>; declare const TasksetSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskset.v1">; id: z.ZodString; revision: z.ZodDefault; profileId: z.ZodString; profileRelease: z.ZodOptional>>; createImproveRunId: z.ZodDefault>; name: z.ZodString; objective: z.ZodString; purpose: z.ZodDefault>; benchmark: z.ZodDefault; definitionId: z.ZodString; releaseId: z.ZodString; releaseHash: z.ZodString; managedReleasePath: z.ZodString; adaptationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; evaluationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; primaryMetric: z.ZodEnum<{ foreground_tokens: "foreground_tokens"; success_rate: "success_rate"; latency_ms: "latency_ms"; cost_usd: "cost_usd"; }>; qualityGate: z.ZodEnum<{ none: "none"; non_regression: "non_regression"; all_pass: "all_pass"; }>; source: z.ZodEnum<{ builtin: "builtin"; imported: "imported"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; preferenceComparison: z.ZodDefault; releaseId: z.ZodString; releaseHash: z.ZodString; publishedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; status: z.ZodEnum<{ failed: "failed"; draft: "draft"; archived: "archived"; ready: "ready"; blocked: "blocked"; awaiting_disclosure_approval: "awaiting_disclosure_approval"; awaiting_materialization_approval: "awaiting_materialization_approval"; materializing: "materializing"; validating: "validating"; needs_review: "needs_review"; baselining: "baselining"; }>; sourceRefs: z.ZodArray; id: z.ZodString; profileId: z.ZodString; sessionId: z.ZodString; turnIds: z.ZodDefault>; workspaceId: z.ZodNullable; sourceHash: z.ZodString; clusterKey: z.ZodString; title: z.ZodString; occurredAt: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: z.ZodNullable; grantedAt: z.ZodNullable; purpose: z.ZodLiteral<"task_authoring_and_evaluation">; }, z.core.$strip>; connectedAppIds: z.ZodDefault>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: z.ZodLiteral<"huggingface">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; revision: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; gated: z.ZodBoolean; private: z.ZodBoolean; declaredLicense: z.ZodNullable; sourceFileHashes: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: z.ZodLiteral<"uploaded_file">; originalFileNames: z.ZodArray; mediaTypes: z.ZodArray; sourceFileHashes: z.ZodArray; totalBytes: z.ZodNumber; parserVersion: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: z.ZodLiteral<"generated">; generatorId: z.ZodString; generatorVersion: z.ZodString; seed: z.ZodNumber; generatorHash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: z.ZodLiteral<"learning_batch">; batch: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; taskDefinition: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; admittedBy: z.ZodString; }, z.core.$strip> ], "kind">, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.connectedDatasetSource.v1">; kind: z.ZodLiteral<"connected_activity">; id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; origin: z.ZodEnum<{ hermes: "hermes"; openclaw: "openclaw"; native_chat: "native_chat"; native_work: "native_work"; codex: "codex"; claude_code: "claude_code"; opencode: "opencode"; grok_build: "grok_build"; pi: "pi"; oh_my_pi: "oh_my_pi"; }>; sourceId: z.ZodString; sessionId: z.ZodString; normalizerVersion: z.ZodString; projection: z.ZodEnum<{ conversation: "conversation"; turn: "turn"; }>; ownerUserId: z.ZodString; purpose: z.ZodLiteral<"recorded_evaluation">; sourceFileHashes: z.ZodOptional>; metadata: z.ZodDefault>; }, z.core.$strict> ]>>; datasetArtifact: z.ZodOptional; id: z.ZodString; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; contentHash: z.ZodString; format: z.ZodLiteral<"parquet">; schema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetSemanticSchema.v1">; fields: z.ZodArray; logicalType: z.ZodEnum<{ string: "string"; boolean: "boolean"; messages: "messages"; integer: "integer"; float: "float"; json: "json"; }>; nullable: z.ZodBoolean; policy: z.ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; }, z.core.$strip>>; schemaHash: z.ZodString; }, z.core.$strip>; shards: z.ZodArray; path: z.ZodString; contentHash: z.ZodString; schemaHash: z.ZodString; sizeBytes: z.ZodNumber; rowCount: z.ZodNumber; rowGroupCount: z.ZodNumber; }, z.core.$strip>>; rowCount: z.ZodNumber; splitCounts: z.ZodRecord, z.ZodNumber>; sourceReceiptRefs: z.ZodArray; mappingHash: z.ZodString; qualityReportHash: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>>; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.taskEnvironment.v1">; kind: z.ZodEnum<{ chat: "chat"; work: "work"; agent: "agent"; program: "program"; stateful_harness: "stateful_harness"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; toolNames: z.ZodDefault>; actionBindings: z.ZodOptional; actionId: z.ZodString; modelToolName: z.ZodString; description: z.ZodString; inputSchema: z.ZodRecord; actionSchemaHash: z.ZodString; agentRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; implementationHash: z.ZodString; runtimeBindingId: z.ZodString; capabilityReceiptHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; studentVisible: z.ZodBoolean; timeoutMs: z.ZodNumber; episodeArgumentBindings: z.ZodDefault; }, z.core.$strict>>>; }, z.core.$strict>>>; lifecycle: z.ZodArray>; defaultTimeoutMs: z.ZodNumber; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; resources: z.ZodOptional; path: z.ZodString; mediaType: z.ZodOptional>; visibility: z.ZodEnum<{ privileged: "privileged"; policy_visible: "policy_visible"; policy_hidden: "policy_hidden"; }>; required: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; metadata: z.ZodDefault>; }, z.core.$strip>; capabilities: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetCapabilities.v1">; taskKind: z.ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; supportedSignals: z.ZodArray>; compatibleMethods: z.ZodArray>; rewardKinds: z.ZodArray>; requiresTools: z.ZodBoolean; requiresState: z.ZodBoolean; requiresPrivilegedGrading: z.ZodBoolean; environmentPlacements: z.ZodArray>; exportable: z.ZodBoolean; portabilityBlockers: z.ZodDefault>; }, z.core.$strip>; metrics: z.ZodOptional; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>>; tasks: z.ZodArray; id: z.ZodString; clusterKey: z.ZodString; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; sourceRefs: z.ZodArray; assets: z.ZodOptional; mediaType: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; resourceRefs: z.ZodOptional>; requiredOutputs: z.ZodOptional>; submissionMode: z.ZodOptional>; maxBytes: z.ZodOptional; metadata: z.ZodDefault>; }, z.core.$strip>>>; tags: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strip>>; graders: z.ZodArray>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"model_judge">; rubric: z.ZodString; judge: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; calibrationFixtureRefs: z.ZodArray; calibrationStatus: z.ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubric: z.ZodString; reviewerRole: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; module: z.ZodString; exportName: z.ZodString; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strip> ]>>; graderFixtures: z.ZodArray; output: z.ZodRecord; infrastructureError: z.ZodNullable; expectedPassed: z.ZodBoolean; expectedRewardEligible: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>; learningSignals: z.ZodObject<{ demonstrations: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"demonstration">; prompt: z.ZodDefault>; response: z.ZodDefault>; }, z.core.$strip>>>; preferences: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"preference">; prompt: z.ZodString; chosen: z.ZodString; rejected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; corrections: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"correction">; original: z.ZodString; corrected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; feedback: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"feedback">; feedback: z.ZodString; polarity: z.ZodEnum<{ positive: "positive"; negative: "negative"; mixed: "mixed"; neutral: "neutral"; }>; }, z.core.$strip>>>; rewards: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"reward">; task: z.ZodString; rules: z.ZodArray>; otherwisePoints: z.ZodNumber; executable: z.ZodBoolean; }, z.core.$strip>>>; labels: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"label">; labelKind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodArray>; calibrationExamples: z.ZodObject<{ positive: z.ZodString; negative: z.ZodString; boundary: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strip>; authoringProvenance: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskAuthoringProvenance.v1">; model: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; modelConfig: z.ZodDefault>; skillHash: z.ZodString; promptTemplateVersion: z.ZodString; buildIntent: z.ZodDefault>; buildSpecification: z.ZodDefault; behavior: z.ZodString; examples: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"preferences">; preference: z.ZodString; pairs: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"verifiable_reward">; task: z.ZodString; rules: z.ZodDefault>>; otherwisePoints: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodDefault>>; positiveExample: z.ZodString; negativeExample: z.ZodString; boundaryExample: z.ZodString; }, z.core.$strip> ], "kind">>>; evidenceHashes: z.ZodArray; tasksetSdkVersion: z.ZodString; sourceCommit: z.ZodNullable; repairHistory: z.ZodArray>; createdAt: z.ZodString; }, z.core.$strip>; readiness: z.ZodNullable; tasksetId: z.ZodString; tasksetHash: z.ZodString; ready: z.ZodBoolean; recommendedMethod: z.ZodEnum<{ none: "none"; retrieval: "retrieval"; sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; trainingPath: z.ZodDefault; bootstrap: z.ZodNullable; purpose: z.ZodLiteral<"trajectory_bootstrap">; demonstrationRefs: z.ZodArray; limitations: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; methodReadiness: z.ZodDefault; status: z.ZodEnum<{ recommended: "recommended"; compatible: "compatible"; needs_dataset_work: "needs_dataset_work"; }>; reasonCodes: z.ZodDefault>>; reasons: z.ZodDefault>; }, z.core.$strip>>>; compatibleDestinationClasses: z.ZodArray>; blockers: z.ZodDefault; }, z.core.$strip>>>; advisories: z.ZodDefault; }, z.core.$strip>>>; warnings: z.ZodDefault>; generatedAt: z.ZodString; }, z.core.$strip>>; contentHash: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>; type TasksetReadinessReport = z.infer; type Taskset = z.infer; declare const TaskInventoryItemSchema: z.ZodObject<{ tasksetId: z.ZodString; tasksetName: z.ZodString; tasksetRevision: z.ZodNumber; tasksetHash: z.ZodString; taskId: z.ZodString; ordinal: z.ZodNumber; title: z.ZodString; description: z.ZodString; split: z.ZodString; scoring: z.ZodArray; required: z.ZodBoolean; }, z.core.$strip>>; configuration: z.ZodEnum<{ configured: "configured"; needs_reward: "needs_reward"; needs_checks: "needs_checks"; }>; draftId: z.ZodDefault>; modelId: z.ZodDefault>; }, z.core.$strip>; type TaskInventoryItem = z.infer; declare const TaskGradeSchema: z.ZodObject<{ score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; failureClass: z.ZodNullable>; gradingStatus: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; schemaVersion: z.ZodLiteral<"openpond.taskGrade.v1">; taskHash: z.ZodString; evidenceHash: z.ZodString; graderSetHash: z.ZodString; components: z.ZodArray; graderId: z.ZodString; graderVersion: z.ZodString; status: z.ZodOptional>; score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; failureClass: z.ZodNullable>; feedback: z.ZodArray; visibleEvidenceRefs: z.ZodArray; privilegedEvidenceRefs: z.ZodArray; modelJudgeReceipt: z.ZodOptional; providerId: z.ZodString; modelId: z.ZodString; modelRevision: z.ZodNullable; responseId: z.ZodNullable; requestHash: z.ZodString; responseHash: z.ZodString; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; transportPolicy: z.ZodOptional; responseFormat: z.ZodLiteral<"judgment_json_schema">; reasoningEffort: z.ZodEnum<{ off: "off"; low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; max: "max"; }>; maximumOutputTokens: z.ZodNumber; }, z.core.$strict>>; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>; type TaskGrade = z.infer; declare const learningResourceSchemas: { readonly draft: z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodString; targetId: z.ZodString; baseRelease: z.ZodNullable>; editorVersion: z.ZodLiteral<"openpond.modelsEditor.v1">; targetKind: z.ZodLiteral<"definition">; fields: z.ZodObject<{ name: z.ZodString; description: z.ZodString; instructions: z.ZodString; input: z.ZodString; output: z.ZodString; familyNamespace: z.ZodString; sources: z.ZodArray>; reward: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; normalization: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"identity">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"linear">; minimum: z.ZodNumber; maximum: z.ZodNumber; direction: z.ZodEnum<{ higher: "higher"; lower: "lower"; }>; }, z.core.$strict> ], "kind">; weight: z.ZodNumber; required: z.ZodBoolean; hardGate: z.ZodBoolean; privileged: z.ZodBoolean; fixtureRefs: z.ZodArray>; }, z.core.$strict>>; recipeRef: z.ZodOptional>; }, z.core.$strict>; schemaVersion: z.ZodLiteral<"openpond.authoringDraft.v1">; revision: z.ZodNumber; status: z.ZodEnum<{ draft: "draft"; archived: "archived"; published: "published"; }>; publishedRelease: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; targetId: z.ZodString; baseRelease: z.ZodNullable>; editorVersion: z.ZodLiteral<"openpond.modelsEditor.v1">; targetKind: z.ZodLiteral<"reward">; fields: z.ZodObject<{ name: z.ZodString; description: z.ZodString; feedbackKey: z.ZodOptional; kind: z.ZodEnum<{ content: "content"; schema: "schema"; artifact: "artifact"; runtime_event: "runtime_event"; state: "state"; model_judge: "model_judge"; custom_verifier: "custom_verifier"; human: "human"; learned_model: "learned_model"; }>; fields: z.ZodString; outputField: z.ZodString; expectedField: z.ZodString; expectedValue: z.ZodString; schema: z.ZodString; reference: z.ZodString; events: z.ZodString; code: z.ZodString; exportName: z.ZodString; timeout: z.ZodString; verifierRuntime: z.ZodOptional>; rubric: z.ZodString; providerId: z.ZodString; modelId: z.ZodString; modelRevision: z.ZodString; temperature: z.ZodString; reviewerRole: z.ZodString; humanForm: z.ZodOptional; learnedId: z.ZodString; learnedHash: z.ZodString; inputContract: z.ZodString; minimum: z.ZodString; maximum: z.ZodString; fixtures: z.ZodOptional; runtimeEventRefs: z.ZodArray; infrastructureError: z.ZodString; expectedStatus: z.ZodEnum<{ pending: "pending"; failed: "failed"; scored: "scored"; unavailable: "unavailable"; }>; minimumScore: z.ZodString; maximumScore: z.ZodString; expectedPassed: z.ZodEnum<{ any: "any"; true: "true"; false: "false"; }>; sourceLabel: z.ZodOptional; feedback: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>>>; }, z.core.$strict>; schemaVersion: z.ZodLiteral<"openpond.authoringDraft.v1">; revision: z.ZodNumber; status: z.ZodEnum<{ draft: "draft"; archived: "archived"; published: "published"; }>; publishedRelease: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; targetId: z.ZodString; baseRelease: z.ZodNullable>; editorVersion: z.ZodLiteral<"openpond.modelsEditor.v1">; targetKind: z.ZodLiteral<"binding">; fields: z.ZodObject<{ name: z.ZodString; description: z.ZodString; sources: z.ZodArray>; reward: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; normalization: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"identity">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"linear">; minimum: z.ZodNumber; maximum: z.ZodNumber; direction: z.ZodEnum<{ higher: "higher"; lower: "lower"; }>; }, z.core.$strict> ], "kind">; weight: z.ZodNumber; required: z.ZodBoolean; hardGate: z.ZodBoolean; privileged: z.ZodBoolean; fixtureRefs: z.ZodArray>; }, z.core.$strict>>; }, z.core.$strict>; schemaVersion: z.ZodLiteral<"openpond.authoringDraft.v1">; revision: z.ZodNumber; status: z.ZodEnum<{ draft: "draft"; archived: "archived"; published: "published"; }>; publishedRelease: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "targetKind">; readonly reward_check: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.rewardCheckRun.v1">; id: z.ZodString; revision: z.ZodNumber; draft: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; reward: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; snapshotHash: z.ZodString; fixtureRefs: z.ZodArray>; status: z.ZodEnum<{ queued: "queued"; cancelled: "cancelled"; failed: "failed"; completed: "completed"; running: "running"; cancelling: "cancelling"; }>; runtime: z.ZodNullable>; results: z.ZodArray; result: z.ZodObject<{ graderId: z.ZodString; reward: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; scored: "scored"; unavailable: "unavailable"; not_applicable: "not_applicable"; }>; rawScore: z.ZodNullable; normalizedScore: z.ZodNullable; passed: z.ZodNullable; evidenceHashes: z.ZodArray; graderEvidence: z.ZodOptional; graderId: z.ZodString; graderVersion: z.ZodString; status: z.ZodOptional>; score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; failureClass: z.ZodNullable>; feedback: z.ZodArray; visibleEvidenceRefs: z.ZodArray; privilegedEvidenceRefs: z.ZodArray; modelJudgeReceipt: z.ZodOptional; providerId: z.ZodString; modelId: z.ZodString; modelRevision: z.ZodNullable; responseId: z.ZodNullable; requestHash: z.ZodString; responseHash: z.ZodString; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; transportPolicy: z.ZodOptional; responseFormat: z.ZodLiteral<"judgment_json_schema">; reasoningEffort: z.ZodEnum<{ off: "off"; low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; max: "max"; }>; maximumOutputTokens: z.ZodNumber; }, z.core.$strict>>; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; message: z.ZodNullable; }, z.core.$strict>; matchesExpectation: z.ZodBoolean; }, z.core.$strict>>; matchesExpectations: z.ZodNullable; failure: z.ZodNullable; timeoutMs: z.ZodNumber; maximumSpendUsd: z.ZodNumber; judgeCalls: z.ZodOptional; response: z.ZodNullable; responseId: z.ZodNullable; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>>>; requestedBy: z.ZodOptional; leaseOwner: z.ZodNullable; leaseExpiresAt: z.ZodNullable; attemptCount: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; readonly asset: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.learningTextAsset.v1">; id: z.ZodString; revision: z.ZodLiteral<1>; asset: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; text: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; readonly definition: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskDefinition.v1">; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; description: z.ZodString; instructions: z.ZodString; category: z.ZodEnum<{ custom: "custom"; structured: "structured"; question_answering: "question_answering"; coding: "coding"; tool_workflow: "tool_workflow"; }>; familyNamespace: z.ZodString; inputSchema: z.ZodRecord; outputSchema: z.ZodRecord; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; contextRequirements: z.ZodOptional>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; harness: z.ZodNullable>; execution: z.ZodObject<{ policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strict>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; environmentRelease: z.ZodOptional>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilities: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; verifierSetRelease: z.ZodOptional>; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; readonly reward: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.rewardRelease.v1">; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; description: z.ZodString; feedbackKey: z.ZodOptional; implementation: z.ZodUnion; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"learned_model">; modelVersion: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; inputContract: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; }, z.core.$strict> ]>; rawScore: z.ZodObject<{ minimum: z.ZodNumber; maximum: z.ZodNumber; }, z.core.$strict>; assets: z.ZodArray; }, z.core.$strict>>; fixtureSetRef: z.ZodOptional; }, z.core.$strict>>; calibrationCheckRef: z.ZodOptional>; contentHash: z.ZodString; }, z.core.$strict>; readonly binding: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.rewardBinding.v1">; id: z.ZodString; revision: z.ZodNumber; name: z.ZodOptional; description: z.ZodOptional; recipeRef: z.ZodOptional>; sources: z.ZodArray>; reward: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; normalization: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"identity">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"linear">; minimum: z.ZodNumber; maximum: z.ZodNumber; direction: z.ZodEnum<{ higher: "higher"; lower: "lower"; }>; }, z.core.$strict> ], "kind">; weight: z.ZodNumber; required: z.ZodBoolean; hardGate: z.ZodBoolean; privileged: z.ZodBoolean; fixtureRefs: z.ZodArray>; }, z.core.$strict>>; aggregation: z.ZodLiteral<"weighted_mean">; unscorable: z.ZodLiteral<"exclude_optional_require_all_required">; contentHash: z.ZodString; }, z.core.$strict>; readonly source: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.learningSource.v1">; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; kind: z.ZodEnum<{ work: "work"; provider: "provider"; direct: "direct"; benchmark: "benchmark"; opentelemetry: "opentelemetry"; }>; taskDefinition: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; enabled: z.ZodBoolean; allowedSplits: z.ZodArray>; mapping: z.ZodNullable; exampleId: z.ZodString; attemptId: z.ZodString; occurredAt: z.ZodString; input: z.ZodString; observedOutput: z.ZodNullable; expected: z.ZodNullable; evaluatorContext: z.ZodNullable; familyKey: z.ZodString; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; }, z.core.$strict>>; adapterVersion: z.ZodNullable; reviewOrigin: z.ZodOptional; batch: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; capturedOrigin: z.ZodOptional; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>; readonly evidence: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskEvidence.v1">; id: z.ZodString; revision: z.ZodNumber; source: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; submission: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskExample.v1">; sourceId: z.ZodString; idempotencyKey: z.ZodString; taskDefinition: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; exampleId: z.ZodString; attemptId: z.ZodString; occurredAt: z.ZodString; familyKey: z.ZodNullable; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; input: z.ZodRecord; observedOutput: z.ZodNullable>; expected: z.ZodNullable>; evaluatorContext: z.ZodNullable>; assets: z.ZodArray; }, z.core.$strict>>; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; provenance: z.ZodObject<{ sourceRecordRef: z.ZodNullable; mappingHash: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; supersedes: z.ZodNullable>; correctionFeedbackId: z.ZodNullable; receivedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; readonly feedback: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskFeedbackRecord.v1">; id: z.ZodString; submission: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskFeedback.v1">; sourceId: z.ZodString; idempotencyKey: z.ZodString; exampleId: z.ZodString; attemptId: z.ZodString; expectedEvidenceHash: z.ZodNullable; occurredAt: z.ZodString; kind: z.ZodEnum<{ outcome: "outcome"; target_correction: "target_correction"; ground_truth_correction: "ground_truth_correction"; input_correction: "input_correction"; family_resolution: "family_resolution"; }>; value: z.ZodRecord; note: z.ZodString; }, z.core.$strict>; status: z.ZodEnum<{ rejected: "rejected"; pending_example: "pending_example"; pending_review: "pending_review"; applied: "applied"; superseded: "superseded"; }>; evidence: z.ZodNullable>; createdAt: z.ZodString; revision: z.ZodNumber; submittedBy: z.ZodDefault; sourceId: z.ZodNullable; }, z.core.$strict>>>; review: z.ZodDefault>; note: z.ZodString; resolvedAt: z.ZodString; }, z.core.$strict>>>; }, z.core.$strict>; readonly decision: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskAdmissionDecision.v1">; id: z.ZodString; revision: z.ZodNumber; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; supersedes: z.ZodNullable>; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; qualified_policy: "qualified_policy"; }>; id: z.ZodString; policy: z.ZodNullable>; }, z.core.$strict>; evidenceValidity: z.ZodEnum<{ pending: "pending"; valid: "valid"; invalid: "invalid"; }>; taskAdmissibility: z.ZodEnum<{ rejected: "rejected"; pending: "pending"; approved: "approved"; }>; observedQuality: z.ZodEnum<{ passed: "passed"; failed: "failed"; unavailable: "unavailable"; unscored: "unscored"; }>; targetApproval: z.ZodEnum<{ rejected: "rejected"; pending: "pending"; approved: "approved"; not_required: "not_required"; }>; approvedTarget: z.ZodNullable>; grade: z.ZodNullable; binding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; taskHash: z.ZodString; taskId: z.ZodOptional; outputHash: z.ZodString; results: z.ZodArray; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; scored: "scored"; unavailable: "unavailable"; not_applicable: "not_applicable"; }>; rawScore: z.ZodNullable; normalizedScore: z.ZodNullable; passed: z.ZodNullable; evidenceHashes: z.ZodArray; graderEvidence: z.ZodOptional; graderId: z.ZodString; graderVersion: z.ZodString; status: z.ZodOptional>; score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; failureClass: z.ZodNullable>; feedback: z.ZodArray; visibleEvidenceRefs: z.ZodArray; privilegedEvidenceRefs: z.ZodArray; modelJudgeReceipt: z.ZodOptional; providerId: z.ZodString; modelId: z.ZodString; modelRevision: z.ZodNullable; responseId: z.ZodNullable; requestHash: z.ZodString; responseHash: z.ZodString; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; transportPolicy: z.ZodOptional; responseFormat: z.ZodLiteral<"judgment_json_schema">; reasoningEffort: z.ZodEnum<{ off: "off"; low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; max: "max"; }>; maximumOutputTokens: z.ZodNumber; }, z.core.$strict>>; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; message: z.ZodNullable; }, z.core.$strict>>; training: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; evaluation: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; targetGrade: z.ZodNullable; binding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; taskHash: z.ZodString; taskId: z.ZodOptional; outputHash: z.ZodString; results: z.ZodArray; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; scored: "scored"; unavailable: "unavailable"; not_applicable: "not_applicable"; }>; rawScore: z.ZodNullable; normalizedScore: z.ZodNullable; passed: z.ZodNullable; evidenceHashes: z.ZodArray; graderEvidence: z.ZodOptional; graderId: z.ZodString; graderVersion: z.ZodString; status: z.ZodOptional>; score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; failureClass: z.ZodNullable>; feedback: z.ZodArray; visibleEvidenceRefs: z.ZodArray; privilegedEvidenceRefs: z.ZodArray; modelJudgeReceipt: z.ZodOptional; providerId: z.ZodString; modelId: z.ZodString; modelRevision: z.ZodNullable; responseId: z.ZodNullable; requestHash: z.ZodString; responseHash: z.ZodString; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; transportPolicy: z.ZodOptional; responseFormat: z.ZodLiteral<"judgment_json_schema">; reasoningEffort: z.ZodEnum<{ off: "off"; low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; max: "max"; }>; maximumOutputTokens: z.ZodNumber; }, z.core.$strict>>; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; message: z.ZodNullable; }, z.core.$strict>>; training: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; evaluation: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; note: z.ZodString; decidedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; readonly batch: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskBatch.v1">; id: z.ZodString; revision: z.ZodLiteral<1>; taskDefinition: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ evaluation: "evaluation"; supervised_training: "supervised_training"; reward_training: "reward_training"; }>; examples: z.ZodArray; decision: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; familyKey: z.ZodString; inputHash: z.ZodString; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; }, z.core.$strict>>; sealedAt: z.ZodString; sealedBy: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; readonly policy: z.ZodObject<{ origin: z.ZodOptional; teamId: z.ZodString; projectId: z.ZodNullable; configurationId: z.ZodString; source: z.ZodObject<{ executionId: z.ZodString; passId: z.ZodNullable; manifestHash: z.ZodString; resultHash: z.ZodString; }, z.core.$strict>; dataset: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"model">; modelId: z.ZodString; configurationHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"harness">; source: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; model: z.ZodObject<{ modelId: z.ZodString; configurationHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent">; source: z.ZodObject<{ harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourcePackageHash: z.ZodString; }, z.core.$strict>; model: z.ZodObject<{ modelId: z.ZodString; configurationHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; configurationHash: z.ZodString; }, z.core.$strict> ], "kind">; graders: z.ZodArray; expectedCount: z.ZodNumber; scoredCount: z.ZodNumber; score: z.ZodNullable; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; schemaVersion: z.ZodLiteral<"openpond.learningPolicy.v1">; id: z.ZodString; revision: z.ZodNumber; modelProjectId: z.ZodString; executionOwner: z.ZodEnum<{ local: "local"; hosted: "hosted"; }>; enabled: z.ZodBoolean; sources: z.ZodArray>; taskDefinition: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; admission: z.ZodObject<{ mode: z.ZodEnum<{ human: "human"; qualified_automatic: "qualified_automatic"; }>; qualification: z.ZodNullable>; minimumApprovedExamples: z.ZodNumber; }, z.core.$strict>; trigger: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"manual">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"approved_count">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"schedule">; intervalSeconds: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ localTime: z.ZodString; timeZone: z.ZodString; kind: z.ZodLiteral<"nightly">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"upstream_accepted">; modelProjectId: z.ZodString; }, z.core.$strict> ], "kind">; trainingParent: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; teacher: z.ZodNullable>; training: z.ZodObject<{ method: z.ZodEnum<{ sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; recipe: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; retentionEvaluation: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; replayBatches: z.ZodArray>; continuationMode: z.ZodOptional; sourceConfiguration: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; etag: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; }, z.core.$strict>; limits: z.ZodObject<{ maxIterationSpendUsd: z.ZodNumber; maxDailySpendUsd: z.ZodNumber; cooldownSeconds: z.ZodNumber; maxRetries: z.ZodNumber; maxBatchExamples: z.ZodNumber; maxBacklogExamples: z.ZodNumber; }, z.core.$strict>; automation: z.ZodObject<{ collect: z.ZodBoolean; train: z.ZodBoolean; accept: z.ZodBoolean; serve: z.ZodBoolean; }, z.core.$strict>; acceptance: z.ZodObject<{ minimumScore: z.ZodNumber; maximumRetentionRegression: z.ZodNumber; requireImprovement: z.ZodBoolean; rollbackVersion: z.ZodNullable>; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; readonly chain: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.learningChain.v1">; id: z.ZodString; revision: z.ZodNumber; modelProjectId: z.ZodString; activeIterationId: z.ZodNullable; acceptedParent: z.ZodOptional; decision: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; decidedAt: z.ZodString; }, z.core.$strict>>>; latestIterationId: z.ZodString; lastReservedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strict>; readonly consumption: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.learningConsumption.v1">; id: z.ZodString; revision: z.ZodLiteral<1>; chainId: z.ZodString; iterationId: z.ZodString; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; decision: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; reservedAt: z.ZodString; }, z.core.$strict>; readonly reservation: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.learningIterationReservation.v1">; id: z.ZodString; revision: z.ZodNumber; chainId: z.ZodString; iterationId: z.ZodString; policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; trigger: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"manual">; identity: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"schedule">; scheduledAt: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"approved_count">; checkedAt: z.ZodString; }, z.core.$strict> ], "kind">; requestHash: z.ZodString; outcome: z.ZodEnum<{ reserved: "reserved"; waiting_for_data: "waiting_for_data"; waiting_for_review: "waiting_for_review"; }>; counts: z.ZodObject<{ eligible: z.ZodNumber; awaitingReview: z.ZodNumber; excluded: z.ZodNumber; consumed: z.ZodNumber; }, z.core.$strict>; budget: z.ZodObject<{ maximumSpendUsd: z.ZodNumber; reservedSpendUsd: z.ZodNumber; settledSpendUsd: z.ZodNumber; settledAt: z.ZodNullable; }, z.core.$strict>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; readonly dispatch: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.learningIterationDispatch.v1">; id: z.ZodString; revision: z.ZodNumber; iterationId: z.ZodString; chainId: z.ZodString; policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; batch: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; state: z.ZodEnum<{ submitted: "submitted"; blocked: "blocked"; settled: "settled"; preparing: "preparing"; prepared: "prepared"; }>; submission: z.ZodNullable; }, z.core.$strict>>; submissionHash: z.ZodNullable; submissionStartedAt: z.ZodNullable; execution: z.ZodNullable>; terminalReceipt: z.ZodNullable>; cancelRequestedAt: z.ZodNullable; leaseOwner: z.ZodNullable; leaseGeneration: z.ZodNumber; leaseExpiresAt: z.ZodNullable; consecutiveFailures: z.ZodNumber; nextAttemptAt: z.ZodNullable; lastError: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; readonly schedule: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.learningSchedule.v1">; id: z.ZodString; revision: z.ZodNumber; policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; modelProjectId: z.ZodString; executionOwner: z.ZodEnum<{ local: "local"; hosted: "hosted"; }>; state: z.ZodEnum<{ blocked: "blocked"; scheduled: "scheduled"; disabled: "disabled"; }>; intervalSeconds: z.ZodNullable; calendar: z.ZodDefault>>; nextRunAt: z.ZodNullable; lastFire: z.ZodNullable>; consecutiveFailures: z.ZodNumber; nextAttemptAt: z.ZodNullable; lastError: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; readonly schedule_fire: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.learningScheduleFire.v1">; id: z.ZodString; revision: z.ZodLiteral<1>; scheduleId: z.ZodString; policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; scheduledAt: z.ZodString; coalescedThroughAt: z.ZodString; coalescedCount: z.ZodNumber; outcome: z.ZodEnum<{ skipped: "skipped"; reserved: "reserved"; waiting_for_data: "waiting_for_data"; waiting_for_review: "waiting_for_review"; }>; reason: z.ZodNullable>; iteration: z.ZodNullable>; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; readonly iteration: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.learningIteration.v1">; id: z.ZodString; revision: z.ZodNumber; policy: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; status: z.ZodEnum<{ accepted: "accepted"; rejected: "rejected"; cancelled: "cancelled"; failed: "failed"; training: "training"; waiting_for_data: "waiting_for_data"; waiting_for_review: "waiting_for_review"; ready: "ready"; dispatching: "dispatching"; evaluating: "evaluating"; candidate_ready: "candidate_ready"; paused: "paused"; cancelling: "cancelling"; completed_without_candidate: "completed_without_candidate"; }>; triggerIdentity: z.ZodString; batch: z.ZodNullable>; sourceWatermarks: z.ZodRecord; trainingParent: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; trainingParentSelection: z.ZodOptional; decision: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; decidedAt: z.ZodString; }, z.core.$strict>>>; teacher: z.ZodNullable>; upstreamEvent: z.ZodNullable>; trainingJob: z.ZodNullable>; evaluationJob: z.ZodNullable>; candidateVersion: z.ZodNullable>; candidateDecision: z.ZodDefault>>; candidateDecisionAt: z.ZodOptional>; dispatchId: z.ZodString; retryCount: z.ZodNumber; spendUsd: z.ZodNumber; failure: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; readonly grade: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskGradeRun.v1">; id: z.ZodString; revision: z.ZodNumber; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; binding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; target: z.ZodEnum<{ observed: "observed"; proposed_target: "proposed_target"; }>; output: z.ZodRecord; status: z.ZodEnum<{ queued: "queued"; cancelled: "cancelled"; failed: "failed"; completed: "completed"; running: "running"; cancelling: "cancelling"; }>; composition: z.ZodNullable; binding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; taskHash: z.ZodString; taskId: z.ZodOptional; outputHash: z.ZodString; results: z.ZodArray; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; scored: "scored"; unavailable: "unavailable"; not_applicable: "not_applicable"; }>; rawScore: z.ZodNullable; normalizedScore: z.ZodNullable; passed: z.ZodNullable; evidenceHashes: z.ZodArray; graderEvidence: z.ZodOptional; graderId: z.ZodString; graderVersion: z.ZodString; status: z.ZodOptional>; score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; failureClass: z.ZodNullable>; feedback: z.ZodArray; visibleEvidenceRefs: z.ZodArray; privilegedEvidenceRefs: z.ZodArray; modelJudgeReceipt: z.ZodOptional; providerId: z.ZodString; modelId: z.ZodString; modelRevision: z.ZodNullable; responseId: z.ZodNullable; requestHash: z.ZodString; responseHash: z.ZodString; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; transportPolicy: z.ZodOptional; responseFormat: z.ZodLiteral<"judgment_json_schema">; reasoningEffort: z.ZodEnum<{ off: "off"; low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; max: "max"; }>; maximumOutputTokens: z.ZodNumber; }, z.core.$strict>>; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; message: z.ZodNullable; }, z.core.$strict>>; training: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; evaluation: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; leaseOwner: z.ZodNullable; leaseExpiresAt: z.ZodNullable; attemptCount: z.ZodNumber; timeoutMs: z.ZodNumber; maximumSpendUsd: z.ZodNumber; judgeCalls: z.ZodOptional; response: z.ZodNullable; responseId: z.ZodNullable; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>>>; requestedBy: z.ZodOptional; failure: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; readonly package: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetRelease.v2">; id: z.ZodString; revision: z.ZodNumber; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strict>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; environmentRelease: z.ZodOptional>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilities: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; tasks: z.ZodArray; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; artifactRefs: z.ZodDefault; }, z.core.$strict>>>; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; tags: z.ZodDefault>; }, z.core.$strict>>; graders: z.ZodArray>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodEnum<{ content: "content"; schema: "schema"; artifact: "artifact"; runtime_event: "runtime_event"; state: "state"; }>; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"human">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; }, z.core.$strict> ]>>; verifierSetRelease: z.ZodOptional>; metrics: z.ZodOptional; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; }; type LearningResourceKind = keyof typeof learningResourceSchemas; type LearningResourceFor = z.infer<(typeof learningResourceSchemas)[K]>; type LearningResourcePointer = { kind: LearningResourceKind; id: string; revision: number; }; type LearningOperationReceipt = { requestHash: string; resources: LearningResourcePointer[]; }; type LearningResourceQuery = { parentId?: string; status?: string; reviewState?: "inbox" | "reviewed"; afterId?: string; limit: number; }; type LearningResourcePage = { items: LearningResourceFor[]; nextCursor: string | null; }; interface LearningTransaction { get(kind: K, id: string, revision?: number): Promise | null>; put(kind: K, resource: LearningResourceFor, expectedRevision: number, index?: { parentId?: string; status?: string; }): Promise; list(kind: K, query: LearningResourceQuery): Promise>; operation(id: string): Promise; saveOperation(id: string, receipt: LearningOperationReceipt): Promise; familySplit(namespace: string, kind: "family" | "input", key: string): Promise; reserveFamilySplit(namespace: string, kind: "family" | "input", key: string, split: string): Promise; } interface LearningRepository { transaction(scope: string, callback: (transaction: LearningTransaction) => Promise): Promise; } declare const JudgeCallReservationSchema: z.ZodObject<{ id: z.ZodString; requestHash: z.ZodString; reservedUsd: z.ZodNumber; status: z.ZodEnum<{ reserved: "reserved"; settled: "settled"; not_dispatched: "not_dispatched"; }>; response: z.ZodNullable; responseId: z.ZodNullable; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; type JudgeCallReservation = z.infer; interface JudgeBudgetState { maximumSpendUsd: number; calls: JudgeCallReservation[]; } declare const ModelProjectSaveRequestSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelProjectSave.v1">; operationId: z.ZodString; expectedRevision: z.ZodNumber; project: z.ZodObject<{ name: z.ZodString; id: z.ZodString; profileId: z.ZodString; objective: z.ZodNullable; trainingSetup: z.ZodObject<{ tasksetRef: z.ZodDefault>>; evaluationTasksetRef: z.ZodOptional>>; profileSource: z.ZodOptional; }, z.core.$strict>>>; profileEvaluation: z.ZodOptional; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; rewardBindingRef: z.ZodOptional>>; tasksetRelease: z.ZodDefault>>; harnessRelease: z.ZodDefault>>; baseModel: z.ZodDefault; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>>; method: z.ZodDefault>>; destinationId: z.ZodDefault>; managedRolloutPlacement: z.ZodDefault>; managedGpuPlacementObjective: z.ZodDefault>; managedGpuSelection: z.ZodOptional; objective: z.ZodEnum<{ balanced: "balanced"; fast: "fast"; economical: "economical"; }>; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"manual">; availabilityId: z.ZodString; gpuType: z.ZodString; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict> ], "mode">>; continuationAdapterMode: z.ZodOptional>; managedGpuRequirement: z.ZodDefault>; runPreset: z.ZodDefault>>; recipe: z.ZodDefault; parameterization: z.ZodEnum<{ lora: "lora"; full: "full"; }>; }, z.core.$catchall>>>; preferredMaximumSpendUsd: z.ZodDefault>; preferredRetentionDays: z.ZodDefault>; }, z.core.$strict>; defaultBaseModel: z.ZodNullable; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>; defaultDestinationId: z.ZodNullable; }, z.core.$strict>; learning: z.ZodOptional; minimumTasks: z.ZodNumber; maximumSpendUsd: z.ZodNumber; maximumDailySpendUsd: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>; type ModelProjectSaveRequest = z.infer; declare const TasksetPackageSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetPackage.v1">; taskset: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetRelease.v2">; id: z.ZodString; revision: z.ZodNumber; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strict>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; environmentRelease: z.ZodOptional>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilities: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; tasks: z.ZodArray; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; artifactRefs: z.ZodDefault; }, z.core.$strict>>>; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; tags: z.ZodDefault>; }, z.core.$strict>>; graders: z.ZodArray>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodEnum<{ content: "content"; schema: "schema"; artifact: "artifact"; runtime_event: "runtime_event"; state: "state"; }>; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"human">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; }, z.core.$strict> ]>>; verifierSetRelease: z.ZodOptional>; metrics: z.ZodOptional; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; environment: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.environmentRelease.v1">; id: z.ZodString; revision: z.ZodNumber; contract: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; actionSchemaRef: z.ZodNullable; }, z.core.$strict>>; observationSchemaRef: z.ZodNullable; }, z.core.$strict>>; stateSchemaRef: z.ZodNullable; }, z.core.$strict>>; artifactCollection: z.ZodObject<{ maxArtifacts: z.ZodNumber; maxTotalBytes: z.ZodNumber; }, z.core.$strict>; adapterConformanceHashes: z.ZodRecord; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; verifierSet: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">; id: z.ZodString; revision: z.ZodNumber; graders: z.ZodArray>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodEnum<{ content: "content"; schema: "schema"; artifact: "artifact"; runtime_event: "runtime_event"; state: "state"; }>; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"human">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; }, z.core.$strict> ]>>; isolation: z.ZodObject<{ processBoundary: z.ZodEnum<{ same_process: "same_process"; isolated_process: "isolated_process"; container: "container"; }>; networkPolicy: z.ZodLiteral<"none">; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; calibrationReceiptRefs: z.ZodArray>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; files: z.ZodArray; }, z.core.$strict>; base64: z.ZodString; }, z.core.$strict>>; modelResources: z.ZodOptional; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; description: z.ZodString; instructions: z.ZodString; category: z.ZodEnum<{ custom: "custom"; structured: "structured"; question_answering: "question_answering"; coding: "coding"; tool_workflow: "tool_workflow"; }>; familyNamespace: z.ZodString; inputSchema: z.ZodRecord; outputSchema: z.ZodRecord; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; contextRequirements: z.ZodOptional>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; harness: z.ZodNullable>; execution: z.ZodObject<{ policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strict>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; environmentRelease: z.ZodOptional>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilities: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; verifierSetRelease: z.ZodOptional>; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; assets: z.ZodArray; id: z.ZodString; revision: z.ZodLiteral<1>; asset: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; text: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>; rewards: z.ZodArray; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; description: z.ZodString; feedbackKey: z.ZodOptional; implementation: z.ZodUnion; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"learned_model">; modelVersion: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; inputContract: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; }, z.core.$strict> ]>; rawScore: z.ZodObject<{ minimum: z.ZodNumber; maximum: z.ZodNumber; }, z.core.$strict>; assets: z.ZodArray; }, z.core.$strict>>; fixtureSetRef: z.ZodOptional; }, z.core.$strict>>; calibrationCheckRef: z.ZodOptional>; contentHash: z.ZodString; }, z.core.$strict>>; execution: z.ZodOptional; id: z.ZodString; revision: z.ZodNumber; contract: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; actionSchemaRef: z.ZodNullable; }, z.core.$strict>>; observationSchemaRef: z.ZodNullable; }, z.core.$strict>>; stateSchemaRef: z.ZodNullable; }, z.core.$strict>>; artifactCollection: z.ZodObject<{ maxArtifacts: z.ZodNumber; maxTotalBytes: z.ZodNumber; }, z.core.$strict>; adapterConformanceHashes: z.ZodRecord; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; verifierSet: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">; id: z.ZodString; revision: z.ZodNumber; graders: z.ZodArray>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodEnum<{ content: "content"; schema: "schema"; artifact: "artifact"; runtime_event: "runtime_event"; state: "state"; }>; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"human">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; }, z.core.$strict> ]>>; isolation: z.ZodObject<{ processBoundary: z.ZodEnum<{ same_process: "same_process"; isolated_process: "isolated_process"; container: "container"; }>; networkPolicy: z.ZodLiteral<"none">; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; calibrationReceiptRefs: z.ZodArray>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; javascript: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.javascriptEnvironment.v1">; id: z.ZodString; revision: z.ZodNumber; module: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; maxSteps: z.ZodNumber; maxStateBytes: z.ZodNumber; maxObservationBytes: z.ZodNumber; operationTimeoutMs: z.ZodNumber; executionServices: z.ZodOptional; sql: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; snapshot: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; maxRows: z.ZodNumber; maxResultBytes: z.ZodNumber; id: z.ZodString; operation: z.ZodEnum<{ step: "step"; collect: "collect"; }>; toolName: z.ZodOptional; timeoutMs: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"javascript.v1">; source: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; cases: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; exportName: z.ZodString; maxCases: z.ZodNumber; maxResultBytes: z.ZodNumber; id: z.ZodString; operation: z.ZodEnum<{ step: "step"; collect: "collect"; }>; toolName: z.ZodOptional; timeoutMs: z.ZodNumber; }, z.core.$strict> ], "kind">>>; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; rewardBinding: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.rewardBinding.v1">; id: z.ZodString; revision: z.ZodNumber; name: z.ZodOptional; description: z.ZodOptional; recipeRef: z.ZodOptional>; sources: z.ZodArray>; reward: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; normalization: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"identity">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"linear">; minimum: z.ZodNumber; maximum: z.ZodNumber; direction: z.ZodEnum<{ higher: "higher"; lower: "lower"; }>; }, z.core.$strict> ], "kind">; weight: z.ZodNumber; required: z.ZodBoolean; hardGate: z.ZodBoolean; privileged: z.ZodBoolean; fixtureRefs: z.ZodArray>; }, z.core.$strict>>; aggregation: z.ZodLiteral<"weighted_mean">; unscorable: z.ZodLiteral<"exclude_optional_require_all_required">; contentHash: z.ZodString; }, z.core.$strict>; instructionMode: z.ZodOptional>; }, z.core.$strict>>; learningResources: z.ZodOptional; id: z.ZodString; revision: z.ZodLiteral<1>; taskDefinition: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; purpose: z.ZodEnum<{ evaluation: "evaluation"; supervised_training: "supervised_training"; reward_training: "reward_training"; }>; examples: z.ZodArray; decision: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; familyKey: z.ZodString; inputHash: z.ZodString; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; }, z.core.$strict>>; sealedAt: z.ZodString; sealedBy: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; evidence: z.ZodArray; id: z.ZodString; revision: z.ZodNumber; source: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; submission: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskExample.v1">; sourceId: z.ZodString; idempotencyKey: z.ZodString; taskDefinition: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; exampleId: z.ZodString; attemptId: z.ZodString; occurredAt: z.ZodString; familyKey: z.ZodNullable; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; input: z.ZodRecord; observedOutput: z.ZodNullable>; expected: z.ZodNullable>; evaluatorContext: z.ZodNullable>; assets: z.ZodArray; }, z.core.$strict>>; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; provenance: z.ZodObject<{ sourceRecordRef: z.ZodNullable; mappingHash: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; supersedes: z.ZodNullable>; correctionFeedbackId: z.ZodNullable; receivedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>; decisions: z.ZodArray; id: z.ZodString; revision: z.ZodNumber; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; supersedes: z.ZodNullable>; actor: z.ZodObject<{ kind: z.ZodEnum<{ human: "human"; qualified_policy: "qualified_policy"; }>; id: z.ZodString; policy: z.ZodNullable>; }, z.core.$strict>; evidenceValidity: z.ZodEnum<{ pending: "pending"; valid: "valid"; invalid: "invalid"; }>; taskAdmissibility: z.ZodEnum<{ rejected: "rejected"; pending: "pending"; approved: "approved"; }>; observedQuality: z.ZodEnum<{ passed: "passed"; failed: "failed"; unavailable: "unavailable"; unscored: "unscored"; }>; targetApproval: z.ZodEnum<{ rejected: "rejected"; pending: "pending"; approved: "approved"; not_required: "not_required"; }>; approvedTarget: z.ZodNullable>; grade: z.ZodNullable; binding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; taskHash: z.ZodString; taskId: z.ZodOptional; outputHash: z.ZodString; results: z.ZodArray; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; scored: "scored"; unavailable: "unavailable"; not_applicable: "not_applicable"; }>; rawScore: z.ZodNullable; normalizedScore: z.ZodNullable; passed: z.ZodNullable; evidenceHashes: z.ZodArray; graderEvidence: z.ZodOptional; graderId: z.ZodString; graderVersion: z.ZodString; status: z.ZodOptional>; score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; failureClass: z.ZodNullable>; feedback: z.ZodArray; visibleEvidenceRefs: z.ZodArray; privilegedEvidenceRefs: z.ZodArray; modelJudgeReceipt: z.ZodOptional; providerId: z.ZodString; modelId: z.ZodString; modelRevision: z.ZodNullable; responseId: z.ZodNullable; requestHash: z.ZodString; responseHash: z.ZodString; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; transportPolicy: z.ZodOptional; responseFormat: z.ZodLiteral<"judgment_json_schema">; reasoningEffort: z.ZodEnum<{ off: "off"; low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; max: "max"; }>; maximumOutputTokens: z.ZodNumber; }, z.core.$strict>>; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; message: z.ZodNullable; }, z.core.$strict>>; training: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; evaluation: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; targetGrade: z.ZodNullable; binding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; taskHash: z.ZodString; taskId: z.ZodOptional; outputHash: z.ZodString; results: z.ZodArray; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; scored: "scored"; unavailable: "unavailable"; not_applicable: "not_applicable"; }>; rawScore: z.ZodNullable; normalizedScore: z.ZodNullable; passed: z.ZodNullable; evidenceHashes: z.ZodArray; graderEvidence: z.ZodOptional; graderId: z.ZodString; graderVersion: z.ZodString; status: z.ZodOptional>; score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; failureClass: z.ZodNullable>; feedback: z.ZodArray; visibleEvidenceRefs: z.ZodArray; privilegedEvidenceRefs: z.ZodArray; modelJudgeReceipt: z.ZodOptional; providerId: z.ZodString; modelId: z.ZodString; modelRevision: z.ZodNullable; responseId: z.ZodNullable; requestHash: z.ZodString; responseHash: z.ZodString; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; transportPolicy: z.ZodOptional; responseFormat: z.ZodLiteral<"judgment_json_schema">; reasoningEffort: z.ZodEnum<{ off: "off"; low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; max: "max"; }>; maximumOutputTokens: z.ZodNumber; }, z.core.$strict>>; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; message: z.ZodNullable; }, z.core.$strict>>; training: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; evaluation: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; note: z.ZodString; decidedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>; sources: z.ZodArray; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; kind: z.ZodEnum<{ work: "work"; provider: "provider"; direct: "direct"; benchmark: "benchmark"; opentelemetry: "opentelemetry"; }>; taskDefinition: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; enabled: z.ZodBoolean; allowedSplits: z.ZodArray>; mapping: z.ZodNullable; exampleId: z.ZodString; attemptId: z.ZodString; occurredAt: z.ZodString; input: z.ZodString; observedOutput: z.ZodNullable; expected: z.ZodNullable; evaluatorContext: z.ZodNullable; familyKey: z.ZodString; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; }, z.core.$strict>>; adapterVersion: z.ZodNullable; reviewOrigin: z.ZodOptional; batch: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>>; capturedOrigin: z.ZodOptional; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; assets: z.ZodArray; id: z.ZodString; revision: z.ZodLiteral<1>; asset: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; text: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>; type TasksetPackage = z.infer; declare const TrainingChatSearchResultSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingChatSearchResult.v1">; query: z.ZodString; offset: z.ZodNumber; limit: z.ZodNumber; total: z.ZodNumber; hasMore: z.ZodBoolean; indexedChats: z.ZodNumber; totalChats: z.ZodNumber; indexing: z.ZodBoolean; entries: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; declare const TaskAttemptResultSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskAttempt.v1">; id: z.ZodString; tasksetId: z.ZodString; taskId: z.ZodString; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; attempt: z.ZodNumber; seed: z.ZodNumber; modelRef: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; startedAt: z.ZodString; completedAt: z.ZodString; output: z.ZodRecord; runtimeEventRefs: z.ZodDefault>; artifactRefs: z.ZodDefault>; privilegedOutcomeRef: z.ZodNullable; infrastructureError: z.ZodNullable; costUsd: z.ZodNullable; latencyMs: z.ZodNumber; userInterventions: z.ZodDefault; metadata: z.ZodDefault>; }, z.core.$strip>; declare const TaskAttemptArtifactSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskAttemptArtifact.v1">; id: z.ZodString; tasksetId: z.ZodString; taskId: z.ZodString; attemptId: z.ZodString; kind: z.ZodEnum<{ raw_model_response: "raw_model_response"; runtime_trace: "runtime_trace"; environment_state: "environment_state"; grader_evidence: "grader_evidence"; output_artifact: "output_artifact"; }>; path: z.ZodString; mediaType: z.ZodOptional>; sha256: z.ZodString; sizeBytes: z.ZodNumber; createdAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>; declare const GradeResultSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.gradeResult.v1">; id: z.ZodString; attemptId: z.ZodString; graderSetHash: z.ZodString; score: z.ZodNullable; passed: z.ZodBoolean; components: z.ZodArray; passed: z.ZodBoolean; hardGate: z.ZodBoolean; rewardEligible: z.ZodBoolean; feedback: z.ZodNullable; evidenceRefs: z.ZodDefault>; judge: z.ZodDefault, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>>>; calibrationStatus: z.ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; not_applicable: "not_applicable"; }>; }, z.core.$strip>>; failureClass: z.ZodNullable>; feedback: z.ZodDefault>; rewardEligible: z.ZodBoolean; rewardComposition: z.ZodOptional; binding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; taskHash: z.ZodString; taskId: z.ZodOptional; outputHash: z.ZodString; results: z.ZodArray; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; status: z.ZodEnum<{ pending: "pending"; failed: "failed"; scored: "scored"; unavailable: "unavailable"; not_applicable: "not_applicable"; }>; rawScore: z.ZodNullable; normalizedScore: z.ZodNullable; passed: z.ZodNullable; evidenceHashes: z.ZodArray; graderEvidence: z.ZodOptional; graderId: z.ZodString; graderVersion: z.ZodString; status: z.ZodOptional>; score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; failureClass: z.ZodNullable>; feedback: z.ZodArray; visibleEvidenceRefs: z.ZodArray; privilegedEvidenceRefs: z.ZodArray; modelJudgeReceipt: z.ZodOptional; providerId: z.ZodString; modelId: z.ZodString; modelRevision: z.ZodNullable; responseId: z.ZodNullable; requestHash: z.ZodString; responseHash: z.ZodString; inputTokens: z.ZodNullable; outputTokens: z.ZodNullable; costUsd: z.ZodNullable; transportPolicy: z.ZodOptional; responseFormat: z.ZodLiteral<"judgment_json_schema">; reasoningEffort: z.ZodEnum<{ off: "off"; low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; max: "max"; }>; maximumOutputTokens: z.ZodNumber; }, z.core.$strict>>; effectiveRequestHash: z.ZodOptional; finishReason: z.ZodOptional>; reasoningTokens: z.ZodOptional>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; message: z.ZodNullable; }, z.core.$strict>>; training: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; evaluation: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; scored: "scored"; unscorable: "unscorable"; not_configured: "not_configured"; }>; score: z.ZodNullable; passed: z.ZodNullable; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; createdAt: z.ZodString; }, z.core.$strip>; declare const GraderAuditReportSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.graderAuditReport.v1">; id: z.ZodString; tasksetId: z.ZodString; tasksetHash: z.ZodString; fixtureRefs: z.ZodArray; gradeRefs: z.ZodArray; passed: z.ZodBoolean; hackingChecksPassed: z.ZodBoolean; leakageChecksPassed: z.ZodBoolean; infrastructureSafetyPassed: z.ZodBoolean; failures: z.ZodArray; gradeId: z.ZodString; reason: z.ZodString; }, z.core.$strip>>; createdAt: z.ZodString; }, z.core.$strip>; declare const TaskCreationSnapshotSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskCreationSnapshot.v1">; id: z.ZodString; request: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskCreationRequest.v1">; id: z.ZodString; profileId: z.ZodString; surface: z.ZodEnum<{ slash_train: "slash_train"; session_menu: "session_menu"; bulk_selection: "bulk_selection"; training_page: "training_page"; task_candidate: "task_candidate"; }>; mode: z.ZodEnum<{ defaults: "defaults"; customize: "customize"; }>; entryMode: z.ZodDefault>; resourceIntent: z.ZodDefault>; buildIntent: z.ZodDefault>; buildSpecification: z.ZodDefault; behavior: z.ZodString; examples: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"preferences">; preference: z.ZodString; pairs: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"verifiable_reward">; task: z.ZodString; rules: z.ZodDefault>>; otherwisePoints: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodDefault>>; positiveExample: z.ZodString; negativeExample: z.ZodString; boundaryExample: z.ZodString; }, z.core.$strip> ], "kind">>>; objective: z.ZodNullable; methodHint: z.ZodDefault>>; preferredBaseModelId: z.ZodDefault>; preferredBaseModel: z.ZodDefault; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strip>>>; sourceIds: z.ZodArray; candidateId: z.ZodNullable; analysisModel: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; analysisReasoningEffort: z.ZodDefault>>; createImproveRunId: z.ZodDefault>; targetIntent: z.ZodDefault>; id: z.ZodNullable; displayName: z.ZodNullable; operation: z.ZodEnum<{ create: "create"; improve: "improve"; }>; }, z.core.$strip>>; disclosure: z.ZodDefault; content: z.ZodLiteral<"raw_excerpts">; sourceIds: z.ZodArray; providerModel: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; approvalId: z.ZodNullable; approvedAt: z.ZodNullable; }, z.core.$strip>>; createdAt: z.ZodString; }, z.core.$strip>; state: z.ZodEnum<{ failed: "failed"; ready: "ready"; planning: "planning"; awaiting_questions: "awaiting_questions"; blocked: "blocked"; cancelled: "cancelled"; awaiting_disclosure_approval: "awaiting_disclosure_approval"; awaiting_materialization_approval: "awaiting_materialization_approval"; materializing: "materializing"; validating: "validating"; recommendation_ready: "recommendation_ready"; }>; proposal: z.ZodNullable; id: z.ZodString; name: z.ZodString; objective: z.ZodString; diagnosis: z.ZodDefault; summary: z.ZodString; stableBehavior: z.ZodDefault>; changingKnowledge: z.ZodDefault>; requiredContext: z.ZodDefault>; requiredTools: z.ZodDefault>; intervention: z.ZodEnum<{ preference: "preference"; retrieval: "retrieval"; sft: "sft"; sdpo: "sdpo"; no_training: "no_training"; prompting: "prompting"; grpo_rft: "grpo_rft"; sdft_opsd: "sdft_opsd"; agentic_rl: "agentic_rl"; }>; trainingEligible: z.ZodBoolean; rationale: z.ZodArray; confidence: z.ZodNumber; }, z.core.$strip>>; taskKind: z.ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; sourceIds: z.ZodArray; assumptions: z.ZodArray; successCriteria: z.ZodArray; proposedGraders: z.ZodDefault>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"model_judge">; rubric: z.ZodString; judge: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; calibrationFixtureRefs: z.ZodArray; calibrationStatus: z.ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubric: z.ZodString; reviewerRole: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; module: z.ZodString; exportName: z.ZodString; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strip> ]>>>; graderFixtures: z.ZodDefault; output: z.ZodRecord; infrastructureError: z.ZodNullable; expectedPassed: z.ZodBoolean; expectedRewardEligible: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; generatedFiles: z.ZodDefault; content: z.ZodString; }, z.core.$strip>>>; proposedExamples: z.ZodDefault; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; origin: z.ZodEnum<{ corrected: "corrected"; extracted: "extracted"; synthetic: "synthetic"; expert_authored: "expert_authored"; }>; inputPrompt: z.ZodString; expectedOutputText: z.ZodNullable; rationale: z.ZodString; }, z.core.$strip>>>; proposedMethod: z.ZodEnum<{ none: "none"; retrieval: "retrieval"; sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; trainingPath: z.ZodDefault; bootstrap: z.ZodNullable; purpose: z.ZodLiteral<"trajectory_bootstrap">; demonstrationRefs: z.ZodArray; limitations: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; warnings: z.ZodDefault>; createdAt: z.ZodString; }, z.core.$strip>>; materializedTasksetId: z.ZodNullable; disclosureApprovalId: z.ZodNullable; materializationApprovalId: z.ZodNullable; blockingQuestions: z.ZodDefault; prompt: z.ZodString; answer: z.ZodNullable; }, z.core.$strip>>>; transcript: z.ZodDefault; text: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>>; repairHistory: z.ZodDefault>>; blockedReason: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; type TrainingChatSearchResult = z.infer; type TaskAttemptResult = z.infer; type TaskAttemptArtifact = z.infer; type GradeResult = z.infer; type GraderAuditReport = z.infer; type TaskCreationSnapshot = z.infer; declare const PonderDesktopAttachmentSchema: z.ZodObject<{ scope: z.ZodObject<{ installationId: z.ZodString; profileId: z.ZodString; ownerUserId: z.ZodString; teamId: z.ZodString; bindingId: z.ZodString; bindingRevision: z.ZodNumber; }, z.core.$strict>; publicKey: z.ZodString; runtimeId: z.ZodString; epoch: z.ZodString; authorizationRevision: z.ZodNumber; reauthorizationGeneration: z.ZodDefault; state: z.ZodEnum<{ revoked: "revoked"; attached: "attached"; }>; leaseExpiresAt: z.ZodString; catalog: z.ZodNullable>; }, z.core.$strict>; type PonderDesktopAttachment = z.infer; declare const PonderDesktopOperationSchema: z.ZodObject<{ id: z.ZodString; origin: z.ZodObject<{ scope: z.ZodObject<{ installationId: z.ZodString; profileId: z.ZodString; ownerUserId: z.ZodString; teamId: z.ZodString; bindingId: z.ZodString; bindingRevision: z.ZodNumber; }, z.core.$strict>; epoch: z.ZodString; originChatTurnId: z.ZodString; originToolCallId: z.ZodString; humanControlId: z.ZodOptional; authorizationRevision: z.ZodNumber; }, z.core.$strict>; payloadHash: z.ZodString; intent: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodLiteral<"create">; prompt: z.ZodString; title: z.ZodString; targetId: z.ZodString; targetRevision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"message">; prompt: z.ZodString; targetId: z.ZodString; targetRevision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"steer">; prompt: z.ZodString; expectedTurnId: z.ZodString; targetId: z.ZodString; targetRevision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"stop">; expectedTurnId: z.ZodString; targetId: z.ZodString; targetRevision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"observe">; expectedTurnId: z.ZodString; targetId: z.ZodString; targetRevision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"inspect">; expectedTurnId: z.ZodString; targetId: z.ZodString; targetRevision: z.ZodString; }, z.core.$strict> ], "action">; target: z.ZodObject<{ id: z.ZodString; kind: z.ZodEnum<{ session: "session"; starter: "starter"; }>; title: z.ZodString; providerId: z.ZodString; modelId: z.ZodNullable; experience: z.ZodEnum<{ chat: "chat"; work: "work"; }>; workspaceId: z.ZodString; workspaceLabel: z.ZodString; profileSelectionId: z.ZodNullable; revision: z.ZodString; available: z.ZodBoolean; unavailableReason: z.ZodNullable; canMessage: z.ZodBoolean; canSteer: z.ZodBoolean; canStop: z.ZodBoolean; activeTurnId: z.ZodNullable; }, z.core.$strict>; workflow: z.ZodOptional; role: z.ZodEnum<{ preparation: "preparation"; successor: "successor"; }>; prerequisiteOperationId: z.ZodString; prerequisiteSessionId: z.ZodString; preparationOperationId: z.ZodOptional; source: z.ZodOptional>; }, z.core.$strict>>; state: z.ZodEnum<{ completed: "completed"; failed: "failed"; ready: "ready"; cancelled: "cancelled"; attention: "attention"; dispatching: "dispatching"; admitted: "admitted"; expired: "expired"; }>; claimId: z.ZodNullable; claimedEpoch: z.ZodNullable; expiresAt: z.ZodString; admittedAt: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; receipt: z.ZodNullable; turnId: z.ZodNullable; state: z.ZodString; }, z.core.$strict>>; error: z.ZodNullable; }, z.core.$strict>; type PonderDesktopOperation = z.infer; declare const PonderDesktopResultSchema: z.ZodObject<{ operationId: z.ZodString; payloadHash: z.ZodString; sessionId: z.ZodString; sessionTitle: z.ZodString; inputId: z.ZodNullable; turnId: z.ZodString; completedAt: z.ZodString; outcome: z.ZodEnum<{ completed: "completed"; failed: "failed"; cancelled: "cancelled"; }>; body: z.ZodString; bodyTruncated: z.ZodBoolean; assistantEventIds: z.ZodArray; providerId: z.ZodString; modelId: z.ZodNullable; workspaceId: z.ZodString; outputs: z.ZodArray>; error: z.ZodNullable; source: z.ZodOptional>; sourceError: z.ZodOptional; }, z.core.$strict>; type PonderDesktopResult = z.infer; declare const DatasetImportJobSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetImportJob.v1">; id: z.ZodString; profileId: z.ZodString; sourceKind: z.ZodEnum<{ huggingface: "huggingface"; uploaded_file: "uploaded_file"; }>; status: z.ZodEnum<{ failed: "failed"; ready: "ready"; cancelled: "cancelled"; awaiting_materialization_approval: "awaiting_materialization_approval"; materializing: "materializing"; validating: "validating"; cancelling: "cancelling"; created: "created"; inspecting: "inspecting"; awaiting_source_review: "awaiting_source_review"; awaiting_mapping: "awaiting_mapping"; }>; locator: z.ZodNullable; repositoryId: z.ZodString; repositoryUrl: z.ZodString; requestedRevision: z.ZodNullable; }, z.core.$strip>>; inspection: z.ZodNullable; id: z.ZodString; locator: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetLocator.v1">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; requestedRevision: z.ZodNullable; }, z.core.$strip>; resolvedRevision: z.ZodString; title: z.ZodString; description: z.ZodNullable; declaredLicense: z.ZodNullable; gated: z.ZodBoolean; private: z.ZodBoolean; configurations: z.ZodArray; splits: z.ZodArray; sizeBytes: z.ZodNullable; }, z.core.$strip>>; columns: z.ZodArray; }, z.core.$strip>>; previewRows: z.ZodArray>; sourceFiles: z.ZodArray; contentHash: z.ZodNullable; }, z.core.$strip>>; inspectedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>; mapping: z.ZodNullable; sourceSchemaHash: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; preset: z.ZodEnum<{ messages: "messages"; preference: "preference"; prompt_only: "prompt_only"; prompt_completion: "prompt_completion"; prompt_expected_answer: "prompt_expected_answer"; prompt_privileged_solution: "prompt_privileged_solution"; prompt_feedback: "prompt_feedback"; }>; bindings: z.ZodArray; transform: z.ZodEnum<{ string: "string"; messages: "messages"; json: "json"; identity: "identity"; numeric: "numeric"; math_final_answer: "math_final_answer"; }>; policy: z.ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; required: z.ZodBoolean; }, z.core.$strip>>; nullPolicy: z.ZodEnum<{ reject: "reject"; drop: "drop"; preserve: "preserve"; }>; invalidRowPolicy: z.ZodEnum<{ reject_import: "reject_import"; drop_with_receipt: "drop_with_receipt"; }>; splitPolicy: z.ZodObject<{ seed: z.ZodNumber; assignments: z.ZodRecord>; validationPercent: z.ZodNumber; frozenEvalPercent: z.ZodNumber; }, z.core.$strip>; importerVersion: z.ZodString; mappingHash: z.ZodString; }, z.core.$strip>>; progress: z.ZodObject<{ phase: z.ZodEnum<{ idle: "idle"; metadata: "metadata"; mapping: "mapping"; publish: "publish"; download: "download"; parquet_write: "parquet_write"; verification: "verification"; }>; completedBytes: z.ZodNumber; totalBytes: z.ZodNullable; completedRows: z.ZodNumber; totalRows: z.ZodNullable; message: z.ZodNullable; }, z.core.$strip>; targetStorageRoot: z.ZodNullable; tasksetId: z.ZodNullable; tasksetRevision: z.ZodNullable; artifactId: z.ZodNullable; error: z.ZodNullable; cancellationRequested: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; completedAt: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>; type DatasetImportJob = z.infer; declare const TaskCandidateStatusSchema: z.ZodEnum<{ dismissed: "dismissed"; rejected: "rejected"; blocked: "blocked"; needs_review: "needs_review"; baselining: "baselining"; nominated: "nominated"; approved_for_creation: "approved_for_creation"; creating: "creating"; needs_task_review: "needs_task_review"; ready_for_export: "ready_for_export"; retired: "retired"; }>; declare const TaskCandidateSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskCandidate.v1">; id: z.ZodString; profileId: z.ZodString; status: z.ZodEnum<{ dismissed: "dismissed"; rejected: "rejected"; blocked: "blocked"; needs_review: "needs_review"; baselining: "baselining"; nominated: "nominated"; approved_for_creation: "approved_for_creation"; creating: "creating"; needs_task_review: "needs_task_review"; ready_for_export: "ready_for_export"; retired: "retired"; }>; fingerprint: z.ZodString; title: z.ZodString; summary: z.ZodString; workflowSignature: z.ZodString; evidence: z.ZodArray; sourceRefIds: z.ZodArray; occurredAt: z.ZodString; signature: z.ZodString; summary: z.ZodString; confidence: z.ZodNumber; consented: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>; scorecard: z.ZodObject<{ frequency: z.ZodNumber; businessValue: z.ZodNumber; frontierCost: z.ZodNumber; signalQuality: z.ZodNumber; verifiability: z.ZodNumber; repeatability: z.ZodNumber; privacyRisk: z.ZodNumber; overall: z.ZodNumber; }, z.core.$strip>; recommendation: z.ZodObject<{ tactic: z.ZodEnum<{ preference: "preference"; retrieval: "retrieval"; sft: "sft"; sdpo: "sdpo"; no_training: "no_training"; prompting: "prompting"; grpo_rft: "grpo_rft"; sdft_opsd: "sdft_opsd"; agentic_rl: "agentic_rl"; }>; eligible: z.ZodBoolean; reasons: z.ZodArray; blockers: z.ZodDefault>; requiredSignals: z.ZodDefault>; generatedBy: z.ZodEnum<{ decision_table: "decision_table"; baseline_reassessment: "baseline_reassessment"; }>; }, z.core.$strip>; mergedIntoId: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>; declare const TaskMinerConfigSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskMinerConfig.v1">; enabled: z.ZodDefault; localOnly: z.ZodDefault; observationWindowDays: z.ZodDefault; minimumRecurrence: z.ZodDefault; clustering: z.ZodDefault>; consentRequired: z.ZodDefault; }, z.core.$strip>; declare const TaskMinerRunSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskMinerRun.v1">; id: z.ZodString; profileId: z.ZodString; status: z.ZodEnum<{ failed: "failed"; running: "running"; cancelled: "cancelled"; queued: "queued"; succeeded: "succeeded"; cancelling: "cancelling"; }>; config: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskMinerConfig.v1">; enabled: z.ZodDefault; localOnly: z.ZodDefault; observationWindowDays: z.ZodDefault; minimumRecurrence: z.ZodDefault; clustering: z.ZodDefault>; consentRequired: z.ZodDefault; }, z.core.$strip>; sourceIds: z.ZodArray; sessionIds: z.ZodDefault>; progress: z.ZodObject<{ stage: z.ZodEnum<{ complete: "complete"; queued: "queued"; preparing: "preparing"; clustering: "clustering"; ingesting: "ingesting"; persisting: "persisting"; }>; processedSources: z.ZodNumber; totalSources: z.ZodNumber; candidatesFound: z.ZodNumber; skippedSources: z.ZodDefault; }, z.core.$strip>; candidateIds: z.ZodArray; cancelRequested: z.ZodBoolean; error: z.ZodNullable; createdAt: z.ZodString; startedAt: z.ZodNullable; completedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>; type TaskCandidateStatus = z.infer; type TaskCandidate = z.infer; type TaskMinerConfig = z.infer; type TaskMinerRun = z.infer; declare const BenchmarkRunSummarySchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.benchmarkRunSummary.v1">; id: z.ZodString; phase: z.ZodEnum<{ baseline: "baseline"; candidate: "candidate"; }>; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; evaluationResult: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; model: z.ZodObject<{ provider: z.ZodString; model: z.ZodString; revision: z.ZodDefault>; artifactHash: z.ZodDefault>; tokenizerRevision: z.ZodDefault>; chatTemplateHash: z.ZodDefault>; }, z.core.$strict>; reasoningEffort: z.ZodNullable; protocol: z.ZodObject<{ split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; taskIds: z.ZodArray; seeds: z.ZodArray; repetitions: z.ZodNumber; runtimeTargetHash: z.ZodString; environmentHash: z.ZodString; toolContractHash: z.ZodString; limitsHash: z.ZodString; }, z.core.$strict>; attemptCount: z.ZodNumber; passedCount: z.ZodNumber; terminalCount: z.ZodNumber; usage: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; }, z.core.$strict>; costUsd: z.ZodNullable; latencyMs: z.ZodNumber; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; declare const BenchmarkComparisonSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.benchmarkComparison.v1">; id: z.ZodString; baseline: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; candidate: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; primaryMetric: z.ZodEnum<{ foreground_tokens: "foreground_tokens"; success_rate: "success_rate"; latency_ms: "latency_ms"; cost_usd: "cost_usd"; }>; qualityPassed: z.ZodBoolean; baselinePassRate: z.ZodNumber; candidatePassRate: z.ZodNumber; foregroundTokenDelta: z.ZodNumber; foregroundTokenDeltaPercent: z.ZodNullable; improved: z.ZodBoolean; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; type BenchmarkRunSummary = z.infer; type BenchmarkComparison = z.infer; declare const WorkProcessTraceSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.workProcessTrace.v1">; sourceRevisionHash: z.ZodString; sanitationPolicyVersion: z.ZodString; incomplete: z.ZodBoolean; incompleteReasons: z.ZodArray>; droppedEventCount: z.ZodNumber; steps: z.ZodArray; kind: z.ZodEnum<{ validation: "validation"; approval: "approval"; artifact: "artifact"; tool: "tool"; state_transition: "state_transition"; question: "question"; cleanup: "cleanup"; }>; action: z.ZodEnum<{ environment_destroyed: "environment_destroyed"; turn_started: "turn_started"; turn_completed: "turn_completed"; turn_failed: "turn_failed"; turn_cancelled: "turn_cancelled"; turn_timed_out: "turn_timed_out"; tool_invoked: "tool_invoked"; tool_completed: "tool_completed"; tool_failed: "tool_failed"; validation_completed: "validation_completed"; validation_failed: "validation_failed"; approval_requested: "approval_requested"; approval_resolved: "approval_resolved"; question_asked: "question_asked"; question_answered: "question_answered"; question_dismissed: "question_dismissed"; artifact_created: "artifact_created"; workspace_changed: "workspace_changed"; environment_created: "environment_created"; environment_reset: "environment_reset"; cleanup_completed: "cleanup_completed"; cleanup_failed: "cleanup_failed"; }>; status: z.ZodEnum<{ cancelled: "cancelled"; failed: "failed"; completed: "completed"; started: "started"; }>; inputHash: z.ZodNullable; outputHash: z.ZodNullable; receiptHash: z.ZodNullable; parentReceiptHash: z.ZodNullable; artifactRefs: z.ZodArray>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; attributes: z.ZodObject<{ toolCategory: z.ZodNullable>; validationKind: z.ZodNullable>; transitionState: z.ZodNullable>; interventionOutcome: z.ZodNullable>; artifactCount: z.ZodNumber; exitCode: z.ZodNullable; durationMs: z.ZodNullable; cpuTimeMs: z.ZodNullable; memoryPeakBytes: z.ZodNullable; errorClass: z.ZodNullable>; }, z.core.$strict>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>; declare const WorkEvidenceReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.workEvidenceReceipt.v1">; id: z.ZodString; source: z.ZodObject<{ surface: z.ZodEnum<{ desktop: "desktop"; hosted: "hosted"; }>; experience: z.ZodEnum<{ work: "work"; development: "development"; }>; opaqueRef: z.ZodString; revisionHash: z.ZodString; }, z.core.$strict>; agentSnapshot: z.ZodNullable>; model: z.ZodObject<{ provider: z.ZodString; model: z.ZodString; revision: z.ZodDefault>; artifactHash: z.ZodDefault>; tokenizerRevision: z.ZodDefault>; chatTemplateHash: z.ZodDefault>; }, z.core.$strict>; runtime: z.ZodObject<{ adapterId: z.ZodString; adapterVersion: z.ZodString; capabilityRef: z.ZodNullable>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; inputHash: z.ZodString; terminal: z.ZodObject<{ status: z.ZodEnum<{ cancelled: "cancelled"; failed: "failed"; completed: "completed"; timeout: "timeout"; }>; failureClass: z.ZodNullable>; }, z.core.$strict>; trace: z.ZodObject<{ sanitizedRef: z.ZodObject<{ contentHash: z.ZodString; mediaType: z.ZodDefault>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>; traceHash: z.ZodString; sanitationPolicyVersion: z.ZodString; incomplete: z.ZodBoolean; }, z.core.$strict>; outputRefs: z.ZodArray>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; artifactRefs: z.ZodArray>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; validationEvidenceRefs: z.ZodArray>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; interventions: z.ZodObject<{ approvals: z.ZodNumber; questions: z.ZodNumber; steeringEvents: z.ZodNumber; otherUserInterventions: z.ZodNumber; }, z.core.$strict>; timing: z.ZodObject<{ startedAt: z.ZodString; completedAt: z.ZodString; latencyMs: z.ZodNumber; }, z.core.$strict>; usage: z.ZodObject<{ promptTokens: z.ZodNullable; completionTokens: z.ZodNullable; totalTokens: z.ZodNullable; }, z.core.$strict>; costUsd: z.ZodNullable; provenance: z.ZodObject<{ consentReceiptRef: z.ZodObject<{ contentHash: z.ZodString; mediaType: z.ZodDefault>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>; consentScope: z.ZodLiteral<"work_process_and_artifacts">; consentGrantedAt: z.ZodString; policyVersion: z.ZodString; projectorVersion: z.ZodString; disclosure: z.ZodLiteral<"portable_sanitized">; ownershipScope: z.ZodEnum<{ personal: "personal"; workspace: "workspace"; }>; workspaceRef: z.ZodNullable; participantPolicy: z.ZodEnum<{ creator_only: "creator_only"; all_participants: "all_participants"; }>; retention: z.ZodObject<{ policy: z.ZodLiteral<"source_bound">; deleteWithSource: z.ZodLiteral; expiresAt: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; declare const WorkFeedbackReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.workFeedbackReceipt.v1">; id: z.ZodString; evidenceReceiptRef: z.ZodObject<{ contentHash: z.ZodString; mediaType: z.ZodDefault>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>; outputRevisionRef: z.ZodNullable>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; verdict: z.ZodEnum<{ accepted: "accepted"; needs_correction: "needs_correction"; not_useful: "not_useful"; }>; reasonCodes: z.ZodArray>; correctionRef: z.ZodNullable>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; correctedOutputRevisionRef: z.ZodNullable>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; actor: z.ZodLiteral<"user">; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; type WorkProcessTrace = z.infer; type WorkEvidenceReceipt = z.infer; type WorkFeedbackReceipt = z.infer; declare const ModelImprovementQualificationReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelImprovementQualificationReceipt.v1">; id: z.ZodString; review: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; tasksetRelease: z.ZodNullable>; baselineEvaluation: z.ZodNullable>; model: z.ZodObject<{ provider: z.ZodString; model: z.ZodString; revision: z.ZodDefault>; artifactHash: z.ZodDefault>; tokenizerRevision: z.ZodDefault>; chatTemplateHash: z.ZodDefault>; }, z.core.$strict>; environmentHash: z.ZodNullable; toolContractHash: z.ZodNullable; permissionContractHash: z.ZodNullable; policyHash: z.ZodNullable; verifierRef: z.ZodNullable>; sourcePolicies: z.ZodArray; state: z.ZodEnum<{ authorized: "authorized"; deleted: "deleted"; expired: "expired"; revoked: "revoked"; }>; checkedAt: z.ZodString; }, z.core.$strict>>; trainingEvidenceRefs: z.ZodArray>; frozenEvaluationEvidenceRefs: z.ZodArray>; privacyApproval: z.ZodNullable>; budgetApproval: z.ZodNullable>; maximumCostUsd: z.ZodNumber; signal: z.ZodObject<{ kind: z.ZodEnum<{ none: "none"; demonstrations: "demonstrations"; chosen_rejected: "chosen_rejected"; scalar_reward: "scalar_reward"; }>; strength: z.ZodEnum<{ absent: "absent"; weak: "weak"; usable: "usable"; }>; calibrated: z.ZodBoolean; confounded: z.ZodBoolean; variance: z.ZodNullable; evidenceRefs: z.ZodArray>; }, z.core.$strict>; decision: z.ZodEnum<{ preference: "preference"; no_training: "no_training"; sft: "sft"; rl: "rl"; }>; reasons: z.ZodArray; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; type ModelImprovementQualificationReceipt = z.infer; declare const ProfileEvaluationComparisonSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.profileEvaluationComparison.v1">; id: z.ZodString; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; populationHash: z.ZodString; environmentHash: z.ZodString; metricPolicyHash: z.ZodString; limitsHash: z.ZodString; members: z.ZodArray; metricResultHash: z.ZodString; source: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; policy: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"model">; model: z.ZodObject<{ provider: z.ZodString; model: z.ZodString; revision: z.ZodDefault>; artifactHash: z.ZodDefault>; tokenizerRevision: z.ZodDefault>; chatTemplateHash: z.ZodDefault>; }, z.core.$strict>; configurationHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; }, z.core.$strict> ], "kind">; score: z.ZodNullable; }, z.core.$strict>>; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; type ProfileEvaluationComparison = z.infer; declare const ProfileEvaluationSuiteRunSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.profileEvaluationSuiteRun.v1">; id: z.ZodString; suiteId: z.ZodString; suiteHash: z.ZodString; catalogHash: z.ZodString; profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray; runHash: z.ZodString; passed: z.ZodBoolean; score: z.ZodNullable; }, z.core.$strict>>; passed: z.ZodBoolean; createdAt: z.ZodString; completedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; type ProfileEvaluationSuiteRun = z.infer; declare const RolloutTrajectoryReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.rolloutTrajectoryReceipt.v1">; id: z.ZodString; jobId: z.ZodString; planId: z.ZodString; tasksetId: z.ZodString; tasksetHash: z.ZodString; taskId: z.ZodString; split: z.ZodLiteral<"train">; correlationId: z.ZodString; provider: z.ZodString; providerTrace: z.ZodObject<{ invocationId: z.ZodString; experimentId: z.ZodString; rolloutId: z.ZodString; runId: z.ZodString; rowId: z.ZodString; }, z.core.$strip>; optimizerMethod: z.ZodDefault>; evidenceLevels: z.ZodDefault; observed: z.ZodEnum<{ trajectory: "trajectory"; aggregate: "aggregate"; provider_reported: "provider_reported"; }>; providerReported: z.ZodEnum<{ trajectory: "trajectory"; aggregate: "aggregate"; provider_reported: "provider_reported"; }>; }, z.core.$strip>>; budgetUsage: z.ZodDefault>; environment: z.ZodObject<{ id: z.ZodString; version: z.ZodString; worldId: z.ZodString; worldHash: z.ZodString; toolContractHash: z.ZodString; }, z.core.$strip>; policy: z.ZodObject<{ modelId: z.ZodString; checkpointId: z.ZodNullable; completionParametersHash: z.ZodString; }, z.core.$strip>; status: z.ZodEnum<{ failed: "failed"; running: "running"; succeeded: "succeeded"; received: "received"; }>; failureClass: z.ZodNullable>; reward: z.ZodObject<{ eligible: z.ZodBoolean; raw: z.ZodNullable; normalized: z.ZodNullable; components: z.ZodRecord; }, z.core.$strip>; trajectory: z.ZodNullable; id: z.ZodString; worldId: z.ZodString; taskId: z.ZodString; toolContractHash: z.ZodLiteral; modelRef: z.ZodNullable>; status: z.ZodEnum<{ completed: "completed"; cancelled: "cancelled"; infrastructure_failure: "infrastructure_failure"; budget_exhausted: "budget_exhausted"; }>; steps: z.ZodArray; turn: z.ZodNumber; content: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"tool_call">; turn: z.ZodNumber; callId: z.ZodString; name: z.ZodEnum<{ search_crm: "search_crm"; query_billing: "query_billing"; search_support: "search_support"; run_python: "run_python"; }>; arguments: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"tool_result">; turn: z.ZodNumber; callId: z.ZodString; name: z.ZodEnum<{ search_crm: "search_crm"; query_billing: "query_billing"; search_support: "search_support"; run_python: "run_python"; }>; ok: z.ZodBoolean; result: z.ZodUnknown; rows: z.ZodNumber; bytes: z.ZodNumber; durationMs: z.ZodNumber; error: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"final">; turn: z.ZodNumber; content: z.ZodString; }, z.core.$strip> ], "kind">>; startedAt: z.ZodString; completedAt: z.ZodString; infrastructureError: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.singleTurnPolicyTrajectory.v1">; id: z.ZodString; taskId: z.ZodString; status: z.ZodEnum<{ completed: "completed"; infrastructure_failure: "infrastructure_failure"; }>; promptHash: z.ZodString; responseText: z.ZodString; infrastructureError: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.ppoTrajectory.v1">; id: z.ZodString; taskId: z.ZodString; policyModelId: z.ZodString; referenceModelId: z.ZodString; valueModelId: z.ZodString; steps: z.ZodArray; terminated: z.ZodBoolean; truncated: z.ZodBoolean; reward: z.ZodNumber; policyLogProbability: z.ZodNumber; referenceLogProbability: z.ZodNumber; valuePrediction: z.ZodNumber; return: z.ZodNumber; advantage: z.ZodNumber; mask: z.ZodNumber; }, z.core.$strip>>; createdAt: z.ZodString; }, z.core.$strip> ]>>; verifier: z.ZodNullable; trajectoryId: z.ZodString; outcome: z.ZodEnum<{ cancelled: "cancelled"; infrastructure_failure: "infrastructure_failure"; budget_exhausted: "budget_exhausted"; correct: "correct"; incorrect: "incorrect"; parse_failure: "parse_failure"; tool_schema_violation: "tool_schema_violation"; }>; reward: z.ZodNullable; rewardEligible: z.ZodBoolean; exactAnswer: z.ZodBoolean; components: z.ZodObject<{ exactAnswer: z.ZodNumber; efficiency: z.ZodNumber; conciseOutput: z.ZodNumber; }, z.core.$strip>; metrics: z.ZodObject<{ toolCalls: z.ZodNumber; rowsRead: z.ZodNumber; bytesRead: z.ZodNumber; consecutiveRetrievalCalls: z.ZodNumber; wallTimeMs: z.ZodNumber; parseFailures: z.ZodNumber; budgetExhausted: z.ZodBoolean; }, z.core.$strip>; parsedAnswer: z.ZodNullable; feedback: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.exactAnswerVerifierResult.v1">; outcome: z.ZodEnum<{ infrastructure_failure: "infrastructure_failure"; correct: "correct"; incorrect: "incorrect"; parse_failure: "parse_failure"; }>; graderSetHash: z.ZodString; score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; expectedAnswerHash: z.ZodString; extractedAnswer: z.ZodNullable; feedback: z.ZodArray; }, z.core.$strip> ]>>; providerStatus: z.ZodDefault>; receivedAt: z.ZodString; startedAt: z.ZodNullable; completedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>; type RolloutTrajectoryReceipt = z.infer; declare const ModelProjectSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelProject.v2">; id: z.ZodString; profileId: z.ZodString; revision: z.ZodDefault; name: z.ZodString; objective: z.ZodNullable; defaultBaseModel: z.ZodNullable; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>; defaultDestinationId: z.ZodNullable; trainingSetup: z.ZodObject<{ tasksetRef: z.ZodDefault>>; evaluationTasksetRef: z.ZodOptional>>; profileSource: z.ZodOptional; }, z.core.$strict>>>; profileEvaluation: z.ZodOptional; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; rewardBindingRef: z.ZodOptional>>; tasksetRelease: z.ZodDefault>>; harnessRelease: z.ZodDefault>>; baseModel: z.ZodDefault; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>>; method: z.ZodDefault>>; destinationId: z.ZodDefault>; managedRolloutPlacement: z.ZodDefault>; managedGpuPlacementObjective: z.ZodDefault>; managedGpuSelection: z.ZodOptional; objective: z.ZodEnum<{ balanced: "balanced"; fast: "fast"; economical: "economical"; }>; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"manual">; availabilityId: z.ZodString; gpuType: z.ZodString; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict> ], "mode">>; continuationAdapterMode: z.ZodOptional>; managedGpuRequirement: z.ZodDefault>; runPreset: z.ZodDefault>>; recipe: z.ZodDefault; parameterization: z.ZodEnum<{ lora: "lora"; full: "full"; }>; }, z.core.$catchall>>>; preferredMaximumSpendUsd: z.ZodDefault>; preferredRetentionDays: z.ZodDefault>; }, z.core.$strict>; hosted: z.ZodDefault; apiOrigin: z.ZodDefault>; teamId: z.ZodString; projectId: z.ZodString; portableProjectId: z.ZodString; revision: z.ZodNumber; etag: z.ZodString; syncedSourceRevision: z.ZodNumber; syncedAt: z.ZodString; tasksets: z.ZodDefault>; releaseId: z.ZodString; releaseRevision: z.ZodNumber; releaseHash: z.ZodString; packageHash: z.ZodDefault>; hostedTasksetId: z.ZodString; syncedAt: z.ZodString; }, z.core.$strict>>>; }, z.core.$strict>>>; tasksetSyncs: z.ZodDefault; hostedTasksetId: z.ZodDefault>; lastAttemptAt: z.ZodString; syncedAt: z.ZodDefault>; lastError: z.ZodDefault>; }, z.core.$strict>>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; declare const TrainingPlanSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingPlan.v1">; id: z.ZodString; modelId: z.ZodString; tasksetId: z.ZodString; tasksetHash: z.ZodString; comparisonSeriesEntry: z.ZodOptional>>; evaluationTasksetRef: z.ZodOptional>>; harnessRelease: z.ZodOptional>>; modelImprovementQualification: z.ZodOptional>>; destinationId: z.ZodEnum<{ openpond_managed: "openpond_managed"; }>; recipe: z.ZodUnion; method: z.ZodLiteral<"sft">; parameterization: z.ZodLiteral<"lora">; baseModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; dataset: z.ZodObject<{ trainSplit: z.ZodLiteral<"train">; validationSplit: z.ZodEnum<{ validation: "validation"; frozen_eval: "frozen_eval"; }>; completionOnly: z.ZodBoolean; maxSequenceLength: z.ZodNumber; maxExamples: z.ZodDefault; selectionStrategy: z.ZodDefault>; selectionSeed: z.ZodDefault; }, z.core.$strip>; lora: z.ZodObject<{ rank: z.ZodNumber; alpha: z.ZodNumber; dropout: z.ZodNumber; targetModules: z.ZodArray; }, z.core.$strip>; optimizer: z.ZodObject<{ learningRate: z.ZodNumber; epochs: z.ZodNumber; maxSteps: z.ZodNumber; batchSize: z.ZodNumber; gradientAccumulationSteps: z.ZodNumber; seed: z.ZodNumber; }, z.core.$strip>; resourceLimits: z.ZodObject<{ cpuThreads: z.ZodNumber; memoryBytes: z.ZodNumber; wallTimeMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.dpoRecipe.v1">; method: z.ZodLiteral<"dpo">; parameterization: z.ZodLiteral<"lora">; policyModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; referenceModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; dataset: z.ZodObject<{ trainSplit: z.ZodLiteral<"train">; validationSplit: z.ZodEnum<{ validation: "validation"; frozen_eval: "frozen_eval"; }>; maxPairs: z.ZodNumber; maxPromptTokens: z.ZodNumber; maxCompletionTokens: z.ZodNumber; selectionStrategy: z.ZodLiteral<"stable_hash_top_n">; selectionSeed: z.ZodNumber; }, z.core.$strip>; lora: z.ZodObject<{ rank: z.ZodNumber; alpha: z.ZodNumber; dropout: z.ZodNumber; targetModules: z.ZodArray; }, z.core.$strip>; loss: z.ZodObject<{ variant: z.ZodLiteral<"sigmoid">; beta: z.ZodNumber; labelSmoothing: z.ZodDefault; }, z.core.$strip>; optimizer: z.ZodObject<{ learningRate: z.ZodNumber; epochs: z.ZodNumber; maxSteps: z.ZodNumber; batchSize: z.ZodNumber; gradientAccumulationSteps: z.ZodNumber; seed: z.ZodNumber; }, z.core.$strip>; referenceLogprobs: z.ZodObject<{ cacheSchemaVersion: z.ZodLiteral<"openpond.dpoReferenceLogprobs.v1">; cacheKey: z.ZodString; invalidationHash: z.ZodString; }, z.core.$strip>; resourceLimits: z.ZodObject<{ cpuThreads: z.ZodNumber; memoryBytes: z.ZodNumber; wallTimeMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.rftRecipe.v1">; method: z.ZodLiteral<"grpo">; parameterization: z.ZodLiteral<"lora">; baseModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; dataset: z.ZodObject<{ trainSplit: z.ZodLiteral<"train">; validationSplit: z.ZodEnum<{ validation: "validation"; frozen_eval: "frozen_eval"; }>; maxPromptTokens: z.ZodNumber; maxExamples: z.ZodDefault; selectionStrategy: z.ZodDefault>; }, z.core.$strip>; lora: z.ZodObject<{ rank: z.ZodNumber; }, z.core.$strip>; rollout: z.ZodObject<{ groupSize: z.ZodNumber; concurrency: z.ZodNumber; maxTurns: z.ZodNumber; maxOutputTokens: z.ZodNumber; temperature: z.ZodNumber; topP: z.ZodNumber; seed: z.ZodNumber; }, z.core.$strip>; optimizer: z.ZodObject<{ learningRate: z.ZodNumber; maxSteps: z.ZodNumber; clipRange: z.ZodDefault; iterations: z.ZodDefault; microbatchSize: z.ZodDefault; gradientAccumulationSteps: z.ZodDefault; advantageEpsilon: z.ZodDefault; adamw: z.ZodDefault>; weightDecay: z.ZodDefault; beta1: z.ZodDefault; beta2: z.ZodDefault; epsilon: z.ZodDefault; }, z.core.$strict>>; }, z.core.$strip>; loss: z.ZodDefault>; klBeta: z.ZodDefault>; }, z.core.$strip>>; reward: z.ZodObject<{ graderId: z.ZodString; graderHash: z.ZodString; environmentId: z.ZodString; environmentVersion: z.ZodString; toolContractHash: z.ZodString; learnedPreference: z.ZodOptional; qualificationReport: z.ZodDefault>>; evaluationReferences: z.ZodDefault>>; checkpoint: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; objectRef: z.ZodString; files: z.ZodArray>; }, z.core.$strict>; runtime: z.ZodObject<{ baseModel: z.ZodObject<{ source: z.ZodLiteral<"huggingface">; repoId: z.ZodString; revision: z.ZodString; configHash: z.ZodString; tokenizerHash: z.ZodString; licenseId: z.ZodString; gated: z.ZodBoolean; }, z.core.$strict>; processor: z.ZodObject<{ repository: z.ZodString; revision: z.ZodString; configHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; processorRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rewardComposerRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; executionReceipt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; }, z.core.$strip>; resourceLimits: z.ZodObject<{ wallTimeMs: z.ZodNumber; maxGpuSeconds: z.ZodOptional; warmupDeadlineSeconds: z.ZodOptional; maxRollouts: z.ZodNumber; maxPayloadBytes: z.ZodNumber; }, z.core.$strip>; policyOptimization: z.ZodDefault; policyModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; referenceModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; dataset: z.ZodObject<{ tasksetId: z.ZodString; tasksetHash: z.ZodString; split: z.ZodLiteral<"train">; selectionStrategy: z.ZodEnum<{ stable_hash_top_n: "stable_hash_top_n"; rft_easy_curriculum_v1: "rft_easy_curriculum_v1"; }>; selectionSeed: z.ZodNumber; maxExamples: z.ZodNumber; }, z.core.$strip>; sampler: z.ZodObject<{ temperature: z.ZodNumber; topP: z.ZodNumber; maxOutputTokens: z.ZodNumber; maxTurns: z.ZodNumber; concurrency: z.ZodNumber; }, z.core.$strip>; environment: z.ZodObject<{ id: z.ZodString; version: z.ZodString; toolContractHash: z.ZodString; }, z.core.$strip>; reward: z.ZodObject<{ graderId: z.ZodString; graderHash: z.ZodString; learnedPreference: z.ZodDefault; qualificationReport: z.ZodDefault>>; evaluationReferences: z.ZodDefault>>; checkpoint: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; objectRef: z.ZodString; files: z.ZodArray>; }, z.core.$strict>; runtime: z.ZodObject<{ baseModel: z.ZodObject<{ source: z.ZodLiteral<"huggingface">; repoId: z.ZodString; revision: z.ZodString; configHash: z.ZodString; tokenizerHash: z.ZodString; licenseId: z.ZodString; gated: z.ZodBoolean; }, z.core.$strict>; processor: z.ZodObject<{ repository: z.ZodString; revision: z.ZodString; configHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; processorRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rewardComposerRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; executionReceipt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; }, z.core.$strip>; kl: z.ZodObject<{ coefficient: z.ZodNullable; referenceConstraint: z.ZodLiteral<"fixed_reference">; }, z.core.$strip>; budgets: z.ZodObject<{ maxRollouts: z.ZodNumber; maxEnvironmentExecutions: z.ZodNumber; maxInputTokens: z.ZodNumber; maxOutputTokens: z.ZodNumber; maxOptimizerSteps: z.ZodNumber; wallTimeMs: z.ZodNumber; maximumCostUsd: z.ZodNullable; }, z.core.$strip>; checkpointEverySteps: z.ZodNumber; seed: z.ZodNumber; evaluationSplit: z.ZodLiteral<"frozen_eval">; optimizer: z.ZodDiscriminatedUnion<[ z.ZodObject<{ method: z.ZodLiteral<"grpo">; groupSize: z.ZodNumber; normalization: z.ZodLiteral<"group_standardized">; advantageEpsilon: z.ZodDefault; loss: z.ZodEnum<{ grpo: "grpo"; dapo: "dapo"; "gspo-token": "gspo-token"; }>; clipRange: z.ZodDefault; iterations: z.ZodDefault; microbatchSize: z.ZodDefault; gradientAccumulationSteps: z.ZodDefault; adamw: z.ZodDefault>; weightDecay: z.ZodDefault; beta1: z.ZodDefault; beta2: z.ZodDefault; epsilon: z.ZodDefault; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"ppo">; valueModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; gamma: z.ZodNumber; gaeLambda: z.ZodNumber; policyClip: z.ZodNumber; valueClip: z.ZodNumber; valueLossCoefficient: z.ZodNumber; ppoEpochs: z.ZodNumber; minibatchSize: z.ZodNumber; }, z.core.$strip> ], "method">; }, z.core.$strip>>>; continuation: z.ZodOptional; parentArtifact: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourceArtifact: z.ZodObject<{ jobId: z.ZodString; artifactId: z.ZodString; checkpointId: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; optimizerMode: z.ZodEnum<{ continue: "continue"; reset: "reset"; }>; adapterMode: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.ppoRecipe.v1">; method: z.ZodLiteral<"ppo">; parameterization: z.ZodLiteral<"lora">; policyOptimization: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.policyOptimization.v1">; policyModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; referenceModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; dataset: z.ZodObject<{ tasksetId: z.ZodString; tasksetHash: z.ZodString; split: z.ZodLiteral<"train">; selectionStrategy: z.ZodEnum<{ stable_hash_top_n: "stable_hash_top_n"; rft_easy_curriculum_v1: "rft_easy_curriculum_v1"; }>; selectionSeed: z.ZodNumber; maxExamples: z.ZodNumber; }, z.core.$strip>; sampler: z.ZodObject<{ temperature: z.ZodNumber; topP: z.ZodNumber; maxOutputTokens: z.ZodNumber; maxTurns: z.ZodNumber; concurrency: z.ZodNumber; }, z.core.$strip>; environment: z.ZodObject<{ id: z.ZodString; version: z.ZodString; toolContractHash: z.ZodString; }, z.core.$strip>; reward: z.ZodObject<{ graderId: z.ZodString; graderHash: z.ZodString; learnedPreference: z.ZodDefault; qualificationReport: z.ZodDefault>>; evaluationReferences: z.ZodDefault>>; checkpoint: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; objectRef: z.ZodString; files: z.ZodArray>; }, z.core.$strict>; runtime: z.ZodObject<{ baseModel: z.ZodObject<{ source: z.ZodLiteral<"huggingface">; repoId: z.ZodString; revision: z.ZodString; configHash: z.ZodString; tokenizerHash: z.ZodString; licenseId: z.ZodString; gated: z.ZodBoolean; }, z.core.$strict>; processor: z.ZodObject<{ repository: z.ZodString; revision: z.ZodString; configHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; processorRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rewardComposerRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; executionReceipt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; }, z.core.$strip>; kl: z.ZodObject<{ coefficient: z.ZodNullable; referenceConstraint: z.ZodLiteral<"fixed_reference">; }, z.core.$strip>; budgets: z.ZodObject<{ maxRollouts: z.ZodNumber; maxEnvironmentExecutions: z.ZodNumber; maxInputTokens: z.ZodNumber; maxOutputTokens: z.ZodNumber; maxOptimizerSteps: z.ZodNumber; wallTimeMs: z.ZodNumber; maximumCostUsd: z.ZodNullable; }, z.core.$strip>; checkpointEverySteps: z.ZodNumber; seed: z.ZodNumber; evaluationSplit: z.ZodLiteral<"frozen_eval">; optimizer: z.ZodObject<{ method: z.ZodLiteral<"ppo">; valueModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; gamma: z.ZodNumber; gaeLambda: z.ZodNumber; policyClip: z.ZodNumber; valueClip: z.ZodNumber; valueLossCoefficient: z.ZodNumber; ppoEpochs: z.ZodNumber; minibatchSize: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; lora: z.ZodObject<{ rank: z.ZodNumber; alpha: z.ZodNumber; dropout: z.ZodNumber; targetModules: z.ZodArray; }, z.core.$strip>; valueHead: z.ZodObject<{ initialization: z.ZodLiteral<"policy_hidden_state_linear">; optimizerLearningRate: z.ZodNumber; artifactName: z.ZodLiteral<"value_head.safetensors">; }, z.core.$strip>; policyLearningRate: z.ZodNumber; resume: z.ZodObject<{ checkpointId: z.ZodNullable; policyHash: z.ZodString; referenceHash: z.ZodString; valueModelHash: z.ZodString; optimizerStateHash: z.ZodNullable; }, z.core.$strip>; resourceLimits: z.ZodObject<{ cpuThreads: z.ZodNumber; memoryBytes: z.ZodNumber; wallTimeMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.unsupportedRecipe.v1">; method: z.ZodEnum<{ sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; parameterization: z.ZodEnum<{ lora: "lora"; full: "full"; }>; unsupportedReason: z.ZodString; }, z.core.$strip> ]>; environmentPlacement: z.ZodEnum<{ local: "local"; none: "none"; remote: "remote"; colocated: "colocated"; provider_native: "provider_native"; }>; compatibility: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingCompatibility.v1">; compatible: z.ZodBoolean; destinationId: z.ZodEnum<{ openpond_managed: "openpond_managed"; }>; tasksetId: z.ZodString; recipeMethod: z.ZodEnum<{ sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; issues: z.ZodArray; path: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; checkedAt: z.ZodString; }, z.core.$strip>; dataPolicy: z.ZodObject<{ exportApproved: z.ZodBoolean; approvedSourceIds: z.ZodArray; retentionDays: z.ZodNullable; region: z.ZodNullable; }, z.core.$strip>; estimatedCostUsd: z.ZodNullable; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strip>; declare const TrainingBundleManifestSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingBundle.v1">; id: z.ZodString; planId: z.ZodString; tasksetId: z.ZodString; tasksetHash: z.ZodString; recipeHash: z.ZodString; files: z.ZodArray; }, z.core.$strip>>; totalSizeBytes: z.ZodNumber; sourceIds: z.ZodArray; excludedSourceIds: z.ZodArray; containsRawChats: z.ZodLiteral; containsSecrets: z.ZodLiteral; containsHiddenGraderAssets: z.ZodLiteral; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strip>; declare const TrainingApprovalSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingApproval.v1">; evaluationTasksetRef: z.ZodOptional>>; id: z.ZodString; planId: z.ZodString; bundleHash: z.ZodString; harnessRelease: z.ZodOptional>>; modelImprovementQualification: z.ZodOptional>>; destinationId: z.ZodEnum<{ openpond_managed: "openpond_managed"; }>; modelId: z.ZodString; method: z.ZodEnum<{ sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; parameterization: z.ZodEnum<{ lora: "lora"; full: "full"; }>; maximumCostUsd: z.ZodNullable; approvedBy: z.ZodString; approvedAt: z.ZodString; }, z.core.$strip>; declare const TrainingJobSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingJob.v1">; id: z.ZodString; planId: z.ZodString; bundleHash: z.ZodString; approvalId: z.ZodString; destinationId: z.ZodEnum<{ openpond_managed: "openpond_managed"; }>; status: z.ZodEnum<{ failed: "failed"; running: "running"; starting: "starting"; cancelled: "cancelled"; reconciling: "reconciling"; queued: "queued"; succeeded: "succeeded"; cancelling: "cancelling"; }>; nonProduction: z.ZodBoolean; workerPid: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; error: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>; declare const TrainingJobEventSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingJobEvent.v1">; id: z.ZodString; jobId: z.ZodString; sequence: z.ZodNumber; type: z.ZodEnum<{ start: "start"; cancel: "cancel"; complete: "complete"; queued: "queued"; metric: "metric"; progress: "progress"; checkpoint: "checkpoint"; failure: "failure"; reconcile: "reconcile"; }>; timestamp: z.ZodString; payload: z.ZodDefault>; }, z.core.$strip>; declare const TrainingArtifactSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingArtifact.v1">; id: z.ZodString; jobId: z.ZodString; kind: z.ZodEnum<{ manifest: "manifest"; evaluation: "evaluation"; adapter: "adapter"; metrics: "metrics"; checkpoint: "checkpoint"; log: "log"; }>; path: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; baseModelId: z.ZodNullable; baseModelRevision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; nonProduction: z.ZodBoolean; createdAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>; declare const ModelArtifactLineageSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelArtifactLineage.v1">; id: z.ZodString; modelId: z.ZodString; artifactId: z.ZodString; jobId: z.ZodString; tasksetId: z.ZodString; tasksetHash: z.ZodString; graderHash: z.ZodString; planHash: z.ZodString; bundleHash: z.ZodString; recipeHash: z.ZodString; workerVersion: z.ZodString; trainerVersion: z.ZodString; importedAt: z.ZodString; frozenEvaluationArtifactId: z.ZodNullable; promotable: z.ZodBoolean; pinned: z.ZodDefault; status: z.ZodDefault>; rejectedAt: z.ZodDefault>; rejectionReason: z.ZodDefault>; chatConfiguration: z.ZodDefault>; profile: z.ZodDefault>; systemPromptMode: z.ZodDefault>; customSystemPrompt: z.ZodDefault>; contextWindowTokens: z.ZodDefault; maxOutputTokens: z.ZodDefault; temperature: z.ZodDefault; repetitionPenalty: z.ZodDefault; noRepeatNgramSize: z.ZodDefault; compaction: z.ZodDefault>; keepWarmSeconds: z.ZodDefault; updatedAt: z.ZodDefault>; }, z.core.$strip>>; managedServing: z.ZodDefault; teamId: z.ZodDefault>; source: z.ZodLiteral<"sandbox_managed_rl">; sourceRef: z.ZodString; canonicalArtifactId: z.ZodNullable; canonicalModelName: z.ZodDefault>; canonicalArtifactState: z.ZodNullable>; canonicalDeploymentId: z.ZodNullable; canonicalDeploymentState: z.ZodNullable>; state: z.ZodEnum<{ failed: "failed"; pending: "pending"; ready: "ready"; imported: "imported"; }>; customerBindingAllowed: z.ZodDefault; artifactContentHash: z.ZodDefault>; baseProfileId: z.ZodDefault>; publishedAt: z.ZodNullable; lastSyncedAt: z.ZodString; lastError: z.ZodNullable; }, z.core.$strip>>>; }, z.core.$strip>; declare const ModelBindingSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelBinding.v1">; id: z.ZodString; profileId: z.ZodString; role: z.ZodEnum<{ agent: "agent"; extension: "extension"; chat_manual: "chat_manual"; authoring_optimizer: "authoring_optimizer"; }>; roleTargetId: z.ZodString; modelArtifactLineageId: z.ZodString; tasksetId: z.ZodString; evaluationArtifactId: z.ZodNullable; status: z.ZodEnum<{ active: "active"; rolled_back: "rolled_back"; }>; priorBindingId: z.ZodNullable; rollbackTargetBindingId: z.ZodNullable; promotedBy: z.ZodString; promotedAt: z.ZodString; rolledBackAt: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>; declare const TrainingStateResponseSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingState.v1">; profileId: z.ZodString; sources: z.ZodArray; id: z.ZodString; profileId: z.ZodString; sessionId: z.ZodString; turnIds: z.ZodDefault>; workspaceId: z.ZodNullable; sourceHash: z.ZodString; clusterKey: z.ZodString; title: z.ZodString; occurredAt: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: z.ZodNullable; grantedAt: z.ZodNullable; purpose: z.ZodLiteral<"task_authoring_and_evaluation">; }, z.core.$strip>; connectedAppIds: z.ZodDefault>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>; creations: z.ZodArray; id: z.ZodString; request: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskCreationRequest.v1">; id: z.ZodString; profileId: z.ZodString; surface: z.ZodEnum<{ slash_train: "slash_train"; session_menu: "session_menu"; bulk_selection: "bulk_selection"; training_page: "training_page"; task_candidate: "task_candidate"; }>; mode: z.ZodEnum<{ defaults: "defaults"; customize: "customize"; }>; entryMode: z.ZodDefault>; resourceIntent: z.ZodDefault>; buildIntent: z.ZodDefault>; buildSpecification: z.ZodDefault; behavior: z.ZodString; examples: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"preferences">; preference: z.ZodString; pairs: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"verifiable_reward">; task: z.ZodString; rules: z.ZodDefault>>; otherwisePoints: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodDefault>>; positiveExample: z.ZodString; negativeExample: z.ZodString; boundaryExample: z.ZodString; }, z.core.$strip> ], "kind">>>; objective: z.ZodNullable; methodHint: z.ZodDefault>>; preferredBaseModelId: z.ZodDefault>; preferredBaseModel: z.ZodDefault; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strip>>>; sourceIds: z.ZodArray; candidateId: z.ZodNullable; analysisModel: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; analysisReasoningEffort: z.ZodDefault>>; createImproveRunId: z.ZodDefault>; targetIntent: z.ZodDefault>; id: z.ZodNullable; displayName: z.ZodNullable; operation: z.ZodEnum<{ create: "create"; improve: "improve"; }>; }, z.core.$strip>>; disclosure: z.ZodDefault; content: z.ZodLiteral<"raw_excerpts">; sourceIds: z.ZodArray; providerModel: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; approvalId: z.ZodNullable; approvedAt: z.ZodNullable; }, z.core.$strip>>; createdAt: z.ZodString; }, z.core.$strip>; state: z.ZodEnum<{ failed: "failed"; ready: "ready"; planning: "planning"; awaiting_questions: "awaiting_questions"; blocked: "blocked"; cancelled: "cancelled"; awaiting_disclosure_approval: "awaiting_disclosure_approval"; awaiting_materialization_approval: "awaiting_materialization_approval"; materializing: "materializing"; validating: "validating"; recommendation_ready: "recommendation_ready"; }>; proposal: z.ZodNullable; id: z.ZodString; name: z.ZodString; objective: z.ZodString; diagnosis: z.ZodDefault; summary: z.ZodString; stableBehavior: z.ZodDefault>; changingKnowledge: z.ZodDefault>; requiredContext: z.ZodDefault>; requiredTools: z.ZodDefault>; intervention: z.ZodEnum<{ preference: "preference"; retrieval: "retrieval"; sft: "sft"; sdpo: "sdpo"; no_training: "no_training"; prompting: "prompting"; grpo_rft: "grpo_rft"; sdft_opsd: "sdft_opsd"; agentic_rl: "agentic_rl"; }>; trainingEligible: z.ZodBoolean; rationale: z.ZodArray; confidence: z.ZodNumber; }, z.core.$strip>>; taskKind: z.ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; sourceIds: z.ZodArray; assumptions: z.ZodArray; successCriteria: z.ZodArray; proposedGraders: z.ZodDefault>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"model_judge">; rubric: z.ZodString; judge: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; calibrationFixtureRefs: z.ZodArray; calibrationStatus: z.ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubric: z.ZodString; reviewerRole: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; module: z.ZodString; exportName: z.ZodString; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strip> ]>>>; graderFixtures: z.ZodDefault; output: z.ZodRecord; infrastructureError: z.ZodNullable; expectedPassed: z.ZodBoolean; expectedRewardEligible: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; generatedFiles: z.ZodDefault; content: z.ZodString; }, z.core.$strip>>>; proposedExamples: z.ZodDefault; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; origin: z.ZodEnum<{ corrected: "corrected"; extracted: "extracted"; synthetic: "synthetic"; expert_authored: "expert_authored"; }>; inputPrompt: z.ZodString; expectedOutputText: z.ZodNullable; rationale: z.ZodString; }, z.core.$strip>>>; proposedMethod: z.ZodEnum<{ none: "none"; retrieval: "retrieval"; sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; trainingPath: z.ZodDefault; bootstrap: z.ZodNullable; purpose: z.ZodLiteral<"trajectory_bootstrap">; demonstrationRefs: z.ZodArray; limitations: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; warnings: z.ZodDefault>; createdAt: z.ZodString; }, z.core.$strip>>; materializedTasksetId: z.ZodNullable; disclosureApprovalId: z.ZodNullable; materializationApprovalId: z.ZodNullable; blockingQuestions: z.ZodDefault; prompt: z.ZodString; answer: z.ZodNullable; }, z.core.$strip>>>; transcript: z.ZodDefault; text: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>>; repairHistory: z.ZodDefault>>; blockedReason: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; tasksetDrafts: z.ZodDefault; id: z.ZodString; revision: z.ZodNumber; profileId: z.ZodString; modelScope: z.ZodDefault; draftId: z.ZodString; requestHash: z.ZodString; sourcePackageHash: z.ZodString; sourceTasksetRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; lineage: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelTasksetAuthoring.v1">; owner: z.ZodObject<{ scopeId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; root: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; parent: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; authoringGraph: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>>>; name: z.ZodString; objective: z.ZodString; purpose: z.ZodDefault>; benchmark: z.ZodDefault; definitionId: z.ZodString; releaseId: z.ZodString; releaseHash: z.ZodString; managedReleasePath: z.ZodString; adaptationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; evaluationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; primaryMetric: z.ZodEnum<{ foreground_tokens: "foreground_tokens"; success_rate: "success_rate"; latency_ms: "latency_ms"; cost_usd: "cost_usd"; }>; qualityGate: z.ZodEnum<{ none: "none"; non_regression: "non_regression"; all_pass: "all_pass"; }>; source: z.ZodEnum<{ builtin: "builtin"; imported: "imported"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; preferenceComparison: z.ZodDefault; releaseId: z.ZodString; releaseHash: z.ZodString; publishedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; status: z.ZodEnum<{ draft: "draft"; published: "published"; validating: "validating"; needs_review: "needs_review"; }>; sourceRefs: z.ZodDefault; id: z.ZodString; profileId: z.ZodString; sessionId: z.ZodString; turnIds: z.ZodDefault>; workspaceId: z.ZodNullable; sourceHash: z.ZodString; clusterKey: z.ZodString; title: z.ZodString; occurredAt: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: z.ZodNullable; grantedAt: z.ZodNullable; purpose: z.ZodLiteral<"task_authoring_and_evaluation">; }, z.core.$strip>; connectedAppIds: z.ZodDefault>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: z.ZodLiteral<"huggingface">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; revision: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; gated: z.ZodBoolean; private: z.ZodBoolean; declaredLicense: z.ZodNullable; sourceFileHashes: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: z.ZodLiteral<"uploaded_file">; originalFileNames: z.ZodArray; mediaTypes: z.ZodArray; sourceFileHashes: z.ZodArray; totalBytes: z.ZodNumber; parserVersion: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: z.ZodLiteral<"generated">; generatorId: z.ZodString; generatorVersion: z.ZodString; seed: z.ZodNumber; generatorHash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: z.ZodLiteral<"learning_batch">; batch: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; taskDefinition: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; admittedBy: z.ZodString; }, z.core.$strip> ], "kind">, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.connectedDatasetSource.v1">; kind: z.ZodLiteral<"connected_activity">; id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; origin: z.ZodEnum<{ hermes: "hermes"; openclaw: "openclaw"; native_chat: "native_chat"; native_work: "native_work"; codex: "codex"; claude_code: "claude_code"; opencode: "opencode"; grok_build: "grok_build"; pi: "pi"; oh_my_pi: "oh_my_pi"; }>; sourceId: z.ZodString; sessionId: z.ZodString; normalizerVersion: z.ZodString; projection: z.ZodEnum<{ conversation: "conversation"; turn: "turn"; }>; ownerUserId: z.ZodString; purpose: z.ZodLiteral<"recorded_evaluation">; sourceFileHashes: z.ZodOptional>; metadata: z.ZodDefault>; }, z.core.$strict> ]>>>; datasetArtifact: z.ZodOptional; id: z.ZodString; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; contentHash: z.ZodString; format: z.ZodLiteral<"parquet">; schema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetSemanticSchema.v1">; fields: z.ZodArray; logicalType: z.ZodEnum<{ string: "string"; boolean: "boolean"; messages: "messages"; integer: "integer"; float: "float"; json: "json"; }>; nullable: z.ZodBoolean; policy: z.ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; }, z.core.$strip>>; schemaHash: z.ZodString; }, z.core.$strip>; shards: z.ZodArray; path: z.ZodString; contentHash: z.ZodString; schemaHash: z.ZodString; sizeBytes: z.ZodNumber; rowCount: z.ZodNumber; rowGroupCount: z.ZodNumber; }, z.core.$strip>>; rowCount: z.ZodNumber; splitCounts: z.ZodRecord, z.ZodNumber>; sourceReceiptRefs: z.ZodArray; mappingHash: z.ZodString; qualityReportHash: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>>; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.taskEnvironment.v1">; kind: z.ZodEnum<{ chat: "chat"; work: "work"; agent: "agent"; program: "program"; stateful_harness: "stateful_harness"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; toolNames: z.ZodDefault>; actionBindings: z.ZodOptional; actionId: z.ZodString; modelToolName: z.ZodString; description: z.ZodString; inputSchema: z.ZodRecord; actionSchemaHash: z.ZodString; agentRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; implementationHash: z.ZodString; runtimeBindingId: z.ZodString; capabilityReceiptHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; studentVisible: z.ZodBoolean; timeoutMs: z.ZodNumber; episodeArgumentBindings: z.ZodDefault; }, z.core.$strict>>>; }, z.core.$strict>>>; lifecycle: z.ZodArray>; defaultTimeoutMs: z.ZodNumber; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; resources: z.ZodOptional; path: z.ZodString; mediaType: z.ZodOptional>; visibility: z.ZodEnum<{ privileged: "privileged"; policy_visible: "policy_visible"; policy_hidden: "policy_hidden"; }>; required: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; metadata: z.ZodDefault>; }, z.core.$strip>; output: z.ZodDefault; jsonSchema: z.ZodNullable>; requiredOutputSource: z.ZodOptional>; responsePath: z.ZodOptional; renderer: z.ZodNullable>; }, z.core.$strip>>; }, z.core.$strip>>; capabilities: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetCapabilities.v1">; taskKind: z.ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; supportedSignals: z.ZodArray>; compatibleMethods: z.ZodArray>; rewardKinds: z.ZodArray>; requiresTools: z.ZodBoolean; requiresState: z.ZodBoolean; requiresPrivilegedGrading: z.ZodBoolean; environmentPlacements: z.ZodArray>; exportable: z.ZodBoolean; portabilityBlockers: z.ZodDefault>; }, z.core.$strip>; metrics: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetMetricPolicy.v1">; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; review: z.ZodObject<{ enabled: z.ZodBoolean; candidateCount: z.ZodNumber; minimumSamples: z.ZodDefault; allowTies: z.ZodBoolean; allowRejectAll: z.ZodBoolean; rubric: z.ZodString; criteria: z.ZodArray>; }, z.core.$strip>; tasks: z.ZodDefault; id: z.ZodString; clusterKey: z.ZodString; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; assets: z.ZodOptional; mediaType: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; resourceRefs: z.ZodOptional>; requiredOutputs: z.ZodOptional>; submissionMode: z.ZodOptional>; maxBytes: z.ZodOptional; metadata: z.ZodDefault>; }, z.core.$strip>>>; tags: z.ZodDefault>; metadata: z.ZodDefault>; sourceRefs: z.ZodDefault>; }, z.core.$strip>>>; graders: z.ZodDefault>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"model_judge">; rubric: z.ZodString; judge: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; calibrationFixtureRefs: z.ZodArray; calibrationStatus: z.ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubric: z.ZodString; reviewerRole: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; module: z.ZodString; exportName: z.ZodString; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strip> ]>>>; graderFixtures: z.ZodDefault; output: z.ZodRecord; infrastructureError: z.ZodNullable; expectedPassed: z.ZodBoolean; expectedRewardEligible: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; learningSignals: z.ZodObject<{ demonstrations: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"demonstration">; prompt: z.ZodDefault>; response: z.ZodDefault>; }, z.core.$strip>>>; preferences: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"preference">; prompt: z.ZodString; chosen: z.ZodString; rejected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; corrections: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"correction">; original: z.ZodString; corrected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; feedback: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"feedback">; feedback: z.ZodString; polarity: z.ZodEnum<{ positive: "positive"; negative: "negative"; mixed: "mixed"; neutral: "neutral"; }>; }, z.core.$strip>>>; rewards: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"reward">; task: z.ZodString; rules: z.ZodArray>; otherwisePoints: z.ZodNumber; executable: z.ZodBoolean; }, z.core.$strip>>>; labels: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"label">; labelKind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodArray>; calibrationExamples: z.ZodObject<{ positive: z.ZodString; negative: z.ZodString; boundary: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strip>; publishedTasksetRef: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; tasksets: z.ZodArray; id: z.ZodString; revision: z.ZodDefault; profileId: z.ZodString; profileRelease: z.ZodOptional>>; createImproveRunId: z.ZodDefault>; name: z.ZodString; objective: z.ZodString; purpose: z.ZodDefault>; benchmark: z.ZodDefault; definitionId: z.ZodString; releaseId: z.ZodString; releaseHash: z.ZodString; managedReleasePath: z.ZodString; adaptationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; evaluationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; primaryMetric: z.ZodEnum<{ foreground_tokens: "foreground_tokens"; success_rate: "success_rate"; latency_ms: "latency_ms"; cost_usd: "cost_usd"; }>; qualityGate: z.ZodEnum<{ none: "none"; non_regression: "non_regression"; all_pass: "all_pass"; }>; source: z.ZodEnum<{ builtin: "builtin"; imported: "imported"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; preferenceComparison: z.ZodDefault; releaseId: z.ZodString; releaseHash: z.ZodString; publishedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; status: z.ZodEnum<{ failed: "failed"; draft: "draft"; archived: "archived"; ready: "ready"; blocked: "blocked"; awaiting_disclosure_approval: "awaiting_disclosure_approval"; awaiting_materialization_approval: "awaiting_materialization_approval"; materializing: "materializing"; validating: "validating"; needs_review: "needs_review"; baselining: "baselining"; }>; sourceRefs: z.ZodArray; id: z.ZodString; profileId: z.ZodString; sessionId: z.ZodString; turnIds: z.ZodDefault>; workspaceId: z.ZodNullable; sourceHash: z.ZodString; clusterKey: z.ZodString; title: z.ZodString; occurredAt: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: z.ZodNullable; grantedAt: z.ZodNullable; purpose: z.ZodLiteral<"task_authoring_and_evaluation">; }, z.core.$strip>; connectedAppIds: z.ZodDefault>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: z.ZodLiteral<"huggingface">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; revision: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; gated: z.ZodBoolean; private: z.ZodBoolean; declaredLicense: z.ZodNullable; sourceFileHashes: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: z.ZodLiteral<"uploaded_file">; originalFileNames: z.ZodArray; mediaTypes: z.ZodArray; sourceFileHashes: z.ZodArray; totalBytes: z.ZodNumber; parserVersion: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: z.ZodLiteral<"generated">; generatorId: z.ZodString; generatorVersion: z.ZodString; seed: z.ZodNumber; generatorHash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: z.ZodLiteral<"learning_batch">; batch: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; taskDefinition: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; admittedBy: z.ZodString; }, z.core.$strip> ], "kind">, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.connectedDatasetSource.v1">; kind: z.ZodLiteral<"connected_activity">; id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; origin: z.ZodEnum<{ hermes: "hermes"; openclaw: "openclaw"; native_chat: "native_chat"; native_work: "native_work"; codex: "codex"; claude_code: "claude_code"; opencode: "opencode"; grok_build: "grok_build"; pi: "pi"; oh_my_pi: "oh_my_pi"; }>; sourceId: z.ZodString; sessionId: z.ZodString; normalizerVersion: z.ZodString; projection: z.ZodEnum<{ conversation: "conversation"; turn: "turn"; }>; ownerUserId: z.ZodString; purpose: z.ZodLiteral<"recorded_evaluation">; sourceFileHashes: z.ZodOptional>; metadata: z.ZodDefault>; }, z.core.$strict> ]>>; datasetArtifact: z.ZodOptional; id: z.ZodString; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; contentHash: z.ZodString; format: z.ZodLiteral<"parquet">; schema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetSemanticSchema.v1">; fields: z.ZodArray; logicalType: z.ZodEnum<{ string: "string"; boolean: "boolean"; messages: "messages"; integer: "integer"; float: "float"; json: "json"; }>; nullable: z.ZodBoolean; policy: z.ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; }, z.core.$strip>>; schemaHash: z.ZodString; }, z.core.$strip>; shards: z.ZodArray; path: z.ZodString; contentHash: z.ZodString; schemaHash: z.ZodString; sizeBytes: z.ZodNumber; rowCount: z.ZodNumber; rowGroupCount: z.ZodNumber; }, z.core.$strip>>; rowCount: z.ZodNumber; splitCounts: z.ZodRecord, z.ZodNumber>; sourceReceiptRefs: z.ZodArray; mappingHash: z.ZodString; qualityReportHash: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>>; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.taskEnvironment.v1">; kind: z.ZodEnum<{ chat: "chat"; work: "work"; agent: "agent"; program: "program"; stateful_harness: "stateful_harness"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; toolNames: z.ZodDefault>; actionBindings: z.ZodOptional; actionId: z.ZodString; modelToolName: z.ZodString; description: z.ZodString; inputSchema: z.ZodRecord; actionSchemaHash: z.ZodString; agentRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; implementationHash: z.ZodString; runtimeBindingId: z.ZodString; capabilityReceiptHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; studentVisible: z.ZodBoolean; timeoutMs: z.ZodNumber; episodeArgumentBindings: z.ZodDefault; }, z.core.$strict>>>; }, z.core.$strict>>>; lifecycle: z.ZodArray>; defaultTimeoutMs: z.ZodNumber; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; resources: z.ZodOptional; path: z.ZodString; mediaType: z.ZodOptional>; visibility: z.ZodEnum<{ privileged: "privileged"; policy_visible: "policy_visible"; policy_hidden: "policy_hidden"; }>; required: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; metadata: z.ZodDefault>; }, z.core.$strip>; capabilities: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetCapabilities.v1">; taskKind: z.ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; supportedSignals: z.ZodArray>; compatibleMethods: z.ZodArray>; rewardKinds: z.ZodArray>; requiresTools: z.ZodBoolean; requiresState: z.ZodBoolean; requiresPrivilegedGrading: z.ZodBoolean; environmentPlacements: z.ZodArray>; exportable: z.ZodBoolean; portabilityBlockers: z.ZodDefault>; }, z.core.$strip>; metrics: z.ZodOptional; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>>; tasks: z.ZodArray; id: z.ZodString; clusterKey: z.ZodString; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; sourceRefs: z.ZodArray; assets: z.ZodOptional; mediaType: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; resourceRefs: z.ZodOptional>; requiredOutputs: z.ZodOptional>; submissionMode: z.ZodOptional>; maxBytes: z.ZodOptional; metadata: z.ZodDefault>; }, z.core.$strip>>>; tags: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strip>>; graders: z.ZodArray>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"model_judge">; rubric: z.ZodString; judge: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; calibrationFixtureRefs: z.ZodArray; calibrationStatus: z.ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubric: z.ZodString; reviewerRole: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; module: z.ZodString; exportName: z.ZodString; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strip> ]>>; graderFixtures: z.ZodArray; output: z.ZodRecord; infrastructureError: z.ZodNullable; expectedPassed: z.ZodBoolean; expectedRewardEligible: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>; learningSignals: z.ZodObject<{ demonstrations: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"demonstration">; prompt: z.ZodDefault>; response: z.ZodDefault>; }, z.core.$strip>>>; preferences: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"preference">; prompt: z.ZodString; chosen: z.ZodString; rejected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; corrections: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"correction">; original: z.ZodString; corrected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; feedback: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"feedback">; feedback: z.ZodString; polarity: z.ZodEnum<{ positive: "positive"; negative: "negative"; mixed: "mixed"; neutral: "neutral"; }>; }, z.core.$strip>>>; rewards: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"reward">; task: z.ZodString; rules: z.ZodArray>; otherwisePoints: z.ZodNumber; executable: z.ZodBoolean; }, z.core.$strip>>>; labels: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"label">; labelKind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodArray>; calibrationExamples: z.ZodObject<{ positive: z.ZodString; negative: z.ZodString; boundary: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strip>; authoringProvenance: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskAuthoringProvenance.v1">; model: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; modelConfig: z.ZodDefault>; skillHash: z.ZodString; promptTemplateVersion: z.ZodString; buildIntent: z.ZodDefault>; buildSpecification: z.ZodDefault; behavior: z.ZodString; examples: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"preferences">; preference: z.ZodString; pairs: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"verifiable_reward">; task: z.ZodString; rules: z.ZodDefault>>; otherwisePoints: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodDefault>>; positiveExample: z.ZodString; negativeExample: z.ZodString; boundaryExample: z.ZodString; }, z.core.$strip> ], "kind">>>; evidenceHashes: z.ZodArray; tasksetSdkVersion: z.ZodString; sourceCommit: z.ZodNullable; repairHistory: z.ZodArray>; createdAt: z.ZodString; }, z.core.$strip>; readiness: z.ZodNullable; tasksetId: z.ZodString; tasksetHash: z.ZodString; ready: z.ZodBoolean; recommendedMethod: z.ZodEnum<{ none: "none"; retrieval: "retrieval"; sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; trainingPath: z.ZodDefault; bootstrap: z.ZodNullable; purpose: z.ZodLiteral<"trajectory_bootstrap">; demonstrationRefs: z.ZodArray; limitations: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; methodReadiness: z.ZodDefault; status: z.ZodEnum<{ recommended: "recommended"; compatible: "compatible"; needs_dataset_work: "needs_dataset_work"; }>; reasonCodes: z.ZodDefault>>; reasons: z.ZodDefault>; }, z.core.$strip>>>; compatibleDestinationClasses: z.ZodArray>; blockers: z.ZodDefault; }, z.core.$strip>>>; advisories: z.ZodDefault; }, z.core.$strip>>>; warnings: z.ZodDefault>; generatedAt: z.ZodString; }, z.core.$strip>>; contentHash: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>; benchmarkRuns: z.ZodDefault; contentHash: string; }, { schemaVersion: "openpond.benchmarkRunSummary.v1"; id: string; phase: "candidate" | "baseline"; tasksetRelease: { id: string; contentHash: string; }; harnessRelease: { id: string; contentHash: string; }; evaluationResult: { id: string; contentHash: string; }; model: { provider: string; model: string; revision: string | null; artifactHash: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; }; reasoningEffort: string | null; protocol: { split: "validation" | "test" | "train" | "frozen_eval"; taskIds: string[]; seeds: string[]; repetitions: number; runtimeTargetHash: string; environmentHash: string; toolContractHash: string; limitsHash: string; }; attemptCount: number; passedCount: number; terminalCount: number; usage: { inputTokens: number; outputTokens: number; totalTokens: number; }; costUsd: number | null; latencyMs: number; createdAt: string; metadata: Record; contentHash: string; }>>>; benchmarkComparisons: z.ZodDefault; contentHash: string; }, { schemaVersion: "openpond.benchmarkComparison.v1"; id: string; baseline: { id: string; contentHash: string; }; candidate: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityPassed: boolean; baselinePassRate: number; candidatePassRate: number; foregroundTokenDelta: number; foregroundTokenDeltaPercent: number | null; improved: boolean; createdAt: string; metadata: Record; contentHash: string; }>>>; datasetImports: z.ZodDefault; id: z.ZodString; profileId: z.ZodString; sourceKind: z.ZodEnum<{ huggingface: "huggingface"; uploaded_file: "uploaded_file"; }>; status: z.ZodEnum<{ failed: "failed"; ready: "ready"; cancelled: "cancelled"; awaiting_materialization_approval: "awaiting_materialization_approval"; materializing: "materializing"; validating: "validating"; cancelling: "cancelling"; created: "created"; inspecting: "inspecting"; awaiting_source_review: "awaiting_source_review"; awaiting_mapping: "awaiting_mapping"; }>; locator: z.ZodNullable; repositoryId: z.ZodString; repositoryUrl: z.ZodString; requestedRevision: z.ZodNullable; }, z.core.$strip>>; inspection: z.ZodNullable; id: z.ZodString; locator: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetLocator.v1">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; requestedRevision: z.ZodNullable; }, z.core.$strip>; resolvedRevision: z.ZodString; title: z.ZodString; description: z.ZodNullable; declaredLicense: z.ZodNullable; gated: z.ZodBoolean; private: z.ZodBoolean; configurations: z.ZodArray; splits: z.ZodArray; sizeBytes: z.ZodNullable; }, z.core.$strip>>; columns: z.ZodArray; }, z.core.$strip>>; previewRows: z.ZodArray>; sourceFiles: z.ZodArray; contentHash: z.ZodNullable; }, z.core.$strip>>; inspectedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>; mapping: z.ZodNullable; sourceSchemaHash: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; preset: z.ZodEnum<{ messages: "messages"; preference: "preference"; prompt_only: "prompt_only"; prompt_completion: "prompt_completion"; prompt_expected_answer: "prompt_expected_answer"; prompt_privileged_solution: "prompt_privileged_solution"; prompt_feedback: "prompt_feedback"; }>; bindings: z.ZodArray; transform: z.ZodEnum<{ string: "string"; messages: "messages"; json: "json"; identity: "identity"; numeric: "numeric"; math_final_answer: "math_final_answer"; }>; policy: z.ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; required: z.ZodBoolean; }, z.core.$strip>>; nullPolicy: z.ZodEnum<{ reject: "reject"; drop: "drop"; preserve: "preserve"; }>; invalidRowPolicy: z.ZodEnum<{ reject_import: "reject_import"; drop_with_receipt: "drop_with_receipt"; }>; splitPolicy: z.ZodObject<{ seed: z.ZodNumber; assignments: z.ZodRecord>; validationPercent: z.ZodNumber; frozenEvalPercent: z.ZodNumber; }, z.core.$strip>; importerVersion: z.ZodString; mappingHash: z.ZodString; }, z.core.$strip>>; progress: z.ZodObject<{ phase: z.ZodEnum<{ idle: "idle"; metadata: "metadata"; mapping: "mapping"; publish: "publish"; download: "download"; parquet_write: "parquet_write"; verification: "verification"; }>; completedBytes: z.ZodNumber; totalBytes: z.ZodNullable; completedRows: z.ZodNumber; totalRows: z.ZodNullable; message: z.ZodNullable; }, z.core.$strip>; targetStorageRoot: z.ZodNullable; tasksetId: z.ZodNullable; tasksetRevision: z.ZodNullable; artifactId: z.ZodNullable; error: z.ZodNullable; cancellationRequested: z.ZodBoolean; createdAt: z.ZodString; updatedAt: z.ZodString; completedAt: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>>>; datasetArtifacts: z.ZodDefault; artifactId: z.ZodString; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; format: z.ZodLiteral<"parquet">; rowCount: z.ZodNumber; splitCounts: z.ZodRecord, z.ZodNumber>; sizeBytes: z.ZodNumber; contentHash: z.ZodString; available: z.ZodBoolean; unavailableReason: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strip>>>; graderAuditReports: z.ZodArray; id: z.ZodString; tasksetId: z.ZodString; tasksetHash: z.ZodString; fixtureRefs: z.ZodArray; gradeRefs: z.ZodArray; passed: z.ZodBoolean; hackingChecksPassed: z.ZodBoolean; leakageChecksPassed: z.ZodBoolean; infrastructureSafetyPassed: z.ZodBoolean; failures: z.ZodArray; gradeId: z.ZodString; reason: z.ZodString; }, z.core.$strip>>; createdAt: z.ZodString; }, z.core.$strip>>; evaluationResults: z.ZodDefault; metadata: Record; contentHash: string; authoredMetric?: { schemaVersion: "openpond.tasksetMetricResult.v1"; runManifest: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; policy: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; }; policyHash: string; receiptRefs: { id: string; contentHash: string; }[]; includedCount: number; missingRewardCount: number; excludedCount: number; value: number | null; contentHash: string; } | undefined; }, { schemaVersion: "openpond.evaluationResult.v1"; id: string; runManifest: { id: string; contentHash: string; }; harnessRelease: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; model: { provider: string; model: string; revision: string | null; artifactHash: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; }; receiptRefs: { id: string; contentHash: string; }[]; attemptCount: number; rewardEligibleCount: number; terminalCount: number; meanScore: number | null; failureCounts: Record<"cancelled" | "infrastructure_failure" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout", number>; metadata: Record; contentHash: string; authoredMetric?: { schemaVersion: "openpond.tasksetMetricResult.v1"; runManifest: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; policy: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; }; policyHash: string; receiptRefs: { id: string; contentHash: string; }[]; includedCount: number; missingRewardCount: number; excludedCount: number; value: number | null; contentHash: string; } | undefined; }>>>; candidates: z.ZodArray; id: z.ZodString; profileId: z.ZodString; status: z.ZodEnum<{ dismissed: "dismissed"; rejected: "rejected"; blocked: "blocked"; needs_review: "needs_review"; baselining: "baselining"; nominated: "nominated"; approved_for_creation: "approved_for_creation"; creating: "creating"; needs_task_review: "needs_task_review"; ready_for_export: "ready_for_export"; retired: "retired"; }>; fingerprint: z.ZodString; title: z.ZodString; summary: z.ZodString; workflowSignature: z.ZodString; evidence: z.ZodArray; sourceRefIds: z.ZodArray; occurredAt: z.ZodString; signature: z.ZodString; summary: z.ZodString; confidence: z.ZodNumber; consented: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>; scorecard: z.ZodObject<{ frequency: z.ZodNumber; businessValue: z.ZodNumber; frontierCost: z.ZodNumber; signalQuality: z.ZodNumber; verifiability: z.ZodNumber; repeatability: z.ZodNumber; privacyRisk: z.ZodNumber; overall: z.ZodNumber; }, z.core.$strip>; recommendation: z.ZodObject<{ tactic: z.ZodEnum<{ preference: "preference"; retrieval: "retrieval"; sft: "sft"; sdpo: "sdpo"; no_training: "no_training"; prompting: "prompting"; grpo_rft: "grpo_rft"; sdft_opsd: "sdft_opsd"; agentic_rl: "agentic_rl"; }>; eligible: z.ZodBoolean; reasons: z.ZodArray; blockers: z.ZodDefault>; requiredSignals: z.ZodDefault>; generatedBy: z.ZodEnum<{ decision_table: "decision_table"; baseline_reassessment: "baseline_reassessment"; }>; }, z.core.$strip>; mergedIntoId: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>; minerConfig: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskMinerConfig.v1">; enabled: z.ZodDefault; localOnly: z.ZodDefault; observationWindowDays: z.ZodDefault; minimumRecurrence: z.ZodDefault; clustering: z.ZodDefault>; consentRequired: z.ZodDefault; }, z.core.$strip>; minerRuns: z.ZodDefault; id: z.ZodString; profileId: z.ZodString; status: z.ZodEnum<{ failed: "failed"; running: "running"; cancelled: "cancelled"; queued: "queued"; succeeded: "succeeded"; cancelling: "cancelling"; }>; config: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskMinerConfig.v1">; enabled: z.ZodDefault; localOnly: z.ZodDefault; observationWindowDays: z.ZodDefault; minimumRecurrence: z.ZodDefault; clustering: z.ZodDefault>; consentRequired: z.ZodDefault; }, z.core.$strip>; sourceIds: z.ZodArray; sessionIds: z.ZodDefault>; progress: z.ZodObject<{ stage: z.ZodEnum<{ complete: "complete"; queued: "queued"; preparing: "preparing"; clustering: "clustering"; ingesting: "ingesting"; persisting: "persisting"; }>; processedSources: z.ZodNumber; totalSources: z.ZodNumber; candidatesFound: z.ZodNumber; skippedSources: z.ZodDefault; }, z.core.$strip>; candidateIds: z.ZodArray; cancelRequested: z.ZodBoolean; error: z.ZodNullable; createdAt: z.ZodString; startedAt: z.ZodNullable; completedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>>>; modelProjects: z.ZodDefault; id: z.ZodString; profileId: z.ZodString; revision: z.ZodDefault; name: z.ZodString; objective: z.ZodNullable; defaultBaseModel: z.ZodNullable; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>; defaultDestinationId: z.ZodNullable; trainingSetup: z.ZodObject<{ tasksetRef: z.ZodDefault>>; evaluationTasksetRef: z.ZodOptional>>; profileSource: z.ZodOptional; }, z.core.$strict>>>; profileEvaluation: z.ZodOptional; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; rewardBindingRef: z.ZodOptional>>; tasksetRelease: z.ZodDefault>>; harnessRelease: z.ZodDefault>>; baseModel: z.ZodDefault; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>>; method: z.ZodDefault>>; destinationId: z.ZodDefault>; managedRolloutPlacement: z.ZodDefault>; managedGpuPlacementObjective: z.ZodDefault>; managedGpuSelection: z.ZodOptional; objective: z.ZodEnum<{ balanced: "balanced"; fast: "fast"; economical: "economical"; }>; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"manual">; availabilityId: z.ZodString; gpuType: z.ZodString; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict> ], "mode">>; continuationAdapterMode: z.ZodOptional>; managedGpuRequirement: z.ZodDefault>; runPreset: z.ZodDefault>>; recipe: z.ZodDefault; parameterization: z.ZodEnum<{ lora: "lora"; full: "full"; }>; }, z.core.$catchall>>>; preferredMaximumSpendUsd: z.ZodDefault>; preferredRetentionDays: z.ZodDefault>; }, z.core.$strict>; hosted: z.ZodDefault; apiOrigin: z.ZodDefault>; teamId: z.ZodString; projectId: z.ZodString; portableProjectId: z.ZodString; revision: z.ZodNumber; etag: z.ZodString; syncedSourceRevision: z.ZodNumber; syncedAt: z.ZodString; tasksets: z.ZodDefault>; releaseId: z.ZodString; releaseRevision: z.ZodNumber; releaseHash: z.ZodString; packageHash: z.ZodDefault>; hostedTasksetId: z.ZodString; syncedAt: z.ZodString; }, z.core.$strict>>>; }, z.core.$strict>>>; tasksetSyncs: z.ZodDefault; hostedTasksetId: z.ZodDefault>; lastAttemptAt: z.ZodString; syncedAt: z.ZodDefault>; lastError: z.ZodDefault>; }, z.core.$strict>>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>>>; modelVersions: z.ZodDefault; id: z.ZodString; modelId: z.ZodString; profileId: z.ZodString; version: z.ZodNumber; kind: z.ZodEnum<{ base_reference: "base_reference"; lora_adapter: "lora_adapter"; }>; status: z.ZodEnum<{ failed: "failed"; available: "available"; }>; baseModel: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strip>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; comparisonSeriesEntry: z.ZodOptional>>; evaluationTasksetRef: z.ZodOptional>>; releaseGraph: z.ZodObject<{ resolvedBundleHash: z.ZodString; profileRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; agentRelease: z.ZodNullable>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; artifactLineageId: z.ZodNullable; adapterStatus: z.ZodEnum<{ not_trained: "not_trained"; trained: "trained"; }>; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>>; modelRuns: z.ZodDefault; id: z.ZodString; modelId: z.ZodString; modelVersionId: z.ZodNullable; profileId: z.ZodString; kind: z.ZodEnum<{ training: "training"; evaluation: "evaluation"; rollout_smoke: "rollout_smoke"; }>; status: z.ZodEnum<{ failed: "failed"; running: "running"; cancelled: "cancelled"; succeeded: "succeeded"; prepared: "prepared"; }>; method: z.ZodNullable>; destinationId: z.ZodNullable; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; comparisonSeriesEntry: z.ZodOptional>>; evaluationTasksetRef: z.ZodOptional>>; harnessRelease: z.ZodOptional>>; quote: z.ZodNullable; }, z.core.$strict>>; evaluation: z.ZodDefault; operationId: z.ZodString; actorId: z.ZodString; teamId: z.ZodString; projectId: z.ZodNullable; mode: z.ZodEnum<{ review_quality: "review_quality"; downstream_adaptation: "downstream_adaptation"; }>; profileRef: z.ZodObject<{ source: z.ZodEnum<{ local: "local"; github: "github"; openpond_git: "openpond_git"; }>; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strict>; sourceRevision: z.ZodString; baselineRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; refinerRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; externalDatasetBinding: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; adaptationDatasetBinding: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; privateClosureHash: z.ZodString; adaptationTaskIds: z.ZodArray; holdoutTaskIds: z.ZodArray; adaptationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; holdoutSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; environmentPolicy: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"resettable">; environmentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"frozen_observations">; environmentHash: z.ZodString; }, z.core.$strict> ], "kind">; maximumCostUsd: z.ZodNumber; maximumDurationMs: z.ZodNumber; maximumModelSteps: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>>; benchmarkId: z.ZodLiteral<"harness-refiner">; model: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; upstreamModel: z.ZodObject<{ providerId: z.ZodString; modelId: z.ZodString; revision: z.ZodString; pricing: z.ZodOptional>; }, z.core.$strict>; reasoningEffort: z.ZodNullable; seeds: z.ZodArray; repetitions: z.ZodNumber; maximumSpendUsd: z.ZodNumber; attemptPlan: z.ZodArray; split: z.ZodString; taskIds: z.ZodArray; attemptCount: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ benchmarkId: z.ZodLiteral<"model-comparison">; target: z.ZodObject<{ kind: z.ZodEnum<{ base_model: "base_model"; model_version: "model_version"; external_reference: "external_reference"; }>; label: z.ZodString; modelVersionId: z.ZodNullable; model: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; judge: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; release: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rubricRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; calibrationRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; referenceLabel: z.ZodString; }, z.core.$strict>>; seeds: z.ZodArray; repetitions: z.ZodNumber; maximumSpendUsd: z.ZodNumber; series: z.ZodDefault; }, z.core.$strict>>>; panel: z.ZodDefault; passLabel: z.ZodNullable; }, z.core.$strict>>>; comparisonPair: z.ZodDefault; id: z.ZodString; revision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">; candidateModelVersionId: z.ZodString; }, z.core.$strict>>>; attemptPlan: z.ZodArray; split: z.ZodString; taskIds: z.ZodArray; attemptCount: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict> ]>>>; evaluationProgress: z.ZodDefault; completedAttempts: z.ZodNumber; totalAttempts: z.ZodNumber; accounting: z.ZodDefault; }, z.core.$strict>; adaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidateAdaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidate: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; refiner: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; grader: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; observedSpendUsd: z.ZodNumber; attempts: z.ZodArray; taskId: z.ZodString; attemptId: z.ZodString; sessionId: z.ZodNullable; turnId: z.ZodNullable; passed: z.ZodBoolean; score: z.ZodNullable; failureClass: z.ZodNullable>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; latencyMs: z.ZodNumber; costUsd: z.ZodNullable; startedAt: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>>; advancedAccounting: z.ZodOptional; heldUsd: z.ZodNumber; uncertainRequests: z.ZodNumber; }, z.core.$strict>>; evidenceSnapshot: z.ZodDefault>>; }, z.core.$strict>>>; reward: z.ZodNullable; }, z.core.$strict>>; receipt: z.ZodNullable; provider: z.ZodString; providerRunId: z.ZodString; assignmentHash: z.ZodString; resultHash: z.ZodString; transcriptHash: z.ZodString; traceHash: z.ZodNullable; resolvedBundleHash: z.ZodString; artifactPath: z.ZodString; cleanup: z.ZodObject<{ computeReleased: z.ZodBoolean; tunnelClosed: z.ZodBoolean; }, z.core.$strict>; telemetry: z.ZodDefault; stage: z.ZodEnum<{ training: "training"; evaluation: "evaluation"; deployment: "deployment"; inference: "inference"; }>; correlation: z.ZodObject<{ modelRunId: z.ZodNullable; modelVersionId: z.ZodNullable; policyVersion: z.ZodNullable; taskId: z.ZodNullable; rolloutGroupId: z.ZodNullable; providerResourceId: z.ZodNullable; deploymentId: z.ZodNullable; inferenceRequestId: z.ZodNullable; }, z.core.$strict>; spans: z.ZodArray; outcome: z.ZodEnum<{ failed: "failed"; cancelled: "cancelled"; succeeded: "succeeded"; }>; }, z.core.$strict>>; usage: z.ZodObject<{ promptTokens: z.ZodNullable; generatedTokens: z.ZodNullable; gpuSeconds: z.ZodNullable; workerActiveSeconds: z.ZodNullable; optimizerSteps: z.ZodNullable; rolloutGroups: z.ZodNullable; successfulTrajectories: z.ZodNullable; failedTrajectories: z.ZodNullable; peakGpuMemoryBytes: z.ZodNullable; peakGpuUtilizationPercent: z.ZodNullable; }, z.core.$strict>; resource: z.ZodObject<{ provider: z.ZodString; resourceIds: z.ZodArray; gpuType: z.ZodNullable; gpuCount: z.ZodNullable; baseProfileId: z.ZodNullable; baseRepository: z.ZodNullable; baseRevision: z.ZodNullable; adapterContentHash: z.ZodNullable; }, z.core.$strict>; cost: z.ZodObject<{ currency: z.ZodLiteral<"USD">; providerReportedUsd: z.ZodNullable; quotedHourlyUsd: z.ZodNullable; estimatedUsd: z.ZodNullable; methodologyVersion: z.ZodString; pricingInputs: z.ZodRecord; unitEstimates: z.ZodRecord; }, z.core.$strict>; recordedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>>; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelEvaluationReceipt.v1">; benchmarkId: z.ZodString; resultManifest: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; artifactPath: z.ZodString; }, z.core.$strict>; stages: z.ZodObject<{ baseline: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; adaptation: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; refiner: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; candidateAdaptation: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; candidate: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; comparison: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; usage: z.ZodObject<{ baseline: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; adaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidateAdaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidate: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; refiner: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; grader: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; quality: z.ZodObject<{ baselinePassRate: z.ZodNumber; candidatePassRate: z.ZodNumber; adaptationBaselinePassRate: z.ZodNumber; adaptationCandidatePassRate: z.ZodNumber; adaptationCandidatePassed: z.ZodBoolean; heldOutCandidatePassed: z.ZodBoolean; passed: z.ZodBoolean; }, z.core.$strict>; foregroundTokenDelta: z.ZodNumber; foregroundTokenDeltaPercent: z.ZodNullable; taskEfficiency: z.ZodOptional; targetTaskCount: z.ZodNumber; comparedTaskCount: z.ZodNumber; passedTaskCount: z.ZodNumber; failedTaskCount: z.ZodNumber; lowerTaskCount: z.ZodNumber; higherTaskCount: z.ZodNumber; unchangedTaskCount: z.ZodNumber; baselineTokens: z.ZodNumber; refinedTokens: z.ZodNumber; tokenDelta: z.ZodNumber; tokenDeltaPercent: z.ZodNullable; complete: z.ZodBoolean; passed: z.ZodBoolean; cohorts: z.ZodObject<{ adaptation: z.ZodObject<{ targetTaskCount: z.ZodNumber; comparedTaskCount: z.ZodNumber; passedTaskCount: z.ZodNumber; failedTaskCount: z.ZodNumber; lowerTaskCount: z.ZodNumber; higherTaskCount: z.ZodNumber; unchangedTaskCount: z.ZodNumber; }, z.core.$strict>; heldOut: z.ZodObject<{ targetTaskCount: z.ZodNumber; comparedTaskCount: z.ZodNumber; passedTaskCount: z.ZodNumber; failedTaskCount: z.ZodNumber; lowerTaskCount: z.ZodNumber; higherTaskCount: z.ZodNumber; unchangedTaskCount: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>>; efficiency: z.ZodObject<{ grossForegroundTokenSavings: z.ZodNumber; overheadTokens: z.ZodNumber; firstPassNetTokenSavings: z.ZodNumber; breakEvenReuseCount: z.ZodNullable; amortizedTokenSavings: z.ZodNumber; amortizedReuseCount: z.ZodNumber; }, z.core.$strict>; budget: z.ZodObject<{ maximumSpendUsd: z.ZodNumber; observedSpendUsd: z.ZodNumber; enforced: z.ZodBoolean; }, z.core.$strict>; evidenceSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; lineage: z.ZodObject<{ adaptationEvidenceHash: z.ZodString; refinerInputHash: z.ZodString; refinerOutcomeHash: z.ZodString; validationHash: z.ZodString; applyReceiptHash: z.ZodString; candidateRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; valid: z.ZodBoolean; }, z.core.$strict>; invalidReasons: z.ZodArray; attempts: z.ZodDefault; taskId: z.ZodString; attemptId: z.ZodString; sessionId: z.ZodNullable; turnId: z.ZodNullable; passed: z.ZodBoolean; score: z.ZodNullable; failureClass: z.ZodNullable>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; latencyMs: z.ZodNumber; costUsd: z.ZodNullable; startedAt: z.ZodString; }, z.core.$strict>>>; terminalClassification: z.ZodEnum<{ cancelled: "cancelled"; infrastructure_failure: "infrastructure_failure"; improved: "improved"; no_improvement: "no_improvement"; regressed: "regressed"; inconclusive: "inconclusive"; }>; profileGit: z.ZodNullable>; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelEvaluationStopReceipt.v1">; benchmarkId: z.ZodString; terminalClassification: z.ZodLiteral<"inconclusive">; stopReason: z.ZodEnum<{ candidate_harness_unchanged: "candidate_harness_unchanged"; candidate_lineage_invalid: "candidate_lineage_invalid"; }>; reason: z.ZodString; stoppedAfter: z.ZodLiteral<"refiner">; baselineHarness: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; candidateHarness: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; refiner: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; outcomeCount: z.ZodNumber; }, z.core.$strict>; usage: z.ZodObject<{ baseline: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; adaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidateAdaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidate: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; refiner: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; grader: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; budget: z.ZodObject<{ maximumSpendUsd: z.ZodNumber; observedSpendUsd: z.ZodNumber; enforced: z.ZodBoolean; }, z.core.$strict>; evidenceSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; attempts: z.ZodArray; taskId: z.ZodString; attemptId: z.ZodString; sessionId: z.ZodNullable; turnId: z.ZodNullable; passed: z.ZodBoolean; score: z.ZodNullable; failureClass: z.ZodNullable>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; latencyMs: z.ZodNumber; costUsd: z.ZodNullable; startedAt: z.ZodString; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelComparisonBenchmarkReceipt.v1">; benchmarkId: z.ZodLiteral<"model-comparison">; target: z.ZodObject<{ kind: z.ZodEnum<{ base_model: "base_model"; model_version: "model_version"; external_reference: "external_reference"; }>; label: z.ZodString; modelVersionId: z.ZodNullable; model: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; }, z.core.$strict>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sampling: z.ZodObject<{ seeds: z.ZodArray; repetitions: z.ZodNumber; }, z.core.$strict>; deterministic: z.ZodObject<{ attemptedTaskCount: z.ZodNumber; completedTaskCount: z.ZodNumber; passedTaskCount: z.ZodNumber; failedTaskCount: z.ZodNumber; meanScore: z.ZodNullable; passRate: z.ZodNullable; passRateCi95: z.ZodNullable; lower: z.ZodNumber; upper: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>; judge: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; judgeRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rubricRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; calibrationRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; score: z.ZodNumber; scoreCi95: z.ZodObject<{ level: z.ZodLiteral<0.95>; lower: z.ZodNumber; upper: z.ZodNumber; }, z.core.$strict>; comparisonCount: z.ZodNumber; wins: z.ZodNumber; ties: z.ZodNumber; losses: z.ZodNumber; referenceLabel: z.ZodString; }, z.core.$strict>>; attempts: z.ZodArray>; taskId: z.ZodString; seed: z.ZodNumber; repetition: z.ZodNumber; status: z.ZodEnum<{ failed: "failed"; succeeded: "succeeded"; }>; deterministicScore: z.ZodNullable; passed: z.ZodNullable; judgeScore: z.ZodNullable; judgePreference: z.ZodNullable>; transcriptHash: z.ZodNullable; traceHash: z.ZodNullable; transcriptArtifact: z.ZodDefault>>; traceArtifact: z.ZodDefault>>; latencyMs: z.ZodDefault>; failureClass: z.ZodNullable>; }, z.core.$strict>>; usage: z.ZodObject<{ policy: z.ZodNullable; }, z.core.$strict>>; judge: z.ZodNullable; }, z.core.$strict>>; observedSpendUsd: z.ZodNullable; evaluationGpuSeconds: z.ZodDefault>; }, z.core.$strict>; managedServing: z.ZodDefault; sourcePolicyVersion: z.ZodNumber; sourceAdapterSha256: z.ZodNullable; servedPolicyVersion: z.ZodNullable; servedAdapterSha256: z.ZodNullable; accruedSpendUsd: z.ZodNumber; cleanupAttestationHash: z.ZodString; resourceCount: z.ZodNumber; activeResourceCount: z.ZodLiteral<0>; }, z.core.$strict>>>; evidenceSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; artifactPath: z.ZodString; }, z.core.$strict>; completedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.advancedRefinerReviewReceipt.v1">; id: z.ZodString; runId: z.ZodString; pinHash: z.ZodString; ownerActorId: z.ZodString; teamId: z.ZodString; privateClosureHash: z.ZodString; refinerRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; cases: z.ZodArray; trigger: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; decision: z.ZodEnum<{ no_action: "no_action"; route_deterministically: "route_deterministically"; queue_refiner: "queue_refiner"; }>; outcome: z.ZodNullable>; proposal: z.ZodNullable>; validations: z.ZodArray>; grade: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; score: z.ZodNullable; passed: z.ZodBoolean; failureClass: z.ZodNullable; }, z.core.$strict>; resetComplete: z.ZodBoolean; }, z.core.$strict>>; reviewScore: z.ZodNullable; completedCases: z.ZodNumber; noActionCases: z.ZodNumber; routedCases: z.ZodNumber; proposalCases: z.ZodNumber; costUsd: z.ZodNullable; cleanupComplete: z.ZodBoolean; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ]>>; adapterArtifactLineageId: z.ZodNullable; failure: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strict>>>; comparisonSeries: z.ZodDefault; id: z.ZodString; profileId: z.ZodString; modelProjectId: z.ZodString; name: z.ZodString; objective: z.ZodString; status: z.ZodEnum<{ completed: "completed"; draft: "draft"; active: "active"; archived: "archived"; }>; revision: z.ZodNumber; productionBinding: z.ZodObject<{ role: z.ZodLiteral<"chat_manual">; roleTargetId: z.ZodString; }, z.core.$strict>; baseModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; }, z.core.$strict>; seedTaskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; eligibleTaskPool: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; evaluationTasksets: z.ZodObject<{ development: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; retained: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; frozenFinal: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; benchmarkProtocol: z.ZodDefault; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; ownerId: z.ZodString; createdAt: z.ZodString; sealedAt: z.ZodString; creationReceipt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; predecessorSeries: z.ZodNullable>; scenarioPack: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; issueFamilyLedger: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; issuePacketRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; panels: z.ZodArray; passLabel: z.ZodNullable; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; familyIds: z.ZodArray; taskCount: z.ZodNumber; sealedAt: z.ZodString; }, z.core.$strict>>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; judge: z.ZodNullable; rubricRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; calibrationRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; model: z.ZodObject<{ providerId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; policies: z.ZodObject<{ base: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"base_model">; id: z.ZodString; revision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"external_reference">; id: z.ZodString; model: z.ZodObject<{ providerId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; providerRevision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">; master: z.ZodNullable; id: z.ZodString; revision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"external_reference">; id: z.ZodString; model: z.ZodObject<{ providerId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; providerRevision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">>; externalReferences: z.ZodArray; id: z.ZodString; revision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"external_reference">; id: z.ZodString; model: z.ZodObject<{ providerId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; providerRevision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">>; }, z.core.$strict>; invariants: z.ZodObject<{ systemPromptHash: z.ZodString; toolSchema: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; application: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; harness: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; runtime: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; workerImage: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; autoRefiner: z.ZodObject<{ enabled: z.ZodBoolean; release: z.ZodNullable>; }, z.core.$strict>; }, z.core.$strict>; schedule: z.ZodArray; parentRule: z.ZodEnum<{ base_model: "base_model"; previous_release: "previous_release"; seed_release: "seed_release"; accepted_daily_head: "accepted_daily_head"; accepted_seed: "accepted_seed"; }>; trainableRank: z.ZodNumber; correctionPanelIds: z.ZodArray; optimizerGroupsPerTask: z.ZodNumber; trajectoriesPerGroup: z.ZodNumber; }, z.core.$strict>>; evaluation: z.ZodObject<{ seeds: z.ZodArray; repetitions: z.ZodNumber; powerRule: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; pairedBootstrapSamples: z.ZodNumber; confidenceLevel: z.ZodLiteral<0.95>; }, z.core.$strict>; resources: z.ZodObject<{ maximumTrainingGpuSeconds: z.ZodNumber; maximumEvaluationGpuSeconds: z.ZodNumber; maximumProviderSpendUsd: z.ZodNumber; maximumTotalSpendUsd: z.ZodNumber; maximumConcurrentGroups: z.ZodNumber; }, z.core.$strict>; currencyThresholds: z.ZodObject<{ revision: z.ZodNumber; requireAllAttemptsTerminal: z.ZodLiteral; criticalCorrectionPassRate: z.ZodNumber; siblingPassRate: z.ZodNumber; behavioralRetentionRate: z.ZodNumber; maximumRetainedRegressionPoints: z.ZodNumber; blockCriticalPriorRegression: z.ZodBoolean; authorizedClaims: z.ZodArray>; }, z.core.$strict>; }, z.core.$strict>>>; automaticEvaluation: z.ZodDefault>; residualProfile: z.ZodObject<{ profileId: z.ZodString; serializedEnvelopeRank: z.ZodNumber; maximumEnabledRank: z.ZodNumber; topology: z.ZodLiteral<"uniform_block_masked">; }, z.core.$strict>; schedule: z.ZodArray; parentRule: z.ZodEnum<{ base_model: "base_model"; previous_release: "previous_release"; seed_release: "seed_release"; accepted_daily_head: "accepted_daily_head"; accepted_seed: "accepted_seed"; }>; taskSource: z.ZodEnum<{ seed_taskset: "seed_taskset"; nightly_selection: "nightly_selection"; daily_cohort_union: "daily_cohort_union"; eligible_task_pool: "eligible_task_pool"; }>; trainableRank: z.ZodNumber; minimumTasks: z.ZodNumber; maximumTasks: z.ZodNumber; }, z.core.$strict>>; scheduleSealedAt: z.ZodNullable; advancementPolicy: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; requireCheckpoint: z.ZodBoolean; requireAppliedOptimizerUpdate: z.ZodBoolean; minimumCurrentCohortMeanImprovement: z.ZodNumber; maximumRetainedMeanRegression: z.ZodNumber; blockCriticalInvariantRegression: z.ZodBoolean; automaticDailyAdvancement: z.ZodBoolean; }, z.core.$strict>; executionPolicy: z.ZodObject<{ startWhenReady: z.ZodLiteral; }, z.core.$strict>; acceptedSeedEntryId: z.ZodNullable; acceptedDailyHeadEntryId: z.ZodNullable; promotedBindingId: z.ZodNullable; createdBy: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>>>; comparisonSeriesEntries: z.ZodDefault; id: z.ZodString; seriesId: z.ZodString; profileId: z.ZodString; modelProjectId: z.ZodString; scheduleEntryId: z.ZodString; releaseHash: z.ZodString; ordinal: z.ZodNumber; label: z.ZodString; role: z.ZodEnum<{ seed: "seed"; daily_residual: "daily_residual"; rank_candidate: "rank_candidate"; weekly_rollup: "weekly_rollup"; full_refresh: "full_refresh"; }>; branch: z.ZodEnum<{ daily: "daily"; rank_candidate: "rank_candidate"; weekly_rollup: "weekly_rollup"; full_refresh: "full_refresh"; }>; status: z.ZodEnum<{ failed: "failed"; draft: "draft"; running: "running"; ready: "ready"; rejected: "rejected"; cancelled: "cancelled"; accepted: "accepted"; candidate: "candidate"; queued: "queued"; no_signal: "no_signal"; }>; parent: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"base_model">; id: z.ZodString; revision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; sourceTasksets: z.ZodArray>; taskSelection: z.ZodNullable; taskIds: z.ZodArray; observedFrom: z.ZodString; observedTo: z.ZodString; reviewedAt: z.ZodString; reviewedBy: z.ZodString; sourceTaskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; derivedFamilyKeys: z.ZodArray; familyDerivation: z.ZodObject<{ algorithm: z.ZodString; sourceTasksetHash: z.ZodString; }, z.core.$strict>; selectionHash: z.ZodString; }, z.core.$strict>>; trainableRank: z.ZodNumber; serializedEnvelopeRank: z.ZodNumber; enabledCumulativeRank: z.ZodNumber; trainableBlockId: z.ZodString; residualBlocks: z.ZodArray; artifactLineageId: z.ZodNullable; }, z.core.$strict>>; attemptOrdinal: z.ZodDefault; priorRunAttempts: z.ZodDefault; modelRunId: z.ZodNullable; terminalStatus: z.ZodEnum<{ failed: "failed"; cancelled: "cancelled"; }>; queuedAt: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodString; }, z.core.$strict>>>; trainingPlanId: z.ZodNullable; modelRunId: z.ZodNullable; modelVersionId: z.ZodNullable; evaluations: z.ZodArray; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; cohortRole: z.ZodEnum<{ development: "development"; correction: "correction"; current: "current"; retained: "retained"; sibling_verification: "sibling_verification"; cumulative_known: "cumulative_known"; prior_disclosed: "prior_disclosed"; frozen_final: "frozen_final"; }>; panelId: z.ZodDefault>; protocol: z.ZodDefault>>; }, z.core.$strict>>; decision: z.ZodNullable; policy: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; }, z.core.$strict>; reasonCodes: z.ZodArray; summary: z.ZodString; decidedBy: z.ZodString; decidedAt: z.ZodString; }, z.core.$strict>>; promotionBindingId: z.ZodNullable; queuedAt: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>>>; modelCurrencySnapshots: z.ZodDefault; id: z.ZodString; contentHash: z.ZodString; seriesId: z.ZodString; protocol: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; entryId: z.ZodString; passLabel: z.ZodString; parent: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"base_model">; id: z.ZodString; revision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">; candidate: z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sources: z.ZodObject<{ evaluationRunIds: z.ZodArray; attemptIds: z.ZodArray; tasksets: z.ZodArray>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; judge: z.ZodNullable>; calibration: z.ZodNullable>; }, z.core.$strict>; matches: z.ZodArray; taskId: z.ZodString; issueFamilyId: z.ZodString; seed: z.ZodNumber; repetition: z.ZodNumber; classification: z.ZodEnum<{ unavailable: "unavailable"; fixed: "fixed"; retained: "retained"; regressed: "regressed"; unresolved: "unresolved"; }>; parentPassed: z.ZodNullable; candidatePassed: z.ZodNullable; parentAttempt: z.ZodNullable; traceHash: z.ZodNullable; }, z.core.$strict>>; candidateAttempt: z.ZodNullable; traceHash: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>>; taskIds: z.ZodObject<{ fixed: z.ZodArray; retained: z.ZodArray; regressed: z.ZodArray; unresolved: z.ZodArray; unavailable: z.ZodArray; }, z.core.$strict>; panels: z.ZodArray; passLabel: z.ZodNullable; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; attempted: z.ZodNumber; available: z.ZodNumber; passed: z.ZodNumber; strictSuccess: z.ZodNullable; strictSuccessCi95: z.ZodNullable; lower: z.ZodNumber; upper: z.ZodNumber; }, z.core.$strict>>; judgeScore: z.ZodNullable; judgeScoreCi95: z.ZodNullable; lower: z.ZodNumber; upper: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>>; metrics: z.ZodObject<{ knownIssueCoverage: z.ZodNullable; issueFamilyGeneralization: z.ZodNullable; behavioralRetention: z.ZodNullable; currentAcquisitionDelta: z.ZodNullable; retainedDeltaPoints: z.ZodNullable; frontierStrictDelta: z.ZodNullable; pairedPValue: z.ZodNullable; wins: z.ZodNumber; ties: z.ZodNumber; losses: z.ZodNumber; }, z.core.$strict>; statistics: z.ZodObject<{ matchedAttemptCount: z.ZodNumber; strictDelta: z.ZodNullable; strictDeltaCi95: z.ZodNullable; lower: z.ZodNumber; upper: z.ZodNumber; }, z.core.$strict>>; exactPairedBinaryPValue: z.ZodNullable; pairedBootstrapSamples: z.ZodNumber; }, z.core.$strict>; criteria: z.ZodObject<{ allRequiredAttemptsTerminal: z.ZodBoolean; criticalCorrectionPassRate: z.ZodNullable; siblingPassRate: z.ZodNullable; behavioralRetentionRate: z.ZodNullable; retainedRegressionPoints: z.ZodNullable; criticalPriorRegressionCount: z.ZodNumber; thresholdRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; efficiency: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; latencyMs: z.ZodNumber; tokensPerSuccess: z.ZodNullable; throughputPerHour: z.ZodNullable; gpuSeconds: z.ZodNullable; }, z.core.$strict>; invariants: z.ZodObject<{ systemPromptHash: z.ZodString; toolSchema: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; application: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; harness: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; runtime: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; autoRefinerEnabled: z.ZodBoolean; }, z.core.$strict>; evidenceState: z.ZodEnum<{ measuring: "measuring"; up_to_date: "up_to_date"; needs_attention: "needs_attention"; }>; evidenceReasons: z.ZodArray; projectedAt: z.ZodString; }, z.core.$strict>>>; continualBenchIssueReviews: z.ZodDefault; id: z.ZodString; seriesId: z.ZodString; scheduleEntryId: z.ZodString; passLabel: z.ZodString; packet: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.continualBenchIssuePacket.v1">; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; familyId: z.ZodString; familyLabel: z.ZodString; severity: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; cases: z.ZodArray; passLabel: z.ZodNullable; optimizerEligible: z.ZodBoolean; criticalInvariantIds: z.ZodDefault>; }, z.core.$strict>>; duplicateEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; leakageEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; priorExposureEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; observedAt: z.ZodString; reviewedAt: z.ZodString; queuedAt: z.ZodNullable; runAt: z.ZodNullable; createdBy: z.ZodString; createdAt: z.ZodString; }, z.core.$strict>; splitManifest: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; decisions: z.ZodArray>; note: z.ZodString; }, z.core.$strict>>; status: z.ZodEnum<{ pending: "pending"; queued: "queued"; reviewed: "reviewed"; }>; queuedEntry: z.ZodNullable>; reviewedBy: z.ZodNullable; reviewedAt: z.ZodNullable; revision: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>>>>; continualLearningDailyBatches: z.ZodDefault; id: z.ZodString; seriesId: z.ZodString; scheduleEntryId: z.ZodString; dayOrdinal: z.ZodNumber; label: z.ZodString; runMode: z.ZodOptional>; source: z.ZodEnum<{ json_upload: "json_upload"; sealed_fixture: "sealed_fixture"; }>; sourceFileName: z.ZodNullable; sourceTaskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; tasks: z.ZodArray>; oracleReview: z.ZodEnum<{ pending: "pending"; confirmed: "confirmed"; needs_correction: "needs_correction"; }>; note: z.ZodString; observedAttempt: z.ZodNullable>; evaluationRunId: z.ZodString; attemptId: z.ZodString; modelLabel: z.ZodDefault>; modelVersionId: z.ZodDefault>; reward: z.ZodNullable; components: z.ZodDefault>; }, z.core.$strict>, z.ZodObject<{ source: z.ZodLiteral<"imported_response">; modelLabel: z.ZodString; modelVersionId: z.ZodDefault>; response: z.ZodUnknown & z.ZodType<{} | null, unknown, z.core.$ZodTypeInternals<{} | null, unknown>>; reward: z.ZodDefault>; components: z.ZodDefault>; }, z.core.$strict> ]>>; baselineAttempt: z.ZodDefault>; evaluationRunId: z.ZodString; attemptId: z.ZodString; modelLabel: z.ZodDefault>; modelVersionId: z.ZodDefault>; reward: z.ZodNullable; components: z.ZodDefault>; }, z.core.$strict>, z.ZodObject<{ source: z.ZodLiteral<"imported_response">; modelLabel: z.ZodString; modelVersionId: z.ZodDefault>; response: z.ZodUnknown & z.ZodType<{} | null, unknown, z.core.$ZodTypeInternals<{} | null, unknown>>; reward: z.ZodDefault>; components: z.ZodDefault>; }, z.core.$strict> ]>>>; responses: z.ZodDefault; id: z.ZodString; revision: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"captured_model">; id: z.ZodString; label: z.ZodString; }, z.core.$strict> ], "kind">; attempt: z.ZodUnion>; evaluationRunId: z.ZodString; attemptId: z.ZodString; modelLabel: z.ZodDefault>; modelVersionId: z.ZodDefault>; reward: z.ZodNullable; components: z.ZodDefault>; }, z.core.$strict>, z.ZodObject<{ source: z.ZodLiteral<"imported_response">; modelLabel: z.ZodString; modelVersionId: z.ZodDefault>; response: z.ZodUnknown & z.ZodType<{} | null, unknown, z.core.$ZodTypeInternals<{} | null, unknown>>; reward: z.ZodDefault>; components: z.ZodDefault>; }, z.core.$strict> ]>; }, z.core.$strict>>>; stagedAt: z.ZodDefault>; queuedEntry: z.ZodDefault>>; }, z.core.$strict>>; intakeEvaluation: z.ZodDefault; requestedTargets: z.ZodDefault>>; requestedPolicies: z.ZodDefault; id: z.ZodString; revision: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"captured_model">; id: z.ZodString; label: z.ZodString; }, z.core.$strict> ], "kind">>>; runs: z.ZodDefault; id: z.ZodString; revision: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"captured_model">; id: z.ZodString; label: z.ZodString; }, z.core.$strict> ], "kind">; runId: z.ZodString; }, z.core.$strict>>>; baselineRunId: z.ZodNullable; currentRunId: z.ZodNullable; currentPolicy: z.ZodNullable; id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; }, z.core.$strict> ], "kind">>; failure: z.ZodNullable; }, z.core.$strict>>; status: z.ZodEnum<{ pending: "pending"; queued: "queued"; reviewed: "reviewed"; }>; queuedEntry: z.ZodNullable>; reviewedBy: z.ZodNullable; reviewedAt: z.ZodNullable; availableAt: z.ZodString; revision: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>>>; rewardModelVersions: z.ZodDefault; id: z.ZodString; modelId: z.ZodString; profileId: z.ZodString; version: z.ZodNumber; role: z.ZodLiteral<"reward">; status: z.ZodEnum<{ failed: "failed"; available: "available"; }>; scope: z.ZodEnum<{ synthetic_smoke: "synthetic_smoke"; human_preference: "human_preference"; }>; baseModel: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strip>; runtime: z.ZodDefault; repoId: z.ZodString; revision: z.ZodString; configHash: z.ZodString; tokenizerHash: z.ZodString; licenseId: z.ZodString; gated: z.ZodBoolean; }, z.core.$strict>; processor: z.ZodObject<{ repository: z.ZodString; revision: z.ZodString; configHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; preferenceDatasetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; releaseGraph: z.ZodObject<{ resolvedBundleHash: z.ZodString; profileRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; artifacts: z.ZodObject<{ checkpoint: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; objectRef: z.ZodString; files: z.ZodArray>; }, z.core.$strict>; adapter: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; scalarHead: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; bucketHead: z.ZodNullable>; processorRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; qualificationReport: z.ZodNullable>; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>>; rewardModelRuns: z.ZodDefault; id: z.ZodString; rewardModelId: z.ZodString; rewardModelVersionId: z.ZodNullable; profileId: z.ZodString; role: z.ZodLiteral<"reward">; scope: z.ZodEnum<{ synthetic_smoke: "synthetic_smoke"; human_preference: "human_preference"; }>; status: z.ZodEnum<{ failed: "failed"; running: "running"; cancelled: "cancelled"; succeeded: "succeeded"; prepared: "prepared"; }>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; preferenceDatasetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; recipeRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; destinationId: z.ZodString; quote: z.ZodObject<{ maximumSpendUsd: z.ZodNumber; hourlyCostUsd: z.ZodNullable; }, z.core.$strict>; managedRunId: z.ZodNullable; progress: z.ZodObject<{ completedSteps: z.ZodNumber; totalSteps: z.ZodNumber; latestLoss: z.ZodNullable; }, z.core.$strict>; receipt: z.ZodNullable; provider: z.ZodString; providerRunId: z.ZodString; resolvedBundleHash: z.ZodString; finalCheckpoint: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; objectRef: z.ZodString; }, z.core.$strict>; adapter: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; scalarHead: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; bucketHead: z.ZodNullable>; processorRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; optimizerEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; managedExecutionReceipt: z.ZodDefault>>; parameterDeltaHash: z.ZodString; cleanup: z.ZodObject<{ computeReleased: z.ZodBoolean; providerTerminalObserved: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; qualificationReport: z.ZodNullable>; accruedSpendUsd: z.ZodNullable; failureOwner: z.ZodNullable>; failure: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strict>>>>; modelTasksets: z.ZodDefault; id: z.ZodString; revision: z.ZodDefault; profileId: z.ZodString; profileRelease: z.ZodOptional>>; createImproveRunId: z.ZodDefault>; name: z.ZodString; objective: z.ZodString; purpose: z.ZodDefault>; benchmark: z.ZodDefault; definitionId: z.ZodString; releaseId: z.ZodString; releaseHash: z.ZodString; managedReleasePath: z.ZodString; adaptationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; evaluationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; primaryMetric: z.ZodEnum<{ foreground_tokens: "foreground_tokens"; success_rate: "success_rate"; latency_ms: "latency_ms"; cost_usd: "cost_usd"; }>; qualityGate: z.ZodEnum<{ none: "none"; non_regression: "non_regression"; all_pass: "all_pass"; }>; source: z.ZodEnum<{ builtin: "builtin"; imported: "imported"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; preferenceComparison: z.ZodDefault; releaseId: z.ZodString; releaseHash: z.ZodString; publishedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; status: z.ZodEnum<{ failed: "failed"; draft: "draft"; archived: "archived"; ready: "ready"; blocked: "blocked"; awaiting_disclosure_approval: "awaiting_disclosure_approval"; awaiting_materialization_approval: "awaiting_materialization_approval"; materializing: "materializing"; validating: "validating"; needs_review: "needs_review"; baselining: "baselining"; }>; sourceRefs: z.ZodArray; id: z.ZodString; profileId: z.ZodString; sessionId: z.ZodString; turnIds: z.ZodDefault>; workspaceId: z.ZodNullable; sourceHash: z.ZodString; clusterKey: z.ZodString; title: z.ZodString; occurredAt: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: z.ZodNullable; grantedAt: z.ZodNullable; purpose: z.ZodLiteral<"task_authoring_and_evaluation">; }, z.core.$strip>; connectedAppIds: z.ZodDefault>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: z.ZodLiteral<"huggingface">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; revision: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; gated: z.ZodBoolean; private: z.ZodBoolean; declaredLicense: z.ZodNullable; sourceFileHashes: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: z.ZodLiteral<"uploaded_file">; originalFileNames: z.ZodArray; mediaTypes: z.ZodArray; sourceFileHashes: z.ZodArray; totalBytes: z.ZodNumber; parserVersion: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: z.ZodLiteral<"generated">; generatorId: z.ZodString; generatorVersion: z.ZodString; seed: z.ZodNumber; generatorHash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: z.ZodLiteral<"learning_batch">; batch: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; taskDefinition: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; admittedBy: z.ZodString; }, z.core.$strip> ], "kind">, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.connectedDatasetSource.v1">; kind: z.ZodLiteral<"connected_activity">; id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; origin: z.ZodEnum<{ hermes: "hermes"; openclaw: "openclaw"; native_chat: "native_chat"; native_work: "native_work"; codex: "codex"; claude_code: "claude_code"; opencode: "opencode"; grok_build: "grok_build"; pi: "pi"; oh_my_pi: "oh_my_pi"; }>; sourceId: z.ZodString; sessionId: z.ZodString; normalizerVersion: z.ZodString; projection: z.ZodEnum<{ conversation: "conversation"; turn: "turn"; }>; ownerUserId: z.ZodString; purpose: z.ZodLiteral<"recorded_evaluation">; sourceFileHashes: z.ZodOptional>; metadata: z.ZodDefault>; }, z.core.$strict> ]>>; datasetArtifact: z.ZodOptional; id: z.ZodString; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; contentHash: z.ZodString; format: z.ZodLiteral<"parquet">; schema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetSemanticSchema.v1">; fields: z.ZodArray; logicalType: z.ZodEnum<{ string: "string"; boolean: "boolean"; messages: "messages"; integer: "integer"; float: "float"; json: "json"; }>; nullable: z.ZodBoolean; policy: z.ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; }, z.core.$strip>>; schemaHash: z.ZodString; }, z.core.$strip>; shards: z.ZodArray; path: z.ZodString; contentHash: z.ZodString; schemaHash: z.ZodString; sizeBytes: z.ZodNumber; rowCount: z.ZodNumber; rowGroupCount: z.ZodNumber; }, z.core.$strip>>; rowCount: z.ZodNumber; splitCounts: z.ZodRecord, z.ZodNumber>; sourceReceiptRefs: z.ZodArray; mappingHash: z.ZodString; qualityReportHash: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>>; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.taskEnvironment.v1">; kind: z.ZodEnum<{ chat: "chat"; work: "work"; agent: "agent"; program: "program"; stateful_harness: "stateful_harness"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; toolNames: z.ZodDefault>; actionBindings: z.ZodOptional; actionId: z.ZodString; modelToolName: z.ZodString; description: z.ZodString; inputSchema: z.ZodRecord; actionSchemaHash: z.ZodString; agentRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; implementationHash: z.ZodString; runtimeBindingId: z.ZodString; capabilityReceiptHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; studentVisible: z.ZodBoolean; timeoutMs: z.ZodNumber; episodeArgumentBindings: z.ZodDefault; }, z.core.$strict>>>; }, z.core.$strict>>>; lifecycle: z.ZodArray>; defaultTimeoutMs: z.ZodNumber; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; resources: z.ZodOptional; path: z.ZodString; mediaType: z.ZodOptional>; visibility: z.ZodEnum<{ privileged: "privileged"; policy_visible: "policy_visible"; policy_hidden: "policy_hidden"; }>; required: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; metadata: z.ZodDefault>; }, z.core.$strip>; capabilities: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetCapabilities.v1">; taskKind: z.ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; supportedSignals: z.ZodArray>; compatibleMethods: z.ZodArray>; rewardKinds: z.ZodArray>; requiresTools: z.ZodBoolean; requiresState: z.ZodBoolean; requiresPrivilegedGrading: z.ZodBoolean; environmentPlacements: z.ZodArray>; exportable: z.ZodBoolean; portabilityBlockers: z.ZodDefault>; }, z.core.$strip>; metrics: z.ZodOptional; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>>; tasks: z.ZodArray; id: z.ZodString; clusterKey: z.ZodString; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; sourceRefs: z.ZodArray; assets: z.ZodOptional; mediaType: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; resourceRefs: z.ZodOptional>; requiredOutputs: z.ZodOptional>; submissionMode: z.ZodOptional>; maxBytes: z.ZodOptional; metadata: z.ZodDefault>; }, z.core.$strip>>>; tags: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strip>>; graders: z.ZodArray>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"model_judge">; rubric: z.ZodString; judge: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; calibrationFixtureRefs: z.ZodArray; calibrationStatus: z.ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubric: z.ZodString; reviewerRole: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; module: z.ZodString; exportName: z.ZodString; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strip> ]>>; graderFixtures: z.ZodArray; output: z.ZodRecord; infrastructureError: z.ZodNullable; expectedPassed: z.ZodBoolean; expectedRewardEligible: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>; learningSignals: z.ZodObject<{ demonstrations: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"demonstration">; prompt: z.ZodDefault>; response: z.ZodDefault>; }, z.core.$strip>>>; preferences: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"preference">; prompt: z.ZodString; chosen: z.ZodString; rejected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; corrections: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"correction">; original: z.ZodString; corrected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; feedback: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"feedback">; feedback: z.ZodString; polarity: z.ZodEnum<{ positive: "positive"; negative: "negative"; mixed: "mixed"; neutral: "neutral"; }>; }, z.core.$strip>>>; rewards: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"reward">; task: z.ZodString; rules: z.ZodArray>; otherwisePoints: z.ZodNumber; executable: z.ZodBoolean; }, z.core.$strip>>>; labels: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"label">; labelKind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodArray>; calibrationExamples: z.ZodObject<{ positive: z.ZodString; negative: z.ZodString; boundary: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strip>; authoringProvenance: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskAuthoringProvenance.v1">; model: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; modelConfig: z.ZodDefault>; skillHash: z.ZodString; promptTemplateVersion: z.ZodString; buildIntent: z.ZodDefault>; buildSpecification: z.ZodDefault; behavior: z.ZodString; examples: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"preferences">; preference: z.ZodString; pairs: z.ZodDefault>>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"verifiable_reward">; task: z.ZodString; rules: z.ZodDefault>>; otherwisePoints: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodDefault>>; positiveExample: z.ZodString; negativeExample: z.ZodString; boundaryExample: z.ZodString; }, z.core.$strip> ], "kind">>>; evidenceHashes: z.ZodArray; tasksetSdkVersion: z.ZodString; sourceCommit: z.ZodNullable; repairHistory: z.ZodArray>; createdAt: z.ZodString; }, z.core.$strip>; readiness: z.ZodNullable; tasksetId: z.ZodString; tasksetHash: z.ZodString; ready: z.ZodBoolean; recommendedMethod: z.ZodEnum<{ none: "none"; retrieval: "retrieval"; sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; trainingPath: z.ZodDefault; bootstrap: z.ZodNullable; purpose: z.ZodLiteral<"trajectory_bootstrap">; demonstrationRefs: z.ZodArray; limitations: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>>; methodReadiness: z.ZodDefault; status: z.ZodEnum<{ recommended: "recommended"; compatible: "compatible"; needs_dataset_work: "needs_dataset_work"; }>; reasonCodes: z.ZodDefault>>; reasons: z.ZodDefault>; }, z.core.$strip>>>; compatibleDestinationClasses: z.ZodArray>; blockers: z.ZodDefault; }, z.core.$strip>>>; advisories: z.ZodDefault; }, z.core.$strip>>>; warnings: z.ZodDefault>; generatedAt: z.ZodString; }, z.core.$strip>>; contentHash: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; plans: z.ZodArray; id: z.ZodString; modelId: z.ZodString; tasksetId: z.ZodString; tasksetHash: z.ZodString; comparisonSeriesEntry: z.ZodOptional>>; evaluationTasksetRef: z.ZodOptional>>; harnessRelease: z.ZodOptional>>; modelImprovementQualification: z.ZodOptional>>; destinationId: z.ZodEnum<{ openpond_managed: "openpond_managed"; }>; recipe: z.ZodUnion; method: z.ZodLiteral<"sft">; parameterization: z.ZodLiteral<"lora">; baseModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; dataset: z.ZodObject<{ trainSplit: z.ZodLiteral<"train">; validationSplit: z.ZodEnum<{ validation: "validation"; frozen_eval: "frozen_eval"; }>; completionOnly: z.ZodBoolean; maxSequenceLength: z.ZodNumber; maxExamples: z.ZodDefault; selectionStrategy: z.ZodDefault>; selectionSeed: z.ZodDefault; }, z.core.$strip>; lora: z.ZodObject<{ rank: z.ZodNumber; alpha: z.ZodNumber; dropout: z.ZodNumber; targetModules: z.ZodArray; }, z.core.$strip>; optimizer: z.ZodObject<{ learningRate: z.ZodNumber; epochs: z.ZodNumber; maxSteps: z.ZodNumber; batchSize: z.ZodNumber; gradientAccumulationSteps: z.ZodNumber; seed: z.ZodNumber; }, z.core.$strip>; resourceLimits: z.ZodObject<{ cpuThreads: z.ZodNumber; memoryBytes: z.ZodNumber; wallTimeMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.dpoRecipe.v1">; method: z.ZodLiteral<"dpo">; parameterization: z.ZodLiteral<"lora">; policyModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; referenceModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; dataset: z.ZodObject<{ trainSplit: z.ZodLiteral<"train">; validationSplit: z.ZodEnum<{ validation: "validation"; frozen_eval: "frozen_eval"; }>; maxPairs: z.ZodNumber; maxPromptTokens: z.ZodNumber; maxCompletionTokens: z.ZodNumber; selectionStrategy: z.ZodLiteral<"stable_hash_top_n">; selectionSeed: z.ZodNumber; }, z.core.$strip>; lora: z.ZodObject<{ rank: z.ZodNumber; alpha: z.ZodNumber; dropout: z.ZodNumber; targetModules: z.ZodArray; }, z.core.$strip>; loss: z.ZodObject<{ variant: z.ZodLiteral<"sigmoid">; beta: z.ZodNumber; labelSmoothing: z.ZodDefault; }, z.core.$strip>; optimizer: z.ZodObject<{ learningRate: z.ZodNumber; epochs: z.ZodNumber; maxSteps: z.ZodNumber; batchSize: z.ZodNumber; gradientAccumulationSteps: z.ZodNumber; seed: z.ZodNumber; }, z.core.$strip>; referenceLogprobs: z.ZodObject<{ cacheSchemaVersion: z.ZodLiteral<"openpond.dpoReferenceLogprobs.v1">; cacheKey: z.ZodString; invalidationHash: z.ZodString; }, z.core.$strip>; resourceLimits: z.ZodObject<{ cpuThreads: z.ZodNumber; memoryBytes: z.ZodNumber; wallTimeMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.rftRecipe.v1">; method: z.ZodLiteral<"grpo">; parameterization: z.ZodLiteral<"lora">; baseModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; dataset: z.ZodObject<{ trainSplit: z.ZodLiteral<"train">; validationSplit: z.ZodEnum<{ validation: "validation"; frozen_eval: "frozen_eval"; }>; maxPromptTokens: z.ZodNumber; maxExamples: z.ZodDefault; selectionStrategy: z.ZodDefault>; }, z.core.$strip>; lora: z.ZodObject<{ rank: z.ZodNumber; }, z.core.$strip>; rollout: z.ZodObject<{ groupSize: z.ZodNumber; concurrency: z.ZodNumber; maxTurns: z.ZodNumber; maxOutputTokens: z.ZodNumber; temperature: z.ZodNumber; topP: z.ZodNumber; seed: z.ZodNumber; }, z.core.$strip>; optimizer: z.ZodObject<{ learningRate: z.ZodNumber; maxSteps: z.ZodNumber; clipRange: z.ZodDefault; iterations: z.ZodDefault; microbatchSize: z.ZodDefault; gradientAccumulationSteps: z.ZodDefault; advantageEpsilon: z.ZodDefault; adamw: z.ZodDefault>; weightDecay: z.ZodDefault; beta1: z.ZodDefault; beta2: z.ZodDefault; epsilon: z.ZodDefault; }, z.core.$strict>>; }, z.core.$strip>; loss: z.ZodDefault>; klBeta: z.ZodDefault>; }, z.core.$strip>>; reward: z.ZodObject<{ graderId: z.ZodString; graderHash: z.ZodString; environmentId: z.ZodString; environmentVersion: z.ZodString; toolContractHash: z.ZodString; learnedPreference: z.ZodOptional; qualificationReport: z.ZodDefault>>; evaluationReferences: z.ZodDefault>>; checkpoint: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; objectRef: z.ZodString; files: z.ZodArray>; }, z.core.$strict>; runtime: z.ZodObject<{ baseModel: z.ZodObject<{ source: z.ZodLiteral<"huggingface">; repoId: z.ZodString; revision: z.ZodString; configHash: z.ZodString; tokenizerHash: z.ZodString; licenseId: z.ZodString; gated: z.ZodBoolean; }, z.core.$strict>; processor: z.ZodObject<{ repository: z.ZodString; revision: z.ZodString; configHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; processorRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rewardComposerRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; executionReceipt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; }, z.core.$strip>; resourceLimits: z.ZodObject<{ wallTimeMs: z.ZodNumber; maxGpuSeconds: z.ZodOptional; warmupDeadlineSeconds: z.ZodOptional; maxRollouts: z.ZodNumber; maxPayloadBytes: z.ZodNumber; }, z.core.$strip>; policyOptimization: z.ZodDefault; policyModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; referenceModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; dataset: z.ZodObject<{ tasksetId: z.ZodString; tasksetHash: z.ZodString; split: z.ZodLiteral<"train">; selectionStrategy: z.ZodEnum<{ stable_hash_top_n: "stable_hash_top_n"; rft_easy_curriculum_v1: "rft_easy_curriculum_v1"; }>; selectionSeed: z.ZodNumber; maxExamples: z.ZodNumber; }, z.core.$strip>; sampler: z.ZodObject<{ temperature: z.ZodNumber; topP: z.ZodNumber; maxOutputTokens: z.ZodNumber; maxTurns: z.ZodNumber; concurrency: z.ZodNumber; }, z.core.$strip>; environment: z.ZodObject<{ id: z.ZodString; version: z.ZodString; toolContractHash: z.ZodString; }, z.core.$strip>; reward: z.ZodObject<{ graderId: z.ZodString; graderHash: z.ZodString; learnedPreference: z.ZodDefault; qualificationReport: z.ZodDefault>>; evaluationReferences: z.ZodDefault>>; checkpoint: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; objectRef: z.ZodString; files: z.ZodArray>; }, z.core.$strict>; runtime: z.ZodObject<{ baseModel: z.ZodObject<{ source: z.ZodLiteral<"huggingface">; repoId: z.ZodString; revision: z.ZodString; configHash: z.ZodString; tokenizerHash: z.ZodString; licenseId: z.ZodString; gated: z.ZodBoolean; }, z.core.$strict>; processor: z.ZodObject<{ repository: z.ZodString; revision: z.ZodString; configHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; processorRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rewardComposerRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; executionReceipt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; }, z.core.$strip>; kl: z.ZodObject<{ coefficient: z.ZodNullable; referenceConstraint: z.ZodLiteral<"fixed_reference">; }, z.core.$strip>; budgets: z.ZodObject<{ maxRollouts: z.ZodNumber; maxEnvironmentExecutions: z.ZodNumber; maxInputTokens: z.ZodNumber; maxOutputTokens: z.ZodNumber; maxOptimizerSteps: z.ZodNumber; wallTimeMs: z.ZodNumber; maximumCostUsd: z.ZodNullable; }, z.core.$strip>; checkpointEverySteps: z.ZodNumber; seed: z.ZodNumber; evaluationSplit: z.ZodLiteral<"frozen_eval">; optimizer: z.ZodDiscriminatedUnion<[ z.ZodObject<{ method: z.ZodLiteral<"grpo">; groupSize: z.ZodNumber; normalization: z.ZodLiteral<"group_standardized">; advantageEpsilon: z.ZodDefault; loss: z.ZodEnum<{ grpo: "grpo"; dapo: "dapo"; "gspo-token": "gspo-token"; }>; clipRange: z.ZodDefault; iterations: z.ZodDefault; microbatchSize: z.ZodDefault; gradientAccumulationSteps: z.ZodDefault; adamw: z.ZodDefault>; weightDecay: z.ZodDefault; beta1: z.ZodDefault; beta2: z.ZodDefault; epsilon: z.ZodDefault; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ method: z.ZodLiteral<"ppo">; valueModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; gamma: z.ZodNumber; gaeLambda: z.ZodNumber; policyClip: z.ZodNumber; valueClip: z.ZodNumber; valueLossCoefficient: z.ZodNumber; ppoEpochs: z.ZodNumber; minibatchSize: z.ZodNumber; }, z.core.$strip> ], "method">; }, z.core.$strip>>>; continuation: z.ZodOptional; parentArtifact: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourceArtifact: z.ZodObject<{ jobId: z.ZodString; artifactId: z.ZodString; checkpointId: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; optimizerMode: z.ZodEnum<{ continue: "continue"; reset: "reset"; }>; adapterMode: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.ppoRecipe.v1">; method: z.ZodLiteral<"ppo">; parameterization: z.ZodLiteral<"lora">; policyOptimization: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.policyOptimization.v1">; policyModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; referenceModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; dataset: z.ZodObject<{ tasksetId: z.ZodString; tasksetHash: z.ZodString; split: z.ZodLiteral<"train">; selectionStrategy: z.ZodEnum<{ stable_hash_top_n: "stable_hash_top_n"; rft_easy_curriculum_v1: "rft_easy_curriculum_v1"; }>; selectionSeed: z.ZodNumber; maxExamples: z.ZodNumber; }, z.core.$strip>; sampler: z.ZodObject<{ temperature: z.ZodNumber; topP: z.ZodNumber; maxOutputTokens: z.ZodNumber; maxTurns: z.ZodNumber; concurrency: z.ZodNumber; }, z.core.$strip>; environment: z.ZodObject<{ id: z.ZodString; version: z.ZodString; toolContractHash: z.ZodString; }, z.core.$strip>; reward: z.ZodObject<{ graderId: z.ZodString; graderHash: z.ZodString; learnedPreference: z.ZodDefault; qualificationReport: z.ZodDefault>>; evaluationReferences: z.ZodDefault>>; checkpoint: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; objectRef: z.ZodString; files: z.ZodArray>; }, z.core.$strict>; runtime: z.ZodObject<{ baseModel: z.ZodObject<{ source: z.ZodLiteral<"huggingface">; repoId: z.ZodString; revision: z.ZodString; configHash: z.ZodString; tokenizerHash: z.ZodString; licenseId: z.ZodString; gated: z.ZodBoolean; }, z.core.$strict>; processor: z.ZodObject<{ repository: z.ZodString; revision: z.ZodString; configHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; processorRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rewardComposerRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; executionReceipt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; }, z.core.$strip>; kl: z.ZodObject<{ coefficient: z.ZodNullable; referenceConstraint: z.ZodLiteral<"fixed_reference">; }, z.core.$strip>; budgets: z.ZodObject<{ maxRollouts: z.ZodNumber; maxEnvironmentExecutions: z.ZodNumber; maxInputTokens: z.ZodNumber; maxOutputTokens: z.ZodNumber; maxOptimizerSteps: z.ZodNumber; wallTimeMs: z.ZodNumber; maximumCostUsd: z.ZodNullable; }, z.core.$strip>; checkpointEverySteps: z.ZodNumber; seed: z.ZodNumber; evaluationSplit: z.ZodLiteral<"frozen_eval">; optimizer: z.ZodObject<{ method: z.ZodLiteral<"ppo">; valueModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; tokenizerRevision: z.ZodString; chatTemplateHash: z.ZodString; }, z.core.$strip>; gamma: z.ZodNumber; gaeLambda: z.ZodNumber; policyClip: z.ZodNumber; valueClip: z.ZodNumber; valueLossCoefficient: z.ZodNumber; ppoEpochs: z.ZodNumber; minibatchSize: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; lora: z.ZodObject<{ rank: z.ZodNumber; alpha: z.ZodNumber; dropout: z.ZodNumber; targetModules: z.ZodArray; }, z.core.$strip>; valueHead: z.ZodObject<{ initialization: z.ZodLiteral<"policy_hidden_state_linear">; optimizerLearningRate: z.ZodNumber; artifactName: z.ZodLiteral<"value_head.safetensors">; }, z.core.$strip>; policyLearningRate: z.ZodNumber; resume: z.ZodObject<{ checkpointId: z.ZodNullable; policyHash: z.ZodString; referenceHash: z.ZodString; valueModelHash: z.ZodString; optimizerStateHash: z.ZodNullable; }, z.core.$strip>; resourceLimits: z.ZodObject<{ cpuThreads: z.ZodNumber; memoryBytes: z.ZodNumber; wallTimeMs: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.unsupportedRecipe.v1">; method: z.ZodEnum<{ sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; parameterization: z.ZodEnum<{ lora: "lora"; full: "full"; }>; unsupportedReason: z.ZodString; }, z.core.$strip> ]>; environmentPlacement: z.ZodEnum<{ local: "local"; none: "none"; remote: "remote"; colocated: "colocated"; provider_native: "provider_native"; }>; compatibility: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.trainingCompatibility.v1">; compatible: z.ZodBoolean; destinationId: z.ZodEnum<{ openpond_managed: "openpond_managed"; }>; tasksetId: z.ZodString; recipeMethod: z.ZodEnum<{ sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; issues: z.ZodArray; path: z.ZodNullable; message: z.ZodString; }, z.core.$strip>>; checkedAt: z.ZodString; }, z.core.$strip>; dataPolicy: z.ZodObject<{ exportApproved: z.ZodBoolean; approvedSourceIds: z.ZodArray; retentionDays: z.ZodNullable; region: z.ZodNullable; }, z.core.$strip>; estimatedCostUsd: z.ZodNullable; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strip>>; bundles: z.ZodArray; id: z.ZodString; planId: z.ZodString; tasksetId: z.ZodString; tasksetHash: z.ZodString; recipeHash: z.ZodString; files: z.ZodArray; }, z.core.$strip>>; totalSizeBytes: z.ZodNumber; sourceIds: z.ZodArray; excludedSourceIds: z.ZodArray; containsRawChats: z.ZodLiteral; containsSecrets: z.ZodLiteral; containsHiddenGraderAssets: z.ZodLiteral; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strip>>; jobs: z.ZodArray; id: z.ZodString; planId: z.ZodString; bundleHash: z.ZodString; approvalId: z.ZodString; destinationId: z.ZodEnum<{ openpond_managed: "openpond_managed"; }>; status: z.ZodEnum<{ failed: "failed"; running: "running"; starting: "starting"; cancelled: "cancelled"; reconciling: "reconciling"; queued: "queued"; succeeded: "succeeded"; cancelling: "cancelling"; }>; nonProduction: z.ZodBoolean; workerPid: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; error: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>; artifacts: z.ZodArray; id: z.ZodString; jobId: z.ZodString; kind: z.ZodEnum<{ manifest: "manifest"; evaluation: "evaluation"; adapter: "adapter"; metrics: "metrics"; checkpoint: "checkpoint"; log: "log"; }>; path: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; baseModelId: z.ZodNullable; baseModelRevision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; nonProduction: z.ZodBoolean; createdAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>; models: z.ZodArray; id: z.ZodString; modelId: z.ZodString; artifactId: z.ZodString; jobId: z.ZodString; tasksetId: z.ZodString; tasksetHash: z.ZodString; graderHash: z.ZodString; planHash: z.ZodString; bundleHash: z.ZodString; recipeHash: z.ZodString; workerVersion: z.ZodString; trainerVersion: z.ZodString; importedAt: z.ZodString; frozenEvaluationArtifactId: z.ZodNullable; promotable: z.ZodBoolean; pinned: z.ZodDefault; status: z.ZodDefault>; rejectedAt: z.ZodDefault>; rejectionReason: z.ZodDefault>; chatConfiguration: z.ZodDefault>; profile: z.ZodDefault>; systemPromptMode: z.ZodDefault>; customSystemPrompt: z.ZodDefault>; contextWindowTokens: z.ZodDefault; maxOutputTokens: z.ZodDefault; temperature: z.ZodDefault; repetitionPenalty: z.ZodDefault; noRepeatNgramSize: z.ZodDefault; compaction: z.ZodDefault>; keepWarmSeconds: z.ZodDefault; updatedAt: z.ZodDefault>; }, z.core.$strip>>; managedServing: z.ZodDefault; teamId: z.ZodDefault>; source: z.ZodLiteral<"sandbox_managed_rl">; sourceRef: z.ZodString; canonicalArtifactId: z.ZodNullable; canonicalModelName: z.ZodDefault>; canonicalArtifactState: z.ZodNullable>; canonicalDeploymentId: z.ZodNullable; canonicalDeploymentState: z.ZodNullable>; state: z.ZodEnum<{ failed: "failed"; pending: "pending"; ready: "ready"; imported: "imported"; }>; customerBindingAllowed: z.ZodDefault; artifactContentHash: z.ZodDefault>; baseProfileId: z.ZodDefault>; publishedAt: z.ZodNullable; lastSyncedAt: z.ZodString; lastError: z.ZodNullable; }, z.core.$strip>>>; }, z.core.$strip>>; rolloutReceipts: z.ZodDefault; id: z.ZodString; jobId: z.ZodString; planId: z.ZodString; tasksetId: z.ZodString; tasksetHash: z.ZodString; taskId: z.ZodString; split: z.ZodLiteral<"train">; correlationId: z.ZodString; provider: z.ZodString; providerTrace: z.ZodObject<{ invocationId: z.ZodString; experimentId: z.ZodString; rolloutId: z.ZodString; runId: z.ZodString; rowId: z.ZodString; }, z.core.$strip>; optimizerMethod: z.ZodDefault>; evidenceLevels: z.ZodDefault; observed: z.ZodEnum<{ trajectory: "trajectory"; aggregate: "aggregate"; provider_reported: "provider_reported"; }>; providerReported: z.ZodEnum<{ trajectory: "trajectory"; aggregate: "aggregate"; provider_reported: "provider_reported"; }>; }, z.core.$strip>>; budgetUsage: z.ZodDefault>; environment: z.ZodObject<{ id: z.ZodString; version: z.ZodString; worldId: z.ZodString; worldHash: z.ZodString; toolContractHash: z.ZodString; }, z.core.$strip>; policy: z.ZodObject<{ modelId: z.ZodString; checkpointId: z.ZodNullable; completionParametersHash: z.ZodString; }, z.core.$strip>; status: z.ZodEnum<{ failed: "failed"; running: "running"; succeeded: "succeeded"; received: "received"; }>; failureClass: z.ZodNullable>; reward: z.ZodObject<{ eligible: z.ZodBoolean; raw: z.ZodNullable; normalized: z.ZodNullable; components: z.ZodRecord; }, z.core.$strip>; trajectory: z.ZodNullable; id: z.ZodString; worldId: z.ZodString; taskId: z.ZodString; toolContractHash: z.ZodLiteral; modelRef: z.ZodNullable>; status: z.ZodEnum<{ completed: "completed"; cancelled: "cancelled"; infrastructure_failure: "infrastructure_failure"; budget_exhausted: "budget_exhausted"; }>; steps: z.ZodArray; turn: z.ZodNumber; content: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"tool_call">; turn: z.ZodNumber; callId: z.ZodString; name: z.ZodEnum<{ search_crm: "search_crm"; query_billing: "query_billing"; search_support: "search_support"; run_python: "run_python"; }>; arguments: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"tool_result">; turn: z.ZodNumber; callId: z.ZodString; name: z.ZodEnum<{ search_crm: "search_crm"; query_billing: "query_billing"; search_support: "search_support"; run_python: "run_python"; }>; ok: z.ZodBoolean; result: z.ZodUnknown; rows: z.ZodNumber; bytes: z.ZodNumber; durationMs: z.ZodNumber; error: z.ZodNullable; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"final">; turn: z.ZodNumber; content: z.ZodString; }, z.core.$strip> ], "kind">>; startedAt: z.ZodString; completedAt: z.ZodString; infrastructureError: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.singleTurnPolicyTrajectory.v1">; id: z.ZodString; taskId: z.ZodString; status: z.ZodEnum<{ completed: "completed"; infrastructure_failure: "infrastructure_failure"; }>; promptHash: z.ZodString; responseText: z.ZodString; infrastructureError: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.ppoTrajectory.v1">; id: z.ZodString; taskId: z.ZodString; policyModelId: z.ZodString; referenceModelId: z.ZodString; valueModelId: z.ZodString; steps: z.ZodArray; terminated: z.ZodBoolean; truncated: z.ZodBoolean; reward: z.ZodNumber; policyLogProbability: z.ZodNumber; referenceLogProbability: z.ZodNumber; valuePrediction: z.ZodNumber; return: z.ZodNumber; advantage: z.ZodNumber; mask: z.ZodNumber; }, z.core.$strip>>; createdAt: z.ZodString; }, z.core.$strip> ]>>; verifier: z.ZodNullable; trajectoryId: z.ZodString; outcome: z.ZodEnum<{ cancelled: "cancelled"; infrastructure_failure: "infrastructure_failure"; budget_exhausted: "budget_exhausted"; correct: "correct"; incorrect: "incorrect"; parse_failure: "parse_failure"; tool_schema_violation: "tool_schema_violation"; }>; reward: z.ZodNullable; rewardEligible: z.ZodBoolean; exactAnswer: z.ZodBoolean; components: z.ZodObject<{ exactAnswer: z.ZodNumber; efficiency: z.ZodNumber; conciseOutput: z.ZodNumber; }, z.core.$strip>; metrics: z.ZodObject<{ toolCalls: z.ZodNumber; rowsRead: z.ZodNumber; bytesRead: z.ZodNumber; consecutiveRetrievalCalls: z.ZodNumber; wallTimeMs: z.ZodNumber; parseFailures: z.ZodNumber; budgetExhausted: z.ZodBoolean; }, z.core.$strip>; parsedAnswer: z.ZodNullable; feedback: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.exactAnswerVerifierResult.v1">; outcome: z.ZodEnum<{ infrastructure_failure: "infrastructure_failure"; correct: "correct"; incorrect: "incorrect"; parse_failure: "parse_failure"; }>; graderSetHash: z.ZodString; score: z.ZodNullable; passed: z.ZodBoolean; rewardEligible: z.ZodBoolean; expectedAnswerHash: z.ZodString; extractedAnswer: z.ZodNullable; feedback: z.ZodArray; }, z.core.$strip> ]>>; providerStatus: z.ZodDefault>; receivedAt: z.ZodString; startedAt: z.ZodNullable; completedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strip>>>; modelBindings: z.ZodDefault; id: z.ZodString; profileId: z.ZodString; role: z.ZodEnum<{ agent: "agent"; extension: "extension"; chat_manual: "chat_manual"; authoring_optimizer: "authoring_optimizer"; }>; roleTargetId: z.ZodString; modelArtifactLineageId: z.ZodString; tasksetId: z.ZodString; evaluationArtifactId: z.ZodNullable; status: z.ZodEnum<{ active: "active"; rolled_back: "rolled_back"; }>; priorBindingId: z.ZodNullable; rollbackTargetBindingId: z.ZodNullable; promotedBy: z.ZodString; promotedAt: z.ZodString; rolledBackAt: z.ZodNullable; metadata: z.ZodDefault>; }, z.core.$strip>>>; destinations: z.ZodArray; destinationId: z.ZodEnum<{ openpond_managed: "openpond_managed"; }>; available: z.ZodBoolean; methods: z.ZodArray>; parameterizations: z.ZodArray>; modelAllowlist: z.ZodDefault>; maxDatasetBytes: z.ZodNullable; environmentPlacements: z.ZodArray>; nonProduction: z.ZodBoolean; unavailableReason: z.ZodNullable; checkedAt: z.ZodString; }, z.core.$strip>>; baseModelCandidates: z.ZodDefault; selectionKey: z.ZodString; label: z.ZodString; sourceLabel: z.ZodString; preference: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strip>; available: z.ZodBoolean; nonProduction: z.ZodBoolean; unavailableReason: z.ZodNullable; methods: z.ZodArray>; executionOptions: z.ZodArray; available: z.ZodBoolean; methods: z.ZodArray>; parameterizations: z.ZodArray>; nonProduction: z.ZodBoolean; unavailableReason: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>>>; activityRevision: z.ZodOptional; generatedAt: z.ZodString; }, z.core.$strip>; type ModelProject = z.infer; type TrainingPlan = z.infer; type TrainingBundleManifest = z.infer; type TrainingApproval = z.infer; type TrainingJob = z.infer; type TrainingJobEvent = z.infer; type TrainingArtifact = z.infer; type ModelArtifactLineage = z.infer; type ModelBinding = z.infer; type TrainingStateResponse = z.infer; type TrainingNavigationResponse = { projects: Array<{ id: string; name: string; teamId: string | null; }>; activityByProjectId: Record; creationSessionIds: string[]; }; declare const ModelVersionSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelVersion.v1">; id: z.ZodString; modelId: z.ZodString; profileId: z.ZodString; version: z.ZodNumber; kind: z.ZodEnum<{ base_reference: "base_reference"; lora_adapter: "lora_adapter"; }>; status: z.ZodEnum<{ failed: "failed"; available: "available"; }>; baseModel: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strip>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; comparisonSeriesEntry: z.ZodOptional>>; evaluationTasksetRef: z.ZodOptional>>; releaseGraph: z.ZodObject<{ resolvedBundleHash: z.ZodString; profileRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; agentRelease: z.ZodNullable>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; artifactLineageId: z.ZodNullable; adapterStatus: z.ZodEnum<{ not_trained: "not_trained"; trained: "trained"; }>; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; declare const RewardModelVersionSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.rewardModelVersion.v1">; id: z.ZodString; modelId: z.ZodString; profileId: z.ZodString; version: z.ZodNumber; role: z.ZodLiteral<"reward">; status: z.ZodEnum<{ failed: "failed"; available: "available"; }>; scope: z.ZodEnum<{ synthetic_smoke: "synthetic_smoke"; human_preference: "human_preference"; }>; baseModel: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strip>; runtime: z.ZodDefault; repoId: z.ZodString; revision: z.ZodString; configHash: z.ZodString; tokenizerHash: z.ZodString; licenseId: z.ZodString; gated: z.ZodBoolean; }, z.core.$strict>; processor: z.ZodObject<{ repository: z.ZodString; revision: z.ZodString; configHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; preferenceDatasetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; releaseGraph: z.ZodObject<{ resolvedBundleHash: z.ZodString; profileRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; artifacts: z.ZodObject<{ checkpoint: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; objectRef: z.ZodString; files: z.ZodArray>; }, z.core.$strict>; adapter: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; scalarHead: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; bucketHead: z.ZodNullable>; processorRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; qualificationReport: z.ZodNullable>; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; declare const RewardModelRunSchema: z.ZodPreprocess; id: z.ZodString; rewardModelId: z.ZodString; rewardModelVersionId: z.ZodNullable; profileId: z.ZodString; role: z.ZodLiteral<"reward">; scope: z.ZodEnum<{ synthetic_smoke: "synthetic_smoke"; human_preference: "human_preference"; }>; status: z.ZodEnum<{ failed: "failed"; running: "running"; cancelled: "cancelled"; succeeded: "succeeded"; prepared: "prepared"; }>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; preferenceDatasetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; recipeRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; destinationId: z.ZodString; quote: z.ZodObject<{ maximumSpendUsd: z.ZodNumber; hourlyCostUsd: z.ZodNullable; }, z.core.$strict>; managedRunId: z.ZodNullable; progress: z.ZodObject<{ completedSteps: z.ZodNumber; totalSteps: z.ZodNumber; latestLoss: z.ZodNullable; }, z.core.$strict>; receipt: z.ZodNullable; provider: z.ZodString; providerRunId: z.ZodString; resolvedBundleHash: z.ZodString; finalCheckpoint: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; objectRef: z.ZodString; }, z.core.$strict>; adapter: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; scalarHead: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; bucketHead: z.ZodNullable>; processorRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; optimizerEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; managedExecutionReceipt: z.ZodDefault>>; parameterDeltaHash: z.ZodString; cleanup: z.ZodObject<{ computeReleased: z.ZodBoolean; providerTerminalObserved: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; qualificationReport: z.ZodNullable>; accruedSpendUsd: z.ZodNullable; failureOwner: z.ZodNullable>; failure: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strict>>; declare const ModelRunSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelRun.v1">; id: z.ZodString; modelId: z.ZodString; modelVersionId: z.ZodNullable; profileId: z.ZodString; kind: z.ZodEnum<{ training: "training"; evaluation: "evaluation"; rollout_smoke: "rollout_smoke"; }>; status: z.ZodEnum<{ failed: "failed"; running: "running"; cancelled: "cancelled"; succeeded: "succeeded"; prepared: "prepared"; }>; method: z.ZodNullable>; destinationId: z.ZodNullable; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; comparisonSeriesEntry: z.ZodOptional>>; evaluationTasksetRef: z.ZodOptional>>; harnessRelease: z.ZodOptional>>; quote: z.ZodNullable; }, z.core.$strict>>; evaluation: z.ZodDefault; operationId: z.ZodString; actorId: z.ZodString; teamId: z.ZodString; projectId: z.ZodNullable; mode: z.ZodEnum<{ review_quality: "review_quality"; downstream_adaptation: "downstream_adaptation"; }>; profileRef: z.ZodObject<{ source: z.ZodEnum<{ local: "local"; github: "github"; openpond_git: "openpond_git"; }>; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strict>; sourceRevision: z.ZodString; baselineRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; refinerRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; externalDatasetBinding: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; adaptationDatasetBinding: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; privateClosureHash: z.ZodString; adaptationTaskIds: z.ZodArray; holdoutTaskIds: z.ZodArray; adaptationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; holdoutSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; environmentPolicy: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"resettable">; environmentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"frozen_observations">; environmentHash: z.ZodString; }, z.core.$strict> ], "kind">; maximumCostUsd: z.ZodNumber; maximumDurationMs: z.ZodNumber; maximumModelSteps: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>>; benchmarkId: z.ZodLiteral<"harness-refiner">; model: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; upstreamModel: z.ZodObject<{ providerId: z.ZodString; modelId: z.ZodString; revision: z.ZodString; pricing: z.ZodOptional>; }, z.core.$strict>; reasoningEffort: z.ZodNullable; seeds: z.ZodArray; repetitions: z.ZodNumber; maximumSpendUsd: z.ZodNumber; attemptPlan: z.ZodArray; split: z.ZodString; taskIds: z.ZodArray; attemptCount: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ benchmarkId: z.ZodLiteral<"model-comparison">; target: z.ZodObject<{ kind: z.ZodEnum<{ base_model: "base_model"; model_version: "model_version"; external_reference: "external_reference"; }>; label: z.ZodString; modelVersionId: z.ZodNullable; model: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; judge: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; release: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rubricRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; calibrationRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; referenceLabel: z.ZodString; }, z.core.$strict>>; seeds: z.ZodArray; repetitions: z.ZodNumber; maximumSpendUsd: z.ZodNumber; series: z.ZodDefault; }, z.core.$strict>>>; panel: z.ZodDefault; passLabel: z.ZodNullable; }, z.core.$strict>>>; comparisonPair: z.ZodDefault; id: z.ZodString; revision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">; candidateModelVersionId: z.ZodString; }, z.core.$strict>>>; attemptPlan: z.ZodArray; split: z.ZodString; taskIds: z.ZodArray; attemptCount: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict> ]>>>; evaluationProgress: z.ZodDefault; completedAttempts: z.ZodNumber; totalAttempts: z.ZodNumber; accounting: z.ZodDefault; }, z.core.$strict>; adaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidateAdaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidate: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; refiner: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; grader: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; observedSpendUsd: z.ZodNumber; attempts: z.ZodArray; taskId: z.ZodString; attemptId: z.ZodString; sessionId: z.ZodNullable; turnId: z.ZodNullable; passed: z.ZodBoolean; score: z.ZodNullable; failureClass: z.ZodNullable>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; latencyMs: z.ZodNumber; costUsd: z.ZodNullable; startedAt: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>>; advancedAccounting: z.ZodOptional; heldUsd: z.ZodNumber; uncertainRequests: z.ZodNumber; }, z.core.$strict>>; evidenceSnapshot: z.ZodDefault>>; }, z.core.$strict>>>; reward: z.ZodNullable; }, z.core.$strict>>; receipt: z.ZodNullable; provider: z.ZodString; providerRunId: z.ZodString; assignmentHash: z.ZodString; resultHash: z.ZodString; transcriptHash: z.ZodString; traceHash: z.ZodNullable; resolvedBundleHash: z.ZodString; artifactPath: z.ZodString; cleanup: z.ZodObject<{ computeReleased: z.ZodBoolean; tunnelClosed: z.ZodBoolean; }, z.core.$strict>; telemetry: z.ZodDefault; stage: z.ZodEnum<{ training: "training"; evaluation: "evaluation"; deployment: "deployment"; inference: "inference"; }>; correlation: z.ZodObject<{ modelRunId: z.ZodNullable; modelVersionId: z.ZodNullable; policyVersion: z.ZodNullable; taskId: z.ZodNullable; rolloutGroupId: z.ZodNullable; providerResourceId: z.ZodNullable; deploymentId: z.ZodNullable; inferenceRequestId: z.ZodNullable; }, z.core.$strict>; spans: z.ZodArray; outcome: z.ZodEnum<{ failed: "failed"; cancelled: "cancelled"; succeeded: "succeeded"; }>; }, z.core.$strict>>; usage: z.ZodObject<{ promptTokens: z.ZodNullable; generatedTokens: z.ZodNullable; gpuSeconds: z.ZodNullable; workerActiveSeconds: z.ZodNullable; optimizerSteps: z.ZodNullable; rolloutGroups: z.ZodNullable; successfulTrajectories: z.ZodNullable; failedTrajectories: z.ZodNullable; peakGpuMemoryBytes: z.ZodNullable; peakGpuUtilizationPercent: z.ZodNullable; }, z.core.$strict>; resource: z.ZodObject<{ provider: z.ZodString; resourceIds: z.ZodArray; gpuType: z.ZodNullable; gpuCount: z.ZodNullable; baseProfileId: z.ZodNullable; baseRepository: z.ZodNullable; baseRevision: z.ZodNullable; adapterContentHash: z.ZodNullable; }, z.core.$strict>; cost: z.ZodObject<{ currency: z.ZodLiteral<"USD">; providerReportedUsd: z.ZodNullable; quotedHourlyUsd: z.ZodNullable; estimatedUsd: z.ZodNullable; methodologyVersion: z.ZodString; pricingInputs: z.ZodRecord; unitEstimates: z.ZodRecord; }, z.core.$strict>; recordedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>>; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelEvaluationReceipt.v1">; benchmarkId: z.ZodString; resultManifest: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; artifactPath: z.ZodString; }, z.core.$strict>; stages: z.ZodObject<{ baseline: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; adaptation: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; refiner: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; candidateAdaptation: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; candidate: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; comparison: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; usage: z.ZodObject<{ baseline: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; adaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidateAdaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidate: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; refiner: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; grader: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; quality: z.ZodObject<{ baselinePassRate: z.ZodNumber; candidatePassRate: z.ZodNumber; adaptationBaselinePassRate: z.ZodNumber; adaptationCandidatePassRate: z.ZodNumber; adaptationCandidatePassed: z.ZodBoolean; heldOutCandidatePassed: z.ZodBoolean; passed: z.ZodBoolean; }, z.core.$strict>; foregroundTokenDelta: z.ZodNumber; foregroundTokenDeltaPercent: z.ZodNullable; taskEfficiency: z.ZodOptional; targetTaskCount: z.ZodNumber; comparedTaskCount: z.ZodNumber; passedTaskCount: z.ZodNumber; failedTaskCount: z.ZodNumber; lowerTaskCount: z.ZodNumber; higherTaskCount: z.ZodNumber; unchangedTaskCount: z.ZodNumber; baselineTokens: z.ZodNumber; refinedTokens: z.ZodNumber; tokenDelta: z.ZodNumber; tokenDeltaPercent: z.ZodNullable; complete: z.ZodBoolean; passed: z.ZodBoolean; cohorts: z.ZodObject<{ adaptation: z.ZodObject<{ targetTaskCount: z.ZodNumber; comparedTaskCount: z.ZodNumber; passedTaskCount: z.ZodNumber; failedTaskCount: z.ZodNumber; lowerTaskCount: z.ZodNumber; higherTaskCount: z.ZodNumber; unchangedTaskCount: z.ZodNumber; }, z.core.$strict>; heldOut: z.ZodObject<{ targetTaskCount: z.ZodNumber; comparedTaskCount: z.ZodNumber; passedTaskCount: z.ZodNumber; failedTaskCount: z.ZodNumber; lowerTaskCount: z.ZodNumber; higherTaskCount: z.ZodNumber; unchangedTaskCount: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>>; efficiency: z.ZodObject<{ grossForegroundTokenSavings: z.ZodNumber; overheadTokens: z.ZodNumber; firstPassNetTokenSavings: z.ZodNumber; breakEvenReuseCount: z.ZodNullable; amortizedTokenSavings: z.ZodNumber; amortizedReuseCount: z.ZodNumber; }, z.core.$strict>; budget: z.ZodObject<{ maximumSpendUsd: z.ZodNumber; observedSpendUsd: z.ZodNumber; enforced: z.ZodBoolean; }, z.core.$strict>; evidenceSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; lineage: z.ZodObject<{ adaptationEvidenceHash: z.ZodString; refinerInputHash: z.ZodString; refinerOutcomeHash: z.ZodString; validationHash: z.ZodString; applyReceiptHash: z.ZodString; candidateRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; valid: z.ZodBoolean; }, z.core.$strict>; invalidReasons: z.ZodArray; attempts: z.ZodDefault; taskId: z.ZodString; attemptId: z.ZodString; sessionId: z.ZodNullable; turnId: z.ZodNullable; passed: z.ZodBoolean; score: z.ZodNullable; failureClass: z.ZodNullable>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; latencyMs: z.ZodNumber; costUsd: z.ZodNullable; startedAt: z.ZodString; }, z.core.$strict>>>; terminalClassification: z.ZodEnum<{ cancelled: "cancelled"; infrastructure_failure: "infrastructure_failure"; improved: "improved"; no_improvement: "no_improvement"; regressed: "regressed"; inconclusive: "inconclusive"; }>; profileGit: z.ZodNullable>; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelEvaluationStopReceipt.v1">; benchmarkId: z.ZodString; terminalClassification: z.ZodLiteral<"inconclusive">; stopReason: z.ZodEnum<{ candidate_harness_unchanged: "candidate_harness_unchanged"; candidate_lineage_invalid: "candidate_lineage_invalid"; }>; reason: z.ZodString; stoppedAfter: z.ZodLiteral<"refiner">; baselineHarness: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; candidateHarness: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; refiner: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; outcomeCount: z.ZodNumber; }, z.core.$strict>; usage: z.ZodObject<{ baseline: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; adaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidateAdaptation: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; candidate: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; refiner: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; grader: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; budget: z.ZodObject<{ maximumSpendUsd: z.ZodNumber; observedSpendUsd: z.ZodNumber; enforced: z.ZodBoolean; }, z.core.$strict>; evidenceSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; attempts: z.ZodArray; taskId: z.ZodString; attemptId: z.ZodString; sessionId: z.ZodNullable; turnId: z.ZodNullable; passed: z.ZodBoolean; score: z.ZodNullable; failureClass: z.ZodNullable>; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; latencyMs: z.ZodNumber; costUsd: z.ZodNullable; startedAt: z.ZodString; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelComparisonBenchmarkReceipt.v1">; benchmarkId: z.ZodLiteral<"model-comparison">; target: z.ZodObject<{ kind: z.ZodEnum<{ base_model: "base_model"; model_version: "model_version"; external_reference: "external_reference"; }>; label: z.ZodString; modelVersionId: z.ZodNullable; model: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; }, z.core.$strict>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sampling: z.ZodObject<{ seeds: z.ZodArray; repetitions: z.ZodNumber; }, z.core.$strict>; deterministic: z.ZodObject<{ attemptedTaskCount: z.ZodNumber; completedTaskCount: z.ZodNumber; passedTaskCount: z.ZodNumber; failedTaskCount: z.ZodNumber; meanScore: z.ZodNullable; passRate: z.ZodNullable; passRateCi95: z.ZodNullable; lower: z.ZodNumber; upper: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>; judge: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; judgeRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rubricRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; calibrationRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; score: z.ZodNumber; scoreCi95: z.ZodObject<{ level: z.ZodLiteral<0.95>; lower: z.ZodNumber; upper: z.ZodNumber; }, z.core.$strict>; comparisonCount: z.ZodNumber; wins: z.ZodNumber; ties: z.ZodNumber; losses: z.ZodNumber; referenceLabel: z.ZodString; }, z.core.$strict>>; attempts: z.ZodArray>; taskId: z.ZodString; seed: z.ZodNumber; repetition: z.ZodNumber; status: z.ZodEnum<{ failed: "failed"; succeeded: "succeeded"; }>; deterministicScore: z.ZodNullable; passed: z.ZodNullable; judgeScore: z.ZodNullable; judgePreference: z.ZodNullable>; transcriptHash: z.ZodNullable; traceHash: z.ZodNullable; transcriptArtifact: z.ZodDefault>>; traceArtifact: z.ZodDefault>>; latencyMs: z.ZodDefault>; failureClass: z.ZodNullable>; }, z.core.$strict>>; usage: z.ZodObject<{ policy: z.ZodNullable; }, z.core.$strict>>; judge: z.ZodNullable; }, z.core.$strict>>; observedSpendUsd: z.ZodNullable; evaluationGpuSeconds: z.ZodDefault>; }, z.core.$strict>; managedServing: z.ZodDefault; sourcePolicyVersion: z.ZodNumber; sourceAdapterSha256: z.ZodNullable; servedPolicyVersion: z.ZodNullable; servedAdapterSha256: z.ZodNullable; accruedSpendUsd: z.ZodNumber; cleanupAttestationHash: z.ZodString; resourceCount: z.ZodNumber; activeResourceCount: z.ZodLiteral<0>; }, z.core.$strict>>>; evidenceSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; artifactPath: z.ZodString; }, z.core.$strict>; completedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.advancedRefinerReviewReceipt.v1">; id: z.ZodString; runId: z.ZodString; pinHash: z.ZodString; ownerActorId: z.ZodString; teamId: z.ZodString; privateClosureHash: z.ZodString; refinerRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; cases: z.ZodArray; trigger: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; decision: z.ZodEnum<{ no_action: "no_action"; route_deterministically: "route_deterministically"; queue_refiner: "queue_refiner"; }>; outcome: z.ZodNullable>; proposal: z.ZodNullable>; validations: z.ZodArray>; grade: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; score: z.ZodNullable; passed: z.ZodBoolean; failureClass: z.ZodNullable; }, z.core.$strict>; resetComplete: z.ZodBoolean; }, z.core.$strict>>; reviewScore: z.ZodNullable; completedCases: z.ZodNumber; noActionCases: z.ZodNumber; routedCases: z.ZodNumber; proposalCases: z.ZodNumber; costUsd: z.ZodNullable; cleanupComplete: z.ZodBoolean; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ]>>; adapterArtifactLineageId: z.ZodNullable; failure: z.ZodNullable; startedAt: z.ZodString; completedAt: z.ZodNullable; updatedAt: z.ZodString; }, z.core.$strict>; type ModelVersion = z.infer; type RewardModelVersion = z.infer; type RewardModelRun = z.infer; type ModelRun = z.infer; declare const ModelComparisonSeriesSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelComparisonSeries.v1">; id: z.ZodString; profileId: z.ZodString; modelProjectId: z.ZodString; name: z.ZodString; objective: z.ZodString; status: z.ZodEnum<{ completed: "completed"; draft: "draft"; active: "active"; archived: "archived"; }>; revision: z.ZodNumber; productionBinding: z.ZodObject<{ role: z.ZodLiteral<"chat_manual">; roleTargetId: z.ZodString; }, z.core.$strict>; baseModel: z.ZodObject<{ id: z.ZodString; revision: z.ZodString; }, z.core.$strict>; seedTaskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; eligibleTaskPool: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; evaluationTasksets: z.ZodObject<{ development: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; retained: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; frozenFinal: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; benchmarkProtocol: z.ZodDefault; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; ownerId: z.ZodString; createdAt: z.ZodString; sealedAt: z.ZodString; creationReceipt: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; predecessorSeries: z.ZodNullable>; scenarioPack: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; issueFamilyLedger: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; issuePacketRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; panels: z.ZodArray; passLabel: z.ZodNullable; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; familyIds: z.ZodArray; taskCount: z.ZodNumber; sealedAt: z.ZodString; }, z.core.$strict>>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; judge: z.ZodNullable; rubricRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; calibrationRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; model: z.ZodObject<{ providerId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; policies: z.ZodObject<{ base: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"base_model">; id: z.ZodString; revision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"external_reference">; id: z.ZodString; model: z.ZodObject<{ providerId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; providerRevision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">; master: z.ZodNullable; id: z.ZodString; revision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"external_reference">; id: z.ZodString; model: z.ZodObject<{ providerId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; providerRevision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">>; externalReferences: z.ZodArray; id: z.ZodString; revision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"external_reference">; id: z.ZodString; model: z.ZodObject<{ providerId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; providerRevision: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">>; }, z.core.$strict>; invariants: z.ZodObject<{ systemPromptHash: z.ZodString; toolSchema: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; application: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; harness: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; runtime: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; workerImage: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; autoRefiner: z.ZodObject<{ enabled: z.ZodBoolean; release: z.ZodNullable>; }, z.core.$strict>; }, z.core.$strict>; schedule: z.ZodArray; parentRule: z.ZodEnum<{ base_model: "base_model"; previous_release: "previous_release"; seed_release: "seed_release"; accepted_daily_head: "accepted_daily_head"; accepted_seed: "accepted_seed"; }>; trainableRank: z.ZodNumber; correctionPanelIds: z.ZodArray; optimizerGroupsPerTask: z.ZodNumber; trajectoriesPerGroup: z.ZodNumber; }, z.core.$strict>>; evaluation: z.ZodObject<{ seeds: z.ZodArray; repetitions: z.ZodNumber; powerRule: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; pairedBootstrapSamples: z.ZodNumber; confidenceLevel: z.ZodLiteral<0.95>; }, z.core.$strict>; resources: z.ZodObject<{ maximumTrainingGpuSeconds: z.ZodNumber; maximumEvaluationGpuSeconds: z.ZodNumber; maximumProviderSpendUsd: z.ZodNumber; maximumTotalSpendUsd: z.ZodNumber; maximumConcurrentGroups: z.ZodNumber; }, z.core.$strict>; currencyThresholds: z.ZodObject<{ revision: z.ZodNumber; requireAllAttemptsTerminal: z.ZodLiteral; criticalCorrectionPassRate: z.ZodNumber; siblingPassRate: z.ZodNumber; behavioralRetentionRate: z.ZodNumber; maximumRetainedRegressionPoints: z.ZodNumber; blockCriticalPriorRegression: z.ZodBoolean; authorizedClaims: z.ZodArray>; }, z.core.$strict>; }, z.core.$strict>>>; automaticEvaluation: z.ZodDefault>; residualProfile: z.ZodObject<{ profileId: z.ZodString; serializedEnvelopeRank: z.ZodNumber; maximumEnabledRank: z.ZodNumber; topology: z.ZodLiteral<"uniform_block_masked">; }, z.core.$strict>; schedule: z.ZodArray; parentRule: z.ZodEnum<{ base_model: "base_model"; previous_release: "previous_release"; seed_release: "seed_release"; accepted_daily_head: "accepted_daily_head"; accepted_seed: "accepted_seed"; }>; taskSource: z.ZodEnum<{ seed_taskset: "seed_taskset"; nightly_selection: "nightly_selection"; daily_cohort_union: "daily_cohort_union"; eligible_task_pool: "eligible_task_pool"; }>; trainableRank: z.ZodNumber; minimumTasks: z.ZodNumber; maximumTasks: z.ZodNumber; }, z.core.$strict>>; scheduleSealedAt: z.ZodNullable; advancementPolicy: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; requireCheckpoint: z.ZodBoolean; requireAppliedOptimizerUpdate: z.ZodBoolean; minimumCurrentCohortMeanImprovement: z.ZodNumber; maximumRetainedMeanRegression: z.ZodNumber; blockCriticalInvariantRegression: z.ZodBoolean; automaticDailyAdvancement: z.ZodBoolean; }, z.core.$strict>; executionPolicy: z.ZodObject<{ startWhenReady: z.ZodLiteral; }, z.core.$strict>; acceptedSeedEntryId: z.ZodNullable; acceptedDailyHeadEntryId: z.ZodNullable; promotedBindingId: z.ZodNullable; createdBy: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; declare const ModelComparisonSeriesEntrySchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelComparisonSeriesEntry.v1">; id: z.ZodString; seriesId: z.ZodString; profileId: z.ZodString; modelProjectId: z.ZodString; scheduleEntryId: z.ZodString; releaseHash: z.ZodString; ordinal: z.ZodNumber; label: z.ZodString; role: z.ZodEnum<{ seed: "seed"; daily_residual: "daily_residual"; rank_candidate: "rank_candidate"; weekly_rollup: "weekly_rollup"; full_refresh: "full_refresh"; }>; branch: z.ZodEnum<{ daily: "daily"; rank_candidate: "rank_candidate"; weekly_rollup: "weekly_rollup"; full_refresh: "full_refresh"; }>; status: z.ZodEnum<{ failed: "failed"; draft: "draft"; running: "running"; ready: "ready"; rejected: "rejected"; cancelled: "cancelled"; accepted: "accepted"; candidate: "candidate"; queued: "queued"; no_signal: "no_signal"; }>; parent: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"base_model">; id: z.ZodString; revision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; sourceTasksets: z.ZodArray>; taskSelection: z.ZodNullable; taskIds: z.ZodArray; observedFrom: z.ZodString; observedTo: z.ZodString; reviewedAt: z.ZodString; reviewedBy: z.ZodString; sourceTaskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; derivedFamilyKeys: z.ZodArray; familyDerivation: z.ZodObject<{ algorithm: z.ZodString; sourceTasksetHash: z.ZodString; }, z.core.$strict>; selectionHash: z.ZodString; }, z.core.$strict>>; trainableRank: z.ZodNumber; serializedEnvelopeRank: z.ZodNumber; enabledCumulativeRank: z.ZodNumber; trainableBlockId: z.ZodString; residualBlocks: z.ZodArray; artifactLineageId: z.ZodNullable; }, z.core.$strict>>; attemptOrdinal: z.ZodDefault; priorRunAttempts: z.ZodDefault; modelRunId: z.ZodNullable; terminalStatus: z.ZodEnum<{ failed: "failed"; cancelled: "cancelled"; }>; queuedAt: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodString; }, z.core.$strict>>>; trainingPlanId: z.ZodNullable; modelRunId: z.ZodNullable; modelVersionId: z.ZodNullable; evaluations: z.ZodArray; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; cohortRole: z.ZodEnum<{ development: "development"; correction: "correction"; current: "current"; retained: "retained"; sibling_verification: "sibling_verification"; cumulative_known: "cumulative_known"; prior_disclosed: "prior_disclosed"; frozen_final: "frozen_final"; }>; panelId: z.ZodDefault>; protocol: z.ZodDefault>>; }, z.core.$strict>>; decision: z.ZodNullable; policy: z.ZodObject<{ id: z.ZodString; version: z.ZodNumber; }, z.core.$strict>; reasonCodes: z.ZodArray; summary: z.ZodString; decidedBy: z.ZodString; decidedAt: z.ZodString; }, z.core.$strict>>; promotionBindingId: z.ZodNullable; queuedAt: z.ZodNullable; startedAt: z.ZodNullable; completedAt: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; type ModelComparisonSeries = z.infer; type ModelComparisonSeriesEntry = z.infer; declare const ModelCurrencySnapshotSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelCurrencySnapshot.v1">; id: z.ZodString; contentHash: z.ZodString; seriesId: z.ZodString; protocol: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; entryId: z.ZodString; passLabel: z.ZodString; parent: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"base_model">; id: z.ZodString; revision: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict> ], "kind">; candidate: z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sources: z.ZodObject<{ evaluationRunIds: z.ZodArray; attemptIds: z.ZodArray; tasksets: z.ZodArray>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; judge: z.ZodNullable>; calibration: z.ZodNullable>; }, z.core.$strict>; matches: z.ZodArray; taskId: z.ZodString; issueFamilyId: z.ZodString; seed: z.ZodNumber; repetition: z.ZodNumber; classification: z.ZodEnum<{ unavailable: "unavailable"; fixed: "fixed"; retained: "retained"; regressed: "regressed"; unresolved: "unresolved"; }>; parentPassed: z.ZodNullable; candidatePassed: z.ZodNullable; parentAttempt: z.ZodNullable; traceHash: z.ZodNullable; }, z.core.$strict>>; candidateAttempt: z.ZodNullable; traceHash: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>>; taskIds: z.ZodObject<{ fixed: z.ZodArray; retained: z.ZodArray; regressed: z.ZodArray; unresolved: z.ZodArray; unavailable: z.ZodArray; }, z.core.$strict>; panels: z.ZodArray; passLabel: z.ZodNullable; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; attempted: z.ZodNumber; available: z.ZodNumber; passed: z.ZodNumber; strictSuccess: z.ZodNullable; strictSuccessCi95: z.ZodNullable; lower: z.ZodNumber; upper: z.ZodNumber; }, z.core.$strict>>; judgeScore: z.ZodNullable; judgeScoreCi95: z.ZodNullable; lower: z.ZodNumber; upper: z.ZodNumber; }, z.core.$strict>>; }, z.core.$strict>>; metrics: z.ZodObject<{ knownIssueCoverage: z.ZodNullable; issueFamilyGeneralization: z.ZodNullable; behavioralRetention: z.ZodNullable; currentAcquisitionDelta: z.ZodNullable; retainedDeltaPoints: z.ZodNullable; frontierStrictDelta: z.ZodNullable; pairedPValue: z.ZodNullable; wins: z.ZodNumber; ties: z.ZodNumber; losses: z.ZodNumber; }, z.core.$strict>; statistics: z.ZodObject<{ matchedAttemptCount: z.ZodNumber; strictDelta: z.ZodNullable; strictDeltaCi95: z.ZodNullable; lower: z.ZodNumber; upper: z.ZodNumber; }, z.core.$strict>>; exactPairedBinaryPValue: z.ZodNullable; pairedBootstrapSamples: z.ZodNumber; }, z.core.$strict>; criteria: z.ZodObject<{ allRequiredAttemptsTerminal: z.ZodBoolean; criticalCorrectionPassRate: z.ZodNullable; siblingPassRate: z.ZodNullable; behavioralRetentionRate: z.ZodNullable; retainedRegressionPoints: z.ZodNullable; criticalPriorRegressionCount: z.ZodNumber; thresholdRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; efficiency: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; totalTokens: z.ZodNumber; costUsd: z.ZodNullable; latencyMs: z.ZodNumber; tokensPerSuccess: z.ZodNullable; throughputPerHour: z.ZodNullable; gpuSeconds: z.ZodNullable; }, z.core.$strict>; invariants: z.ZodObject<{ systemPromptHash: z.ZodString; toolSchema: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; application: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; harness: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; runtime: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; autoRefinerEnabled: z.ZodBoolean; }, z.core.$strict>; evidenceState: z.ZodEnum<{ measuring: "measuring"; up_to_date: "up_to_date"; needs_attention: "needs_attention"; }>; evidenceReasons: z.ZodArray; projectedAt: z.ZodString; }, z.core.$strict>; type ModelCurrencySnapshot = z.infer; declare const ContinualLearningDailyBatchSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.continualLearningDailyBatch.v1">; id: z.ZodString; seriesId: z.ZodString; scheduleEntryId: z.ZodString; dayOrdinal: z.ZodNumber; label: z.ZodString; runMode: z.ZodOptional>; source: z.ZodEnum<{ json_upload: "json_upload"; sealed_fixture: "sealed_fixture"; }>; sourceFileName: z.ZodNullable; sourceTaskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; tasks: z.ZodArray>; oracleReview: z.ZodEnum<{ pending: "pending"; confirmed: "confirmed"; needs_correction: "needs_correction"; }>; note: z.ZodString; observedAttempt: z.ZodNullable>; evaluationRunId: z.ZodString; attemptId: z.ZodString; modelLabel: z.ZodDefault>; modelVersionId: z.ZodDefault>; reward: z.ZodNullable; components: z.ZodDefault>; }, z.core.$strict>, z.ZodObject<{ source: z.ZodLiteral<"imported_response">; modelLabel: z.ZodString; modelVersionId: z.ZodDefault>; response: z.ZodUnknown & z.ZodType<{} | null, unknown, z.core.$ZodTypeInternals<{} | null, unknown>>; reward: z.ZodDefault>; components: z.ZodDefault>; }, z.core.$strict> ]>>; baselineAttempt: z.ZodDefault>; evaluationRunId: z.ZodString; attemptId: z.ZodString; modelLabel: z.ZodDefault>; modelVersionId: z.ZodDefault>; reward: z.ZodNullable; components: z.ZodDefault>; }, z.core.$strict>, z.ZodObject<{ source: z.ZodLiteral<"imported_response">; modelLabel: z.ZodString; modelVersionId: z.ZodDefault>; response: z.ZodUnknown & z.ZodType<{} | null, unknown, z.core.$ZodTypeInternals<{} | null, unknown>>; reward: z.ZodDefault>; components: z.ZodDefault>; }, z.core.$strict> ]>>>; responses: z.ZodDefault; id: z.ZodString; revision: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"captured_model">; id: z.ZodString; label: z.ZodString; }, z.core.$strict> ], "kind">; attempt: z.ZodUnion>; evaluationRunId: z.ZodString; attemptId: z.ZodString; modelLabel: z.ZodDefault>; modelVersionId: z.ZodDefault>; reward: z.ZodNullable; components: z.ZodDefault>; }, z.core.$strict>, z.ZodObject<{ source: z.ZodLiteral<"imported_response">; modelLabel: z.ZodString; modelVersionId: z.ZodDefault>; response: z.ZodUnknown & z.ZodType<{} | null, unknown, z.core.$ZodTypeInternals<{} | null, unknown>>; reward: z.ZodDefault>; components: z.ZodDefault>; }, z.core.$strict> ]>; }, z.core.$strict>>>; stagedAt: z.ZodDefault>; queuedEntry: z.ZodDefault>>; }, z.core.$strict>>; intakeEvaluation: z.ZodDefault; requestedTargets: z.ZodDefault>>; requestedPolicies: z.ZodDefault; id: z.ZodString; revision: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"captured_model">; id: z.ZodString; label: z.ZodString; }, z.core.$strict> ], "kind">>>; runs: z.ZodDefault; id: z.ZodString; revision: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; label: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"captured_model">; id: z.ZodString; label: z.ZodString; }, z.core.$strict> ], "kind">; runId: z.ZodString; }, z.core.$strict>>>; baselineRunId: z.ZodNullable; currentRunId: z.ZodNullable; currentPolicy: z.ZodNullable; id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_version">; id: z.ZodString; }, z.core.$strict> ], "kind">>; failure: z.ZodNullable; }, z.core.$strict>>; status: z.ZodEnum<{ pending: "pending"; queued: "queued"; reviewed: "reviewed"; }>; queuedEntry: z.ZodNullable>; reviewedBy: z.ZodNullable; reviewedAt: z.ZodNullable; availableAt: z.ZodString; revision: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; declare const ContinualBenchIssueReviewSchema: z.ZodReadonly; id: z.ZodString; seriesId: z.ZodString; scheduleEntryId: z.ZodString; passLabel: z.ZodString; packet: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.continualBenchIssuePacket.v1">; id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; familyId: z.ZodString; familyLabel: z.ZodString; severity: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; critical: "critical"; }>; cases: z.ZodArray; passLabel: z.ZodNullable; optimizerEligible: z.ZodBoolean; criticalInvariantIds: z.ZodDefault>; }, z.core.$strict>>; duplicateEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; leakageEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; priorExposureEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; observedAt: z.ZodString; reviewedAt: z.ZodString; queuedAt: z.ZodNullable; runAt: z.ZodNullable; createdBy: z.ZodString; createdAt: z.ZodString; }, z.core.$strict>; splitManifest: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; decisions: z.ZodArray>; note: z.ZodString; }, z.core.$strict>>; status: z.ZodEnum<{ pending: "pending"; queued: "queued"; reviewed: "reviewed"; }>; queuedEntry: z.ZodNullable>; reviewedBy: z.ZodNullable; reviewedAt: z.ZodNullable; revision: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>>; type ContinualBenchIssueReview = z.infer; type ContinualLearningDailyBatch = z.infer; type HarnessMemoryEntry = { schemaVersion: "openpond.harnessMemoryEntry.v1"; id: string; workspaceId: string; key: string; content: string; tags: string[]; revision: number; status: "active" | "deleted"; sourceRunId: string | null; sourceProposal: { id: string; contentHash: string; } | null; createdAt: string; updatedAt: string; contentHash: string; }; type HarnessMemoryWrite = { workspaceId: string; key: string; content: string | null; tags?: string[]; expectedRevision: number | null; sourceRunId: string | null; sourceProposal: { id: string; contentHash: string; } | null; createdAt: string; }; declare const TaskInputSchema: z.ZodObject<{ id: z.ZodString; sequence: z.ZodNumber; sessionId: z.ZodString; senderSessionId: z.ZodNullable; senderKind: z.ZodEnum<{ runtime: "runtime"; user: "user"; ponder: "ponder"; task: "task"; }>; kind: z.ZodEnum<{ message: "message"; steer: "steer"; queued: "queued"; result: "result"; followup: "followup"; }>; body: z.ZodString; payload: z.ZodDefault>; idempotencyKey: z.ZodString; replyTo: z.ZodNullable; expectedTurnId: z.ZodNullable; turnId: z.ZodNullable; requestIds: z.ZodArray; state: z.ZodEnum<{ pending: "pending"; resolved: "resolved"; rejected: "rejected"; cancelled: "cancelled"; included: "included"; }>; revision: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; error: z.ZodNullable; }, z.core.$strict>; type TaskInput = z.infer; type TaskInputAdmission = Pick; declare const TaskInputMutationSchema: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodLiteral<"resume">; expectedRevision: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"cancel">; expectedRevision: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"edit">; expectedRevision: z.ZodNumber; body: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"steer">; expectedRevision: z.ZodNumber; expectedTurnId: z.ZodString; }, z.core.$strict> ], "action">; type TaskInputMutation = z.infer; declare const TaskWaitSchema: z.ZodObject<{ id: z.ZodString; sessionId: z.ZodString; turnId: z.ZodString; targetSessionId: z.ZodNullable; targetTurnId: z.ZodNullable; targetInputId: z.ZodDefault>; afterSequence: z.ZodNumber; deadline: z.ZodString; state: z.ZodEnum<{ message: "message"; completed: "completed"; failed: "failed"; unavailable: "unavailable"; cancelled: "cancelled"; interrupted: "interrupted"; timeout: "timeout"; waiting: "waiting"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; type TaskWait = z.infer; declare const TaskInboxSnapshotSchema: z.ZodObject<{ sessionId: z.ZodString; activeTurnId: z.ZodNullable; acceptingInput: z.ZodBoolean; paused: z.ZodBoolean; inputs: z.ZodArray; senderKind: z.ZodEnum<{ runtime: "runtime"; user: "user"; ponder: "ponder"; task: "task"; }>; kind: z.ZodEnum<{ message: "message"; steer: "steer"; queued: "queued"; result: "result"; followup: "followup"; }>; body: z.ZodString; payload: z.ZodDefault>; idempotencyKey: z.ZodString; replyTo: z.ZodNullable; expectedTurnId: z.ZodNullable; turnId: z.ZodNullable; requestIds: z.ZodArray; state: z.ZodEnum<{ pending: "pending"; resolved: "resolved"; rejected: "rejected"; cancelled: "cancelled"; included: "included"; }>; revision: z.ZodNumber; createdAt: z.ZodString; updatedAt: z.ZodString; error: z.ZodNullable; }, z.core.$strict>>; waits: z.ZodArray; targetTurnId: z.ZodNullable; targetInputId: z.ZodDefault>; afterSequence: z.ZodNumber; deadline: z.ZodString; state: z.ZodEnum<{ message: "message"; completed: "completed"; failed: "failed"; unavailable: "unavailable"; cancelled: "cancelled"; interrupted: "interrupted"; timeout: "timeout"; waiting: "waiting"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>>; }, z.core.$strip>; type TaskInboxSnapshot = z.infer; declare const LocalExperimentDefinitionSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.localExperimentDefinition.v1">; location: z.ZodLiteral<"local">; id: z.ZodString; teamId: z.ZodString; ownerActorId: z.ZodString; revision: z.ZodNumber; configuration: z.ZodObject<{ operationId: z.ZodString; id: z.ZodOptional; expectedRevision: z.ZodNumber; request: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelTasksetRunRequest.v1">; operationId: z.ZodString; teamId: z.ZodString; modelProjectId: z.ZodNullable; name: z.ZodOptional; project: z.ZodOptional; }, z.core.$strict>>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; policy: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"hosted_chat">; modelId: z.ZodString; localRuntime: z.ZodOptional; configurationHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"claude-code">; configurationHash: z.ZodString; executableHash: z.ZodString; version: z.ZodString; capabilityHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; maximumTurns: z.ZodNumber; holdOpen: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"codex">; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict> ]>>; candidate: z.ZodOptional>; harness: z.ZodOptional; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourcePackageHash: z.ZodString; }, z.core.$strict>>; messages: z.ZodOptional; content: z.ZodString; }, z.core.$strict>>>; maxOutputTokens: z.ZodDefault; temperature: z.ZodDefault; topP: z.ZodDefault; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"hosted_harness">; modelId: z.ZodString; maxOutputTokens: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; localRuntime: z.ZodOptional; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>>; candidate: z.ZodOptional>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; reasoningEffort: z.ZodOptional>; profileRepositoryId: z.ZodString; source: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; modelConfigurationHash: z.ZodString; packageHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict> ], "kind">; population: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; maximumCostUsd: z.ZodNumber; graders: z.ZodOptional; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>>; }, z.core.$strict>; model: z.ZodObject<{ providerId: z.ZodEnum<{ openpond: "openpond"; "claude-code": "claude-code"; codex: "codex"; "custom-openai-compatible": "custom-openai-compatible"; }>; modelId: z.ZodString; configurationHash: z.ZodString; maxOutputTokens: z.ZodNumber; temperature: z.ZodOptional; topP: z.ZodOptional; messages: z.ZodArray; content: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; packageHash: z.ZodString; graders: z.ZodArray; feedbackKey: z.ZodString; release: z.ZodNullable>; mappings: z.ZodOptional; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>>; }, z.core.$strict>>; availableGraders: z.ZodArray; feedbackKey: z.ZodString; release: z.ZodNullable>; mappings: z.ZodOptional; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>>; }, z.core.$strict>>; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; contentHash: z.ZodString; }, z.core.$strict>; type LocalExperimentDefinition = z.infer; type LocalCaseStatus = "pending" | "running" | "completed" | "failed" | "cancelled" | "unknown"; declare const LocalExperimentExecutionSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.localExperimentExecution.v1">; location: z.ZodLiteral<"local">; id: z.ZodString; teamId: z.ZodString; ownerActorId: z.ZodString; operationId: z.ZodString; definition: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; kind: z.ZodEnum<{ target: "target"; scoring: "scoring"; }>; executionHash: z.ZodString; sourceExecution: z.ZodNullable>; packageHash: z.ZodString; maximumCostUsd: z.ZodNumber; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; running: "running"; cancelled: "cancelled"; interrupted: "interrupted"; queued: "queued"; cancelling: "cancelling"; }>; createdAt: z.ZodISODateTime; completedAt: z.ZodNullable; counts: z.ZodObject<{ pending: z.ZodNumber; running: z.ZodNumber; completed: z.ZodNumber; failed: z.ZodNumber; cancelled: z.ZodNumber; unknown: z.ZodNumber; }, z.core.$strict>; usage: z.ZodObject<{ knownCostUsd: z.ZodNumber; costUsd: z.ZodNullable; heldUsd: z.ZodNumber; uncertainRequests: z.ZodNumber; }, z.core.$strict>; cleanupComplete: z.ZodBoolean; error: z.ZodNullable; }, z.core.$strict>; type LocalExperimentExecution = z.infer; declare const LocalExperimentConfigurationSnapshotSchema: z.ZodObject<{ configuration: z.ZodObject<{ operationId: z.ZodString; request: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelTasksetRunRequest.v1">; operationId: z.ZodString; teamId: z.ZodString; modelProjectId: z.ZodNullable; name: z.ZodOptional; project: z.ZodOptional; }, z.core.$strict>>; taskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; policy: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"hosted_chat">; modelId: z.ZodString; localRuntime: z.ZodOptional; configurationHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"claude-code">; configurationHash: z.ZodString; executableHash: z.ZodString; version: z.ZodString; capabilityHash: z.ZodString; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; maximumTurns: z.ZodNumber; holdOpen: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ providerId: z.ZodLiteral<"codex">; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict> ]>>; candidate: z.ZodOptional>; harness: z.ZodOptional; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourcePackageHash: z.ZodString; }, z.core.$strict>>; messages: z.ZodOptional; content: z.ZodString; }, z.core.$strict>>>; maxOutputTokens: z.ZodDefault; temperature: z.ZodDefault; topP: z.ZodDefault; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"hosted_harness">; modelId: z.ZodString; maxOutputTokens: z.ZodOptional; temperature: z.ZodOptional; topP: z.ZodOptional; localRuntime: z.ZodOptional; configurationHash: z.ZodString; accountHash: z.ZodString; reasoningEffort: z.ZodEnum<{ low: "low"; medium: "medium"; high: "high"; xhigh: "xhigh"; }>; maximumRequestCostUsd: z.ZodNumber; requestTimeoutMs: z.ZodNumber; }, z.core.$strict>>; candidate: z.ZodOptional>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; reasoningEffort: z.ZodOptional>; profileRepositoryId: z.ZodString; source: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; modelConfigurationHash: z.ZodString; packageHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict> ], "kind">; population: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; maximumCostUsd: z.ZodNumber; graders: z.ZodOptional; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>>; sourceExperimentId: z.ZodOptional; }, z.core.$strict>; model: z.ZodObject<{ providerId: z.ZodEnum<{ openpond: "openpond"; "claude-code": "claude-code"; codex: "codex"; "custom-openai-compatible": "custom-openai-compatible"; }>; modelId: z.ZodString; configurationHash: z.ZodString; maxOutputTokens: z.ZodNumber; temperature: z.ZodOptional; topP: z.ZodOptional; messages: z.ZodArray; content: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; packageHash: z.ZodString; graders: z.ZodArray; feedbackKey: z.ZodString; release: z.ZodNullable>; mappings: z.ZodOptional; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>>; }, z.core.$strict>>; availableGraders: z.ZodArray; feedbackKey: z.ZodString; release: z.ZodNullable>; mappings: z.ZodOptional; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>>; }, z.core.$strict>>; retainedConfigurationHash: z.ZodOptional; configurationHash: z.ZodString; }, z.core.$strict>; type LocalExperimentConfigurationSnapshot = z.infer; declare const LocalDatasetRecordSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.localDataset.v1">; ownerId: z.ZodString; projectId: z.ZodNullable; workspace: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetDraftWorkspace.v1">; draft: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetDraft.v1">; id: z.ZodString; revision: z.ZodNumber; profileId: z.ZodString; modelScope: z.ZodDefault; draftId: z.ZodString; requestHash: z.ZodString; sourcePackageHash: z.ZodString; sourceTasksetRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; lineage: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelTasksetAuthoring.v1">; owner: z.ZodObject<{ scopeId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; root: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; parent: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; authoringGraph: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>>>; name: z.ZodString; objective: z.ZodString; purpose: z.ZodDefault>; benchmark: z.ZodDefault; definitionId: z.ZodString; releaseId: z.ZodString; releaseHash: z.ZodString; managedReleasePath: z.ZodString; adaptationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; evaluationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; primaryMetric: z.ZodEnum<{ foreground_tokens: "foreground_tokens"; success_rate: "success_rate"; latency_ms: "latency_ms"; cost_usd: "cost_usd"; }>; qualityGate: z.ZodEnum<{ none: "none"; non_regression: "non_regression"; all_pass: "all_pass"; }>; source: z.ZodEnum<{ builtin: "builtin"; imported: "imported"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; preferenceComparison: z.ZodDefault; releaseId: z.ZodString; releaseHash: z.ZodString; publishedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; status: z.ZodEnum<{ draft: "draft"; published: "published"; validating: "validating"; needs_review: "needs_review"; }>; sourceRefs: z.ZodDefault; id: z.ZodString; profileId: z.ZodString; sessionId: z.ZodString; turnIds: z.ZodDefault>; workspaceId: z.ZodNullable; sourceHash: z.ZodString; clusterKey: z.ZodString; title: z.ZodString; occurredAt: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: z.ZodNullable; grantedAt: z.ZodNullable; purpose: z.ZodLiteral<"task_authoring_and_evaluation">; }, z.core.$strip>; connectedAppIds: z.ZodDefault>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: z.ZodLiteral<"huggingface">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; revision: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; gated: z.ZodBoolean; private: z.ZodBoolean; declaredLicense: z.ZodNullable; sourceFileHashes: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: z.ZodLiteral<"uploaded_file">; originalFileNames: z.ZodArray; mediaTypes: z.ZodArray; sourceFileHashes: z.ZodArray; totalBytes: z.ZodNumber; parserVersion: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: z.ZodLiteral<"generated">; generatorId: z.ZodString; generatorVersion: z.ZodString; seed: z.ZodNumber; generatorHash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: z.ZodLiteral<"learning_batch">; batch: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; taskDefinition: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; admittedBy: z.ZodString; }, z.core.$strip> ], "kind">, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.connectedDatasetSource.v1">; kind: z.ZodLiteral<"connected_activity">; id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; origin: z.ZodEnum<{ hermes: "hermes"; openclaw: "openclaw"; native_chat: "native_chat"; native_work: "native_work"; codex: "codex"; claude_code: "claude_code"; opencode: "opencode"; grok_build: "grok_build"; pi: "pi"; oh_my_pi: "oh_my_pi"; }>; sourceId: z.ZodString; sessionId: z.ZodString; normalizerVersion: z.ZodString; projection: z.ZodEnum<{ conversation: "conversation"; turn: "turn"; }>; ownerUserId: z.ZodString; purpose: z.ZodLiteral<"recorded_evaluation">; sourceFileHashes: z.ZodOptional>; metadata: z.ZodDefault>; }, z.core.$strict> ]>>>; datasetArtifact: z.ZodOptional; id: z.ZodString; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; contentHash: z.ZodString; format: z.ZodLiteral<"parquet">; schema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetSemanticSchema.v1">; fields: z.ZodArray; logicalType: z.ZodEnum<{ string: "string"; boolean: "boolean"; messages: "messages"; integer: "integer"; float: "float"; json: "json"; }>; nullable: z.ZodBoolean; policy: z.ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; }, z.core.$strip>>; schemaHash: z.ZodString; }, z.core.$strip>; shards: z.ZodArray; path: z.ZodString; contentHash: z.ZodString; schemaHash: z.ZodString; sizeBytes: z.ZodNumber; rowCount: z.ZodNumber; rowGroupCount: z.ZodNumber; }, z.core.$strip>>; rowCount: z.ZodNumber; splitCounts: z.ZodRecord, z.ZodNumber>; sourceReceiptRefs: z.ZodArray; mappingHash: z.ZodString; qualityReportHash: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>>; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.taskEnvironment.v1">; kind: z.ZodEnum<{ chat: "chat"; work: "work"; agent: "agent"; program: "program"; stateful_harness: "stateful_harness"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; toolNames: z.ZodDefault>; actionBindings: z.ZodOptional; actionId: z.ZodString; modelToolName: z.ZodString; description: z.ZodString; inputSchema: z.ZodRecord; actionSchemaHash: z.ZodString; agentRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; implementationHash: z.ZodString; runtimeBindingId: z.ZodString; capabilityReceiptHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; studentVisible: z.ZodBoolean; timeoutMs: z.ZodNumber; episodeArgumentBindings: z.ZodDefault; }, z.core.$strict>>>; }, z.core.$strict>>>; lifecycle: z.ZodArray>; defaultTimeoutMs: z.ZodNumber; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; resources: z.ZodOptional; path: z.ZodString; mediaType: z.ZodOptional>; visibility: z.ZodEnum<{ privileged: "privileged"; policy_visible: "policy_visible"; policy_hidden: "policy_hidden"; }>; required: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; metadata: z.ZodDefault>; }, z.core.$strip>; output: z.ZodDefault; jsonSchema: z.ZodNullable>; requiredOutputSource: z.ZodOptional>; responsePath: z.ZodOptional; renderer: z.ZodNullable>; }, z.core.$strip>>; }, z.core.$strip>>; capabilities: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetCapabilities.v1">; taskKind: z.ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; supportedSignals: z.ZodArray>; compatibleMethods: z.ZodArray>; rewardKinds: z.ZodArray>; requiresTools: z.ZodBoolean; requiresState: z.ZodBoolean; requiresPrivilegedGrading: z.ZodBoolean; environmentPlacements: z.ZodArray>; exportable: z.ZodBoolean; portabilityBlockers: z.ZodDefault>; }, z.core.$strip>; metrics: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetMetricPolicy.v1">; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; review: z.ZodObject<{ enabled: z.ZodBoolean; candidateCount: z.ZodNumber; minimumSamples: z.ZodDefault; allowTies: z.ZodBoolean; allowRejectAll: z.ZodBoolean; rubric: z.ZodString; criteria: z.ZodArray>; }, z.core.$strip>; tasks: z.ZodDefault; id: z.ZodString; clusterKey: z.ZodString; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; assets: z.ZodOptional; mediaType: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; resourceRefs: z.ZodOptional>; requiredOutputs: z.ZodOptional>; submissionMode: z.ZodOptional>; maxBytes: z.ZodOptional; metadata: z.ZodDefault>; }, z.core.$strip>>>; tags: z.ZodDefault>; metadata: z.ZodDefault>; sourceRefs: z.ZodDefault>; }, z.core.$strip>>>; graders: z.ZodDefault>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"model_judge">; rubric: z.ZodString; judge: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; calibrationFixtureRefs: z.ZodArray; calibrationStatus: z.ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubric: z.ZodString; reviewerRole: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; module: z.ZodString; exportName: z.ZodString; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strip> ]>>>; graderFixtures: z.ZodDefault; output: z.ZodRecord; infrastructureError: z.ZodNullable; expectedPassed: z.ZodBoolean; expectedRewardEligible: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; learningSignals: z.ZodObject<{ demonstrations: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"demonstration">; prompt: z.ZodDefault>; response: z.ZodDefault>; }, z.core.$strip>>>; preferences: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"preference">; prompt: z.ZodString; chosen: z.ZodString; rejected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; corrections: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"correction">; original: z.ZodString; corrected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; feedback: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"feedback">; feedback: z.ZodString; polarity: z.ZodEnum<{ positive: "positive"; negative: "negative"; mixed: "mixed"; neutral: "neutral"; }>; }, z.core.$strip>>>; rewards: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"reward">; task: z.ZodString; rules: z.ZodArray>; otherwisePoints: z.ZodNumber; executable: z.ZodBoolean; }, z.core.$strip>>>; labels: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"label">; labelKind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodArray>; calibrationExamples: z.ZodObject<{ positive: z.ZodString; negative: z.ZodString; boundary: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strip>; publishedTasksetRef: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>; files: z.ZodArray>; contentHash: z.ZodString; }, z.core.$strict>; checks: z.ZodArray; revision: z.ZodNumber; workspaceHash: z.ZodString; status: z.ZodEnum<{ failed: "failed"; unavailable: "unavailable"; passed: "passed"; }>; checkedAt: z.ZodISODateTime; checked: z.ZodNumber; total: z.ZodNumber; issues: z.ZodArray; graderId: z.ZodOptional; }, z.core.$strip>>; scopes: z.ZodOptional; }, z.core.$strict>>>; }, z.core.$strict>>; packageHash: z.ZodNullable; sync: z.ZodNullable; remoteHash: z.ZodNullable; pendingLocalHash: z.ZodNullable; paused: z.ZodBoolean; status: z.ZodEnum<{ pending: "pending"; paused: "paused"; retry: "retry"; syncing: "syncing"; synced: "synced"; conflict: "conflict"; }>; error: z.ZodNullable; operationId: z.ZodNullable; pendingWorkspace: z.ZodNullable; draft: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetDraft.v1">; id: z.ZodString; revision: z.ZodNumber; profileId: z.ZodString; modelScope: z.ZodDefault; draftId: z.ZodString; requestHash: z.ZodString; sourcePackageHash: z.ZodString; sourceTasksetRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; lineage: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelTasksetAuthoring.v1">; owner: z.ZodObject<{ scopeId: z.ZodString; modelId: z.ZodString; }, z.core.$strict>; root: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; parent: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; authoringGraph: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>>>; name: z.ZodString; objective: z.ZodString; purpose: z.ZodDefault>; benchmark: z.ZodDefault; definitionId: z.ZodString; releaseId: z.ZodString; releaseHash: z.ZodString; managedReleasePath: z.ZodString; adaptationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; evaluationSplit: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; primaryMetric: z.ZodEnum<{ foreground_tokens: "foreground_tokens"; success_rate: "success_rate"; latency_ms: "latency_ms"; cost_usd: "cost_usd"; }>; qualityGate: z.ZodEnum<{ none: "none"; non_regression: "non_regression"; all_pass: "all_pass"; }>; source: z.ZodEnum<{ builtin: "builtin"; imported: "imported"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; preferenceComparison: z.ZodDefault; releaseId: z.ZodString; releaseHash: z.ZodString; publishedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>>>; status: z.ZodEnum<{ draft: "draft"; published: "published"; validating: "validating"; needs_review: "needs_review"; }>; sourceRefs: z.ZodDefault; id: z.ZodString; profileId: z.ZodString; sessionId: z.ZodString; turnIds: z.ZodDefault>; workspaceId: z.ZodNullable; sourceHash: z.ZodString; clusterKey: z.ZodString; title: z.ZodString; occurredAt: z.ZodString; consent: z.ZodObject<{ status: z.ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: z.ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: z.ZodNullable; grantedAt: z.ZodNullable; purpose: z.ZodLiteral<"task_authoring_and_evaluation">; }, z.core.$strip>; connectedAppIds: z.ZodDefault>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: z.ZodDefault>; }, z.core.$strip>, z.ZodDiscriminatedUnion<[ z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: z.ZodLiteral<"huggingface">; repositoryId: z.ZodString; repositoryUrl: z.ZodString; revision: z.ZodString; configuration: z.ZodString; upstreamSplits: z.ZodArray; gated: z.ZodBoolean; private: z.ZodBoolean; declaredLicense: z.ZodNullable; sourceFileHashes: z.ZodArray; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: z.ZodLiteral<"uploaded_file">; originalFileNames: z.ZodArray; mediaTypes: z.ZodArray; sourceFileHashes: z.ZodArray; totalBytes: z.ZodNumber; parserVersion: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: z.ZodLiteral<"generated">; generatorId: z.ZodString; generatorVersion: z.ZodString; seed: z.ZodNumber; generatorHash: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: z.ZodDefault>; schemaVersion: z.ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: z.ZodLiteral<"learning_batch">; batch: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; taskDefinition: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; admittedBy: z.ZodString; }, z.core.$strip> ], "kind">, z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.connectedDatasetSource.v1">; kind: z.ZodLiteral<"connected_activity">; id: z.ZodString; profileId: z.ZodString; title: z.ZodString; sourceHash: z.ZodString; occurredAt: z.ZodString; licensingStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: z.ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; origin: z.ZodEnum<{ hermes: "hermes"; openclaw: "openclaw"; native_chat: "native_chat"; native_work: "native_work"; codex: "codex"; claude_code: "claude_code"; opencode: "opencode"; grok_build: "grok_build"; pi: "pi"; oh_my_pi: "oh_my_pi"; }>; sourceId: z.ZodString; sessionId: z.ZodString; normalizerVersion: z.ZodString; projection: z.ZodEnum<{ conversation: "conversation"; turn: "turn"; }>; ownerUserId: z.ZodString; purpose: z.ZodLiteral<"recorded_evaluation">; sourceFileHashes: z.ZodOptional>; metadata: z.ZodDefault>; }, z.core.$strict> ]>>>; datasetArtifact: z.ZodOptional; id: z.ZodString; tasksetId: z.ZodString; tasksetRevision: z.ZodNumber; contentHash: z.ZodString; format: z.ZodLiteral<"parquet">; schema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.datasetSemanticSchema.v1">; fields: z.ZodArray; logicalType: z.ZodEnum<{ string: "string"; boolean: "boolean"; messages: "messages"; integer: "integer"; float: "float"; json: "json"; }>; nullable: z.ZodBoolean; policy: z.ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; }, z.core.$strip>>; schemaHash: z.ZodString; }, z.core.$strip>; shards: z.ZodArray; path: z.ZodString; contentHash: z.ZodString; schemaHash: z.ZodString; sizeBytes: z.ZodNumber; rowCount: z.ZodNumber; rowGroupCount: z.ZodNumber; }, z.core.$strip>>; rowCount: z.ZodNumber; splitCounts: z.ZodRecord, z.ZodNumber>; sourceReceiptRefs: z.ZodArray; mappingHash: z.ZodString; qualityReportHash: z.ZodString; createdAt: z.ZodString; }, z.core.$strip>>>; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strip>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.taskEnvironment.v1">; kind: z.ZodEnum<{ chat: "chat"; work: "work"; agent: "agent"; program: "program"; stateful_harness: "stateful_harness"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; toolNames: z.ZodDefault>; actionBindings: z.ZodOptional; actionId: z.ZodString; modelToolName: z.ZodString; description: z.ZodString; inputSchema: z.ZodRecord; actionSchemaHash: z.ZodString; agentRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; implementationHash: z.ZodString; runtimeBindingId: z.ZodString; capabilityReceiptHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; studentVisible: z.ZodBoolean; timeoutMs: z.ZodNumber; episodeArgumentBindings: z.ZodDefault; }, z.core.$strict>>>; }, z.core.$strict>>>; lifecycle: z.ZodArray>; defaultTimeoutMs: z.ZodNumber; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; resources: z.ZodOptional; path: z.ZodString; mediaType: z.ZodOptional>; visibility: z.ZodEnum<{ privileged: "privileged"; policy_visible: "policy_visible"; policy_hidden: "policy_hidden"; }>; required: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; metadata: z.ZodDefault>; }, z.core.$strip>; output: z.ZodDefault; jsonSchema: z.ZodNullable>; requiredOutputSource: z.ZodOptional>; responsePath: z.ZodOptional; renderer: z.ZodNullable>; }, z.core.$strip>>; }, z.core.$strip>>; capabilities: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetCapabilities.v1">; taskKind: z.ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; supportedSignals: z.ZodArray>; compatibleMethods: z.ZodArray>; rewardKinds: z.ZodArray>; requiresTools: z.ZodBoolean; requiresState: z.ZodBoolean; requiresPrivilegedGrading: z.ZodBoolean; environmentPlacements: z.ZodArray>; exportable: z.ZodBoolean; portabilityBlockers: z.ZodDefault>; }, z.core.$strip>; metrics: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetMetricPolicy.v1">; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; review: z.ZodObject<{ enabled: z.ZodBoolean; candidateCount: z.ZodNumber; minimumSamples: z.ZodDefault; allowTies: z.ZodBoolean; allowRejectAll: z.ZodBoolean; rubric: z.ZodString; criteria: z.ZodArray>; }, z.core.$strip>; tasks: z.ZodDefault; id: z.ZodString; clusterKey: z.ZodString; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; assets: z.ZodOptional; mediaType: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; split: z.ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; metadata: z.ZodDefault>; }, z.core.$strip>>>; resourceRefs: z.ZodOptional>; requiredOutputs: z.ZodOptional>; submissionMode: z.ZodOptional>; maxBytes: z.ZodOptional; metadata: z.ZodDefault>; }, z.core.$strip>>>; tags: z.ZodDefault>; metadata: z.ZodDefault>; sourceRefs: z.ZodDefault>; }, z.core.$strip>>>; graders: z.ZodDefault>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: z.ZodRecord; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"model_judge">; rubric: z.ZodString; judge: z.ZodObject<{ providerId: z.ZodUnion, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>; calibrationFixtureRefs: z.ZodArray; calibrationStatus: z.ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: z.ZodDefault; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubric: z.ZodString; reviewerRole: z.ZodString; }, z.core.$strip>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; label: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; metadata: z.ZodDefault>; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; module: z.ZodString; exportName: z.ZodString; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strip> ]>>>; graderFixtures: z.ZodDefault; output: z.ZodRecord; infrastructureError: z.ZodNullable; expectedPassed: z.ZodBoolean; expectedRewardEligible: z.ZodBoolean; metadata: z.ZodDefault>; }, z.core.$strip>>>; learningSignals: z.ZodObject<{ demonstrations: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"demonstration">; prompt: z.ZodDefault>; response: z.ZodDefault>; }, z.core.$strip>>>; preferences: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"preference">; prompt: z.ZodString; chosen: z.ZodString; rejected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; corrections: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"correction">; original: z.ZodString; corrected: z.ZodString; rationale: z.ZodDefault>; }, z.core.$strip>>>; feedback: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"feedback">; feedback: z.ZodString; polarity: z.ZodEnum<{ positive: "positive"; negative: "negative"; mixed: "mixed"; neutral: "neutral"; }>; }, z.core.$strip>>>; rewards: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"reward">; task: z.ZodString; rules: z.ZodArray>; otherwisePoints: z.ZodNumber; executable: z.ZodBoolean; }, z.core.$strip>>>; labels: z.ZodDefault; sourceRefs: z.ZodArray; artifactRef: z.ZodString; approved: z.ZodBoolean; confidence: z.ZodNumber; metadata: z.ZodDefault>; kind: z.ZodLiteral<"label">; labelKind: z.ZodLiteral<"rubric">; task: z.ZodString; criteria: z.ZodArray>; calibrationExamples: z.ZodObject<{ positive: z.ZodString; negative: z.ZodString; boundary: z.ZodString; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strip>; publishedTasksetRef: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; metadata: z.ZodDefault>; }, z.core.$strip>; files: z.ZodArray>; contentHash: z.ZodString; }, z.core.$strict>>; beginVersionOperationId: z.ZodOptional>; publicationIntent: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>; type LocalDatasetRecord = z.infer; declare const ChatResourceSummarySchema: z.ZodObject<{ kind: z.ZodEnum<{ dataset: "dataset"; grader: "grader"; experiment: "experiment"; }>; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; state: z.ZodString; datasetId: z.ZodOptional; datasetRevision: z.ZodOptional; taskCount: z.ZodOptional; graderCount: z.ZodOptional; checkState: z.ZodOptional; syncState: z.ZodOptional; model: z.ZodOptional; evaluationHash: z.ZodOptional; graderId: z.ZodOptional; graderType: z.ZodOptional; description: z.ZodOptional; location: z.ZodOptional>; scoreLabel: z.ZodOptional; owner: z.ZodOptional>; contentHash: z.ZodOptional; profileRef: z.ZodOptional; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strip>>; score: z.ZodOptional>; costUsd: z.ZodOptional>; evaluatedCount: z.ZodOptional; failedCount: z.ZodOptional; qualityFailureCount: z.ZodOptional; executionFailureCount: z.ZodOptional; ungradedCount: z.ZodOptional; rows: z.ZodArray>; }, z.core.$strip>>; }, z.core.$strict>; type ChatResourceSummary = z.infer; type PonderHostedSandboxState = { enabled: boolean; available: boolean; reason: string | null; revision: number; account: { id: string; apiBaseUrl: string; teamId: string | null; } | null; }; type PonderHostedAssignment = { id: string; coordinatorId: string; title: string; assignment: string; state: "preparing" | "submitting" | "running" | "needs_attention" | "completed" | "failed" | "cancelled" | "unknown"; remoteConversationId: string | null; remoteTurnId: string | null; lastSequence: number; resultText: string | null; wait: { id: string; kind: string; title: string; options: unknown[]; } | null; error: string | null; createdAt: string; updatedAt: string; canCancel: boolean; account: { id: string; apiBaseUrl: string; teamId: string | null; }; }; type PonderHostedAssignmentDetail = { assignment: PonderHostedAssignment; events: { id: string; sequence: number; type: string; text: string | null; }[]; outputs: { id: string; name: string; mediaType: string | null; byteCount: number | null; previewURL: string | null; downloadURL: string | null; }[]; }; declare const LocalPonderCoordinatorSchema: z.ZodObject<{ id: z.ZodString; location: z.ZodLiteral<"local">; sessionId: z.ZodNullable; modelRef: z.ZodNullable, z.ZodTemplateLiteral<`acp:${string}`> ]>; modelId: z.ZodString; }, z.core.$strip>>; revision: z.ZodNumber; remoteAccessEnabled: z.ZodLiteral; hostedSandboxesEnabled: z.ZodBoolean; hostedActivation: z.ZodLiteral<"inactive">; }, z.core.$strip>; type LocalPonderCoordinator = z.infer; declare const LocalPonderRelationshipSchema: z.ZodObject<{ sessionId: z.ZodString; coordinatorId: z.ZodString; coordinatorSessionId: z.ZodString; owner: z.ZodEnum<{ user: "user"; ponder: "ponder"; }>; revision: z.ZodNumber; assignment: z.ZodString; creationKey: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; type LocalPonderRelationship = z.infer; interface TaskInboxRepository { assertLocalPonderInput?(input: Pick): Promise; localPonderState?(): Promise; localPonderAgents?(): Promise; registerLocalPonderAgent?(value: LocalPonderRelationship): Promise; recoverTaskInboxOwners(ownerId: string): Promise>; hasTaskCompletion(turnId: string): Promise; taskInboxSnapshot(sessionId: string): Promise; declareTaskWork(sessionId: string, turnId: string, ownerId: string, areas: string[]): Promise; taskWorkAreas(sessionId: string): Promise; admitTaskInput(input: TaskInputAdmission): Promise; admitTaskInputs(inputs: TaskInputAdmission[]): Promise; rejectTaskInput(id: string, error: string, executionTurnId?: string): Promise; getTaskInput(id: string): Promise; taskInputsForSession(sessionId: string, query?: { afterSequence?: number; pendingOnly?: boolean; limit?: number; }): Promise; mutateTaskInput(sessionId: string, inputId: string, change: TaskInputMutation): Promise; openTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise; renewTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise; pendingTaskInputs(sessionId: string, turnId: string): Promise; taskAssignmentInputs(turnId: string): Promise; pauseTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise; includeTaskInputs(sessionId: string, turnId: string, ownerId: string, requestId: string): Promise; settleTaskInputRequest(requestId: string, outcome: "resolved" | "failed" | "replaced"): Promise; sealTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise; sealNativeTaskInboxTurn(sessionId: string, turnId: string, ownerId: string): Promise; closeTaskInboxTurn(sessionId: string, turnId: string, ownerId: string, outcome: "completed" | "failed" | "interrupted"): Promise; taskInboxPaused(sessionId: string): Promise; reserveTaskFollowup(sessionId: string, turnId: string, ownerId: string): Promise; taskInboxWakeTargets(): Promise; createTaskWait(value: TaskWait): Promise; settleTaskWait(id: string, state: TaskWait["state"]): Promise; taskWaitsForSession(sessionId: string): Promise; commitSubagentCompletion(value: SubagentRun, turnId: string): Promise; pendingTaskCompletions(afterTurnId?: string): Promise>; settleTaskCompletion(turnId: string, inputId: string): Promise; } export declare const AGENT_PROTOCOL_VERSION = "2026-09-20"; declare const AGENT_RPC_METHODS: readonly [ "initialize", "initialized", "runtime/capabilities", "thread/start", "thread/resume", "thread/read", "turn/start", "turn/steer", "task/inbox", "task/queue", "task/inputUpdate", "turn/interrupt", "approval/resolve", "userInput/resolve", "profile/workflows", "profile/evaluations", "profile/trainingSource", "profile/evaluations/prepare", "profile/evaluations/run", "profile/evaluations/runSuite", "profile/evaluations/executeCase", "profile/evaluations/executeRun", "profile/evaluations/compare", "profile/evaluations/report", "experiments/executeCase", "experiments/cancelCase", "harness/inspect", "harness/proposalReview", "harness/review", "harness/acceptEvaluationReview", "harness/materializeEvaluationTaskset", "harness/runEvaluationBaseline", "harness/validate", "harness/backgroundReview", "harness/diff", "harness/rollback", "refiner/inspect", "refiner/update", "refiner/activate", "refiner/rollback" ]; type AgentRpcMethod = (typeof AGENT_RPC_METHODS)[number]; declare const JsonRpcRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; id: z.ZodUnion; method: z.ZodString; params: z.ZodOptional; }, z.core.$strict>; declare const JsonRpcNotificationSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; method: z.ZodString; params: z.ZodOptional; }, z.core.$strict>; type AgentProtocolCapabilities = { protocolVersion: string; placement: "local" | "hosted_chat" | "hosted_work" | "development"; methods: AgentRpcMethod[]; features: Record; connectedAppProviders: string[]; tools: Array>; toolCatalogHash: string; }; type AgentRuntimeHost = { capabilities(params?: unknown): Promise; threadStart(params: unknown): Promise; threadResume(params: unknown): Promise; threadRead(params: unknown): Promise; turnStart(params: unknown): Promise; turnSteer(params: unknown): Promise; taskInbox(params: unknown): Promise; taskQueue(params: unknown): Promise; taskInputUpdate(params: unknown): Promise; turnInterrupt(params: unknown): Promise; approvalResolve(params: unknown): Promise; userInputResolve(params: unknown): Promise; profileWorkflows(params: unknown): Promise; profileEvaluations(params: unknown): Promise; profileTrainingSource(params: unknown): Promise; profileEvaluationPrepare(params: unknown): Promise; profileEvaluationRun(params: unknown): Promise; profileEvaluationRunSuite(params: unknown): Promise; profileEvaluationExecuteCase(params: unknown): Promise; profileEvaluationExecuteRun(params: unknown): Promise; profileEvaluationCompare(params: unknown): Promise; profileEvaluationReport(params: unknown): Promise; experimentExecuteCase?(params: unknown): Promise; experimentCancelCase?(params: unknown): Promise; harnessInspect(params: unknown): Promise; harnessProposalReview(params: unknown): Promise; harnessReview(params: unknown): Promise; harnessAcceptEvaluationReview(params: unknown): Promise; harnessMaterializeEvaluationTaskset(params: unknown): Promise; harnessRunEvaluationBaseline(params: unknown): Promise; harnessValidate(params: unknown): Promise; harnessBackgroundReview(params: unknown): Promise; harnessDiff(params: unknown): Promise; harnessRollback(params: unknown): Promise; refinerInspect(params: unknown): Promise; refinerUpdate(params: unknown): Promise; refinerActivate(params: unknown): Promise; refinerRollback(params: unknown): Promise; subscribe?(listener: (notification: JsonRpcNotification) => void): () => void; }; type JsonRpcRequest = z.infer; type JsonRpcNotification = z.infer; declare const HostStorageRequestSchema: z.ZodDiscriminatedUnion<[ z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"profile-evaluations/grade">; params: z.ZodObject<{ action: z.ZodEnum<{ upload: "upload"; execute: "execute"; }>; callId: z.ZodString; sessionId: z.ZodString; turnId: z.ZodString; sha256: z.ZodString; sizeBytes: z.ZodNumber; timeoutMs: z.ZodNumber; offset: z.ZodOptional; contentsBase64: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"profile-evaluations/sandbox">; params: z.ZodObject<{ sessionId: z.ZodString; turnId: z.ZodString; action: z.ZodEnum<{ stop: "stop"; exec: "exec"; upload: "upload"; read: "read"; }>; area: z.ZodOptional>; path: z.ZodOptional; sha256: z.ZodOptional; sizeBytes: z.ZodOptional; offset: z.ZodOptional; contentsBase64: z.ZodOptional; command: z.ZodOptional; stdin: z.ZodOptional; cwd: z.ZodOptional; timeoutMs: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"output/list">; params: z.ZodObject<{}, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"output/read">; params: z.ZodObject<{ fileId: z.ZodString; revision: z.ZodNumber; offset: z.ZodOptional; maxChars: z.ZodOptional; firstPage: z.ZodOptional; pageCount: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"output/readBytes">; params: z.ZodObject<{ sessionId: z.ZodString; turnId: z.ZodString; fileId: z.ZodString; revision: z.ZodNumber; sha256: z.ZodString; sizeBytes: z.ZodNumber; offset: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"profile.externalDataset.authorize">; params: z.ZodObject<{ bindingHash: z.ZodString; manifestHash: z.ZodOptional; taskId: z.ZodOptional; seed: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"experiment/environment">; params: z.ZodObject<{ caseId: z.ZodString; admissionHash: z.ZodString; definitionHash: z.ZodString; ordinal: z.ZodNumber; operation: z.ZodEnum<{ create: "create"; reset: "reset"; step: "step"; collect: "collect"; destroy: "destroy"; }>; value: z.ZodRecord; timeoutMs: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"experiment/policy">; params: z.ZodObject<{ caseId: z.ZodString; admissionHash: z.ZodString; ordinal: z.ZodNumber; messages: z.ZodArray>; tools: z.ZodArray>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"sandbox/request">; params: z.ZodObject<{ action: z.ZodObject<{ type: z.ZodEnum<{ create: "create"; get: "get"; start: "start"; stop: "stop"; exec: "exec"; open_port: "open_port"; list_files: "list_files"; download_file: "download_file"; upload_file: "upload_file"; search_files: "search_files"; delete_file: "delete_file"; stat_file: "stat_file"; mkdir: "mkdir"; move_file: "move_file"; process_start: "process_start"; process_get: "process_get"; git_status: "git_status"; git_diff: "git_diff"; git_export_patch: "git_export_patch"; git_branch: "git_branch"; git_commit: "git_commit"; git_pull: "git_pull"; git_push: "git_push"; }>; sandboxId: z.ZodOptional; payload: z.ZodOptional; processId: z.ZodOptional; failOnUnpreservedChanges: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"embedding/authorize">; params: z.ZodObject<{ sessionId: z.ZodString; turnId: z.ZodString; name: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"output/begin">; params: z.ZodObject<{ sessionId: z.ZodString; turnId: z.ZodString; output: z.ZodObject<{ id: z.ZodString; title: z.ZodString; sourceTaskId: z.ZodString; sourceTurnId: z.ZodString; revision: z.ZodNumber; createdAt: z.ZodString; contentType: z.ZodString; sizeBytes: z.ZodNumber; sha256: z.ZodString; validation: z.ZodArray; status: z.ZodEnum<{ passed: "passed"; failed: "failed"; not_run: "not_run"; }>; label: z.ZodString; detail: z.ZodOptional>; ref: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"output/chunk">; params: z.ZodObject<{ uploadId: z.ZodString; index: z.ZodNumber; offset: z.ZodNumber; sha256: z.ZodString; contentsBase64: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"output/complete">; params: z.ZodObject<{ uploadId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"output/saveSandboxFile">; params: z.ZodObject<{ sessionId: z.ZodString; turnId: z.ZodString; output: z.ZodObject<{ id: z.ZodString; createdAt: z.ZodString; sourceTaskId: z.ZodString; sourceTurnId: z.ZodString; title: z.ZodString; revision: z.ZodNumber; validation: z.ZodArray; status: z.ZodEnum<{ passed: "passed"; failed: "failed"; not_run: "not_run"; }>; label: z.ZodString; detail: z.ZodOptional>; ref: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strict>; sandboxPath: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"settings/get">; params: z.ZodObject<{}, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/get">; params: z.ZodObject<{ reference: z.ZodNullable>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/overlay/get">; params: z.ZodObject<{ runId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/overlay/put">; params: z.ZodObject<{ runId: z.ZodString; expectedRevision: z.ZodNullable; overlay: z.ZodRecord; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/overlay/freezeProposal">; params: z.ZodObject<{ runId: z.ZodString; expectedRevision: z.ZodNumber; overlay: z.ZodRecord; proposal: z.ZodRecord; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/memory/get">; params: z.ZodObject<{ workspaceId: z.ZodString; key: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/memory/list">; params: z.ZodObject<{ workspaceId: z.ZodString; includeDeleted: z.ZodBoolean; before: z.ZodNullable>; limit: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/memory/search">; params: z.ZodObject<{ workspaceId: z.ZodString; query: z.ZodString; limit: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/memory/write">; params: z.ZodObject<{ input: z.ZodRecord; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/state/read">; params: z.ZodObject<{ workspaceId: z.ZodString; kind: z.ZodEnum<{ selection: "selection"; workspace_settings: "workspace_settings"; evaluation_review_settings: "evaluation_review_settings"; candidates: "candidates"; cross_run_requests: "cross_run_requests"; }>; afterId: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"profile-evaluations/execute">; params: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodLiteral<"get">; kind: z.ZodEnum<{ grade: "grade"; receipt: "receipt"; run: "run"; comparison: "comparison"; suite: "suite"; }>; id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"page">; kind: z.ZodEnum<{ grade: "grade"; receipt: "receipt"; run: "run"; comparison: "comparison"; suite: "suite"; }>; profileKey: z.ZodString; before: z.ZodNullable>; limit: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"put">; kind: z.ZodEnum<{ grade: "grade"; receipt: "receipt"; run: "run"; comparison: "comparison"; suite: "suite"; }>; payload: z.ZodRecord; profileKey: z.ZodNullable; createdAt: z.ZodString; }, z.core.$strict> ], "action">; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/workspace/transition">; params: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodLiteral<"advance">; receiptId: z.ZodString; workspaceId: z.ZodString; proposal: z.ZodRecord; validations: z.ZodArray>; nextRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; nextSourceRevision: z.ZodString; now: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"reviewedAdvance">; receiptId: z.ZodString; workspaceId: z.ZodString; proposal: z.ZodRecord; validations: z.ZodArray>; nextRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; nextSourceRevision: z.ZodString; reviewer: z.ZodString; now: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"rollback">; receiptId: z.ZodString; workspaceId: z.ZodString; expectedWorkspaceRevision: z.ZodNumber; expectedChannelRevision: z.ZodNumber; targetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; targetSourceRevision: z.ZodString; rollbackOf: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; now: z.ZodString; }, z.core.$strict> ], "action">; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"task-inbox/execute">; params: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodLiteral<"recoverTaskInboxOwners">; ownerId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"hasTaskCompletion">; turnId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"taskInboxSnapshot">; sessionId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"taskInboxSnapshotInputs">; sessionId: z.ZodString; afterSequence: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"declareTaskWork">; sessionId: z.ZodString; turnId: z.ZodString; ownerId: z.ZodString; areas: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"taskWorkAreas">; sessionId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"admitTaskInput">; input: z.ZodObject<{ id: z.ZodString; sessionId: z.ZodString; senderSessionId: z.ZodNullable; senderKind: z.ZodEnum<{ runtime: "runtime"; user: "user"; task: "task"; }>; kind: z.ZodEnum<{ message: "message"; steer: "steer"; followup: "followup"; queued: "queued"; result: "result"; }>; body: z.ZodString; payload: z.ZodRecord; idempotencyKey: z.ZodString; replyTo: z.ZodNullable; expectedTurnId: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"admitTaskInputs">; inputs: z.ZodArray; senderKind: z.ZodEnum<{ runtime: "runtime"; user: "user"; task: "task"; }>; kind: z.ZodEnum<{ message: "message"; steer: "steer"; followup: "followup"; queued: "queued"; result: "result"; }>; body: z.ZodString; payload: z.ZodRecord; idempotencyKey: z.ZodString; replyTo: z.ZodNullable; expectedTurnId: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"rejectTaskInput">; id: z.ZodString; error: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"getTaskInput">; id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"taskInputsForSession">; sessionId: z.ZodString; query: z.ZodObject<{ afterSequence: z.ZodOptional; pendingOnly: z.ZodOptional; limit: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"mutateTaskInput">; sessionId: z.ZodString; inputId: z.ZodString; change: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodLiteral<"resume">; expectedRevision: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"cancel">; expectedRevision: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"edit">; expectedRevision: z.ZodNumber; body: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"steer">; expectedRevision: z.ZodNumber; expectedTurnId: z.ZodString; }, z.core.$strict> ], "action">; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"openTaskInboxTurn">; sessionId: z.ZodString; turnId: z.ZodString; ownerId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"renewTaskInboxTurn">; sessionId: z.ZodString; turnId: z.ZodString; ownerId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"pendingTaskInputs">; sessionId: z.ZodString; turnId: z.ZodString; afterSequence: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"taskAssignmentInputs">; turnId: z.ZodString; afterSequence: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"pauseTaskInboxTurn">; sessionId: z.ZodString; turnId: z.ZodString; ownerId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"includeTaskInputs">; sessionId: z.ZodString; turnId: z.ZodString; ownerId: z.ZodString; requestId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"settleTaskInputRequest">; requestId: z.ZodString; outcome: z.ZodEnum<{ failed: "failed"; resolved: "resolved"; replaced: "replaced"; }>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"sealTaskInboxTurn">; sessionId: z.ZodString; turnId: z.ZodString; ownerId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"sealNativeTaskInboxTurn">; sessionId: z.ZodString; turnId: z.ZodString; ownerId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"closeTaskInboxTurn">; sessionId: z.ZodString; turnId: z.ZodString; ownerId: z.ZodString; outcome: z.ZodEnum<{ failed: "failed"; completed: "completed"; interrupted: "interrupted"; }>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"taskInboxPaused">; sessionId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"reserveTaskFollowup">; sessionId: z.ZodString; turnId: z.ZodString; ownerId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"taskInboxWakeTargets">; afterSessionId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"createTaskWait">; value: z.ZodObject<{ id: z.ZodString; sessionId: z.ZodString; turnId: z.ZodString; targetSessionId: z.ZodNullable; targetTurnId: z.ZodNullable; targetInputId: z.ZodNullable; afterSequence: z.ZodNumber; deadline: z.ZodString; state: z.ZodEnum<{ message: "message"; failed: "failed"; waiting: "waiting"; completed: "completed"; interrupted: "interrupted"; unavailable: "unavailable"; timeout: "timeout"; cancelled: "cancelled"; }>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"settleTaskWait">; id: z.ZodString; state: z.ZodEnum<{ message: "message"; failed: "failed"; waiting: "waiting"; completed: "completed"; interrupted: "interrupted"; unavailable: "unavailable"; timeout: "timeout"; cancelled: "cancelled"; }>; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"taskWaitsForSession">; sessionId: z.ZodString; afterId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"commitSubagentCompletion">; value: z.ZodRecord; turnId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"pendingTaskCompletions">; afterTurnId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"settleTaskCompletion">; turnId: z.ZodString; inputId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"upsertSubagentRun">; value: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"getSubagentRun">; id: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"listSubagentRuns">; query: z.ZodObject<{ parentSessionId: z.ZodOptional>; childSessionId: z.ZodOptional>; status: z.ZodOptional>>>; afterId: z.ZodString; limit: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict> ], "action">; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"harness/review/execute">; params: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodLiteral<"artifact_put">; workspaceId: z.ZodString; kind: z.ZodEnum<{ run_overlay: "run_overlay"; observation: "observation"; trigger_decision: "trigger_decision"; route_decision: "route_decision"; proposal: "proposal"; targeted_validation: "targeted_validation"; apply_receipt: "apply_receipt"; refiner_outcome: "refiner_outcome"; }>; artifact: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"artifact_page">; workspaceId: z.ZodString; kind: z.ZodEnum<{ run_overlay: "run_overlay"; observation: "observation"; trigger_decision: "trigger_decision"; route_decision: "route_decision"; proposal: "proposal"; targeted_validation: "targeted_validation"; apply_receipt: "apply_receipt"; refiner_outcome: "refiner_outcome"; }>; before: z.ZodNullable>; limit: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"pending_page">; workspaceId: z.ZodString; before: z.ZodNullable>; limit: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"workspace_get">; workspaceId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"background_get">; workspaceId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"overlay_get">; runId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"overlay_freeze">; runId: z.ZodString; expectedRevision: z.ZodNumber; overlay: z.ZodRecord; proposal: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"memory_get">; workspaceId: z.ZodString; sessionId: z.ZodString; key: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"memory_page">; workspaceId: z.ZodString; sessionId: z.ZodString; before: z.ZodNullable>; limit: z.ZodNumber; includeDeleted: z.ZodBoolean; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"memory_write">; sessionId: z.ZodString; input: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"release_get">; contentHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"release_put">; record: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"session_get">; sessionId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"turn_get">; turnId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"turn_page">; sessionId: z.ZodString; before: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"event_page">; turnId: z.ZodString; afterSequence: z.ZodNumber; names: z.ZodArray; limit: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"event_append">; event: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"usage_put">; record: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"snapshot_restore">; turnId: z.ZodString; expectedHash: z.ZodString; snapshot: z.ZodRecord; }, z.core.$strict> ], "action">; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"refiner/execute">; params: z.ZodObject<{ action: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodLiteral<"active_release">; workspaceId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"put_artifact">; workspaceId: z.ZodString; kind: z.ZodEnum<{ trigger_decision: "trigger_decision"; route_decision: "route_decision"; proposal: "proposal"; targeted_validation: "targeted_validation"; apply_receipt: "apply_receipt"; refiner_outcome: "refiner_outcome"; }>; artifact: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"artifact_page">; workspaceId: z.ZodString; kind: z.ZodEnum<{ trigger_decision: "trigger_decision"; route_decision: "route_decision"; proposal: "proposal"; targeted_validation: "targeted_validation"; apply_receipt: "apply_receipt"; refiner_outcome: "refiner_outcome"; }>; before: z.ZodNullable>; limit: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"pending_trigger_page">; workspaceId: z.ZodString; before: z.ZodNullable>; limit: z.ZodNumber; }, z.core.$strict> ], "action">; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"create-improve/execute">; params: z.ZodDiscriminatedUnion<[ z.ZodObject<{ action: z.ZodLiteral<"get">; runId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"page">; query: z.ZodObject<{ profileId: z.ZodNullable; targetKind: z.ZodNullable; targetId: z.ZodNullable; state: z.ZodArray; }, z.core.$strict>; before: z.ZodNullable>; limit: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"put">; run: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ action: z.ZodLiteral<"mutate">; mutation: z.ZodRecord; next: z.ZodRecord; }, z.core.$strict> ], "action">; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"approval/get">; params: z.ZodObject<{ approvalId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"approval/upsert">; params: z.ZodObject<{ approval: z.ZodRecord; expectedRevision: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"usage/getByRequestId">; params: z.ZodObject<{ requestId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"usage/upsert">; params: z.ZodObject<{ record: z.ZodRecord; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"usage/page">; params: z.ZodObject<{ query: z.ZodObject<{ sessionId: z.ZodOptional; turnId: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; startedAtFrom: z.ZodOptional; startedAtTo: z.ZodOptional; visibility: z.ZodOptional>; status: z.ZodOptional>; }, z.core.$strict>; before: z.ZodNullable>; limit: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"capabilities">; params: z.ZodObject<{}, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"session/count">; params: z.ZodObject<{}, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"session/get">; params: z.ZodObject<{ sessionId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"session/page">; params: z.ZodObject<{ afterId: z.ZodNullable; limit: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"session/put">; params: z.ZodObject<{ sessionId: z.ZodString; expectedRevision: z.ZodNullable; session: z.ZodRecord; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"turn/count">; params: z.ZodObject<{ sessionId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"turn/wakeCount">; params: z.ZodObject<{ sessionId: z.ZodString; key: z.ZodEnum<{ messageId: "messageId"; fromRunId: "fromRunId"; }>; value: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"turn/get">; params: z.ZodObject<{ turnId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"turn/put">; params: z.ZodObject<{ sessionId: z.ZodString; turnId: z.ZodString; expectedRevision: z.ZodNullable; turn: z.ZodRecord; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"turn/latest">; params: z.ZodObject<{ sessionId: z.ZodString; status: z.ZodNullable>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"turn/page">; params: z.ZodObject<{ sessionId: z.ZodString; beforeSortIndex: z.ZodOptional>; limit: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"thread/turnPage">; params: z.ZodObject<{ sessionId: z.ZodString; beforeSortIndex: z.ZodOptional>; limit: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"event/append">; params: z.ZodObject<{ event: z.ZodRecord; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"events/page">; params: z.ZodObject<{ sessionId: z.ZodNullable; afterSequence: z.ZodNumber; beforeSequence: z.ZodOptional>; limit: z.ZodNumber; excludeReasoningDeltas: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contractVersion: z.ZodLiteral<1>; requestId: z.ZodString; operation: z.ZodLiteral<"events/latestAssistantText">; params: z.ZodObject<{ sessionId: z.ZodString; }, z.core.$strict>; }, z.core.$strict> ], "operation">; type HostStorageRequest = z.infer; declare class AgentHostStorageClient { #private; bind(send: (message: JsonRpcRequest) => Promise): void; request(input: HostStorageRequest, timeoutMs?: number): Promise; accept(value: unknown): boolean; close(): void; } type AppServerInstance = { runtime: AgentRuntimeHost; close(): Promise; }; export declare function runAppServerJsonl(input: { appServer: AppServerInstance | (() => Promise); readable: Readable; writable: Writable; hostStorageClient?: AgentHostStorageClient; }): Promise; type HostedChatRole = "system" | "user" | "assistant" | "tool"; type HostedChatToolCall = { id?: string; type: "function" | string; function?: { name?: string; arguments?: string; [key: string]: unknown; }; [key: string]: unknown; }; type HostedChatTool = { type: "function" | string; function?: { name: string; description?: string; parameters?: Record; [key: string]: unknown; }; [key: string]: unknown; }; type HostedChatToolChoice = "none" | "auto" | "required" | { type: "function"; function: { name: string; }; }; type HostedChatContinuation = { kind: "chat_completions_reasoning"; reasoningContent: string; } | { kind: "responses_reasoning_items"; items: Array>; }; type HostedChatImageInput = { url: string; detail?: "low" | "high" | "auto"; }; type HostedChatMessage = { role: HostedChatRole; content?: string | null; images?: HostedChatImageInput[]; continuation?: HostedChatContinuation; name?: string; tool_call_id?: string; tool_calls?: HostedChatToolCall[]; }; type HostedChatUsage = { prompt_tokens?: number; completion_tokens?: number; total_tokens?: number; input_tokens?: number; output_tokens?: number; cached_input_tokens?: number; cache_read_input_tokens?: number; cache_creation_input_tokens?: number; prompt_cache_hit_tokens?: number; prompt_cache_miss_tokens?: number; cache_telemetry_source?: "provider_usage_body" | "provider_response_headers"; prompt_tokens_details?: { cached_tokens?: number; [key: string]: unknown; }; input_tokens_details?: { cached_tokens?: number; [key: string]: unknown; }; [key: string]: unknown; }; type HostedChatStreamDelta = { type: "text_delta"; text: string; raw: unknown; } | { type: "reasoning_delta"; text: string; raw: unknown; } | { type: "continuation"; continuation: HostedChatContinuation; raw: unknown; } | { type: "tool_call_delta"; toolCalls: HostedChatToolCall[]; raw: unknown; } | { type: "usage"; usage: HostedChatUsage; raw: unknown; } | { type: "finish"; finishReason: string | null; raw: unknown; }; type ActiveProfileSelector = { handle: string; baseUrl?: string | null; }; type LocalOpenPondProfileCheckStatus = { command: "inspect" | "build" | "validate" | "eval" | "run"; status: "passed" | "failed"; checkedAt: string; exitCode?: number | null; sourceHead?: string | null; }; type LocalOpenPondProfileHostedSourceCheckStatus = { status: string; agentId?: string | null; deployPlanStatus?: string | null; canRun?: boolean | null; canDeploy?: boolean | null; sourceRef?: string | null; sourceCommitSha?: string | null; manifestHash?: string | null; manifestPath?: string | null; setupCommands?: string[]; validationCommands?: string[]; requiredChecks?: string[]; evalNames?: string[]; blockedReasons?: string[]; staleReasons?: string[]; runtimeId?: string | null; sandboxId?: string | null; traceArtifactRefs?: string[]; evalResultArtifactRefs?: string[]; validatorArtifactRefs?: string[]; checkedAt?: string | null; error?: string | null; }; type LocalOpenPondProfileHostedMaterializationStatus = { status: string; agentId?: string | null; runtimeAgentId?: string | null; projectId?: string | null; sourceRoot?: string | null; sourceRef?: string | null; sourceCommitSha?: string | null; manifestHash?: string | null; manifestPath?: string | null; manifestSyncedAt?: string | null; fileCount?: number | null; totalBytes?: number | null; generatedManifestPath?: string | null; synthesizedOpenPondYaml?: boolean | null; uploadMetadataPath?: string | null; setupCommands?: string[]; validationCommands?: string[]; materializedAt?: string | null; error?: string | null; }; type LocalOpenPondProfileHostedPublishStatus = { status: string; agentId?: string | null; snapshotId?: string | null; sourceRef?: string | null; sourceCommitSha?: string | null; manifestHash?: string | null; manifestPath?: string | null; buildStatus?: string | null; validationStatus?: string | null; evalStatus?: string | null; publishedAt?: string | null; error?: string | null; }; type LocalOpenPondProfileHostedRunSummary = { status: string; agentId?: string | null; runId?: string | null; runtimeId?: string | null; sandboxId?: string | null; sourceRef?: string | null; sourceCommitSha?: string | null; manifestHash?: string | null; setupGateStatus?: string | null; setupRequirementRefs?: string[]; artifactRefs?: string[]; traceArtifactRefs?: string[]; evalArtifactRefs?: string[]; startedAt?: string | null; completedAt?: string | null; error?: string | null; }; type ConfiguredProfile = { handle: string; baseUrl: string | null; apiBaseUrl: string | null; chatApiBaseUrl: string | null; environment: string | null; isActive: boolean; hasApiKey: boolean; hasSessionToken: boolean; sessionAppId: string | null; sessionConversationId: string | null; }; declare const LearningSourceCredentialSchema: z.ZodObject<{ id: z.ZodString; scope: z.ZodString; sourceId: z.ZodString; name: z.ZodString; keyPrefix: z.ZodString; createdAt: z.ZodISODateTime; expiresAt: z.ZodISODateTime; revokedAt: z.ZodNullable; }, z.core.$strict>; type LearningSourceCredential = z.infer; declare const HumanReviewSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.humanReview.v1">; id: z.ZodString; revision: z.ZodNumber; scope: z.ZodString; projectId: z.ZodString; createdBy: z.ZodString; kind: z.ZodEnum<{ author: "author"; execute: "execute"; grade: "grade"; }>; dueAt: z.ZodOptional; title: z.ZodString; authorPublication: z.ZodNullable; operationId: z.ZodString; publishedBy: z.ZodString; publishedAt: z.ZodString; }, z.core.$strict>>; evidence: z.ZodObject<{ publication: z.ZodOptional>; dataset: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; grader: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; graderBinding: z.ZodObject<{ id: z.ZodString; version: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; rubric: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; attempts: z.ZodArray; ownerActorId: z.ZodString; teamId: z.ZodString; executionHash: z.ZodString; configurationHash: z.ZodString; retainedAttemptHash: z.ZodString; traceHash: z.ZodString; publicationCutoffHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ ownerActorId: z.ZodString; teamId: z.ZodString; executionHash: z.ZodString; configurationHash: z.ZodString; retainedAttemptHash: z.ZodString; traceHash: z.ZodString; kind: z.ZodLiteral<"native_local">; }, z.core.$strict> ]>>; recordedSource: z.ZodOptional>; experimentId: z.ZodString; attemptId: z.ZodString; taskId: z.ZodString; targetId: z.ZodString; output: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; trace: z.ZodNullable>; familyKey: z.ZodString; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; }, z.core.$strict>>; taskIds: z.ZodOptional>; }, z.core.$strict>; form: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.humanForm.v1">; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>; policy: z.ZodObject<{ approval: z.ZodEnum<{ none: "none"; manager: "manager"; }>; minimumRaters: z.ZodNumber; managerIds: z.ZodArray; reviewerIds: z.ZodArray; queueClaim: z.ZodBoolean; teamVisible: z.ZodBoolean; distinctManager: z.ZodOptional; independentRaters: z.ZodOptional; blindPair: z.ZodOptional; }, z.core.$strict>; status: z.ZodEnum<{ queued: "queued"; assigned: "assigned"; in_progress: "in_progress"; submitted: "submitted"; returned: "returned"; accepted: "accepted"; rejected: "rejected"; cancelled: "cancelled"; }>; assigneeId: z.ZodNullable; generation: z.ZodNumber; drafts: z.ZodArray; tasks: z.ZodArray; policyVisibleContext: z.ZodRecord; expectedOutput: z.ZodOptional>>; tags: z.ZodOptional>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; actorId: z.ZodString; generation: z.ZodNumber; answers: z.ZodArray; abstain: z.ZodBoolean; note: z.ZodString; strength: z.ZodOptional>; }, z.core.$strict>>; note: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>>; submissions: z.ZodArray; tasks: z.ZodArray; policyVisibleContext: z.ZodRecord; expectedOutput: z.ZodOptional>>; tags: z.ZodOptional>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>>; id: z.ZodString; revision: z.ZodNumber; actorId: z.ZodString; generation: z.ZodNumber; evidenceHash: z.ZodString; formHash: z.ZodString; answers: z.ZodArray; abstain: z.ZodBoolean; note: z.ZodString; strength: z.ZodOptional>; }, z.core.$strict>>; note: z.ZodString; submittedAt: z.ZodString; supersedes: z.ZodNullable; contentHash: z.ZodString; }, z.core.$strict>>; decisions: z.ZodArray; id: z.ZodString; revision: z.ZodNumber; actorId: z.ZodString; outcome: z.ZodEnum<{ accept: "accept"; reject: "reject"; request_changes: "request_changes"; }>; submissions: z.ZodArray>; answers: z.ZodArray; abstain: z.ZodBoolean; note: z.ZodString; strength: z.ZodOptional>; }, z.core.$strict>>; note: z.ZodString; decidedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>; audit: z.ZodArray; priorAssigneeId: z.ZodNullable; assigneeId: z.ZodNullable; generation: z.ZodNumber; note: z.ZodString; occurredAt: z.ZodString; }, z.core.$strict>>; execution: z.ZodNullable; operationId: z.ZodString; boundBy: z.ZodString; configurationHash: z.ZodString; generation: z.ZodNumber; result: z.ZodNullable>; }, z.core.$strict>>; createdAt: z.ZodString; updatedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; type HumanReview = z.infer; type HumanOperationReceipt = { requestHash: string; reviewId: string; revision: number; }; interface HumanReviewTransaction { get(id: string, revision?: number): Promise; put(record: HumanReview, expectedRevision: number): Promise; list(query: { afterId?: string; limit: number; projectId?: string; }): Promise<{ items: HumanReview[]; nextCursor: string | null; }>; operation(id: string): Promise; saveOperation(id: string, receipt: HumanOperationReceipt): Promise; } interface HumanReviewRepository { transaction(scope: string, callback: (tx: HumanReviewTransaction) => Promise): Promise; } declare const TasksetPackageReceiptSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetPackageReceipt.v1">; teamId: z.ZodString; modelProjectId: z.ZodString; operationId: z.ZodString; taskset: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; contentHash: z.ZodString; }, z.core.$strict>; packageHash: z.ZodString; hostedTasksetId: z.ZodString; projectEtag: z.ZodString; project: z.ZodOptional; defaultBaseModel: z.ZodNullable; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>; defaultDestinationId: z.ZodNullable; trainingSetup: z.ZodObject<{ tasksetRef: z.ZodDefault>>; evaluationTasksetRef: z.ZodOptional>>; profileSource: z.ZodOptional; }, z.core.$strict>>>; profileEvaluation: z.ZodOptional; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; rewardBindingRef: z.ZodOptional>>; tasksetRelease: z.ZodDefault>>; harnessRelease: z.ZodDefault>>; baseModel: z.ZodDefault; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>>; method: z.ZodDefault>>; destinationId: z.ZodDefault>; managedRolloutPlacement: z.ZodDefault>; managedGpuPlacementObjective: z.ZodDefault>; managedGpuSelection: z.ZodOptional; objective: z.ZodEnum<{ balanced: "balanced"; fast: "fast"; economical: "economical"; }>; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"manual">; availabilityId: z.ZodString; gpuType: z.ZodString; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict> ], "mode">>; continuationAdapterMode: z.ZodOptional>; managedGpuRequirement: z.ZodDefault>; runPreset: z.ZodDefault>>; recipe: z.ZodDefault; parameterization: z.ZodEnum<{ lora: "lora"; full: "full"; }>; }, z.core.$catchall>>>; preferredMaximumSpendUsd: z.ZodDefault>; preferredRetentionDays: z.ZodDefault>; }, z.core.$strict>; sourceRevision: z.ZodNumber; sourceUpdatedAt: z.ZodString; revision: z.ZodNumber; etag: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>>; selection: z.ZodOptional>; evaluation: z.ZodOptional; packageHash: z.ZodString; hostedTasksetId: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; type TasksetPackageReceipt = z.infer; declare const ModelBatchReviewRequestSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelBatchReviewRequest.v1">; operationId: z.ZodString; modelId: z.ZodString; expectedModelRevision: z.ZodNumber; tasksetRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; rewardBindingRef: z.ZodNullable>; definition: z.ZodObject<{ name: z.ZodOptional; instructions: z.ZodOptional; inputSchema: z.ZodOptional>; outputSchema: z.ZodOptional>; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; }, z.core.$strict>; examples: z.ZodArray; input: z.ZodOptional>; expected: z.ZodOptional>>; evaluatorContext: z.ZodOptional>>; proposedTarget: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>; type ModelBatchReviewRequest = z.infer; declare function prepareImportedTasksetPackage(input: { package: TasksetPackage; profileId: string; name: string; createdAt: string; }): { package: { schemaVersion: "openpond.tasksetPackage.v1"; taskset: { schemaVersion: "openpond.tasksetRelease.v2"; id: string; revision: number; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; capabilities: { id: string; required: boolean; scopes: string[]; portability: "host_adapter" | "hosted_only" | "local_only" | "portable"; }[]; tasks: { id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; artifactRefs: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; tags: string[]; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; metadata: Record; contentHash: string; environmentRelease?: { id: string; contentHash: string; } | undefined; verifierSetRelease?: { id: string; contentHash: string; } | undefined; metrics?: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; } | undefined; }; environment: { schemaVersion: "openpond.environmentRelease.v1"; id: string; revision: number; contract: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; actionSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; observationSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; stateSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; artifactCollection: { maxArtifacts: number; maxTotalBytes: number; }; adapterConformanceHashes: Record; metadata: Record; contentHash: string; }; verifierSet: { schemaVersion: "openpond.verifierSetRelease.v1"; id: string; revision: number; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; isolation: { processBoundary: "same_process" | "isolated_process" | "container"; networkPolicy: "none"; defaultTimeoutMs: number; }; calibrationReceiptRefs: { id: string; contentHash: string; }[]; metadata: Record; contentHash: string; }; files: { asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; base64: string; }[]; contentHash: string; modelResources?: { taskDefinition: { schemaVersion: "openpond.taskDefinition.v1"; id: string; revision: number; name: string; description: string; instructions: string; category: "custom" | "structured" | "question_answering" | "coding" | "tool_workflow"; familyNamespace: string; inputSchema: Record; outputSchema: Record; rewardBinding: { id: string; contentHash: string; revision: number; }; harness: { id: string; contentHash: string; } | null; execution: { policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; capabilities: { id: string; required: boolean; scopes: string[]; portability: "host_adapter" | "hosted_only" | "local_only" | "portable"; }[]; environmentRelease?: { id: string; contentHash: string; } | undefined; verifierSetRelease?: { id: string; contentHash: string; } | undefined; }; contentHash: string; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; contextRequirements?: string[] | undefined; }; assets: { schemaVersion: "openpond.learningTextAsset.v1"; id: string; revision: 1; asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; text: string; contentHash: string; }[]; rewards: { schemaVersion: "openpond.rewardRelease.v1"; id: string; revision: number; name: string; description: string; implementation: { kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; } | { kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { timeoutMs: number; networkPolicy: "none"; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; exportName?: string | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; } | { kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { kind: "learned_model"; modelVersion: { id: string; contentHash: string; }; inputContract: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; }; rawScore: { minimum: number; maximum: number; }; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; contentHash: string; feedbackKey?: string | undefined; fixtureSetRef?: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | undefined; calibrationCheckRef?: { id: string; contentHash: string; revision: number; } | undefined; }[]; rewardBinding: { schemaVersion: "openpond.rewardBinding.v1"; id: string; revision: number; sources: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; normalization: { kind: "identity"; } | { kind: "linear"; minimum: number; maximum: number; direction: "higher" | "lower"; }; weight: number; required: boolean; hardGate: boolean; privileged: boolean; fixtureRefs: { id: string; contentHash: string; }[]; taskIds?: string[] | undefined; }[]; aggregation: "weighted_mean"; unscorable: "exclude_optional_require_all_required"; contentHash: string; name?: string | undefined; description?: string | undefined; recipeRef?: { id: string; contentHash: string; revision: number; } | undefined; }; execution?: { environment: { schemaVersion: "openpond.environmentRelease.v1"; id: string; revision: number; contract: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; actionSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; observationSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; stateSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; artifactCollection: { maxArtifacts: number; maxTotalBytes: number; }; adapterConformanceHashes: Record; metadata: Record; contentHash: string; }; verifierSet: { schemaVersion: "openpond.verifierSetRelease.v1"; id: string; revision: number; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; isolation: { processBoundary: "same_process" | "isolated_process" | "container"; networkPolicy: "none"; defaultTimeoutMs: number; }; calibrationReceiptRefs: { id: string; contentHash: string; }[]; metadata: Record; contentHash: string; }; javascript: { schemaVersion: "openpond.javascriptEnvironment.v1"; id: string; revision: number; module: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; maxSteps: number; maxStateBytes: number; maxObservationBytes: number; operationTimeoutMs: number; contentHash: string; executionServices?: ({ kind: "sqlite.v1"; sql: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; snapshot: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; maxRows: number; maxResultBytes: number; id: string; operation: "step" | "collect"; timeoutMs: number; toolName?: string | undefined; } | { kind: "javascript.v1"; source: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; cases: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; exportName: string; maxCases: number; maxResultBytes: number; id: string; operation: "step" | "collect"; timeoutMs: number; toolName?: string | undefined; })[] | undefined; }; } | undefined; instructionMode?: "per_task" | undefined; } | undefined; learningResources?: { batch: { schemaVersion: "openpond.taskBatch.v1"; id: string; revision: 1; taskDefinition: { id: string; contentHash: string; revision: number; }; rewardBinding: { id: string; contentHash: string; revision: number; }; purpose: "evaluation" | "supervised_training" | "reward_training"; examples: { evidence: { id: string; contentHash: string; revision: number; }; decision: { id: string; contentHash: string; revision: number; }; familyKey: string; inputHash: string; split: "validation" | "test" | "train" | "frozen_eval"; }[]; sealedAt: string; sealedBy: string; contentHash: string; }; evidence: { schemaVersion: "openpond.taskEvidence.v1"; id: string; revision: number; source: { id: string; contentHash: string; revision: number; }; submission: { schemaVersion: "openpond.taskExample.v1"; sourceId: string; idempotencyKey: string; taskDefinition: { id: string; contentHash: string; revision: number; }; exampleId: string; attemptId: string; occurredAt: string; familyKey: string | null; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; observedOutput: Record | null; expected: Record | null; evaluatorContext: Record | null; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; provenance: { sourceRecordRef: string | null; mappingHash: string | null; }; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; }; supersedes: { id: string; contentHash: string; revision: number; } | null; correctionFeedbackId: string | null; receivedAt: string; contentHash: string; }[]; decisions: { schemaVersion: "openpond.taskAdmissionDecision.v1"; id: string; revision: number; evidence: { id: string; contentHash: string; revision: number; }; supersedes: { id: string; contentHash: string; revision: number; } | null; actor: { kind: "human" | "qualified_policy"; id: string; policy: { id: string; contentHash: string; revision: number; } | null; }; evidenceValidity: "pending" | "valid" | "invalid"; taskAdmissibility: "pending" | "rejected" | "approved"; observedQuality: "failed" | "unavailable" | "passed" | "unscored"; targetApproval: "pending" | "rejected" | "approved" | "not_required"; approvedTarget: Record | null; grade: { schemaVersion: "openpond.rewardComposition.v1"; binding: { id: string; contentHash: string; revision: number; }; taskHash: string; outputHash: string; results: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; status: "failed" | "pending" | "unavailable" | "not_applicable" | "scored"; rawScore: number | null; normalizedScore: number | null; passed: boolean | null; evidenceHashes: string[]; message: string | null; graderEvidence?: { schemaVersion: "openpond.graderEvidence.v1"; graderId: string; graderVersion: string; score: number | null; passed: boolean; rewardEligible: boolean; failureClass: "cancelled" | "infrastructure_failure" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null; feedback: string[]; visibleEvidenceRefs: string[]; privilegedEvidenceRefs: string[]; contentHash: string; status?: "failed" | "pending" | "unavailable" | "scored" | undefined; modelJudgeReceipt?: { schemaVersion: "openpond.modelJudgeReceipt.v1"; providerId: string; modelId: string; modelRevision: string | null; responseId: string | null; requestHash: string; responseHash: string; inputTokens: number | null; outputTokens: number | null; costUsd: number | null; transportPolicy?: { schemaVersion: "openpond.modelJudgeTransportPolicy.v1"; responseFormat: "judgment_json_schema"; reasoningEffort: "off" | "low" | "medium" | "high" | "xhigh" | "max"; maximumOutputTokens: number; } | undefined; effectiveRequestHash?: string | undefined; finishReason?: string | null | undefined; reasoningTokens?: number | null | undefined; } | undefined; } | undefined; }[]; training: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; evaluation: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; contentHash: string; taskId?: string | undefined; } | null; targetGrade: { schemaVersion: "openpond.rewardComposition.v1"; binding: { id: string; contentHash: string; revision: number; }; taskHash: string; outputHash: string; results: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; status: "failed" | "pending" | "unavailable" | "not_applicable" | "scored"; rawScore: number | null; normalizedScore: number | null; passed: boolean | null; evidenceHashes: string[]; message: string | null; graderEvidence?: { schemaVersion: "openpond.graderEvidence.v1"; graderId: string; graderVersion: string; score: number | null; passed: boolean; rewardEligible: boolean; failureClass: "cancelled" | "infrastructure_failure" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null; feedback: string[]; visibleEvidenceRefs: string[]; privilegedEvidenceRefs: string[]; contentHash: string; status?: "failed" | "pending" | "unavailable" | "scored" | undefined; modelJudgeReceipt?: { schemaVersion: "openpond.modelJudgeReceipt.v1"; providerId: string; modelId: string; modelRevision: string | null; responseId: string | null; requestHash: string; responseHash: string; inputTokens: number | null; outputTokens: number | null; costUsd: number | null; transportPolicy?: { schemaVersion: "openpond.modelJudgeTransportPolicy.v1"; responseFormat: "judgment_json_schema"; reasoningEffort: "off" | "low" | "medium" | "high" | "xhigh" | "max"; maximumOutputTokens: number; } | undefined; effectiveRequestHash?: string | undefined; finishReason?: string | null | undefined; reasoningTokens?: number | null | undefined; } | undefined; } | undefined; }[]; training: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; evaluation: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; contentHash: string; taskId?: string | undefined; } | null; note: string; decidedAt: string; contentHash: string; }[]; sources: { schemaVersion: "openpond.learningSource.v1"; id: string; revision: number; name: string; kind: "provider" | "work" | "benchmark" | "direct" | "opentelemetry"; taskDefinition: { id: string; contentHash: string; revision: number; }; enabled: boolean; allowedSplits: ("validation" | "test" | "train" | "frozen_eval")[]; mapping: { schemaVersion: "openpond.taskSourceMapping.v1"; exampleId: string; attemptId: string; occurredAt: string; input: string; observedOutput: string | null; expected: string | null; evaluatorContext: string | null; familyKey: string; split: "validation" | "test" | "train" | "frozen_eval"; } | null; adapterVersion: string | null; contentHash: string; reviewOrigin?: { modelId: string; packageHash: string; taskset: { id: string; contentHash: string; revision: number; }; batch: { id: string; contentHash: string; revision: number; }; rewardBinding: { id: string; contentHash: string; revision: number; }; } | undefined; capturedOrigin?: { receiptId: string; ownerUserId: string; modelId: string; packageHash: string; taskset: { id: string; contentHash: string; revision: number; }; } | undefined; }[]; assets: { schemaVersion: "openpond.learningTextAsset.v1"; id: string; revision: 1; asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; text: string; contentHash: string; }[]; } | undefined; }; taskset: { schemaVersion: "openpond.taskset.v1"; id: string; revision: number; profileId: string; createImproveRunId: string | null; name: string; objective: string; purpose: "general" | "benchmark"; benchmark: { schemaVersion: "openpond.tasksetBenchmark.v1"; definitionId: string; releaseId: string; releaseHash: string; managedReleasePath: string; adaptationSplit: "validation" | "test" | "train" | "frozen_eval"; evaluationSplit: "validation" | "test" | "train" | "frozen_eval"; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityGate: "none" | "non_regression" | "all_pass"; source: "builtin" | "imported"; metadata: Record; } | null; preferenceComparison: { schemaVersion: "openpond.tasksetPreferenceComparisonBinding.v1"; releaseId: string; releaseHash: string; publishedAt: string; metadata: Record; } | null; status: "failed" | "draft" | "archived" | "ready" | "blocked" | "awaiting_disclosure_approval" | "awaiting_materialization_approval" | "materializing" | "validating" | "needs_review" | "baselining"; sourceRefs: ({ id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.huggingFaceDatasetSource.v1"; kind: "huggingface"; repositoryId: string; repositoryUrl: string; revision: string; configuration: string; upstreamSplits: string[]; gated: boolean; private: boolean; declaredLicense: string | null; sourceFileHashes: string[]; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.uploadedFileDatasetSource.v1"; kind: "uploaded_file"; originalFileNames: string[]; mediaTypes: string[]; sourceFileHashes: string[]; totalBytes: number; parserVersion: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.generatedDatasetSource.v1"; kind: "generated"; generatorId: string; generatorVersion: string; seed: number; generatorHash: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.learningBatchDatasetSource.v1"; kind: "learning_batch"; batch: { id: string; revision: number; contentHash: string; }; taskDefinition: { id: string; revision: number; contentHash: string; }; admittedBy: string; } | { schemaVersion: "openpond.connectedDatasetSource.v1"; kind: "connected_activity"; id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; origin: "opencode" | "codex" | "hermes" | "openclaw" | "native_chat" | "native_work" | "claude_code" | "grok_build" | "pi" | "oh_my_pi"; sourceId: string; sessionId: string; normalizerVersion: string; projection: "conversation" | "turn"; ownerUserId: string; purpose: "recorded_evaluation"; metadata: Record; sourceFileHashes?: string[] | undefined; } | { schemaVersion: "openpond.trainingSource.v1"; id: string; profileId: string; sessionId: string; turnIds: string[]; workspaceId: string | null; sourceHash: string; clusterKey: string; title: string; occurredAt: string; consent: { status: "pending" | "granted" | "denied" | "revoked"; scope: "metadata_only" | "selected_turns" | "full_session"; grantedBy: string | null; grantedAt: string | null; purpose: "task_authoring_and_evaluation"; }; connectedAppIds: string[]; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; licensingStatus: "pending" | "blocked" | "approved" | "review"; metadata: Record; })[]; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.taskEnvironment.v1"; kind: "chat" | "work" | "agent" | "program" | "stateful_harness"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; toolNames: string[]; lifecycle: ("create" | "reset" | "step" | "grade" | "cleanup")[]; defaultTimeoutMs: number; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; metadata: Record; actionBindings?: { schemaVersion: "openpond.harnessActionBinding.v1"; actionId: string; modelToolName: string; description: string; inputSchema: Record; actionSchemaHash: string; agentRelease: { id: string; contentHash: string; }; implementationHash: string; runtimeBindingId: string; capabilityReceiptHash: string; sideEffect: "read" | "write"; studentVisible: boolean; timeoutMs: number; episodeArgumentBindings: { argument: string; source: "case_id"; }[]; }[] | undefined; resources?: { id: string; kind: "file" | "configuration" | "catalog" | "code_module"; path: string; visibility: "privileged" | "policy_visible" | "policy_hidden"; required: boolean; metadata: Record; mediaType?: string | null | undefined; }[] | undefined; }; capabilities: { schemaVersion: "openpond.tasksetCapabilities.v1"; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; supportedSignals: ("label" | "demonstration" | "reward" | "feedback" | "preference" | "correction")[]; compatibleMethods: ("none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[]; rewardKinds: ("none" | "exact" | "deterministic" | "model_judge" | "human")[]; requiresTools: boolean; requiresState: boolean; requiresPrivilegedGrading: boolean; environmentPlacements: ("local" | "remote" | "colocated" | "provider_native")[]; exportable: boolean; portabilityBlockers: string[]; }; tasks: { schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; sourceRefs: string[]; tags: string[]; metadata: Record; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskId: string; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; learningSignals: { demonstrations: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "demonstration"; prompt: string | null; response: string | null; }[]; preferences: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "preference"; prompt: string; chosen: string; rejected: string; rationale: string | null; }[]; corrections: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "correction"; original: string; corrected: string; rationale: string | null; }[]; feedback: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "feedback"; feedback: string; polarity: "positive" | "negative" | "mixed" | "neutral"; }[]; rewards: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; executable: boolean; }[]; labels: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "label"; labelKind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; calibrationExamples: { positive: string; negative: string; boundary: string; }; }[]; }; authoringProvenance: { schemaVersion: "openpond.taskAuthoringProvenance.v1"; model: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null; modelConfig: Record; skillHash: string; promptTemplateVersion: string; buildIntent: "preferences" | "rubric" | "demonstrations" | "verifiable_reward" | "discovery"; buildSpecification: { kind: "demonstrations"; behavior: string; examples: { id: string; prompt: string; response: string; }[]; } | { kind: "preferences"; preference: string; pairs: { id: string; prompt: string; chosen: string; rejected: string; rationale: string; }[]; } | { kind: "verifiable_reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; } | { kind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; positiveExample: string; negativeExample: string; boundaryExample: string; } | null; evidenceHashes: string[]; tasksetSdkVersion: string; sourceCommit: string | null; repairHistory: { attempt: number; summary: string; createdAt: string; }[]; createdAt: string; }; readiness: { schemaVersion: "openpond.tasksetReadiness.v1"; tasksetId: string; tasksetHash: string; ready: boolean; recommendedMethod: "none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; trainingPath: { primaryMethod: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opsd" | "sdpo"; bootstrap: { method: "sft"; purpose: "trajectory_bootstrap"; demonstrationRefs: string[]; limitations: string[]; } | null; } | null; methodReadiness: { method: "sft" | "dpo" | "grpo" | "ppo"; status: "recommended" | "compatible" | "needs_dataset_work"; reasonCodes: ("taskset_not_ready" | "demonstrations_missing" | "preference_pairs_missing" | "preference_pairs_invalid" | "executable_reward_missing" | "reward_not_calibrated" | "reward_model_missing" | "value_model_required" | "frozen_eval_missing")[]; reasons: string[]; }[]; compatibleDestinationClasses: ("custom" | "export" | "hosted_managed")[]; blockers: { code: string; message: string; path: string | null; }[]; advisories: { code: string; message: string; path: string | null; }[]; warnings: string[]; generatedAt: string; } | null; contentHash: string; createdAt: string; updatedAt: string; metadata: Record; profileRelease?: { id: string; contentHash: string; revision: number; } | null | undefined; datasetArtifact?: { schemaVersion: "openpond.datasetArtifact.v1"; id: string; tasksetId: string; tasksetRevision: number; contentHash: string; format: "parquet"; schema: { schemaVersion: "openpond.datasetSemanticSchema.v1"; fields: { name: string; semanticRole: "metadata" | "rejected" | "prompt" | "messages" | "row_id" | "cluster_id" | "demonstration" | "chosen" | "expected_output" | "privileged_context" | "reward" | "feedback" | "tag"; logicalType: "string" | "boolean" | "messages" | "integer" | "float" | "json"; nullable: boolean; policy: "metadata" | "visible" | "privileged"; }[]; schemaHash: string; }; shards: { id: string; split: "validation" | "test" | "train" | "frozen_eval"; path: string; contentHash: string; schemaHash: string; sizeBytes: number; rowCount: number; rowGroupCount: number; }[]; rowCount: number; splitCounts: Record<"validation" | "test" | "train" | "frozen_eval", number>; sourceReceiptRefs: string[]; mappingHash: string; qualityReportHash: string; createdAt: string; } | null | undefined; metrics?: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; } | undefined; }; generatedFiles: { path: string; role: "environment" | "verifier" | "fixture"; content: string; }[]; }; type PreparedImportedTasksetPackage = ReturnType & { reuseExisting?: boolean; }; type OpenPondProfileAgent = { id: string; name: string; path: string; enabled: boolean; }; type OpenPondProfileSkill$1 = { name: string; description: string; path: string; scope: "profile"; enabled: boolean; sourcePath: string; charCount: number; sourceHash: string; validationStatus: "valid" | "warning" | "error"; validationMessages: string[]; resourceFiles: string[]; }; type OpenPondProfileEval = { id: string; name: string; path: string; agentId: string | null; sourcePath: string; }; type OpenPondProfileGitFileChange = { path: string; originalPath?: string | null; indexStatus: string | null; worktreeStatus: string | null; status: string; category: "added" | "modified" | "deleted" | "renamed" | "untracked" | "changed"; }; type OpenPondProfileGitState = { isRepo: boolean; branch: string | null; head: string | null; shortHead: string | null; dirty: boolean; upstream: string | null; ahead: number | null; behind: number | null; remoteUrl: string | null; files: OpenPondProfileGitFileChange[]; fileCount?: number; error: string | null; }; type OpenPondProfileActionCatalogEntry = { id: string; name?: string | null; label?: string | null; description?: string | null; agentId?: string | null; sourcePath?: string | null; sourceActionId?: string | null; visibility?: string | null; inputSchema?: string | Record | null; outputSchema?: string | Record | null; approvalPolicy?: Record | null; artifactPolicy?: Record | null; setupRequirements?: Record[]; mcp?: Record | null; schedulePolicy?: Record | null; trace?: Record | null; implementation?: Record | null; invokesModel?: boolean; }; type OpenPondProfileSetupRequirement = { ref: string; source: "action_catalog" | "source_upload_metadata"; actionId: string | null; kind: string | null; label: string; status: string; required: boolean; blocking: boolean; }; type OpenPondProfileSetupGate = { status: "ready" | "setup_required" | "blocked"; requirementCount: number; blockingCount: number; optionalMissingCount: number; readyCount: number; requirements: OpenPondProfileSetupRequirement[]; blockingRequirements: OpenPondProfileSetupRequirement[]; }; type OpenPondProfileCatalogState = { actionCount: number; generatedAt: string | null; manifestPath: string | null; registryPath: string | null; stale: boolean; error: string | null; }; type OpenPondProfileSkillCatalogState = { skillCount: number; generatedAt: string | null; stale: boolean; error: string | null; }; type OpenPondProfileDiffSummary = { changedAgents: string[]; newAgents: string[]; deletedAgents: string[]; changedSkills: string[]; changedActions: string[]; changedExtensions: string[]; setupChanges: string[]; envRequirementChanges: string[]; files: OpenPondProfileGitFileChange[]; fileCount?: number; }; type OpenPondProfileHostedBinding = { teamId: string | null; projectId: string | null; sourceRef: string | null; sourceCommitSha: string | null; lastPushedAt: string | null; lastPushedLocalHead: string | null; lastPushedHostedHead: string | null; promotionStatus: string | null; hostedRunStatus: string | null; hostedRunAgentId: string | null; hostedRunId: string | null; hostedRunAt: string | null; hostedSourceMaterialization: LocalOpenPondProfileHostedMaterializationStatus | null; hostedSourceCheck: LocalOpenPondProfileHostedSourceCheckStatus | null; hostedPublish: LocalOpenPondProfileHostedPublishStatus | null; hostedRun: LocalOpenPondProfileHostedRunSummary | null; }; type OpenPondProfileSummary = { state: "none" | "ready" | "dirty" | "pending_commit" | "error"; message: string; agentCount: number; actionCount: number; defaultAction: string | null; checkFresh: boolean; checkStaleReason: string | null; localHead: string | null; hostedHead: string | null; }; type OpenPondProfileState$1 = { mode: "none" | "local"; repoPath: string | null; activeProfile: string | null; sourcePath: string | null; manifestPath: string | null; agents: OpenPondProfileAgent[]; skills: OpenPondProfileSkill$1[]; evals: OpenPondProfileEval[]; git: OpenPondProfileGitState | null; catalog: OpenPondProfileCatalogState; skillCatalog: OpenPondProfileSkillCatalogState; actionCatalog: OpenPondProfileActionCatalogEntry[]; sourceSetupRequirements: Record[]; setupGate: OpenPondProfileSetupGate; diff: OpenPondProfileDiffSummary; hosted: OpenPondProfileHostedBinding | null; summary: OpenPondProfileSummary; lastCheck: LocalOpenPondProfileCheckStatus | null; error: string | null; }; type RunProfileCommandInput = { command: "inspect" | "build" | "validate" | "eval" | "traces" | "run"; args?: string[]; cwd?: string; inherit?: boolean; timeoutMs?: number; maxOutputBytes?: number; }; declare function runAgentSdkProjectCommand(input: RunProfileCommandInput & { cwd: string; throwOnFailure?: boolean; }): Promise<{ code: number | null; stdout: string; stderr: string; timedOut: boolean; stdoutTruncated: boolean; stderrTruncated: boolean; }>; type ProfileSkillCommandResult = { handled: true; action: "list" | "help"; message: string; skills?: OpenPondProfileSkill$1[]; profile: OpenPondProfileState$1; }; type RuntimeLocalSession = { token?: string; appId?: string | null; conversationId?: string | null; }; type RuntimeLocalAccount = { handle: string; apiKey?: string; baseUrl?: string; apiBaseUrl?: string; chatApiBaseUrl?: string; environment?: string; session?: RuntimeLocalSession; token?: string; }; type RuntimeLocalConfig = { accounts?: RuntimeLocalAccount[]; activeProfile?: ActiveProfileSelector; baseUrl?: string; apiBaseUrl?: string; chatApiBaseUrl?: string; }; type RuntimeAccountContext = { config: RuntimeLocalConfig; profiles: ConfiguredProfile[]; account: RuntimeLocalAccount | null; token: string | null; apiBaseUrl: string; chatApiBaseUrl: string; accountState: AccountState; }; type HostedChatTurnInput = { model?: string | null; messages: HostedChatMessage[]; tools?: HostedChatTool[]; toolChoice?: HostedChatToolChoice; requestId?: string; reasoningEffort?: CodexReasoningEffort | null; maxTokens?: number; temperature?: number; topP?: number; signal?: AbortSignal; }; type HostedChatTurnDelta = HostedChatStreamDelta; declare function streamOpenPondHostedChatTurn(input: HostedChatTurnInput): AsyncGenerator; type StorageStartupProgress = { phase: "backup" | "verify" | "migrate" | "complete"; message: string; percent?: number; }; declare const LocalHarnessReleaseRecordSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.localHarnessReleaseRecord.v1">; workspaceId: z.ZodString; sourceRevision: z.ZodString; agentSnapshot: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.agentSnapshot.v2">; id: z.ZodString; sourceRelease: z.ZodNullable>; instructions: z.ZodArray; }, z.core.$strict>>; skills: z.ZodArray; }, z.core.$strict>>; agents: z.ZodArray; }, z.core.$strict>>; toolDeclarations: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilityRequirements: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; dependencyLock: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; portability: z.ZodObject<{ portable: z.ZodBoolean; blockers: z.ZodArray; localOnlyAssetRefs: z.ZodArray; hostPrivateAssetRefs: z.ZodArray; }, z.core.$strict>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; harnessRelease: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.harnessRelease.v2">; id: z.ZodString; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; program: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; lifecycle: z.ZodObject<{ create: z.ZodLiteral; reset: z.ZodLiteral; step: z.ZodLiteral; collect: z.ZodLiteral; destroy: z.ZodLiteral; resetScope: z.ZodEnum<{ attempt: "attempt"; task: "task"; }>; }, z.core.$strict>; graderInterface: z.ZodObject<{ visibleEvidence: z.ZodArray; privilegedEvidence: z.ZodArray; privateVerifierIsolation: z.ZodBoolean; }, z.core.$strict>; files: z.ZodArray; }, z.core.$strict>>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; bundlePath: z.ZodString; createdAt: z.ZodString; }, z.core.$strict>; type LocalHarnessReleaseRecord = z.infer & { agentSnapshot: AgentSnapshot; harnessRelease: HarnessRelease; }; declare const DeviceLocalOwnerSchema: z.ZodObject<{ version: z.ZodLiteral<1>; installationId: z.ZodString; profileId: z.ZodString; ownerUserId: z.ZodString; teamId: z.ZodNullable; audience: z.ZodString; }, z.core.$strict>; type DeviceLocalOwner = z.infer; interface OpenPondSqliteConnection { exec(sql: string): void; run(sql: string, params?: readonly unknown[]): void; all(sql: string, params?: readonly unknown[]): T[]; get(sql: string, params?: readonly unknown[]): T | null; close(): void; } declare function attachLocalSessionOwner(db: OpenPondSqliteConnection, input: { sessionId: string; expectedRevision: string; owner: DeviceLocalOwner; assertCurrent?: () => void; }): { id: string; experience: "chat" | "work" | "development"; provider: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; openPondCommandAccessMode: "disabled" | "ask" | "full-access"; title: string; appId: string | null; appName: string | null; cwd: string | null; codexThreadId: string | null; createdAt: string; updatedAt: string; status: "failed" | "idle" | "active" | "closed"; pinned: boolean; archived: boolean; order: number; modelRef?: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null | undefined; systemKind?: "openpond.lab" | "openpond.ponder" | null | undefined; hiddenFromDefaultSidebar?: boolean | undefined; parentSessionId?: string | null | undefined; parentTurnId?: string | null | undefined; subagentRunId?: string | null | undefined; subagentRoleId?: string | null | undefined; subagentDelegationMode?: "manual" | "balanced" | "proactive" | null | undefined; workspaceKind?: "sandbox" | "sandbox_app" | "local_project" | "sandbox_template" | undefined; workspaceId?: string | null | undefined; workspaceName?: string | null | undefined; localProjectId?: string | null | undefined; cloudProjectId?: string | null | undefined; cloudTeamId?: string | null | undefined; currentProfile?: { source: "local" | "github" | "openpond_git"; repositoryId: string; profileId: string; } | null | undefined; profileWorkflowBinding?: { schemaVersion: "openpond.profileWorkflowBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; workflowId: string; } | null | undefined; profileComponentBinding?: { schemaVersion: "openpond.profileComponentBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; target: { kind: "profile"; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; } | null | undefined; metadata?: Record | undefined; nativeAgent?: { provider: `acp:${string}` | "claude-code" | "grok-build" | "opencode"; instanceId: string; sessionId: string; cwd: string; } | null | undefined; runtimeSeconds?: number | undefined; runtimeRunningSince?: string | null | undefined; savedForLater?: boolean | undefined; } | { updatedAt: string; metadata: { ponderLocalOwner: { version: 1; installationId: string; profileId: string; ownerUserId: string; teamId: string | null; audience: string; }; }; id: string; experience: "chat" | "work" | "development"; provider: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; openPondCommandAccessMode: "disabled" | "ask" | "full-access"; title: string; appId: string | null; appName: string | null; cwd: string | null; codexThreadId: string | null; createdAt: string; status: "failed" | "idle" | "active" | "closed"; pinned: boolean; archived: boolean; order: number; modelRef?: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null | undefined; systemKind?: "openpond.lab" | "openpond.ponder" | null | undefined; hiddenFromDefaultSidebar?: boolean | undefined; parentSessionId?: string | null | undefined; parentTurnId?: string | null | undefined; subagentRunId?: string | null | undefined; subagentRoleId?: string | null | undefined; subagentDelegationMode?: "manual" | "balanced" | "proactive" | null | undefined; workspaceKind?: "sandbox" | "sandbox_app" | "local_project" | "sandbox_template" | undefined; workspaceId?: string | null | undefined; workspaceName?: string | null | undefined; localProjectId?: string | null | undefined; cloudProjectId?: string | null | undefined; cloudTeamId?: string | null | undefined; currentProfile?: { source: "local" | "github" | "openpond_git"; repositoryId: string; profileId: string; } | null | undefined; profileWorkflowBinding?: { schemaVersion: "openpond.profileWorkflowBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; workflowId: string; } | null | undefined; profileComponentBinding?: { schemaVersion: "openpond.profileComponentBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; target: { kind: "profile"; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; } | null | undefined; nativeAgent?: { provider: `acp:${string}` | "claude-code" | "grok-build" | "opencode"; instanceId: string; sessionId: string; cwd: string; } | null | undefined; runtimeSeconds?: number | undefined; runtimeRunningSince?: string | null | undefined; savedForLater?: boolean | undefined; }; type JsonRpcId = string | number; type CodexNotification = { method: string; params?: unknown; }; type CodexServerRequest = { id: JsonRpcId; method: string; params?: unknown; }; type CodexServerRequestResult = { result: unknown; } | { error: { code: number; message: string; data?: unknown; }; }; type CodexDynamicToolSpec = { type: "function"; name: string; description: string; inputSchema: unknown; deferLoading?: boolean; }; type CodexClientOptions = { binaryPath?: string; clientName?: string; clientTitle?: string; clientVersion?: string; experimentalApi?: boolean; onNotification?: (notification: CodexNotification) => void; onServerRequest?: (request: CodexServerRequest) => Promise; stderr?: (chunk: string) => void; }; type CodexThreadGoal = { threadId: string; objective: string; status: "active" | "paused" | "blocked" | "usageLimited" | "budgetLimited" | "complete"; tokenBudget: number | null; tokensUsed: number; timeUsedSeconds: number; createdAt: number; updatedAt: number; }; type CodexThreadGoalPatch = { objective?: string; status?: "active" | "paused"; }; type CompactThreadResult = { method: "thread/compact/start" | "thread/compact"; completion: "notification" | "response"; response: unknown; }; declare class CodexAppServerClient { private readonly binaryPath; private readonly clientName; private readonly clientTitle; private readonly clientVersion; private readonly experimentalApi; private readonly onNotification?; private readonly onServerRequest?; private readonly stderr?; private child; private buffer; private nextId; private pending; private turnWaiters; private initialized; private stopping; constructor(options?: CodexClientOptions); start(): Promise; isRunning(): boolean; initialize(): Promise; readAccount(): Promise; getThreadGoal(threadId: string): Promise<{ goal: CodexThreadGoal | null; }>; setThreadGoal(threadId: string, patch: CodexThreadGoalPatch): Promise<{ goal: CodexThreadGoal; }>; readConfig(): Promise; readRateLimits(): Promise; listModels(params?: { cursor?: string | null; limit?: number; includeHidden?: boolean; }): Promise; startThread(params: { cwd?: string | null; model?: string | null; approvalPolicy?: "untrusted" | "on-failure" | "on-request" | "never"; sandbox?: "read-only" | "workspace-write" | "danger-full-access"; config?: Record | null; developerInstructions?: string | null; baseInstructions?: string | null; dynamicTools?: CodexDynamicToolSpec[] | null; ephemeral?: boolean | null; }): Promise<{ threadId: string; response: unknown; }>; resumeThread(params: { threadId: string; cwd?: string | null; approvalPolicy?: "untrusted" | "on-failure" | "on-request" | "never"; sandbox?: "read-only" | "workspace-write" | "danger-full-access"; config?: Record | null; }): Promise<{ threadId: string; response: unknown; }>; unarchiveThread(threadId: string): Promise; startTurn(params: { threadId: string; prompt: string; images?: string[]; cwd?: string | null; model?: string | null; approvalPolicy?: "untrusted" | "on-failure" | "on-request" | "never"; sandbox?: "read-only" | "workspace-write" | "danger-full-access"; sandboxPolicy?: unknown; }): Promise<{ turnId: string; response: unknown; }>; compactThread(params: { threadId: string; }): Promise; steerTurn(params: { threadId: string; expectedTurnId: string; prompt: string; images?: string[]; }): Promise<{ turnId: string; }>; interruptTurn(params: { threadId: string; turnId: string; }): Promise<{ response: unknown; }>; waitForTurn(turnId: string, timeoutMs?: number): Promise; stop(): Promise; /** Evaluation cleanup must acknowledge process exit before sealing results. */ stopAndWait(): Promise; private request; private notify; private respond; private handleStdout; private handleLine; private handleNotification; private handleServerRequest; } type BackgroundWorkStatus = "queued" | "running" | "completed" | "failed"; type BackgroundWorkReceipt = { id: string; queueId: string; label: string; enqueuedAt: string; startedAt: string | null; completedAt: string | null; status: BackgroundWorkStatus; error: string | null; metadata: Record; done: Promise; }; type BackgroundWorkerQueue = { readonly queueId: string; enqueue: (job: { label: string; metadata?: Record; }, work: () => Promise) => BackgroundWorkReceipt; drain: () => Promise; receipts: () => BackgroundWorkReceipt[]; pendingReceipts: () => BackgroundWorkReceipt[]; yieldWhileWaiting: (work: () => Promise) => Promise; }; type StoreData = { sessions: Session[]; turns: Turn[]; events: RuntimeEvent[]; approvals: Approval[]; }; type RuntimeCodexSession = { client: CodexAppServerClient; threadId: string; cwd: string | null; permissionMode: CodexPermissionMode; reasoningEffort: CodexReasoningEffort | null; }; type CacheEntry = { payload: T; updatedAt: string; error: string | null; }; type TurnHistoryPage = { turns: Turn[]; nextBeforeSortIndex: number | null; }; type RuntimeEventHistoryPage = { entries: Array<{ sequence: number; event: RuntimeEvent; }>; totalMatchingEvents: number; remainingMatchingEvents: number; }; interface RuntimeHistoryStorage { getSession(sessionId: string): Promise; turnPageForSession(input: { sessionId: string; beforeSortIndex?: number | null; limit?: number; }): Promise; runtimeEventPageRows(input: { sessionId: string | null; afterSequence: number; beforeSequence: number | null; limit: number; }): Promise; } type ThreadDetailProjection = { sessionId: string; eventCount: number; latestEventSequence: number; latestEventAt: string | null; latestTurnId: string | null; latestTurnStatus: Turn["status"] | null; pendingApprovalCount: number; updatedAt: string; }; type Logger = { debug: (message: string, fields?: Record) => void; info: (message: string, fields?: Record) => void; warn: (message: string, fields?: Record) => void; error: (message: string, fields?: Record) => void; flush: () => Promise; filePath: string; }; type SqliteDomainContext = { readonly home: string; readonly storePath: string; readonly logger: Logger | undefined; readonly ready: Promise; readonly db: OpenPondSqliteConnection | null; readonly database: OpenPondSqliteConnection; writeQueue: Promise; }; declare class SqliteStoreDomain { private readonly context; constructor(context: SqliteDomainContext); protected get home(): string; protected get storePath(): string; protected get logger(): Logger | undefined; protected get ready(): Promise; protected get db(): OpenPondSqliteConnection | null; protected get database(): OpenPondSqliteConnection; protected get writeQueue(): Promise; protected set writeQueue(value: Promise); protected exec(sql: string): Promise; protected run(sql: string, params: unknown[]): Promise; protected all(sql: string, params?: unknown[]): Promise; protected get(sql: string, params: unknown[]): Promise; protected upsertPayload(sql: string, params: unknown[]): Promise; protected listParsedPayloads(sql: string, params: unknown[], parse: (value: unknown) => T): Promise; protected getParsedPayload(sql: string, params: unknown[], parse: (value: unknown) => T): Promise; } type SqliteStoreCoreOptions = { onMigrationProgress?: (progress: StorageStartupProgress) => void; logger?: Logger; }; declare class SqliteStoreCore { createChatResourceTables(): Promise; deduplicateLocalDatasetStorage(): Promise; createTaskInboxTables(): Promise; createLearningTables(): Promise; createModelProjectAuthoringTables(): Promise; readonly storePath: string; readonly home: string; protected data: Omit; protected ready: Promise; protected db: OpenPondSqliteConnection | null; protected writeQueue: Promise; private compactDatasetMigration; protected readonly logger?: Logger; protected readonly onMigrationProgress?: (progress: StorageStartupProgress) => void; constructor(storeDir: string, options?: SqliteStoreCoreOptions); protected domainContext(): SqliteDomainContext; recentTurns(limit?: number): Promise; protected load(storeDir: string): Promise; protected configureDatabase(): Promise; protected assertHealthyDatabase(): Promise; protected assertHealthyDatabaseWithRetry(): Promise; protected runMigrations(storeDir: string, hadDatabase: boolean): Promise; protected userVersion(): Promise; protected openDatabaseWithRecovery(): Promise; protected openDatabaseWithRetry(): Promise; protected databaseFiles(): string[]; protected fileExists(filePath: string): Promise; createSchema(): Promise; createWorkEvidenceTables(): Promise; createHarnessWorkspaceTables(): Promise; createSidebarFileBookmarkTables(): Promise; createEventTurnIndex(): Promise; createHotQueryIndexes(): Promise; createReadModelTables(): Promise; createModelUsageTables(): Promise; createLocalAgentScheduleTables(): Promise; createChatWorkflowTables(): Promise; createSubagentTables(): Promise; retireGoalAndInsightsStorage(): Promise; resetLegacySubagentTransportState(): Promise; resetLegacySubagentRuntimeEvents(): Promise; createCreateImproveRunTables(): Promise; createTrainingTables(): Promise; createTasksetDraftTables(): Promise; createModelBuildDraftTables(): Promise; createModelProjectTables(): Promise; allowModelRunsWithoutVersion(): Promise; consolidateModelProjectTrainingSetup(): Promise; private modelProjectMigrationStore; repairUnverifiableLearnedPreferenceBindings(): Promise; createModelLifecycleTables(): Promise; createDatasetImportTables(): Promise; createTasksetRevisionTables(): Promise; createTrainingReceiptAndModelBindingTables(): Promise; createPreferenceComparisonTables(): Promise; createTaskCreationProjectionTables(): Promise; createGraderAuditTables(): Promise; createTaskAttemptArtifactTables(): Promise; createTrainingChatSearchTables(): Promise; resetTrainingChatSearchForProgressiveIndexing(): Promise; createTaskMinerRunTables(): Promise; protected addColumnIfMissing(table: string, column: string, definition: string): Promise; protected backfillTurnQueryColumns(): Promise; protected nextEventSequence(): Promise; protected upsertSessionShellProjection(session: Session, sortIndex: number): Promise; protected upsertApprovalProjection(approval: Approval, sortIndex: number): Promise; protected rebuildLatestTurnProjectionForSession(sessionId: string): Promise; protected rebuildThreadDetailProjectionForSession(sessionId: string): Promise; protected updateThreadDetailProjectionForEvent(event: RuntimeEvent, sequence: number): Promise; protected threadDetailProjectionFromDb(sessionId: string): Promise; protected rebuildReadModels(): Promise; close(): Promise; protected closeDatabaseHandle(): Promise; protected openDatabase(filename: string): Promise; protected exec(sql: string): Promise; protected run(sql: string, params: unknown[]): Promise; protected all(sql: string, params?: unknown[]): Promise; protected get(sql: string, params: unknown[]): Promise; protected get database(): OpenPondSqliteConnection; } type RuntimeEventPageQuery = { sessionId: string | null; afterSequence: number; beforeSequence: number | null; limit: number; }; type RuntimeEventPageRows = { entries: Array<{ sequence: number; event: RuntimeEvent; }>; totalMatchingEvents: number; remainingMatchingEvents: number; }; type RuntimeEventRecentWindow = { entries: Array<{ sequence: number; event: RuntimeEvent; }>; latestSequence: number; oldestSequence: number; totalEvents: number; hasMoreBefore: boolean; limit: number; }; declare class SqliteChatStore extends SqliteStoreCore implements RuntimeHistoryStorage { configureLocalPonderModel(modelRef: ChatModelRef, revision: number): Promise<{ coordinator: { modelRef: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; revision: number; id: string; location: "local"; sessionId: string | null; remoteAccessEnabled: false; hostedSandboxesEnabled: boolean; hostedActivation: "inactive"; }; session: { provider: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelRef: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; updatedAt: string; id: string; experience: "chat" | "work" | "development"; openPondCommandAccessMode: "disabled" | "ask" | "full-access"; title: string; appId: string | null; appName: string | null; cwd: string | null; codexThreadId: string | null; createdAt: string; status: "failed" | "idle" | "active" | "closed"; pinned: boolean; archived: boolean; order: number; systemKind?: "openpond.lab" | "openpond.ponder" | null | undefined; hiddenFromDefaultSidebar?: boolean | undefined; parentSessionId?: string | null | undefined; parentTurnId?: string | null | undefined; subagentRunId?: string | null | undefined; subagentRoleId?: string | null | undefined; subagentDelegationMode?: "manual" | "balanced" | "proactive" | null | undefined; workspaceKind?: "sandbox" | "sandbox_app" | "local_project" | "sandbox_template" | undefined; workspaceId?: string | null | undefined; workspaceName?: string | null | undefined; localProjectId?: string | null | undefined; cloudProjectId?: string | null | undefined; cloudTeamId?: string | null | undefined; currentProfile?: { source: "local" | "github" | "openpond_git"; repositoryId: string; profileId: string; } | null | undefined; profileWorkflowBinding?: { schemaVersion: "openpond.profileWorkflowBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; workflowId: string; } | null | undefined; profileComponentBinding?: { schemaVersion: "openpond.profileComponentBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; target: { kind: "profile"; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; } | null | undefined; metadata?: Record | undefined; nativeAgent?: { provider: `acp:${string}` | "claude-code" | "grok-build" | "opencode"; instanceId: string; sessionId: string; cwd: string; } | null | undefined; runtimeSeconds?: number | undefined; runtimeRunningSince?: string | null | undefined; savedForLater?: boolean | undefined; }; }>; controlLocalPonderAgent(sessionId: string, owner: "ponder" | "user", revision: number): Promise<{ relationship: { owner: "user" | "ponder"; revision: number; updatedAt: string; sessionId: string; coordinatorId: string; coordinatorSessionId: string; assignment: string; creationKey: string; createdAt: string; }; session: { hiddenFromDefaultSidebar: boolean; updatedAt: string; id: string; experience: "chat" | "work" | "development"; provider: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; openPondCommandAccessMode: "disabled" | "ask" | "full-access"; title: string; appId: string | null; appName: string | null; cwd: string | null; codexThreadId: string | null; createdAt: string; status: "failed" | "idle" | "active" | "closed"; pinned: boolean; archived: boolean; order: number; modelRef?: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null | undefined; systemKind?: "openpond.lab" | "openpond.ponder" | null | undefined; parentSessionId?: string | null | undefined; parentTurnId?: string | null | undefined; subagentRunId?: string | null | undefined; subagentRoleId?: string | null | undefined; subagentDelegationMode?: "manual" | "balanced" | "proactive" | null | undefined; workspaceKind?: "sandbox" | "sandbox_app" | "local_project" | "sandbox_template" | undefined; workspaceId?: string | null | undefined; workspaceName?: string | null | undefined; localProjectId?: string | null | undefined; cloudProjectId?: string | null | undefined; cloudTeamId?: string | null | undefined; currentProfile?: { source: "local" | "github" | "openpond_git"; repositoryId: string; profileId: string; } | null | undefined; profileWorkflowBinding?: { schemaVersion: "openpond.profileWorkflowBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; workflowId: string; } | null | undefined; profileComponentBinding?: { schemaVersion: "openpond.profileComponentBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; target: { kind: "profile"; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; } | null | undefined; metadata?: Record | undefined; nativeAgent?: { provider: `acp:${string}` | "claude-code" | "grok-build" | "opencode"; instanceId: string; sessionId: string; cwd: string; } | null | undefined; runtimeSeconds?: number | undefined; runtimeRunningSince?: string | null | undefined; savedForLater?: boolean | undefined; }; }>; private runtimeSummaryCache; private sessionRuntimeSummaries; attachLocalSessionOwner(input: Parameters[1]): Promise<{ id: string; experience: "chat" | "work" | "development"; provider: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; openPondCommandAccessMode: "disabled" | "ask" | "full-access"; title: string; appId: string | null; appName: string | null; cwd: string | null; codexThreadId: string | null; createdAt: string; updatedAt: string; status: "failed" | "idle" | "active" | "closed"; pinned: boolean; archived: boolean; order: number; modelRef?: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null | undefined; systemKind?: "openpond.lab" | "openpond.ponder" | null | undefined; hiddenFromDefaultSidebar?: boolean | undefined; parentSessionId?: string | null | undefined; parentTurnId?: string | null | undefined; subagentRunId?: string | null | undefined; subagentRoleId?: string | null | undefined; subagentDelegationMode?: "manual" | "balanced" | "proactive" | null | undefined; workspaceKind?: "sandbox" | "sandbox_app" | "local_project" | "sandbox_template" | undefined; workspaceId?: string | null | undefined; workspaceName?: string | null | undefined; localProjectId?: string | null | undefined; cloudProjectId?: string | null | undefined; cloudTeamId?: string | null | undefined; currentProfile?: { source: "local" | "github" | "openpond_git"; repositoryId: string; profileId: string; } | null | undefined; profileWorkflowBinding?: { schemaVersion: "openpond.profileWorkflowBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; workflowId: string; } | null | undefined; profileComponentBinding?: { schemaVersion: "openpond.profileComponentBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; target: { kind: "profile"; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; } | null | undefined; metadata?: Record | undefined; nativeAgent?: { provider: `acp:${string}` | "claude-code" | "grok-build" | "opencode"; instanceId: string; sessionId: string; cwd: string; } | null | undefined; runtimeSeconds?: number | undefined; runtimeRunningSince?: string | null | undefined; savedForLater?: boolean | undefined; } | { updatedAt: string; metadata: { ponderLocalOwner: { version: 1; installationId: string; profileId: string; ownerUserId: string; teamId: string | null; audience: string; }; }; id: string; experience: "chat" | "work" | "development"; provider: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; openPondCommandAccessMode: "disabled" | "ask" | "full-access"; title: string; appId: string | null; appName: string | null; cwd: string | null; codexThreadId: string | null; createdAt: string; status: "failed" | "idle" | "active" | "closed"; pinned: boolean; archived: boolean; order: number; modelRef?: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null | undefined; systemKind?: "openpond.lab" | "openpond.ponder" | null | undefined; hiddenFromDefaultSidebar?: boolean | undefined; parentSessionId?: string | null | undefined; parentTurnId?: string | null | undefined; subagentRunId?: string | null | undefined; subagentRoleId?: string | null | undefined; subagentDelegationMode?: "manual" | "balanced" | "proactive" | null | undefined; workspaceKind?: "sandbox" | "sandbox_app" | "local_project" | "sandbox_template" | undefined; workspaceId?: string | null | undefined; workspaceName?: string | null | undefined; localProjectId?: string | null | undefined; cloudProjectId?: string | null | undefined; cloudTeamId?: string | null | undefined; currentProfile?: { source: "local" | "github" | "openpond_git"; repositoryId: string; profileId: string; } | null | undefined; profileWorkflowBinding?: { schemaVersion: "openpond.profileWorkflowBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; workflowId: string; } | null | undefined; profileComponentBinding?: { schemaVersion: "openpond.profileComponentBinding.v1"; profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; target: { kind: "profile"; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; } | null | undefined; nativeAgent?: { provider: `acp:${string}` | "claude-code" | "grok-build" | "opencode"; instanceId: string; sessionId: string; cwd: string; } | null | undefined; runtimeSeconds?: number | undefined; runtimeRunningSince?: string | null | undefined; savedForLater?: boolean | undefined; }>; readonly harnessStoragePlacement: "local"; snapshot(): Promise; sessionShells(): Promise; getSession(sessionId: string): Promise; pendingApprovals(): Promise; turnByProviderTurnId(providerTurnId: string): Promise; latestTurnForSession(sessionId: string, status?: Turn["status"]): Promise; latestPersistedTurnForSession(sessionId: string, status?: Turn["status"]): Promise; private persistedLifecycleRow; private persistedLifecycleRows; turnsForSession(sessionId: string, limit?: number): Promise; /** Cursor reads stay bounded even when other sessions grow without limit. */ turnPageForSession(input: { sessionId: string; beforeSortIndex?: number | null; limit?: number; }): Promise<{ turns: Turn[]; nextBeforeSortIndex: number | null; }>; countTurnsForSession(sessionId: string): Promise; hasSubagentParentWakeTurn(sessionId: string, messageId: string): Promise; countSubagentParentWakeTurns(sessionId: string, fromRunId: string): Promise; latestEventSequence(): Promise; threadDetailProjection(sessionId: string): Promise; runtimeEventPageRows(query: RuntimeEventPageQuery): Promise; latestLocalPonderActivity(sessionId: string): Promise; runtimeEventsForSession(sessionId: string, query?: { afterSequence?: number | null; names?: readonly RuntimeEvent["name"][]; limit?: number | null; excludeReasoningDeltas?: boolean; }): Promise; runtimeEventsForTurn(turnId: string, query?: { names?: readonly RuntimeEvent["name"][]; limit?: number | null; }): Promise; persistedRuntimeEventsForSession(sessionId: string, query?: { afterSequence?: number | null; names?: readonly RuntimeEvent["name"][]; limit?: number | null; }): Promise; latestAssistantTextForSession(sessionId: string): Promise; recentRuntimeEventWindow(limit: number): Promise; recentDiagnostics(limit: number): Promise; latestRuntimeEventSequenceByName(name: RuntimeEvent["name"]): Promise; runtimeEventRowsByNameAfter(name: RuntimeEvent["name"], afterSequence: number): Promise>; sessionCount(): Promise; insertSessionAtFront(session: Session, desktopOperation?: PonderDesktopOperation): Promise; updateSession(sessionId: string, updater: (session: Session) => Session): Promise; updateSessionsWhere(predicate: (session: Session) => boolean, updater: (session: Session) => Session): Promise; getTurn(turnId: string): Promise; insertTurn(turn: Turn): Promise; updateTurn(turnId: string, updater: (turn: Turn) => Turn): Promise; getApproval(approvalId: string): Promise; upsertApproval(approval: Approval): Promise; getCacheEntry(type: string, key: string): Promise | null>; getCacheEntriesByType(type: string): Promise>>; setCacheEntry(type: string, key: string, payload: T, error?: string | null): Promise>; setCacheError(type: string, key: string, fallbackPayload: unknown, error: string): Promise; mutate(fn: (data: StoreData) => void): Promise; appendRuntimeEvent(runtimeEvent: StoreData["events"][number]): Promise; private insertRuntimeEventRecord; runtimeEventContext(sessionId: string, providerTurnId?: string | null): Promise<{ appId?: string | null; turnId?: string | null; }>; } declare class StoreDomainLifecycle { private closing; private readonly admission; private readonly pending; run(operation: () => Promise): Promise; close(): Promise; } declare const ConversationServingGrantSchema: z.ZodObject<{ id: z.ZodString; revision: z.ZodNumber; ownerInstanceId: z.ZodString; teamId: z.ZodString; profileId: z.ZodString; projectId: z.ZodString; hostedModelId: z.ZodString; role: z.ZodEnum<{ agent: "agent"; extension: "extension"; chat_manual: "chat_manual"; authoring_optimizer: "authoring_optimizer"; }>; roleTargetId: z.ZodString; expectedBindingId: z.ZodString; policyId: z.ZodNullable; authorizedConfigurationHash: z.ZodNullable; enabled: z.ZodBoolean; updatedAt: z.ZodString; }, z.core.$strict>; type ConversationServingGrant = z.infer; declare const ConversationServingExecutionSchema: z.ZodObject<{ id: z.ZodString; grantId: z.ZodString; revision: z.ZodNumber; jobId: z.ZodString; artifactHash: z.ZodString; priorBindingId: z.ZodString; bindingId: z.ZodNullable; restoredBindingId: z.ZodNullable; status: z.ZodEnum<{ failed: "failed"; active: "active"; superseded: "superseded"; rolled_back: "rolled_back"; binding: "binding"; prepared: "prepared"; canary: "canary"; rolling_back: "rolling_back"; }>; leaseId: z.ZodString; canarySeconds: z.ZodNumber; activatedAt: z.ZodNullable; failure: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; type ConversationServingExecution = z.infer; declare const StoredWorkEvidenceProjectionSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.storedWorkEvidenceProjection.v1">; sourceSessionId: z.ZodString; sourceTurnId: z.ZodString; sourceRevisionHash: z.ZodString; receipt: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.workEvidenceReceipt.v1">; id: z.ZodString; source: z.ZodObject<{ surface: z.ZodEnum<{ desktop: "desktop"; hosted: "hosted"; }>; experience: z.ZodEnum<{ work: "work"; development: "development"; }>; opaqueRef: z.ZodString; revisionHash: z.ZodString; }, z.core.$strict>; agentSnapshot: z.ZodNullable>; model: z.ZodObject<{ provider: z.ZodString; model: z.ZodString; revision: z.ZodDefault>; artifactHash: z.ZodDefault>; tokenizerRevision: z.ZodDefault>; chatTemplateHash: z.ZodDefault>; }, z.core.$strict>; runtime: z.ZodObject<{ adapterId: z.ZodString; adapterVersion: z.ZodString; capabilityRef: z.ZodNullable>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; inputHash: z.ZodString; terminal: z.ZodObject<{ status: z.ZodEnum<{ cancelled: "cancelled"; failed: "failed"; completed: "completed"; timeout: "timeout"; }>; failureClass: z.ZodNullable>; }, z.core.$strict>; trace: z.ZodObject<{ sanitizedRef: z.ZodObject<{ contentHash: z.ZodString; mediaType: z.ZodDefault>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>; traceHash: z.ZodString; sanitationPolicyVersion: z.ZodString; incomplete: z.ZodBoolean; }, z.core.$strict>; outputRefs: z.ZodArray>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; artifactRefs: z.ZodArray>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; validationEvidenceRefs: z.ZodArray>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; interventions: z.ZodObject<{ approvals: z.ZodNumber; questions: z.ZodNumber; steeringEvents: z.ZodNumber; otherUserInterventions: z.ZodNumber; }, z.core.$strict>; timing: z.ZodObject<{ startedAt: z.ZodString; completedAt: z.ZodString; latencyMs: z.ZodNumber; }, z.core.$strict>; usage: z.ZodObject<{ promptTokens: z.ZodNullable; completionTokens: z.ZodNullable; totalTokens: z.ZodNullable; }, z.core.$strict>; costUsd: z.ZodNullable; provenance: z.ZodObject<{ consentReceiptRef: z.ZodObject<{ contentHash: z.ZodString; mediaType: z.ZodDefault>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>; consentScope: z.ZodLiteral<"work_process_and_artifacts">; consentGrantedAt: z.ZodString; policyVersion: z.ZodString; projectorVersion: z.ZodString; disclosure: z.ZodLiteral<"portable_sanitized">; ownershipScope: z.ZodEnum<{ personal: "personal"; workspace: "workspace"; }>; workspaceRef: z.ZodNullable; participantPolicy: z.ZodEnum<{ creator_only: "creator_only"; all_participants: "all_participants"; }>; retention: z.ZodObject<{ policy: z.ZodLiteral<"source_bound">; deleteWithSource: z.ZodLiteral; expiresAt: z.ZodNullable; }, z.core.$strict>; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; trace: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.workProcessTrace.v1">; sourceRevisionHash: z.ZodString; sanitationPolicyVersion: z.ZodString; incomplete: z.ZodBoolean; incompleteReasons: z.ZodArray>; droppedEventCount: z.ZodNumber; steps: z.ZodArray; kind: z.ZodEnum<{ validation: "validation"; approval: "approval"; artifact: "artifact"; tool: "tool"; state_transition: "state_transition"; question: "question"; cleanup: "cleanup"; }>; action: z.ZodEnum<{ environment_destroyed: "environment_destroyed"; turn_started: "turn_started"; turn_completed: "turn_completed"; turn_failed: "turn_failed"; turn_cancelled: "turn_cancelled"; turn_timed_out: "turn_timed_out"; tool_invoked: "tool_invoked"; tool_completed: "tool_completed"; tool_failed: "tool_failed"; validation_completed: "validation_completed"; validation_failed: "validation_failed"; approval_requested: "approval_requested"; approval_resolved: "approval_resolved"; question_asked: "question_asked"; question_answered: "question_answered"; question_dismissed: "question_dismissed"; artifact_created: "artifact_created"; workspace_changed: "workspace_changed"; environment_created: "environment_created"; environment_reset: "environment_reset"; cleanup_completed: "cleanup_completed"; cleanup_failed: "cleanup_failed"; }>; status: z.ZodEnum<{ cancelled: "cancelled"; failed: "failed"; completed: "completed"; started: "started"; }>; inputHash: z.ZodNullable; outputHash: z.ZodNullable; receiptHash: z.ZodNullable; parentReceiptHash: z.ZodNullable; artifactRefs: z.ZodArray>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; attributes: z.ZodObject<{ toolCategory: z.ZodNullable>; validationKind: z.ZodNullable>; transitionState: z.ZodNullable>; interventionOutcome: z.ZodNullable>; artifactCount: z.ZodNumber; exitCode: z.ZodNullable; durationMs: z.ZodNullable; cpuTimeMs: z.ZodNullable; memoryPeakBytes: z.ZodNullable; errorClass: z.ZodNullable>; }, z.core.$strict>; }, z.core.$strict>>; contentHash: z.ZodString; }, z.core.$strict>; artifacts: z.ZodArray; visibility: z.ZodEnum<{ private: "private"; portable: "portable"; }>; ref: z.ZodNullable>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; contentHash: z.ZodString; path: z.ZodString; sizeBytes: z.ZodNumber; }, z.core.$strict>>; createdAt: z.ZodString; }, z.core.$strict>; declare const StoredWorkFeedbackSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.storedWorkFeedback.v1">; receipt: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.workFeedbackReceipt.v1">; id: z.ZodString; evidenceReceiptRef: z.ZodObject<{ contentHash: z.ZodString; mediaType: z.ZodDefault>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>; outputRevisionRef: z.ZodNullable>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; verdict: z.ZodEnum<{ accepted: "accepted"; needs_correction: "needs_correction"; not_useful: "not_useful"; }>; reasonCodes: z.ZodArray>; correctionRef: z.ZodNullable>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; correctedOutputRevisionRef: z.ZodNullable>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; actor: z.ZodLiteral<"user">; createdAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; artifacts: z.ZodArray; visibility: z.ZodEnum<{ private: "private"; portable: "portable"; }>; ref: z.ZodNullable>; sizeBytes: z.ZodDefault>; id: z.ZodString; }, z.core.$strict>>; contentHash: z.ZodString; path: z.ZodString; sizeBytes: z.ZodNumber; }, z.core.$strict>>; createdAt: z.ZodString; }, z.core.$strict>; type StoredWorkEvidenceProjection = z.infer & { receipt: WorkEvidenceReceipt; trace: WorkProcessTrace; }; type StoredWorkFeedback = z.infer & { receipt: WorkFeedbackReceipt; }; type HarnessEvaluationReviewCadence = "manual" | "daily" | "weekly"; type HarnessBackgroundReviewSettings = { enabled: boolean; updatedAt: string | null; }; type HarnessEvaluationReviewClassification = HarnessEvaluationReviewReceipt["classification"]; type HarnessEvaluationReviewSettings = { enabled: boolean; activityEnabled: boolean; activityBatchSize: number; cadence: HarnessEvaluationReviewCadence; maxEstimatedCostUsd: number; nextRunAt: string | null; lastRunAt: string | null; lastResult: { id: string; contentHash: string; classification: HarnessEvaluationReviewClassification; } | null; lastError: string | null; updatedAt: string | null; }; type HarnessImprovementArtifact = HarnessRunOverlay | HarnessEvaluationReviewReceipt | HarnessRefinementCandidate | HarnessRefinementCandidateLifecycleReceipt | HarnessCrossRunRefinementRequest | ModelImprovementQualificationReceipt | HarnessImprovementProposal | HarnessTargetedValidationReceipt | HarnessOverlayMergeReceipt | ImprovementObservation | RefinementTriggerDecision | ImprovementRouteDecision | ImprovementApplyReceipt | HarnessRefinerOutcome; type HarnessImprovementArtifactKind = "run_overlay" | "evaluation_review" | "refinement_candidate" | "refinement_candidate_lifecycle" | "cross_run_refinement_request" | "training_qualification" | "proposal" | "targeted_validation" | "merge_receipt" | "observation" | "trigger_decision" | "route_decision" | "apply_receipt" | "refiner_outcome"; type RemoteLocalAuthority = { deviceId: string; owner: DeviceLocalOwner; fence: number; grantRevision: number; leaseExpiresAt: string; publicKeys: RemoteDeviceServicePublicKey[]; }; declare const PonderProjectSharingInputSchema: z.ZodObject<{ project: z.ZodObject<{ projectId: z.ZodString; name: z.ZodString; cwd: z.ZodString; sourceFolders: z.ZodArray>; configurationHash: z.ZodString; revision: z.ZodString; }, z.core.$strict>; updatedAt: z.ZodString; owner: z.ZodObject<{ version: z.ZodLiteral<1>; installationId: z.ZodString; profileId: z.ZodString; ownerUserId: z.ZodString; teamId: z.ZodNullable; audience: z.ZodString; }, z.core.$strict>; shared: z.ZodBoolean; authority: z.ZodObject<{ scope: z.ZodObject<{ installationId: z.ZodString; profileId: z.ZodString; ownerUserId: z.ZodString; teamId: z.ZodString; bindingId: z.ZodString; bindingRevision: z.ZodNumber; }, z.core.$strict>; authorizationRevision: z.ZodNumber; }, z.core.$strict>; }, z.core.$strict>; type PonderProjectSharingInput = z.infer; declare function commitPonderDesktopResult(db: OpenPondSqliteConnection, value: PonderDesktopResult): { operationId: string; payloadHash: string; sessionId: string; sessionTitle: string; inputId: string | null; turnId: string; completedAt: string; outcome: "completed" | "failed" | "cancelled"; body: string; bodyTruncated: boolean; assistantEventIds: string[]; providerId: string; modelId: string | null; workspaceId: string; outputs: { id: string; title: string; contentType: string; sizeBytes: number; sha256: string; }[]; error: string | null; source?: { manifestHash: string; workspaceId: string; sessionId: string; turnId: string; baseCommit: string; fileCount: number; } | undefined; sourceError?: string | undefined; }; type MemoryAddress = { startIndex: number; entryCount: number; }; type MemoryViewEntry = MemoryAddress & { text: string; }; type MemoryView = { entries: MemoryViewEntry[]; entryCount: number; ceiling: number; compacting: boolean; revision: number; }; type MemoryPromptPrefix = { systemPrompt: string; tools: Tools; }; type MemoryViews = { format: 1; overview: MemoryView; compaction: MemoryView; compactionOverviewRevision: number; prefix: MemoryPromptPrefix | null; }; type PonderOriginal = { index: number; hash: string; turnId?: string | null; message: HostedChatMessage; }; type PonderHistoryState = { revision: number; failures?: Record; summaryConfiguration?: Record; sourceEvents?: RuntimeEvent[]; originals: PonderOriginal[]; summaries: Record; summarySourceHashes?: Record; views: MemoryViews; pending: string[]; leases?: Record; }; declare class SqlitePonderHistoryStore extends SqliteStoreDomain { pendingPonderHistorySessions(): Promise; readPonderHistory(sessionId: string): Promise; savePonderHistory(sessionId: string, expectedRevision: number, state: PonderHistoryState): Promise; latestPonderHistoryRequest(turnId: string, sessionId: string): Promise<{ messages: HostedChatMessage[]; metadata: Record; } | null>; getPonderHistoryRequest(requestId: string, sessionId: string): Promise<{ messages: HostedChatMessage[]; metadata: Record; } | null>; admitPonderHistoryRequest(requestId: string, sessionId: string, messages: HostedChatMessage[], metadata?: Record): Promise; } type HostedPonderBinding = { id: string; apiBaseUrl: string; teamId: string | null; }; type HostedPonderConnection = { enabled: boolean; revision: number; account: HostedPonderBinding | null; capability?: { available: boolean; reason: string | null; }; }; type HostedPonderJob = Omit & { revision: number; creationKey: string; payloadHash: string; request: { modelId: string; reasoningEffort?: string; attachments: { id: string; name: string; contentType: string; sizeBytes: number; }[]; }; events: PonderHostedAssignmentDetail["events"]; outputs: PonderHostedAssignmentDetail["outputs"]; cancelRequested: boolean; completionReceiptId: string | null; deliveryError: string | null; }; type AccountRequest = { path: string; method?: "GET" | "POST" | "PATCH" | "DELETE"; body?: Record; idempotencyKey?: string; timeoutMs?: number; signal?: AbortSignal; }; declare function createCapturedOpenPondPublicApiClient(context: RuntimeAccountContext, teamId?: string): { audience: string; request(params: AccountRequest): Promise>; }; type HostedPonderAccess = { account: HostedPonderBinding; client: ReturnType; }; type HostedPonderInput = { creationKey: string; payloadHash: string; account: HostedPonderAccess["account"]; descriptor: { id: string; name: string; contentType: string; sizeBytes: number; } | null; completed: boolean; }; declare function runtimeStoreMethods(context: SqliteDomainContext, lifecycle: StoreDomainLifecycle): { listConversationServingGrants: () => Promise; listConversationServingExecutions: (grantId: string) => Promise; saveConversationServingGrant: (raw: ConversationServingGrant, expectedRevision: number) => Promise<{ id: string; revision: number; ownerInstanceId: string; teamId: string; profileId: string; projectId: string; hostedModelId: string; role: "agent" | "extension" | "chat_manual" | "authoring_optimizer"; roleTargetId: string; expectedBindingId: string; policyId: string | null; authorizedConfigurationHash: string | null; enabled: boolean; updatedAt: string; }>; saveConversationServingExecution: (raw: ConversationServingExecution, expectedRevision: number) => Promise<{ id: string; grantId: string; revision: number; jobId: string; artifactHash: string; priorBindingId: string; bindingId: string | null; restoredBindingId: string | null; status: "failed" | "active" | "superseded" | "rolled_back" | "binding" | "prepared" | "canary" | "rolling_back"; leaseId: string; canarySeconds: number; activatedAt: string | null; failure: string | null; createdAt: string; updatedAt: string; }>; listChatWorkflows: (query?: { sessionId?: string | null; }) => Promise; listDueChatWorkflows: (nowIso: string, limit?: number) => Promise; getChatWorkflow: (id: string) => Promise; upsertChatWorkflow: (workflow: ChatWorkflow) => Promise; patchChatWorkflow: (id: string, updater: (workflow: ChatWorkflow) => ChatWorkflow) => Promise; deleteChatWorkflow: (id: string) => Promise; insertChatWorkflowRun: (run: ChatWorkflowRun) => Promise; listChatWorkflowRuns: (workflowId?: string | null, limit?: number) => Promise; patchChatWorkflowRun: (id: string, updater: (run: ChatWorkflowRun) => ChatWorkflowRun) => Promise; saveWorkEvidenceProjection: (input: StoredWorkEvidenceProjection) => Promise; getWorkEvidenceProjectionBySourceRevision: (sourceRevisionHash: string) => Promise; getWorkEvidenceProjection: (receiptId: string) => Promise; listWorkEvidenceProjections: (limit?: number) => Promise; saveWorkFeedback: (input: StoredWorkFeedback) => Promise; getWorkFeedback: (id: string) => Promise; listWorkFeedbackForEvidence: (receipt: WorkEvidenceReceipt) => Promise; listSidebarFileBookmarks: (scope: string) => Promise; patchSidebarFileBookmark: (scope: string, input: PatchSidebarFileBookmarkRequest) => Promise; listHarnessMemories: (workspaceId: string, options?: { includeDeleted?: boolean; }) => Promise; getHarnessMemory: (workspaceId: string, key: string) => Promise; writeHarnessMemory: (input: HarnessMemoryWrite) => Promise; getHarnessBackgroundReviewSettings: (workspaceId: string) => Promise; setHarnessBackgroundReviewSettings: (input: { workspaceId: string; enabled: boolean; updatedAt: string; }) => Promise; getHarnessEvaluationReviewSettings: (workspaceId: string) => Promise; setHarnessEvaluationReviewSettings: (input: { workspaceId: string; settings: HarnessEvaluationReviewSettings; }) => Promise; listHarnessRefinementCandidates: (workspaceId: string, status?: HarnessRefinementCandidate["status"]) => Promise; getHarnessRefinementCandidateByFingerprint: (workspaceId: string, fingerprint: string) => Promise; saveHarnessRefinementCandidateTransition: (input: { workspaceId: string; candidate: HarnessRefinementCandidate; receipt: HarnessRefinementCandidateLifecycleReceipt; }) => Promise; saveHarnessCrossRunRefinementRequestIfAbsent: (input: { workspaceId: string; request: HarnessCrossRunRefinementRequest; }) => Promise<{ request: HarnessCrossRunRefinementRequest; created: boolean; }>; createHarnessWorkspace: (input: HarnessWorkspace) => Promise; createHarnessWorkspaceWithRelease: (input: { workspace: HarnessWorkspace; release: LocalHarnessReleaseRecord; }) => Promise<{ workspace: HarnessWorkspace; release: LocalHarnessReleaseRecord; }>; getHarnessWorkspace: (id: string) => Promise; listHarnessWorkspaces: (input?: { ownerKind?: "personal" | "team"; ownerId?: string; }) => Promise; selectHarnessWorkspace: (input: { ownerKind: "personal" | "team"; ownerId: string; workspaceId: string; updatedAt: string; }) => Promise; getSelectedHarnessWorkspace: (input: { ownerKind: "personal" | "team"; ownerId: string; }) => Promise; updateHarnessWorkspaceSourceRevisionAtomically: (input: { workspaceId: string; expectedWorkspaceRevision: number; expectedSourceRevision: string; nextSourceRevision: string; updatedAt: string; }) => Promise; saveHarnessReleaseRecord: (input: LocalHarnessReleaseRecord) => Promise; getHarnessReleaseRecord: (contentHash: string) => Promise; listHarnessReleaseRecords: (workspaceId: string) => Promise; saveHarnessImprovementArtifact: (workspaceId: string, kind: HarnessImprovementArtifactKind, input: HarnessImprovementArtifact) => Promise; listHarnessImprovementArtifacts: (workspaceId: string, kind: HarnessImprovementArtifactKind, limit?: number) => Promise; listPendingHarnessRefinerTriggers: () => Promise>; createHarnessRunOverlay: (input: HarnessRunOverlay) => Promise; getHarnessRunOverlay: (runId: string) => Promise; appendHarnessRunOverlayEditsAtomically: (input: { runId: string; expectedRevision: number; edits: HarnessRunOverlay["edits"]; updatedAt: string; }) => Promise; freezeHarnessRunOverlayAtomically: (input: { runId: string; expectedRevision: number; updatedAt: string; }) => Promise; abandonHarnessRunOverlayAtomically: (input: { runId: string; expectedRevision: number; updatedAt: string; }) => Promise; restoreHarnessRunOverlayAtomically: (input: { runId: string; expectedRevision: number; restoreRevision: number; updatedAt: string; }) => Promise; freezeHarnessRunOverlayWithProposalAtomically: (input: { runId: string; expectedRevision: number; edits: HarnessRunOverlay["edits"]; updatedAt: string; buildProposal: (frozenOverlay: HarnessRunOverlay) => HarnessImprovementProposal; }) => Promise<{ overlay: HarnessRunOverlay; proposal: HarnessImprovementProposal; }>; advanceHarnessWorkspaceAtomically: (input: { receiptId: string; workspaceId: string; proposal: HarnessImprovementProposal; validations: HarnessTargetedValidationReceipt[]; nextRelease: ImmutableReleaseRef; nextSourceRevision: string; now: string; }) => Promise<{ workspace: HarnessWorkspace; receipt: HarnessAdvanceReceipt; }>; rollbackHarnessWorkspaceAtomically: (input: { receiptId: string; workspaceId: string; expectedWorkspaceRevision: number; expectedChannelRevision: number; targetRelease: ImmutableReleaseRef; targetSourceRevision: string; rollbackOf: ImmutableReleaseRef; now: string; }) => Promise<{ workspace: HarnessWorkspace; receipt: HarnessAdvanceReceipt; }>; advanceReviewedHarnessWorkspaceAtomically: (input: { receiptId: string; workspaceId: string; proposal: HarnessImprovementProposal; validations: HarnessTargetedValidationReceipt[]; nextRelease: ImmutableReleaseRef; nextSourceRevision: string; reviewer: string; now: string; }) => Promise<{ workspace: HarnessWorkspace; receipt: HarnessAdvanceReceipt; }>; listHarnessAdvanceReceipts: (workspaceId: string) => Promise; localPonderState: () => Promise; saveLocalPonderState: (value: LocalPonderCoordinator) => Promise; localPonderAgents: () => Promise; registerLocalPonderAgent: (value: LocalPonderRelationship) => Promise; assertLocalPonderInput: (input: Pick) => Promise; initializeRemoteDeviceStore: () => Promise; setRemoteDeviceAuthority: (authority: RemoteLocalAuthority | null) => Promise; getRemoteDeviceReceipt: (id: string) => Promise; getRemoteDeviceCancellation: (id: string) => Promise<{ payload_hash: string; device_id: string; } | null>; cancelRemoteDeviceCommand: (id: string, payloadHash: string) => Promise<{ receipt: RemoteCommandReceipt; cancelled: boolean; } | { receipt: null; cancelled: boolean; }>; saveRemoteDeviceReceipt: (command: RemoteDispatchCommand, receipt: RemoteCommandReceipt) => Promise; admitRemoteDeviceStop: (command: RemoteDispatchCommand) => Promise; admitRemoteDeviceApproval: (command: RemoteDispatchCommand) => Promise; admitPonderDesktopInspection: (operation: PonderDesktopOperation) => Promise<{ operation: { id: string; origin: { scope: { installationId: string; profileId: string; ownerUserId: string; teamId: string; bindingId: string; bindingRevision: number; }; epoch: string; originChatTurnId: string; originToolCallId: string; authorizationRevision: number; humanControlId?: string | undefined; }; payloadHash: string; intent: { action: "create"; prompt: string; title: string; targetId: string; targetRevision: string; } | { action: "message"; prompt: string; targetId: string; targetRevision: string; } | { action: "steer"; prompt: string; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "stop"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "observe"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "inspect"; expectedTurnId: string; targetId: string; targetRevision: string; }; target: { id: string; kind: "session" | "starter"; title: string; providerId: string; modelId: string | null; experience: "chat" | "work"; workspaceId: string; workspaceLabel: string; profileSelectionId: string | null; revision: string; available: boolean; unavailableReason: string | null; canMessage: boolean; canSteer: boolean; canStop: boolean; activeTurnId: string | null; }; state: "completed" | "failed" | "ready" | "cancelled" | "attention" | "dispatching" | "admitted" | "expired"; claimId: string | null; claimedEpoch: string | null; expiresAt: string; admittedAt: string | null; createdAt: string; updatedAt: string; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; } | null; error: string | null; workflow?: { handoffId: string; title: string; kind: "review"; role: "preparation" | "successor"; prerequisiteOperationId: string; prerequisiteSessionId: string; preparationOperationId?: string | undefined; source?: { manifestHash: string; workspaceId: string; sessionId: string; turnId: string; baseCommit: string; fileCount: number; } | undefined; } | undefined; }; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; }; inspection: { operationId: string; payloadHash: string; sessionId: string; sessionTitle: string; turnId: string; workspaceId: string; providerId: string; modelId: string | null; capturedAt: string; taskStatus: "completed" | "failed" | "in_progress" | "interrupted"; taskCompletedAt: string | null; error: string | null; events: { id: string; sequence: number; timestamp: string; kind: "assistant.delta" | "tool.started" | "tool.completed"; text: string; action: string | null; status: "started" | "completed" | "failed" | "pending" | null; messageId: string | null; messageSnapshot: boolean; }[]; coverage: { olderEventsOmitted: boolean; textTruncated: boolean; textLimit: 16000; eventLimit: 100; }; }; }>; getPonderDesktopInspection: (id: string) => Promise<{ operation: { id: string; origin: { scope: { installationId: string; profileId: string; ownerUserId: string; teamId: string; bindingId: string; bindingRevision: number; }; epoch: string; originChatTurnId: string; originToolCallId: string; authorizationRevision: number; humanControlId?: string | undefined; }; payloadHash: string; intent: { action: "create"; prompt: string; title: string; targetId: string; targetRevision: string; } | { action: "message"; prompt: string; targetId: string; targetRevision: string; } | { action: "steer"; prompt: string; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "stop"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "observe"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "inspect"; expectedTurnId: string; targetId: string; targetRevision: string; }; target: { id: string; kind: "session" | "starter"; title: string; providerId: string; modelId: string | null; experience: "chat" | "work"; workspaceId: string; workspaceLabel: string; profileSelectionId: string | null; revision: string; available: boolean; unavailableReason: string | null; canMessage: boolean; canSteer: boolean; canStop: boolean; activeTurnId: string | null; }; state: "completed" | "failed" | "ready" | "cancelled" | "attention" | "dispatching" | "admitted" | "expired"; claimId: string | null; claimedEpoch: string | null; expiresAt: string; admittedAt: string | null; createdAt: string; updatedAt: string; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; } | null; error: string | null; workflow?: { handoffId: string; title: string; kind: "review"; role: "preparation" | "successor"; prerequisiteOperationId: string; prerequisiteSessionId: string; preparationOperationId?: string | undefined; source?: { manifestHash: string; workspaceId: string; sessionId: string; turnId: string; baseCommit: string; fileCount: number; } | undefined; } | undefined; }; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; }; inspection: { operationId: string; payloadHash: string; sessionId: string; sessionTitle: string; turnId: string; workspaceId: string; providerId: string; modelId: string | null; capturedAt: string; taskStatus: "completed" | "failed" | "in_progress" | "interrupted"; taskCompletedAt: string | null; error: string | null; events: { id: string; sequence: number; timestamp: string; kind: "assistant.delta" | "tool.started" | "tool.completed"; text: string; action: string | null; status: "started" | "completed" | "failed" | "pending" | null; messageId: string | null; messageSnapshot: boolean; }[]; coverage: { olderEventsOmitted: boolean; textTruncated: boolean; textLimit: 16000; eventLimit: 100; }; }; } | null>; setPonderProjectSharing: (sharing: PonderProjectSharingInput) => Promise<{ revision: number; owner: { version: 1; installationId: string; profileId: string; ownerUserId: string; teamId: string | null; audience: string; }; authority: { scope: { installationId: string; profileId: string; ownerUserId: string; teamId: string; bindingId: string; bindingRevision: number; }; authorizationRevision: number; }; project: { projectId: string; name: string; cwd: string; sourceFolders: { path: string; realpath: string; }[]; configurationHash: string; revision: string; }; shared: boolean; updatedAt: string; }>; readPonderProjectSharing: (owner: DeviceLocalOwner) => Promise<{ revision: number; owner: { version: 1; installationId: string; profileId: string; ownerUserId: string; teamId: string | null; audience: string; }; authority: { scope: { installationId: string; profileId: string; ownerUserId: string; teamId: string; bindingId: string; bindingRevision: number; }; authorizationRevision: number; }; project: { projectId: string; name: string; cwd: string; sourceFolders: { path: string; realpath: string; }[]; configurationHash: string; revision: string; }; shared: boolean; updatedAt: string; }[]>; getPonderDesktopReservationResume: (operation: PonderDesktopOperation, owner: DeviceLocalOwner) => Promise<{ sessionId: string; creationHash: string; sessionRevision: string; executionRevision: string; } | null>; admitPonderDesktopObservation: (operation: PonderDesktopOperation) => Promise<{ operation: { id: string; origin: { scope: { installationId: string; profileId: string; ownerUserId: string; teamId: string; bindingId: string; bindingRevision: number; }; epoch: string; originChatTurnId: string; originToolCallId: string; authorizationRevision: number; humanControlId?: string | undefined; }; payloadHash: string; intent: { action: "create"; prompt: string; title: string; targetId: string; targetRevision: string; } | { action: "message"; prompt: string; targetId: string; targetRevision: string; } | { action: "steer"; prompt: string; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "stop"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "observe"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "inspect"; expectedTurnId: string; targetId: string; targetRevision: string; }; target: { id: string; kind: "session" | "starter"; title: string; providerId: string; modelId: string | null; experience: "chat" | "work"; workspaceId: string; workspaceLabel: string; profileSelectionId: string | null; revision: string; available: boolean; unavailableReason: string | null; canMessage: boolean; canSteer: boolean; canStop: boolean; activeTurnId: string | null; }; state: "completed" | "failed" | "ready" | "cancelled" | "attention" | "dispatching" | "admitted" | "expired"; claimId: string | null; claimedEpoch: string | null; expiresAt: string; admittedAt: string | null; createdAt: string; updatedAt: string; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; } | null; error: string | null; workflow?: { handoffId: string; title: string; kind: "review"; role: "preparation" | "successor"; prerequisiteOperationId: string; prerequisiteSessionId: string; preparationOperationId?: string | undefined; source?: { manifestHash: string; workspaceId: string; sessionId: string; turnId: string; baseCommit: string; fileCount: number; } | undefined; } | undefined; }; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; }; }>; getPonderDesktopObservation: (id: string) => Promise<{ operation: { id: string; origin: { scope: { installationId: string; profileId: string; ownerUserId: string; teamId: string; bindingId: string; bindingRevision: number; }; epoch: string; originChatTurnId: string; originToolCallId: string; authorizationRevision: number; humanControlId?: string | undefined; }; payloadHash: string; intent: { action: "create"; prompt: string; title: string; targetId: string; targetRevision: string; } | { action: "message"; prompt: string; targetId: string; targetRevision: string; } | { action: "steer"; prompt: string; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "stop"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "observe"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "inspect"; expectedTurnId: string; targetId: string; targetRevision: string; }; target: { id: string; kind: "session" | "starter"; title: string; providerId: string; modelId: string | null; experience: "chat" | "work"; workspaceId: string; workspaceLabel: string; profileSelectionId: string | null; revision: string; available: boolean; unavailableReason: string | null; canMessage: boolean; canSteer: boolean; canStop: boolean; activeTurnId: string | null; }; state: "completed" | "failed" | "ready" | "cancelled" | "attention" | "dispatching" | "admitted" | "expired"; claimId: string | null; claimedEpoch: string | null; expiresAt: string; admittedAt: string | null; createdAt: string; updatedAt: string; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; } | null; error: string | null; workflow?: { handoffId: string; title: string; kind: "review"; role: "preparation" | "successor"; prerequisiteOperationId: string; prerequisiteSessionId: string; preparationOperationId?: string | undefined; source?: { manifestHash: string; workspaceId: string; sessionId: string; turnId: string; baseCommit: string; fileCount: number; } | undefined; } | undefined; }; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; }; } | null>; getPonderDesktopResult: (operationId: string, turnId: string) => Promise<{ operationId: string; payloadHash: string; sessionId: string; sessionTitle: string; inputId: string | null; turnId: string; completedAt: string; outcome: "completed" | "failed" | "cancelled"; body: string; bodyTruncated: boolean; assistantEventIds: string[]; providerId: string; modelId: string | null; workspaceId: string; outputs: { id: string; title: string; contentType: string; sizeBytes: number; sha256: string; }[]; error: string | null; source?: { manifestHash: string; workspaceId: string; sessionId: string; turnId: string; baseCommit: string; fileCount: number; } | undefined; sourceError?: string | undefined; } | null>; commitPonderDesktopResult: (value: Parameters[1]) => Promise<{ operationId: string; payloadHash: string; sessionId: string; sessionTitle: string; inputId: string | null; turnId: string; completedAt: string; outcome: "completed" | "failed" | "cancelled"; body: string; bodyTruncated: boolean; assistantEventIds: string[]; providerId: string; modelId: string | null; workspaceId: string; outputs: { id: string; title: string; contentType: string; sizeBytes: number; sha256: string; }[]; error: string | null; source?: { manifestHash: string; workspaceId: string; sessionId: string; turnId: string; baseCommit: string; fileCount: number; } | undefined; sourceError?: string | undefined; }>; setPonderDesktopAuthority: (value: PonderDesktopAttachment) => Promise; clearPonderDesktopAuthority: (runtimeId?: string) => Promise; admitPonderDesktopStop: (operation: PonderDesktopOperation) => Promise<{ operation: { id: string; origin: { scope: { installationId: string; profileId: string; ownerUserId: string; teamId: string; bindingId: string; bindingRevision: number; }; epoch: string; originChatTurnId: string; originToolCallId: string; authorizationRevision: number; humanControlId?: string | undefined; }; payloadHash: string; intent: { action: "create"; prompt: string; title: string; targetId: string; targetRevision: string; } | { action: "message"; prompt: string; targetId: string; targetRevision: string; } | { action: "steer"; prompt: string; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "stop"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "observe"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "inspect"; expectedTurnId: string; targetId: string; targetRevision: string; }; target: { id: string; kind: "session" | "starter"; title: string; providerId: string; modelId: string | null; experience: "chat" | "work"; workspaceId: string; workspaceLabel: string; profileSelectionId: string | null; revision: string; available: boolean; unavailableReason: string | null; canMessage: boolean; canSteer: boolean; canStop: boolean; activeTurnId: string | null; }; state: "completed" | "failed" | "ready" | "cancelled" | "attention" | "dispatching" | "admitted" | "expired"; claimId: string | null; claimedEpoch: string | null; expiresAt: string; admittedAt: string | null; createdAt: string; updatedAt: string; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; } | null; error: string | null; workflow?: { handoffId: string; title: string; kind: "review"; role: "preparation" | "successor"; prerequisiteOperationId: string; prerequisiteSessionId: string; preparationOperationId?: string | undefined; source?: { manifestHash: string; workspaceId: string; sessionId: string; turnId: string; baseCommit: string; fileCount: number; } | undefined; } | undefined; }; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; }; }>; getPonderDesktopStop: (id: string) => Promise<{ operation: { id: string; origin: { scope: { installationId: string; profileId: string; ownerUserId: string; teamId: string; bindingId: string; bindingRevision: number; }; epoch: string; originChatTurnId: string; originToolCallId: string; authorizationRevision: number; humanControlId?: string | undefined; }; payloadHash: string; intent: { action: "create"; prompt: string; title: string; targetId: string; targetRevision: string; } | { action: "message"; prompt: string; targetId: string; targetRevision: string; } | { action: "steer"; prompt: string; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "stop"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "observe"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "inspect"; expectedTurnId: string; targetId: string; targetRevision: string; }; target: { id: string; kind: "session" | "starter"; title: string; providerId: string; modelId: string | null; experience: "chat" | "work"; workspaceId: string; workspaceLabel: string; profileSelectionId: string | null; revision: string; available: boolean; unavailableReason: string | null; canMessage: boolean; canSteer: boolean; canStop: boolean; activeTurnId: string | null; }; state: "completed" | "failed" | "ready" | "cancelled" | "attention" | "dispatching" | "admitted" | "expired"; claimId: string | null; claimedEpoch: string | null; expiresAt: string; admittedAt: string | null; createdAt: string; updatedAt: string; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; } | null; error: string | null; workflow?: { handoffId: string; title: string; kind: "review"; role: "preparation" | "successor"; prerequisiteOperationId: string; prerequisiteSessionId: string; preparationOperationId?: string | undefined; source?: { manifestHash: string; workspaceId: string; sessionId: string; turnId: string; baseCommit: string; fileCount: number; } | undefined; } | undefined; }; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; }; } | null>; settlePonderDesktopStop: (id: string, state: "interrupted" | "already_finished") => Promise<{ operation: { id: string; origin: { scope: { installationId: string; profileId: string; ownerUserId: string; teamId: string; bindingId: string; bindingRevision: number; }; epoch: string; originChatTurnId: string; originToolCallId: string; authorizationRevision: number; humanControlId?: string | undefined; }; payloadHash: string; intent: { action: "create"; prompt: string; title: string; targetId: string; targetRevision: string; } | { action: "message"; prompt: string; targetId: string; targetRevision: string; } | { action: "steer"; prompt: string; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "stop"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "observe"; expectedTurnId: string; targetId: string; targetRevision: string; } | { action: "inspect"; expectedTurnId: string; targetId: string; targetRevision: string; }; target: { id: string; kind: "session" | "starter"; title: string; providerId: string; modelId: string | null; experience: "chat" | "work"; workspaceId: string; workspaceLabel: string; profileSelectionId: string | null; revision: string; available: boolean; unavailableReason: string | null; canMessage: boolean; canSteer: boolean; canStop: boolean; activeTurnId: string | null; }; state: "completed" | "failed" | "ready" | "cancelled" | "attention" | "dispatching" | "admitted" | "expired"; claimId: string | null; claimedEpoch: string | null; expiresAt: string; admittedAt: string | null; createdAt: string; updatedAt: string; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; } | null; error: string | null; workflow?: { handoffId: string; title: string; kind: "review"; role: "preparation" | "successor"; prerequisiteOperationId: string; prerequisiteSessionId: string; preparationOperationId?: string | undefined; source?: { manifestHash: string; workspaceId: string; sessionId: string; turnId: string; baseCommit: string; fileCount: number; } | undefined; } | undefined; }; receipt: { sessionId: string; sessionTitle: string; inputId: string | null; turnId: string | null; state: string; }; }>; recoverTaskInboxOwners: (ownerId: string) => Promise>; hasTaskCompletion: (turnId: string) => Promise; taskInboxSnapshot: (sessionId: string) => Promise; declareTaskWork: (sessionId: string, turnId: string, ownerId: string, areas: string[]) => Promise; taskWorkAreas: (sessionId: string) => Promise; admitTaskInput: (input: TaskInputAdmission) => Promise; admitTaskInputs: (inputs: TaskInputAdmission[]) => Promise; rejectTaskInput: (id: string, error: string, executionTurnId?: string) => Promise; getTaskInput: (id: string) => Promise; taskInputsForSession: (sessionId: string, query?: { afterSequence?: number; pendingOnly?: boolean; limit?: number; }) => Promise; mutateTaskInput: (sessionId: string, inputId: string, change: TaskInputMutation) => Promise; openTaskInboxTurn: (sessionId: string, turnId: string, ownerId: string) => Promise; renewTaskInboxTurn: (sessionId: string, turnId: string, ownerId: string) => Promise; pendingTaskInputs: (sessionId: string, turnId: string) => Promise; taskAssignmentInputs: (turnId: string) => Promise; pauseTaskInboxTurn: (sessionId: string, turnId: string, ownerId: string) => Promise; includeTaskInputs: (sessionId: string, turnId: string, ownerId: string, requestId: string) => Promise; settleTaskInputRequest: (requestId: string, outcome: "resolved" | "failed" | "replaced") => Promise; sealTaskInboxTurn: (sessionId: string, turnId: string, ownerId: string) => Promise; sealNativeTaskInboxTurn: (sessionId: string, turnId: string, ownerId: string) => Promise; closeTaskInboxTurn: (sessionId: string, turnId: string, ownerId: string, outcome: "completed" | "failed" | "interrupted") => Promise; taskInboxPaused: (sessionId: string) => Promise; reserveTaskFollowup: (sessionId: string, turnId: string, ownerId: string) => Promise; taskInboxWakeTargets: () => Promise; createTaskWait: (value: TaskWait) => Promise; settleTaskWait: (id: string, state: TaskWait["state"]) => Promise; taskWaitsForSession: (sessionId: string) => Promise; commitSubagentCompletion: (value: SubagentRun, turnId: string) => Promise; pendingTaskCompletions: (afterTurnId?: string) => Promise>; settleTaskCompletion: (turnId: string, inputId: string) => Promise; getSidebarAppPreferences: (scope: string) => Promise; patchSidebarAppPreference: (scope: string, appId: string, patch: SidebarAppPreference) => Promise; reorderSidebarApps: (scope: string, appIds: string[]) => Promise; upsertModelUsageRecord: (record: ModelUsageRecord) => Promise; getModelUsageRecordByRequestId: (requestId: string) => Promise; listModelUsageRecords: (query?: { sessionId?: string | null; turnId?: string | null; provider?: ModelUsageRecord["provider"] | null; model?: string | null; startedAtFrom?: string | null; startedAtTo?: string | null; visibility?: ModelUsageVisibility | "all" | null; status?: ModelUsageStatus | "missing" | "all" | null; limit?: number; }) => Promise; latestContextUsageForTurn: (sessionId: string, turnId: string) => Promise; getPersistedSubagentRun: (id: string) => Promise; upsertPersistedSubagentRun: (run: SubagentRun) => Promise; upsertSubagentRun: (run: SubagentRun) => Promise; recordRetainedWorkspaceExpiryWarning: (runId: string, warning: Record) => Promise; getSubagentRun: (id: string) => Promise; listSubagentRuns: (query?: { parentSessionId?: string | null; childSessionId?: string | null; status?: SubagentRun["status"] | readonly SubagentRun["status"][] | null; limit?: number; }) => Promise; listActiveSubagentRuns: (query?: { parentSessionId?: string | null; childSessionId?: string | null; status?: SubagentRun["status"] | readonly SubagentRun["status"][] | null; limit?: number; }) => Promise; listSubagentRunScopes: (query?: { status?: SubagentRun["status"] | readonly SubagentRun["status"][] | null; updatedAtFrom?: string | null; limit?: number; }) => Promise>; listStaleSubagentRuns: (query: { olderThanMs: number; nowIso?: string | null; parentSessionId?: string | null; childSessionId?: string | null; status?: SubagentRun["status"] | readonly SubagentRun["status"][] | null; limit?: number; }) => Promise; appendSubagentMessage: (message: SubagentMessage) => Promise; listSubagentMessages: (query?: { fromRunId?: string | null; toRunId?: string | null; toRole?: string | null; limit?: number; }) => Promise; listLocalAgentSchedules: (query?: { localProjectId?: string | null; enabled?: boolean | null; }) => Promise; listDueLocalAgentSchedules: (nowIso: string, limit?: number) => Promise; getLocalAgentSchedule: (id: string) => Promise; upsertLocalAgentSchedule: (schedule: LocalAgentSchedule) => Promise; deleteLocalAgentSchedulesNotIn: (localProjectId: string, scheduleIds: string[]) => Promise; patchLocalAgentSchedule: (id: string, updater: (schedule: LocalAgentSchedule) => LocalAgentSchedule) => Promise; insertLocalAgentScheduleRun: (run: LocalAgentScheduleRun) => Promise; getLocalAgentScheduleRun: (id: string) => Promise; listLocalAgentScheduleRuns: (scheduleId: string, limit?: number) => Promise; patchLocalAgentScheduleRun: (id: string, updater: (run: LocalAgentScheduleRun) => LocalAgentScheduleRun) => Promise; pendingPonderHistorySessions: () => Promise; readPonderHistory: (sessionId: string) => Promise; savePonderHistory: (sessionId: string, expectedRevision: number, state: PonderHistoryState) => Promise; latestPonderHistoryRequest: (turnId: string, sessionId: string) => Promise<{ messages: HostedChatMessage[]; metadata: Record; } | null>; getPonderHistoryRequest: (requestId: string, sessionId: string) => Promise<{ messages: HostedChatMessage[]; metadata: Record; } | null>; admitPonderHistoryRequest: (requestId: string, sessionId: string, messages: HostedChatMessage[], metadata?: Record) => Promise; reserveHostedPonderInput: (input: HostedPonderInput) => Promise; saveHostedPonderInput: (input: HostedPonderInput) => Promise; hostedPonderConnection: (coordinatorId: string) => Promise; configureHostedPonderConnection: (coordinatorId: string, expectedRevision: number, enabled: boolean, account: HostedPonderBinding | null, capability?: HostedPonderConnection["capability"]) => Promise; hostedPonderJobs: (coordinatorId: string) => Promise; reserveHostedPonderJob: (job: HostedPonderJob) => Promise; saveHostedPonderJob: (job: HostedPonderJob) => Promise; }; type DatasetCatalogTasksetProjection = { tasksetId: string; tasksetRevision: number; artifactId: string | null; name: string; status: Taskset["status"]; storageKind: "inline" | "parquet"; rowCount: number; splitCounts: { train: number; validation: number; test: number; frozen_eval: number; }; createdAt: string; updatedAt: string; }; type TasksetDraftWorkspace = { draftId: string; workspacePath: string; packageHash: string; }; interface LocalTaskInventorySource { id: string; profileId: string; hash: string; revision: number; draft: boolean; modelId: string | null; } declare const ModelPackageOperationSchema: z.ZodObject<{ apiOrigin: z.ZodString; teamId: z.ZodString; project: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.modelProject.v2">; id: z.ZodString; profileId: z.ZodString; revision: z.ZodDefault; name: z.ZodString; objective: z.ZodNullable; defaultBaseModel: z.ZodNullable; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>; defaultDestinationId: z.ZodNullable; trainingSetup: z.ZodObject<{ tasksetRef: z.ZodDefault>>; evaluationTasksetRef: z.ZodOptional>>; profileSource: z.ZodOptional; }, z.core.$strict>>>; profileEvaluation: z.ZodOptional; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; rewardBindingRef: z.ZodOptional>>; tasksetRelease: z.ZodDefault>>; harnessRelease: z.ZodDefault>>; baseModel: z.ZodDefault; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>>; method: z.ZodDefault>>; destinationId: z.ZodDefault>; managedRolloutPlacement: z.ZodDefault>; managedGpuPlacementObjective: z.ZodDefault>; managedGpuSelection: z.ZodOptional; objective: z.ZodEnum<{ balanced: "balanced"; fast: "fast"; economical: "economical"; }>; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"manual">; availabilityId: z.ZodString; gpuType: z.ZodString; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict> ], "mode">>; continuationAdapterMode: z.ZodOptional>; managedGpuRequirement: z.ZodDefault>; runPreset: z.ZodDefault>>; recipe: z.ZodDefault; parameterization: z.ZodEnum<{ lora: "lora"; full: "full"; }>; }, z.core.$catchall>>>; preferredMaximumSpendUsd: z.ZodDefault>; preferredRetentionDays: z.ZodDefault>; }, z.core.$strict>; hosted: z.ZodDefault; apiOrigin: z.ZodDefault>; teamId: z.ZodString; projectId: z.ZodString; portableProjectId: z.ZodString; revision: z.ZodNumber; etag: z.ZodString; syncedSourceRevision: z.ZodNumber; syncedAt: z.ZodString; tasksets: z.ZodDefault>; releaseId: z.ZodString; releaseRevision: z.ZodNumber; releaseHash: z.ZodString; packageHash: z.ZodDefault>; hostedTasksetId: z.ZodString; syncedAt: z.ZodString; }, z.core.$strict>>>; }, z.core.$strict>>>; tasksetSyncs: z.ZodDefault; hostedTasksetId: z.ZodDefault>; lastAttemptAt: z.ZodString; syncedAt: z.ZodDefault>; lastError: z.ZodDefault>; }, z.core.$strict>>>; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strict>; localTaskset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; localEvaluation: z.ZodOptional>; evaluationPackageHash: z.ZodOptional; packageHash: z.ZodString; request: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetPackagePublication.v1">; operationId: z.ZodString; modelProjectId: z.ZodString; expectedProjectEtag: z.ZodNullable; name: z.ZodString; description: z.ZodString; buildIntent: z.ZodEnum<{ preferences: "preferences"; rubric: "rubric"; demonstrations: "demonstrations"; verifiable_reward: "verifiable_reward"; discovery: "discovery"; }>; methodHint: z.ZodNullable>; modelConfiguration: z.ZodOptional; sourceRevision: z.ZodNumber; portableProjectId: z.ZodString; defaultBaseModel: z.ZodNullable; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>; defaultDestinationId: z.ZodNullable; sourceUpdatedAt: z.ZodString; trainingSetup: z.ZodObject<{ harnessRelease: z.ZodDefault>>; method: z.ZodDefault>>; evaluationTasksetRef: z.ZodOptional>>; profileSource: z.ZodOptional; }, z.core.$strict>>>; profileEvaluation: z.ZodOptional; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>>; baseModel: z.ZodDefault; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>>>; destinationId: z.ZodDefault>; managedRolloutPlacement: z.ZodDefault>; managedGpuPlacementObjective: z.ZodDefault>; managedGpuSelection: z.ZodOptional; objective: z.ZodEnum<{ balanced: "balanced"; fast: "fast"; economical: "economical"; }>; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"manual">; availabilityId: z.ZodString; gpuType: z.ZodString; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict> ], "mode">>; continuationAdapterMode: z.ZodOptional>; managedGpuRequirement: z.ZodDefault>; runPreset: z.ZodDefault>>; recipe: z.ZodDefault; parameterization: z.ZodEnum<{ lora: "lora"; full: "full"; }>; }, z.core.$catchall>>>; preferredMaximumSpendUsd: z.ZodDefault>; preferredRetentionDays: z.ZodDefault>; }, z.core.$strict>; }, z.core.$strict>>; selection: z.ZodOptional>; }, z.core.$strict>; }, z.core.$strict>; type ModelPackageOperation = z.infer; type ModelPackageScope = { profileId: string; modelId: string; apiOrigin: string; teamId: string; }; declare const ModelTasksetPackageSchema: z.ZodObject<{ taskset: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetRelease.v2">; id: z.ZodString; revision: z.ZodNumber; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strict>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; environmentRelease: z.ZodOptional>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilities: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; tasks: z.ZodArray; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; artifactRefs: z.ZodDefault; }, z.core.$strict>>>; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; tags: z.ZodDefault>; }, z.core.$strict>>; graders: z.ZodArray>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodEnum<{ content: "content"; schema: "schema"; artifact: "artifact"; runtime_event: "runtime_event"; state: "state"; }>; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"human">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; }, z.core.$strict> ]>>; verifierSetRelease: z.ZodOptional>; metrics: z.ZodOptional; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; taskDefinition: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.taskDefinition.v1">; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; description: z.ZodString; instructions: z.ZodString; category: z.ZodEnum<{ custom: "custom"; structured: "structured"; question_answering: "question_answering"; coding: "coding"; tool_workflow: "tool_workflow"; }>; familyNamespace: z.ZodString; inputSchema: z.ZodRecord; outputSchema: z.ZodRecord; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; contextRequirements: z.ZodOptional>; rewardBinding: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; harness: z.ZodNullable>; execution: z.ZodObject<{ policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strict>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; environmentRelease: z.ZodOptional>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilities: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; verifierSetRelease: z.ZodOptional>; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; rewardBinding: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.rewardBinding.v1">; id: z.ZodString; revision: z.ZodNumber; name: z.ZodOptional; description: z.ZodOptional; recipeRef: z.ZodOptional>; sources: z.ZodArray>; reward: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; role: z.ZodEnum<{ evaluation: "evaluation"; training: "training"; }>; normalization: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"identity">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"linear">; minimum: z.ZodNumber; maximum: z.ZodNumber; direction: z.ZodEnum<{ higher: "higher"; lower: "lower"; }>; }, z.core.$strict> ], "kind">; weight: z.ZodNumber; required: z.ZodBoolean; hardGate: z.ZodBoolean; privileged: z.ZodBoolean; fixtureRefs: z.ZodArray>; }, z.core.$strict>>; aggregation: z.ZodLiteral<"weighted_mean">; unscorable: z.ZodLiteral<"exclude_optional_require_all_required">; contentHash: z.ZodString; }, z.core.$strict>; rewards: z.ZodArray; id: z.ZodString; revision: z.ZodNumber; name: z.ZodString; description: z.ZodString; feedbackKey: z.ZodOptional; implementation: z.ZodUnion; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"human">; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"learned_model">; modelVersion: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; inputContract: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; }, z.core.$strict> ]>; rawScore: z.ZodObject<{ minimum: z.ZodNumber; maximum: z.ZodNumber; }, z.core.$strict>; assets: z.ZodArray; }, z.core.$strict>>; fixtureSetRef: z.ZodOptional; }, z.core.$strict>>; calibrationCheckRef: z.ZodOptional>; contentHash: z.ZodString; }, z.core.$strict>>; assets: z.ZodArray; id: z.ZodString; revision: z.ZodLiteral<1>; asset: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; text: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>>; executionResources: z.ZodOptional; id: z.ZodString; revision: z.ZodNumber; contract: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; actionSchemaRef: z.ZodNullable; }, z.core.$strict>>; observationSchemaRef: z.ZodNullable; }, z.core.$strict>>; stateSchemaRef: z.ZodNullable; }, z.core.$strict>>; artifactCollection: z.ZodObject<{ maxArtifacts: z.ZodNumber; maxTotalBytes: z.ZodNumber; }, z.core.$strict>; adapterConformanceHashes: z.ZodRecord; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; verifierSet: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">; id: z.ZodString; revision: z.ZodNumber; graders: z.ZodArray>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodEnum<{ content: "content"; schema: "schema"; artifact: "artifact"; runtime_event: "runtime_event"; state: "state"; }>; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"human">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; }, z.core.$strict> ]>>; isolation: z.ZodObject<{ processBoundary: z.ZodEnum<{ same_process: "same_process"; isolated_process: "isolated_process"; container: "container"; }>; networkPolicy: z.ZodLiteral<"none">; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; calibrationReceiptRefs: z.ZodArray>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; execution: z.ZodOptional; id: z.ZodString; revision: z.ZodNumber; contract: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; actionSchemaRef: z.ZodNullable; }, z.core.$strict>>; observationSchemaRef: z.ZodNullable; }, z.core.$strict>>; stateSchemaRef: z.ZodNullable; }, z.core.$strict>>; artifactCollection: z.ZodObject<{ maxArtifacts: z.ZodNumber; maxTotalBytes: z.ZodNumber; }, z.core.$strict>; adapterConformanceHashes: z.ZodRecord; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; verifierSet: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">; id: z.ZodString; revision: z.ZodNumber; graders: z.ZodArray>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodEnum<{ content: "content"; schema: "schema"; artifact: "artifact"; runtime_event: "runtime_event"; state: "state"; }>; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"human">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; }, z.core.$strict> ]>>; isolation: z.ZodObject<{ processBoundary: z.ZodEnum<{ same_process: "same_process"; isolated_process: "isolated_process"; container: "container"; }>; networkPolicy: z.ZodLiteral<"none">; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; calibrationReceiptRefs: z.ZodArray>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; javascript: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.javascriptEnvironment.v1">; id: z.ZodString; revision: z.ZodNumber; module: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; maxSteps: z.ZodNumber; maxStateBytes: z.ZodNumber; maxObservationBytes: z.ZodNumber; operationTimeoutMs: z.ZodNumber; executionServices: z.ZodOptional; sql: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; snapshot: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; maxRows: z.ZodNumber; maxResultBytes: z.ZodNumber; id: z.ZodString; operation: z.ZodEnum<{ step: "step"; collect: "collect"; }>; toolName: z.ZodOptional; timeoutMs: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"javascript.v1">; source: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; cases: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; exportName: z.ZodString; maxCases: z.ZodNumber; maxResultBytes: z.ZodNumber; id: z.ZodString; operation: z.ZodEnum<{ step: "step"; collect: "collect"; }>; toolName: z.ZodOptional; timeoutMs: z.ZodNumber; }, z.core.$strict> ], "kind">>>; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; instructionMode: z.ZodOptional>; }, z.core.$strict>; type ModelTasksetPackage = z.infer; declare const ModelStarterCreationRequestSchema: z.ZodObject<{ profileId: z.ZodString; modelId: z.ZodString; name: z.ZodString; starter: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; startingModel: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.baseModelPreference.v1">; modelId: z.ZodString; revision: z.ZodNullable; tokenizerRevision: z.ZodNullable; chatTemplateHash: z.ZodNullable; modelAssetId: z.ZodNullable; source: z.ZodEnum<{ local: "local"; builtin: "builtin"; managed: "managed"; }>; }, z.core.$strict>; method: z.ZodEnum<{ sft: "sft"; dpo: "dpo"; grpo: "grpo"; ppo: "ppo"; sdft: "sdft"; opd: "opd"; opsd: "opsd"; sdpo: "sdpo"; }>; rewardBindingRef: z.ZodOptional>>; recipe: z.ZodOptional; parameterization: z.ZodEnum<{ lora: "lora"; full: "full"; }>; }, z.core.$catchall>>>; managedGpuSelection: z.ZodOptional; objective: z.ZodEnum<{ balanced: "balanced"; fast: "fast"; economical: "economical"; }>; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict>, z.ZodObject<{ mode: z.ZodLiteral<"manual">; availabilityId: z.ZodString; gpuType: z.ZodString; gpuCount: z.ZodOptional, z.ZodLiteral<2> ]>>; }, z.core.$strict> ], "mode">>; continuationAdapterMode: z.ZodOptional>; learning: z.ZodOptional; minimumTasks: z.ZodNumber; maximumSpendUsd: z.ZodNumber; maximumDailySpendUsd: z.ZodNumber; }, z.core.$strict>>; schemaVersion: z.ZodLiteral<"openpond.modelStarterCreation.v1">; operationId: z.ZodString; }, z.core.$strict>; type ModelStarterCreationRequest = z.infer; declare function prepareModelStarterTaskset(input: { request: ModelStarterCreationRequest; package: unknown; source: TasksetSourceRef; fixtures: GraderFixture[]; approvedTrainingTaskIds: string[]; createdAt: string; rewardSelection?: Pick; }): { draft: { schemaVersion: "openpond.tasksetDraft.v1"; id: string; revision: number; profileId: string; modelScope: { modelId: string; expectedModelRevision: number; source?: { schemaVersion: "openpond.modelTasksetDraftPreparation.v1"; draftId: string; requestHash: string; sourcePackageHash: string; sourceTasksetRef: { id: string; contentHash: string; revision: number; }; tasksetId: string; tasksetRevision: number; lineage: { schemaVersion: "openpond.modelTasksetAuthoring.v1"; owner: { scopeId: string; modelId: string; }; root: { id: string; contentHash: string; revision: number; }; parent: { id: string; contentHash: string; revision: number; }; }; authoringGraph?: "bound" | undefined; } | undefined; } | null; name: string; objective: string; purpose: "general" | "benchmark"; benchmark: { schemaVersion: "openpond.tasksetBenchmark.v1"; definitionId: string; releaseId: string; releaseHash: string; managedReleasePath: string; adaptationSplit: "validation" | "test" | "train" | "frozen_eval"; evaluationSplit: "validation" | "test" | "train" | "frozen_eval"; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityGate: "none" | "non_regression" | "all_pass"; source: "builtin" | "imported"; metadata: Record; } | null; preferenceComparison: { schemaVersion: "openpond.tasksetPreferenceComparisonBinding.v1"; releaseId: string; releaseHash: string; publishedAt: string; metadata: Record; } | null; status: "draft" | "published" | "validating" | "needs_review"; sourceRefs: ({ id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.huggingFaceDatasetSource.v1"; kind: "huggingface"; repositoryId: string; repositoryUrl: string; revision: string; configuration: string; upstreamSplits: string[]; gated: boolean; private: boolean; declaredLicense: string | null; sourceFileHashes: string[]; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.uploadedFileDatasetSource.v1"; kind: "uploaded_file"; originalFileNames: string[]; mediaTypes: string[]; sourceFileHashes: string[]; totalBytes: number; parserVersion: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.generatedDatasetSource.v1"; kind: "generated"; generatorId: string; generatorVersion: string; seed: number; generatorHash: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.learningBatchDatasetSource.v1"; kind: "learning_batch"; batch: { id: string; revision: number; contentHash: string; }; taskDefinition: { id: string; revision: number; contentHash: string; }; admittedBy: string; } | { schemaVersion: "openpond.connectedDatasetSource.v1"; kind: "connected_activity"; id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; origin: "opencode" | "codex" | "hermes" | "openclaw" | "native_chat" | "native_work" | "claude_code" | "grok_build" | "pi" | "oh_my_pi"; sourceId: string; sessionId: string; normalizerVersion: string; projection: "conversation" | "turn"; ownerUserId: string; purpose: "recorded_evaluation"; metadata: Record; sourceFileHashes?: string[] | undefined; } | { schemaVersion: "openpond.trainingSource.v1"; id: string; profileId: string; sessionId: string; turnIds: string[]; workspaceId: string | null; sourceHash: string; clusterKey: string; title: string; occurredAt: string; consent: { status: "pending" | "granted" | "denied" | "revoked"; scope: "metadata_only" | "selected_turns" | "full_session"; grantedBy: string | null; grantedAt: string | null; purpose: "task_authoring_and_evaluation"; }; connectedAppIds: string[]; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; licensingStatus: "pending" | "blocked" | "approved" | "review"; metadata: Record; })[]; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.taskEnvironment.v1"; kind: "chat" | "work" | "agent" | "program" | "stateful_harness"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; toolNames: string[]; lifecycle: ("create" | "reset" | "step" | "grade" | "cleanup")[]; defaultTimeoutMs: number; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; metadata: Record; actionBindings?: { schemaVersion: "openpond.harnessActionBinding.v1"; actionId: string; modelToolName: string; description: string; inputSchema: Record; actionSchemaHash: string; agentRelease: { id: string; contentHash: string; }; implementationHash: string; runtimeBindingId: string; capabilityReceiptHash: string; sideEffect: "read" | "write"; studentVisible: boolean; timeoutMs: number; episodeArgumentBindings: { argument: string; source: "case_id"; }[]; }[] | undefined; resources?: { id: string; kind: "file" | "configuration" | "catalog" | "code_module"; path: string; visibility: "privileged" | "policy_visible" | "policy_hidden"; required: boolean; metadata: Record; mediaType?: string | null | undefined; }[] | undefined; }; output: { mode: "text" | "artifacts" | "structured_json"; jsonSchema: Record | null; renderer: { module: string; exportName: string; configRef: string | null; } | null; requiredOutputSource?: "task.requiredOutputs" | undefined; responsePath?: string | undefined; }; capabilities: { schemaVersion: "openpond.tasksetCapabilities.v1"; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; supportedSignals: ("label" | "demonstration" | "reward" | "feedback" | "preference" | "correction")[]; compatibleMethods: ("none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[]; rewardKinds: ("none" | "exact" | "deterministic" | "model_judge" | "human")[]; requiresTools: boolean; requiresState: boolean; requiresPrivilegedGrading: boolean; environmentPlacements: ("local" | "remote" | "colocated" | "provider_native")[]; exportable: boolean; portabilityBlockers: string[]; }; metrics: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; }; review: { enabled: boolean; candidateCount: number; minimumSamples: number; allowTies: boolean; allowRejectAll: boolean; rubric: string; criteria: { id: string; label: string; description: string; weight: number; }[]; }; tasks: { schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; tags: string[]; metadata: Record; sourceRefs: string[]; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskId: string; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; learningSignals: { demonstrations: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "demonstration"; prompt: string | null; response: string | null; }[]; preferences: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "preference"; prompt: string; chosen: string; rejected: string; rationale: string | null; }[]; corrections: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "correction"; original: string; corrected: string; rationale: string | null; }[]; feedback: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "feedback"; feedback: string; polarity: "positive" | "negative" | "mixed" | "neutral"; }[]; rewards: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; executable: boolean; }[]; labels: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "label"; labelKind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; calibrationExamples: { positive: string; negative: string; boundary: string; }; }[]; }; publishedTasksetRef: { id: string; revision: number; contentHash: string; } | null; createdAt: string; updatedAt: string; metadata: Record; datasetArtifact?: { schemaVersion: "openpond.datasetArtifact.v1"; id: string; tasksetId: string; tasksetRevision: number; contentHash: string; format: "parquet"; schema: { schemaVersion: "openpond.datasetSemanticSchema.v1"; fields: { name: string; semanticRole: "metadata" | "rejected" | "prompt" | "messages" | "row_id" | "cluster_id" | "demonstration" | "chosen" | "expected_output" | "privileged_context" | "reward" | "feedback" | "tag"; logicalType: "string" | "boolean" | "messages" | "integer" | "float" | "json"; nullable: boolean; policy: "metadata" | "visible" | "privileged"; }[]; schemaHash: string; }; shards: { id: string; split: "validation" | "test" | "train" | "frozen_eval"; path: string; contentHash: string; schemaHash: string; sizeBytes: number; rowCount: number; rowGroupCount: number; }[]; rowCount: number; splitCounts: Record<"validation" | "test" | "train" | "frozen_eval", number>; sourceReceiptRefs: string[]; mappingHash: string; qualityReportHash: string; createdAt: string; } | null | undefined; }; taskset: { schemaVersion: "openpond.taskset.v1"; id: string; revision: number; profileId: string; createImproveRunId: string | null; name: string; objective: string; purpose: "general" | "benchmark"; benchmark: { schemaVersion: "openpond.tasksetBenchmark.v1"; definitionId: string; releaseId: string; releaseHash: string; managedReleasePath: string; adaptationSplit: "validation" | "test" | "train" | "frozen_eval"; evaluationSplit: "validation" | "test" | "train" | "frozen_eval"; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityGate: "none" | "non_regression" | "all_pass"; source: "builtin" | "imported"; metadata: Record; } | null; preferenceComparison: { schemaVersion: "openpond.tasksetPreferenceComparisonBinding.v1"; releaseId: string; releaseHash: string; publishedAt: string; metadata: Record; } | null; status: "failed" | "draft" | "archived" | "ready" | "blocked" | "awaiting_disclosure_approval" | "awaiting_materialization_approval" | "materializing" | "validating" | "needs_review" | "baselining"; sourceRefs: ({ id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.huggingFaceDatasetSource.v1"; kind: "huggingface"; repositoryId: string; repositoryUrl: string; revision: string; configuration: string; upstreamSplits: string[]; gated: boolean; private: boolean; declaredLicense: string | null; sourceFileHashes: string[]; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.uploadedFileDatasetSource.v1"; kind: "uploaded_file"; originalFileNames: string[]; mediaTypes: string[]; sourceFileHashes: string[]; totalBytes: number; parserVersion: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.generatedDatasetSource.v1"; kind: "generated"; generatorId: string; generatorVersion: string; seed: number; generatorHash: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.learningBatchDatasetSource.v1"; kind: "learning_batch"; batch: { id: string; revision: number; contentHash: string; }; taskDefinition: { id: string; revision: number; contentHash: string; }; admittedBy: string; } | { schemaVersion: "openpond.connectedDatasetSource.v1"; kind: "connected_activity"; id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; origin: "opencode" | "codex" | "hermes" | "openclaw" | "native_chat" | "native_work" | "claude_code" | "grok_build" | "pi" | "oh_my_pi"; sourceId: string; sessionId: string; normalizerVersion: string; projection: "conversation" | "turn"; ownerUserId: string; purpose: "recorded_evaluation"; metadata: Record; sourceFileHashes?: string[] | undefined; } | { schemaVersion: "openpond.trainingSource.v1"; id: string; profileId: string; sessionId: string; turnIds: string[]; workspaceId: string | null; sourceHash: string; clusterKey: string; title: string; occurredAt: string; consent: { status: "pending" | "granted" | "denied" | "revoked"; scope: "metadata_only" | "selected_turns" | "full_session"; grantedBy: string | null; grantedAt: string | null; purpose: "task_authoring_and_evaluation"; }; connectedAppIds: string[]; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; licensingStatus: "pending" | "blocked" | "approved" | "review"; metadata: Record; })[]; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.taskEnvironment.v1"; kind: "chat" | "work" | "agent" | "program" | "stateful_harness"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; toolNames: string[]; lifecycle: ("create" | "reset" | "step" | "grade" | "cleanup")[]; defaultTimeoutMs: number; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; metadata: Record; actionBindings?: { schemaVersion: "openpond.harnessActionBinding.v1"; actionId: string; modelToolName: string; description: string; inputSchema: Record; actionSchemaHash: string; agentRelease: { id: string; contentHash: string; }; implementationHash: string; runtimeBindingId: string; capabilityReceiptHash: string; sideEffect: "read" | "write"; studentVisible: boolean; timeoutMs: number; episodeArgumentBindings: { argument: string; source: "case_id"; }[]; }[] | undefined; resources?: { id: string; kind: "file" | "configuration" | "catalog" | "code_module"; path: string; visibility: "privileged" | "policy_visible" | "policy_hidden"; required: boolean; metadata: Record; mediaType?: string | null | undefined; }[] | undefined; }; capabilities: { schemaVersion: "openpond.tasksetCapabilities.v1"; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; supportedSignals: ("label" | "demonstration" | "reward" | "feedback" | "preference" | "correction")[]; compatibleMethods: ("none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[]; rewardKinds: ("none" | "exact" | "deterministic" | "model_judge" | "human")[]; requiresTools: boolean; requiresState: boolean; requiresPrivilegedGrading: boolean; environmentPlacements: ("local" | "remote" | "colocated" | "provider_native")[]; exportable: boolean; portabilityBlockers: string[]; }; tasks: { schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; sourceRefs: string[]; tags: string[]; metadata: Record; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskId: string; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; learningSignals: { demonstrations: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "demonstration"; prompt: string | null; response: string | null; }[]; preferences: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "preference"; prompt: string; chosen: string; rejected: string; rationale: string | null; }[]; corrections: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "correction"; original: string; corrected: string; rationale: string | null; }[]; feedback: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "feedback"; feedback: string; polarity: "positive" | "negative" | "mixed" | "neutral"; }[]; rewards: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; executable: boolean; }[]; labels: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "label"; labelKind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; calibrationExamples: { positive: string; negative: string; boundary: string; }; }[]; }; authoringProvenance: { schemaVersion: "openpond.taskAuthoringProvenance.v1"; model: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null; modelConfig: Record; skillHash: string; promptTemplateVersion: string; buildIntent: "preferences" | "rubric" | "demonstrations" | "verifiable_reward" | "discovery"; buildSpecification: { kind: "demonstrations"; behavior: string; examples: { id: string; prompt: string; response: string; }[]; } | { kind: "preferences"; preference: string; pairs: { id: string; prompt: string; chosen: string; rejected: string; rationale: string; }[]; } | { kind: "verifiable_reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; } | { kind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; positiveExample: string; negativeExample: string; boundaryExample: string; } | null; evidenceHashes: string[]; tasksetSdkVersion: string; sourceCommit: string | null; repairHistory: { attempt: number; summary: string; createdAt: string; }[]; createdAt: string; }; readiness: { schemaVersion: "openpond.tasksetReadiness.v1"; tasksetId: string; tasksetHash: string; ready: boolean; recommendedMethod: "none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; trainingPath: { primaryMethod: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opsd" | "sdpo"; bootstrap: { method: "sft"; purpose: "trajectory_bootstrap"; demonstrationRefs: string[]; limitations: string[]; } | null; } | null; methodReadiness: { method: "sft" | "dpo" | "grpo" | "ppo"; status: "recommended" | "compatible" | "needs_dataset_work"; reasonCodes: ("taskset_not_ready" | "demonstrations_missing" | "preference_pairs_missing" | "preference_pairs_invalid" | "executable_reward_missing" | "reward_not_calibrated" | "reward_model_missing" | "value_model_required" | "frozen_eval_missing")[]; reasons: string[]; }[]; compatibleDestinationClasses: ("custom" | "export" | "hosted_managed")[]; blockers: { code: string; message: string; path: string | null; }[]; advisories: { code: string; message: string; path: string | null; }[]; warnings: string[]; generatedAt: string; } | null; contentHash: string; createdAt: string; updatedAt: string; metadata: Record; profileRelease?: { id: string; contentHash: string; revision: number; } | null | undefined; datasetArtifact?: { schemaVersion: "openpond.datasetArtifact.v1"; id: string; tasksetId: string; tasksetRevision: number; contentHash: string; format: "parquet"; schema: { schemaVersion: "openpond.datasetSemanticSchema.v1"; fields: { name: string; semanticRole: "metadata" | "rejected" | "prompt" | "messages" | "row_id" | "cluster_id" | "demonstration" | "chosen" | "expected_output" | "privileged_context" | "reward" | "feedback" | "tag"; logicalType: "string" | "boolean" | "messages" | "integer" | "float" | "json"; nullable: boolean; policy: "metadata" | "visible" | "privileged"; }[]; schemaHash: string; }; shards: { id: string; split: "validation" | "test" | "train" | "frozen_eval"; path: string; contentHash: string; schemaHash: string; sizeBytes: number; rowCount: number; rowGroupCount: number; }[]; rowCount: number; splitCounts: Record<"validation" | "test" | "train" | "frozen_eval", number>; sourceReceiptRefs: string[]; mappingHash: string; qualityReportHash: string; createdAt: string; } | null | undefined; metrics?: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; } | undefined; }; generatedFiles: { path: string; role: "environment" | "verifier" | "fixture"; content: string; }[]; resources: { taskset: { schemaVersion: "openpond.tasksetRelease.v2"; id: string; revision: number; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; capabilities: { id: string; required: boolean; scopes: string[]; portability: "host_adapter" | "hosted_only" | "local_only" | "portable"; }[]; tasks: { id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; artifactRefs: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; tags: string[]; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; metadata: Record; contentHash: string; environmentRelease?: { id: string; contentHash: string; } | undefined; verifierSetRelease?: { id: string; contentHash: string; } | undefined; metrics?: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; } | undefined; }; taskDefinition: { schemaVersion: "openpond.taskDefinition.v1"; id: string; revision: number; name: string; description: string; instructions: string; category: "custom" | "structured" | "question_answering" | "coding" | "tool_workflow"; familyNamespace: string; inputSchema: Record; outputSchema: Record; rewardBinding: { id: string; contentHash: string; revision: number; }; harness: { id: string; contentHash: string; } | null; execution: { policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; capabilities: { id: string; required: boolean; scopes: string[]; portability: "host_adapter" | "hosted_only" | "local_only" | "portable"; }[]; environmentRelease?: { id: string; contentHash: string; } | undefined; verifierSetRelease?: { id: string; contentHash: string; } | undefined; }; contentHash: string; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; contextRequirements?: string[] | undefined; }; rewardBinding: { schemaVersion: "openpond.rewardBinding.v1"; id: string; revision: number; sources: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; normalization: { kind: "identity"; } | { kind: "linear"; minimum: number; maximum: number; direction: "higher" | "lower"; }; weight: number; required: boolean; hardGate: boolean; privileged: boolean; fixtureRefs: { id: string; contentHash: string; }[]; taskIds?: string[] | undefined; }[]; aggregation: "weighted_mean"; unscorable: "exclude_optional_require_all_required"; contentHash: string; name?: string | undefined; description?: string | undefined; recipeRef?: { id: string; contentHash: string; revision: number; } | undefined; }; rewards: { schemaVersion: "openpond.rewardRelease.v1"; id: string; revision: number; name: string; description: string; implementation: { kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; } | { kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { timeoutMs: number; networkPolicy: "none"; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; exportName?: string | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; } | { kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { kind: "learned_model"; modelVersion: { id: string; contentHash: string; }; inputContract: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; }; rawScore: { minimum: number; maximum: number; }; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; contentHash: string; feedbackKey?: string | undefined; fixtureSetRef?: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | undefined; calibrationCheckRef?: { id: string; contentHash: string; revision: number; } | undefined; }[]; assets: { schemaVersion: "openpond.learningTextAsset.v1"; id: string; revision: 1; asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; text: string; contentHash: string; }[]; executionResources?: { environment: { schemaVersion: "openpond.environmentRelease.v1"; id: string; revision: number; contract: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; actionSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; observationSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; stateSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; artifactCollection: { maxArtifacts: number; maxTotalBytes: number; }; adapterConformanceHashes: Record; metadata: Record; contentHash: string; }; verifierSet: { schemaVersion: "openpond.verifierSetRelease.v1"; id: string; revision: number; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; isolation: { processBoundary: "same_process" | "isolated_process" | "container"; networkPolicy: "none"; defaultTimeoutMs: number; }; calibrationReceiptRefs: { id: string; contentHash: string; }[]; metadata: Record; contentHash: string; }; } | undefined; execution?: { environment: { schemaVersion: "openpond.environmentRelease.v1"; id: string; revision: number; contract: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; actionSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; observationSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; stateSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; artifactCollection: { maxArtifacts: number; maxTotalBytes: number; }; adapterConformanceHashes: Record; metadata: Record; contentHash: string; }; verifierSet: { schemaVersion: "openpond.verifierSetRelease.v1"; id: string; revision: number; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; isolation: { processBoundary: "same_process" | "isolated_process" | "container"; networkPolicy: "none"; defaultTimeoutMs: number; }; calibrationReceiptRefs: { id: string; contentHash: string; }[]; metadata: Record; contentHash: string; }; javascript: { schemaVersion: "openpond.javascriptEnvironment.v1"; id: string; revision: number; module: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; maxSteps: number; maxStateBytes: number; maxObservationBytes: number; operationTimeoutMs: number; contentHash: string; executionServices?: ({ kind: "sqlite.v1"; sql: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; snapshot: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; maxRows: number; maxResultBytes: number; id: string; operation: "step" | "collect"; timeoutMs: number; toolName?: string | undefined; } | { kind: "javascript.v1"; source: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; cases: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; exportName: string; maxCases: number; maxResultBytes: number; id: string; operation: "step" | "collect"; timeoutMs: number; toolName?: string | undefined; })[] | undefined; }; } | undefined; instructionMode?: "per_task" | undefined; }; }; type ModelStarterCommitInput = Parameters[0]; type TrainingChatSearchDocument = { sessionId: string; source: "openpond" | "codex"; signature: string; title: string; body: string; updatedAt: string; eligible: boolean; bodyIndexed: boolean; }; declare const LocalDatasetListingSchema: import("zod").ZodObject<{ checks: import("zod").ZodArray; revision: import("zod").ZodNumber; workspaceHash: import("zod").ZodString; status: import("zod").ZodEnum<{ failed: "failed"; unavailable: "unavailable"; passed: "passed"; }>; checkedAt: import("zod").ZodISODateTime; checked: import("zod").ZodNumber; total: import("zod").ZodNumber; issues: import("zod").ZodArray; graderId: import("zod").ZodOptional; }, import("zod/v4/core").$strip>>; scopes: import("zod").ZodOptional; }, import("zod/v4/core").$strict>>>; }, import("zod/v4/core").$strict>>; schemaVersion: import("zod").ZodLiteral<"openpond.localDataset.v1">; projectId: import("zod").ZodNullable; packageHash: import("zod").ZodNullable; ownerId: import("zod").ZodString; sync: import("zod").ZodNullable; remoteHash: import("zod").ZodNullable; pendingLocalHash: import("zod").ZodNullable; paused: import("zod").ZodBoolean; status: import("zod").ZodEnum<{ pending: "pending"; paused: "paused"; retry: "retry"; syncing: "syncing"; synced: "synced"; conflict: "conflict"; }>; error: import("zod").ZodNullable; operationId: import("zod").ZodNullable; pendingWorkspace: import("zod").ZodNullable; draft: import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.tasksetDraft.v1">; id: import("zod").ZodString; revision: import("zod").ZodNumber; profileId: import("zod").ZodString; modelScope: import("zod").ZodDefault; draftId: import("zod").ZodString; requestHash: import("zod").ZodString; sourcePackageHash: import("zod").ZodString; sourceTasksetRef: import("zod").ZodObject<{ id: import("zod").ZodString; contentHash: import("zod").ZodString; revision: import("zod").ZodNumber; }, import("zod/v4/core").$strict>; tasksetId: import("zod").ZodString; tasksetRevision: import("zod").ZodNumber; lineage: import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.modelTasksetAuthoring.v1">; owner: import("zod").ZodObject<{ scopeId: import("zod").ZodString; modelId: import("zod").ZodString; }, import("zod/v4/core").$strict>; root: import("zod").ZodObject<{ id: import("zod").ZodString; contentHash: import("zod").ZodString; revision: import("zod").ZodNumber; }, import("zod/v4/core").$strict>; parent: import("zod").ZodObject<{ id: import("zod").ZodString; contentHash: import("zod").ZodString; revision: import("zod").ZodNumber; }, import("zod/v4/core").$strict>; }, import("zod/v4/core").$strict>; authoringGraph: import("zod").ZodOptional>; }, import("zod/v4/core").$strict>>; }, import("zod/v4/core").$strict>>>; name: import("zod").ZodString; objective: import("zod").ZodString; purpose: import("zod").ZodDefault>; benchmark: import("zod").ZodDefault; definitionId: import("zod").ZodString; releaseId: import("zod").ZodString; releaseHash: import("zod").ZodString; managedReleasePath: import("zod").ZodString; adaptationSplit: import("zod").ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; evaluationSplit: import("zod").ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; primaryMetric: import("zod").ZodEnum<{ foreground_tokens: "foreground_tokens"; success_rate: "success_rate"; latency_ms: "latency_ms"; cost_usd: "cost_usd"; }>; qualityGate: import("zod").ZodEnum<{ none: "none"; non_regression: "non_regression"; all_pass: "all_pass"; }>; source: import("zod").ZodEnum<{ builtin: "builtin"; imported: "imported"; }>; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; preferenceComparison: import("zod").ZodDefault; releaseId: import("zod").ZodString; releaseHash: import("zod").ZodString; publishedAt: import("zod").ZodString; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; status: import("zod").ZodEnum<{ draft: "draft"; published: "published"; validating: "validating"; needs_review: "needs_review"; }>; sourceRefs: import("zod").ZodDefault; id: import("zod").ZodString; profileId: import("zod").ZodString; sessionId: import("zod").ZodString; turnIds: import("zod").ZodDefault>; workspaceId: import("zod").ZodNullable; sourceHash: import("zod").ZodString; clusterKey: import("zod").ZodString; title: import("zod").ZodString; occurredAt: import("zod").ZodString; consent: import("zod").ZodObject<{ status: import("zod").ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: import("zod").ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: import("zod").ZodNullable; grantedAt: import("zod").ZodNullable; purpose: import("zod").ZodLiteral<"task_authoring_and_evaluation">; }, import("zod/v4/core").$strip>; connectedAppIds: import("zod").ZodDefault>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[ import("zod").ZodObject<{ id: import("zod").ZodString; profileId: import("zod").ZodString; title: import("zod").ZodString; sourceHash: import("zod").ZodString; occurredAt: import("zod").ZodString; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: import("zod").ZodDefault>; schemaVersion: import("zod").ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: import("zod").ZodLiteral<"huggingface">; repositoryId: import("zod").ZodString; repositoryUrl: import("zod").ZodString; revision: import("zod").ZodString; configuration: import("zod").ZodString; upstreamSplits: import("zod").ZodArray; gated: import("zod").ZodBoolean; private: import("zod").ZodBoolean; declaredLicense: import("zod").ZodNullable; sourceFileHashes: import("zod").ZodArray; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; profileId: import("zod").ZodString; title: import("zod").ZodString; sourceHash: import("zod").ZodString; occurredAt: import("zod").ZodString; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: import("zod").ZodDefault>; schemaVersion: import("zod").ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: import("zod").ZodLiteral<"uploaded_file">; originalFileNames: import("zod").ZodArray; mediaTypes: import("zod").ZodArray; sourceFileHashes: import("zod").ZodArray; totalBytes: import("zod").ZodNumber; parserVersion: import("zod").ZodString; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; profileId: import("zod").ZodString; title: import("zod").ZodString; sourceHash: import("zod").ZodString; occurredAt: import("zod").ZodString; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: import("zod").ZodDefault>; schemaVersion: import("zod").ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: import("zod").ZodLiteral<"generated">; generatorId: import("zod").ZodString; generatorVersion: import("zod").ZodString; seed: import("zod").ZodNumber; generatorHash: import("zod").ZodString; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; profileId: import("zod").ZodString; title: import("zod").ZodString; sourceHash: import("zod").ZodString; occurredAt: import("zod").ZodString; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: import("zod").ZodDefault>; schemaVersion: import("zod").ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: import("zod").ZodLiteral<"learning_batch">; batch: import("zod").ZodObject<{ id: import("zod").ZodString; revision: import("zod").ZodNumber; contentHash: import("zod").ZodString; }, import("zod/v4/core").$strict>; taskDefinition: import("zod").ZodObject<{ id: import("zod").ZodString; revision: import("zod").ZodNumber; contentHash: import("zod").ZodString; }, import("zod/v4/core").$strict>; admittedBy: import("zod").ZodString; }, import("zod/v4/core").$strip> ], "kind">, import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.connectedDatasetSource.v1">; kind: import("zod").ZodLiteral<"connected_activity">; id: import("zod").ZodString; profileId: import("zod").ZodString; title: import("zod").ZodString; sourceHash: import("zod").ZodString; occurredAt: import("zod").ZodString; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; origin: import("zod").ZodEnum<{ hermes: "hermes"; openclaw: "openclaw"; native_chat: "native_chat"; native_work: "native_work"; codex: "codex"; claude_code: "claude_code"; opencode: "opencode"; grok_build: "grok_build"; pi: "pi"; oh_my_pi: "oh_my_pi"; }>; sourceId: import("zod").ZodString; sessionId: import("zod").ZodString; normalizerVersion: import("zod").ZodString; projection: import("zod").ZodEnum<{ conversation: "conversation"; turn: "turn"; }>; ownerUserId: import("zod").ZodString; purpose: import("zod").ZodLiteral<"recorded_evaluation">; sourceFileHashes: import("zod").ZodOptional>; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strict> ]>>>; datasetArtifact: import("zod").ZodOptional; id: import("zod").ZodString; tasksetId: import("zod").ZodString; tasksetRevision: import("zod").ZodNumber; contentHash: import("zod").ZodString; format: import("zod").ZodLiteral<"parquet">; schema: import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.datasetSemanticSchema.v1">; fields: import("zod").ZodArray; logicalType: import("zod").ZodEnum<{ string: "string"; boolean: "boolean"; messages: "messages"; integer: "integer"; float: "float"; json: "json"; }>; nullable: import("zod").ZodBoolean; policy: import("zod").ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; }, import("zod/v4/core").$strip>>; schemaHash: import("zod").ZodString; }, import("zod/v4/core").$strip>; shards: import("zod").ZodArray; path: import("zod").ZodString; contentHash: import("zod").ZodString; schemaHash: import("zod").ZodString; sizeBytes: import("zod").ZodNumber; rowCount: import("zod").ZodNumber; rowGroupCount: import("zod").ZodNumber; }, import("zod/v4/core").$strip>>; rowCount: import("zod").ZodNumber; splitCounts: import("zod").ZodRecord, import("zod").ZodNumber>; sourceReceiptRefs: import("zod").ZodArray; mappingHash: import("zod").ZodString; qualityReportHash: import("zod").ZodString; createdAt: import("zod").ZodString; }, import("zod/v4/core").$strip>>>; policy: import("zod").ZodObject<{ policyVisibleFields: import("zod").ZodDefault>; privilegedFields: import("zod").ZodDefault>; hiddenGraderRefs: import("zod").ZodDefault>; connectedAppScopes: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>; environment: import("zod").ZodObject<{ protocolVersion: import("zod").ZodLiteral<"openpond.taskEnvironment.v1">; kind: import("zod").ZodEnum<{ chat: "chat"; work: "work"; agent: "agent"; program: "program"; stateful_harness: "stateful_harness"; }>; entrypoint: import("zod").ZodString; stateful: import("zod").ZodBoolean; deterministicSeeds: import("zod").ZodBoolean; toolNames: import("zod").ZodDefault>; actionBindings: import("zod").ZodOptional; actionId: import("zod").ZodString; modelToolName: import("zod").ZodString; description: import("zod").ZodString; inputSchema: import("zod").ZodRecord; actionSchemaHash: import("zod").ZodString; agentRelease: import("zod").ZodObject<{ id: import("zod").ZodString; contentHash: import("zod").ZodString; }, import("zod/v4/core").$strict>; implementationHash: import("zod").ZodString; runtimeBindingId: import("zod").ZodString; capabilityReceiptHash: import("zod").ZodString; sideEffect: import("zod").ZodEnum<{ read: "read"; write: "write"; }>; studentVisible: import("zod").ZodBoolean; timeoutMs: import("zod").ZodNumber; episodeArgumentBindings: import("zod").ZodDefault; }, import("zod/v4/core").$strict>>>; }, import("zod/v4/core").$strict>>>; lifecycle: import("zod").ZodArray>; defaultTimeoutMs: import("zod").ZodNumber; networkPolicy: import("zod").ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; resources: import("zod").ZodOptional; path: import("zod").ZodString; mediaType: import("zod").ZodOptional>; visibility: import("zod").ZodEnum<{ privileged: "privileged"; policy_visible: "policy_visible"; policy_hidden: "policy_hidden"; }>; required: import("zod").ZodBoolean; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>; output: import("zod").ZodDefault; jsonSchema: import("zod").ZodNullable>; requiredOutputSource: import("zod").ZodOptional>; responsePath: import("zod").ZodOptional; renderer: import("zod").ZodNullable>; }, import("zod/v4/core").$strip>>; }, import("zod/v4/core").$strip>>; capabilities: import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.tasksetCapabilities.v1">; taskKind: import("zod").ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; supportedSignals: import("zod").ZodArray>; compatibleMethods: import("zod").ZodArray>; rewardKinds: import("zod").ZodArray>; requiresTools: import("zod").ZodBoolean; requiresState: import("zod").ZodBoolean; requiresPrivilegedGrading: import("zod").ZodBoolean; environmentPlacements: import("zod").ZodArray>; exportable: import("zod").ZodBoolean; portabilityBlockers: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>; metrics: import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.tasksetMetricPolicy.v1">; primaryMetric: import("zod").ZodString; aggregation: import("zod").ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: import("zod").ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: import("zod").ZodOptional>; customAggregator: import("zod").ZodNullable; }, import("zod/v4/core").$strict>>; }, import("zod/v4/core").$strict>; review: import("zod").ZodObject<{ enabled: import("zod").ZodBoolean; candidateCount: import("zod").ZodNumber; minimumSamples: import("zod").ZodDefault; allowTies: import("zod").ZodBoolean; allowRejectAll: import("zod").ZodBoolean; rubric: import("zod").ZodString; criteria: import("zod").ZodArray>; }, import("zod/v4/core").$strip>; tasks: import("zod").ZodDefault; id: import("zod").ZodString; clusterKey: import("zod").ZodString; split: import("zod").ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; input: import("zod").ZodRecord; expectedOutput: import("zod").ZodNullable>; policyVisibleContext: import("zod").ZodDefault>; privilegedContextRef: import("zod").ZodNullable; assets: import("zod").ZodOptional; mediaType: import("zod").ZodString; sha256: import("zod").ZodString; sizeBytes: import("zod").ZodNumber; split: import("zod").ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; resourceRefs: import("zod").ZodOptional>; requiredOutputs: import("zod").ZodOptional>; submissionMode: import("zod").ZodOptional>; maxBytes: import("zod").ZodOptional; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; tags: import("zod").ZodDefault>; metadata: import("zod").ZodDefault>; sourceRefs: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; graders: import("zod").ZodDefault>; version: import("zod").ZodString; label: import("zod").ZodString; weight: import("zod").ZodDefault; hardGate: import("zod").ZodDefault; rewardEligible: import("zod").ZodDefault; privileged: import("zod").ZodDefault; metadata: import("zod").ZodDefault>; kind: import("zod").ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: import("zod").ZodRecord; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; taskIds: import("zod").ZodOptional>; version: import("zod").ZodString; label: import("zod").ZodString; weight: import("zod").ZodDefault; hardGate: import("zod").ZodDefault; rewardEligible: import("zod").ZodDefault; privileged: import("zod").ZodDefault; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"model_judge">; rubric: import("zod").ZodString; judge: import("zod").ZodObject<{ providerId: import("zod").ZodUnion, import("zod").ZodTemplateLiteral<`acp:${string}`> ]>; modelId: import("zod").ZodString; }, import("zod/v4/core").$strip>; calibrationFixtureRefs: import("zod").ZodArray; calibrationStatus: import("zod").ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: import("zod").ZodDefault; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; taskIds: import("zod").ZodOptional>; version: import("zod").ZodString; label: import("zod").ZodString; weight: import("zod").ZodDefault; hardGate: import("zod").ZodDefault; rewardEligible: import("zod").ZodDefault; privileged: import("zod").ZodDefault; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"human">; form: import("zod").ZodOptional; mode: import("zod").ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: import("zod").ZodString; criteria: import("zod").ZodArray; anchors: import("zod").ZodOptional; description: import("zod").ZodString; }, import("zod/v4/core").$strict>>>; kind: import("zod").ZodLiteral<"score">; minimum: import("zod").ZodNumber; maximum: import("zod").ZodNumber; step: import("zod").ZodNumber; }, import("zod/v4/core").$strict>, import("zod").ZodObject<{ id: import("zod").ZodString; label: import("zod").ZodString; instructions: import("zod").ZodString; required: import("zod").ZodBoolean; allowAbstain: import("zod").ZodBoolean; requireRationale: import("zod").ZodOptional; anchors: import("zod").ZodOptional; description: import("zod").ZodString; }, import("zod/v4/core").$strict>>>; kind: import("zod").ZodLiteral<"category">; options: import("zod").ZodArray; }, import("zod/v4/core").$strict>, import("zod").ZodObject<{ id: import("zod").ZodString; label: import("zod").ZodString; instructions: import("zod").ZodString; required: import("zod").ZodBoolean; allowAbstain: import("zod").ZodBoolean; requireRationale: import("zod").ZodOptional; anchors: import("zod").ZodOptional; description: import("zod").ZodString; }, import("zod/v4/core").$strict>>>; kind: import("zod").ZodLiteral<"boolean">; }, import("zod/v4/core").$strict>, import("zod").ZodObject<{ id: import("zod").ZodString; label: import("zod").ZodString; instructions: import("zod").ZodString; required: import("zod").ZodBoolean; allowAbstain: import("zod").ZodBoolean; requireRationale: import("zod").ZodOptional; anchors: import("zod").ZodOptional; description: import("zod").ZodString; }, import("zod/v4/core").$strict>>>; kind: import("zod").ZodLiteral<"text">; minimumLength: import("zod").ZodOptional; maximumLength: import("zod").ZodNumber; }, import("zod/v4/core").$strict>, import("zod").ZodObject<{ id: import("zod").ZodString; label: import("zod").ZodString; instructions: import("zod").ZodString; required: import("zod").ZodBoolean; allowAbstain: import("zod").ZodBoolean; requireRationale: import("zod").ZodOptional; anchors: import("zod").ZodOptional; description: import("zod").ZodString; }, import("zod/v4/core").$strict>>>; kind: import("zod").ZodLiteral<"preference">; requireStrength: import("zod").ZodOptional; allowTie: import("zod").ZodBoolean; }, import("zod/v4/core").$strict> ], "kind">>; }, import("zod/v4/core").$strict>>; rubric: import("zod").ZodString; reviewerRole: import("zod").ZodString; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; taskIds: import("zod").ZodOptional>; version: import("zod").ZodString; label: import("zod").ZodString; weight: import("zod").ZodDefault; hardGate: import("zod").ZodDefault; rewardEligible: import("zod").ZodDefault; privileged: import("zod").ZodDefault; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"custom_verifier">; runtime: import("zod").ZodOptional>; module: import("zod").ZodString; exportName: import("zod").ZodString; timeoutMs: import("zod").ZodNumber; networkPolicy: import("zod").ZodLiteral<"none">; }, import("zod/v4/core").$strip> ]>>>; graderFixtures: import("zod").ZodDefault; output: import("zod").ZodRecord; infrastructureError: import("zod").ZodNullable; expectedPassed: import("zod").ZodBoolean; expectedRewardEligible: import("zod").ZodBoolean; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; learningSignals: import("zod").ZodObject<{ demonstrations: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"demonstration">; prompt: import("zod").ZodDefault>; response: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; preferences: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"preference">; prompt: import("zod").ZodString; chosen: import("zod").ZodString; rejected: import("zod").ZodString; rationale: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; corrections: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"correction">; original: import("zod").ZodString; corrected: import("zod").ZodString; rationale: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; feedback: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"feedback">; feedback: import("zod").ZodString; polarity: import("zod").ZodEnum<{ positive: "positive"; negative: "negative"; mixed: "mixed"; neutral: "neutral"; }>; }, import("zod/v4/core").$strip>>>; rewards: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"reward">; task: import("zod").ZodString; rules: import("zod").ZodArray>; otherwisePoints: import("zod").ZodNumber; executable: import("zod").ZodBoolean; }, import("zod/v4/core").$strip>>>; labels: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"label">; labelKind: import("zod").ZodLiteral<"rubric">; task: import("zod").ZodString; criteria: import("zod").ZodArray>; calibrationExamples: import("zod").ZodObject<{ positive: import("zod").ZodString; negative: import("zod").ZodString; boundary: import("zod").ZodString; }, import("zod/v4/core").$strip>; }, import("zod/v4/core").$strip>>>; }, import("zod/v4/core").$strip>; publishedTasksetRef: import("zod").ZodNullable>; createdAt: import("zod").ZodString; updatedAt: import("zod").ZodString; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>; files: import("zod").ZodArray>; contentHash: import("zod").ZodString; }, import("zod/v4/core").$strict>>; beginVersionOperationId: import("zod").ZodOptional>; publicationIntent: import("zod").ZodOptional>>; }, import("zod/v4/core").$strict>>; workspace: import("zod").ZodObject<{ draft: import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.tasksetDraft.v1">; id: import("zod").ZodString; revision: import("zod").ZodNumber; profileId: import("zod").ZodString; modelScope: import("zod").ZodDefault; draftId: import("zod").ZodString; requestHash: import("zod").ZodString; sourcePackageHash: import("zod").ZodString; sourceTasksetRef: import("zod").ZodObject<{ id: import("zod").ZodString; contentHash: import("zod").ZodString; revision: import("zod").ZodNumber; }, import("zod/v4/core").$strict>; tasksetId: import("zod").ZodString; tasksetRevision: import("zod").ZodNumber; lineage: import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.modelTasksetAuthoring.v1">; owner: import("zod").ZodObject<{ scopeId: import("zod").ZodString; modelId: import("zod").ZodString; }, import("zod/v4/core").$strict>; root: import("zod").ZodObject<{ id: import("zod").ZodString; contentHash: import("zod").ZodString; revision: import("zod").ZodNumber; }, import("zod/v4/core").$strict>; parent: import("zod").ZodObject<{ id: import("zod").ZodString; contentHash: import("zod").ZodString; revision: import("zod").ZodNumber; }, import("zod/v4/core").$strict>; }, import("zod/v4/core").$strict>; authoringGraph: import("zod").ZodOptional>; }, import("zod/v4/core").$strict>>; }, import("zod/v4/core").$strict>>>; name: import("zod").ZodString; objective: import("zod").ZodString; purpose: import("zod").ZodDefault>; benchmark: import("zod").ZodDefault; definitionId: import("zod").ZodString; releaseId: import("zod").ZodString; releaseHash: import("zod").ZodString; managedReleasePath: import("zod").ZodString; adaptationSplit: import("zod").ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; evaluationSplit: import("zod").ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; primaryMetric: import("zod").ZodEnum<{ foreground_tokens: "foreground_tokens"; success_rate: "success_rate"; latency_ms: "latency_ms"; cost_usd: "cost_usd"; }>; qualityGate: import("zod").ZodEnum<{ none: "none"; non_regression: "non_regression"; all_pass: "all_pass"; }>; source: import("zod").ZodEnum<{ builtin: "builtin"; imported: "imported"; }>; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; preferenceComparison: import("zod").ZodDefault; releaseId: import("zod").ZodString; releaseHash: import("zod").ZodString; publishedAt: import("zod").ZodString; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; status: import("zod").ZodEnum<{ draft: "draft"; published: "published"; validating: "validating"; needs_review: "needs_review"; }>; sourceRefs: import("zod").ZodDefault; id: import("zod").ZodString; profileId: import("zod").ZodString; sessionId: import("zod").ZodString; turnIds: import("zod").ZodDefault>; workspaceId: import("zod").ZodNullable; sourceHash: import("zod").ZodString; clusterKey: import("zod").ZodString; title: import("zod").ZodString; occurredAt: import("zod").ZodString; consent: import("zod").ZodObject<{ status: import("zod").ZodEnum<{ pending: "pending"; granted: "granted"; denied: "denied"; revoked: "revoked"; }>; scope: import("zod").ZodEnum<{ metadata_only: "metadata_only"; selected_turns: "selected_turns"; full_session: "full_session"; }>; grantedBy: import("zod").ZodNullable; grantedAt: import("zod").ZodNullable; purpose: import("zod").ZodLiteral<"task_authoring_and_evaluation">; }, import("zod/v4/core").$strip>; connectedAppIds: import("zod").ZodDefault>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[ import("zod").ZodObject<{ id: import("zod").ZodString; profileId: import("zod").ZodString; title: import("zod").ZodString; sourceHash: import("zod").ZodString; occurredAt: import("zod").ZodString; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: import("zod").ZodDefault>; schemaVersion: import("zod").ZodLiteral<"openpond.huggingFaceDatasetSource.v1">; kind: import("zod").ZodLiteral<"huggingface">; repositoryId: import("zod").ZodString; repositoryUrl: import("zod").ZodString; revision: import("zod").ZodString; configuration: import("zod").ZodString; upstreamSplits: import("zod").ZodArray; gated: import("zod").ZodBoolean; private: import("zod").ZodBoolean; declaredLicense: import("zod").ZodNullable; sourceFileHashes: import("zod").ZodArray; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; profileId: import("zod").ZodString; title: import("zod").ZodString; sourceHash: import("zod").ZodString; occurredAt: import("zod").ZodString; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: import("zod").ZodDefault>; schemaVersion: import("zod").ZodLiteral<"openpond.uploadedFileDatasetSource.v1">; kind: import("zod").ZodLiteral<"uploaded_file">; originalFileNames: import("zod").ZodArray; mediaTypes: import("zod").ZodArray; sourceFileHashes: import("zod").ZodArray; totalBytes: import("zod").ZodNumber; parserVersion: import("zod").ZodString; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; profileId: import("zod").ZodString; title: import("zod").ZodString; sourceHash: import("zod").ZodString; occurredAt: import("zod").ZodString; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: import("zod").ZodDefault>; schemaVersion: import("zod").ZodLiteral<"openpond.generatedDatasetSource.v1">; kind: import("zod").ZodLiteral<"generated">; generatorId: import("zod").ZodString; generatorVersion: import("zod").ZodString; seed: import("zod").ZodNumber; generatorHash: import("zod").ZodString; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; profileId: import("zod").ZodString; title: import("zod").ZodString; sourceHash: import("zod").ZodString; occurredAt: import("zod").ZodString; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; metadata: import("zod").ZodDefault>; schemaVersion: import("zod").ZodLiteral<"openpond.learningBatchDatasetSource.v1">; kind: import("zod").ZodLiteral<"learning_batch">; batch: import("zod").ZodObject<{ id: import("zod").ZodString; revision: import("zod").ZodNumber; contentHash: import("zod").ZodString; }, import("zod/v4/core").$strict>; taskDefinition: import("zod").ZodObject<{ id: import("zod").ZodString; revision: import("zod").ZodNumber; contentHash: import("zod").ZodString; }, import("zod/v4/core").$strict>; admittedBy: import("zod").ZodString; }, import("zod/v4/core").$strip> ], "kind">, import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.connectedDatasetSource.v1">; kind: import("zod").ZodLiteral<"connected_activity">; id: import("zod").ZodString; profileId: import("zod").ZodString; title: import("zod").ZodString; sourceHash: import("zod").ZodString; occurredAt: import("zod").ZodString; licensingStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; approved: "approved"; review: "review"; }>; secretScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; }>; piiScanStatus: import("zod").ZodEnum<{ pending: "pending"; blocked: "blocked"; passed: "passed"; review: "review"; }>; origin: import("zod").ZodEnum<{ hermes: "hermes"; openclaw: "openclaw"; native_chat: "native_chat"; native_work: "native_work"; codex: "codex"; claude_code: "claude_code"; opencode: "opencode"; grok_build: "grok_build"; pi: "pi"; oh_my_pi: "oh_my_pi"; }>; sourceId: import("zod").ZodString; sessionId: import("zod").ZodString; normalizerVersion: import("zod").ZodString; projection: import("zod").ZodEnum<{ conversation: "conversation"; turn: "turn"; }>; ownerUserId: import("zod").ZodString; purpose: import("zod").ZodLiteral<"recorded_evaluation">; sourceFileHashes: import("zod").ZodOptional>; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strict> ]>>>; datasetArtifact: import("zod").ZodOptional; id: import("zod").ZodString; tasksetId: import("zod").ZodString; tasksetRevision: import("zod").ZodNumber; contentHash: import("zod").ZodString; format: import("zod").ZodLiteral<"parquet">; schema: import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.datasetSemanticSchema.v1">; fields: import("zod").ZodArray; logicalType: import("zod").ZodEnum<{ string: "string"; boolean: "boolean"; messages: "messages"; integer: "integer"; float: "float"; json: "json"; }>; nullable: import("zod").ZodBoolean; policy: import("zod").ZodEnum<{ metadata: "metadata"; visible: "visible"; privileged: "privileged"; }>; }, import("zod/v4/core").$strip>>; schemaHash: import("zod").ZodString; }, import("zod/v4/core").$strip>; shards: import("zod").ZodArray; path: import("zod").ZodString; contentHash: import("zod").ZodString; schemaHash: import("zod").ZodString; sizeBytes: import("zod").ZodNumber; rowCount: import("zod").ZodNumber; rowGroupCount: import("zod").ZodNumber; }, import("zod/v4/core").$strip>>; rowCount: import("zod").ZodNumber; splitCounts: import("zod").ZodRecord, import("zod").ZodNumber>; sourceReceiptRefs: import("zod").ZodArray; mappingHash: import("zod").ZodString; qualityReportHash: import("zod").ZodString; createdAt: import("zod").ZodString; }, import("zod/v4/core").$strip>>>; policy: import("zod").ZodObject<{ policyVisibleFields: import("zod").ZodDefault>; privilegedFields: import("zod").ZodDefault>; hiddenGraderRefs: import("zod").ZodDefault>; connectedAppScopes: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>; environment: import("zod").ZodObject<{ protocolVersion: import("zod").ZodLiteral<"openpond.taskEnvironment.v1">; kind: import("zod").ZodEnum<{ chat: "chat"; work: "work"; agent: "agent"; program: "program"; stateful_harness: "stateful_harness"; }>; entrypoint: import("zod").ZodString; stateful: import("zod").ZodBoolean; deterministicSeeds: import("zod").ZodBoolean; toolNames: import("zod").ZodDefault>; actionBindings: import("zod").ZodOptional; actionId: import("zod").ZodString; modelToolName: import("zod").ZodString; description: import("zod").ZodString; inputSchema: import("zod").ZodRecord; actionSchemaHash: import("zod").ZodString; agentRelease: import("zod").ZodObject<{ id: import("zod").ZodString; contentHash: import("zod").ZodString; }, import("zod/v4/core").$strict>; implementationHash: import("zod").ZodString; runtimeBindingId: import("zod").ZodString; capabilityReceiptHash: import("zod").ZodString; sideEffect: import("zod").ZodEnum<{ read: "read"; write: "write"; }>; studentVisible: import("zod").ZodBoolean; timeoutMs: import("zod").ZodNumber; episodeArgumentBindings: import("zod").ZodDefault; }, import("zod/v4/core").$strict>>>; }, import("zod/v4/core").$strict>>>; lifecycle: import("zod").ZodArray>; defaultTimeoutMs: import("zod").ZodNumber; networkPolicy: import("zod").ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; resources: import("zod").ZodOptional; path: import("zod").ZodString; mediaType: import("zod").ZodOptional>; visibility: import("zod").ZodEnum<{ privileged: "privileged"; policy_visible: "policy_visible"; policy_hidden: "policy_hidden"; }>; required: import("zod").ZodBoolean; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>; output: import("zod").ZodDefault; jsonSchema: import("zod").ZodNullable>; requiredOutputSource: import("zod").ZodOptional>; responsePath: import("zod").ZodOptional; renderer: import("zod").ZodNullable>; }, import("zod/v4/core").$strip>>; }, import("zod/v4/core").$strip>>; capabilities: import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.tasksetCapabilities.v1">; taskKind: import("zod").ZodEnum<{ chat: "chat"; single_agent: "single_agent"; multi_agent: "multi_agent"; custom_program: "custom_program"; }>; supportedSignals: import("zod").ZodArray>; compatibleMethods: import("zod").ZodArray>; rewardKinds: import("zod").ZodArray>; requiresTools: import("zod").ZodBoolean; requiresState: import("zod").ZodBoolean; requiresPrivilegedGrading: import("zod").ZodBoolean; environmentPlacements: import("zod").ZodArray>; exportable: import("zod").ZodBoolean; portabilityBlockers: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>; metrics: import("zod").ZodObject<{ schemaVersion: import("zod").ZodLiteral<"openpond.tasksetMetricPolicy.v1">; primaryMetric: import("zod").ZodString; aggregation: import("zod").ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: import("zod").ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: import("zod").ZodOptional>; customAggregator: import("zod").ZodNullable; }, import("zod/v4/core").$strict>>; }, import("zod/v4/core").$strict>; review: import("zod").ZodObject<{ enabled: import("zod").ZodBoolean; candidateCount: import("zod").ZodNumber; minimumSamples: import("zod").ZodDefault; allowTies: import("zod").ZodBoolean; allowRejectAll: import("zod").ZodBoolean; rubric: import("zod").ZodString; criteria: import("zod").ZodArray>; }, import("zod/v4/core").$strip>; tasks: import("zod").ZodDefault; id: import("zod").ZodString; clusterKey: import("zod").ZodString; split: import("zod").ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; input: import("zod").ZodRecord; expectedOutput: import("zod").ZodNullable>; policyVisibleContext: import("zod").ZodDefault>; privilegedContextRef: import("zod").ZodNullable; assets: import("zod").ZodOptional; mediaType: import("zod").ZodString; sha256: import("zod").ZodString; sizeBytes: import("zod").ZodNumber; split: import("zod").ZodEnum<{ validation: "validation"; test: "test"; train: "train"; frozen_eval: "frozen_eval"; }>; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; resourceRefs: import("zod").ZodOptional>; requiredOutputs: import("zod").ZodOptional>; submissionMode: import("zod").ZodOptional>; maxBytes: import("zod").ZodOptional; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; tags: import("zod").ZodDefault>; metadata: import("zod").ZodDefault>; sourceRefs: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; graders: import("zod").ZodDefault>; version: import("zod").ZodString; label: import("zod").ZodString; weight: import("zod").ZodDefault; hardGate: import("zod").ZodDefault; rewardEligible: import("zod").ZodDefault; privileged: import("zod").ZodDefault; metadata: import("zod").ZodDefault>; kind: import("zod").ZodEnum<{ file: "file"; schema: "schema"; content: "content"; state: "state"; diff: "diff"; test: "test"; runtime_event: "runtime_event"; }>; config: import("zod").ZodRecord; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; taskIds: import("zod").ZodOptional>; version: import("zod").ZodString; label: import("zod").ZodString; weight: import("zod").ZodDefault; hardGate: import("zod").ZodDefault; rewardEligible: import("zod").ZodDefault; privileged: import("zod").ZodDefault; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"model_judge">; rubric: import("zod").ZodString; judge: import("zod").ZodObject<{ providerId: import("zod").ZodUnion, import("zod").ZodTemplateLiteral<`acp:${string}`> ]>; modelId: import("zod").ZodString; }, import("zod/v4/core").$strip>; calibrationFixtureRefs: import("zod").ZodArray; calibrationStatus: import("zod").ZodEnum<{ failed: "failed"; pending: "pending"; passed: "passed"; }>; temperature: import("zod").ZodDefault; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; taskIds: import("zod").ZodOptional>; version: import("zod").ZodString; label: import("zod").ZodString; weight: import("zod").ZodDefault; hardGate: import("zod").ZodDefault; rewardEligible: import("zod").ZodDefault; privileged: import("zod").ZodDefault; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"human">; form: import("zod").ZodOptional; mode: import("zod").ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: import("zod").ZodString; criteria: import("zod").ZodArray; anchors: import("zod").ZodOptional; description: import("zod").ZodString; }, import("zod/v4/core").$strict>>>; kind: import("zod").ZodLiteral<"score">; minimum: import("zod").ZodNumber; maximum: import("zod").ZodNumber; step: import("zod").ZodNumber; }, import("zod/v4/core").$strict>, import("zod").ZodObject<{ id: import("zod").ZodString; label: import("zod").ZodString; instructions: import("zod").ZodString; required: import("zod").ZodBoolean; allowAbstain: import("zod").ZodBoolean; requireRationale: import("zod").ZodOptional; anchors: import("zod").ZodOptional; description: import("zod").ZodString; }, import("zod/v4/core").$strict>>>; kind: import("zod").ZodLiteral<"category">; options: import("zod").ZodArray; }, import("zod/v4/core").$strict>, import("zod").ZodObject<{ id: import("zod").ZodString; label: import("zod").ZodString; instructions: import("zod").ZodString; required: import("zod").ZodBoolean; allowAbstain: import("zod").ZodBoolean; requireRationale: import("zod").ZodOptional; anchors: import("zod").ZodOptional; description: import("zod").ZodString; }, import("zod/v4/core").$strict>>>; kind: import("zod").ZodLiteral<"boolean">; }, import("zod/v4/core").$strict>, import("zod").ZodObject<{ id: import("zod").ZodString; label: import("zod").ZodString; instructions: import("zod").ZodString; required: import("zod").ZodBoolean; allowAbstain: import("zod").ZodBoolean; requireRationale: import("zod").ZodOptional; anchors: import("zod").ZodOptional; description: import("zod").ZodString; }, import("zod/v4/core").$strict>>>; kind: import("zod").ZodLiteral<"text">; minimumLength: import("zod").ZodOptional; maximumLength: import("zod").ZodNumber; }, import("zod/v4/core").$strict>, import("zod").ZodObject<{ id: import("zod").ZodString; label: import("zod").ZodString; instructions: import("zod").ZodString; required: import("zod").ZodBoolean; allowAbstain: import("zod").ZodBoolean; requireRationale: import("zod").ZodOptional; anchors: import("zod").ZodOptional; description: import("zod").ZodString; }, import("zod/v4/core").$strict>>>; kind: import("zod").ZodLiteral<"preference">; requireStrength: import("zod").ZodOptional; allowTie: import("zod").ZodBoolean; }, import("zod/v4/core").$strict> ], "kind">>; }, import("zod/v4/core").$strict>>; rubric: import("zod").ZodString; reviewerRole: import("zod").ZodString; }, import("zod/v4/core").$strip>, import("zod").ZodObject<{ id: import("zod").ZodString; taskIds: import("zod").ZodOptional>; version: import("zod").ZodString; label: import("zod").ZodString; weight: import("zod").ZodDefault; hardGate: import("zod").ZodDefault; rewardEligible: import("zod").ZodDefault; privileged: import("zod").ZodDefault; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"custom_verifier">; runtime: import("zod").ZodOptional>; module: import("zod").ZodString; exportName: import("zod").ZodString; timeoutMs: import("zod").ZodNumber; networkPolicy: import("zod").ZodLiteral<"none">; }, import("zod/v4/core").$strip> ]>>>; graderFixtures: import("zod").ZodDefault; output: import("zod").ZodRecord; infrastructureError: import("zod").ZodNullable; expectedPassed: import("zod").ZodBoolean; expectedRewardEligible: import("zod").ZodBoolean; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; learningSignals: import("zod").ZodObject<{ demonstrations: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"demonstration">; prompt: import("zod").ZodDefault>; response: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; preferences: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"preference">; prompt: import("zod").ZodString; chosen: import("zod").ZodString; rejected: import("zod").ZodString; rationale: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; corrections: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"correction">; original: import("zod").ZodString; corrected: import("zod").ZodString; rationale: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>>>; feedback: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"feedback">; feedback: import("zod").ZodString; polarity: import("zod").ZodEnum<{ positive: "positive"; negative: "negative"; mixed: "mixed"; neutral: "neutral"; }>; }, import("zod/v4/core").$strip>>>; rewards: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"reward">; task: import("zod").ZodString; rules: import("zod").ZodArray>; otherwisePoints: import("zod").ZodNumber; executable: import("zod").ZodBoolean; }, import("zod/v4/core").$strip>>>; labels: import("zod").ZodDefault; sourceRefs: import("zod").ZodArray; artifactRef: import("zod").ZodString; approved: import("zod").ZodBoolean; confidence: import("zod").ZodNumber; metadata: import("zod").ZodDefault>; kind: import("zod").ZodLiteral<"label">; labelKind: import("zod").ZodLiteral<"rubric">; task: import("zod").ZodString; criteria: import("zod").ZodArray>; calibrationExamples: import("zod").ZodObject<{ positive: import("zod").ZodString; negative: import("zod").ZodString; boundary: import("zod").ZodString; }, import("zod/v4/core").$strip>; }, import("zod/v4/core").$strip>>>; }, import("zod/v4/core").$strip>; publishedTasksetRef: import("zod").ZodNullable>; createdAt: import("zod").ZodString; updatedAt: import("zod").ZodString; metadata: import("zod").ZodDefault>; }, import("zod/v4/core").$strip>; schemaVersion: import("zod").ZodLiteral<"openpond.tasksetDraftWorkspace.v1">; contentHash: import("zod").ZodString; }, import("zod/v4/core").$strict>; }, import("zod/v4/core").$strict>; type LocalDatasetListing = ReturnType; type Item = TrainingStateResponse[K] extends (infer T)[] ? T : never; type Fields> = Pick, F>[]; type TrainingActivityState = { jobs: Fields<"jobs", "id" | "status" | "updatedAt">; creations: Fields<"creations", "id" | "state" | "updatedAt">; minerRuns: Fields<"minerRuns", "id" | "status" | "updatedAt">; datasetImports: Fields<"datasetImports", "id" | "status" | "updatedAt">; tasksetDrafts: Fields<"tasksetDrafts", "id" | "revision" | "updatedAt">; tasksets: Fields<"tasksets", "id" | "revision" | "contentHash" | "updatedAt">; modelProjects: Fields<"modelProjects", "id" | "revision" | "updatedAt">; }; declare function trainingStoreMethods(context: SqliteDomainContext, lifecycle: StoreDomainLifecycle): { getCreateImproveRun: (runId: string) => Promise; listCreateImproveRuns: (query?: { profileId?: string | null; conversationId?: string | null; targetKind?: CreateImproveRun["target"]["kind"] | null; targetId?: string | null; state?: CreateImproveRun["state"] | readonly CreateImproveRun["state"][] | null; limit?: number; }) => Promise; upsertCreateImproveRun: (run: CreateImproveRun) => Promise; mutateCreateImproveRun: (action: CreateImproveRunAction, updater: (run: CreateImproveRun) => CreateImproveRun) => Promise<{ run: CreateImproveRun; replayed: boolean; }>; saveContinualLearningDailyBatch: (batchInput: ContinualLearningDailyBatch) => Promise; getContinualLearningDailyBatch: (id: string) => Promise; listContinualLearningDailyBatches: (input?: { seriesId?: string; }) => Promise; saveContinualBenchIssueReview: (reviewInput: ContinualBenchIssueReview) => Promise; getContinualBenchIssueReview: (id: string) => Promise; listContinualBenchIssueReviews: (input?: { seriesId?: string; }) => Promise; listDatasetCatalogTasksets: (profileId: string) => Promise; listExternalDatasetSources: (profileId: string) => Promise; getExternalDatasetSource: (id: string) => Promise; upsertExternalDatasetSource: (sourceInput: ExternalDatasetSourceRef) => Promise; listDatasetImportJobs: (profileId: string) => Promise; listAllDatasetImportJobs: () => Promise; getDatasetImportJob: (id: string) => Promise; upsertDatasetImportJob: (jobInput: DatasetImportJob) => Promise; listDatasetArtifactRegistryEntries: (profileId: string) => Promise; getDatasetArtifactRegistryEntry: (id: string) => Promise; getDatasetArtifactForTaskset: (tasksetId: string, revision?: number | null) => Promise; upsertDatasetArtifactRegistryEntry: (entryInput: DatasetArtifactRegistryEntry) => Promise; initializeModelTasksetDraft: (profileId: string, request: ModelTasksetDraftRequest, source?: TasksetPackage) => Promise; saveTasksetDraft: (draftInput: TasksetDraft, expectedRevision?: number, options?: { refreshModelRevision?: boolean; }) => Promise; importTasksetDraftPackage: (input: { packagePath: string; profileId: string; }) => Promise; materializePublishedTasksetPackage: (input: { draftId: string; taskset: Taskset; }) => Promise<{ directory: string; taskset: Taskset; }>; finalizeTasksetDraftPublication: (input: { draft: TasksetDraft; packageHash: string; taskset: Taskset; }) => Promise<{ draft: TasksetDraft; taskset: Taskset; }>; getTasksetDraft: (id: string) => Promise; listTasksetDrafts: (profileId?: string) => Promise; readHumanPublishedTasksetDraft: (profileId: string, reference: { id: string; revision: number; contentHash: string; }) => Promise<{ draft: { schemaVersion: "openpond.tasksetDraft.v1"; id: string; revision: number; profileId: string; modelScope: { modelId: string; expectedModelRevision: number; source?: { schemaVersion: "openpond.modelTasksetDraftPreparation.v1"; draftId: string; requestHash: string; sourcePackageHash: string; sourceTasksetRef: { id: string; contentHash: string; revision: number; }; tasksetId: string; tasksetRevision: number; lineage: { schemaVersion: "openpond.modelTasksetAuthoring.v1"; owner: { scopeId: string; modelId: string; }; root: { id: string; contentHash: string; revision: number; }; parent: { id: string; contentHash: string; revision: number; }; }; authoringGraph?: "bound" | undefined; } | undefined; } | null; name: string; objective: string; purpose: "general" | "benchmark"; benchmark: { schemaVersion: "openpond.tasksetBenchmark.v1"; definitionId: string; releaseId: string; releaseHash: string; managedReleasePath: string; adaptationSplit: "validation" | "test" | "train" | "frozen_eval"; evaluationSplit: "validation" | "test" | "train" | "frozen_eval"; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityGate: "none" | "non_regression" | "all_pass"; source: "builtin" | "imported"; metadata: Record; } | null; preferenceComparison: { schemaVersion: "openpond.tasksetPreferenceComparisonBinding.v1"; releaseId: string; releaseHash: string; publishedAt: string; metadata: Record; } | null; status: "draft" | "published" | "validating" | "needs_review"; sourceRefs: ({ id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.huggingFaceDatasetSource.v1"; kind: "huggingface"; repositoryId: string; repositoryUrl: string; revision: string; configuration: string; upstreamSplits: string[]; gated: boolean; private: boolean; declaredLicense: string | null; sourceFileHashes: string[]; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.uploadedFileDatasetSource.v1"; kind: "uploaded_file"; originalFileNames: string[]; mediaTypes: string[]; sourceFileHashes: string[]; totalBytes: number; parserVersion: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.generatedDatasetSource.v1"; kind: "generated"; generatorId: string; generatorVersion: string; seed: number; generatorHash: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.learningBatchDatasetSource.v1"; kind: "learning_batch"; batch: { id: string; revision: number; contentHash: string; }; taskDefinition: { id: string; revision: number; contentHash: string; }; admittedBy: string; } | { schemaVersion: "openpond.connectedDatasetSource.v1"; kind: "connected_activity"; id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; origin: "opencode" | "codex" | "hermes" | "openclaw" | "native_chat" | "native_work" | "claude_code" | "grok_build" | "pi" | "oh_my_pi"; sourceId: string; sessionId: string; normalizerVersion: string; projection: "conversation" | "turn"; ownerUserId: string; purpose: "recorded_evaluation"; metadata: Record; sourceFileHashes?: string[] | undefined; } | { schemaVersion: "openpond.trainingSource.v1"; id: string; profileId: string; sessionId: string; turnIds: string[]; workspaceId: string | null; sourceHash: string; clusterKey: string; title: string; occurredAt: string; consent: { status: "pending" | "granted" | "denied" | "revoked"; scope: "metadata_only" | "selected_turns" | "full_session"; grantedBy: string | null; grantedAt: string | null; purpose: "task_authoring_and_evaluation"; }; connectedAppIds: string[]; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; licensingStatus: "pending" | "blocked" | "approved" | "review"; metadata: Record; })[]; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.taskEnvironment.v1"; kind: "chat" | "work" | "agent" | "program" | "stateful_harness"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; toolNames: string[]; lifecycle: ("create" | "reset" | "step" | "grade" | "cleanup")[]; defaultTimeoutMs: number; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; metadata: Record; actionBindings?: { schemaVersion: "openpond.harnessActionBinding.v1"; actionId: string; modelToolName: string; description: string; inputSchema: Record; actionSchemaHash: string; agentRelease: { id: string; contentHash: string; }; implementationHash: string; runtimeBindingId: string; capabilityReceiptHash: string; sideEffect: "read" | "write"; studentVisible: boolean; timeoutMs: number; episodeArgumentBindings: { argument: string; source: "case_id"; }[]; }[] | undefined; resources?: { id: string; kind: "file" | "configuration" | "catalog" | "code_module"; path: string; visibility: "privileged" | "policy_visible" | "policy_hidden"; required: boolean; metadata: Record; mediaType?: string | null | undefined; }[] | undefined; }; output: { mode: "text" | "artifacts" | "structured_json"; jsonSchema: Record | null; renderer: { module: string; exportName: string; configRef: string | null; } | null; requiredOutputSource?: "task.requiredOutputs" | undefined; responsePath?: string | undefined; }; capabilities: { schemaVersion: "openpond.tasksetCapabilities.v1"; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; supportedSignals: ("label" | "demonstration" | "reward" | "feedback" | "preference" | "correction")[]; compatibleMethods: ("none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[]; rewardKinds: ("none" | "exact" | "deterministic" | "model_judge" | "human")[]; requiresTools: boolean; requiresState: boolean; requiresPrivilegedGrading: boolean; environmentPlacements: ("local" | "remote" | "colocated" | "provider_native")[]; exportable: boolean; portabilityBlockers: string[]; }; metrics: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; }; review: { enabled: boolean; candidateCount: number; minimumSamples: number; allowTies: boolean; allowRejectAll: boolean; rubric: string; criteria: { id: string; label: string; description: string; weight: number; }[]; }; tasks: { schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; tags: string[]; metadata: Record; sourceRefs: string[]; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskId: string; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; learningSignals: { demonstrations: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "demonstration"; prompt: string | null; response: string | null; }[]; preferences: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "preference"; prompt: string; chosen: string; rejected: string; rationale: string | null; }[]; corrections: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "correction"; original: string; corrected: string; rationale: string | null; }[]; feedback: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "feedback"; feedback: string; polarity: "positive" | "negative" | "mixed" | "neutral"; }[]; rewards: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; executable: boolean; }[]; labels: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "label"; labelKind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; calibrationExamples: { positive: string; negative: string; boundary: string; }; }[]; }; publishedTasksetRef: { id: string; revision: number; contentHash: string; } | null; createdAt: string; updatedAt: string; metadata: Record; datasetArtifact?: { schemaVersion: "openpond.datasetArtifact.v1"; id: string; tasksetId: string; tasksetRevision: number; contentHash: string; format: "parquet"; schema: { schemaVersion: "openpond.datasetSemanticSchema.v1"; fields: { name: string; semanticRole: "metadata" | "rejected" | "prompt" | "messages" | "row_id" | "cluster_id" | "demonstration" | "chosen" | "expected_output" | "privileged_context" | "reward" | "feedback" | "tag"; logicalType: "string" | "boolean" | "messages" | "integer" | "float" | "json"; nullable: boolean; policy: "metadata" | "visible" | "privileged"; }[]; schemaHash: string; }; shards: { id: string; split: "validation" | "test" | "train" | "frozen_eval"; path: string; contentHash: string; schemaHash: string; sizeBytes: number; rowCount: number; rowGroupCount: number; }[]; rowCount: number; splitCounts: Record<"validation" | "test" | "train" | "frozen_eval", number>; sourceReceiptRefs: string[]; mappingHash: string; qualityReportHash: string; createdAt: string; } | null | undefined; }; workspace: TasksetDraftWorkspace; } | null>; getTasksetDraftWorkspace: (id: string) => Promise; deleteTasksetDraft: (id: string) => Promise; tasksetDraftFiles: (profileId: string, draftId: string, filePath?: string) => Promise<{ draftRevision: number; file: { writable: boolean; path: string; sizeBytes: number; contentHash: string; content: { encoding: "base64" | "utf8"; data: string; }; }; files?: undefined; } | { draftRevision: number; files: { writable: boolean; path: string; sizeBytes: number; }[]; file?: undefined; }>; saveTasksetDraftFile: (profileId: string, input: TasksetDraftFileMutation) => Promise; taskInventorySources: (profileId: string, projectId?: string) => Promise; taskInventorySourceIndexed: (source: LocalTaskInventorySource) => Promise; appendTaskInventoryRows: (source: LocalTaskInventorySource, tasks: TaskDataRecord[], offset: number) => Promise; finishTaskInventorySource: (source: LocalTaskInventorySource, metadata: Pick) => Promise; readTaskInventoryPage: (profileId: string, input: unknown, sources: LocalTaskInventorySource[]) => Promise<{ items: { tasksetId: string; tasksetName: string; tasksetRevision: number; tasksetHash: string; taskId: string; ordinal: number; title: string; description: string; split: string; scoring: { id: string; method: "code" | "human" | "judge"; required: boolean; }[]; configuration: "configured" | "needs_reward" | "needs_checks"; draftId: string | null; modelId: string | null; }[]; nextCursor: string | null; }>; readTaskInventoryTask: (source: LocalTaskInventorySource, taskId: string) => Promise<{ schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; sourceRefs: string[]; tags: string[]; metadata: Record; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }>; findModelBatchReview: (scope: string, raw: ModelBatchReviewRequest) => Promise<{ schemaVersion: "openpond.modelBatchReviewReceipt.v1"; operationId: string; modelId: string; source: { schemaVersion: "openpond.learningSource.v1"; id: string; revision: number; name: string; kind: "provider" | "work" | "benchmark" | "direct" | "opentelemetry"; taskDefinition: { id: string; contentHash: string; revision: number; }; enabled: boolean; allowedSplits: ("validation" | "test" | "train" | "frozen_eval")[]; mapping: { schemaVersion: "openpond.taskSourceMapping.v1"; exampleId: string; attemptId: string; occurredAt: string; input: string; observedOutput: string | null; expected: string | null; evaluatorContext: string | null; familyKey: string; split: "validation" | "test" | "train" | "frozen_eval"; } | null; adapterVersion: string | null; contentHash: string; reviewOrigin?: { modelId: string; packageHash: string; taskset: { id: string; contentHash: string; revision: number; }; batch: { id: string; contentHash: string; revision: number; }; rewardBinding: { id: string; contentHash: string; revision: number; }; } | undefined; capturedOrigin?: { receiptId: string; ownerUserId: string; modelId: string; packageHash: string; taskset: { id: string; contentHash: string; revision: number; }; } | undefined; }; evidence: { schemaVersion: "openpond.taskEvidence.v1"; id: string; revision: number; source: { id: string; contentHash: string; revision: number; }; submission: { schemaVersion: "openpond.taskExample.v1"; sourceId: string; idempotencyKey: string; taskDefinition: { id: string; contentHash: string; revision: number; }; exampleId: string; attemptId: string; occurredAt: string; familyKey: string | null; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; observedOutput: Record | null; expected: Record | null; evaluatorContext: Record | null; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; provenance: { sourceRecordRef: string | null; mappingHash: string | null; }; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; }; supersedes: { id: string; contentHash: string; revision: number; } | null; correctionFeedbackId: string | null; receivedAt: string; contentHash: string; }[]; proposals: { schemaVersion: "openpond.taskFeedbackRecord.v1"; id: string; submission: { schemaVersion: "openpond.taskFeedback.v1"; sourceId: string; idempotencyKey: string; exampleId: string; attemptId: string; expectedEvidenceHash: string | null; occurredAt: string; kind: "outcome" | "target_correction" | "ground_truth_correction" | "input_correction" | "family_resolution"; value: Record; note: string; }; status: "rejected" | "superseded" | "applied" | "pending_review" | "pending_example"; evidence: { id: string; contentHash: string; revision: number; } | null; createdAt: string; revision: number; submittedBy: { id: string; role: "source" | "editor" | "reviewer"; sourceId: string | null; } | null; review: { actorId: string; decision: { id: string; contentHash: string; revision: number; } | null; note: string; resolvedAt: string; } | null; }[]; } | null>; beginModelBatchReview: (scope: string, raw: ModelBatchReviewRequest, value: TasksetPackage) => Promise<{ schemaVersion: "openpond.modelBatchReviewReceipt.v1"; operationId: string; modelId: string; source: { schemaVersion: "openpond.learningSource.v1"; id: string; revision: number; name: string; kind: "provider" | "work" | "benchmark" | "direct" | "opentelemetry"; taskDefinition: { id: string; contentHash: string; revision: number; }; enabled: boolean; allowedSplits: ("validation" | "test" | "train" | "frozen_eval")[]; mapping: { schemaVersion: "openpond.taskSourceMapping.v1"; exampleId: string; attemptId: string; occurredAt: string; input: string; observedOutput: string | null; expected: string | null; evaluatorContext: string | null; familyKey: string; split: "validation" | "test" | "train" | "frozen_eval"; } | null; adapterVersion: string | null; contentHash: string; reviewOrigin?: { modelId: string; packageHash: string; taskset: { id: string; contentHash: string; revision: number; }; batch: { id: string; contentHash: string; revision: number; }; rewardBinding: { id: string; contentHash: string; revision: number; }; } | undefined; capturedOrigin?: { receiptId: string; ownerUserId: string; modelId: string; packageHash: string; taskset: { id: string; contentHash: string; revision: number; }; } | undefined; }; evidence: { schemaVersion: "openpond.taskEvidence.v1"; id: string; revision: number; source: { id: string; contentHash: string; revision: number; }; submission: { schemaVersion: "openpond.taskExample.v1"; sourceId: string; idempotencyKey: string; taskDefinition: { id: string; contentHash: string; revision: number; }; exampleId: string; attemptId: string; occurredAt: string; familyKey: string | null; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; observedOutput: Record | null; expected: Record | null; evaluatorContext: Record | null; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; provenance: { sourceRecordRef: string | null; mappingHash: string | null; }; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; }; supersedes: { id: string; contentHash: string; revision: number; } | null; correctionFeedbackId: string | null; receivedAt: string; contentHash: string; }[]; proposals: { schemaVersion: "openpond.taskFeedbackRecord.v1"; id: string; submission: { schemaVersion: "openpond.taskFeedback.v1"; sourceId: string; idempotencyKey: string; exampleId: string; attemptId: string; expectedEvidenceHash: string | null; occurredAt: string; kind: "outcome" | "target_correction" | "ground_truth_correction" | "input_correction" | "family_resolution"; value: Record; note: string; }; status: "rejected" | "superseded" | "applied" | "pending_review" | "pending_example"; evidence: { id: string; contentHash: string; revision: number; } | null; createdAt: string; revision: number; submittedBy: { id: string; role: "source" | "editor" | "reviewer"; sourceId: string | null; } | null; review: { actorId: string; decision: { id: string; contentHash: string; revision: number; } | null; note: string; resolvedAt: string; } | null; }[]; }>; pendingModelPackagePush: (scope: ModelPackageScope) => Promise<{ apiOrigin: string; teamId: string; project: { schemaVersion: "openpond.modelProject.v2"; id: string; profileId: string; revision: number; name: string; objective: string | null; defaultBaseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; defaultDestinationId: string | null; trainingSetup: { tasksetRef: { id: string; contentHash: string; revision: number; } | null; tasksetRelease: { id: string; contentHash: string; } | null; harnessRelease: { id: string; contentHash: string; } | null; baseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo" | null; destinationId: string | null; managedRolloutPlacement: "local" | "remote"; managedGpuPlacementObjective: "balanced" | "fast" | "economical"; managedGpuRequirement: "any" | "h100_hbm3"; runPreset: "custom" | "small" | "standard" | "small_experiment" | null; recipe: { [x: string]: unknown; schemaVersion: string; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; parameterization: "lora" | "full"; } | null; preferredMaximumSpendUsd: number | null; preferredRetentionDays: number | null; evaluationTasksetRef?: { id: string; contentHash: string; revision: number; } | null | undefined; profileSource?: { profileProjectId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; } | null | undefined; profileEvaluation?: { profileProjectId: string; sourceRevision: string; catalogHash: string; definitionId: string; harnessRelease: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; } | null | undefined; rewardBindingRef?: { id: string; contentHash: string; revision: number; } | null | undefined; managedGpuSelection?: { mode: "automatic"; objective: "balanced" | "fast" | "economical"; gpuCount?: 1 | 2 | undefined; } | { mode: "manual"; availabilityId: string; gpuType: string; gpuCount?: 1 | 2 | undefined; } | undefined; continuationAdapterMode?: "residual_append" | "shared" | "sequential_merge" | undefined; }; hosted: { schemaVersion: "openpond.hostedModelProjectLink.v1"; apiOrigin: string | null; teamId: string; projectId: string; portableProjectId: string; revision: number; etag: string; syncedSourceRevision: number; syncedAt: string; tasksets: { localTasksetId: string; localTasksetHash: string | null; releaseId: string; releaseRevision: number; releaseHash: string; packageHash: string | null; hostedTasksetId: string; syncedAt: string; }[]; } | null; tasksetSyncs: { localTasksetId: string; releaseId: string; releaseRevision: number; releaseHash: string; state: "syncing" | "synced" | "sync_failed"; hostedTasksetId: string | null; lastAttemptAt: string; syncedAt: string | null; lastError: string | null; }[]; createdAt: string; updatedAt: string; }; localTaskset: { id: string; contentHash: string; revision: number; }; packageHash: string; request: { schemaVersion: "openpond.tasksetPackagePublication.v1"; operationId: string; modelProjectId: string; expectedProjectEtag: string | null; name: string; description: string; buildIntent: "preferences" | "rubric" | "demonstrations" | "verifiable_reward" | "discovery"; methodHint: "sft" | "dpo" | "grpo" | "ppo" | null; modelConfiguration?: { name: string; objective: string | null; sourceRevision: number; portableProjectId: string; defaultBaseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; defaultDestinationId: string | null; sourceUpdatedAt: string; trainingSetup: { harnessRelease: { id: string; contentHash: string; } | null; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo" | null; baseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; destinationId: string | null; managedRolloutPlacement: "local" | "remote"; managedGpuPlacementObjective: "balanced" | "fast" | "economical"; managedGpuRequirement: "any" | "h100_hbm3"; runPreset: "custom" | "small" | "standard" | "small_experiment" | null; recipe: { [x: string]: unknown; schemaVersion: string; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; parameterization: "lora" | "full"; } | null; preferredMaximumSpendUsd: number | null; preferredRetentionDays: number | null; evaluationTasksetRef?: { id: string; contentHash: string; revision: number; } | null | undefined; profileSource?: { profileProjectId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; } | null | undefined; profileEvaluation?: { profileProjectId: string; sourceRevision: string; catalogHash: string; definitionId: string; harnessRelease: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; } | null | undefined; managedGpuSelection?: { mode: "automatic"; objective: "balanced" | "fast" | "economical"; gpuCount?: 1 | 2 | undefined; } | { mode: "manual"; availabilityId: string; gpuType: string; gpuCount?: 1 | 2 | undefined; } | undefined; continuationAdapterMode?: "residual_append" | "shared" | "sequential_merge" | undefined; }; } | undefined; selection?: "attach" | "select" | undefined; }; localEvaluation?: { id: string; contentHash: string; revision: number; } | undefined; evaluationPackageHash?: string | undefined; } | null>; prepareModelPackagePush: (input: ModelPackageOperation) => Promise<{ apiOrigin: string; teamId: string; project: { schemaVersion: "openpond.modelProject.v2"; id: string; profileId: string; revision: number; name: string; objective: string | null; defaultBaseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; defaultDestinationId: string | null; trainingSetup: { tasksetRef: { id: string; contentHash: string; revision: number; } | null; tasksetRelease: { id: string; contentHash: string; } | null; harnessRelease: { id: string; contentHash: string; } | null; baseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo" | null; destinationId: string | null; managedRolloutPlacement: "local" | "remote"; managedGpuPlacementObjective: "balanced" | "fast" | "economical"; managedGpuRequirement: "any" | "h100_hbm3"; runPreset: "custom" | "small" | "standard" | "small_experiment" | null; recipe: { [x: string]: unknown; schemaVersion: string; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; parameterization: "lora" | "full"; } | null; preferredMaximumSpendUsd: number | null; preferredRetentionDays: number | null; evaluationTasksetRef?: { id: string; contentHash: string; revision: number; } | null | undefined; profileSource?: { profileProjectId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; } | null | undefined; profileEvaluation?: { profileProjectId: string; sourceRevision: string; catalogHash: string; definitionId: string; harnessRelease: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; } | null | undefined; rewardBindingRef?: { id: string; contentHash: string; revision: number; } | null | undefined; managedGpuSelection?: { mode: "automatic"; objective: "balanced" | "fast" | "economical"; gpuCount?: 1 | 2 | undefined; } | { mode: "manual"; availabilityId: string; gpuType: string; gpuCount?: 1 | 2 | undefined; } | undefined; continuationAdapterMode?: "residual_append" | "shared" | "sequential_merge" | undefined; }; hosted: { schemaVersion: "openpond.hostedModelProjectLink.v1"; apiOrigin: string | null; teamId: string; projectId: string; portableProjectId: string; revision: number; etag: string; syncedSourceRevision: number; syncedAt: string; tasksets: { localTasksetId: string; localTasksetHash: string | null; releaseId: string; releaseRevision: number; releaseHash: string; packageHash: string | null; hostedTasksetId: string; syncedAt: string; }[]; } | null; tasksetSyncs: { localTasksetId: string; releaseId: string; releaseRevision: number; releaseHash: string; state: "syncing" | "synced" | "sync_failed"; hostedTasksetId: string | null; lastAttemptAt: string; syncedAt: string | null; lastError: string | null; }[]; createdAt: string; updatedAt: string; }; localTaskset: { id: string; contentHash: string; revision: number; }; packageHash: string; request: { schemaVersion: "openpond.tasksetPackagePublication.v1"; operationId: string; modelProjectId: string; expectedProjectEtag: string | null; name: string; description: string; buildIntent: "preferences" | "rubric" | "demonstrations" | "verifiable_reward" | "discovery"; methodHint: "sft" | "dpo" | "grpo" | "ppo" | null; modelConfiguration?: { name: string; objective: string | null; sourceRevision: number; portableProjectId: string; defaultBaseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; defaultDestinationId: string | null; sourceUpdatedAt: string; trainingSetup: { harnessRelease: { id: string; contentHash: string; } | null; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo" | null; baseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; destinationId: string | null; managedRolloutPlacement: "local" | "remote"; managedGpuPlacementObjective: "balanced" | "fast" | "economical"; managedGpuRequirement: "any" | "h100_hbm3"; runPreset: "custom" | "small" | "standard" | "small_experiment" | null; recipe: { [x: string]: unknown; schemaVersion: string; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; parameterization: "lora" | "full"; } | null; preferredMaximumSpendUsd: number | null; preferredRetentionDays: number | null; evaluationTasksetRef?: { id: string; contentHash: string; revision: number; } | null | undefined; profileSource?: { profileProjectId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; } | null | undefined; profileEvaluation?: { profileProjectId: string; sourceRevision: string; catalogHash: string; definitionId: string; harnessRelease: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; } | null | undefined; managedGpuSelection?: { mode: "automatic"; objective: "balanced" | "fast" | "economical"; gpuCount?: 1 | 2 | undefined; } | { mode: "manual"; availabilityId: string; gpuType: string; gpuCount?: 1 | 2 | undefined; } | undefined; continuationAdapterMode?: "residual_append" | "shared" | "sequential_merge" | undefined; }; } | undefined; selection?: "attach" | "select" | undefined; }; localEvaluation?: { id: string; contentHash: string; revision: number; } | undefined; evaluationPackageHash?: string | undefined; }>; completeModelPackagePush: (operationId: string, receipt: TasksetPackageReceipt) => Promise<{ schemaVersion: "openpond.modelProject.v2"; id: string; profileId: string; revision: number; name: string; objective: string | null; defaultBaseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; defaultDestinationId: string | null; trainingSetup: { tasksetRef: { id: string; contentHash: string; revision: number; } | null; tasksetRelease: { id: string; contentHash: string; } | null; harnessRelease: { id: string; contentHash: string; } | null; baseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo" | null; destinationId: string | null; managedRolloutPlacement: "local" | "remote"; managedGpuPlacementObjective: "balanced" | "fast" | "economical"; managedGpuRequirement: "any" | "h100_hbm3"; runPreset: "custom" | "small" | "standard" | "small_experiment" | null; recipe: { [x: string]: unknown; schemaVersion: string; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; parameterization: "lora" | "full"; } | null; preferredMaximumSpendUsd: number | null; preferredRetentionDays: number | null; evaluationTasksetRef?: { id: string; contentHash: string; revision: number; } | null | undefined; profileSource?: { profileProjectId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; } | null | undefined; profileEvaluation?: { profileProjectId: string; sourceRevision: string; catalogHash: string; definitionId: string; harnessRelease: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; } | null | undefined; rewardBindingRef?: { id: string; contentHash: string; revision: number; } | null | undefined; managedGpuSelection?: { mode: "automatic"; objective: "balanced" | "fast" | "economical"; gpuCount?: 1 | 2 | undefined; } | { mode: "manual"; availabilityId: string; gpuType: string; gpuCount?: 1 | 2 | undefined; } | undefined; continuationAdapterMode?: "residual_append" | "shared" | "sequential_merge" | undefined; }; hosted: { schemaVersion: "openpond.hostedModelProjectLink.v1"; apiOrigin: string | null; teamId: string; projectId: string; portableProjectId: string; revision: number; etag: string; syncedSourceRevision: number; syncedAt: string; tasksets: { localTasksetId: string; localTasksetHash: string | null; releaseId: string; releaseRevision: number; releaseHash: string; packageHash: string | null; hostedTasksetId: string; syncedAt: string; }[]; } | null; tasksetSyncs: { localTasksetId: string; releaseId: string; releaseRevision: number; releaseHash: string; state: "syncing" | "synced" | "sync_failed"; hostedTasksetId: string | null; lastAttemptAt: string; syncedAt: string | null; lastError: string | null; }[]; createdAt: string; updatedAt: string; }>; rejectModelPackagePush: (operationId: string) => Promise; findModelProjectConfigurationSave: (request: ModelProjectSaveRequest) => Promise; saveModelProjectConfiguration: (request: ModelProjectSaveRequest) => Promise; previewModelProjectTasksetSave: (request: ModelProjectSaveRequest) => Promise; findModelStarterCreation: (request: ModelStarterCommitInput["request"]) => Promise; saveModelStarterCreation: (input: ModelStarterCommitInput) => Promise; prepareModelStarterCreation: (input: ModelStarterCommitInput) => Promise<{ draft: { schemaVersion: "openpond.tasksetDraft.v1"; id: string; revision: number; profileId: string; modelScope: { modelId: string; expectedModelRevision: number; source?: { schemaVersion: "openpond.modelTasksetDraftPreparation.v1"; draftId: string; requestHash: string; sourcePackageHash: string; sourceTasksetRef: { id: string; contentHash: string; revision: number; }; tasksetId: string; tasksetRevision: number; lineage: { schemaVersion: "openpond.modelTasksetAuthoring.v1"; owner: { scopeId: string; modelId: string; }; root: { id: string; contentHash: string; revision: number; }; parent: { id: string; contentHash: string; revision: number; }; }; authoringGraph?: "bound" | undefined; } | undefined; } | null; name: string; objective: string; purpose: "general" | "benchmark"; benchmark: { schemaVersion: "openpond.tasksetBenchmark.v1"; definitionId: string; releaseId: string; releaseHash: string; managedReleasePath: string; adaptationSplit: "validation" | "test" | "train" | "frozen_eval"; evaluationSplit: "validation" | "test" | "train" | "frozen_eval"; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityGate: "none" | "non_regression" | "all_pass"; source: "builtin" | "imported"; metadata: Record; } | null; preferenceComparison: { schemaVersion: "openpond.tasksetPreferenceComparisonBinding.v1"; releaseId: string; releaseHash: string; publishedAt: string; metadata: Record; } | null; status: "draft" | "published" | "validating" | "needs_review"; sourceRefs: ({ id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.huggingFaceDatasetSource.v1"; kind: "huggingface"; repositoryId: string; repositoryUrl: string; revision: string; configuration: string; upstreamSplits: string[]; gated: boolean; private: boolean; declaredLicense: string | null; sourceFileHashes: string[]; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.uploadedFileDatasetSource.v1"; kind: "uploaded_file"; originalFileNames: string[]; mediaTypes: string[]; sourceFileHashes: string[]; totalBytes: number; parserVersion: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.generatedDatasetSource.v1"; kind: "generated"; generatorId: string; generatorVersion: string; seed: number; generatorHash: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.learningBatchDatasetSource.v1"; kind: "learning_batch"; batch: { id: string; revision: number; contentHash: string; }; taskDefinition: { id: string; revision: number; contentHash: string; }; admittedBy: string; } | { schemaVersion: "openpond.connectedDatasetSource.v1"; kind: "connected_activity"; id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; origin: "opencode" | "codex" | "hermes" | "openclaw" | "native_chat" | "native_work" | "claude_code" | "grok_build" | "pi" | "oh_my_pi"; sourceId: string; sessionId: string; normalizerVersion: string; projection: "conversation" | "turn"; ownerUserId: string; purpose: "recorded_evaluation"; metadata: Record; sourceFileHashes?: string[] | undefined; } | { schemaVersion: "openpond.trainingSource.v1"; id: string; profileId: string; sessionId: string; turnIds: string[]; workspaceId: string | null; sourceHash: string; clusterKey: string; title: string; occurredAt: string; consent: { status: "pending" | "granted" | "denied" | "revoked"; scope: "metadata_only" | "selected_turns" | "full_session"; grantedBy: string | null; grantedAt: string | null; purpose: "task_authoring_and_evaluation"; }; connectedAppIds: string[]; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; licensingStatus: "pending" | "blocked" | "approved" | "review"; metadata: Record; })[]; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.taskEnvironment.v1"; kind: "chat" | "work" | "agent" | "program" | "stateful_harness"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; toolNames: string[]; lifecycle: ("create" | "reset" | "step" | "grade" | "cleanup")[]; defaultTimeoutMs: number; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; metadata: Record; actionBindings?: { schemaVersion: "openpond.harnessActionBinding.v1"; actionId: string; modelToolName: string; description: string; inputSchema: Record; actionSchemaHash: string; agentRelease: { id: string; contentHash: string; }; implementationHash: string; runtimeBindingId: string; capabilityReceiptHash: string; sideEffect: "read" | "write"; studentVisible: boolean; timeoutMs: number; episodeArgumentBindings: { argument: string; source: "case_id"; }[]; }[] | undefined; resources?: { id: string; kind: "file" | "configuration" | "catalog" | "code_module"; path: string; visibility: "privileged" | "policy_visible" | "policy_hidden"; required: boolean; metadata: Record; mediaType?: string | null | undefined; }[] | undefined; }; output: { mode: "text" | "artifacts" | "structured_json"; jsonSchema: Record | null; renderer: { module: string; exportName: string; configRef: string | null; } | null; requiredOutputSource?: "task.requiredOutputs" | undefined; responsePath?: string | undefined; }; capabilities: { schemaVersion: "openpond.tasksetCapabilities.v1"; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; supportedSignals: ("label" | "demonstration" | "reward" | "feedback" | "preference" | "correction")[]; compatibleMethods: ("none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[]; rewardKinds: ("none" | "exact" | "deterministic" | "model_judge" | "human")[]; requiresTools: boolean; requiresState: boolean; requiresPrivilegedGrading: boolean; environmentPlacements: ("local" | "remote" | "colocated" | "provider_native")[]; exportable: boolean; portabilityBlockers: string[]; }; metrics: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; }; review: { enabled: boolean; candidateCount: number; minimumSamples: number; allowTies: boolean; allowRejectAll: boolean; rubric: string; criteria: { id: string; label: string; description: string; weight: number; }[]; }; tasks: { schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; tags: string[]; metadata: Record; sourceRefs: string[]; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskId: string; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; learningSignals: { demonstrations: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "demonstration"; prompt: string | null; response: string | null; }[]; preferences: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "preference"; prompt: string; chosen: string; rejected: string; rationale: string | null; }[]; corrections: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "correction"; original: string; corrected: string; rationale: string | null; }[]; feedback: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "feedback"; feedback: string; polarity: "positive" | "negative" | "mixed" | "neutral"; }[]; rewards: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; executable: boolean; }[]; labels: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "label"; labelKind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; calibrationExamples: { positive: string; negative: string; boundary: string; }; }[]; }; publishedTasksetRef: { id: string; revision: number; contentHash: string; } | null; createdAt: string; updatedAt: string; metadata: Record; datasetArtifact?: { schemaVersion: "openpond.datasetArtifact.v1"; id: string; tasksetId: string; tasksetRevision: number; contentHash: string; format: "parquet"; schema: { schemaVersion: "openpond.datasetSemanticSchema.v1"; fields: { name: string; semanticRole: "metadata" | "rejected" | "prompt" | "messages" | "row_id" | "cluster_id" | "demonstration" | "chosen" | "expected_output" | "privileged_context" | "reward" | "feedback" | "tag"; logicalType: "string" | "boolean" | "messages" | "integer" | "float" | "json"; nullable: boolean; policy: "metadata" | "visible" | "privileged"; }[]; schemaHash: string; }; shards: { id: string; split: "validation" | "test" | "train" | "frozen_eval"; path: string; contentHash: string; schemaHash: string; sizeBytes: number; rowCount: number; rowGroupCount: number; }[]; rowCount: number; splitCounts: Record<"validation" | "test" | "train" | "frozen_eval", number>; sourceReceiptRefs: string[]; mappingHash: string; qualityReportHash: string; createdAt: string; } | null | undefined; }; taskset: { schemaVersion: "openpond.taskset.v1"; id: string; revision: number; profileId: string; createImproveRunId: string | null; name: string; objective: string; purpose: "general" | "benchmark"; benchmark: { schemaVersion: "openpond.tasksetBenchmark.v1"; definitionId: string; releaseId: string; releaseHash: string; managedReleasePath: string; adaptationSplit: "validation" | "test" | "train" | "frozen_eval"; evaluationSplit: "validation" | "test" | "train" | "frozen_eval"; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityGate: "none" | "non_regression" | "all_pass"; source: "builtin" | "imported"; metadata: Record; } | null; preferenceComparison: { schemaVersion: "openpond.tasksetPreferenceComparisonBinding.v1"; releaseId: string; releaseHash: string; publishedAt: string; metadata: Record; } | null; status: "failed" | "draft" | "archived" | "ready" | "blocked" | "awaiting_disclosure_approval" | "awaiting_materialization_approval" | "materializing" | "validating" | "needs_review" | "baselining"; sourceRefs: ({ id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.huggingFaceDatasetSource.v1"; kind: "huggingface"; repositoryId: string; repositoryUrl: string; revision: string; configuration: string; upstreamSplits: string[]; gated: boolean; private: boolean; declaredLicense: string | null; sourceFileHashes: string[]; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.uploadedFileDatasetSource.v1"; kind: "uploaded_file"; originalFileNames: string[]; mediaTypes: string[]; sourceFileHashes: string[]; totalBytes: number; parserVersion: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.generatedDatasetSource.v1"; kind: "generated"; generatorId: string; generatorVersion: string; seed: number; generatorHash: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.learningBatchDatasetSource.v1"; kind: "learning_batch"; batch: { id: string; revision: number; contentHash: string; }; taskDefinition: { id: string; revision: number; contentHash: string; }; admittedBy: string; } | { schemaVersion: "openpond.connectedDatasetSource.v1"; kind: "connected_activity"; id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; origin: "opencode" | "codex" | "hermes" | "openclaw" | "native_chat" | "native_work" | "claude_code" | "grok_build" | "pi" | "oh_my_pi"; sourceId: string; sessionId: string; normalizerVersion: string; projection: "conversation" | "turn"; ownerUserId: string; purpose: "recorded_evaluation"; metadata: Record; sourceFileHashes?: string[] | undefined; } | { schemaVersion: "openpond.trainingSource.v1"; id: string; profileId: string; sessionId: string; turnIds: string[]; workspaceId: string | null; sourceHash: string; clusterKey: string; title: string; occurredAt: string; consent: { status: "pending" | "granted" | "denied" | "revoked"; scope: "metadata_only" | "selected_turns" | "full_session"; grantedBy: string | null; grantedAt: string | null; purpose: "task_authoring_and_evaluation"; }; connectedAppIds: string[]; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; licensingStatus: "pending" | "blocked" | "approved" | "review"; metadata: Record; })[]; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.taskEnvironment.v1"; kind: "chat" | "work" | "agent" | "program" | "stateful_harness"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; toolNames: string[]; lifecycle: ("create" | "reset" | "step" | "grade" | "cleanup")[]; defaultTimeoutMs: number; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; metadata: Record; actionBindings?: { schemaVersion: "openpond.harnessActionBinding.v1"; actionId: string; modelToolName: string; description: string; inputSchema: Record; actionSchemaHash: string; agentRelease: { id: string; contentHash: string; }; implementationHash: string; runtimeBindingId: string; capabilityReceiptHash: string; sideEffect: "read" | "write"; studentVisible: boolean; timeoutMs: number; episodeArgumentBindings: { argument: string; source: "case_id"; }[]; }[] | undefined; resources?: { id: string; kind: "file" | "configuration" | "catalog" | "code_module"; path: string; visibility: "privileged" | "policy_visible" | "policy_hidden"; required: boolean; metadata: Record; mediaType?: string | null | undefined; }[] | undefined; }; capabilities: { schemaVersion: "openpond.tasksetCapabilities.v1"; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; supportedSignals: ("label" | "demonstration" | "reward" | "feedback" | "preference" | "correction")[]; compatibleMethods: ("none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[]; rewardKinds: ("none" | "exact" | "deterministic" | "model_judge" | "human")[]; requiresTools: boolean; requiresState: boolean; requiresPrivilegedGrading: boolean; environmentPlacements: ("local" | "remote" | "colocated" | "provider_native")[]; exportable: boolean; portabilityBlockers: string[]; }; tasks: { schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; sourceRefs: string[]; tags: string[]; metadata: Record; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskId: string; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; learningSignals: { demonstrations: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "demonstration"; prompt: string | null; response: string | null; }[]; preferences: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "preference"; prompt: string; chosen: string; rejected: string; rationale: string | null; }[]; corrections: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "correction"; original: string; corrected: string; rationale: string | null; }[]; feedback: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "feedback"; feedback: string; polarity: "positive" | "negative" | "mixed" | "neutral"; }[]; rewards: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; executable: boolean; }[]; labels: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "label"; labelKind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; calibrationExamples: { positive: string; negative: string; boundary: string; }; }[]; }; authoringProvenance: { schemaVersion: "openpond.taskAuthoringProvenance.v1"; model: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null; modelConfig: Record; skillHash: string; promptTemplateVersion: string; buildIntent: "preferences" | "rubric" | "demonstrations" | "verifiable_reward" | "discovery"; buildSpecification: { kind: "demonstrations"; behavior: string; examples: { id: string; prompt: string; response: string; }[]; } | { kind: "preferences"; preference: string; pairs: { id: string; prompt: string; chosen: string; rejected: string; rationale: string; }[]; } | { kind: "verifiable_reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; } | { kind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; positiveExample: string; negativeExample: string; boundaryExample: string; } | null; evidenceHashes: string[]; tasksetSdkVersion: string; sourceCommit: string | null; repairHistory: { attempt: number; summary: string; createdAt: string; }[]; createdAt: string; }; readiness: { schemaVersion: "openpond.tasksetReadiness.v1"; tasksetId: string; tasksetHash: string; ready: boolean; recommendedMethod: "none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; trainingPath: { primaryMethod: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opsd" | "sdpo"; bootstrap: { method: "sft"; purpose: "trajectory_bootstrap"; demonstrationRefs: string[]; limitations: string[]; } | null; } | null; methodReadiness: { method: "sft" | "dpo" | "grpo" | "ppo"; status: "recommended" | "compatible" | "needs_dataset_work"; reasonCodes: ("taskset_not_ready" | "demonstrations_missing" | "preference_pairs_missing" | "preference_pairs_invalid" | "executable_reward_missing" | "reward_not_calibrated" | "reward_model_missing" | "value_model_required" | "frozen_eval_missing")[]; reasons: string[]; }[]; compatibleDestinationClasses: ("custom" | "export" | "hosted_managed")[]; blockers: { code: string; message: string; path: string | null; }[]; advisories: { code: string; message: string; path: string | null; }[]; warnings: string[]; generatedAt: string; } | null; contentHash: string; createdAt: string; updatedAt: string; metadata: Record; profileRelease?: { id: string; contentHash: string; revision: number; } | null | undefined; datasetArtifact?: { schemaVersion: "openpond.datasetArtifact.v1"; id: string; tasksetId: string; tasksetRevision: number; contentHash: string; format: "parquet"; schema: { schemaVersion: "openpond.datasetSemanticSchema.v1"; fields: { name: string; semanticRole: "metadata" | "rejected" | "prompt" | "messages" | "row_id" | "cluster_id" | "demonstration" | "chosen" | "expected_output" | "privileged_context" | "reward" | "feedback" | "tag"; logicalType: "string" | "boolean" | "messages" | "integer" | "float" | "json"; nullable: boolean; policy: "metadata" | "visible" | "privileged"; }[]; schemaHash: string; }; shards: { id: string; split: "validation" | "test" | "train" | "frozen_eval"; path: string; contentHash: string; schemaHash: string; sizeBytes: number; rowCount: number; rowGroupCount: number; }[]; rowCount: number; splitCounts: Record<"validation" | "test" | "train" | "frozen_eval", number>; sourceReceiptRefs: string[]; mappingHash: string; qualityReportHash: string; createdAt: string; } | null | undefined; metrics?: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; } | undefined; }; generatedFiles: { path: string; role: "environment" | "verifier" | "fixture"; content: string; }[]; resources: { taskset: { schemaVersion: "openpond.tasksetRelease.v2"; id: string; revision: number; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; capabilities: { id: string; required: boolean; scopes: string[]; portability: "host_adapter" | "hosted_only" | "local_only" | "portable"; }[]; tasks: { id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; artifactRefs: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; tags: string[]; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; metadata: Record; contentHash: string; environmentRelease?: { id: string; contentHash: string; } | undefined; verifierSetRelease?: { id: string; contentHash: string; } | undefined; metrics?: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; } | undefined; }; taskDefinition: { schemaVersion: "openpond.taskDefinition.v1"; id: string; revision: number; name: string; description: string; instructions: string; category: "custom" | "structured" | "question_answering" | "coding" | "tool_workflow"; familyNamespace: string; inputSchema: Record; outputSchema: Record; rewardBinding: { id: string; contentHash: string; revision: number; }; harness: { id: string; contentHash: string; } | null; execution: { policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; capabilities: { id: string; required: boolean; scopes: string[]; portability: "host_adapter" | "hosted_only" | "local_only" | "portable"; }[]; environmentRelease?: { id: string; contentHash: string; } | undefined; verifierSetRelease?: { id: string; contentHash: string; } | undefined; }; contentHash: string; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; contextRequirements?: string[] | undefined; }; rewardBinding: { schemaVersion: "openpond.rewardBinding.v1"; id: string; revision: number; sources: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; normalization: { kind: "identity"; } | { kind: "linear"; minimum: number; maximum: number; direction: "higher" | "lower"; }; weight: number; required: boolean; hardGate: boolean; privileged: boolean; fixtureRefs: { id: string; contentHash: string; }[]; taskIds?: string[] | undefined; }[]; aggregation: "weighted_mean"; unscorable: "exclude_optional_require_all_required"; contentHash: string; name?: string | undefined; description?: string | undefined; recipeRef?: { id: string; contentHash: string; revision: number; } | undefined; }; rewards: { schemaVersion: "openpond.rewardRelease.v1"; id: string; revision: number; name: string; description: string; implementation: { kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; } | { kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { timeoutMs: number; networkPolicy: "none"; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; exportName?: string | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; } | { kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { kind: "learned_model"; modelVersion: { id: string; contentHash: string; }; inputContract: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; }; rawScore: { minimum: number; maximum: number; }; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; contentHash: string; feedbackKey?: string | undefined; fixtureSetRef?: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | undefined; calibrationCheckRef?: { id: string; contentHash: string; revision: number; } | undefined; }[]; assets: { schemaVersion: "openpond.learningTextAsset.v1"; id: string; revision: 1; asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; text: string; contentHash: string; }[]; executionResources?: { environment: { schemaVersion: "openpond.environmentRelease.v1"; id: string; revision: number; contract: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; actionSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; observationSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; stateSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; artifactCollection: { maxArtifacts: number; maxTotalBytes: number; }; adapterConformanceHashes: Record; metadata: Record; contentHash: string; }; verifierSet: { schemaVersion: "openpond.verifierSetRelease.v1"; id: string; revision: number; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; isolation: { processBoundary: "same_process" | "isolated_process" | "container"; networkPolicy: "none"; defaultTimeoutMs: number; }; calibrationReceiptRefs: { id: string; contentHash: string; }[]; metadata: Record; contentHash: string; }; } | undefined; execution?: { environment: { schemaVersion: "openpond.environmentRelease.v1"; id: string; revision: number; contract: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; actionSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; observationSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; stateSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; artifactCollection: { maxArtifacts: number; maxTotalBytes: number; }; adapterConformanceHashes: Record; metadata: Record; contentHash: string; }; verifierSet: { schemaVersion: "openpond.verifierSetRelease.v1"; id: string; revision: number; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; isolation: { processBoundary: "same_process" | "isolated_process" | "container"; networkPolicy: "none"; defaultTimeoutMs: number; }; calibrationReceiptRefs: { id: string; contentHash: string; }[]; metadata: Record; contentHash: string; }; javascript: { schemaVersion: "openpond.javascriptEnvironment.v1"; id: string; revision: number; module: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; maxSteps: number; maxStateBytes: number; maxObservationBytes: number; operationTimeoutMs: number; contentHash: string; executionServices?: ({ kind: "sqlite.v1"; sql: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; snapshot: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; maxRows: number; maxResultBytes: number; id: string; operation: "step" | "collect"; timeoutMs: number; toolName?: string | undefined; } | { kind: "javascript.v1"; source: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; cases: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; exportName: string; maxCases: number; maxResultBytes: number; id: string; operation: "step" | "collect"; timeoutMs: number; toolName?: string | undefined; })[] | undefined; }; } | undefined; instructionMode?: "per_task" | undefined; }; }>; saveModelProjectHosting: (previous: ModelProject | null, next: ModelProject, replace?: boolean, packages?: PreparedImportedTasksetPackage[]) => Promise; saveModelCurrencySnapshot: (snapshotInput: ModelCurrencySnapshot) => Promise; getModelCurrencySnapshot: (id: string) => Promise; listModelCurrencySnapshots: (input?: { seriesId?: string; entryId?: string; }) => Promise; saveModelComparisonSeries: (seriesInput: ModelComparisonSeries) => Promise; getModelComparisonSeries: (id: string) => Promise; listModelComparisonSeries: (input?: { profileId?: string; modelProjectId?: string; }) => Promise; saveModelComparisonSeriesEntry: (entryInput: ModelComparisonSeriesEntry) => Promise; getModelComparisonSeriesEntry: (id: string) => Promise; listModelComparisonSeriesEntries: (input?: { seriesId?: string; modelProjectId?: string; }) => Promise; commitModelComparisonSeriesMutation: (input: { expectedSeriesRevision: number; series: ModelComparisonSeries; entry: ModelComparisonSeriesEntry; expectedEntryStatus: ModelComparisonSeriesEntry["status"] | null; }) => Promise<{ series: ModelComparisonSeries; entry: ModelComparisonSeriesEntry; }>; compareAndSwapModelComparisonSeriesEntry: (input: { expectedStatus: ModelComparisonSeriesEntry["status"]; entry: ModelComparisonSeriesEntry; }) => Promise; saveRewardModelVersion: (versionInput: RewardModelVersion) => Promise; getRewardModelVersion: (id: string) => Promise; listRewardModelVersions: (input?: { profileId?: string; tasksetId?: string; }) => Promise; saveRewardModelRun: (runInput: RewardModelRun) => Promise; getRewardModelRun: (id: string) => Promise; listRewardModelRuns: (input?: { profileId?: string; tasksetId?: string; }) => Promise; saveModelVersion: (versionInput: ModelVersion) => Promise; getModelVersion: (id: string) => Promise; listModelVersions: (input?: { profileId?: string; modelId?: string; }) => Promise; saveModelRun: (runInput: ModelRun, options?: { recoverCollectionForJobId?: string; }) => Promise; getModelRun: (id: string) => Promise; listModelRuns: (input?: { profileId?: string; modelId?: string; tasksetId?: string; }) => Promise; saveRolloutTrajectoryReceipt: (receiptInput: RolloutTrajectoryReceipt) => Promise; getRolloutTrajectoryReceiptByProviderId: (providerRolloutId: string) => Promise; listRolloutTrajectoryReceipts: (input?: { jobId?: string; tasksetId?: string; }) => Promise; saveModelBinding: (bindingInput: ModelBinding) => Promise; replaceActiveModelBinding: (input: { profileId: string; role: ModelBinding["role"]; roleTargetId: string; expectedActiveBindingId: string | null; servingGrant?: { id: string; expectedRevision: number; authorizationHash: string; }; next: ModelBinding | null; timestamp: string; }) => Promise<{ previous: ModelBinding | null; active: ModelBinding | null; }>; getModelBinding: (id: string) => Promise; getActiveModelBinding: (input: { profileId: string; role: ModelBinding["role"]; roleTargetId: string; }) => Promise; listModelBindings: (profileId?: string) => Promise; saveModelProject: (projectInput: ModelProject) => Promise; getModelProject: (id: string) => Promise; listModelProjects: (profileId?: string) => Promise; saveTrainingPlan: (planInput: TrainingPlan) => Promise; listTrainingPlans: (tasksetId?: string) => Promise; getTrainingPlan: (id: string) => Promise; saveTrainingBundle: (bundleInput: TrainingBundleManifest) => Promise; getTrainingBundle: (id: string) => Promise; listTrainingBundles: (planId?: string) => Promise; findTrainingBundleByPlanAndHash: (planId: string, contentHash: string) => Promise; saveTrainingJob: (jobInput: TrainingJob) => Promise; saveTrainingApproval: (approvalInput: TrainingApproval) => Promise; getTrainingApproval: (id: string) => Promise; getTrainingJob: (id: string) => Promise; readTrainingExecutionActivity: (input: { teamId: string; actorId: string; projectId: string | null; limit?: number; }) => Promise<{ count: number; items: { kind: "training"; location: "local"; id: string; name: string; phase: string; updatedAt: string; href: string; }[]; }>; listTrainingJobs: () => Promise; saveTrainingJobEvent: (eventInput: TrainingJobEvent) => Promise; saveHostedTrainingJobEvent: (eventInput: TrainingJobEvent) => Promise; listTrainingJobEvents: (jobId: string) => Promise; saveTrainingArtifact: (artifactInput: TrainingArtifact) => Promise; listTrainingArtifacts: (jobId?: string) => Promise; getTrainingArtifact: (id: string) => Promise; saveModelArtifactLineage: (lineageInput: ModelArtifactLineage) => Promise; updateModelArtifactLineageServing: (id: string, projection: ModelArtifactLineage["managedServing"]) => Promise; updateModelArtifactLineageReview: (id: string, patch: Pick) => Promise; listModelArtifactLineage: (tasksetId?: string) => Promise; getModelArtifactLineage: (id: string) => Promise; trainingChatSearchSignatures: (source: TrainingChatSearchDocument["source"]) => Promise>; openPondTrainingChatSearchEvidence: (candidateIdsInput: string[]) => Promise>; syncTrainingChatSearchDocuments: (source: TrainingChatSearchDocument["source"], documents: TrainingChatSearchDocument[]) => Promise; upsertTrainingChatSearchDocument: (document: TrainingChatSearchDocument) => Promise; searchTrainingChats: (input: { query: string; offset: number; limit: number; candidateIds: string[]; }) => Promise; listTrainingSources: (profileId: string) => Promise; getTrainingSource: (id: string) => Promise; getTrainingSourceForSession: (input: { profileId: string; sessionId: string; sourceHash: string; }) => Promise; upsertTrainingSource: (sourceInput: TrainingSourceRef) => Promise; deleteTrainingSource: (id: string) => Promise; listTaskCreationSnapshots: (profileId: string) => Promise; getTaskCreationSnapshot: (id: string) => Promise; upsertTaskCreationSnapshot: (snapshotInput: TaskCreationSnapshot) => Promise; getTaskCreationTranscript: (creationId: string) => Promise<{ schemaVersion: "openpond.taskCreationTranscript.v1"; creationId: string; profileId: string; messages: { id: string; role: "user" | "system" | "tool" | "assistant"; text: string; createdAt: string; }[]; updatedAt: string; } | null>; getTaskDesignProposal: (creationId: string) => Promise<{ schemaVersion: "openpond.taskDesignProposal.v1"; id: string; name: string; objective: string; diagnosis: { schemaVersion: "openpond.capabilityDiagnosis.v1"; summary: string; stableBehavior: string[]; changingKnowledge: string[]; requiredContext: string[]; requiredTools: string[]; intervention: "preference" | "retrieval" | "sft" | "sdpo" | "no_training" | "prompting" | "grpo_rft" | "sdft_opsd" | "agentic_rl"; trainingEligible: boolean; rationale: string[]; confidence: number; }; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; sourceIds: string[]; assumptions: string[]; successCriteria: string[]; proposedGraders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskIndex: number; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; generatedFiles: { path: string; role: "environment" | "verifier" | "fixture"; content: string; }[]; proposedExamples: { id: string; sourceId: string; sourceTurnId: string | null; split: "validation" | "test" | "train" | "frozen_eval"; origin: "corrected" | "extracted" | "synthetic" | "expert_authored"; inputPrompt: string; expectedOutputText: string | null; rationale: string; }[]; proposedMethod: "none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; trainingPath: { primaryMethod: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opsd" | "sdpo"; bootstrap: { method: "sft"; purpose: "trajectory_bootstrap"; demonstrationRefs: string[]; limitations: string[]; } | null; } | null; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; warnings: string[]; createdAt: string; } | null>; listTasksets: (profileId?: string) => Promise; listTasksetRevisions: (profileId: string) => Promise; getTaskset: (id: string) => Promise; getTasksetRevision: (id: string, revision: number, contentHash?: string | null) => Promise; getTasksetByHash: (id: string, contentHash: string) => Promise; upsertTaskset: (tasksetInput: Taskset) => Promise; deleteTasksetData: (id: string) => Promise; listTaskCandidates: (profileId: string, status?: TaskCandidateStatus | "all") => Promise; getTaskCandidate: (id: string) => Promise; findTaskCandidateByFingerprint: (profileId: string, fingerprint: string) => Promise; upsertTaskCandidate: (candidateInput: TaskCandidate) => Promise; saveTaskAttempt: (attemptInput: TaskAttemptResult) => Promise; listTaskAttempts: (tasksetId: string) => Promise; saveTaskAttemptArtifact: (artifactInput: TaskAttemptArtifact) => Promise; listTaskAttemptArtifacts: (input: { tasksetId?: string; attemptId?: string; }) => Promise; saveGradeResult: (resultInput: GradeResult) => Promise; deleteGradeResultsForAttempt: (attemptId: string) => Promise; listGradeResultsForTaskset: (tasksetId: string) => Promise; saveGraderAuditReport: (reportInput: GraderAuditReport) => Promise; listGraderAuditReports: (tasksetId: string) => Promise; saveReadinessReport: (reportInput: TasksetReadinessReport) => Promise; getReadinessReport: (tasksetId: string) => Promise; saveTaskMinerConfig: (profileId: string, configInput: TaskMinerConfig) => Promise; getTaskMinerConfig: (profileId: string) => Promise; saveTaskMinerRun: (runInput: TaskMinerRun) => Promise; getTaskMinerRun: (id: string) => Promise; listTaskMinerRuns: (profileId?: string) => Promise; listChatHostedExperiments: () => Promise; readChatHostedExperiment: (id: string) => Promise; retainChatHostedExperiment: (id: string, ownerHash: string, configurationHash: string, payload: unknown) => Promise; readChatExperimentGroup: (operationId: string, requestHash?: string) => Promise; prepareChatExperimentGroup: (operationId: string, requestHash: string, payload: unknown) => Promise; localResourceOwnerId: () => Promise; readLocalDataset: (id: string, revision?: number) => Promise; readLocalDatasetByWorkspaceHash: (id: string, workspaceHash: string) => Promise; listLocalDatasets: (syncOnly?: boolean) => Promise; listLocalDatasetListings: () => Promise; readLocalDatasetListing: (id: string, revision?: number) => Promise; readLocalDatasetProjection: (id: string, taskIds: string[], selection: { revision?: number; workspaceHash?: string; }) => Promise<{ record: { schemaVersion: "openpond.localDataset.v1"; ownerId: string; projectId: string | null; workspace: { schemaVersion: "openpond.tasksetDraftWorkspace.v1"; draft: { schemaVersion: "openpond.tasksetDraft.v1"; id: string; revision: number; profileId: string; modelScope: { modelId: string; expectedModelRevision: number; source?: { schemaVersion: "openpond.modelTasksetDraftPreparation.v1"; draftId: string; requestHash: string; sourcePackageHash: string; sourceTasksetRef: { id: string; contentHash: string; revision: number; }; tasksetId: string; tasksetRevision: number; lineage: { schemaVersion: "openpond.modelTasksetAuthoring.v1"; owner: { scopeId: string; modelId: string; }; root: { id: string; contentHash: string; revision: number; }; parent: { id: string; contentHash: string; revision: number; }; }; authoringGraph?: "bound" | undefined; } | undefined; } | null; name: string; objective: string; purpose: "general" | "benchmark"; benchmark: { schemaVersion: "openpond.tasksetBenchmark.v1"; definitionId: string; releaseId: string; releaseHash: string; managedReleasePath: string; adaptationSplit: "validation" | "test" | "train" | "frozen_eval"; evaluationSplit: "validation" | "test" | "train" | "frozen_eval"; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityGate: "none" | "non_regression" | "all_pass"; source: "builtin" | "imported"; metadata: Record; } | null; preferenceComparison: { schemaVersion: "openpond.tasksetPreferenceComparisonBinding.v1"; releaseId: string; releaseHash: string; publishedAt: string; metadata: Record; } | null; status: "draft" | "published" | "validating" | "needs_review"; sourceRefs: ({ id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.huggingFaceDatasetSource.v1"; kind: "huggingface"; repositoryId: string; repositoryUrl: string; revision: string; configuration: string; upstreamSplits: string[]; gated: boolean; private: boolean; declaredLicense: string | null; sourceFileHashes: string[]; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.uploadedFileDatasetSource.v1"; kind: "uploaded_file"; originalFileNames: string[]; mediaTypes: string[]; sourceFileHashes: string[]; totalBytes: number; parserVersion: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.generatedDatasetSource.v1"; kind: "generated"; generatorId: string; generatorVersion: string; seed: number; generatorHash: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.learningBatchDatasetSource.v1"; kind: "learning_batch"; batch: { id: string; revision: number; contentHash: string; }; taskDefinition: { id: string; revision: number; contentHash: string; }; admittedBy: string; } | { schemaVersion: "openpond.connectedDatasetSource.v1"; kind: "connected_activity"; id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; origin: "opencode" | "codex" | "hermes" | "openclaw" | "native_chat" | "native_work" | "claude_code" | "grok_build" | "pi" | "oh_my_pi"; sourceId: string; sessionId: string; normalizerVersion: string; projection: "conversation" | "turn"; ownerUserId: string; purpose: "recorded_evaluation"; metadata: Record; sourceFileHashes?: string[] | undefined; } | { schemaVersion: "openpond.trainingSource.v1"; id: string; profileId: string; sessionId: string; turnIds: string[]; workspaceId: string | null; sourceHash: string; clusterKey: string; title: string; occurredAt: string; consent: { status: "pending" | "granted" | "denied" | "revoked"; scope: "metadata_only" | "selected_turns" | "full_session"; grantedBy: string | null; grantedAt: string | null; purpose: "task_authoring_and_evaluation"; }; connectedAppIds: string[]; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; licensingStatus: "pending" | "blocked" | "approved" | "review"; metadata: Record; })[]; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.taskEnvironment.v1"; kind: "chat" | "work" | "agent" | "program" | "stateful_harness"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; toolNames: string[]; lifecycle: ("create" | "reset" | "step" | "grade" | "cleanup")[]; defaultTimeoutMs: number; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; metadata: Record; actionBindings?: { schemaVersion: "openpond.harnessActionBinding.v1"; actionId: string; modelToolName: string; description: string; inputSchema: Record; actionSchemaHash: string; agentRelease: { id: string; contentHash: string; }; implementationHash: string; runtimeBindingId: string; capabilityReceiptHash: string; sideEffect: "read" | "write"; studentVisible: boolean; timeoutMs: number; episodeArgumentBindings: { argument: string; source: "case_id"; }[]; }[] | undefined; resources?: { id: string; kind: "file" | "configuration" | "catalog" | "code_module"; path: string; visibility: "privileged" | "policy_visible" | "policy_hidden"; required: boolean; metadata: Record; mediaType?: string | null | undefined; }[] | undefined; }; output: { mode: "text" | "artifacts" | "structured_json"; jsonSchema: Record | null; renderer: { module: string; exportName: string; configRef: string | null; } | null; requiredOutputSource?: "task.requiredOutputs" | undefined; responsePath?: string | undefined; }; capabilities: { schemaVersion: "openpond.tasksetCapabilities.v1"; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; supportedSignals: ("label" | "demonstration" | "reward" | "feedback" | "preference" | "correction")[]; compatibleMethods: ("none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[]; rewardKinds: ("none" | "exact" | "deterministic" | "model_judge" | "human")[]; requiresTools: boolean; requiresState: boolean; requiresPrivilegedGrading: boolean; environmentPlacements: ("local" | "remote" | "colocated" | "provider_native")[]; exportable: boolean; portabilityBlockers: string[]; }; metrics: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; }; review: { enabled: boolean; candidateCount: number; minimumSamples: number; allowTies: boolean; allowRejectAll: boolean; rubric: string; criteria: { id: string; label: string; description: string; weight: number; }[]; }; tasks: { schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; tags: string[]; metadata: Record; sourceRefs: string[]; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskId: string; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; learningSignals: { demonstrations: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "demonstration"; prompt: string | null; response: string | null; }[]; preferences: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "preference"; prompt: string; chosen: string; rejected: string; rationale: string | null; }[]; corrections: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "correction"; original: string; corrected: string; rationale: string | null; }[]; feedback: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "feedback"; feedback: string; polarity: "positive" | "negative" | "mixed" | "neutral"; }[]; rewards: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; executable: boolean; }[]; labels: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "label"; labelKind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; calibrationExamples: { positive: string; negative: string; boundary: string; }; }[]; }; publishedTasksetRef: { id: string; revision: number; contentHash: string; } | null; createdAt: string; updatedAt: string; metadata: Record; datasetArtifact?: { schemaVersion: "openpond.datasetArtifact.v1"; id: string; tasksetId: string; tasksetRevision: number; contentHash: string; format: "parquet"; schema: { schemaVersion: "openpond.datasetSemanticSchema.v1"; fields: { name: string; semanticRole: "metadata" | "rejected" | "prompt" | "messages" | "row_id" | "cluster_id" | "demonstration" | "chosen" | "expected_output" | "privileged_context" | "reward" | "feedback" | "tag"; logicalType: "string" | "boolean" | "messages" | "integer" | "float" | "json"; nullable: boolean; policy: "metadata" | "visible" | "privileged"; }[]; schemaHash: string; }; shards: { id: string; split: "validation" | "test" | "train" | "frozen_eval"; path: string; contentHash: string; schemaHash: string; sizeBytes: number; rowCount: number; rowGroupCount: number; }[]; rowCount: number; splitCounts: Record<"validation" | "test" | "train" | "frozen_eval", number>; sourceReceiptRefs: string[]; mappingHash: string; qualityReportHash: string; createdAt: string; } | null | undefined; }; files: { path: string; contentHash: string; sizeBytes: number; base64: string; }[]; contentHash: string; }; checks: { kind: "graders" | "structure"; revision: number; workspaceHash: string; status: "failed" | "unavailable" | "passed"; checkedAt: string; checked: number; total: number; issues: { code: string; message: string; taskId?: string | undefined; graderId?: string | undefined; }[]; scopes?: { graderId: string; checked: number; total: number; status: "failed" | "unavailable" | "passed"; }[] | undefined; }[]; packageHash: string | null; sync: { apiOrigin: string; actorId: string; teamId: string; datasetId: string; remoteRevision: number; acknowledgedHash: string | null; remoteHash: string | null; pendingLocalHash: string | null; paused: boolean; status: "pending" | "paused" | "retry" | "syncing" | "synced" | "conflict"; error: string | null; operationId: string | null; pendingWorkspace: { schemaVersion: "openpond.tasksetDraftWorkspace.v1"; draft: { schemaVersion: "openpond.tasksetDraft.v1"; id: string; revision: number; profileId: string; modelScope: { modelId: string; expectedModelRevision: number; source?: { schemaVersion: "openpond.modelTasksetDraftPreparation.v1"; draftId: string; requestHash: string; sourcePackageHash: string; sourceTasksetRef: { id: string; contentHash: string; revision: number; }; tasksetId: string; tasksetRevision: number; lineage: { schemaVersion: "openpond.modelTasksetAuthoring.v1"; owner: { scopeId: string; modelId: string; }; root: { id: string; contentHash: string; revision: number; }; parent: { id: string; contentHash: string; revision: number; }; }; authoringGraph?: "bound" | undefined; } | undefined; } | null; name: string; objective: string; purpose: "general" | "benchmark"; benchmark: { schemaVersion: "openpond.tasksetBenchmark.v1"; definitionId: string; releaseId: string; releaseHash: string; managedReleasePath: string; adaptationSplit: "validation" | "test" | "train" | "frozen_eval"; evaluationSplit: "validation" | "test" | "train" | "frozen_eval"; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityGate: "none" | "non_regression" | "all_pass"; source: "builtin" | "imported"; metadata: Record; } | null; preferenceComparison: { schemaVersion: "openpond.tasksetPreferenceComparisonBinding.v1"; releaseId: string; releaseHash: string; publishedAt: string; metadata: Record; } | null; status: "draft" | "published" | "validating" | "needs_review"; sourceRefs: ({ id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.huggingFaceDatasetSource.v1"; kind: "huggingface"; repositoryId: string; repositoryUrl: string; revision: string; configuration: string; upstreamSplits: string[]; gated: boolean; private: boolean; declaredLicense: string | null; sourceFileHashes: string[]; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.uploadedFileDatasetSource.v1"; kind: "uploaded_file"; originalFileNames: string[]; mediaTypes: string[]; sourceFileHashes: string[]; totalBytes: number; parserVersion: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.generatedDatasetSource.v1"; kind: "generated"; generatorId: string; generatorVersion: string; seed: number; generatorHash: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.learningBatchDatasetSource.v1"; kind: "learning_batch"; batch: { id: string; revision: number; contentHash: string; }; taskDefinition: { id: string; revision: number; contentHash: string; }; admittedBy: string; } | { schemaVersion: "openpond.connectedDatasetSource.v1"; kind: "connected_activity"; id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; origin: "opencode" | "codex" | "hermes" | "openclaw" | "native_chat" | "native_work" | "claude_code" | "grok_build" | "pi" | "oh_my_pi"; sourceId: string; sessionId: string; normalizerVersion: string; projection: "conversation" | "turn"; ownerUserId: string; purpose: "recorded_evaluation"; metadata: Record; sourceFileHashes?: string[] | undefined; } | { schemaVersion: "openpond.trainingSource.v1"; id: string; profileId: string; sessionId: string; turnIds: string[]; workspaceId: string | null; sourceHash: string; clusterKey: string; title: string; occurredAt: string; consent: { status: "pending" | "granted" | "denied" | "revoked"; scope: "metadata_only" | "selected_turns" | "full_session"; grantedBy: string | null; grantedAt: string | null; purpose: "task_authoring_and_evaluation"; }; connectedAppIds: string[]; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; licensingStatus: "pending" | "blocked" | "approved" | "review"; metadata: Record; })[]; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.taskEnvironment.v1"; kind: "chat" | "work" | "agent" | "program" | "stateful_harness"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; toolNames: string[]; lifecycle: ("create" | "reset" | "step" | "grade" | "cleanup")[]; defaultTimeoutMs: number; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; metadata: Record; actionBindings?: { schemaVersion: "openpond.harnessActionBinding.v1"; actionId: string; modelToolName: string; description: string; inputSchema: Record; actionSchemaHash: string; agentRelease: { id: string; contentHash: string; }; implementationHash: string; runtimeBindingId: string; capabilityReceiptHash: string; sideEffect: "read" | "write"; studentVisible: boolean; timeoutMs: number; episodeArgumentBindings: { argument: string; source: "case_id"; }[]; }[] | undefined; resources?: { id: string; kind: "file" | "configuration" | "catalog" | "code_module"; path: string; visibility: "privileged" | "policy_visible" | "policy_hidden"; required: boolean; metadata: Record; mediaType?: string | null | undefined; }[] | undefined; }; output: { mode: "text" | "artifacts" | "structured_json"; jsonSchema: Record | null; renderer: { module: string; exportName: string; configRef: string | null; } | null; requiredOutputSource?: "task.requiredOutputs" | undefined; responsePath?: string | undefined; }; capabilities: { schemaVersion: "openpond.tasksetCapabilities.v1"; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; supportedSignals: ("label" | "demonstration" | "reward" | "feedback" | "preference" | "correction")[]; compatibleMethods: ("none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[]; rewardKinds: ("none" | "exact" | "deterministic" | "model_judge" | "human")[]; requiresTools: boolean; requiresState: boolean; requiresPrivilegedGrading: boolean; environmentPlacements: ("local" | "remote" | "colocated" | "provider_native")[]; exportable: boolean; portabilityBlockers: string[]; }; metrics: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; }; review: { enabled: boolean; candidateCount: number; minimumSamples: number; allowTies: boolean; allowRejectAll: boolean; rubric: string; criteria: { id: string; label: string; description: string; weight: number; }[]; }; tasks: { schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; tags: string[]; metadata: Record; sourceRefs: string[]; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskId: string; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; learningSignals: { demonstrations: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "demonstration"; prompt: string | null; response: string | null; }[]; preferences: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "preference"; prompt: string; chosen: string; rejected: string; rationale: string | null; }[]; corrections: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "correction"; original: string; corrected: string; rationale: string | null; }[]; feedback: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "feedback"; feedback: string; polarity: "positive" | "negative" | "mixed" | "neutral"; }[]; rewards: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; executable: boolean; }[]; labels: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "label"; labelKind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; calibrationExamples: { positive: string; negative: string; boundary: string; }; }[]; }; publishedTasksetRef: { id: string; revision: number; contentHash: string; } | null; createdAt: string; updatedAt: string; metadata: Record; datasetArtifact?: { schemaVersion: "openpond.datasetArtifact.v1"; id: string; tasksetId: string; tasksetRevision: number; contentHash: string; format: "parquet"; schema: { schemaVersion: "openpond.datasetSemanticSchema.v1"; fields: { name: string; semanticRole: "metadata" | "rejected" | "prompt" | "messages" | "row_id" | "cluster_id" | "demonstration" | "chosen" | "expected_output" | "privileged_context" | "reward" | "feedback" | "tag"; logicalType: "string" | "boolean" | "messages" | "integer" | "float" | "json"; nullable: boolean; policy: "metadata" | "visible" | "privileged"; }[]; schemaHash: string; }; shards: { id: string; split: "validation" | "test" | "train" | "frozen_eval"; path: string; contentHash: string; schemaHash: string; sizeBytes: number; rowCount: number; rowGroupCount: number; }[]; rowCount: number; splitCounts: Record<"validation" | "test" | "train" | "frozen_eval", number>; sourceReceiptRefs: string[]; mappingHash: string; qualityReportHash: string; createdAt: string; } | null | undefined; }; files: { path: string; contentHash: string; sizeBytes: number; base64: string; }[]; contentHash: string; } | null; beginVersionOperationId?: string | null | undefined; publicationIntent?: { operationId: string; expectedRevision: number; workspaceHash: string; packageHash: string; localHash: string; } | null | undefined; } | null; }; sourceWorkspaceHash: string; } | null>; recoverLocalDatasetOperation: (operationId: string, requestHash: string) => Promise; saveLocalDataset: (input: { record: LocalDatasetRecord; expectedRevision: number; operationId: string; requestHash: string; }) => Promise; updateLocalDatasetMetadata: (id: string, expectedHash: string, update: (current: LocalDatasetRecord) => LocalDatasetRecord) => Promise; linkChatResource: (sessionId: string, turnId: string, input: ChatResourceSummary) => Promise; chatResourceLinks: (query: { sessionId?: string; kind?: string; id?: string; }) => Promise<{ sessionId: string; turnId: string; summary: ChatResourceSummary; }[]>; readTrainingActivityState: (profileId: string) => Promise>; readTrainingNavigation: (profileId: string) => Promise; prepareLocalModelProject: (raw: unknown) => Promise<{ schemaVersion: "openpond.localModelProjectPreparation.v1"; request: { schemaVersion: "openpond.localModelProjectPreparationInput.v1"; source: { ownerId: string; datasetId: string; revision: number; workspaceHash: string; packageHash: string; }; project: { name: string; id: string; profileId: string; objective: string | null; trainingSetup: { tasksetRef: { id: string; contentHash: string; revision: number; } | null; tasksetRelease: { id: string; contentHash: string; } | null; harnessRelease: { id: string; contentHash: string; } | null; baseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo" | null; destinationId: string | null; managedRolloutPlacement: "local" | "remote"; managedGpuPlacementObjective: "balanced" | "fast" | "economical"; managedGpuRequirement: "any" | "h100_hbm3"; runPreset: "custom" | "small" | "standard" | "small_experiment" | null; recipe: { [x: string]: unknown; schemaVersion: string; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; parameterization: "lora" | "full"; } | null; preferredMaximumSpendUsd: number | null; preferredRetentionDays: number | null; evaluationTasksetRef?: { id: string; contentHash: string; revision: number; } | null | undefined; profileSource?: { profileProjectId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; } | null | undefined; profileEvaluation?: { profileProjectId: string; sourceRevision: string; catalogHash: string; definitionId: string; harnessRelease: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; } | null | undefined; rewardBindingRef?: { id: string; contentHash: string; revision: number; } | null | undefined; managedGpuSelection?: { mode: "automatic"; objective: "balanced" | "fast" | "economical"; gpuCount?: 1 | 2 | undefined; } | { mode: "manual"; availabilityId: string; gpuType: string; gpuCount?: 1 | 2 | undefined; } | undefined; continuationAdapterMode?: "residual_append" | "shared" | "sequential_merge" | undefined; }; defaultBaseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; defaultDestinationId: string | null; }; rewardBinding: { schemaVersion: "openpond.rewardBinding.v1"; id: string; revision: number; sources: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; normalization: { kind: "identity"; } | { kind: "linear"; minimum: number; maximum: number; direction: "higher" | "lower"; }; weight: number; required: boolean; hardGate: boolean; privileged: boolean; fixtureRefs: { id: string; contentHash: string; }[]; taskIds?: string[] | undefined; }[]; aggregation: "weighted_mean"; unscorable: "exclude_optional_require_all_required"; contentHash: string; name?: string | undefined; description?: string | undefined; recipeRef?: { id: string; contentHash: string; revision: number; } | undefined; }; rewards: { schemaVersion: "openpond.rewardRelease.v1"; id: string; revision: number; name: string; description: string; implementation: { kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; } | { kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { timeoutMs: number; networkPolicy: "none"; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; exportName?: string | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; } | { kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { kind: "learned_model"; modelVersion: { id: string; contentHash: string; }; inputContract: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; }; rawScore: { minimum: number; maximum: number; }; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; contentHash: string; feedbackKey?: string | undefined; fixtureSetRef?: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | undefined; calibrationCheckRef?: { id: string; contentHash: string; revision: number; } | undefined; }[]; assets: { schemaVersion: "openpond.learningTextAsset.v1"; id: string; revision: 1; asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; text: string; contentHash: string; }[]; }; package: { schemaVersion: "openpond.tasksetPackage.v1"; taskset: { schemaVersion: "openpond.tasksetRelease.v2"; id: string; revision: number; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; capabilities: { id: string; required: boolean; scopes: string[]; portability: "host_adapter" | "hosted_only" | "local_only" | "portable"; }[]; tasks: { id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; artifactRefs: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; tags: string[]; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; metadata: Record; contentHash: string; environmentRelease?: { id: string; contentHash: string; } | undefined; verifierSetRelease?: { id: string; contentHash: string; } | undefined; metrics?: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; } | undefined; }; environment: { schemaVersion: "openpond.environmentRelease.v1"; id: string; revision: number; contract: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; actionSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; observationSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; stateSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; artifactCollection: { maxArtifacts: number; maxTotalBytes: number; }; adapterConformanceHashes: Record; metadata: Record; contentHash: string; }; verifierSet: { schemaVersion: "openpond.verifierSetRelease.v1"; id: string; revision: number; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; isolation: { processBoundary: "same_process" | "isolated_process" | "container"; networkPolicy: "none"; defaultTimeoutMs: number; }; calibrationReceiptRefs: { id: string; contentHash: string; }[]; metadata: Record; contentHash: string; }; files: { asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; base64: string; }[]; contentHash: string; modelResources?: { taskDefinition: { schemaVersion: "openpond.taskDefinition.v1"; id: string; revision: number; name: string; description: string; instructions: string; category: "custom" | "structured" | "question_answering" | "coding" | "tool_workflow"; familyNamespace: string; inputSchema: Record; outputSchema: Record; rewardBinding: { id: string; contentHash: string; revision: number; }; harness: { id: string; contentHash: string; } | null; execution: { policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; capabilities: { id: string; required: boolean; scopes: string[]; portability: "host_adapter" | "hosted_only" | "local_only" | "portable"; }[]; environmentRelease?: { id: string; contentHash: string; } | undefined; verifierSetRelease?: { id: string; contentHash: string; } | undefined; }; contentHash: string; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; contextRequirements?: string[] | undefined; }; assets: { schemaVersion: "openpond.learningTextAsset.v1"; id: string; revision: 1; asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; text: string; contentHash: string; }[]; rewards: { schemaVersion: "openpond.rewardRelease.v1"; id: string; revision: number; name: string; description: string; implementation: { kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; } | { kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { timeoutMs: number; networkPolicy: "none"; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; exportName?: string | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; } | { kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { kind: "learned_model"; modelVersion: { id: string; contentHash: string; }; inputContract: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; }; rawScore: { minimum: number; maximum: number; }; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; contentHash: string; feedbackKey?: string | undefined; fixtureSetRef?: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | undefined; calibrationCheckRef?: { id: string; contentHash: string; revision: number; } | undefined; }[]; rewardBinding: { schemaVersion: "openpond.rewardBinding.v1"; id: string; revision: number; sources: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; normalization: { kind: "identity"; } | { kind: "linear"; minimum: number; maximum: number; direction: "higher" | "lower"; }; weight: number; required: boolean; hardGate: boolean; privileged: boolean; fixtureRefs: { id: string; contentHash: string; }[]; taskIds?: string[] | undefined; }[]; aggregation: "weighted_mean"; unscorable: "exclude_optional_require_all_required"; contentHash: string; name?: string | undefined; description?: string | undefined; recipeRef?: { id: string; contentHash: string; revision: number; } | undefined; }; execution?: { environment: { schemaVersion: "openpond.environmentRelease.v1"; id: string; revision: number; contract: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; actionSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; observationSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; stateSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; artifactCollection: { maxArtifacts: number; maxTotalBytes: number; }; adapterConformanceHashes: Record; metadata: Record; contentHash: string; }; verifierSet: { schemaVersion: "openpond.verifierSetRelease.v1"; id: string; revision: number; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; isolation: { processBoundary: "same_process" | "isolated_process" | "container"; networkPolicy: "none"; defaultTimeoutMs: number; }; calibrationReceiptRefs: { id: string; contentHash: string; }[]; metadata: Record; contentHash: string; }; javascript: { schemaVersion: "openpond.javascriptEnvironment.v1"; id: string; revision: number; module: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; maxSteps: number; maxStateBytes: number; maxObservationBytes: number; operationTimeoutMs: number; contentHash: string; executionServices?: ({ kind: "sqlite.v1"; sql: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; snapshot: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; maxRows: number; maxResultBytes: number; id: string; operation: "step" | "collect"; timeoutMs: number; toolName?: string | undefined; } | { kind: "javascript.v1"; source: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; cases: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; exportName: string; maxCases: number; maxResultBytes: number; id: string; operation: "step" | "collect"; timeoutMs: number; toolName?: string | undefined; })[] | undefined; }; } | undefined; instructionMode?: "per_task" | undefined; } | undefined; learningResources?: { batch: { schemaVersion: "openpond.taskBatch.v1"; id: string; revision: 1; taskDefinition: { id: string; contentHash: string; revision: number; }; rewardBinding: { id: string; contentHash: string; revision: number; }; purpose: "evaluation" | "supervised_training" | "reward_training"; examples: { evidence: { id: string; contentHash: string; revision: number; }; decision: { id: string; contentHash: string; revision: number; }; familyKey: string; inputHash: string; split: "validation" | "test" | "train" | "frozen_eval"; }[]; sealedAt: string; sealedBy: string; contentHash: string; }; evidence: { schemaVersion: "openpond.taskEvidence.v1"; id: string; revision: number; source: { id: string; contentHash: string; revision: number; }; submission: { schemaVersion: "openpond.taskExample.v1"; sourceId: string; idempotencyKey: string; taskDefinition: { id: string; contentHash: string; revision: number; }; exampleId: string; attemptId: string; occurredAt: string; familyKey: string | null; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; observedOutput: Record | null; expected: Record | null; evaluatorContext: Record | null; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; provenance: { sourceRecordRef: string | null; mappingHash: string | null; }; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; }; supersedes: { id: string; contentHash: string; revision: number; } | null; correctionFeedbackId: string | null; receivedAt: string; contentHash: string; }[]; decisions: { schemaVersion: "openpond.taskAdmissionDecision.v1"; id: string; revision: number; evidence: { id: string; contentHash: string; revision: number; }; supersedes: { id: string; contentHash: string; revision: number; } | null; actor: { kind: "human" | "qualified_policy"; id: string; policy: { id: string; contentHash: string; revision: number; } | null; }; evidenceValidity: "pending" | "valid" | "invalid"; taskAdmissibility: "pending" | "rejected" | "approved"; observedQuality: "failed" | "unavailable" | "passed" | "unscored"; targetApproval: "pending" | "rejected" | "approved" | "not_required"; approvedTarget: Record | null; grade: { schemaVersion: "openpond.rewardComposition.v1"; binding: { id: string; contentHash: string; revision: number; }; taskHash: string; outputHash: string; results: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; status: "failed" | "pending" | "unavailable" | "not_applicable" | "scored"; rawScore: number | null; normalizedScore: number | null; passed: boolean | null; evidenceHashes: string[]; message: string | null; graderEvidence?: { schemaVersion: "openpond.graderEvidence.v1"; graderId: string; graderVersion: string; score: number | null; passed: boolean; rewardEligible: boolean; failureClass: "cancelled" | "infrastructure_failure" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null; feedback: string[]; visibleEvidenceRefs: string[]; privilegedEvidenceRefs: string[]; contentHash: string; status?: "failed" | "pending" | "unavailable" | "scored" | undefined; modelJudgeReceipt?: { schemaVersion: "openpond.modelJudgeReceipt.v1"; providerId: string; modelId: string; modelRevision: string | null; responseId: string | null; requestHash: string; responseHash: string; inputTokens: number | null; outputTokens: number | null; costUsd: number | null; transportPolicy?: { schemaVersion: "openpond.modelJudgeTransportPolicy.v1"; responseFormat: "judgment_json_schema"; reasoningEffort: "off" | "low" | "medium" | "high" | "xhigh" | "max"; maximumOutputTokens: number; } | undefined; effectiveRequestHash?: string | undefined; finishReason?: string | null | undefined; reasoningTokens?: number | null | undefined; } | undefined; } | undefined; }[]; training: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; evaluation: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; contentHash: string; taskId?: string | undefined; } | null; targetGrade: { schemaVersion: "openpond.rewardComposition.v1"; binding: { id: string; contentHash: string; revision: number; }; taskHash: string; outputHash: string; results: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; status: "failed" | "pending" | "unavailable" | "not_applicable" | "scored"; rawScore: number | null; normalizedScore: number | null; passed: boolean | null; evidenceHashes: string[]; message: string | null; graderEvidence?: { schemaVersion: "openpond.graderEvidence.v1"; graderId: string; graderVersion: string; score: number | null; passed: boolean; rewardEligible: boolean; failureClass: "cancelled" | "infrastructure_failure" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null; feedback: string[]; visibleEvidenceRefs: string[]; privilegedEvidenceRefs: string[]; contentHash: string; status?: "failed" | "pending" | "unavailable" | "scored" | undefined; modelJudgeReceipt?: { schemaVersion: "openpond.modelJudgeReceipt.v1"; providerId: string; modelId: string; modelRevision: string | null; responseId: string | null; requestHash: string; responseHash: string; inputTokens: number | null; outputTokens: number | null; costUsd: number | null; transportPolicy?: { schemaVersion: "openpond.modelJudgeTransportPolicy.v1"; responseFormat: "judgment_json_schema"; reasoningEffort: "off" | "low" | "medium" | "high" | "xhigh" | "max"; maximumOutputTokens: number; } | undefined; effectiveRequestHash?: string | undefined; finishReason?: string | null | undefined; reasoningTokens?: number | null | undefined; } | undefined; } | undefined; }[]; training: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; evaluation: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; contentHash: string; taskId?: string | undefined; } | null; note: string; decidedAt: string; contentHash: string; }[]; sources: { schemaVersion: "openpond.learningSource.v1"; id: string; revision: number; name: string; kind: "provider" | "work" | "benchmark" | "direct" | "opentelemetry"; taskDefinition: { id: string; contentHash: string; revision: number; }; enabled: boolean; allowedSplits: ("validation" | "test" | "train" | "frozen_eval")[]; mapping: { schemaVersion: "openpond.taskSourceMapping.v1"; exampleId: string; attemptId: string; occurredAt: string; input: string; observedOutput: string | null; expected: string | null; evaluatorContext: string | null; familyKey: string; split: "validation" | "test" | "train" | "frozen_eval"; } | null; adapterVersion: string | null; contentHash: string; reviewOrigin?: { modelId: string; packageHash: string; taskset: { id: string; contentHash: string; revision: number; }; batch: { id: string; contentHash: string; revision: number; }; rewardBinding: { id: string; contentHash: string; revision: number; }; } | undefined; capturedOrigin?: { receiptId: string; ownerUserId: string; modelId: string; packageHash: string; taskset: { id: string; contentHash: string; revision: number; }; } | undefined; }[]; assets: { schemaVersion: "openpond.learningTextAsset.v1"; id: string; revision: 1; asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; text: string; contentHash: string; }[]; } | undefined; }; taskset: { schemaVersion: "openpond.taskset.v1"; id: string; revision: number; profileId: string; createImproveRunId: string | null; name: string; objective: string; purpose: "general" | "benchmark"; benchmark: { schemaVersion: "openpond.tasksetBenchmark.v1"; definitionId: string; releaseId: string; releaseHash: string; managedReleasePath: string; adaptationSplit: "validation" | "test" | "train" | "frozen_eval"; evaluationSplit: "validation" | "test" | "train" | "frozen_eval"; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityGate: "none" | "non_regression" | "all_pass"; source: "builtin" | "imported"; metadata: Record; } | null; preferenceComparison: { schemaVersion: "openpond.tasksetPreferenceComparisonBinding.v1"; releaseId: string; releaseHash: string; publishedAt: string; metadata: Record; } | null; status: "failed" | "draft" | "archived" | "ready" | "blocked" | "awaiting_disclosure_approval" | "awaiting_materialization_approval" | "materializing" | "validating" | "needs_review" | "baselining"; sourceRefs: ({ id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.huggingFaceDatasetSource.v1"; kind: "huggingface"; repositoryId: string; repositoryUrl: string; revision: string; configuration: string; upstreamSplits: string[]; gated: boolean; private: boolean; declaredLicense: string | null; sourceFileHashes: string[]; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.uploadedFileDatasetSource.v1"; kind: "uploaded_file"; originalFileNames: string[]; mediaTypes: string[]; sourceFileHashes: string[]; totalBytes: number; parserVersion: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.generatedDatasetSource.v1"; kind: "generated"; generatorId: string; generatorVersion: string; seed: number; generatorHash: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.learningBatchDatasetSource.v1"; kind: "learning_batch"; batch: { id: string; revision: number; contentHash: string; }; taskDefinition: { id: string; revision: number; contentHash: string; }; admittedBy: string; } | { schemaVersion: "openpond.connectedDatasetSource.v1"; kind: "connected_activity"; id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; origin: "opencode" | "codex" | "hermes" | "openclaw" | "native_chat" | "native_work" | "claude_code" | "grok_build" | "pi" | "oh_my_pi"; sourceId: string; sessionId: string; normalizerVersion: string; projection: "conversation" | "turn"; ownerUserId: string; purpose: "recorded_evaluation"; metadata: Record; sourceFileHashes?: string[] | undefined; } | { schemaVersion: "openpond.trainingSource.v1"; id: string; profileId: string; sessionId: string; turnIds: string[]; workspaceId: string | null; sourceHash: string; clusterKey: string; title: string; occurredAt: string; consent: { status: "pending" | "granted" | "denied" | "revoked"; scope: "metadata_only" | "selected_turns" | "full_session"; grantedBy: string | null; grantedAt: string | null; purpose: "task_authoring_and_evaluation"; }; connectedAppIds: string[]; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; licensingStatus: "pending" | "blocked" | "approved" | "review"; metadata: Record; })[]; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.taskEnvironment.v1"; kind: "chat" | "work" | "agent" | "program" | "stateful_harness"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; toolNames: string[]; lifecycle: ("create" | "reset" | "step" | "grade" | "cleanup")[]; defaultTimeoutMs: number; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; metadata: Record; actionBindings?: { schemaVersion: "openpond.harnessActionBinding.v1"; actionId: string; modelToolName: string; description: string; inputSchema: Record; actionSchemaHash: string; agentRelease: { id: string; contentHash: string; }; implementationHash: string; runtimeBindingId: string; capabilityReceiptHash: string; sideEffect: "read" | "write"; studentVisible: boolean; timeoutMs: number; episodeArgumentBindings: { argument: string; source: "case_id"; }[]; }[] | undefined; resources?: { id: string; kind: "file" | "configuration" | "catalog" | "code_module"; path: string; visibility: "privileged" | "policy_visible" | "policy_hidden"; required: boolean; metadata: Record; mediaType?: string | null | undefined; }[] | undefined; }; capabilities: { schemaVersion: "openpond.tasksetCapabilities.v1"; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; supportedSignals: ("label" | "demonstration" | "reward" | "feedback" | "preference" | "correction")[]; compatibleMethods: ("none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[]; rewardKinds: ("none" | "exact" | "deterministic" | "model_judge" | "human")[]; requiresTools: boolean; requiresState: boolean; requiresPrivilegedGrading: boolean; environmentPlacements: ("local" | "remote" | "colocated" | "provider_native")[]; exportable: boolean; portabilityBlockers: string[]; }; tasks: { schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; sourceRefs: string[]; tags: string[]; metadata: Record; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskId: string; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; learningSignals: { demonstrations: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "demonstration"; prompt: string | null; response: string | null; }[]; preferences: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "preference"; prompt: string; chosen: string; rejected: string; rationale: string | null; }[]; corrections: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "correction"; original: string; corrected: string; rationale: string | null; }[]; feedback: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "feedback"; feedback: string; polarity: "positive" | "negative" | "mixed" | "neutral"; }[]; rewards: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; executable: boolean; }[]; labels: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "label"; labelKind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; calibrationExamples: { positive: string; negative: string; boundary: string; }; }[]; }; authoringProvenance: { schemaVersion: "openpond.taskAuthoringProvenance.v1"; model: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null; modelConfig: Record; skillHash: string; promptTemplateVersion: string; buildIntent: "preferences" | "rubric" | "demonstrations" | "verifiable_reward" | "discovery"; buildSpecification: { kind: "demonstrations"; behavior: string; examples: { id: string; prompt: string; response: string; }[]; } | { kind: "preferences"; preference: string; pairs: { id: string; prompt: string; chosen: string; rejected: string; rationale: string; }[]; } | { kind: "verifiable_reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; } | { kind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; positiveExample: string; negativeExample: string; boundaryExample: string; } | null; evidenceHashes: string[]; tasksetSdkVersion: string; sourceCommit: string | null; repairHistory: { attempt: number; summary: string; createdAt: string; }[]; createdAt: string; }; readiness: { schemaVersion: "openpond.tasksetReadiness.v1"; tasksetId: string; tasksetHash: string; ready: boolean; recommendedMethod: "none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; trainingPath: { primaryMethod: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opsd" | "sdpo"; bootstrap: { method: "sft"; purpose: "trajectory_bootstrap"; demonstrationRefs: string[]; limitations: string[]; } | null; } | null; methodReadiness: { method: "sft" | "dpo" | "grpo" | "ppo"; status: "recommended" | "compatible" | "needs_dataset_work"; reasonCodes: ("taskset_not_ready" | "demonstrations_missing" | "preference_pairs_missing" | "preference_pairs_invalid" | "executable_reward_missing" | "reward_not_calibrated" | "reward_model_missing" | "value_model_required" | "frozen_eval_missing")[]; reasons: string[]; }[]; compatibleDestinationClasses: ("custom" | "export" | "hosted_managed")[]; blockers: { code: string; message: string; path: string | null; }[]; advisories: { code: string; message: string; path: string | null; }[]; warnings: string[]; generatedAt: string; } | null; contentHash: string; createdAt: string; updatedAt: string; metadata: Record; profileRelease?: { id: string; contentHash: string; revision: number; } | null | undefined; datasetArtifact?: { schemaVersion: "openpond.datasetArtifact.v1"; id: string; tasksetId: string; tasksetRevision: number; contentHash: string; format: "parquet"; schema: { schemaVersion: "openpond.datasetSemanticSchema.v1"; fields: { name: string; semanticRole: "metadata" | "rejected" | "prompt" | "messages" | "row_id" | "cluster_id" | "demonstration" | "chosen" | "expected_output" | "privileged_context" | "reward" | "feedback" | "tag"; logicalType: "string" | "boolean" | "messages" | "integer" | "float" | "json"; nullable: boolean; policy: "metadata" | "visible" | "privileged"; }[]; schemaHash: string; }; shards: { id: string; split: "validation" | "test" | "train" | "frozen_eval"; path: string; contentHash: string; schemaHash: string; sizeBytes: number; rowCount: number; rowGroupCount: number; }[]; rowCount: number; splitCounts: Record<"validation" | "test" | "train" | "frozen_eval", number>; sourceReceiptRefs: string[]; mappingHash: string; qualityReportHash: string; createdAt: string; } | null | undefined; metrics?: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; } | undefined; }; saveRequest: { schemaVersion: "openpond.modelProjectSave.v1"; operationId: string; expectedRevision: number; project: { name: string; id: string; profileId: string; objective: string | null; trainingSetup: { tasksetRef: { id: string; contentHash: string; revision: number; } | null; tasksetRelease: { id: string; contentHash: string; } | null; harnessRelease: { id: string; contentHash: string; } | null; baseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo" | null; destinationId: string | null; managedRolloutPlacement: "local" | "remote"; managedGpuPlacementObjective: "balanced" | "fast" | "economical"; managedGpuRequirement: "any" | "h100_hbm3"; runPreset: "custom" | "small" | "standard" | "small_experiment" | null; recipe: { [x: string]: unknown; schemaVersion: string; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; parameterization: "lora" | "full"; } | null; preferredMaximumSpendUsd: number | null; preferredRetentionDays: number | null; evaluationTasksetRef?: { id: string; contentHash: string; revision: number; } | null | undefined; profileSource?: { profileProjectId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; } | null | undefined; profileEvaluation?: { profileProjectId: string; sourceRevision: string; catalogHash: string; definitionId: string; harnessRelease: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; } | null | undefined; rewardBindingRef?: { id: string; contentHash: string; revision: number; } | null | undefined; managedGpuSelection?: { mode: "automatic"; objective: "balanced" | "fast" | "economical"; gpuCount?: 1 | 2 | undefined; } | { mode: "manual"; availabilityId: string; gpuType: string; gpuCount?: 1 | 2 | undefined; } | undefined; continuationAdapterMode?: "residual_append" | "shared" | "sequential_merge" | undefined; }; defaultBaseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; defaultDestinationId: string | null; }; learning?: { localTime: string; timeZone: string; mode: "nightly" | "approved_count"; minimumTasks: number; maximumSpendUsd: number; maximumDailySpendUsd: number; } | undefined; }; contentHash: string; }>; applyLocalModelProjectPreparation: (raw: unknown) => Promise<{ project: { schemaVersion: "openpond.modelProject.v2"; id: string; profileId: string; revision: number; name: string; objective: string | null; defaultBaseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; defaultDestinationId: string | null; trainingSetup: { tasksetRef: { id: string; contentHash: string; revision: number; } | null; tasksetRelease: { id: string; contentHash: string; } | null; harnessRelease: { id: string; contentHash: string; } | null; baseModel: { schemaVersion: "openpond.baseModelPreference.v1"; modelId: string; revision: string | null; tokenizerRevision: string | null; chatTemplateHash: string | null; modelAssetId: string | null; source: "local" | "builtin" | "managed"; } | null; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo" | null; destinationId: string | null; managedRolloutPlacement: "local" | "remote"; managedGpuPlacementObjective: "balanced" | "fast" | "economical"; managedGpuRequirement: "any" | "h100_hbm3"; runPreset: "custom" | "small" | "standard" | "small_experiment" | null; recipe: { [x: string]: unknown; schemaVersion: string; method: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; parameterization: "lora" | "full"; } | null; preferredMaximumSpendUsd: number | null; preferredRetentionDays: number | null; evaluationTasksetRef?: { id: string; contentHash: string; revision: number; } | null | undefined; profileSource?: { profileProjectId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; } | null | undefined; profileEvaluation?: { profileProjectId: string; sourceRevision: string; catalogHash: string; definitionId: string; harnessRelease: { id: string; contentHash: string; }; tasksetRelease: { id: string; contentHash: string; }; } | null | undefined; rewardBindingRef?: { id: string; contentHash: string; revision: number; } | null | undefined; managedGpuSelection?: { mode: "automatic"; objective: "balanced" | "fast" | "economical"; gpuCount?: 1 | 2 | undefined; } | { mode: "manual"; availabilityId: string; gpuType: string; gpuCount?: 1 | 2 | undefined; } | undefined; continuationAdapterMode?: "residual_append" | "shared" | "sequential_merge" | undefined; }; hosted: { schemaVersion: "openpond.hostedModelProjectLink.v1"; apiOrigin: string | null; teamId: string; projectId: string; portableProjectId: string; revision: number; etag: string; syncedSourceRevision: number; syncedAt: string; tasksets: { localTasksetId: string; localTasksetHash: string | null; releaseId: string; releaseRevision: number; releaseHash: string; packageHash: string | null; hostedTasksetId: string; syncedAt: string; }[]; } | null; tasksetSyncs: { localTasksetId: string; releaseId: string; releaseRevision: number; releaseHash: string; state: "syncing" | "synced" | "sync_failed"; hostedTasksetId: string | null; lastAttemptAt: string; syncedAt: string | null; lastError: string | null; }[]; createdAt: string; updatedAt: string; }; taskset: { schemaVersion: "openpond.taskset.v1"; id: string; revision: number; profileId: string; createImproveRunId: string | null; name: string; objective: string; purpose: "general" | "benchmark"; benchmark: { schemaVersion: "openpond.tasksetBenchmark.v1"; definitionId: string; releaseId: string; releaseHash: string; managedReleasePath: string; adaptationSplit: "validation" | "test" | "train" | "frozen_eval"; evaluationSplit: "validation" | "test" | "train" | "frozen_eval"; primaryMetric: "foreground_tokens" | "success_rate" | "latency_ms" | "cost_usd"; qualityGate: "none" | "non_regression" | "all_pass"; source: "builtin" | "imported"; metadata: Record; } | null; preferenceComparison: { schemaVersion: "openpond.tasksetPreferenceComparisonBinding.v1"; releaseId: string; releaseHash: string; publishedAt: string; metadata: Record; } | null; status: "failed" | "draft" | "archived" | "ready" | "blocked" | "awaiting_disclosure_approval" | "awaiting_materialization_approval" | "materializing" | "validating" | "needs_review" | "baselining"; sourceRefs: ({ id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.huggingFaceDatasetSource.v1"; kind: "huggingface"; repositoryId: string; repositoryUrl: string; revision: string; configuration: string; upstreamSplits: string[]; gated: boolean; private: boolean; declaredLicense: string | null; sourceFileHashes: string[]; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.uploadedFileDatasetSource.v1"; kind: "uploaded_file"; originalFileNames: string[]; mediaTypes: string[]; sourceFileHashes: string[]; totalBytes: number; parserVersion: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.generatedDatasetSource.v1"; kind: "generated"; generatorId: string; generatorVersion: string; seed: number; generatorHash: string; } | { id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; metadata: Record; schemaVersion: "openpond.learningBatchDatasetSource.v1"; kind: "learning_batch"; batch: { id: string; revision: number; contentHash: string; }; taskDefinition: { id: string; revision: number; contentHash: string; }; admittedBy: string; } | { schemaVersion: "openpond.connectedDatasetSource.v1"; kind: "connected_activity"; id: string; profileId: string; title: string; sourceHash: string; occurredAt: string; licensingStatus: "pending" | "blocked" | "approved" | "review"; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; origin: "opencode" | "codex" | "hermes" | "openclaw" | "native_chat" | "native_work" | "claude_code" | "grok_build" | "pi" | "oh_my_pi"; sourceId: string; sessionId: string; normalizerVersion: string; projection: "conversation" | "turn"; ownerUserId: string; purpose: "recorded_evaluation"; metadata: Record; sourceFileHashes?: string[] | undefined; } | { schemaVersion: "openpond.trainingSource.v1"; id: string; profileId: string; sessionId: string; turnIds: string[]; workspaceId: string | null; sourceHash: string; clusterKey: string; title: string; occurredAt: string; consent: { status: "pending" | "granted" | "denied" | "revoked"; scope: "metadata_only" | "selected_turns" | "full_session"; grantedBy: string | null; grantedAt: string | null; purpose: "task_authoring_and_evaluation"; }; connectedAppIds: string[]; secretScanStatus: "pending" | "blocked" | "passed"; piiScanStatus: "pending" | "blocked" | "passed" | "review"; licensingStatus: "pending" | "blocked" | "approved" | "review"; metadata: Record; })[]; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.taskEnvironment.v1"; kind: "chat" | "work" | "agent" | "program" | "stateful_harness"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; toolNames: string[]; lifecycle: ("create" | "reset" | "step" | "grade" | "cleanup")[]; defaultTimeoutMs: number; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; metadata: Record; actionBindings?: { schemaVersion: "openpond.harnessActionBinding.v1"; actionId: string; modelToolName: string; description: string; inputSchema: Record; actionSchemaHash: string; agentRelease: { id: string; contentHash: string; }; implementationHash: string; runtimeBindingId: string; capabilityReceiptHash: string; sideEffect: "read" | "write"; studentVisible: boolean; timeoutMs: number; episodeArgumentBindings: { argument: string; source: "case_id"; }[]; }[] | undefined; resources?: { id: string; kind: "file" | "configuration" | "catalog" | "code_module"; path: string; visibility: "privileged" | "policy_visible" | "policy_hidden"; required: boolean; metadata: Record; mediaType?: string | null | undefined; }[] | undefined; }; capabilities: { schemaVersion: "openpond.tasksetCapabilities.v1"; taskKind: "chat" | "single_agent" | "multi_agent" | "custom_program"; supportedSignals: ("label" | "demonstration" | "reward" | "feedback" | "preference" | "correction")[]; compatibleMethods: ("none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo")[]; rewardKinds: ("none" | "exact" | "deterministic" | "model_judge" | "human")[]; requiresTools: boolean; requiresState: boolean; requiresPrivilegedGrading: boolean; environmentPlacements: ("local" | "remote" | "colocated" | "provider_native")[]; exportable: boolean; portabilityBlockers: string[]; }; tasks: { schemaVersion: "openpond.taskData.v1"; id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; sourceRefs: string[]; tags: string[]; metadata: Record; assets?: { id: string; sourceRefId: string; artifactRef: string; fileName: string; mediaType: string; sha256: string; sizeBytes: number; split: "validation" | "test" | "train" | "frozen_eval"; metadata: Record; stagingPath?: string | undefined; }[] | undefined; resourceRefs?: string[] | undefined; requiredOutputs?: { path: string; mediaType: string; metadata: Record; schemaRef?: string | null | undefined; submissionMode?: "structured_json" | undefined; maxBytes?: number | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "file" | "schema" | "content" | "state" | "diff" | "test" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "model_judge"; rubric: string; judge: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; }; calibrationFixtureRefs: string[]; calibrationStatus: "failed" | "pending" | "passed"; temperature: number; taskIds?: string[] | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "human"; rubric: string; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { id: string; version: string; label: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; metadata: Record; kind: "custom_verifier"; module: string; exportName: string; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; })[]; graderFixtures: { id: string; taskId: string; label: "positive" | "negative" | "boundary" | "adversarial" | "prompt_injection" | "infrastructure_failure"; output: Record; infrastructureError: string | null; expectedPassed: boolean; expectedRewardEligible: boolean; metadata: Record; }[]; learningSignals: { demonstrations: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "demonstration"; prompt: string | null; response: string | null; }[]; preferences: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "preference"; prompt: string; chosen: string; rejected: string; rationale: string | null; }[]; corrections: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "correction"; original: string; corrected: string; rationale: string | null; }[]; feedback: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "feedback"; feedback: string; polarity: "positive" | "negative" | "mixed" | "neutral"; }[]; rewards: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; executable: boolean; }[]; labels: { id: string; taskId: string | null; sourceRefs: string[]; artifactRef: string; approved: boolean; confidence: number; metadata: Record; kind: "label"; labelKind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; calibrationExamples: { positive: string; negative: string; boundary: string; }; }[]; }; authoringProvenance: { schemaVersion: "openpond.taskAuthoringProvenance.v1"; model: { providerId: "google" | "openpond" | `acp:${string}` | "claude-code" | "grok-build" | "opencode" | "codex" | "anthropic" | "openai" | "xai" | "openrouter" | "deepseek" | "zai" | "moonshot" | "together" | "groq" | "custom-openai-compatible"; modelId: string; } | null; modelConfig: Record; skillHash: string; promptTemplateVersion: string; buildIntent: "preferences" | "rubric" | "demonstrations" | "verifiable_reward" | "discovery"; buildSpecification: { kind: "demonstrations"; behavior: string; examples: { id: string; prompt: string; response: string; }[]; } | { kind: "preferences"; preference: string; pairs: { id: string; prompt: string; chosen: string; rejected: string; rationale: string; }[]; } | { kind: "verifiable_reward"; task: string; rules: { id: string; points: number; condition: string; }[]; otherwisePoints: number; } | { kind: "rubric"; task: string; criteria: { id: string; label: string; description: string; }[]; positiveExample: string; negativeExample: string; boundaryExample: string; } | null; evidenceHashes: string[]; tasksetSdkVersion: string; sourceCommit: string | null; repairHistory: { attempt: number; summary: string; createdAt: string; }[]; createdAt: string; }; readiness: { schemaVersion: "openpond.tasksetReadiness.v1"; tasksetId: string; tasksetHash: string; ready: boolean; recommendedMethod: "none" | "retrieval" | "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opd" | "opsd" | "sdpo"; trainingPath: { primaryMethod: "sft" | "dpo" | "grpo" | "ppo" | "sdft" | "opsd" | "sdpo"; bootstrap: { method: "sft"; purpose: "trajectory_bootstrap"; demonstrationRefs: string[]; limitations: string[]; } | null; } | null; methodReadiness: { method: "sft" | "dpo" | "grpo" | "ppo"; status: "recommended" | "compatible" | "needs_dataset_work"; reasonCodes: ("taskset_not_ready" | "demonstrations_missing" | "preference_pairs_missing" | "preference_pairs_invalid" | "executable_reward_missing" | "reward_not_calibrated" | "reward_model_missing" | "value_model_required" | "frozen_eval_missing")[]; reasons: string[]; }[]; compatibleDestinationClasses: ("custom" | "export" | "hosted_managed")[]; blockers: { code: string; message: string; path: string | null; }[]; advisories: { code: string; message: string; path: string | null; }[]; warnings: string[]; generatedAt: string; } | null; contentHash: string; createdAt: string; updatedAt: string; metadata: Record; profileRelease?: { id: string; contentHash: string; revision: number; } | null | undefined; datasetArtifact?: { schemaVersion: "openpond.datasetArtifact.v1"; id: string; tasksetId: string; tasksetRevision: number; contentHash: string; format: "parquet"; schema: { schemaVersion: "openpond.datasetSemanticSchema.v1"; fields: { name: string; semanticRole: "metadata" | "rejected" | "prompt" | "messages" | "row_id" | "cluster_id" | "demonstration" | "chosen" | "expected_output" | "privileged_context" | "reward" | "feedback" | "tag"; logicalType: "string" | "boolean" | "messages" | "integer" | "float" | "json"; nullable: boolean; policy: "metadata" | "visible" | "privileged"; }[]; schemaHash: string; }; shards: { id: string; split: "validation" | "test" | "train" | "frozen_eval"; path: string; contentHash: string; schemaHash: string; sizeBytes: number; rowCount: number; rowGroupCount: number; }[]; rowCount: number; splitCounts: Record<"validation" | "test" | "train" | "frozen_eval", number>; sourceReceiptRefs: string[]; mappingHash: string; qualityReportHash: string; createdAt: string; } | null | undefined; metrics?: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; } | undefined; }; packageHash: string; preparationHash: string; }>; }; declare const LocalExperimentAdmissionSchema: z.ZodObject<{ receiptId: z.ZodString; taskId: z.ZodString; seed: z.ZodString; request: z.ZodObject<{ kind: z.ZodLiteral<"model">; id: z.ZodString; taskId: z.ZodString; admissionHash: z.ZodString; model: z.ZodObject<{ providerId: z.ZodEnum<{ openpond: "openpond"; "claude-code": "claude-code"; codex: "codex"; "custom-openai-compatible": "custom-openai-compatible"; }>; modelId: z.ZodString; configurationHash: z.ZodString; maxOutputTokens: z.ZodNumber; temperature: z.ZodOptional; topP: z.ZodOptional; messages: z.ZodArray; content: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; instructions: z.ZodString; harness: z.ZodOptional; agentSnapshot: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; sourcePackageHash: z.ZodString; }, z.core.$strict>>; input: z.ZodRecord; policyVisibleContext: z.ZodRecord; timeoutMs: z.ZodNumber; environment: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"text">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"javascript">; definition: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.javascriptEnvironment.v1">; id: z.ZodString; revision: z.ZodNumber; module: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; maxSteps: z.ZodNumber; maxStateBytes: z.ZodNumber; maxObservationBytes: z.ZodNumber; operationTimeoutMs: z.ZodNumber; executionServices: z.ZodOptional; sql: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; snapshot: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; maxRows: z.ZodNumber; maxResultBytes: z.ZodNumber; id: z.ZodString; operation: z.ZodEnum<{ step: "step"; collect: "collect"; }>; toolName: z.ZodOptional; timeoutMs: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"javascript.v1">; source: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; cases: z.ZodObject<{ scope: z.ZodEnum<{ input: "input"; state: "state"; initialState: "initialState"; arguments: "arguments"; }>; path: z.ZodArray; }, z.core.$strict>; exportName: z.ZodString; maxCases: z.ZodNumber; maxResultBytes: z.ZodNumber; id: z.ZodString; operation: z.ZodEnum<{ step: "step"; collect: "collect"; }>; toolName: z.ZodOptional; timeoutMs: z.ZodNumber; }, z.core.$strict> ], "kind">>>; contentHash: z.ZodString; }, z.core.$strict>; asset: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.learningTextAsset.v1">; id: z.ZodString; revision: z.ZodLiteral<1>; asset: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; text: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; initialState: z.ZodRecord; seed: z.ZodNumber; }, z.core.$strict> ], "kind">; }, z.core.$strict>; }, z.core.$strict>; type LocalExperimentAdmission = z.infer; type LocalCaseRecord = { receiptId: string; status: LocalCaseStatus; admission: LocalExperimentAdmission; result: unknown | null; error: string | null; }; declare const PreferenceComparisonReleaseRecordSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.preferenceComparisonReleaseRecord.v1">; id: z.ZodString; tasksetId: z.ZodString; tasksetRelease: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetRelease.v2">; id: z.ZodString; revision: z.ZodNumber; policy: z.ZodObject<{ policyVisibleFields: z.ZodDefault>; privilegedFields: z.ZodDefault>; hiddenGraderRefs: z.ZodDefault>; connectedAppScopes: z.ZodDefault>; }, z.core.$strict>; environment: z.ZodObject<{ protocolVersion: z.ZodLiteral<"openpond.environment.v1">; kind: z.ZodEnum<{ text: "text"; agent: "agent"; work: "work"; custom_program: "custom_program"; }>; entrypoint: z.ZodString; stateful: z.ZodBoolean; deterministicSeeds: z.ZodBoolean; lifecycle: z.ZodArray>; networkPolicy: z.ZodEnum<{ none: "none"; declared_read_only: "declared_read_only"; declared_scoped: "declared_scoped"; }>; defaultTimeoutMs: z.ZodNumber; }, z.core.$strict>; environmentRelease: z.ZodOptional>; tools: z.ZodArray; inputSchemaHash: z.ZodString; sideEffect: z.ZodEnum<{ read: "read"; write: "write"; }>; timeoutMs: z.ZodNumber; }, z.core.$strict>>; capabilities: z.ZodArray>; portability: z.ZodEnum<{ host_adapter: "host_adapter"; hosted_only: "hosted_only"; local_only: "local_only"; portable: "portable"; }>; }, z.core.$strict>>; tasks: z.ZodArray; input: z.ZodRecord; expectedOutput: z.ZodNullable>; policyVisibleContext: z.ZodDefault>; privilegedContextRef: z.ZodNullable; artifactRefs: z.ZodDefault; }, z.core.$strict>>>; requiredOutputs: z.ZodOptional; }, z.core.$strict>>>; submissionMode: z.ZodOptional>; maxBytes: z.ZodDefault>; metadata: z.ZodDefault>; }, z.core.$strict>>>; tags: z.ZodDefault>; }, z.core.$strict>>; graders: z.ZodArray>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodEnum<{ content: "content"; schema: "schema"; artifact: "artifact"; runtime_event: "runtime_event"; state: "state"; }>; config: z.ZodRecord; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"model_judge">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; calibrationStatus: z.ZodEnum<{ pending: "pending"; passed: "passed"; failed: "failed"; }>; model: z.ZodOptional; }, z.core.$strict>>; temperature: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"custom_verifier">; runtime: z.ZodOptional>; verifierRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; exportName: z.ZodOptional; timeoutMs: z.ZodNumber; networkPolicy: z.ZodLiteral<"none">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; taskIds: z.ZodOptional>; version: z.ZodString; weight: z.ZodDefault; hardGate: z.ZodDefault; rewardEligible: z.ZodDefault; privileged: z.ZodDefault; kind: z.ZodLiteral<"human">; rubricRef: z.ZodObject<{ id: z.ZodString; path: z.ZodString; contentHash: z.ZodString; sizeBytes: z.ZodNumber; mediaType: z.ZodString; visibility: z.ZodEnum<{ host_private: "host_private"; policy: "policy"; verifier: "verifier"; }>; }, z.core.$strict>; reviewerRole: z.ZodString; form: z.ZodOptional; mode: z.ZodEnum<{ individual: "individual"; pairwise: "pairwise"; }>; instructions: z.ZodString; criteria: z.ZodArray; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"score">; minimum: z.ZodNumber; maximum: z.ZodNumber; step: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"category">; options: z.ZodArray; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"boolean">; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"text">; minimumLength: z.ZodOptional; maximumLength: z.ZodNumber; }, z.core.$strict>, z.ZodObject<{ id: z.ZodString; label: z.ZodString; instructions: z.ZodString; required: z.ZodBoolean; allowAbstain: z.ZodBoolean; requireRationale: z.ZodOptional; anchors: z.ZodOptional; description: z.ZodString; }, z.core.$strict>>>; kind: z.ZodLiteral<"preference">; requireStrength: z.ZodOptional; allowTie: z.ZodBoolean; }, z.core.$strict> ], "kind">>; }, z.core.$strict>>; }, z.core.$strict> ]>>; verifierSetRelease: z.ZodOptional>; metrics: z.ZodOptional; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; release: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.preferenceComparisonRelease.v1">; id: z.ZodString; revision: z.ZodNumber; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; candidateCount: z.ZodNumber; resultMode: z.ZodLiteral<"ordered_tie_groups">; allowTies: z.ZodBoolean; allowRejectAll: z.ZodBoolean; presentation: z.ZodObject<{ showTaskPrompt: z.ZodBoolean; randomizeCandidateOrder: z.ZodBoolean; hideModelIdentity: z.ZodBoolean; parts: z.ZodArray; path: z.ZodString; renderer: z.ZodEnum<{ code: "code"; text: "text"; markdown: "markdown"; json: "json"; image: "image"; }>; }, z.core.$strict>>; }, z.core.$strict>; rubricRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; mediaType: z.ZodDefault>; sizeBytes: z.ZodDefault>; }, z.core.$strict>; criteria: z.ZodArray>; assignment: z.ZodObject<{ strategy: z.ZodLiteral<"randomized_blinded_v1">; maxAssignmentsPerCandidate: z.ZodNumber; }, z.core.$strict>; aggregation: z.ZodObject<{ algorithm: z.ZodLiteral<"mean_pairwise_win_fraction_v1">; quorum: z.ZodNumber; rejectAllThreshold: z.ZodNumber; }, z.core.$strict>; rewardProjection: z.ZodObject<{ algorithm: z.ZodLiteral<"pairwise_win_fraction_v1">; verifierId: z.ZodString; verifierVersion: z.ZodString; weight: z.ZodNumber; }, z.core.$strict>; calibration: z.ZodObject<{ minimumSamples: z.ZodNumber; minimumOrderAgreement: z.ZodNumber; minimumTieAgreement: z.ZodNumber; minimumOrderSwapAgreement: z.ZodNumber; }, z.core.$strict>; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; publishedBy: z.ZodString; sourceConsent: z.ZodEnum<{ revoked: "revoked"; authorized: "authorized"; }>; retentionUntil: z.ZodNullable; createdAt: z.ZodISODateTime; }, z.core.$strict>; declare const PreferenceComparisonAssignmentRecordSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.preferenceComparisonAssignmentRecord.v1">; id: z.ZodString; tasksetId: z.ZodString; assignment: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.comparisonAssignment.v1">; id: z.ZodString; comparisonRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; taskRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; lineage: z.ZodObject<{ tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; harnessReleases: z.ZodArray>; runManifestRefs: z.ZodArray>; harnessCompatibilityReceiptRefs: z.ZodArray>; environmentRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; verifierSetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; toolContractHash: z.ZodString; policyHash: z.ZodString; }, z.core.$strict>; candidates: z.ZodArray; runManifestRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; artifactManifestRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; visibleArtifactIds: z.ZodArray; }, z.core.$strict>>; presentedCandidateOrder: z.ZodArray; purpose: z.ZodEnum<{ validation: "validation"; frozen_eval: "frozen_eval"; calibration: "calibration"; training_reward: "training_reward"; }>; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; state: z.ZodEnum<{ revoked: "revoked"; queued: "queued"; submitted: "submitted"; in_review: "in_review"; unreviewable: "unreviewable"; }>; reviewerKey: z.ZodNullable; unreviewableReason: z.ZodNullable; createdAt: z.ZodISODateTime; updatedAt: z.ZodISODateTime; }, z.core.$strict>; declare const PreferenceComparisonSubmissionRecordSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.preferenceComparisonSubmissionRecord.v1">; id: z.ZodString; tasksetId: z.ZodString; assignmentId: z.ZodString; reviewerKey: z.ZodString; receipt: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.preferenceReceipt.v1">; id: z.ZodString; assignmentRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; reviewer: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodEnum<{ model: "model"; human: "human"; deterministic: "deterministic"; }>; releaseRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; releaseRef: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; fixtureRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; labelSource: z.ZodLiteral<"synthetic">; qualificationEligibility: z.ZodLiteral<"smoke_only">; }, z.core.$strict> ], "kind">; order: z.ZodArray>; rejectAll: z.ZodBoolean; criterionScores: z.ZodRecord>; feedbackArtifactRef: z.ZodNullable>; sizeBytes: z.ZodDefault>; }, z.core.$strict>>; startedAt: z.ZodString; completedAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; submittedAt: z.ZodISODateTime; }, z.core.$strict>; declare const PreferenceComparisonCalibrationRecordSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.preferenceComparisonCalibrationRecord.v1">; id: z.ZodString; tasksetId: z.ZodString; report: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.preferenceCalibrationReport.v1">; id: z.ZodString; comparisonRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; automatedReviewer: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; humanReceiptRefs: z.ZodArray>; modelReceiptRefs: z.ZodArray>; sampleCount: z.ZodNumber; orderAgreement: z.ZodNumber; tieAgreement: z.ZodNumber; orderSwapAgreement: z.ZodNumber; passed: z.ZodBoolean; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; createdAt: z.ZodISODateTime; }, z.core.$strict>; type PreferenceComparisonReleaseRecord = z.infer; type PreferenceComparisonAssignmentRecord = z.infer; type PreferenceComparisonSubmissionRecord = z.infer; type PreferenceComparisonCalibrationRecord = z.infer; declare const LocalProfileEvaluationRunSchema: z.ZodObject<{ profileRef: z.ZodObject<{ source: z.ZodEnum<{ local: "local"; github: "github"; openpond_git: "openpond_git"; }>; repositoryId: z.ZodString; profileId: z.ZodString; }, z.core.$strip>; manifest: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetRunManifest.v1">; id: z.ZodString; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; packageHash: z.ZodString; execution: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"taskset">; environmentRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; verifierSetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; policyHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"harness">; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict> ], "kind">; profileEvaluation: z.ZodOptional; catalogHash: z.ZodString; definitionId: z.ZodString; definitionHash: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; environmentHash: z.ZodString; externalDatasetBinding: z.ZodOptional; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; policy: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"model">; model: z.ZodObject<{ provider: z.ZodString; model: z.ZodString; revision: z.ZodDefault>; artifactHash: z.ZodDefault>; tokenizerRevision: z.ZodDefault>; chatTemplateHash: z.ZodDefault>; }, z.core.$strict>; configurationHash: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"fixture">; }, z.core.$strict> ], "kind">; gradingRole: z.ZodLiteral<"evaluation">; metricPolicy: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetMetricPolicy.v1">; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; population: z.ZodArray; }, z.core.$strict>>; runtimeTarget: z.ZodObject<{ adapterId: z.ZodString; placement: z.ZodEnum<{ local: "local"; remote: "remote"; colocated: "colocated"; provider_native: "provider_native"; }>; runtimeVersion: z.ZodString; capabilityReceipt: z.ZodString; }, z.core.$strict>; limits: z.ZodObject<{ maxTurns: z.ZodNumber; timeoutMs: z.ZodNumber; maxOutputBytes: z.ZodNumber; maximumSpendUsd: z.ZodNullable; }, z.core.$strict>; createdAt: z.ZodString; metadata: z.ZodDefault>; contentHash: z.ZodString; }, z.core.$strict>; metric: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetMetricResult.v1">; runManifest: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; tasksetRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; policy: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.tasksetMetricPolicy.v1">; primaryMetric: z.ZodString; aggregation: z.ZodEnum<{ mean_score: "mean_score"; pass_rate: "pass_rate"; weighted_mean: "weighted_mean"; custom: "custom"; }>; missingReward: z.ZodEnum<{ zero: "zero"; exclude: "exclude"; }>; taskWeights: z.ZodOptional>; customAggregator: z.ZodNullable; }, z.core.$strict>>; }, z.core.$strict>; policyHash: z.ZodString; receiptRefs: z.ZodArray>; includedCount: z.ZodNumber; missingRewardCount: z.ZodNumber; excludedCount: z.ZodNumber; value: z.ZodNullable; contentHash: z.ZodString; }, z.core.$strict>; gradeRefs: z.ZodArray>; receiptRefs: z.ZodArray>; passRate: z.ZodNumber; passed: z.ZodBoolean; completedAt: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; type LocalProfileEvaluationRun = z.infer; declare const EvaluationOperationScopeSchema: z.ZodObject<{ scopeHash: z.ZodString; action: z.ZodString; intentHash: z.ZodString; }, z.core.$strict>; type EvaluationOperationScope = z.infer; type EvaluationOperationPhase = "reviewed" | "dispatching"; declare function prepareEvaluationOperation(db: OpenPondSqliteConnection, input: EvaluationOperationScope & { reviewedIntent?: unknown; }): { id: string; createdAt: string; }; declare function retainEvaluationOperation(db: OpenPondSqliteConnection, input: EvaluationOperationScope & { id: string; command: unknown; phase: EvaluationOperationPhase; }): { retained: true; phase: EvaluationOperationPhase; }; declare function pendingEvaluationOperations(db: OpenPondSqliteConnection, input: { scopeHash: string; action: string; cursor?: string; limit?: number; }): { items: { id: string; action: string; intentHash: string; createdAt: string; reviewedIntent: unknown; command: unknown; phase: EvaluationOperationPhase | null; recoveryReady: boolean; }[]; nextCursor: string | null; }; declare function readPendingEvaluationOperation(db: OpenPondSqliteConnection, input: EvaluationOperationScope & { id: string; }): { reviewedIntent: unknown; command: unknown; phase: EvaluationOperationPhase; }; declare function acknowledgeEvaluationOperation(db: OpenPondSqliteConnection, input: EvaluationOperationScope & { id: string; expectedPhase?: "reviewed"; }): { acknowledged: true; }; declare class ScheduledTransportNotInvokedError extends Error { readonly executionId: string; readonly requestId: string; constructor(executionId: string, requestId: string, cause: unknown); } type HumanLiveControlInput = { teamId: string; actorId: string; ownerId: string; executionId: string; receiptId: string; sessionId: string; operationId: string; action: "message" | "seal"; text?: string; phase: "prepare" | "acknowledge"; }; type HumanLocalPublicationRef = { id: string; revision: number; contentHash: string; }; type HumanLocalPublicationScope = { scope: string; actorId: string; executionId: string; }; declare function retainHumanLocalPublication(db: OpenPondSqliteConnection, input: HumanLocalPublicationScope & { operationId: string; executionHash: string; publication: HumanLocalPublicationRef; }): void; declare function evaluationStoreMethods(context: SqliteDomainContext, lifecycle: StoreDomainLifecycle): { learningRepository(): LearningRepository; humanReviewRepository(): HumanReviewRepository; humanReviewLocalEvidence(scope: string, id: string): Promise<{ execution: { schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }; released: { definition: { schemaVersion: "openpond.localExperimentDefinition.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; revision: number; configuration: { operationId: string; expectedRevision: number; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; maxOutputTokens: number; temperature: number; topP: number; localRuntime?: { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "user" | "system" | "assistant"; content: string; }[] | undefined; } | { kind: "hosted_harness"; modelId: string; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "off" | "low" | "medium" | "high" | "xhigh" | "max" | undefined; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; } | { kind: "fixture"; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; }; maximumCostUsd: number; id?: string | undefined; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[] | undefined; }; model: { providerId: "openpond" | "claude-code" | "codex" | "custom-openai-compatible"; modelId: string; configurationHash: string; maxOutputTokens: number; messages: { role: "user" | "system" | "assistant"; content: string; }[]; temperature?: number | undefined; topP?: number | undefined; }; packageHash: string; graders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; availableGraders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; createdAt: string; updatedAt: string; contentHash: string; }; package: unknown; }; cases: LocalCaseRecord[]; }>; savePreferenceComparisonRelease: (recordInput: PreferenceComparisonReleaseRecord) => Promise; getPreferenceComparisonRelease: (id: string) => Promise; listPreferenceComparisonReleases: (tasksetId: string) => Promise; revokePreferenceComparisonRelease: (input: { id: string; retentionUntil: string | null; }) => Promise; savePreferenceComparisonAssignment: (recordInput: PreferenceComparisonAssignmentRecord) => Promise; getPreferenceComparisonAssignment: (id: string) => Promise; listPreferenceComparisonAssignments: (input: { tasksetId: string; reviewerKey?: string; states?: PreferenceComparisonAssignmentRecord["state"][]; }) => Promise; claimPreferenceComparisonAssignment: (input: { id: string; reviewerKey: string; updatedAt: string; }) => Promise; claimNextPreferenceComparisonAssignment: (input: { tasksetId: string; reviewerKey: string; updatedAt: string; }) => Promise; markPreferenceComparisonUnreviewable: (input: { id: string; reviewerKey: string; reason: string; updatedAt: string; }) => Promise; savePreferenceComparisonSubmission: (recordInput: PreferenceComparisonSubmissionRecord) => Promise; getPreferenceComparisonSubmission: (input: { assignmentId: string; reviewerKey: string; }) => Promise; listPreferenceComparisonSubmissions: (assignmentId: string) => Promise; savePreferenceComparisonCalibration: (recordInput: PreferenceComparisonCalibrationRecord) => Promise; listPreferenceComparisonCalibrations: (tasksetId: string) => Promise; saveProfileEvaluationGrade: (gradeInput: TaskGrade) => Promise<{ score: number | null; passed: boolean; rewardEligible: boolean; failureClass: "cancelled" | "infrastructure_failure" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null; gradingStatus: "pending" | "unscorable" | "scored" | "not_configured"; schemaVersion: "openpond.taskGrade.v1"; taskHash: string; evidenceHash: string; graderSetHash: string; components: { schemaVersion: "openpond.graderEvidence.v1"; graderId: string; graderVersion: string; score: number | null; passed: boolean; rewardEligible: boolean; failureClass: "cancelled" | "infrastructure_failure" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null; feedback: string[]; visibleEvidenceRefs: string[]; privilegedEvidenceRefs: string[]; contentHash: string; status?: "failed" | "pending" | "unavailable" | "scored" | undefined; modelJudgeReceipt?: { schemaVersion: "openpond.modelJudgeReceipt.v1"; providerId: string; modelId: string; modelRevision: string | null; responseId: string | null; requestHash: string; responseHash: string; inputTokens: number | null; outputTokens: number | null; costUsd: number | null; transportPolicy?: { schemaVersion: "openpond.modelJudgeTransportPolicy.v1"; responseFormat: "judgment_json_schema"; reasoningEffort: "off" | "low" | "medium" | "high" | "xhigh" | "max"; maximumOutputTokens: number; } | undefined; effectiveRequestHash?: string | undefined; finishReason?: string | null | undefined; reasoningTokens?: number | null | undefined; } | undefined; }[]; contentHash: string; }>; getProfileEvaluationGrade: (contentHashValue: string) => Promise; saveProfileEvaluationReceipt: (receiptInput: AttemptReceipt) => Promise; getProfileEvaluationReceipt: (id: string) => Promise; saveProfileEvaluationRun: (runInput: LocalProfileEvaluationRun) => Promise; getProfileEvaluationRun: (id: string) => Promise; listProfileEvaluationRuns: (profileRef: OpenPondProfileRef) => Promise; saveProfileEvaluationComparison: (profileRef: OpenPondProfileRef, comparisonInput: ProfileEvaluationComparison) => Promise; getProfileEvaluationComparison: (id: string) => Promise; listProfileEvaluationComparisons: (profileRef: OpenPondProfileRef) => Promise; saveProfileEvaluationSuiteRun: (profileRef: OpenPondProfileRef, catalog: ProfileEvaluationCatalog, suiteInput: ProfileEvaluationSuiteRun) => Promise; getProfileEvaluationSuiteRun: (id: string) => Promise; listProfileEvaluationSuiteRuns: (profileRef: OpenPondProfileRef) => Promise; saveBenchmarkRun: (input: { tasksetId: string; run: BenchmarkRunSummary; }) => Promise; listBenchmarkRuns: (tasksetId: string) => Promise; saveBenchmarkComparison: (input: { tasksetId: string; comparison: BenchmarkComparison; }) => Promise; listBenchmarkComparisons: (tasksetId: string) => Promise; saveEvaluationResult: (input: { tasksetId: string; kind: "baseline" | "adaptation" | "candidate"; result: EvaluationResult; createdAt: string; }) => Promise; getEvaluationResult: (id: string) => Promise; listEvaluationResults: (tasksetId: string, kind?: "baseline" | "candidate") => Promise; prepareEvaluationOperation: (input: Parameters[1]) => Promise<{ id: string; createdAt: string; }>; retainEvaluationOperation: (input: Parameters[1]) => Promise<{ retained: true; phase: EvaluationOperationPhase; }>; readPendingEvaluationOperation: (input: Parameters[1]) => Promise<{ reviewedIntent: unknown; command: unknown; phase: EvaluationOperationPhase; }>; pendingEvaluationOperations: (input: Parameters[1]) => Promise<{ items: { id: string; action: string; intentHash: string; createdAt: string; reviewedIntent: unknown; command: unknown; phase: EvaluationOperationPhase | null; recoveryReady: boolean; }[]; nextCursor: string | null; }>; acknowledgeEvaluationOperation: (input: Parameters[1]) => Promise<{ acknowledged: true; }>; claimLocalExperimentOwner: (ownerId: string, pid?: number) => Promise; renewLocalExperimentOwner: (ownerId: string) => Promise; releaseLocalExperimentOwner: (ownerId: string) => Promise; saveLocalExperiment: (input: { operationId: string; intentHash: string; expectedRevision: number; definition: LocalExperimentDefinition; package: unknown; }) => Promise<{ schemaVersion: "openpond.localExperimentDefinition.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; revision: number; configuration: { operationId: string; expectedRevision: number; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; maxOutputTokens: number; temperature: number; topP: number; localRuntime?: { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "user" | "system" | "assistant"; content: string; }[] | undefined; } | { kind: "hosted_harness"; modelId: string; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "off" | "low" | "medium" | "high" | "xhigh" | "max" | undefined; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; } | { kind: "fixture"; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; }; maximumCostUsd: number; id?: string | undefined; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[] | undefined; }; model: { providerId: "openpond" | "claude-code" | "codex" | "custom-openai-compatible"; modelId: string; configurationHash: string; maxOutputTokens: number; messages: { role: "user" | "system" | "assistant"; content: string; }[]; temperature?: number | undefined; topP?: number | undefined; }; packageHash: string; graders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; availableGraders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; createdAt: string; updatedAt: string; contentHash: string; }>; readLocalExperiment: (teamId: string, id: string, revision?: number) => Promise<{ definition: { schemaVersion: "openpond.localExperimentDefinition.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; revision: number; configuration: { operationId: string; expectedRevision: number; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; maxOutputTokens: number; temperature: number; topP: number; localRuntime?: { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "user" | "system" | "assistant"; content: string; }[] | undefined; } | { kind: "hosted_harness"; modelId: string; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "off" | "low" | "medium" | "high" | "xhigh" | "max" | undefined; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; } | { kind: "fixture"; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; }; maximumCostUsd: number; id?: string | undefined; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[] | undefined; }; model: { providerId: "openpond" | "claude-code" | "codex" | "custom-openai-compatible"; modelId: string; configurationHash: string; maxOutputTokens: number; messages: { role: "user" | "system" | "assistant"; content: string; }[]; temperature?: number | undefined; topP?: number | undefined; }; packageHash: string; graders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; availableGraders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; createdAt: string; updatedAt: string; contentHash: string; }; package: unknown; }>; recoverLocalExperimentOperation: (teamId: string, operationId: string, kind: string, intentHash: string) => Promise; listLocalExperiments: (input: { teamId: string; ownerActorId: string; projectId?: string; afterId?: string; limit: number; }) => Promise<{ items: { schemaVersion: "openpond.localExperimentDefinition.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; revision: number; configuration: { operationId: string; expectedRevision: number; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; maxOutputTokens: number; temperature: number; topP: number; localRuntime?: { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "user" | "system" | "assistant"; content: string; }[] | undefined; } | { kind: "hosted_harness"; modelId: string; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "off" | "low" | "medium" | "high" | "xhigh" | "max" | undefined; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; } | { kind: "fixture"; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; }; maximumCostUsd: number; id?: string | undefined; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[] | undefined; }; model: { providerId: "openpond" | "claude-code" | "codex" | "custom-openai-compatible"; modelId: string; configurationHash: string; maxOutputTokens: number; messages: { role: "user" | "system" | "assistant"; content: string; }[]; temperature?: number | undefined; topP?: number | undefined; }; packageHash: string; graders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; availableGraders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; createdAt: string; updatedAt: string; contentHash: string; }[]; nextCursor: string | null; }>; listLocalExecutionHistory: (input: { teamId: string; ownerActorId: string; projectId?: string; afterId?: string; limit: number; }) => Promise<{ items: { execution: { schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }; definition: { schemaVersion: "openpond.localExperimentDefinition.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; revision: number; configuration: { operationId: string; expectedRevision: number; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; maxOutputTokens: number; temperature: number; topP: number; localRuntime?: { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "user" | "system" | "assistant"; content: string; }[] | undefined; } | { kind: "hosted_harness"; modelId: string; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "off" | "low" | "medium" | "high" | "xhigh" | "max" | undefined; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; } | { kind: "fixture"; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; }; maximumCostUsd: number; id?: string | undefined; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[] | undefined; }; model: { providerId: "openpond" | "claude-code" | "codex" | "custom-openai-compatible"; modelId: string; configurationHash: string; maxOutputTokens: number; messages: { role: "user" | "system" | "assistant"; content: string; }[]; temperature?: number | undefined; topP?: number | undefined; }; packageHash: string; graders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; availableGraders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; createdAt: string; updatedAt: string; contentHash: string; }; }[]; nextCursor: string | null; }>; startLocalExperiment: (input: { operationId: string; intentHash: string; ownerId: string; execution: LocalExperimentExecution; admissions: LocalExperimentAdmission[]; }) => Promise<{ schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }>; admitLocalExperimentRun: (input: { intentHash: string; ownerId: string; definition: LocalExperimentDefinition; snapshot: LocalExperimentConfigurationSnapshot; package: unknown; execution: LocalExperimentExecution; admissions: LocalExperimentAdmission[]; }) => Promise<{ configuration: { operationId: string; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; maxOutputTokens: number; temperature: number; topP: number; localRuntime?: { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "user" | "system" | "assistant"; content: string; }[] | undefined; } | { kind: "hosted_harness"; modelId: string; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "off" | "low" | "medium" | "high" | "xhigh" | "max" | undefined; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; } | { kind: "fixture"; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; }; maximumCostUsd: number; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[] | undefined; sourceExperimentId?: string | undefined; }; model: { providerId: "openpond" | "claude-code" | "codex" | "custom-openai-compatible"; modelId: string; configurationHash: string; maxOutputTokens: number; messages: { role: "user" | "system" | "assistant"; content: string; }[]; temperature?: number | undefined; topP?: number | undefined; }; packageHash: string; graders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; availableGraders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; configurationHash: string; kind: "target"; schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; retainedConfigurationHash?: string | undefined; }>; findLocalExperimentRunOperation: (teamId: string, operationId: string) => Promise<{ configuration: { operationId: string; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; maxOutputTokens: number; temperature: number; topP: number; localRuntime?: { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "user" | "system" | "assistant"; content: string; }[] | undefined; } | { kind: "hosted_harness"; modelId: string; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "off" | "low" | "medium" | "high" | "xhigh" | "max" | undefined; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; } | { kind: "fixture"; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; }; maximumCostUsd: number; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[] | undefined; sourceExperimentId?: string | undefined; }; model: { providerId: "openpond" | "claude-code" | "codex" | "custom-openai-compatible"; modelId: string; configurationHash: string; maxOutputTokens: number; messages: { role: "user" | "system" | "assistant"; content: string; }[]; temperature?: number | undefined; topP?: number | undefined; }; packageHash: string; graders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; availableGraders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; configurationHash: string; kind: "target"; schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; retainedConfigurationHash?: string | undefined; } | null>; readLocalExperimentRecord: (teamId: string, id: string) => Promise<{ configuration: { operationId: string; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; maxOutputTokens: number; temperature: number; topP: number; localRuntime?: { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "user" | "system" | "assistant"; content: string; }[] | undefined; } | { kind: "hosted_harness"; modelId: string; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "off" | "low" | "medium" | "high" | "xhigh" | "max" | undefined; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; } | { kind: "fixture"; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; }; maximumCostUsd: number; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[] | undefined; sourceExperimentId?: string | undefined; }; model: { providerId: "openpond" | "claude-code" | "codex" | "custom-openai-compatible"; modelId: string; configurationHash: string; maxOutputTokens: number; messages: { role: "user" | "system" | "assistant"; content: string; }[]; temperature?: number | undefined; topP?: number | undefined; }; packageHash: string; graders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; availableGraders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; configurationHash: string; kind: "target"; schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; retainedConfigurationHash?: string | undefined; }>; readLocalExperimentSnapshot: (teamId: string, id: string) => Promise<{ snapshot: { configuration: { operationId: string; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; maxOutputTokens: number; temperature: number; topP: number; localRuntime?: { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "user" | "system" | "assistant"; content: string; }[] | undefined; } | { kind: "hosted_harness"; modelId: string; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "off" | "low" | "medium" | "high" | "xhigh" | "max" | undefined; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; } | { kind: "fixture"; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; }; maximumCostUsd: number; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[] | undefined; sourceExperimentId?: string | undefined; }; model: { providerId: "openpond" | "claude-code" | "codex" | "custom-openai-compatible"; modelId: string; configurationHash: string; maxOutputTokens: number; messages: { role: "user" | "system" | "assistant"; content: string; }[]; temperature?: number | undefined; topP?: number | undefined; }; packageHash: string; graders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; availableGraders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; configurationHash: string; retainedConfigurationHash?: string | undefined; }; package: { schemaVersion: "openpond.tasksetPackage.v1"; taskset: { schemaVersion: "openpond.tasksetRelease.v2"; id: string; revision: number; policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; capabilities: { id: string; required: boolean; scopes: string[]; portability: "host_adapter" | "hosted_only" | "local_only" | "portable"; }[]; tasks: { id: string; clusterKey: string; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; expectedOutput: Record | null; policyVisibleContext: Record; privilegedContextRef: string | null; artifactRefs: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; tags: string[]; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; }[]; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; metadata: Record; contentHash: string; environmentRelease?: { id: string; contentHash: string; } | undefined; verifierSetRelease?: { id: string; contentHash: string; } | undefined; metrics?: { schemaVersion: "openpond.tasksetMetricPolicy.v1"; primaryMetric: string; aggregation: "custom" | "mean_score" | "pass_rate" | "weighted_mean"; missingReward: "zero" | "exclude"; customAggregator: { module: string; exportName: string; contentHash: string; timeoutMs: number; networkPolicy: "none"; } | null; taskWeights?: Record | undefined; } | undefined; }; environment: { schemaVersion: "openpond.environmentRelease.v1"; id: string; revision: number; contract: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; actionSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; observationSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; stateSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; artifactCollection: { maxArtifacts: number; maxTotalBytes: number; }; adapterConformanceHashes: Record; metadata: Record; contentHash: string; }; verifierSet: { schemaVersion: "openpond.verifierSetRelease.v1"; id: string; revision: number; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; isolation: { processBoundary: "same_process" | "isolated_process" | "container"; networkPolicy: "none"; defaultTimeoutMs: number; }; calibrationReceiptRefs: { id: string; contentHash: string; }[]; metadata: Record; contentHash: string; }; files: { asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; base64: string; }[]; contentHash: string; modelResources?: { taskDefinition: { schemaVersion: "openpond.taskDefinition.v1"; id: string; revision: number; name: string; description: string; instructions: string; category: "custom" | "structured" | "question_answering" | "coding" | "tool_workflow"; familyNamespace: string; inputSchema: Record; outputSchema: Record; rewardBinding: { id: string; contentHash: string; revision: number; }; harness: { id: string; contentHash: string; } | null; execution: { policy: { policyVisibleFields: string[]; privilegedFields: string[]; hiddenGraderRefs: string[]; connectedAppScopes: string[]; }; environment: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; capabilities: { id: string; required: boolean; scopes: string[]; portability: "host_adapter" | "hosted_only" | "local_only" | "portable"; }[]; environmentRelease?: { id: string; contentHash: string; } | undefined; verifierSetRelease?: { id: string; contentHash: string; } | undefined; }; contentHash: string; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; contextRequirements?: string[] | undefined; }; assets: { schemaVersion: "openpond.learningTextAsset.v1"; id: string; revision: 1; asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; text: string; contentHash: string; }[]; rewards: { schemaVersion: "openpond.rewardRelease.v1"; id: string; revision: number; name: string; description: string; implementation: { kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; } | { kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { timeoutMs: number; networkPolicy: "none"; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; exportName?: string | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; } | { kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; } | { kind: "learned_model"; modelVersion: { id: string; contentHash: string; }; inputContract: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; }; rawScore: { minimum: number; maximum: number; }; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; contentHash: string; feedbackKey?: string | undefined; fixtureSetRef?: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | undefined; calibrationCheckRef?: { id: string; contentHash: string; revision: number; } | undefined; }[]; rewardBinding: { schemaVersion: "openpond.rewardBinding.v1"; id: string; revision: number; sources: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; normalization: { kind: "identity"; } | { kind: "linear"; minimum: number; maximum: number; direction: "higher" | "lower"; }; weight: number; required: boolean; hardGate: boolean; privileged: boolean; fixtureRefs: { id: string; contentHash: string; }[]; taskIds?: string[] | undefined; }[]; aggregation: "weighted_mean"; unscorable: "exclude_optional_require_all_required"; contentHash: string; name?: string | undefined; description?: string | undefined; recipeRef?: { id: string; contentHash: string; revision: number; } | undefined; }; execution?: { environment: { schemaVersion: "openpond.environmentRelease.v1"; id: string; revision: number; contract: { protocolVersion: "openpond.environment.v1"; kind: "text" | "work" | "agent" | "custom_program"; entrypoint: string; stateful: boolean; deterministicSeeds: boolean; lifecycle: ("create" | "reset" | "step" | "collect" | "destroy")[]; networkPolicy: "none" | "declared_read_only" | "declared_scoped"; defaultTimeoutMs: number; }; actionSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; observationSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; stateSchemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; artifactCollection: { maxArtifacts: number; maxTotalBytes: number; }; adapterConformanceHashes: Record; metadata: Record; contentHash: string; }; verifierSet: { schemaVersion: "openpond.verifierSetRelease.v1"; id: string; revision: number; graders: ({ id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "schema" | "content" | "state" | "artifact" | "runtime_event"; config: Record; taskIds?: string[] | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "model_judge"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; calibrationStatus: "failed" | "pending" | "passed"; taskIds?: string[] | undefined; model?: { providerId: string; modelId: string; revision: string | null; } | undefined; temperature?: number | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "custom_verifier"; verifierRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; timeoutMs: number; networkPolicy: "none"; taskIds?: string[] | undefined; runtime?: "isolated_javascript" | "sandbox_process" | undefined; exportName?: string | undefined; } | { id: string; version: string; weight: number; hardGate: boolean; rewardEligible: boolean; privileged: boolean; kind: "human"; rubricRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; reviewerRole: string; taskIds?: string[] | undefined; form?: { schemaVersion: "openpond.humanForm.v1"; mode: "individual" | "pairwise"; instructions: string; criteria: ({ id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "score"; minimum: number; maximum: number; step: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "category"; options: string[]; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "boolean"; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "text"; maximumLength: number; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; minimumLength?: number | undefined; } | { id: string; label: string; instructions: string; required: boolean; allowAbstain: boolean; kind: "preference"; allowTie: boolean; requireRationale?: boolean | undefined; anchors?: { value: string | number | boolean; description: string; }[] | undefined; requireStrength?: boolean | undefined; })[]; } | undefined; })[]; isolation: { processBoundary: "same_process" | "isolated_process" | "container"; networkPolicy: "none"; defaultTimeoutMs: number; }; calibrationReceiptRefs: { id: string; contentHash: string; }[]; metadata: Record; contentHash: string; }; javascript: { schemaVersion: "openpond.javascriptEnvironment.v1"; id: string; revision: number; module: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; tools: { name: string; description: string; inputSchema: Record; inputSchemaHash: string; sideEffect: "read" | "write"; timeoutMs: number; }[]; maxSteps: number; maxStateBytes: number; maxObservationBytes: number; operationTimeoutMs: number; contentHash: string; executionServices?: ({ kind: "sqlite.v1"; sql: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; snapshot: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; maxRows: number; maxResultBytes: number; id: string; operation: "step" | "collect"; timeoutMs: number; toolName?: string | undefined; } | { kind: "javascript.v1"; source: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; cases: { scope: "input" | "state" | "arguments" | "initialState"; path: string[]; }; exportName: string; maxCases: number; maxResultBytes: number; id: string; operation: "step" | "collect"; timeoutMs: number; toolName?: string | undefined; })[] | undefined; }; } | undefined; instructionMode?: "per_task" | undefined; } | undefined; learningResources?: { batch: { schemaVersion: "openpond.taskBatch.v1"; id: string; revision: 1; taskDefinition: { id: string; contentHash: string; revision: number; }; rewardBinding: { id: string; contentHash: string; revision: number; }; purpose: "evaluation" | "supervised_training" | "reward_training"; examples: { evidence: { id: string; contentHash: string; revision: number; }; decision: { id: string; contentHash: string; revision: number; }; familyKey: string; inputHash: string; split: "validation" | "test" | "train" | "frozen_eval"; }[]; sealedAt: string; sealedBy: string; contentHash: string; }; evidence: { schemaVersion: "openpond.taskEvidence.v1"; id: string; revision: number; source: { id: string; contentHash: string; revision: number; }; submission: { schemaVersion: "openpond.taskExample.v1"; sourceId: string; idempotencyKey: string; taskDefinition: { id: string; contentHash: string; revision: number; }; exampleId: string; attemptId: string; occurredAt: string; familyKey: string | null; split: "validation" | "test" | "train" | "frozen_eval"; input: Record; observedOutput: Record | null; expected: Record | null; evaluatorContext: Record | null; assets: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }[]; provenance: { sourceRecordRef: string | null; mappingHash: string | null; }; requiredOutputs?: { path: string; mediaType: string; schemaRef: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; } | null; maxBytes: number | null; metadata: Record; submissionMode?: "structured_json" | undefined; }[] | undefined; }; supersedes: { id: string; contentHash: string; revision: number; } | null; correctionFeedbackId: string | null; receivedAt: string; contentHash: string; }[]; decisions: { schemaVersion: "openpond.taskAdmissionDecision.v1"; id: string; revision: number; evidence: { id: string; contentHash: string; revision: number; }; supersedes: { id: string; contentHash: string; revision: number; } | null; actor: { kind: "human" | "qualified_policy"; id: string; policy: { id: string; contentHash: string; revision: number; } | null; }; evidenceValidity: "pending" | "valid" | "invalid"; taskAdmissibility: "pending" | "rejected" | "approved"; observedQuality: "failed" | "unavailable" | "passed" | "unscored"; targetApproval: "pending" | "rejected" | "approved" | "not_required"; approvedTarget: Record | null; grade: { schemaVersion: "openpond.rewardComposition.v1"; binding: { id: string; contentHash: string; revision: number; }; taskHash: string; outputHash: string; results: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; status: "failed" | "pending" | "unavailable" | "not_applicable" | "scored"; rawScore: number | null; normalizedScore: number | null; passed: boolean | null; evidenceHashes: string[]; message: string | null; graderEvidence?: { schemaVersion: "openpond.graderEvidence.v1"; graderId: string; graderVersion: string; score: number | null; passed: boolean; rewardEligible: boolean; failureClass: "cancelled" | "infrastructure_failure" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null; feedback: string[]; visibleEvidenceRefs: string[]; privilegedEvidenceRefs: string[]; contentHash: string; status?: "failed" | "pending" | "unavailable" | "scored" | undefined; modelJudgeReceipt?: { schemaVersion: "openpond.modelJudgeReceipt.v1"; providerId: string; modelId: string; modelRevision: string | null; responseId: string | null; requestHash: string; responseHash: string; inputTokens: number | null; outputTokens: number | null; costUsd: number | null; transportPolicy?: { schemaVersion: "openpond.modelJudgeTransportPolicy.v1"; responseFormat: "judgment_json_schema"; reasoningEffort: "off" | "low" | "medium" | "high" | "xhigh" | "max"; maximumOutputTokens: number; } | undefined; effectiveRequestHash?: string | undefined; finishReason?: string | null | undefined; reasoningTokens?: number | null | undefined; } | undefined; } | undefined; }[]; training: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; evaluation: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; contentHash: string; taskId?: string | undefined; } | null; targetGrade: { schemaVersion: "openpond.rewardComposition.v1"; binding: { id: string; contentHash: string; revision: number; }; taskHash: string; outputHash: string; results: { graderId: string; reward: { id: string; contentHash: string; revision: number; }; role: "training" | "evaluation"; status: "failed" | "pending" | "unavailable" | "not_applicable" | "scored"; rawScore: number | null; normalizedScore: number | null; passed: boolean | null; evidenceHashes: string[]; message: string | null; graderEvidence?: { schemaVersion: "openpond.graderEvidence.v1"; graderId: string; graderVersion: string; score: number | null; passed: boolean; rewardEligible: boolean; failureClass: "cancelled" | "infrastructure_failure" | "policy_failure" | "environment_failure" | "grader_failure" | "timeout" | null; feedback: string[]; visibleEvidenceRefs: string[]; privilegedEvidenceRefs: string[]; contentHash: string; status?: "failed" | "pending" | "unavailable" | "scored" | undefined; modelJudgeReceipt?: { schemaVersion: "openpond.modelJudgeReceipt.v1"; providerId: string; modelId: string; modelRevision: string | null; responseId: string | null; requestHash: string; responseHash: string; inputTokens: number | null; outputTokens: number | null; costUsd: number | null; transportPolicy?: { schemaVersion: "openpond.modelJudgeTransportPolicy.v1"; responseFormat: "judgment_json_schema"; reasoningEffort: "off" | "low" | "medium" | "high" | "xhigh" | "max"; maximumOutputTokens: number; } | undefined; effectiveRequestHash?: string | undefined; finishReason?: string | null | undefined; reasoningTokens?: number | null | undefined; } | undefined; } | undefined; }[]; training: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; evaluation: { status: "pending" | "unscorable" | "scored" | "not_configured"; score: number | null; passed: boolean | null; }; contentHash: string; taskId?: string | undefined; } | null; note: string; decidedAt: string; contentHash: string; }[]; sources: { schemaVersion: "openpond.learningSource.v1"; id: string; revision: number; name: string; kind: "provider" | "work" | "benchmark" | "direct" | "opentelemetry"; taskDefinition: { id: string; contentHash: string; revision: number; }; enabled: boolean; allowedSplits: ("validation" | "test" | "train" | "frozen_eval")[]; mapping: { schemaVersion: "openpond.taskSourceMapping.v1"; exampleId: string; attemptId: string; occurredAt: string; input: string; observedOutput: string | null; expected: string | null; evaluatorContext: string | null; familyKey: string; split: "validation" | "test" | "train" | "frozen_eval"; } | null; adapterVersion: string | null; contentHash: string; reviewOrigin?: { modelId: string; packageHash: string; taskset: { id: string; contentHash: string; revision: number; }; batch: { id: string; contentHash: string; revision: number; }; rewardBinding: { id: string; contentHash: string; revision: number; }; } | undefined; capturedOrigin?: { receiptId: string; ownerUserId: string; modelId: string; packageHash: string; taskset: { id: string; contentHash: string; revision: number; }; } | undefined; }[]; assets: { schemaVersion: "openpond.learningTextAsset.v1"; id: string; revision: 1; asset: { id: string; path: string; contentHash: string; sizeBytes: number; mediaType: string; visibility: "policy" | "verifier" | "host_private"; }; text: string; contentHash: string; }[]; } | undefined; }; }>; readExecutionActivity: (input: { teamId: string; actorId: string; projectId: string | null; limit?: number; }) => Promise<{ count: number; items: { kind: "experiment"; location: "local"; id: string; name: string; phase: string; updatedAt: string; }[]; }>; listLocalExperimentRecords: (input: { teamId: string; ownerActorId: string; projectId?: string; status?: LocalExperimentExecution["status"]; datasetHash?: string; search?: string; afterId?: string; limit: number; }) => Promise<{ items: { configuration: { operationId: string; request: { schemaVersion: "openpond.modelTasksetRunRequest.v1"; operationId: string; teamId: string; modelProjectId: string | null; taskset: { id: string; contentHash: string; revision: number; }; policy: { kind: "hosted_chat"; modelId: string; maxOutputTokens: number; temperature: number; topP: number; localRuntime?: { providerId: "claude-code"; configurationHash: string; executableHash: string; version: string; capabilityHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; maximumTurns: number; holdOpen: boolean; } | { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | { providerId: "custom-openai-compatible"; configurationHash: string; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; harness?: { harnessRelease: { id: string; contentHash: string; }; agentSnapshot: { id: string; contentHash: string; }; sourcePackageHash: string; } | undefined; messages?: { role: "user" | "system" | "assistant"; content: string; }[] | undefined; } | { kind: "hosted_harness"; modelId: string; profileRepositoryId: string; source: { profileId: string; sourceRevision: string; harnessRelease: { id: string; contentHash: string; }; catalogHash: string; definitionId: string; definitionHash: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; environmentHash: string; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; }; modelConfigurationHash: string; packageHash: string; maxOutputTokens?: number | undefined; temperature?: number | undefined; topP?: number | undefined; localRuntime?: { providerId: "codex"; configurationHash: string; accountHash: string; reasoningEffort: "low" | "medium" | "high" | "xhigh"; maximumRequestCostUsd: number; requestTimeoutMs: number; } | undefined; candidate?: { artifactId: string; contentHash: string; preparationId: string; dispatchId: string; baseProfileId: string; workerImageDigest: string; } | undefined; sourceCandidate?: { candidateId: string; frozenRevision: number; frozenHash: string; harnessRelease: { id: string; contentHash: string; }; protectedClosureHash: string; } | undefined; reasoningEffort?: "off" | "low" | "medium" | "high" | "xhigh" | "max" | undefined; externalDatasetBinding?: { schemaVersion: "openpond.profileExternalDatasetBinding.v1"; dataset: { id: string; contentHash: string; revision: number; }; packageHash: string; profileId: string; target: { kind: "profile"; } | { kind: "workflow"; workflowId: string; } | { kind: "skill"; skillPath: string; } | { kind: "agent_action"; actionId: string; }; declaredProfileCatalogHash: string | null; protectedProfileClosureHash: string; split: "validation" | "test" | "train" | "frozen_eval"; population: { taskId: string; seed: string; fixtureId: string | null; }[]; evaluators: { release: { id: string; contentHash: string; revision: string | number; }; feedbackKey: string; configurationHash: string; output: "boolean" | "category" | "score"; categories: string[]; }[]; fieldMappingsHash: string; fieldMappings: { graderId: string; fields: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[]; environmentHash: string; privateDatasetClosureHash: string; criterion: { minimumPassRate: number; requireComplete: boolean; }; contentHash: string; recordedOrigin?: { execution: { id: string; contentHash: string; }; originalEvidence: { id: string; contentHash: string; }; members: { caseId: string; seed: string; fixtureId: string; sourceId: string; snapshotHash: string; boundaryRevisionHash: string; }[]; } | undefined; gradingSource?: { pass: { id: string; contentHash: string; }; evidence: { id: string; contentHash: string; }; } | undefined; } | undefined; } | { kind: "fixture"; }; population: { receiptId: string; taskId: string; seed: string; fixtureId: string | null; }[]; name?: string | undefined; project?: { id: string; revision: number; contentHash: string; targetId: string | null; } | undefined; }; maximumCostUsd: number; graders?: { id: string; version: string; contentHash: string; mappings: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[]; }[] | undefined; sourceExperimentId?: string | undefined; }; model: { providerId: "openpond" | "claude-code" | "codex" | "custom-openai-compatible"; modelId: string; configurationHash: string; maxOutputTokens: number; messages: { role: "user" | "system" | "assistant"; content: string; }[]; temperature?: number | undefined; topP?: number | undefined; }; packageHash: string; graders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; availableGraders: { id: string; version: string; contentHash: string; feedbackKey: string; release: { id: string; revision: number; contentHash: string; } | null; name?: string | undefined; mappings?: { destination: "output" | "input" | "expectedOutput" | "evaluatorContext"; path: string[]; source: "output" | "input" | "expectedOutput" | "evaluatorContext"; sourcePath: string[]; }[] | undefined; }[]; configurationHash: string; kind: "target"; schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; retainedConfigurationHash?: string | undefined; }[]; nextCursor: string | null; }>; readLocalExecution: (teamId: string, id: string) => Promise<{ execution: { schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }; cases: LocalCaseRecord[]; }>; readLocalExecutionCharges: (teamId: string, id: string) => Promise<{ requestId: string; caseId: string; status: string; maximumUsd: number; costUsd: number | null; usage: unknown; }[]>; appendLocalExperimentEvent: (input: { teamId: string; id: string; caseId: string; ownerId: string; type: string; payload: unknown; }) => Promise; localExperimentTrace: (input: { teamId: string; id: string; caseId: string; afterSequence?: number; limit: number; }) => Promise<{ items: { sequence: number; type: string; payload: unknown; }[]; nextCursor: number | null; }>; localExperimentDiagnosticTrace: (input: { teamId: string; id: string; afterSequence?: number; }) => Promise<{ items: { taskId: string | null; payload: unknown; sequence: number; case_id: string; type: string; }[]; count: number; nextCursor: number | null; }>; startLocalScoringPass: (input: { operationId: string; intentHash: string; ownerId: string; execution: LocalExperimentExecution; admissions: LocalExperimentAdmission[]; package: unknown; graders: LocalExperimentDefinition["graders"]; }) => Promise<{ schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }>; readLocalScoringSelection: (teamId: string, id: string) => Promise<{ package: unknown; graders: LocalExperimentDefinition["graders"]; sourceExecutionId: string; }>; localJudgeBudgetTransaction: (input: { teamId: string; id: string; caseId: string; ownerId: string; intent: "dispatch" | "settle"; }, update: (state: JudgeBudgetState) => { calls: JudgeCallReservation[]; result: T; }) => Promise; listLocalExecutions: (teamId: string, definitionId: string, afterId: string | undefined, limit: number) => Promise<{ items: { schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }[]; nextCursor: string | null; }>; listLocalScoringPasses: (teamId: string, sourceId: string, afterId: string | undefined, limit: number) => Promise<{ items: { schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }[]; nextCursor: string | null; }>; admitLocalCase: (teamId: string, id: string, receiptId: string, ownerId: string) => Promise; settleLocalCase: (input: { teamId: string; id: string; receiptId: string; ownerId: string; status: Exclude; result: unknown | null; error: string | null; }) => Promise<{ schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }>; cancelLocalExecution: (teamId: string, id: string) => Promise<{ schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }>; finishLocalExecution: (teamId: string, id: string, ownerId: string, error?: string | null, cleanupComplete?: boolean) => Promise<{ schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }>; recoverLocalExperiments: (ownerId: string) => Promise<{ schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }[]>; reserveLocalCharge: (input: { teamId: string; id: string; caseId: string; requestId: string; ownerId: string; maximumUsd: number; }) => Promise; markLocalChargeDispatched: (teamId: string, id: string, requestId: string, ownerId: string) => Promise; settleLocalCharge: (input: { teamId: string; id: string; requestId: string; ownerId: string; costUsd: number | null; usage: unknown | null; notDispatched?: boolean; confirmedTransportNotInvoked?: ScheduledTransportNotInvokedError; }) => Promise<{ schemaVersion: "openpond.localExperimentExecution.v1"; location: "local"; id: string; teamId: string; ownerActorId: string; operationId: string; definition: { id: string; revision: number; contentHash: string; }; kind: "target" | "scoring"; executionHash: string; sourceExecution: { id: string; executionHash: string; } | null; packageHash: string; maximumCostUsd: number; status: "completed" | "failed" | "running" | "cancelled" | "interrupted" | "queued" | "cancelling"; createdAt: string; completedAt: string | null; counts: { pending: number; running: number; completed: number; failed: number; cancelled: number; unknown: number; }; usage: { knownCostUsd: number; costUsd: number | null; heldUsd: number; uncertainRequests: number; }; cleanupComplete: boolean; error: string | null; }>; humanLiveControl: (input: HumanLiveControlInput) => Promise<{ replay: boolean; state: "prepared" | "acknowledged"; }>; humanLiveControlReceipt: (input: Omit) => Promise<{ replay: boolean; state: "prepared" | "acknowledged"; } | null>; rememberHumanLocalPublication: (input: Parameters[1]) => Promise; forgetHumanLocalPublication: (input: { scope: string; actorId: string; publicationId: string; }) => Promise; humanLocalPublications: (input: HumanLocalPublicationScope) => Promise; createLearningSourceCredential: (record: LearningSourceCredential, keyHash: string, requestHash: string) => Promise; findLearningSourceCredential: (keyHash: string) => Promise; listLearningSourceCredentials: (scope: string, sourceId: string, limit: number, afterId?: string) => Promise<{ items: { id: string; scope: string; sourceId: string; name: string; keyPrefix: string; createdAt: string; expiresAt: string; revokedAt: string | null; }[]; nextCursor: string | null; }>; revokeLearningSourceCredential: (scope: string, sourceId: string, id: string, revokedAt: string) => Promise<{ id: string; scope: string; sourceId: string; name: string; keyPrefix: string; createdAt: string; expiresAt: string; revokedAt: string | null; } | null>; listLearningScopes: () => Promise; }; type DomainMethods = ReturnType & ReturnType & ReturnType; interface SqliteStore extends DomainMethods { } declare class SqliteStore extends SqliteChatStore { private readonly domains; private closing; constructor(storeDir: string, options?: SqliteStoreCoreOptions); close(): Promise; } type OpenPondCommandRequestSource = "model_tool" | "direct_command"; type OpenPondCommandExecutionInput = { session: Session; turnId?: string | null; providerRequestId?: string | number | null; command: string; cwd?: string | null; timeoutSeconds?: number | null; source: OpenPondCommandRequestSource; signal?: AbortSignal; }; type OpenPondCommandRunResult = { ok: boolean; command: string; cwd: string | null; exitCode: number | null; stdout: string; stderr: string; timedOut: boolean; timeoutSeconds: number; truncated: boolean; blockedReason: string | null; }; type NativeModelToolResult = { toolCallId: string; name: string; ok: boolean; contentText: string; data?: unknown; images?: Array<{ mimeType: string; data: string; }>; turnControl?: "continue" | "await_user_input"; }; type WebSearchRequest = { query: string; limit?: number; recencyDays?: number; domains?: string[]; }; type WebSearchResultItem = { id: string; title: string; url: string; snippet: string; sourceName: string | null; faviconUrl: string | null; publishedAt: string | null; updatedAt: string | null; }; type WebSearchResult = { query: string; provider: string; searchedAt: string; results: WebSearchResultItem[]; truncated: boolean; }; type WebSearchExecutor = (request: WebSearchRequest, options?: { signal?: AbortSignal; }) => Promise; type ToolVisibilityContext = { session: Session; provider: ChatProvider; model: string; mentionedApps: OpenPondApp[]; }; type ModelToolExecutionContext = { session: Session; turnId: string; turnPermissions: Pick; provider: ChatProvider; model: string; callId: string; args: Record; signal: AbortSignal; workspaceDiffBaseline: WorkspaceDiffSummary | null; mentionedApps: OpenPondApp[]; userPrompt: string; turnMetadata: Turn["metadata"]; }; type ModelToolDefinition = { name: string; description: string; parameters: Record; enabled?: (context: ToolVisibilityContext) => boolean; execute: (context: ModelToolExecutionContext) => Promise; }; type ProfileSkillReadResult = { name: string; description: string; body: string; path: string; sourceHash: string; charCount: number; packagePath?: string; resourceFiles?: string[]; }; declare function createCommandModelToolDefinition(deps: { executeCommand: (input: OpenPondCommandExecutionInput) => Promise; executeCandidateCommand?: (context: ModelToolExecutionContext, input: OpenPondCommandExecutionInput) => Promise; }): ModelToolDefinition; type HostedToolInstructionMode = "full_text_fallback" | "resource_text_fallback" | "none"; type ResolvedConnectedAppContext = { provider: ConnectedAppProviderFamilyId; label: string; appIds: string[]; setupSurfaces: ConnectedAppSetupSurface[]; accountLabels: string[]; workspaceLabels: string[]; capabilities: Pick[]; toolNames: string[]; connectionIds: string[]; }; type RepositoryInstructionSource = { absolutePath: string; relativePath: string; content: string; }; type RepositoryInstructionResolution = { repositoryRoot: string; workingDirectory: string; sources: RepositoryInstructionSource[]; diagnostics: string[]; }; type ProfileSkillInstructionMode = "text_fallback" | "native_tool" | "none"; type HostedProfileSkillBody = { name: string; description: string; body: string; path: string; sourceHash: string; packagePath?: string; resourceFiles?: string[]; }; type ProfileSkillRuntime = { profileSourcePath: string | null; skills: OpenPondProfileSkill[]; readSkill: ((name: string) => Promise) | null; }; declare const Envelope: z.ZodObject<{ binding: z.ZodObject<{ schemaVersion: z.ZodLiteral<"openpond.profileExternalDatasetBinding.v1">; dataset: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; revision: z.ZodNumber; }, z.core.$strict>; packageHash: z.ZodString; profileId: z.ZodString; target: z.ZodDiscriminatedUnion<[ z.ZodObject<{ kind: z.ZodLiteral<"profile">; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"workflow">; workflowId: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"skill">; skillPath: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"agent_action">; actionId: z.ZodString; }, z.core.$strict> ], "kind">; declaredProfileCatalogHash: z.ZodNullable; protectedProfileClosureHash: z.ZodString; recordedOrigin: z.ZodOptional; originalEvidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; members: z.ZodArray>; }, z.core.$strict>>; gradingSource: z.ZodOptional; evidence: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; split: z.ZodEnum<{ train: "train"; validation: "validation"; test: "test"; frozen_eval: "frozen_eval"; }>; population: z.ZodArray; }, z.core.$strict>>; evaluators: z.ZodArray; }, z.core.$strict>; feedbackKey: z.ZodString; configurationHash: z.ZodString; output: z.ZodEnum<{ boolean: "boolean"; score: "score"; category: "category"; }>; categories: z.ZodArray; }, z.core.$strict>>; fieldMappingsHash: z.ZodString; fieldMappings: z.ZodArray; path: z.ZodArray; source: z.ZodEnum<{ output: "output"; input: "input"; expectedOutput: "expectedOutput"; evaluatorContext: "evaluatorContext"; }>; sourcePath: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>>; environmentHash: z.ZodString; privateDatasetClosureHash: z.ZodString; criterion: z.ZodObject<{ minimumPassRate: z.ZodNumber; requireComplete: z.ZodBoolean; }, z.core.$strict>; contentHash: z.ZodString; }, z.core.$strict>; packageValue: z.ZodUnknown; graders: z.ZodArray; contentHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>>; actualGrading: z.ZodOptional>; sourceCandidate: z.ZodOptional; protectedClosureHash: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; type HostProfileExternalDataset = z.infer; type SandboxRequestAction = { type: "list"; payload?: unknown; } | { type: "snapshot_catalog"; payload: unknown; } | { type: "snapshot_create"; sandboxId: string; payload: unknown; } | { type: "template_catalog"; payload: unknown; } | { type: "template_launch"; payload: unknown; } | { type: "integration_connections"; payload: unknown; } | { type: "connected_app_status"; payload: unknown; } | { type: "integration_leases"; sandboxId: string; } | { type: "integration_attach"; sandboxId: string; payload: unknown; } | { type: "integration_remove"; sandboxId: string; payload: unknown; } | { type: "sandbox_runtime_list"; payload?: unknown; } | { type: "sandbox_runtime_get"; runtimeId: string; payload?: unknown; } | { type: "sandbox_runtime_create"; payload: unknown; } | { type: "sandbox_runtime_sandbox_create"; runtimeId: string; payload: unknown; } | { type: "sandbox_runtime_resume"; runtimeId: string; payload?: unknown; } | { type: "sandbox_runtime_preserve_source"; runtimeId: string; payload: unknown; } | { type: "sandbox_runtime_promote"; runtimeId: string; payload: unknown; } | { type: "project_list"; payload: unknown; } | { type: "profile_get"; payload: unknown; } | { type: "profile_ensure"; payload: unknown; } | { type: "profile_push"; payload: unknown; } | { type: "project_upsert"; payload: unknown; } | { type: "project_get"; projectId: string; payload: unknown; } | { type: "project_workspace"; projectId: string; payload: unknown; } | { type: "project_git"; projectId: string; payload: unknown; } | { type: "project_sync"; projectId: string; payload: unknown; } | { type: "project_source_upload"; projectId: string; payload: unknown; } | { type: "project_archive"; projectId: string; payload: unknown; } | { type: "agent_list"; payload: unknown; } | { type: "agent_upsert"; payload: unknown; } | { type: "agent_run"; agentId: string; payload: unknown; } | { type: "agent_source_deploy_plan"; agentId: string; payload: unknown; } | { type: "agent_source_checks"; agentId: string; payload: unknown; } | { type: "agent_source_publish"; agentId: string; payload: unknown; } | { type: "create"; payload: unknown; } | { type: "get"; sandboxId: string; } | { type: "start"; sandboxId: string; } | { type: "delete"; sandboxId: string; failOnUnpreservedChanges?: boolean; } | { type: "exec"; sandboxId: string; payload: unknown; } | { type: "action_run"; sandboxId: string; actionName: string; payload?: unknown; } | { type: "open_port"; sandboxId: string; payload: unknown; } | { type: "snapshot_update"; sandboxId: string; snapshotId: string; payload: unknown; } | { type: "snapshot_validate"; sandboxId: string; snapshotId: string; payload: unknown; } | { type: "snapshot_publish"; sandboxId: string; snapshotId: string; } | { type: "replays"; payload: unknown; } | { type: "replay_start"; payload: unknown; } | { type: "replay_get"; replayId: string; payload?: unknown; } | { type: "replay_logs"; replayId: string; payload?: unknown; } | { type: "replay_artifacts"; replayId: string; payload?: unknown; } | { type: "replay_cancel"; replayId: string; payload?: unknown; } | { type: "schedule_create"; payload: unknown; } | { type: "fork"; sandboxId: string; payload: unknown; } | { type: "stop"; sandboxId: string; failOnUnpreservedChanges?: boolean; } | { type: "receipts"; sandboxId: string; } | { type: "logs"; sandboxId: string; } | { type: "process_start"; sandboxId: string; payload: unknown; } | { type: "process_get"; sandboxId: string; processId: string; payload: unknown; } | { type: "upload_file"; sandboxId: string; payload: unknown; } | { type: "download_file"; sandboxId: string; payload: unknown; } | { type: "list_files"; sandboxId: string; payload: unknown; } | { type: "search_files"; sandboxId: string; payload: unknown; } | { type: "delete_file"; sandboxId: string; payload: unknown; } | { type: "stat_file"; sandboxId: string; payload: unknown; } | { type: "mkdir"; sandboxId: string; payload: unknown; } | { type: "move_file"; sandboxId: string; payload: unknown; } | { type: "git_status"; sandboxId: string; } | { type: "git_diff"; sandboxId: string; payload: unknown; } | { type: "git_export_patch"; sandboxId: string; payload: unknown; } | { type: "git_branch"; sandboxId: string; payload: unknown; } | { type: "git_commit"; sandboxId: string; payload: unknown; } | { type: "git_pull"; sandboxId: string; payload: unknown; } | { type: "git_push"; sandboxId: string; payload: unknown; }; export type AppServerSandboxRequest = (action: SandboxRequestAction) => Promise; type TaskToolResult = { content: Array<{ type: "text"; text: string; } | { type: "image"; mimeType: string; data: string; }>; isError?: boolean; }; type TaskCoordinationBridge = { tools: Array<{ name: string; description: string; inputSchema: Record; }>; execute(name: string, args: Record, callId: string, signal: AbortSignal): Promise; }; type BrowserHarnessToolName = "html_preview" | "openpond_browser_open" | "openpond_browser_snapshot" | "openpond_browser_move_cursor" | "openpond_browser_click" | "openpond_browser_type" | "openpond_browser_key" | "openpond_browser_scroll"; type BrowserHarnessPoint = { x: number; y: number; }; type BrowserHarnessTarget = { kind: "ref"; snapshotId: string; targetRef: string; } | { kind: "point"; point: BrowserHarnessPoint; }; type BrowserHarnessBaseInput = { sessionId: string; turnId: string; conversationId: string; callId: string; tabId?: string; signal: AbortSignal; }; type BrowserHarnessOpenInput = BrowserHarnessBaseInput & { url?: string; }; type BrowserHarnessSnapshotInput = BrowserHarnessBaseInput & { includeScreenshot: boolean; maxTargets: number; }; type BrowserHarnessMoveCursorInput = BrowserHarnessBaseInput & { target: BrowserHarnessTarget; waitAfterMoveMs: number; }; type BrowserHarnessClickInput = BrowserHarnessBaseInput & { target: BrowserHarnessTarget; button: "left" | "middle" | "right"; clickCount: 1 | 2; }; type BrowserHarnessTypeTextInput = BrowserHarnessBaseInput & { target?: Extract; text: string; }; type BrowserHarnessKeyInput = BrowserHarnessBaseInput & { key: BrowserHarnessKey; }; type BrowserHarnessScrollInput = BrowserHarnessBaseInput & { target?: BrowserHarnessTarget; deltaX: number; deltaY: number; }; type BrowserHarnessScreenshotMetadata = { tabId: string; url: string; }; type BrowserHarnessResponseMetadata = { activeTabId?: string; title?: string; url?: string; openTabIds?: string[]; cursor?: BrowserHarnessPoint; snapshotId?: string; screenshot?: BrowserHarnessScreenshotMetadata; }; type BrowserHarnessToolResult = { ok: boolean; action: BrowserHarnessToolName; output: string; data?: Record; metadata?: BrowserHarnessResponseMetadata; }; type BrowserHarnessToolExecutor = { visualAvailable?(): boolean; previewHtml?(input: BrowserHarnessBaseInput & { html: string; width: number; }): Promise; available(input: { sessionId: string; conversationId: string; }): boolean; open(input: BrowserHarnessOpenInput): Promise; snapshot(input: BrowserHarnessSnapshotInput): Promise; moveCursor(input: BrowserHarnessMoveCursorInput): Promise; click(input: BrowserHarnessClickInput): Promise; typeText(input: BrowserHarnessTypeTextInput): Promise; pressKey(input: BrowserHarnessKeyInput): Promise; scroll(input: BrowserHarnessScrollInput): Promise; }; declare const BROWSER_KEYS: readonly [ "Enter", "Tab", "Escape", "Space", "Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Home", "End", "PageUp", "PageDown", "Ctrl+L", "Meta+L", "Ctrl+R", "Meta+R", "Ctrl+A", "Meta+A", "Ctrl+C", "Meta+C", "Ctrl+V", "Meta+V" ]; type BrowserHarnessKey = (typeof BROWSER_KEYS)[number]; type OpenPondDatasetBuilderAction = "start" | "revise" | "answer_questions" | "approve_disclosure" | "materialize" | "cancel" | "status" | "audit_graders" | "calibrate_judges" | "baseline" | "readiness"; type ConnectedAppToolExecutionRequest = ConnectedAppToolCallRequest; type ConnectedAppToolExecutionResult = ConnectedAppToolCallResponse; type ConnectedAppToolExecutor = (request: ConnectedAppToolExecutionRequest, options?: { signal?: AbortSignal; }) => Promise; type ProviderProjectionEvent = { id?: string; name: string; args?: Record; action?: string | null; error?: string | null; output?: string | null; status?: string | null; data?: unknown; turnId?: string | null; }; declare function buildChatMessagesForProvider(events: ProviderProjectionEvent[], prompt: string, systemPrompt: string): HostedChatMessage[]; type CreateImprovePlannerInput = { run: CreateImproveRun; modelRef?: ChatModelRef | null; requestId: string; signal: AbortSignal; }; type CreateImprovePlanner = (input: CreateImprovePlannerInput) => Promise; type LocalCreatePipelineCheckInput = { snapshot: CreateImproveRun; target: LocalCreatePipelineTarget; requireEvalPass?: boolean; }; type LocalCreatePipelineCheckResult = { checkRefs: string[]; metadata?: Record; }; type LocalCreatePipelineTarget = { activeProfile: string; agentId: string; defaultAction: string; repoPath: string; sourcePath: string; workspaceRoot: string; profileRelativePath: string; sourceRoot: string; sourceRootRelativePath: string; }; type HostedToolMode = "auto" | "native" | "text_fallback" | "disabled"; type HostedToolRolloutFlags = { toolMode: HostedToolMode; nativeToolTransport: boolean; resourceTools: boolean; webSearchTool: boolean; dynamicActionTools: boolean; textToolFallback: boolean; nativeToolProviderAllowlist: readonly ChatProvider[] | "*"; nativeToolProviderDenylist: readonly ChatProvider[]; }; declare const EnclaveReplySchema: z.ZodObject<{ requestId: z.ZodString; answer: z.ZodString; threadId: z.ZodString; turnId: z.ZodString; tools: z.ZodArray; }, z.core.$strip>; type EnclaveReply = z.infer; type ReservedSessionCreation = { sessionId: string; operationId: string; payloadHash: string; owner?: DeviceLocalOwner; desktopOperation?: PonderDesktopOperation; remoteStarterSourceSessionId?: string; }; declare function createSessionStore(deps: { store: Pick; defaultSessionCwd: (appId?: string | null) => string; qualifyNativeWorkspace?: (native: NonNullable, cwd: string) => Promise; createManagedLocalWorkCwd?: (sessionId: string) => Promise; loadAppPreferences?: () => Promise; appendRuntimeEvent: (runtimeEvent: RuntimeEvent) => Promise; loadLastUsedProfile?: () => Promise; captureUserOwner?: (payload: unknown) => Promise; }): { createSession: (payload: unknown) => Promise; createUserSession: (payload: unknown) => Promise; createReservedSession: (payload: unknown, reservation: ReservedSessionCreation) => Promise; patchSession: (sessionId: string, payload: unknown) => Promise; getSession: (sessionId: string) => Promise; updateSession: (sessionId: string, patch: Partial) => Promise; completeTurn: (sessionId: string, turnId: string, providerTurnId?: string | null) => Promise; failTurn: (session: Session, turnId: string, message: string) => Promise; interruptTurn: (session: Session, turnId: string, message?: string) => Promise; }; declare function createPonderHostedService(deps: { store: SqliteStore; access: () => Promise; projects?: () => Promise<{ id: string; workspacePath: string; }[]>; notifyCompletion?: (job: HostedPonderJob) => Promise; }): { startMonitoring(): void; close(): Promise; assertCompletionScope: (payload: unknown) => Promise; output: (id: string, outputId: string) => Promise; status: () => Promise; assertSession: (sessionId: string) => Promise; stageInput: (sessionId: string, payload: unknown) => Promise<{ id: string; name: string; contentType: string; sizeBytes: number; }>; configure: (payload: unknown) => Promise<{ enabled: boolean; revision: number; account: HostedPonderBinding | null; available: boolean; reason: string | null; }>; list: (onlyPending?: boolean) => Promise<{ items: PonderHostedAssignment[]; }>; discover: () => Promise<{ connection: PonderHostedSandboxState; models: never[]; catalog?: undefined; } | { connection: PonderHostedSandboxState; catalog: Record; models?: undefined; }>; start: (sessionId: string, payload: unknown) => Promise; detail: (id: string) => Promise; cancel: (id: string) => Promise<{ assignment: PonderHostedAssignment; events: { id: string; sequence: number; type: string; text: string | null; }[]; outputs: { id: string; name: string; mediaType: string | null; byteCount: number | null; previewURL: string | null; downloadURL: string | null; }[]; }>; }; type ChatResourceAction = (context: ModelToolExecutionContext, kind: "dataset" | "experiment", payload: Record) => Promise; type AgentSdkCommand = "inspect" | "build" | "validate" | "eval" | "run" | "traces"; type CandidateAgentCommandInput = { context: ModelToolExecutionContext; command: AgentSdkCommand; args?: string[]; cwd: string; timeoutMs: number; maxOutputBytes: number; }; export type AppServerToolBinding = { name: string; version: string; inputSchema: z.ZodType>; execute(context: ModelToolExecutionContext): Promise>; }; export type AppServerHarnessToolContext = { session: Session; turn: Turn; harness: HarnessRelease | null; declarations: readonly ToolDeclaration[]; signal: AbortSignal; }; /** Deployment authority, never sourced from a prompt, Harness or turn metadata. */ export type AppServerEmbeddingOptions = { allowedTools: readonly string[]; resolveTools?(context: AppServerHarnessToolContext): Promise; /** Called for every admitted tool invocation, including built-ins and follow-up turns. */ authorizeTool(context: ModelToolExecutionContext & { name: string; }): Promise; maxToolOutputBytes?: number; }; export type AppServerServiceOptions = { webSearch?: false | WebSearchExecutor; scheduling?: false | ((input: CreateHostedSavedWorkRequest) => Promise>); connectedApps?: false | { execute: ConnectedAppToolExecutor; list: (input: { teamId?: string; status?: "active" | "revoked" | "error" | "all"; }) => Promise<{ teamId: string | null; connections: ConnectedAppConnectionLike[]; }>; }; tasksets?: false | ((input: { session: Session; turnId: string; callId: string; signal: AbortSignal; provider: ChatProvider; model: string; action: OpenPondDatasetBuilderAction; payload: Record; }) => Promise); projectActions?: false | ((payload: unknown) => Promise); profileActions?: false; backgroundReview?: boolean; }; type AppServerWorkLifecycle = { workInputsForSession?(session: Session): Promise>; finalizeWorkTurn?(input: { session: Session; turnId: string; outcome: "completed" | "failed" | "interrupted"; }): Promise; }; type ResolveAppServerModelTools = (input: AppServerHarnessToolContext & { tools: ModelToolDefinition[]; }) => Promise; type HtmlVisualService = ReturnType; declare function createHtmlVisualService(deps: { home: string; executor: BrowserHarnessToolExecutor; getSession(id: string): Promise; events(id: string): Promise; append(event: RuntimeEvent): Promise; }): { list(sessionId: string): Promise<{ visualId: string; publicationId: string; sessionId: string; turnId: string; output: { id: string; title: string; sourceTaskId: string; sourceTurnId: string; revision: number; createdAt: string; kind: "file"; contentType: string; sizeBytes: number; sha256: string; location: { kind: "local"; path: string; deviceId: string; } | { kind: "managed"; fileId: string; downloadPath: string; } | { kind: "external"; provider: string; resourceId: string; url: string | null; }; validation: { kind: "structural" | "visual" | "test" | "user_review"; status: "failed" | "passed" | "not_run"; label: string; detail?: string | null | undefined; ref?: string | null | undefined; }[]; }; heights: { width: number; height: number; }[]; }[]>; available(): boolean; recover(): Promise; preview(context: { session: Session; turnId: string; callId: string; signal: AbortSignal; }, args: unknown): Promise<{ previewId: `${string}-${string}-${string}-${string}-${string}`; sha256: string; heights: { width: number; height: number; }[]; console: { level: "error" | "log" | "warn"; text: string; }[]; screenshots: string[]; }>; render(context: { session: Session; turnId: string; callId: string; signal: AbortSignal; }, args: unknown): Promise<{ visualId: string; publicationId: string; sessionId: string; turnId: string; output: { id: string; title: string; sourceTaskId: string; sourceTurnId: string; revision: number; createdAt: string; kind: "file"; contentType: string; sizeBytes: number; sha256: string; location: { kind: "local"; path: string; deviceId: string; } | { kind: "managed"; fileId: string; downloadPath: string; } | { kind: "external"; provider: string; resourceId: string; url: string | null; }; validation: { kind: "structural" | "visual" | "test" | "user_review"; status: "failed" | "passed" | "not_run"; label: string; detail?: string | null | undefined; ref?: string | null | undefined; }[]; }; heights: { width: number; height: number; }[]; }>; read(sessionId: string, publicationId: string, kind?: "html" | "png"): Promise<{ reference: { visualId: string; publicationId: string; sessionId: string; turnId: string; output: { id: string; title: string; sourceTaskId: string; sourceTurnId: string; revision: number; createdAt: string; kind: "file"; contentType: string; sizeBytes: number; sha256: string; location: { kind: "local"; path: string; deviceId: string; } | { kind: "managed"; fileId: string; downloadPath: string; } | { kind: "external"; provider: string; resourceId: string; url: string | null; }; validation: { kind: "structural" | "visual" | "test" | "user_review"; status: "failed" | "passed" | "not_run"; label: string; detail?: string | null | undefined; ref?: string | null | undefined; }[]; }; heights: { width: number; height: number; }[]; }; bytes: NonSharedBuffer; }>; removeSession(sessionId: string): Promise; }; type HostedMessages = ReturnType; type HostedToolLoopDelta = { text?: string; reasoningText?: string; continuation?: HostedChatContinuation; toolCalls?: HostedChatToolCall[]; finishReason?: string | null; raw?: unknown; usage?: unknown; }; type CodexTurnInput = Pick & { coordination?: TaskCoordinationBridge; }; type SubagentSandboxForkRequest = { sandboxId: string; payload: Record; parentSession: Session; role: AppPreferences["subagents"]["roles"][number]; runId: string; }; type SubagentSandboxCleanupRequest = { sandboxId: string; run: SubagentRun; }; type TurnRepository = TaskInboxRepository & { latestPonderHistoryRequest?: SqlitePonderHistoryStore["latestPonderHistoryRequest"]; pendingPonderHistorySessions?: SqlitePonderHistoryStore["pendingPonderHistorySessions"]; getPonderHistoryRequest?: SqlitePonderHistoryStore["getPonderHistoryRequest"]; readPonderHistory?: SqlitePonderHistoryStore["readPonderHistory"]; savePonderHistory?: SqlitePonderHistoryStore["savePonderHistory"]; admitPonderHistoryRequest?: SqlitePonderHistoryStore["admitPonderHistoryRequest"]; getPonderDesktopResult?(operationId: string, turnId: string): Promise; sessionShells(): Promise; getTaskset?(id: string): Promise; runtimeEventPageRows?(query: { sessionId: string | null; afterSequence: number; beforeSequence: number | null; limit: number; }): Promise<{ entries: Array<{ sequence: number; event: RuntimeEvent; }>; totalMatchingEvents: number; remainingMatchingEvents: number; }>; runtimeEventsForSession(sessionId: string, query?: { afterSequence?: number | null; names?: readonly RuntimeEvent["name"][]; limit?: number | null; excludeReasoningDeltas?: boolean; }): Promise; persistedRuntimeEventsForSession?(sessionId: string, query?: { afterSequence?: number | null; names?: readonly RuntimeEvent["name"][]; limit?: number | null; excludeReasoningDeltas?: boolean; }): Promise; latestAssistantTextForSession(sessionId: string): Promise; latestTurnForSession(sessionId: string, status?: Turn["status"]): Promise; latestPersistedTurnForSession(sessionId: string, status?: Turn["status"]): Promise; countTurnsForSession(sessionId: string): Promise; hasSubagentParentWakeTurn(sessionId: string, messageId: string): Promise; countSubagentParentWakeTurns(sessionId: string, fromRunId: string): Promise; getTurn(turnId: string): Promise; insertTurn(turn: Turn): Promise; updateTurn(turnId: string, updater: (turn: Turn) => Turn): Promise; getCreateImproveRun(runId: string): Promise; listCreateImproveRuns(query?: { profileId?: string | null; conversationId?: string | null; targetKind?: CreateImproveRun["target"]["kind"] | null; targetId?: string | null; state?: CreateImproveRun["state"] | readonly CreateImproveRun["state"][] | null; limit?: number; }): Promise; upsertCreateImproveRun(run: CreateImproveRun): Promise; mutateCreateImproveRun(action: CreateImproveRunAction, updater: (run: CreateImproveRun) => CreateImproveRun): Promise<{ run: CreateImproveRun; replayed: boolean; }>; getApproval(approvalId: string): Promise; upsertModelUsageRecord?(record: ModelUsageRecord): Promise; listModelUsageRecords?(query?: { sessionId?: string | null; turnId?: string | null; provider?: ModelUsageRecord["provider"] | null; model?: string | null; startedAtFrom?: string | null; startedAtTo?: string | null; visibility?: ModelUsageRecord["visibility"] | "all" | null; status?: ModelUsageRecord["status"] | "missing" | "all" | null; limit?: number; }): Promise; upsertSubagentRun?(run: SubagentRun): Promise; upsertPersistedSubagentRun?(run: SubagentRun): Promise; getSubagentRun?(runId: string): Promise; getPersistedSubagentRun?(runId: string): Promise; listSubagentRuns?(query?: SubagentRunQuery): Promise; listActiveSubagentRuns?(query?: SubagentRunQuery): Promise; listStaleSubagentRuns?(query: SubagentRunQuery & { olderThanMs: number; nowIso?: string | null; }): Promise; appendSubagentMessage?(message: SubagentMessage): Promise; listSubagentMessages?(query?: { fromRunId?: string | null; toRunId?: string | null; toRole?: string | null; limit?: number; }): Promise; }; type SubagentRunQuery = { parentSessionId?: string | null; childSessionId?: string | null; status?: SubagentRun["status"] | readonly SubagentRun["status"][] | null; limit?: number; }; type TurnEventSink = { appendRuntimeEvent(runtimeEvent: RuntimeEvent): Promise; appendAssistantText(session: Session, turnId: string, text: string, providerRequestId?: string): Promise; appendHostedContextUsage(input: { session: Session; turnId: string; provider: ChatProvider; model: string; messages: HostedMessages; maxContextTokens?: number | null; usage?: unknown; includeCompletion?: boolean; }): Promise; }; type SessionWorkspaceResolver = { defaultSessionCwd(appId?: string | null): string; findOpenPondApp(appId: string): Promise; resolveSessionWorkspaceCwd(session: Pick, options?: { ensureOpenPond?: boolean; }): Promise; maybeCreateScaffoldForTurn(session: Session, turnId: string, prompt: string): Promise; workspaceDiffBaseline(session: Session): Promise; appendWorkspaceDiffEvent(session: Session, turnId: string, options?: { baseline?: WorkspaceDiffSummary | null; }): Promise; }; type ProviderRuntime = { getPonderHistoryCredential?: (providerId: ChatProvider) => Promise; ensureCodexRuntime(session: Session, turnInput: CodexTurnInput): Promise; streamLocalByokChatTurn?: (input: { providerId: ChatProvider; modelId?: string | null; messages: HostedMessages; tools?: HostedChatTool[]; toolChoice?: HostedChatToolChoice; maxOutputTokens?: number; requestId: string; promptCacheKey?: string; expectedPonderHistoryCredential?: string; reasoningEffort?: CodexReasoningEffort; signal: AbortSignal; }) => AsyncGenerator; streamOpenPondHostedChatTurn?: typeof streamOpenPondHostedChatTurn; }; type WorkspaceToolExecutorPort = { executeWorkspaceTool(sessionId: string, payload: unknown, options?: { turnId?: string; workspaceDiffBaseline?: WorkspaceDiffSummary | null; }): Promise; }; type SubagentWorkspacePort = { forkSandboxForSubagent?(input: SubagentSandboxForkRequest): Promise; cleanupSandboxForSubagent?(input: SubagentSandboxCleanupRequest): Promise; }; type TurnRunnerDependencies = { isRemoteAgentModel?: (providerId: string, modelId: string) => Promise; enclaveChat?: (modelId: string, prompt: string, signal: AbortSignal) => Promise; attachmentRootDir: string; store: TurnRepository; inboxStore?: TaskInboxRepository; resolveCreateImproveTaskset?: (tasksetId: string, revision: number, contentHash: string) => Promise; gradeCreateImproveTaskAttempt?: (input: { tasksetId: string; taskId: string; attempt: TaskAttemptResult; }) => Promise; upsertApproval: (approval: Approval) => Promise; createSession?: (payload: unknown) => Promise; createReservedSession?: ReturnType["createReservedSession"]; localPonderProjects?: () => Promise>; localPonderHosted?: ReturnType; localPonderProviderSettings?: () => Promise; getSession: (sessionId: string) => Promise; updateSession: (sessionId: string, patch: Partial) => Promise; completeTurn: (sessionId: string, turnId: string, providerTurnId?: string | null) => Promise; failTurn: (session: Session, turnId: string, message: string) => Promise; interruptTurn: (session: Session, turnId: string, message?: string) => Promise; defaultSessionCwd: SessionWorkspaceResolver["defaultSessionCwd"]; findOpenPondApp: SessionWorkspaceResolver["findOpenPondApp"]; resolveSessionWorkspaceCwd: SessionWorkspaceResolver["resolveSessionWorkspaceCwd"]; ensureCodexRuntime: ProviderRuntime["ensureCodexRuntime"]; flushCodexRuntimeEvents?: (sessionId: string) => Promise; stopCodexRuntime?: (sessionId: string) => Promise; appendWorkspaceDiffEvent: SessionWorkspaceResolver["appendWorkspaceDiffEvent"]; workspaceDiffBaseline: SessionWorkspaceResolver["workspaceDiffBaseline"]; appendRuntimeEvent: TurnEventSink["appendRuntimeEvent"]; processHarnessImprovementBoundary?: (input: { session: Session; turn: Turn; boundaryKind: ImprovementSafeBoundaryKind; }) => Promise; executeWorkspaceTool: WorkspaceToolExecutorPort["executeWorkspaceTool"]; forkSandboxForSubagent?: SubagentWorkspacePort["forkSandboxForSubagent"]; cleanupSandboxForSubagent?: SubagentWorkspacePort["cleanupSandboxForSubagent"]; finalizeWorkTurn?: (input: { session: Session; turnId: string; outcome: "completed" | "failed" | "interrupted"; }) => Promise; workInputsForSession?: (session: Session) => Promise>; executeOpenPondCommand?: (input: OpenPondCommandExecutionInput) => Promise; executeProfileAction?: (payload: unknown) => Promise; executeProjectAction?: (payload: unknown) => Promise; executeChatResourceAction?: ChatResourceAction; executeDatasetBuilderAction?: (input: { session: Session; turnId: string; callId: string; signal: AbortSignal; provider: ChatProvider; model: string; action: OpenPondDatasetBuilderAction; payload: Record; }) => Promise; loadOpenPondProfileState?: () => Promise; loadOpenPondProfileStateForRef?: (ref: OpenPondProfileRef | null | undefined) => Promise; /** Durable admission checks owner, session, turn and isolated candidate state on every call. */ resolveCandidateProfile?: (context: ModelToolExecutionContext) => Promise; executeCandidateAgentCommand?: (input: CandidateAgentCommandInput) => ReturnType; candidateAuthoringForTurn?: (sessionId: string, turnId: string) => Promise; authorizeCandidateTool?: (input: { sessionId: string; turnId: string; name: string; }) => Promise; executeCandidateImage?: ModelToolDefinition["execute"]; executeCandidateCommand?: NonNullable[0]["executeCandidateCommand"]>; loadOpenPondProfileLibrary?: () => Promise; readOpenPondProfileSkill?: (input: { profileSourcePath: string; name: string; }) => Promise; loadSelectedHarnessRuntime?: (session: Session) => Promise<{ workspace: HarnessWorkspace; release: { harnessRelease: HarnessRelease; agentSnapshot?: AgentSnapshot; bundlePath?: string; }; instructionContext: string; skillRuntime: ProfileSkillRuntime; workflow?: ProfileWorkflow; workflowAction?: ProfileWorkflowAction; } | null>; ensureHarnessRunOverlay?: (input: { runId: string; workspace: HarnessWorkspace; harnessRelease: ImmutableReleaseRef; admittedAt: string; }) => Promise; isolatedProfileEvaluationForTurn?: (session: Session, turn: Turn) => Promise; executeProfileEvaluationAction?: (input: { session: Session; turn: Turn; action: ProfileWorkflowAction; value: unknown; signal: AbortSignal; }) => Promise<{ output: string; agentSourcePath: string; runPath: string; }>; /** Set by trusted runtime composition, never by a session or turn payload. */ executionHost?: "local" | "embedded"; resolveModelTools?: ResolveAppServerModelTools; harnessModelTools?: ModelToolDefinition[]; loadBuiltInOpenPondSkills?: () => Promise; readBuiltInOpenPondSkill?: (name: string) => Promise; loadOpenPondExtensionCatalog?: () => Promise; readOpenPondExtensionSkill?: (name: string) => Promise; executeProfileSkillCommand?: (input: { prompt: string; profileRef: OpenPondProfileRef | null; }) => Promise; executeWebSearch?: WebSearchExecutor; createScheduledWork?: (input: CreateHostedSavedWorkRequest) => Promise>; executeConnectedAppTool?: ConnectedAppToolExecutor; browserToolExecutor?: BrowserHarnessToolExecutor; htmlVisuals?: HtmlVisualService; manageSidebarFile?: (input: { session: Session; action: "pin" | "save_for_later" | "remove" | "list"; path?: string | null; }) => Promise<{ items: SidebarFileBookmark[]; changed: SidebarFileBookmark | null; nextStep: string; }>; listIntegrationConnections?: (input: { teamId?: string; status?: "active" | "revoked" | "error" | "all"; }) => Promise<{ teamId: string | null; connections: ConnectedAppConnectionLike[]; }>; loadPersonalizationSoul: () => Promise; storageHome?: string; loadAppPreferences?: () => Promise; loadProviderSettings?: () => Promise; maybeCreateScaffoldForTurn: SessionWorkspaceResolver["maybeCreateScaffoldForTurn"]; hostedSystemPrompt: (basePrompt: string, personalizationSoul: string, session: Session, options?: { mentionedApps?: OpenPondApp[]; openPondActionCatalog?: OpenPondActionCatalogEntry[]; openPondProfileSkills?: OpenPondProfileSkill[]; loadedProfileSkills?: HostedProfileSkillBody[]; connectedApps?: ResolvedConnectedAppContext[]; toolInstructionMode?: HostedToolInstructionMode; actionCatalogInstructionMode?: "text_fallback" | "native_tool" | "none"; profileSkillInstructionMode?: ProfileSkillInstructionMode; browserControlAvailable?: boolean; userInstructionContext?: string; repositoryInstructionSnapshot?: RepositoryInstructionResolution | null; extraSystemContext?: string | null; }) => Promise; appendAssistantText: TurnEventSink["appendAssistantText"]; appendHostedContextUsage: TurnEventSink["appendHostedContextUsage"]; getPonderHistoryCredential?: ProviderRuntime["getPonderHistoryCredential"]; streamLocalByokChatTurn?: ProviderRuntime["streamLocalByokChatTurn"]; streamOpenPondHostedChatTurn?: ProviderRuntime["streamOpenPondHostedChatTurn"]; /** A trusted execution owner can bind a fresh evaluation session to its * durable admission and budget. This is never a renderer request field. */ resolveSessionModelStream?: (session: Session, turn: Turn) => Promise | null>; runLocalCreatePipelineChecks?: (input: LocalCreatePipelineCheckInput) => Promise; planCreateImprove?: CreateImprovePlanner; turnFollowUpQueue: BackgroundWorkerQueue; subagentQueue?: BackgroundWorkerQueue; notifySubagentRunStateChanged?: (run: SubagentRun) => void; maxHostedWorkspaceToolRounds: number; maxRepeatedInvalidToolRequests: number; hostedToolFlags?: Partial; }; declare const AdmittedHostedProfileReleaseSchema: z.ZodObject<{ profileId: z.ZodString; sourceRevision: z.ZodString; repositoryId: z.ZodString; harnessRelease: z.ZodObject<{ id: z.ZodString; contentHash: z.ZodString; }, z.core.$strict>; hostExecution: z.ZodOptional>; workspaceId: z.ZodString; assetsPath: z.ZodString; }, z.core.$strict>; type AdmittedHostedProfileRelease = z.infer; type AppServerRuntimeCoreStorage = TurnRunnerDependencies["store"] & Pick; export type OpenPondAppServerOptions = { /** Dedicated host-admitted case runtime; credentials/spend remain at its owner. */ experimentPolicyClient?: AgentHostStorageClient; /** Trusted host-provisioned published closure; never a caller permission grant. */ experimentHarnessSource?: { ownerId: string; sourcePackage: HarnessSourcePackage; }; hostStorageClient?: AgentHostStorageClient; /** Select all mutable runtime domains together after host capability negotiation. */ runtimeStorage?: { kind: "hosted_postgres"; client: AgentHostStorageClient; core: AppServerRuntimeCoreStorage; inbox: TaskInboxRepository; admittedProfileRelease?: AdmittedHostedProfileRelease; }; storeDir?: string; workspaceDir?: string; version?: string; maxHostedWorkspaceToolRounds?: number; streamOpenPondHostedChatTurn?: typeof streamOpenPondHostedChatTurn; /** Transport-owned tools/policy composed after the harness resolves its tools. */ resolveModelTools?: ResolveAppServerModelTools; /** Internal native Experiment authority, bound before session admission. */ resolveSessionModelStream?: (session: Session, turn: Turn) => Promise; sandboxRequest?: AppServerSandboxRequest; /** Trusted source directory containing harness.json and declared assets. Immutable per workspace ID. */ harness?: { sourceDirectory: string; workspaceId: string; name: string; }; /** Authorized Profile repository bytes and accepted revision supplied by the embedding host. */ profileExternalDataset?: HostProfileExternalDataset; profileExternalDatasetClient?: AgentHostStorageClient; profileSource?: { repoPath: string; repositoryId: string; profileId: string; sourceRevision: string; }; /** Explicit embedding enables native-only, allowlisted tools and disables hosted services by default. */ embedding?: AppServerEmbeddingOptions; services?: AppServerServiceOptions; workInputsForSession?: AppServerWorkLifecycle["workInputsForSession"]; finalizeWorkTurn?: AppServerWorkLifecycle["finalizeWorkTurn"]; }; export type OpenPondAppServerInstance = AppServerInstance & { updateSession(id: string, patch: Partial): Promise; pinSessionHarness(id: string): Promise<{ id: string; contentHash: string; } | null>; storePath: string; workspaceDir: string; composition: readonly AppServerCompositionService[]; }; type AppServerCompositionService = "sqlite_store" | "runtime_event_bus" | "session_store" | "hosted_provider" | "web_search" | "connected_apps" | "workspace_tools" | "command_approvals" | "harness" | "refiner" | "agent_runtime" | "jsonl_transport"; export declare function createOpenPondAppServer(options?: OpenPondAppServerOptions): Promise; export {};