@openpond/evals 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/CONTRACT.md +14 -0
  2. package/README.md +6 -1
  3. package/dist/artifact-verification.js +172 -0
  4. package/dist/builtin-benchmarks/harness-refiner.js +469 -24
  5. package/dist/execution-contracts.js +153 -0
  6. package/dist/execution-receipts.js +185 -0
  7. package/dist/graders.js +8 -2
  8. package/dist/index.js +5 -0
  9. package/dist/preferences.js +737 -0
  10. package/dist/rollouts.js +241 -0
  11. package/dist/tasksets.js +24 -0
  12. package/dist/types/artifact-verification.d.ts +31 -0
  13. package/dist/types/artifact-verification.d.ts.map +1 -0
  14. package/dist/types/builtin-benchmarks/harness-refiner.d.ts +22 -0
  15. package/dist/types/builtin-benchmarks/harness-refiner.d.ts.map +1 -1
  16. package/dist/types/conformance.d.ts +44 -0
  17. package/dist/types/conformance.d.ts.map +1 -1
  18. package/dist/types/evidence/conformance.d.ts +24 -24
  19. package/dist/types/evidence/contracts.d.ts +42 -42
  20. package/dist/types/execution-contracts.d.ts +806 -0
  21. package/dist/types/execution-contracts.d.ts.map +1 -0
  22. package/dist/types/execution-receipts.d.ts +55 -0
  23. package/dist/types/execution-receipts.d.ts.map +1 -0
  24. package/dist/types/graders.d.ts.map +1 -1
  25. package/dist/types/index.d.ts +5 -0
  26. package/dist/types/index.d.ts.map +1 -1
  27. package/dist/types/preferences.d.ts +535 -0
  28. package/dist/types/preferences.d.ts.map +1 -0
  29. package/dist/types/review-conformance.d.ts +20 -15
  30. package/dist/types/review-conformance.d.ts.map +1 -1
  31. package/dist/types/rollouts.d.ts +221 -0
  32. package/dist/types/rollouts.d.ts.map +1 -0
  33. package/dist/types/tasksets.d.ts +89 -0
  34. package/dist/types/tasksets.d.ts.map +1 -1
  35. package/package.json +9 -1
