@openpond/evals 0.2.0 → 0.3.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.
@@ -0,0 +1,802 @@
1
+ import { z } from "zod";
2
+ export declare const HarnessOwnerScopeSchema: z.ZodObject<{
3
+ kind: z.ZodEnum<{
4
+ personal: "personal";
5
+ team: "team";
6
+ }>;
7
+ id: z.ZodString;
8
+ }, z.core.$strict>;
9
+ export declare const HarnessCurrentChannelSchema: z.ZodObject<{
10
+ name: z.ZodString;
11
+ release: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodString;
13
+ contentHash: z.ZodString;
14
+ }, z.core.$strict>>;
15
+ revision: z.ZodNumber;
16
+ }, z.core.$strict>;
17
+ /**
18
+ * Mutable, host-owned authoring state. Portable runs never consume this object;
19
+ * they consume the immutable release selected from currentChannel.
20
+ */
21
+ export declare const HarnessWorkspaceSchema: z.ZodObject<{
22
+ schemaVersion: z.ZodLiteral<"openpond.harnessWorkspace.v1">;
23
+ id: z.ZodString;
24
+ ownerScope: z.ZodObject<{
25
+ kind: z.ZodEnum<{
26
+ personal: "personal";
27
+ team: "team";
28
+ }>;
29
+ id: z.ZodString;
30
+ }, z.core.$strict>;
31
+ name: z.ZodString;
32
+ location: z.ZodEnum<{
33
+ local: "local";
34
+ hosted: "hosted";
35
+ }>;
36
+ sourceRevision: z.ZodString;
37
+ revision: z.ZodNumber;
38
+ dirty: z.ZodBoolean;
39
+ currentChannel: z.ZodObject<{
40
+ name: z.ZodString;
41
+ release: z.ZodNullable<z.ZodObject<{
42
+ id: z.ZodString;
43
+ contentHash: z.ZodString;
44
+ }, z.core.$strict>>;
45
+ revision: z.ZodNumber;
46
+ }, z.core.$strict>;
47
+ createdAt: z.ZodString;
48
+ updatedAt: z.ZodString;
49
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
50
+ }, z.core.$strict>;
51
+ export declare const HarnessImprovementRouteSchema: z.ZodEnum<{
52
+ agent: "agent";
53
+ runtime: "runtime";
54
+ memory: "memory";
55
+ prompt: "prompt";
56
+ skill: "skill";
57
+ product: "product";
58
+ taskset: "taskset";
59
+ training: "training";
60
+ }>;
61
+ export declare const HarnessChangeEffectSchema: z.ZodEnum<{
62
+ memory: "memory";
63
+ training: "training";
64
+ text_instruction: "text_instruction";
65
+ dependency_selection: "dependency_selection";
66
+ executable_code: "executable_code";
67
+ business_logic: "business_logic";
68
+ financial_logic: "financial_logic";
69
+ permission: "permission";
70
+ connected_app: "connected_app";
71
+ publication: "publication";
72
+ deployment: "deployment";
73
+ model_binding: "model_binding";
74
+ team_or_global: "team_or_global";
75
+ }>;
76
+ export declare const HarnessOverlayEditSchema: z.ZodObject<{
77
+ id: z.ZodString;
78
+ route: z.ZodEnum<{
79
+ agent: "agent";
80
+ runtime: "runtime";
81
+ memory: "memory";
82
+ prompt: "prompt";
83
+ skill: "skill";
84
+ product: "product";
85
+ taskset: "taskset";
86
+ training: "training";
87
+ }>;
88
+ operation: z.ZodEnum<{
89
+ create: "create";
90
+ update: "update";
91
+ delete: "delete";
92
+ }>;
93
+ target: z.ZodString;
94
+ summary: z.ZodString;
95
+ content: z.ZodNullable<z.ZodString>;
96
+ contentHash: z.ZodNullable<z.ZodString>;
97
+ effects: z.ZodArray<z.ZodEnum<{
98
+ memory: "memory";
99
+ training: "training";
100
+ text_instruction: "text_instruction";
101
+ dependency_selection: "dependency_selection";
102
+ executable_code: "executable_code";
103
+ business_logic: "business_logic";
104
+ financial_logic: "financial_logic";
105
+ permission: "permission";
106
+ connected_app: "connected_app";
107
+ publication: "publication";
108
+ deployment: "deployment";
109
+ model_binding: "model_binding";
110
+ team_or_global: "team_or_global";
111
+ }>>;
112
+ }, z.core.$strict>;
113
+ export declare const HarnessWorkspaceRevisionRefSchema: z.ZodObject<{
114
+ workspaceId: z.ZodString;
115
+ revision: z.ZodNumber;
116
+ sourceRevision: z.ZodString;
117
+ channelRevision: z.ZodNumber;
118
+ }, z.core.$strict>;
119
+ export declare const HarnessOverlaySnapshotRefSchema: z.ZodObject<{
120
+ id: z.ZodString;
121
+ revision: z.ZodNumber;
122
+ contentHash: z.ZodString;
123
+ }, z.core.$strict>;
124
+ export declare const HarnessTurnSnapshotSchema: z.ZodObject<{
125
+ schemaVersion: z.ZodLiteral<"openpond.harnessTurnSnapshot.v1">;
126
+ workspaceId: z.ZodString;
127
+ workspaceRevision: z.ZodNumber;
128
+ sourceRevision: z.ZodString;
129
+ channelName: z.ZodString;
130
+ channelRevision: z.ZodNumber;
131
+ harnessRelease: z.ZodObject<{
132
+ id: z.ZodString;
133
+ contentHash: z.ZodString;
134
+ }, z.core.$strict>;
135
+ overlay: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodObject<{
136
+ id: z.ZodString;
137
+ revision: z.ZodNumber;
138
+ contentHash: z.ZodString;
139
+ }, z.core.$strict>>>>;
140
+ }, z.core.$strict>;
141
+ export declare const HarnessRunOverlayContentSchema: z.ZodObject<{
142
+ schemaVersion: z.ZodLiteral<"openpond.harnessRunOverlay.v1">;
143
+ id: z.ZodString;
144
+ runId: z.ZodString;
145
+ baseHarnessRelease: z.ZodObject<{
146
+ id: z.ZodString;
147
+ contentHash: z.ZodString;
148
+ }, z.core.$strict>;
149
+ workspace: z.ZodObject<{
150
+ workspaceId: z.ZodString;
151
+ revision: z.ZodNumber;
152
+ sourceRevision: z.ZodString;
153
+ channelRevision: z.ZodNumber;
154
+ }, z.core.$strict>;
155
+ revision: z.ZodNumber;
156
+ status: z.ZodEnum<{
157
+ active: "active";
158
+ frozen: "frozen";
159
+ abandoned: "abandoned";
160
+ }>;
161
+ edits: z.ZodArray<z.ZodObject<{
162
+ id: z.ZodString;
163
+ route: z.ZodEnum<{
164
+ agent: "agent";
165
+ runtime: "runtime";
166
+ memory: "memory";
167
+ prompt: "prompt";
168
+ skill: "skill";
169
+ product: "product";
170
+ taskset: "taskset";
171
+ training: "training";
172
+ }>;
173
+ operation: z.ZodEnum<{
174
+ create: "create";
175
+ update: "update";
176
+ delete: "delete";
177
+ }>;
178
+ target: z.ZodString;
179
+ summary: z.ZodString;
180
+ content: z.ZodNullable<z.ZodString>;
181
+ contentHash: z.ZodNullable<z.ZodString>;
182
+ effects: z.ZodArray<z.ZodEnum<{
183
+ memory: "memory";
184
+ training: "training";
185
+ text_instruction: "text_instruction";
186
+ dependency_selection: "dependency_selection";
187
+ executable_code: "executable_code";
188
+ business_logic: "business_logic";
189
+ financial_logic: "financial_logic";
190
+ permission: "permission";
191
+ connected_app: "connected_app";
192
+ publication: "publication";
193
+ deployment: "deployment";
194
+ model_binding: "model_binding";
195
+ team_or_global: "team_or_global";
196
+ }>>;
197
+ }, z.core.$strict>>;
198
+ createdAt: z.ZodString;
199
+ updatedAt: z.ZodString;
200
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
201
+ }, z.core.$strict>;
202
+ export declare const HarnessRunOverlaySchema: z.ZodObject<{
203
+ schemaVersion: z.ZodLiteral<"openpond.harnessRunOverlay.v1">;
204
+ id: z.ZodString;
205
+ runId: z.ZodString;
206
+ baseHarnessRelease: z.ZodObject<{
207
+ id: z.ZodString;
208
+ contentHash: z.ZodString;
209
+ }, z.core.$strict>;
210
+ workspace: z.ZodObject<{
211
+ workspaceId: z.ZodString;
212
+ revision: z.ZodNumber;
213
+ sourceRevision: z.ZodString;
214
+ channelRevision: z.ZodNumber;
215
+ }, z.core.$strict>;
216
+ revision: z.ZodNumber;
217
+ status: z.ZodEnum<{
218
+ active: "active";
219
+ frozen: "frozen";
220
+ abandoned: "abandoned";
221
+ }>;
222
+ edits: z.ZodArray<z.ZodObject<{
223
+ id: z.ZodString;
224
+ route: z.ZodEnum<{
225
+ agent: "agent";
226
+ runtime: "runtime";
227
+ memory: "memory";
228
+ prompt: "prompt";
229
+ skill: "skill";
230
+ product: "product";
231
+ taskset: "taskset";
232
+ training: "training";
233
+ }>;
234
+ operation: z.ZodEnum<{
235
+ create: "create";
236
+ update: "update";
237
+ delete: "delete";
238
+ }>;
239
+ target: z.ZodString;
240
+ summary: z.ZodString;
241
+ content: z.ZodNullable<z.ZodString>;
242
+ contentHash: z.ZodNullable<z.ZodString>;
243
+ effects: z.ZodArray<z.ZodEnum<{
244
+ memory: "memory";
245
+ training: "training";
246
+ text_instruction: "text_instruction";
247
+ dependency_selection: "dependency_selection";
248
+ executable_code: "executable_code";
249
+ business_logic: "business_logic";
250
+ financial_logic: "financial_logic";
251
+ permission: "permission";
252
+ connected_app: "connected_app";
253
+ publication: "publication";
254
+ deployment: "deployment";
255
+ model_binding: "model_binding";
256
+ team_or_global: "team_or_global";
257
+ }>>;
258
+ }, z.core.$strict>>;
259
+ createdAt: z.ZodString;
260
+ updatedAt: z.ZodString;
261
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
262
+ contentHash: z.ZodString;
263
+ }, z.core.$strict>;
264
+ export declare const HarnessProposalEvidenceRefSchema: z.ZodObject<{
265
+ kind: z.ZodEnum<{
266
+ validation: "validation";
267
+ tool_event: "tool_event";
268
+ recovery: "recovery";
269
+ user_correction: "user_correction";
270
+ work_output: "work_output";
271
+ work_receipt: "work_receipt";
272
+ }>;
273
+ id: z.ZodString;
274
+ contentHash: z.ZodNullable<z.ZodString>;
275
+ }, z.core.$strict>;
276
+ export declare const HarnessValidationPlanItemSchema: z.ZodObject<{
277
+ id: z.ZodString;
278
+ kind: z.ZodEnum<{
279
+ schema: "schema";
280
+ prompt: "prompt";
281
+ skill: "skill";
282
+ dependency: "dependency";
283
+ package: "package";
284
+ file_render: "file_render";
285
+ business_formula: "business_formula";
286
+ targeted_evaluation: "targeted_evaluation";
287
+ observed_recovery: "observed_recovery";
288
+ }>;
289
+ description: z.ZodString;
290
+ required: z.ZodBoolean;
291
+ }, z.core.$strict>;
292
+ export declare const HarnessImprovementProposalContentSchema: z.ZodObject<{
293
+ schemaVersion: z.ZodLiteral<"openpond.harnessImprovementProposal.v1">;
294
+ id: z.ZodString;
295
+ overlay: z.ZodObject<{
296
+ id: z.ZodString;
297
+ revision: z.ZodNumber;
298
+ contentHash: z.ZodString;
299
+ }, z.core.$strict>;
300
+ baseHarnessRelease: z.ZodObject<{
301
+ id: z.ZodString;
302
+ contentHash: z.ZodString;
303
+ }, z.core.$strict>;
304
+ expectedWorkspace: z.ZodObject<{
305
+ workspaceId: z.ZodString;
306
+ revision: z.ZodNumber;
307
+ sourceRevision: z.ZodString;
308
+ channelRevision: z.ZodNumber;
309
+ }, z.core.$strict>;
310
+ requestedScope: z.ZodEnum<{
311
+ personal: "personal";
312
+ team: "team";
313
+ global: "global";
314
+ }>;
315
+ route: z.ZodEnum<{
316
+ agent: "agent";
317
+ runtime: "runtime";
318
+ memory: "memory";
319
+ prompt: "prompt";
320
+ skill: "skill";
321
+ product: "product";
322
+ taskset: "taskset";
323
+ training: "training";
324
+ }>;
325
+ risk: z.ZodEnum<{
326
+ low: "low";
327
+ review: "review";
328
+ restricted: "restricted";
329
+ }>;
330
+ effects: z.ZodArray<z.ZodEnum<{
331
+ memory: "memory";
332
+ training: "training";
333
+ text_instruction: "text_instruction";
334
+ dependency_selection: "dependency_selection";
335
+ executable_code: "executable_code";
336
+ business_logic: "business_logic";
337
+ financial_logic: "financial_logic";
338
+ permission: "permission";
339
+ connected_app: "connected_app";
340
+ publication: "publication";
341
+ deployment: "deployment";
342
+ model_binding: "model_binding";
343
+ team_or_global: "team_or_global";
344
+ }>>;
345
+ evidence: z.ZodArray<z.ZodObject<{
346
+ kind: z.ZodEnum<{
347
+ validation: "validation";
348
+ tool_event: "tool_event";
349
+ recovery: "recovery";
350
+ user_correction: "user_correction";
351
+ work_output: "work_output";
352
+ work_receipt: "work_receipt";
353
+ }>;
354
+ id: z.ZodString;
355
+ contentHash: z.ZodNullable<z.ZodString>;
356
+ }, z.core.$strict>>;
357
+ edits: z.ZodArray<z.ZodObject<{
358
+ id: z.ZodString;
359
+ route: z.ZodEnum<{
360
+ agent: "agent";
361
+ runtime: "runtime";
362
+ memory: "memory";
363
+ prompt: "prompt";
364
+ skill: "skill";
365
+ product: "product";
366
+ taskset: "taskset";
367
+ training: "training";
368
+ }>;
369
+ operation: z.ZodEnum<{
370
+ create: "create";
371
+ update: "update";
372
+ delete: "delete";
373
+ }>;
374
+ target: z.ZodString;
375
+ summary: z.ZodString;
376
+ content: z.ZodNullable<z.ZodString>;
377
+ contentHash: z.ZodNullable<z.ZodString>;
378
+ effects: z.ZodArray<z.ZodEnum<{
379
+ memory: "memory";
380
+ training: "training";
381
+ text_instruction: "text_instruction";
382
+ dependency_selection: "dependency_selection";
383
+ executable_code: "executable_code";
384
+ business_logic: "business_logic";
385
+ financial_logic: "financial_logic";
386
+ permission: "permission";
387
+ connected_app: "connected_app";
388
+ publication: "publication";
389
+ deployment: "deployment";
390
+ model_binding: "model_binding";
391
+ team_or_global: "team_or_global";
392
+ }>>;
393
+ }, z.core.$strict>>;
394
+ validationPlan: z.ZodArray<z.ZodObject<{
395
+ id: z.ZodString;
396
+ kind: z.ZodEnum<{
397
+ schema: "schema";
398
+ prompt: "prompt";
399
+ skill: "skill";
400
+ dependency: "dependency";
401
+ package: "package";
402
+ file_render: "file_render";
403
+ business_formula: "business_formula";
404
+ targeted_evaluation: "targeted_evaluation";
405
+ observed_recovery: "observed_recovery";
406
+ }>;
407
+ description: z.ZodString;
408
+ required: z.ZodBoolean;
409
+ }, z.core.$strict>>;
410
+ expectedOutcome: z.ZodString;
411
+ createdAt: z.ZodString;
412
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
413
+ }, z.core.$strict>;
414
+ export declare const HarnessImprovementProposalSchema: z.ZodObject<{
415
+ schemaVersion: z.ZodLiteral<"openpond.harnessImprovementProposal.v1">;
416
+ id: z.ZodString;
417
+ overlay: z.ZodObject<{
418
+ id: z.ZodString;
419
+ revision: z.ZodNumber;
420
+ contentHash: z.ZodString;
421
+ }, z.core.$strict>;
422
+ baseHarnessRelease: z.ZodObject<{
423
+ id: z.ZodString;
424
+ contentHash: z.ZodString;
425
+ }, z.core.$strict>;
426
+ expectedWorkspace: z.ZodObject<{
427
+ workspaceId: z.ZodString;
428
+ revision: z.ZodNumber;
429
+ sourceRevision: z.ZodString;
430
+ channelRevision: z.ZodNumber;
431
+ }, z.core.$strict>;
432
+ requestedScope: z.ZodEnum<{
433
+ personal: "personal";
434
+ team: "team";
435
+ global: "global";
436
+ }>;
437
+ route: z.ZodEnum<{
438
+ agent: "agent";
439
+ runtime: "runtime";
440
+ memory: "memory";
441
+ prompt: "prompt";
442
+ skill: "skill";
443
+ product: "product";
444
+ taskset: "taskset";
445
+ training: "training";
446
+ }>;
447
+ risk: z.ZodEnum<{
448
+ low: "low";
449
+ review: "review";
450
+ restricted: "restricted";
451
+ }>;
452
+ effects: z.ZodArray<z.ZodEnum<{
453
+ memory: "memory";
454
+ training: "training";
455
+ text_instruction: "text_instruction";
456
+ dependency_selection: "dependency_selection";
457
+ executable_code: "executable_code";
458
+ business_logic: "business_logic";
459
+ financial_logic: "financial_logic";
460
+ permission: "permission";
461
+ connected_app: "connected_app";
462
+ publication: "publication";
463
+ deployment: "deployment";
464
+ model_binding: "model_binding";
465
+ team_or_global: "team_or_global";
466
+ }>>;
467
+ evidence: z.ZodArray<z.ZodObject<{
468
+ kind: z.ZodEnum<{
469
+ validation: "validation";
470
+ tool_event: "tool_event";
471
+ recovery: "recovery";
472
+ user_correction: "user_correction";
473
+ work_output: "work_output";
474
+ work_receipt: "work_receipt";
475
+ }>;
476
+ id: z.ZodString;
477
+ contentHash: z.ZodNullable<z.ZodString>;
478
+ }, z.core.$strict>>;
479
+ edits: z.ZodArray<z.ZodObject<{
480
+ id: z.ZodString;
481
+ route: z.ZodEnum<{
482
+ agent: "agent";
483
+ runtime: "runtime";
484
+ memory: "memory";
485
+ prompt: "prompt";
486
+ skill: "skill";
487
+ product: "product";
488
+ taskset: "taskset";
489
+ training: "training";
490
+ }>;
491
+ operation: z.ZodEnum<{
492
+ create: "create";
493
+ update: "update";
494
+ delete: "delete";
495
+ }>;
496
+ target: z.ZodString;
497
+ summary: z.ZodString;
498
+ content: z.ZodNullable<z.ZodString>;
499
+ contentHash: z.ZodNullable<z.ZodString>;
500
+ effects: z.ZodArray<z.ZodEnum<{
501
+ memory: "memory";
502
+ training: "training";
503
+ text_instruction: "text_instruction";
504
+ dependency_selection: "dependency_selection";
505
+ executable_code: "executable_code";
506
+ business_logic: "business_logic";
507
+ financial_logic: "financial_logic";
508
+ permission: "permission";
509
+ connected_app: "connected_app";
510
+ publication: "publication";
511
+ deployment: "deployment";
512
+ model_binding: "model_binding";
513
+ team_or_global: "team_or_global";
514
+ }>>;
515
+ }, z.core.$strict>>;
516
+ validationPlan: z.ZodArray<z.ZodObject<{
517
+ id: z.ZodString;
518
+ kind: z.ZodEnum<{
519
+ schema: "schema";
520
+ prompt: "prompt";
521
+ skill: "skill";
522
+ dependency: "dependency";
523
+ package: "package";
524
+ file_render: "file_render";
525
+ business_formula: "business_formula";
526
+ targeted_evaluation: "targeted_evaluation";
527
+ observed_recovery: "observed_recovery";
528
+ }>;
529
+ description: z.ZodString;
530
+ required: z.ZodBoolean;
531
+ }, z.core.$strict>>;
532
+ expectedOutcome: z.ZodString;
533
+ createdAt: z.ZodString;
534
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
535
+ contentHash: z.ZodString;
536
+ }, z.core.$strict>;
537
+ export declare const HarnessTargetedValidationReceiptContentSchema: z.ZodObject<{
538
+ schemaVersion: z.ZodLiteral<"openpond.harnessTargetedValidationReceipt.v1">;
539
+ id: z.ZodString;
540
+ proposal: z.ZodObject<{
541
+ id: z.ZodString;
542
+ contentHash: z.ZodString;
543
+ }, z.core.$strict>;
544
+ validationId: z.ZodString;
545
+ kind: z.ZodEnum<{
546
+ schema: "schema";
547
+ prompt: "prompt";
548
+ skill: "skill";
549
+ dependency: "dependency";
550
+ package: "package";
551
+ file_render: "file_render";
552
+ business_formula: "business_formula";
553
+ targeted_evaluation: "targeted_evaluation";
554
+ observed_recovery: "observed_recovery";
555
+ }>;
556
+ status: z.ZodEnum<{
557
+ passed: "passed";
558
+ failed: "failed";
559
+ blocked: "blocked";
560
+ skipped: "skipped";
561
+ }>;
562
+ summary: z.ZodString;
563
+ evidenceRefs: z.ZodArray<z.ZodObject<{
564
+ kind: z.ZodEnum<{
565
+ validation: "validation";
566
+ tool_event: "tool_event";
567
+ recovery: "recovery";
568
+ user_correction: "user_correction";
569
+ work_output: "work_output";
570
+ work_receipt: "work_receipt";
571
+ }>;
572
+ id: z.ZodString;
573
+ contentHash: z.ZodNullable<z.ZodString>;
574
+ }, z.core.$strict>>;
575
+ createdAt: z.ZodString;
576
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
577
+ }, z.core.$strict>;
578
+ export declare const HarnessTargetedValidationReceiptSchema: z.ZodObject<{
579
+ schemaVersion: z.ZodLiteral<"openpond.harnessTargetedValidationReceipt.v1">;
580
+ id: z.ZodString;
581
+ proposal: z.ZodObject<{
582
+ id: z.ZodString;
583
+ contentHash: z.ZodString;
584
+ }, z.core.$strict>;
585
+ validationId: z.ZodString;
586
+ kind: z.ZodEnum<{
587
+ schema: "schema";
588
+ prompt: "prompt";
589
+ skill: "skill";
590
+ dependency: "dependency";
591
+ package: "package";
592
+ file_render: "file_render";
593
+ business_formula: "business_formula";
594
+ targeted_evaluation: "targeted_evaluation";
595
+ observed_recovery: "observed_recovery";
596
+ }>;
597
+ status: z.ZodEnum<{
598
+ passed: "passed";
599
+ failed: "failed";
600
+ blocked: "blocked";
601
+ skipped: "skipped";
602
+ }>;
603
+ summary: z.ZodString;
604
+ evidenceRefs: z.ZodArray<z.ZodObject<{
605
+ kind: z.ZodEnum<{
606
+ validation: "validation";
607
+ tool_event: "tool_event";
608
+ recovery: "recovery";
609
+ user_correction: "user_correction";
610
+ work_output: "work_output";
611
+ work_receipt: "work_receipt";
612
+ }>;
613
+ id: z.ZodString;
614
+ contentHash: z.ZodNullable<z.ZodString>;
615
+ }, z.core.$strict>>;
616
+ createdAt: z.ZodString;
617
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
618
+ contentHash: z.ZodString;
619
+ }, z.core.$strict>;
620
+ export declare const HarnessAdvanceDecisionSchema: z.ZodEnum<{
621
+ advanced: "advanced";
622
+ retained: "retained";
623
+ conflict: "conflict";
624
+ rolled_back: "rolled_back";
625
+ }>;
626
+ export declare const HarnessAdvanceReceiptContentSchema: z.ZodObject<{
627
+ schemaVersion: z.ZodLiteral<"openpond.harnessAdvanceReceipt.v1">;
628
+ id: z.ZodString;
629
+ workspaceId: z.ZodString;
630
+ ownerScope: z.ZodObject<{
631
+ kind: z.ZodEnum<{
632
+ personal: "personal";
633
+ team: "team";
634
+ }>;
635
+ id: z.ZodString;
636
+ }, z.core.$strict>;
637
+ proposal: z.ZodNullable<z.ZodObject<{
638
+ id: z.ZodString;
639
+ contentHash: z.ZodString;
640
+ }, z.core.$strict>>;
641
+ expectedWorkspaceRevision: z.ZodNumber;
642
+ observedWorkspaceRevision: z.ZodNumber;
643
+ previousChannelRevision: z.ZodNumber;
644
+ nextChannelRevision: z.ZodNumber;
645
+ previousRelease: z.ZodNullable<z.ZodObject<{
646
+ id: z.ZodString;
647
+ contentHash: z.ZodString;
648
+ }, z.core.$strict>>;
649
+ nextRelease: z.ZodNullable<z.ZodObject<{
650
+ id: z.ZodString;
651
+ contentHash: z.ZodString;
652
+ }, z.core.$strict>>;
653
+ validationReceipts: z.ZodArray<z.ZodObject<{
654
+ id: z.ZodString;
655
+ contentHash: z.ZodString;
656
+ }, z.core.$strict>>;
657
+ decision: z.ZodEnum<{
658
+ advanced: "advanced";
659
+ retained: "retained";
660
+ conflict: "conflict";
661
+ rolled_back: "rolled_back";
662
+ }>;
663
+ reason: z.ZodString;
664
+ rollbackOf: z.ZodNullable<z.ZodObject<{
665
+ id: z.ZodString;
666
+ contentHash: z.ZodString;
667
+ }, z.core.$strict>>;
668
+ createdAt: z.ZodString;
669
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
670
+ }, z.core.$strict>;
671
+ export declare const HarnessAdvanceReceiptSchema: z.ZodObject<{
672
+ schemaVersion: z.ZodLiteral<"openpond.harnessAdvanceReceipt.v1">;
673
+ id: z.ZodString;
674
+ workspaceId: z.ZodString;
675
+ ownerScope: z.ZodObject<{
676
+ kind: z.ZodEnum<{
677
+ personal: "personal";
678
+ team: "team";
679
+ }>;
680
+ id: z.ZodString;
681
+ }, z.core.$strict>;
682
+ proposal: z.ZodNullable<z.ZodObject<{
683
+ id: z.ZodString;
684
+ contentHash: z.ZodString;
685
+ }, z.core.$strict>>;
686
+ expectedWorkspaceRevision: z.ZodNumber;
687
+ observedWorkspaceRevision: z.ZodNumber;
688
+ previousChannelRevision: z.ZodNumber;
689
+ nextChannelRevision: z.ZodNumber;
690
+ previousRelease: z.ZodNullable<z.ZodObject<{
691
+ id: z.ZodString;
692
+ contentHash: z.ZodString;
693
+ }, z.core.$strict>>;
694
+ nextRelease: z.ZodNullable<z.ZodObject<{
695
+ id: z.ZodString;
696
+ contentHash: z.ZodString;
697
+ }, z.core.$strict>>;
698
+ validationReceipts: z.ZodArray<z.ZodObject<{
699
+ id: z.ZodString;
700
+ contentHash: z.ZodString;
701
+ }, z.core.$strict>>;
702
+ decision: z.ZodEnum<{
703
+ advanced: "advanced";
704
+ retained: "retained";
705
+ conflict: "conflict";
706
+ rolled_back: "rolled_back";
707
+ }>;
708
+ reason: z.ZodString;
709
+ rollbackOf: z.ZodNullable<z.ZodObject<{
710
+ id: z.ZodString;
711
+ contentHash: z.ZodString;
712
+ }, z.core.$strict>>;
713
+ createdAt: z.ZodString;
714
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
715
+ contentHash: z.ZodString;
716
+ }, z.core.$strict>;
717
+ export declare const HarnessOverlayMergeReceiptContentSchema: z.ZodObject<{
718
+ schemaVersion: z.ZodLiteral<"openpond.harnessOverlayMergeReceipt.v1">;
719
+ id: z.ZodString;
720
+ workspaceId: z.ZodString;
721
+ baseHarnessRelease: z.ZodObject<{
722
+ id: z.ZodString;
723
+ contentHash: z.ZodString;
724
+ }, z.core.$strict>;
725
+ leftOverlay: z.ZodObject<{
726
+ id: z.ZodString;
727
+ revision: z.ZodNumber;
728
+ contentHash: z.ZodString;
729
+ }, z.core.$strict>;
730
+ rightOverlay: z.ZodObject<{
731
+ id: z.ZodString;
732
+ revision: z.ZodNumber;
733
+ contentHash: z.ZodString;
734
+ }, z.core.$strict>;
735
+ decision: z.ZodEnum<{
736
+ conflict: "conflict";
737
+ merged: "merged";
738
+ }>;
739
+ mergedOverlay: z.ZodNullable<z.ZodObject<{
740
+ id: z.ZodString;
741
+ revision: z.ZodNumber;
742
+ contentHash: z.ZodString;
743
+ }, z.core.$strict>>;
744
+ conflictTargets: z.ZodArray<z.ZodString>;
745
+ requiresRevalidation: z.ZodLiteral<true>;
746
+ createdAt: z.ZodString;
747
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
748
+ }, z.core.$strict>;
749
+ export declare const HarnessOverlayMergeReceiptSchema: z.ZodObject<{
750
+ schemaVersion: z.ZodLiteral<"openpond.harnessOverlayMergeReceipt.v1">;
751
+ id: z.ZodString;
752
+ workspaceId: z.ZodString;
753
+ baseHarnessRelease: z.ZodObject<{
754
+ id: z.ZodString;
755
+ contentHash: z.ZodString;
756
+ }, z.core.$strict>;
757
+ leftOverlay: z.ZodObject<{
758
+ id: z.ZodString;
759
+ revision: z.ZodNumber;
760
+ contentHash: z.ZodString;
761
+ }, z.core.$strict>;
762
+ rightOverlay: z.ZodObject<{
763
+ id: z.ZodString;
764
+ revision: z.ZodNumber;
765
+ contentHash: z.ZodString;
766
+ }, z.core.$strict>;
767
+ decision: z.ZodEnum<{
768
+ conflict: "conflict";
769
+ merged: "merged";
770
+ }>;
771
+ mergedOverlay: z.ZodNullable<z.ZodObject<{
772
+ id: z.ZodString;
773
+ revision: z.ZodNumber;
774
+ contentHash: z.ZodString;
775
+ }, z.core.$strict>>;
776
+ conflictTargets: z.ZodArray<z.ZodString>;
777
+ requiresRevalidation: z.ZodLiteral<true>;
778
+ createdAt: z.ZodString;
779
+ metadata: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
780
+ contentHash: z.ZodString;
781
+ }, z.core.$strict>;
782
+ export declare function createHarnessRunOverlay(content: z.input<typeof HarnessRunOverlayContentSchema>): HarnessRunOverlay;
783
+ export declare function createHarnessImprovementProposal(content: z.input<typeof HarnessImprovementProposalContentSchema>): HarnessImprovementProposal;
784
+ export declare function createHarnessTargetedValidationReceipt(content: z.input<typeof HarnessTargetedValidationReceiptContentSchema>): HarnessTargetedValidationReceipt;
785
+ export declare function createHarnessAdvanceReceipt(content: z.input<typeof HarnessAdvanceReceiptContentSchema>): HarnessAdvanceReceipt;
786
+ export declare function createHarnessOverlayMergeReceipt(content: z.input<typeof HarnessOverlayMergeReceiptContentSchema>): HarnessOverlayMergeReceipt;
787
+ export type HarnessOwnerScope = z.infer<typeof HarnessOwnerScopeSchema>;
788
+ export type HarnessCurrentChannel = z.infer<typeof HarnessCurrentChannelSchema>;
789
+ export type HarnessWorkspace = z.infer<typeof HarnessWorkspaceSchema>;
790
+ export type HarnessImprovementRoute = z.infer<typeof HarnessImprovementRouteSchema>;
791
+ export type HarnessChangeEffect = z.infer<typeof HarnessChangeEffectSchema>;
792
+ export type HarnessOverlayEdit = z.infer<typeof HarnessOverlayEditSchema>;
793
+ export type HarnessWorkspaceRevisionRef = z.infer<typeof HarnessWorkspaceRevisionRefSchema>;
794
+ export type HarnessTurnSnapshot = z.infer<typeof HarnessTurnSnapshotSchema>;
795
+ export type HarnessOverlaySnapshotRef = z.infer<typeof HarnessOverlaySnapshotRefSchema>;
796
+ export type HarnessRunOverlay = z.infer<typeof HarnessRunOverlaySchema>;
797
+ export type HarnessImprovementProposal = z.infer<typeof HarnessImprovementProposalSchema>;
798
+ export type HarnessTargetedValidationReceipt = z.infer<typeof HarnessTargetedValidationReceiptSchema>;
799
+ export type HarnessAdvanceDecision = z.infer<typeof HarnessAdvanceDecisionSchema>;
800
+ export type HarnessAdvanceReceipt = z.infer<typeof HarnessAdvanceReceiptSchema>;
801
+ export type HarnessOverlayMergeReceipt = z.infer<typeof HarnessOverlayMergeReceiptSchema>;
802
+ //# sourceMappingURL=harness-workspaces.d.ts.map