@@ -0,0 +1,806 @@
1
+ import { z } from "zod";
2
+ export declare const ScoringStatusSchema: z.ZodEnum<{
3
+ scored: "scored";
4
+ unscorable: "unscorable";
5
+ }>;
6
+ export declare const FailureOwnerSchema: z.ZodEnum<{
7
+ policy: "policy";
8
+ verifier: "verifier";
9
+ environment: "environment";
10
+ collector: "collector";
11
+ provider: "provider";
12
+ host: "host";
13
+ user: "user";
14
+ scheduler: "scheduler";
15
+ }>;
16
+ export declare const AttemptOutcomeClassSchema: z.ZodEnum<{
17
+ completed: "completed";
18
+ policy_failure: "policy_failure";
19
+ incomplete_output: "incomplete_output";
20
+ task_deadline: "task_deadline";
21
+ environment_failure: "environment_failure";
22
+ collector_failure: "collector_failure";
23
+ verifier_failure: "verifier_failure";
24
+ provider_failure: "provider_failure";
25
+ host_failure: "host_failure";
26
+ infrastructure_timeout: "infrastructure_timeout";
27
+ cancelled: "cancelled";
28
+ }>;
29
+ export declare const EnvironmentReleaseContentSchema: z.ZodObject<{
30
+ schemaVersion: z.ZodLiteral<"openpond.environmentRelease.v1">;
31
+ id: z.ZodString;
32
+ revision: z.ZodNumber;
33
+ contract: z.ZodObject<{
34
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
35
+ kind: z.ZodEnum<{
36
+ text: "text";
37
+ agent: "agent";
38
+ work: "work";
39
+ custom_program: "custom_program";
40
+ }>;
41
+ entrypoint: z.ZodString;
42
+ stateful: z.ZodBoolean;
43
+ deterministicSeeds: z.ZodBoolean;
44
+ lifecycle: z.ZodArray<z.ZodEnum<{
45
+ create: "create";
46
+ reset: "reset";
47
+ step: "step";
48
+ collect: "collect";
49
+ destroy: "destroy";
50
+ }>>;
51
+ networkPolicy: z.ZodEnum<{
52
+ none: "none";
53
+ declared_read_only: "declared_read_only";
54
+ declared_scoped: "declared_scoped";
55
+ }>;
56
+ defaultTimeoutMs: z.ZodNumber;
57
+ }, z.core.$strict>;
58
+ actionSchemaRef: z.ZodNullable<z.ZodObject<{
59
+ id: z.ZodString;
60
+ path: z.ZodString;
61
+ contentHash: z.ZodString;
62
+ sizeBytes: z.ZodNumber;
63
+ mediaType: z.ZodString;
64
+ visibility: z.ZodEnum<{
65
+ policy: "policy";
66
+ verifier: "verifier";
67
+ host_private: "host_private";
68
+ }>;
69
+ }, z.core.$strict>>;
70
+ observationSchemaRef: z.ZodNullable<z.ZodObject<{
71
+ id: z.ZodString;
72
+ path: z.ZodString;
73
+ contentHash: z.ZodString;
74
+ sizeBytes: z.ZodNumber;
75
+ mediaType: z.ZodString;
76
+ visibility: z.ZodEnum<{
77
+ policy: "policy";
78
+ verifier: "verifier";
79
+ host_private: "host_private";
80
+ }>;
81
+ }, z.core.$strict>>;
82
+ stateSchemaRef: z.ZodNullable<z.ZodObject<{
83
+ id: z.ZodString;
84
+ path: z.ZodString;
85
+ contentHash: z.ZodString;
86
+ sizeBytes: z.ZodNumber;
87
+ mediaType: z.ZodString;
88
+ visibility: z.ZodEnum<{
89
+ policy: "policy";
90
+ verifier: "verifier";
91
+ host_private: "host_private";
92
+ }>;
93
+ }, z.core.$strict>>;
94
+ artifactCollection: z.ZodObject<{
95
+ maxArtifacts: z.ZodNumber;
96
+ maxTotalBytes: z.ZodNumber;
97
+ }, z.core.$strict>;
98
+ adapterConformanceHashes: z.ZodRecord<z.ZodString, z.ZodString>;
99
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
100
+ }, z.core.$strict>;
101
+ export declare const EnvironmentReleaseSchema: z.ZodObject<{
102
+ schemaVersion: z.ZodLiteral<"openpond.environmentRelease.v1">;
103
+ id: z.ZodString;
104
+ revision: z.ZodNumber;
105
+ contract: z.ZodObject<{
106
+ protocolVersion: z.ZodLiteral<"openpond.environment.v1">;
107
+ kind: z.ZodEnum<{
108
+ text: "text";
109
+ agent: "agent";
110
+ work: "work";
111
+ custom_program: "custom_program";
112
+ }>;
113
+ entrypoint: z.ZodString;
114
+ stateful: z.ZodBoolean;
115
+ deterministicSeeds: z.ZodBoolean;
116
+ lifecycle: z.ZodArray<z.ZodEnum<{
117
+ create: "create";
118
+ reset: "reset";
119
+ step: "step";
120
+ collect: "collect";
121
+ destroy: "destroy";
122
+ }>>;
123
+ networkPolicy: z.ZodEnum<{
124
+ none: "none";
125
+ declared_read_only: "declared_read_only";
126
+ declared_scoped: "declared_scoped";
127
+ }>;
128
+ defaultTimeoutMs: z.ZodNumber;
129
+ }, z.core.$strict>;
130
+ actionSchemaRef: z.ZodNullable<z.ZodObject<{
131
+ id: z.ZodString;
132
+ path: z.ZodString;
133
+ contentHash: z.ZodString;
134
+ sizeBytes: z.ZodNumber;
135
+ mediaType: z.ZodString;
136
+ visibility: z.ZodEnum<{
137
+ policy: "policy";
138
+ verifier: "verifier";
139
+ host_private: "host_private";
140
+ }>;
141
+ }, z.core.$strict>>;
142
+ observationSchemaRef: z.ZodNullable<z.ZodObject<{
143
+ id: z.ZodString;
144
+ path: z.ZodString;
145
+ contentHash: z.ZodString;
146
+ sizeBytes: z.ZodNumber;
147
+ mediaType: z.ZodString;
148
+ visibility: z.ZodEnum<{
149
+ policy: "policy";
150
+ verifier: "verifier";
151
+ host_private: "host_private";
152
+ }>;
153
+ }, z.core.$strict>>;
154
+ stateSchemaRef: z.ZodNullable<z.ZodObject<{
155
+ id: z.ZodString;
156
+ path: z.ZodString;
157
+ contentHash: z.ZodString;
158
+ sizeBytes: z.ZodNumber;
159
+ mediaType: z.ZodString;
160
+ visibility: z.ZodEnum<{
161
+ policy: "policy";
162
+ verifier: "verifier";
163
+ host_private: "host_private";
164
+ }>;
165
+ }, z.core.$strict>>;
166
+ artifactCollection: z.ZodObject<{
167
+ maxArtifacts: z.ZodNumber;
168
+ maxTotalBytes: z.ZodNumber;
169
+ }, z.core.$strict>;
170
+ adapterConformanceHashes: z.ZodRecord<z.ZodString, z.ZodString>;
171
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
172
+ contentHash: z.ZodString;
173
+ }, z.core.$strict>;
174
+ export declare const ArtifactCollectionStatusSchema: z.ZodEnum<{
175
+ failed: "failed";
176
+ collected: "collected";
177
+ missing: "missing";
178
+ skipped: "skipped";
179
+ }>;
180
+ export declare const ArtifactValidationStatusSchema: z.ZodEnum<{
181
+ passed: "passed";
182
+ failed: "failed";
183
+ not_requested: "not_requested";
184
+ }>;
185
+ export declare const ArtifactManifestEntrySchema: z.ZodObject<{
186
+ requiredOutputPath: z.ZodNullable<z.ZodString>;
187
+ collectedPath: z.ZodNullable<z.ZodString>;
188
+ declaredMediaType: z.ZodNullable<z.ZodString>;
189
+ detectedMediaType: z.ZodNullable<z.ZodString>;
190
+ artifact: z.ZodNullable<z.ZodObject<{
191
+ id: z.ZodString;
192
+ contentHash: z.ZodString;
193
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
194
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
195
+ }, z.core.$strict>>;
196
+ status: z.ZodEnum<{
197
+ failed: "failed";
198
+ collected: "collected";
199
+ missing: "missing";
200
+ skipped: "skipped";
201
+ }>;
202
+ parseStatus: z.ZodEnum<{
203
+ passed: "passed";
204
+ failed: "failed";
205
+ not_requested: "not_requested";
206
+ }>;
207
+ schemaStatus: z.ZodEnum<{
208
+ passed: "passed";
209
+ failed: "failed";
210
+ not_requested: "not_requested";
211
+ }>;
212
+ errorCode: z.ZodNullable<z.ZodString>;
213
+ failureOwner: z.ZodNullable<z.ZodEnum<{
214
+ policy: "policy";
215
+ verifier: "verifier";
216
+ environment: "environment";
217
+ collector: "collector";
218
+ provider: "provider";
219
+ host: "host";
220
+ user: "user";
221
+ scheduler: "scheduler";
222
+ }>>;
223
+ evidenceRefs: z.ZodArray<z.ZodObject<{
224
+ id: z.ZodString;
225
+ contentHash: z.ZodString;
226
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
227
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
228
+ }, z.core.$strict>>;
229
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
230
+ }, z.core.$strict>;
231
+ export declare const ArtifactManifestContentSchema: z.ZodObject<{
232
+ schemaVersion: z.ZodLiteral<"openpond.artifactManifest.v1">;
233
+ id: z.ZodString;
234
+ attemptRef: z.ZodObject<{
235
+ id: z.ZodString;
236
+ contentHash: z.ZodString;
237
+ }, z.core.$strict>;
238
+ entries: z.ZodArray<z.ZodObject<{
239
+ requiredOutputPath: z.ZodNullable<z.ZodString>;
240
+ collectedPath: z.ZodNullable<z.ZodString>;
241
+ declaredMediaType: z.ZodNullable<z.ZodString>;
242
+ detectedMediaType: z.ZodNullable<z.ZodString>;
243
+ artifact: z.ZodNullable<z.ZodObject<{
244
+ id: z.ZodString;
245
+ contentHash: z.ZodString;
246
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
247
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
248
+ }, z.core.$strict>>;
249
+ status: z.ZodEnum<{
250
+ failed: "failed";
251
+ collected: "collected";
252
+ missing: "missing";
253
+ skipped: "skipped";
254
+ }>;
255
+ parseStatus: z.ZodEnum<{
256
+ passed: "passed";
257
+ failed: "failed";
258
+ not_requested: "not_requested";
259
+ }>;
260
+ schemaStatus: z.ZodEnum<{
261
+ passed: "passed";
262
+ failed: "failed";
263
+ not_requested: "not_requested";
264
+ }>;
265
+ errorCode: z.ZodNullable<z.ZodString>;
266
+ failureOwner: z.ZodNullable<z.ZodEnum<{
267
+ policy: "policy";
268
+ verifier: "verifier";
269
+ environment: "environment";
270
+ collector: "collector";
271
+ provider: "provider";
272
+ host: "host";
273
+ user: "user";
274
+ scheduler: "scheduler";
275
+ }>>;
276
+ evidenceRefs: z.ZodArray<z.ZodObject<{
277
+ id: z.ZodString;
278
+ contentHash: z.ZodString;
279
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
280
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
281
+ }, z.core.$strict>>;
282
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
283
+ }, z.core.$strict>>;
284
+ createdAt: z.ZodString;
285
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
286
+ }, z.core.$strict>;
287
+ export declare const ArtifactManifestSchema: z.ZodObject<{
288
+ schemaVersion: z.ZodLiteral<"openpond.artifactManifest.v1">;
289
+ id: z.ZodString;
290
+ attemptRef: z.ZodObject<{
291
+ id: z.ZodString;
292
+ contentHash: z.ZodString;
293
+ }, z.core.$strict>;
294
+ entries: z.ZodArray<z.ZodObject<{
295
+ requiredOutputPath: z.ZodNullable<z.ZodString>;
296
+ collectedPath: z.ZodNullable<z.ZodString>;
297
+ declaredMediaType: z.ZodNullable<z.ZodString>;
298
+ detectedMediaType: z.ZodNullable<z.ZodString>;
299
+ artifact: z.ZodNullable<z.ZodObject<{
300
+ id: z.ZodString;
301
+ contentHash: z.ZodString;
302
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
303
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
304
+ }, z.core.$strict>>;
305
+ status: z.ZodEnum<{
306
+ failed: "failed";
307
+ collected: "collected";
308
+ missing: "missing";
309
+ skipped: "skipped";
310
+ }>;
311
+ parseStatus: z.ZodEnum<{
312
+ passed: "passed";
313
+ failed: "failed";
314
+ not_requested: "not_requested";
315
+ }>;
316
+ schemaStatus: z.ZodEnum<{
317
+ passed: "passed";
318
+ failed: "failed";
319
+ not_requested: "not_requested";
320
+ }>;
321
+ errorCode: z.ZodNullable<z.ZodString>;
322
+ failureOwner: z.ZodNullable<z.ZodEnum<{
323
+ policy: "policy";
324
+ verifier: "verifier";
325
+ environment: "environment";
326
+ collector: "collector";
327
+ provider: "provider";
328
+ host: "host";
329
+ user: "user";
330
+ scheduler: "scheduler";
331
+ }>>;
332
+ evidenceRefs: z.ZodArray<z.ZodObject<{
333
+ id: z.ZodString;
334
+ contentHash: z.ZodString;
335
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
336
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
337
+ }, z.core.$strict>>;
338
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
339
+ }, z.core.$strict>>;
340
+ createdAt: z.ZodString;
341
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
342
+ contentHash: z.ZodString;
343
+ }, z.core.$strict>;
344
+ export declare const VerifierSetReleaseContentSchema: z.ZodObject<{
345
+ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">;
346
+ id: z.ZodString;
347
+ revision: z.ZodNumber;
348
+ graders: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
349
+ id: z.ZodString;
350
+ version: z.ZodString;
351
+ weight: z.ZodDefault<z.ZodNumber>;
352
+ hardGate: z.ZodDefault<z.ZodBoolean>;
353
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
354
+ privileged: z.ZodDefault<z.ZodBoolean>;
355
+ kind: z.ZodEnum<{
356
+ content: "content";
357
+ schema: "schema";
358
+ artifact: "artifact";
359
+ runtime_event: "runtime_event";
360
+ state: "state";
361
+ }>;
362
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
363
+ }, z.core.$strict>, z.ZodObject<{
364
+ id: z.ZodString;
365
+ version: z.ZodString;
366
+ weight: z.ZodDefault<z.ZodNumber>;
367
+ hardGate: z.ZodDefault<z.ZodBoolean>;
368
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
369
+ privileged: z.ZodDefault<z.ZodBoolean>;
370
+ kind: z.ZodLiteral<"model_judge">;
371
+ rubricRef: z.ZodObject<{
372
+ id: z.ZodString;
373
+ path: z.ZodString;
374
+ contentHash: z.ZodString;
375
+ sizeBytes: z.ZodNumber;
376
+ mediaType: z.ZodString;
377
+ visibility: z.ZodEnum<{
378
+ policy: "policy";
379
+ verifier: "verifier";
380
+ host_private: "host_private";
381
+ }>;
382
+ }, z.core.$strict>;
383
+ calibrationStatus: z.ZodEnum<{
384
+ pending: "pending";
385
+ passed: "passed";
386
+ failed: "failed";
387
+ }>;
388
+ }, z.core.$strict>, z.ZodObject<{
389
+ id: z.ZodString;
390
+ version: z.ZodString;
391
+ weight: z.ZodDefault<z.ZodNumber>;
392
+ hardGate: z.ZodDefault<z.ZodBoolean>;
393
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
394
+ privileged: z.ZodDefault<z.ZodBoolean>;
395
+ kind: z.ZodLiteral<"custom_verifier">;
396
+ verifierRef: z.ZodObject<{
397
+ id: z.ZodString;
398
+ path: z.ZodString;
399
+ contentHash: z.ZodString;
400
+ sizeBytes: z.ZodNumber;
401
+ mediaType: z.ZodString;
402
+ visibility: z.ZodEnum<{
403
+ policy: "policy";
404
+ verifier: "verifier";
405
+ host_private: "host_private";
406
+ }>;
407
+ }, z.core.$strict>;
408
+ timeoutMs: z.ZodNumber;
409
+ networkPolicy: z.ZodLiteral<"none">;
410
+ }, z.core.$strict>, z.ZodObject<{
411
+ id: z.ZodString;
412
+ version: z.ZodString;
413
+ weight: z.ZodDefault<z.ZodNumber>;
414
+ hardGate: z.ZodDefault<z.ZodBoolean>;
415
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
416
+ privileged: z.ZodDefault<z.ZodBoolean>;
417
+ kind: z.ZodLiteral<"human">;
418
+ rubricRef: z.ZodObject<{
419
+ id: z.ZodString;
420
+ path: z.ZodString;
421
+ contentHash: z.ZodString;
422
+ sizeBytes: z.ZodNumber;
423
+ mediaType: z.ZodString;
424
+ visibility: z.ZodEnum<{
425
+ policy: "policy";
426
+ verifier: "verifier";
427
+ host_private: "host_private";
428
+ }>;
429
+ }, z.core.$strict>;
430
+ reviewerRole: z.ZodString;
431
+ }, z.core.$strict>]>>;
432
+ isolation: z.ZodObject<{
433
+ processBoundary: z.ZodEnum<{
434
+ same_process: "same_process";
435
+ isolated_process: "isolated_process";
436
+ container: "container";
437
+ }>;
438
+ networkPolicy: z.ZodLiteral<"none">;
439
+ defaultTimeoutMs: z.ZodNumber;
440
+ }, z.core.$strict>;
441
+ calibrationReceiptRefs: z.ZodArray<z.ZodObject<{
442
+ id: z.ZodString;
443
+ contentHash: z.ZodString;
444
+ }, z.core.$strict>>;
445
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
446
+ }, z.core.$strict>;
447
+ export declare const VerifierSetReleaseSchema: z.ZodObject<{
448
+ schemaVersion: z.ZodLiteral<"openpond.verifierSetRelease.v1">;
449
+ id: z.ZodString;
450
+ revision: z.ZodNumber;
451
+ graders: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
452
+ id: z.ZodString;
453
+ version: z.ZodString;
454
+ weight: z.ZodDefault<z.ZodNumber>;
455
+ hardGate: z.ZodDefault<z.ZodBoolean>;
456
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
457
+ privileged: z.ZodDefault<z.ZodBoolean>;
458
+ kind: z.ZodEnum<{
459
+ content: "content";
460
+ schema: "schema";
461
+ artifact: "artifact";
462
+ runtime_event: "runtime_event";
463
+ state: "state";
464
+ }>;
465
+ config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
466
+ }, z.core.$strict>, z.ZodObject<{
467
+ id: z.ZodString;
468
+ version: z.ZodString;
469
+ weight: z.ZodDefault<z.ZodNumber>;
470
+ hardGate: z.ZodDefault<z.ZodBoolean>;
471
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
472
+ privileged: z.ZodDefault<z.ZodBoolean>;
473
+ kind: z.ZodLiteral<"model_judge">;
474
+ rubricRef: z.ZodObject<{
475
+ id: z.ZodString;
476
+ path: z.ZodString;
477
+ contentHash: z.ZodString;
478
+ sizeBytes: z.ZodNumber;
479
+ mediaType: z.ZodString;
480
+ visibility: z.ZodEnum<{
481
+ policy: "policy";
482
+ verifier: "verifier";
483
+ host_private: "host_private";
484
+ }>;
485
+ }, z.core.$strict>;
486
+ calibrationStatus: z.ZodEnum<{
487
+ pending: "pending";
488
+ passed: "passed";
489
+ failed: "failed";
490
+ }>;
491
+ }, z.core.$strict>, z.ZodObject<{
492
+ id: z.ZodString;
493
+ version: z.ZodString;
494
+ weight: z.ZodDefault<z.ZodNumber>;
495
+ hardGate: z.ZodDefault<z.ZodBoolean>;
496
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
497
+ privileged: z.ZodDefault<z.ZodBoolean>;
498
+ kind: z.ZodLiteral<"custom_verifier">;
499
+ verifierRef: z.ZodObject<{
500
+ id: z.ZodString;
501
+ path: z.ZodString;
502
+ contentHash: z.ZodString;
503
+ sizeBytes: z.ZodNumber;
504
+ mediaType: z.ZodString;
505
+ visibility: z.ZodEnum<{
506
+ policy: "policy";
507
+ verifier: "verifier";
508
+ host_private: "host_private";
509
+ }>;
510
+ }, z.core.$strict>;
511
+ timeoutMs: z.ZodNumber;
512
+ networkPolicy: z.ZodLiteral<"none">;
513
+ }, z.core.$strict>, z.ZodObject<{
514
+ id: z.ZodString;
515
+ version: z.ZodString;
516
+ weight: z.ZodDefault<z.ZodNumber>;
517
+ hardGate: z.ZodDefault<z.ZodBoolean>;
518
+ rewardEligible: z.ZodDefault<z.ZodBoolean>;
519
+ privileged: z.ZodDefault<z.ZodBoolean>;
520
+ kind: z.ZodLiteral<"human">;
521
+ rubricRef: z.ZodObject<{
522
+ id: z.ZodString;
523
+ path: z.ZodString;
524
+ contentHash: z.ZodString;
525
+ sizeBytes: z.ZodNumber;
526
+ mediaType: z.ZodString;
527
+ visibility: z.ZodEnum<{
528
+ policy: "policy";
529
+ verifier: "verifier";
530
+ host_private: "host_private";
531
+ }>;
532
+ }, z.core.$strict>;
533
+ reviewerRole: z.ZodString;
534
+ }, z.core.$strict>]>>;
535
+ isolation: z.ZodObject<{
536
+ processBoundary: z.ZodEnum<{
537
+ same_process: "same_process";
538
+ isolated_process: "isolated_process";
539
+ container: "container";
540
+ }>;
541
+ networkPolicy: z.ZodLiteral<"none">;
542
+ defaultTimeoutMs: z.ZodNumber;
543
+ }, z.core.$strict>;
544
+ calibrationReceiptRefs: z.ZodArray<z.ZodObject<{
545
+ id: z.ZodString;
546
+ contentHash: z.ZodString;
547
+ }, z.core.$strict>>;
548
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
549
+ contentHash: z.ZodString;
550
+ }, z.core.$strict>;
551
+ export declare const RewardComponentReceiptSchema: z.ZodObject<{
552
+ verifierId: z.ZodString;
553
+ verifierVersion: z.ZodString;
554
+ status: z.ZodEnum<{
555
+ scored: "scored";
556
+ unscorable: "unscorable";
557
+ }>;
558
+ rawScore: z.ZodNullable<z.ZodNumber>;
559
+ normalizedScore: z.ZodNullable<z.ZodNumber>;
560
+ weight: z.ZodNumber;
561
+ passed: z.ZodBoolean;
562
+ hardGate: z.ZodBoolean;
563
+ rewardEligible: z.ZodBoolean;
564
+ rewardContribution: z.ZodNullable<z.ZodNumber>;
565
+ failureOwner: z.ZodNullable<z.ZodEnum<{
566
+ policy: "policy";
567
+ verifier: "verifier";
568
+ environment: "environment";
569
+ collector: "collector";
570
+ provider: "provider";
571
+ host: "host";
572
+ user: "user";
573
+ scheduler: "scheduler";
574
+ }>>;
575
+ feedback: z.ZodArray<z.ZodString>;
576
+ visibleEvidenceRefs: z.ZodArray<z.ZodObject<{
577
+ id: z.ZodString;
578
+ contentHash: z.ZodString;
579
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
580
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
581
+ }, z.core.$strict>>;
582
+ privilegedEvidenceRefs: z.ZodArray<z.ZodObject<{
583
+ id: z.ZodString;
584
+ contentHash: z.ZodString;
585
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
586
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
587
+ }, z.core.$strict>>;
588
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
589
+ }, z.core.$strict>;
590
+ export declare const RewardReceiptContentSchema: z.ZodObject<{
591
+ schemaVersion: z.ZodLiteral<"openpond.rewardReceipt.v1">;
592
+ id: z.ZodString;
593
+ attemptRef: z.ZodObject<{
594
+ id: z.ZodString;
595
+ contentHash: z.ZodString;
596
+ }, z.core.$strict>;
597
+ verifierSetRef: z.ZodObject<{
598
+ id: z.ZodString;
599
+ contentHash: z.ZodString;
600
+ }, z.core.$strict>;
601
+ artifactManifestRef: z.ZodObject<{
602
+ id: z.ZodString;
603
+ contentHash: z.ZodString;
604
+ }, z.core.$strict>;
605
+ status: z.ZodEnum<{
606
+ scored: "scored";
607
+ unscorable: "unscorable";
608
+ }>;
609
+ reward: z.ZodNullable<z.ZodNumber>;
610
+ learningEligible: z.ZodBoolean;
611
+ passed: z.ZodBoolean;
612
+ outcomeClass: z.ZodEnum<{
613
+ completed: "completed";
614
+ policy_failure: "policy_failure";
615
+ incomplete_output: "incomplete_output";
616
+ task_deadline: "task_deadline";
617
+ environment_failure: "environment_failure";
618
+ collector_failure: "collector_failure";
619
+ verifier_failure: "verifier_failure";
620
+ provider_failure: "provider_failure";
621
+ host_failure: "host_failure";
622
+ infrastructure_timeout: "infrastructure_timeout";
623
+ cancelled: "cancelled";
624
+ }>;
625
+ failureOwner: z.ZodNullable<z.ZodEnum<{
626
+ policy: "policy";
627
+ verifier: "verifier";
628
+ environment: "environment";
629
+ collector: "collector";
630
+ provider: "provider";
631
+ host: "host";
632
+ user: "user";
633
+ scheduler: "scheduler";
634
+ }>>;
635
+ components: z.ZodArray<z.ZodObject<{
636
+ verifierId: z.ZodString;
637
+ verifierVersion: z.ZodString;
638
+ status: z.ZodEnum<{
639
+ scored: "scored";
640
+ unscorable: "unscorable";
641
+ }>;
642
+ rawScore: z.ZodNullable<z.ZodNumber>;
643
+ normalizedScore: z.ZodNullable<z.ZodNumber>;
644
+ weight: z.ZodNumber;
645
+ passed: z.ZodBoolean;
646
+ hardGate: z.ZodBoolean;
647
+ rewardEligible: z.ZodBoolean;
648
+ rewardContribution: z.ZodNullable<z.ZodNumber>;
649
+ failureOwner: z.ZodNullable<z.ZodEnum<{
650
+ policy: "policy";
651
+ verifier: "verifier";
652
+ environment: "environment";
653
+ collector: "collector";
654
+ provider: "provider";
655
+ host: "host";
656
+ user: "user";
657
+ scheduler: "scheduler";
658
+ }>>;
659
+ feedback: z.ZodArray<z.ZodString>;
660
+ visibleEvidenceRefs: z.ZodArray<z.ZodObject<{
661
+ id: z.ZodString;
662
+ contentHash: z.ZodString;
663
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
664
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
665
+ }, z.core.$strict>>;
666
+ privilegedEvidenceRefs: z.ZodArray<z.ZodObject<{
667
+ id: z.ZodString;
668
+ contentHash: z.ZodString;
669
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
670
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
671
+ }, z.core.$strict>>;
672
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
673
+ }, z.core.$strict>>;
674
+ visibleEvidenceRefs: z.ZodArray<z.ZodObject<{
675
+ id: z.ZodString;
676
+ contentHash: z.ZodString;
677
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
678
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
679
+ }, z.core.$strict>>;
680
+ privilegedEvidenceRefs: z.ZodArray<z.ZodObject<{
681
+ id: z.ZodString;
682
+ contentHash: z.ZodString;
683
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
684
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
685
+ }, z.core.$strict>>;
686
+ supersedes: z.ZodNullable<z.ZodObject<{
687
+ id: z.ZodString;
688
+ contentHash: z.ZodString;
689
+ }, z.core.$strict>>;
690
+ createdAt: z.ZodString;
691
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
692
+ }, z.core.$strict>;
693
+ export declare const RewardReceiptSchema: z.ZodObject<{
694
+ schemaVersion: z.ZodLiteral<"openpond.rewardReceipt.v1">;
695
+ id: z.ZodString;
696
+ attemptRef: z.ZodObject<{
697
+ id: z.ZodString;
698
+ contentHash: z.ZodString;
699
+ }, z.core.$strict>;
700
+ verifierSetRef: z.ZodObject<{
701
+ id: z.ZodString;
702
+ contentHash: z.ZodString;
703
+ }, z.core.$strict>;
704
+ artifactManifestRef: z.ZodObject<{
705
+ id: z.ZodString;
706
+ contentHash: z.ZodString;
707
+ }, z.core.$strict>;
708
+ status: z.ZodEnum<{
709
+ scored: "scored";
710
+ unscorable: "unscorable";
711
+ }>;
712
+ reward: z.ZodNullable<z.ZodNumber>;
713
+ learningEligible: z.ZodBoolean;
714
+ passed: z.ZodBoolean;
715
+ outcomeClass: z.ZodEnum<{
716
+ completed: "completed";
717
+ policy_failure: "policy_failure";
718
+ incomplete_output: "incomplete_output";
719
+ task_deadline: "task_deadline";
720
+ environment_failure: "environment_failure";
721
+ collector_failure: "collector_failure";
722
+ verifier_failure: "verifier_failure";
723
+ provider_failure: "provider_failure";
724
+ host_failure: "host_failure";
725
+ infrastructure_timeout: "infrastructure_timeout";
726
+ cancelled: "cancelled";
727
+ }>;
728
+ failureOwner: z.ZodNullable<z.ZodEnum<{
729
+ policy: "policy";
730
+ verifier: "verifier";
731
+ environment: "environment";
732
+ collector: "collector";
733
+ provider: "provider";
734
+ host: "host";
735
+ user: "user";
736
+ scheduler: "scheduler";
737
+ }>>;
738
+ components: z.ZodArray<z.ZodObject<{
739
+ verifierId: z.ZodString;
740
+ verifierVersion: z.ZodString;
741
+ status: z.ZodEnum<{
742
+ scored: "scored";
743
+ unscorable: "unscorable";
744
+ }>;
745
+ rawScore: z.ZodNullable<z.ZodNumber>;
746
+ normalizedScore: z.ZodNullable<z.ZodNumber>;
747
+ weight: z.ZodNumber;
748
+ passed: z.ZodBoolean;
749
+ hardGate: z.ZodBoolean;
750
+ rewardEligible: z.ZodBoolean;
751
+ rewardContribution: z.ZodNullable<z.ZodNumber>;
752
+ failureOwner: z.ZodNullable<z.ZodEnum<{
753
+ policy: "policy";
754
+ verifier: "verifier";
755
+ environment: "environment";
756
+ collector: "collector";
757
+ provider: "provider";
758
+ host: "host";
759
+ user: "user";
760
+ scheduler: "scheduler";
761
+ }>>;
762
+ feedback: z.ZodArray<z.ZodString>;
763
+ visibleEvidenceRefs: z.ZodArray<z.ZodObject<{
764
+ id: z.ZodString;
765
+ contentHash: z.ZodString;
766
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
767
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
768
+ }, z.core.$strict>>;
769
+ privilegedEvidenceRefs: z.ZodArray<z.ZodObject<{
770
+ id: z.ZodString;
771
+ contentHash: z.ZodString;
772
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
773
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
774
+ }, z.core.$strict>>;
775
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
776
+ }, z.core.$strict>>;
777
+ visibleEvidenceRefs: z.ZodArray<z.ZodObject<{
778
+ id: z.ZodString;
779
+ contentHash: z.ZodString;
780
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
781
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
782
+ }, z.core.$strict>>;
783
+ privilegedEvidenceRefs: z.ZodArray<z.ZodObject<{
784
+ id: z.ZodString;
785
+ contentHash: z.ZodString;
786
+ mediaType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
787
+ sizeBytes: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
788
+ }, z.core.$strict>>;
789
+ supersedes: z.ZodNullable<z.ZodObject<{
790
+ id: z.ZodString;
791
+ contentHash: z.ZodString;
792
+ }, z.core.$strict>>;
793
+ createdAt: z.ZodString;
794
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
795
+ contentHash: z.ZodString;
796
+ }, z.core.$strict>;
797
+ export type ScoringStatus = z.infer<typeof ScoringStatusSchema>;
798
+ export type FailureOwner = z.infer<typeof FailureOwnerSchema>;
799
+ export type AttemptOutcomeClass = z.infer<typeof AttemptOutcomeClassSchema>;
800
+ export type EnvironmentRelease = z.infer<typeof EnvironmentReleaseSchema>;
801
+ export type ArtifactManifestEntry = z.infer<typeof ArtifactManifestEntrySchema>;
802
+ export type ArtifactManifest = z.infer<typeof ArtifactManifestSchema>;
803
+ export type VerifierSetRelease = z.infer<typeof VerifierSetReleaseSchema>;
804
+ export type RewardComponentReceipt = z.infer<typeof RewardComponentReceiptSchema>;
805
+ export type RewardReceipt = z.infer<typeof RewardReceiptSchema>;
806
+ //# sourceMappingURL=execution-contracts.d.ts.map