@openpond/harness 0.2.3 → 0.2.5

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,775 @@
1
+ import { z } from "zod";
2
+ export declare const HarnessRefinerActivityResultSchema: z.ZodEnum<{
3
+ no_action: "no_action";
4
+ failed: "failed";
5
+ retained: "retained";
6
+ applied: "applied";
7
+ routed: "routed";
8
+ }>;
9
+ export declare const HarnessRefinerCritiqueStatusSchema: z.ZodEnum<{
10
+ not_applicable: "not_applicable";
11
+ passed: "passed";
12
+ failed: "failed";
13
+ pending: "pending";
14
+ rejected: "rejected";
15
+ }>;
16
+ export declare const HarnessRefinerValidationStatusSchema: z.ZodEnum<{
17
+ not_applicable: "not_applicable";
18
+ passed: "passed";
19
+ failed: "failed";
20
+ pending: "pending";
21
+ }>;
22
+ export declare const HarnessRefinerActivityReceiptContentSchema: z.ZodObject<{
23
+ schemaVersion: z.ZodLiteral<"openpond.harnessRefinerActivityReceipt.v1">;
24
+ id: z.ZodString;
25
+ runRef: z.ZodString;
26
+ turnId: z.ZodString;
27
+ result: z.ZodEnum<{
28
+ no_action: "no_action";
29
+ failed: "failed";
30
+ retained: "retained";
31
+ applied: "applied";
32
+ routed: "routed";
33
+ }>;
34
+ decision: z.ZodNullable<z.ZodEnum<{
35
+ no_action: "no_action";
36
+ route: "route";
37
+ propose: "propose";
38
+ }>>;
39
+ route: z.ZodNullable<z.ZodEnum<{
40
+ runtime: "runtime";
41
+ product: "product";
42
+ taskset: "taskset";
43
+ memory: "memory";
44
+ prompt: "prompt";
45
+ skill: "skill";
46
+ agent: "agent";
47
+ training: "training";
48
+ }>>;
49
+ operation: z.ZodNullable<z.ZodEnum<{
50
+ create: "create";
51
+ update: "update";
52
+ delete: "delete";
53
+ }>>;
54
+ target: z.ZodNullable<z.ZodString>;
55
+ summary: z.ZodString;
56
+ evidenceBasis: z.ZodNullable<z.ZodObject<{
57
+ kind: z.ZodEnum<{
58
+ single_deterministic: "single_deterministic";
59
+ recurrent_independent: "recurrent_independent";
60
+ }>;
61
+ supportingEvidenceIds: z.ZodArray<z.ZodString>;
62
+ counterevidence: z.ZodArray<z.ZodString>;
63
+ }, z.core.$strict>>;
64
+ critiqueStatus: z.ZodEnum<{
65
+ not_applicable: "not_applicable";
66
+ passed: "passed";
67
+ failed: "failed";
68
+ pending: "pending";
69
+ rejected: "rejected";
70
+ }>;
71
+ validationStatus: z.ZodEnum<{
72
+ not_applicable: "not_applicable";
73
+ passed: "passed";
74
+ failed: "failed";
75
+ pending: "pending";
76
+ }>;
77
+ trigger: z.ZodObject<{
78
+ id: z.ZodString;
79
+ contentHash: z.ZodString;
80
+ }, z.core.$strict>;
81
+ outcome: z.ZodNullable<z.ZodObject<{
82
+ id: z.ZodString;
83
+ contentHash: z.ZodString;
84
+ }, z.core.$strict>>;
85
+ proposal: z.ZodNullable<z.ZodObject<{
86
+ id: z.ZodString;
87
+ contentHash: z.ZodString;
88
+ }, z.core.$strict>>;
89
+ applyReceipt: z.ZodNullable<z.ZodObject<{
90
+ id: z.ZodString;
91
+ contentHash: z.ZodString;
92
+ }, z.core.$strict>>;
93
+ inputHarness: z.ZodObject<{
94
+ id: z.ZodString;
95
+ contentHash: z.ZodString;
96
+ }, z.core.$strict>;
97
+ outputHarness: z.ZodNullable<z.ZodObject<{
98
+ id: z.ZodString;
99
+ contentHash: z.ZodString;
100
+ }, z.core.$strict>>;
101
+ createdAt: z.ZodString;
102
+ }, z.core.$strict>;
103
+ export declare const HarnessRefinerActivityReceiptSchema: z.ZodObject<{
104
+ schemaVersion: z.ZodLiteral<"openpond.harnessRefinerActivityReceipt.v1">;
105
+ id: z.ZodString;
106
+ runRef: z.ZodString;
107
+ turnId: z.ZodString;
108
+ result: z.ZodEnum<{
109
+ no_action: "no_action";
110
+ failed: "failed";
111
+ retained: "retained";
112
+ applied: "applied";
113
+ routed: "routed";
114
+ }>;
115
+ decision: z.ZodNullable<z.ZodEnum<{
116
+ no_action: "no_action";
117
+ route: "route";
118
+ propose: "propose";
119
+ }>>;
120
+ route: z.ZodNullable<z.ZodEnum<{
121
+ runtime: "runtime";
122
+ product: "product";
123
+ taskset: "taskset";
124
+ memory: "memory";
125
+ prompt: "prompt";
126
+ skill: "skill";
127
+ agent: "agent";
128
+ training: "training";
129
+ }>>;
130
+ operation: z.ZodNullable<z.ZodEnum<{
131
+ create: "create";
132
+ update: "update";
133
+ delete: "delete";
134
+ }>>;
135
+ target: z.ZodNullable<z.ZodString>;
136
+ summary: z.ZodString;
137
+ evidenceBasis: z.ZodNullable<z.ZodObject<{
138
+ kind: z.ZodEnum<{
139
+ single_deterministic: "single_deterministic";
140
+ recurrent_independent: "recurrent_independent";
141
+ }>;
142
+ supportingEvidenceIds: z.ZodArray<z.ZodString>;
143
+ counterevidence: z.ZodArray<z.ZodString>;
144
+ }, z.core.$strict>>;
145
+ critiqueStatus: z.ZodEnum<{
146
+ not_applicable: "not_applicable";
147
+ passed: "passed";
148
+ failed: "failed";
149
+ pending: "pending";
150
+ rejected: "rejected";
151
+ }>;
152
+ validationStatus: z.ZodEnum<{
153
+ not_applicable: "not_applicable";
154
+ passed: "passed";
155
+ failed: "failed";
156
+ pending: "pending";
157
+ }>;
158
+ trigger: z.ZodObject<{
159
+ id: z.ZodString;
160
+ contentHash: z.ZodString;
161
+ }, z.core.$strict>;
162
+ outcome: z.ZodNullable<z.ZodObject<{
163
+ id: z.ZodString;
164
+ contentHash: z.ZodString;
165
+ }, z.core.$strict>>;
166
+ proposal: z.ZodNullable<z.ZodObject<{
167
+ id: z.ZodString;
168
+ contentHash: z.ZodString;
169
+ }, z.core.$strict>>;
170
+ applyReceipt: z.ZodNullable<z.ZodObject<{
171
+ id: z.ZodString;
172
+ contentHash: z.ZodString;
173
+ }, z.core.$strict>>;
174
+ inputHarness: z.ZodObject<{
175
+ id: z.ZodString;
176
+ contentHash: z.ZodString;
177
+ }, z.core.$strict>;
178
+ outputHarness: z.ZodNullable<z.ZodObject<{
179
+ id: z.ZodString;
180
+ contentHash: z.ZodString;
181
+ }, z.core.$strict>>;
182
+ createdAt: z.ZodString;
183
+ contentHash: z.ZodString;
184
+ }, z.core.$strict>;
185
+ export declare const HarnessRefinementCandidateStatusSchema: z.ZodEnum<{
186
+ expired: "expired";
187
+ resolved: "resolved";
188
+ unresolved: "unresolved";
189
+ rejected: "rejected";
190
+ confirmed: "confirmed";
191
+ }>;
192
+ export declare const HarnessRefinementCandidateResolutionSchema: z.ZodObject<{
193
+ kind: z.ZodEnum<{
194
+ expired: "expired";
195
+ applied_change: "applied_change";
196
+ later_success: "later_success";
197
+ manual_rejection: "manual_rejection";
198
+ source_revoked: "source_revoked";
199
+ }>;
200
+ reason: z.ZodString;
201
+ evidenceRefs: z.ZodArray<z.ZodObject<{
202
+ id: z.ZodString;
203
+ contentHash: z.ZodString;
204
+ }, z.core.$strict>>;
205
+ resolvedAt: z.ZodString;
206
+ }, z.core.$strict>;
207
+ export declare const HarnessRefinementCandidateContentSchema: z.ZodObject<{
208
+ schemaVersion: z.ZodLiteral<"openpond.harnessRefinementCandidate.v1">;
209
+ id: z.ZodString;
210
+ ownerScope: z.ZodObject<{
211
+ kind: z.ZodEnum<{
212
+ personal: "personal";
213
+ team: "team";
214
+ }>;
215
+ id: z.ZodString;
216
+ }, z.core.$strict>;
217
+ workspaceRef: z.ZodString;
218
+ fingerprint: z.ZodString;
219
+ recurrenceFamily: z.ZodString;
220
+ statement: z.ZodString;
221
+ status: z.ZodEnum<{
222
+ expired: "expired";
223
+ resolved: "resolved";
224
+ unresolved: "unresolved";
225
+ rejected: "rejected";
226
+ confirmed: "confirmed";
227
+ }>;
228
+ occurrences: z.ZodArray<z.ZodObject<{
229
+ evidence: z.ZodObject<{
230
+ id: z.ZodString;
231
+ contentHash: z.ZodString;
232
+ }, z.core.$strict>;
233
+ kind: z.ZodEnum<{
234
+ taskset: "taskset";
235
+ observation: "observation";
236
+ trigger: "trigger";
237
+ route_decision: "route_decision";
238
+ refiner_outcome: "refiner_outcome";
239
+ proposal: "proposal";
240
+ validation: "validation";
241
+ apply_receipt: "apply_receipt";
242
+ harness_advance: "harness_advance";
243
+ rollback: "rollback";
244
+ work_outcome: "work_outcome";
245
+ evaluation: "evaluation";
246
+ training_qualification: "training_qualification";
247
+ model_candidate: "model_candidate";
248
+ }>;
249
+ sourceRef: z.ZodString;
250
+ sourcePolicy: z.ZodObject<{
251
+ policy: z.ZodObject<{
252
+ id: z.ZodString;
253
+ contentHash: z.ZodString;
254
+ }, z.core.$strict>;
255
+ state: z.ZodEnum<{
256
+ authorized: "authorized";
257
+ revoked: "revoked";
258
+ deleted: "deleted";
259
+ expired: "expired";
260
+ }>;
261
+ checkedAt: z.ZodString;
262
+ }, z.core.$strict>;
263
+ occurrenceKey: z.ZodString;
264
+ occurredAt: z.ZodString;
265
+ }, z.core.$strict>>;
266
+ counterevidence: z.ZodArray<z.ZodObject<{
267
+ evidence: z.ZodObject<{
268
+ id: z.ZodString;
269
+ contentHash: z.ZodString;
270
+ }, z.core.$strict>;
271
+ kind: z.ZodEnum<{
272
+ taskset: "taskset";
273
+ observation: "observation";
274
+ trigger: "trigger";
275
+ route_decision: "route_decision";
276
+ refiner_outcome: "refiner_outcome";
277
+ proposal: "proposal";
278
+ validation: "validation";
279
+ apply_receipt: "apply_receipt";
280
+ harness_advance: "harness_advance";
281
+ rollback: "rollback";
282
+ work_outcome: "work_outcome";
283
+ evaluation: "evaluation";
284
+ training_qualification: "training_qualification";
285
+ model_candidate: "model_candidate";
286
+ }>;
287
+ sourceRef: z.ZodString;
288
+ sourcePolicy: z.ZodObject<{
289
+ policy: z.ZodObject<{
290
+ id: z.ZodString;
291
+ contentHash: z.ZodString;
292
+ }, z.core.$strict>;
293
+ state: z.ZodEnum<{
294
+ authorized: "authorized";
295
+ revoked: "revoked";
296
+ deleted: "deleted";
297
+ expired: "expired";
298
+ }>;
299
+ checkedAt: z.ZodString;
300
+ }, z.core.$strict>;
301
+ occurrenceKey: z.ZodString;
302
+ occurredAt: z.ZodString;
303
+ }, z.core.$strict>>;
304
+ sourceReviews: z.ZodArray<z.ZodObject<{
305
+ id: z.ZodString;
306
+ contentHash: z.ZodString;
307
+ }, z.core.$strict>>;
308
+ relatedHarnessReleases: z.ZodArray<z.ZodObject<{
309
+ id: z.ZodString;
310
+ contentHash: z.ZodString;
311
+ }, z.core.$strict>>;
312
+ firstSeenAt: z.ZodString;
313
+ lastSeenAt: z.ZodString;
314
+ lastReviewedAt: z.ZodString;
315
+ expiresAt: z.ZodString;
316
+ resolution: z.ZodNullable<z.ZodObject<{
317
+ kind: z.ZodEnum<{
318
+ expired: "expired";
319
+ applied_change: "applied_change";
320
+ later_success: "later_success";
321
+ manual_rejection: "manual_rejection";
322
+ source_revoked: "source_revoked";
323
+ }>;
324
+ reason: z.ZodString;
325
+ evidenceRefs: z.ZodArray<z.ZodObject<{
326
+ id: z.ZodString;
327
+ contentHash: z.ZodString;
328
+ }, z.core.$strict>>;
329
+ resolvedAt: z.ZodString;
330
+ }, z.core.$strict>>;
331
+ createdAt: z.ZodString;
332
+ updatedAt: z.ZodString;
333
+ }, z.core.$strict>;
334
+ export declare const HarnessRefinementCandidateSchema: z.ZodObject<{
335
+ schemaVersion: z.ZodLiteral<"openpond.harnessRefinementCandidate.v1">;
336
+ id: z.ZodString;
337
+ ownerScope: z.ZodObject<{
338
+ kind: z.ZodEnum<{
339
+ personal: "personal";
340
+ team: "team";
341
+ }>;
342
+ id: z.ZodString;
343
+ }, z.core.$strict>;
344
+ workspaceRef: z.ZodString;
345
+ fingerprint: z.ZodString;
346
+ recurrenceFamily: z.ZodString;
347
+ statement: z.ZodString;
348
+ status: z.ZodEnum<{
349
+ expired: "expired";
350
+ resolved: "resolved";
351
+ unresolved: "unresolved";
352
+ rejected: "rejected";
353
+ confirmed: "confirmed";
354
+ }>;
355
+ occurrences: z.ZodArray<z.ZodObject<{
356
+ evidence: z.ZodObject<{
357
+ id: z.ZodString;
358
+ contentHash: z.ZodString;
359
+ }, z.core.$strict>;
360
+ kind: z.ZodEnum<{
361
+ taskset: "taskset";
362
+ observation: "observation";
363
+ trigger: "trigger";
364
+ route_decision: "route_decision";
365
+ refiner_outcome: "refiner_outcome";
366
+ proposal: "proposal";
367
+ validation: "validation";
368
+ apply_receipt: "apply_receipt";
369
+ harness_advance: "harness_advance";
370
+ rollback: "rollback";
371
+ work_outcome: "work_outcome";
372
+ evaluation: "evaluation";
373
+ training_qualification: "training_qualification";
374
+ model_candidate: "model_candidate";
375
+ }>;
376
+ sourceRef: z.ZodString;
377
+ sourcePolicy: z.ZodObject<{
378
+ policy: z.ZodObject<{
379
+ id: z.ZodString;
380
+ contentHash: z.ZodString;
381
+ }, z.core.$strict>;
382
+ state: z.ZodEnum<{
383
+ authorized: "authorized";
384
+ revoked: "revoked";
385
+ deleted: "deleted";
386
+ expired: "expired";
387
+ }>;
388
+ checkedAt: z.ZodString;
389
+ }, z.core.$strict>;
390
+ occurrenceKey: z.ZodString;
391
+ occurredAt: z.ZodString;
392
+ }, z.core.$strict>>;
393
+ counterevidence: z.ZodArray<z.ZodObject<{
394
+ evidence: z.ZodObject<{
395
+ id: z.ZodString;
396
+ contentHash: z.ZodString;
397
+ }, z.core.$strict>;
398
+ kind: z.ZodEnum<{
399
+ taskset: "taskset";
400
+ observation: "observation";
401
+ trigger: "trigger";
402
+ route_decision: "route_decision";
403
+ refiner_outcome: "refiner_outcome";
404
+ proposal: "proposal";
405
+ validation: "validation";
406
+ apply_receipt: "apply_receipt";
407
+ harness_advance: "harness_advance";
408
+ rollback: "rollback";
409
+ work_outcome: "work_outcome";
410
+ evaluation: "evaluation";
411
+ training_qualification: "training_qualification";
412
+ model_candidate: "model_candidate";
413
+ }>;
414
+ sourceRef: z.ZodString;
415
+ sourcePolicy: z.ZodObject<{
416
+ policy: z.ZodObject<{
417
+ id: z.ZodString;
418
+ contentHash: z.ZodString;
419
+ }, z.core.$strict>;
420
+ state: z.ZodEnum<{
421
+ authorized: "authorized";
422
+ revoked: "revoked";
423
+ deleted: "deleted";
424
+ expired: "expired";
425
+ }>;
426
+ checkedAt: z.ZodString;
427
+ }, z.core.$strict>;
428
+ occurrenceKey: z.ZodString;
429
+ occurredAt: z.ZodString;
430
+ }, z.core.$strict>>;
431
+ sourceReviews: z.ZodArray<z.ZodObject<{
432
+ id: z.ZodString;
433
+ contentHash: z.ZodString;
434
+ }, z.core.$strict>>;
435
+ relatedHarnessReleases: z.ZodArray<z.ZodObject<{
436
+ id: z.ZodString;
437
+ contentHash: z.ZodString;
438
+ }, z.core.$strict>>;
439
+ firstSeenAt: z.ZodString;
440
+ lastSeenAt: z.ZodString;
441
+ lastReviewedAt: z.ZodString;
442
+ expiresAt: z.ZodString;
443
+ resolution: z.ZodNullable<z.ZodObject<{
444
+ kind: z.ZodEnum<{
445
+ expired: "expired";
446
+ applied_change: "applied_change";
447
+ later_success: "later_success";
448
+ manual_rejection: "manual_rejection";
449
+ source_revoked: "source_revoked";
450
+ }>;
451
+ reason: z.ZodString;
452
+ evidenceRefs: z.ZodArray<z.ZodObject<{
453
+ id: z.ZodString;
454
+ contentHash: z.ZodString;
455
+ }, z.core.$strict>>;
456
+ resolvedAt: z.ZodString;
457
+ }, z.core.$strict>>;
458
+ createdAt: z.ZodString;
459
+ updatedAt: z.ZodString;
460
+ contentHash: z.ZodString;
461
+ }, z.core.$strict>;
462
+ export declare const HarnessRefinementCandidateLifecycleDecisionSchema: z.ZodEnum<{
463
+ expired: "expired";
464
+ resolved: "resolved";
465
+ merged: "merged";
466
+ created: "created";
467
+ rejected: "rejected";
468
+ reopened: "reopened";
469
+ }>;
470
+ export declare const HarnessRefinementCandidateLifecycleReceiptContentSchema: z.ZodObject<{
471
+ schemaVersion: z.ZodLiteral<"openpond.harnessRefinementCandidateLifecycleReceipt.v1">;
472
+ id: z.ZodString;
473
+ candidateId: z.ZodString;
474
+ decision: z.ZodEnum<{
475
+ expired: "expired";
476
+ resolved: "resolved";
477
+ merged: "merged";
478
+ created: "created";
479
+ rejected: "rejected";
480
+ reopened: "reopened";
481
+ }>;
482
+ beforeCandidate: z.ZodNullable<z.ZodObject<{
483
+ id: z.ZodString;
484
+ contentHash: z.ZodString;
485
+ }, z.core.$strict>>;
486
+ afterCandidate: z.ZodObject<{
487
+ id: z.ZodString;
488
+ contentHash: z.ZodString;
489
+ }, z.core.$strict>;
490
+ review: z.ZodObject<{
491
+ id: z.ZodString;
492
+ contentHash: z.ZodString;
493
+ }, z.core.$strict>;
494
+ addedEvidence: z.ZodArray<z.ZodObject<{
495
+ evidence: z.ZodObject<{
496
+ id: z.ZodString;
497
+ contentHash: z.ZodString;
498
+ }, z.core.$strict>;
499
+ kind: z.ZodEnum<{
500
+ taskset: "taskset";
501
+ observation: "observation";
502
+ trigger: "trigger";
503
+ route_decision: "route_decision";
504
+ refiner_outcome: "refiner_outcome";
505
+ proposal: "proposal";
506
+ validation: "validation";
507
+ apply_receipt: "apply_receipt";
508
+ harness_advance: "harness_advance";
509
+ rollback: "rollback";
510
+ work_outcome: "work_outcome";
511
+ evaluation: "evaluation";
512
+ training_qualification: "training_qualification";
513
+ model_candidate: "model_candidate";
514
+ }>;
515
+ sourceRef: z.ZodString;
516
+ sourcePolicy: z.ZodObject<{
517
+ policy: z.ZodObject<{
518
+ id: z.ZodString;
519
+ contentHash: z.ZodString;
520
+ }, z.core.$strict>;
521
+ state: z.ZodEnum<{
522
+ authorized: "authorized";
523
+ revoked: "revoked";
524
+ deleted: "deleted";
525
+ expired: "expired";
526
+ }>;
527
+ checkedAt: z.ZodString;
528
+ }, z.core.$strict>;
529
+ occurrenceKey: z.ZodString;
530
+ occurredAt: z.ZodString;
531
+ }, z.core.$strict>>;
532
+ removedEvidence: z.ZodArray<z.ZodObject<{
533
+ id: z.ZodString;
534
+ contentHash: z.ZodString;
535
+ }, z.core.$strict>>;
536
+ reason: z.ZodString;
537
+ createdAt: z.ZodString;
538
+ }, z.core.$strict>;
539
+ export declare const HarnessRefinementCandidateLifecycleReceiptSchema: z.ZodObject<{
540
+ schemaVersion: z.ZodLiteral<"openpond.harnessRefinementCandidateLifecycleReceipt.v1">;
541
+ id: z.ZodString;
542
+ candidateId: z.ZodString;
543
+ decision: z.ZodEnum<{
544
+ expired: "expired";
545
+ resolved: "resolved";
546
+ merged: "merged";
547
+ created: "created";
548
+ rejected: "rejected";
549
+ reopened: "reopened";
550
+ }>;
551
+ beforeCandidate: z.ZodNullable<z.ZodObject<{
552
+ id: z.ZodString;
553
+ contentHash: z.ZodString;
554
+ }, z.core.$strict>>;
555
+ afterCandidate: z.ZodObject<{
556
+ id: z.ZodString;
557
+ contentHash: z.ZodString;
558
+ }, z.core.$strict>;
559
+ review: z.ZodObject<{
560
+ id: z.ZodString;
561
+ contentHash: z.ZodString;
562
+ }, z.core.$strict>;
563
+ addedEvidence: z.ZodArray<z.ZodObject<{
564
+ evidence: z.ZodObject<{
565
+ id: z.ZodString;
566
+ contentHash: z.ZodString;
567
+ }, z.core.$strict>;
568
+ kind: z.ZodEnum<{
569
+ taskset: "taskset";
570
+ observation: "observation";
571
+ trigger: "trigger";
572
+ route_decision: "route_decision";
573
+ refiner_outcome: "refiner_outcome";
574
+ proposal: "proposal";
575
+ validation: "validation";
576
+ apply_receipt: "apply_receipt";
577
+ harness_advance: "harness_advance";
578
+ rollback: "rollback";
579
+ work_outcome: "work_outcome";
580
+ evaluation: "evaluation";
581
+ training_qualification: "training_qualification";
582
+ model_candidate: "model_candidate";
583
+ }>;
584
+ sourceRef: z.ZodString;
585
+ sourcePolicy: z.ZodObject<{
586
+ policy: z.ZodObject<{
587
+ id: z.ZodString;
588
+ contentHash: z.ZodString;
589
+ }, z.core.$strict>;
590
+ state: z.ZodEnum<{
591
+ authorized: "authorized";
592
+ revoked: "revoked";
593
+ deleted: "deleted";
594
+ expired: "expired";
595
+ }>;
596
+ checkedAt: z.ZodString;
597
+ }, z.core.$strict>;
598
+ occurrenceKey: z.ZodString;
599
+ occurredAt: z.ZodString;
600
+ }, z.core.$strict>>;
601
+ removedEvidence: z.ZodArray<z.ZodObject<{
602
+ id: z.ZodString;
603
+ contentHash: z.ZodString;
604
+ }, z.core.$strict>>;
605
+ reason: z.ZodString;
606
+ createdAt: z.ZodString;
607
+ contentHash: z.ZodString;
608
+ }, z.core.$strict>;
609
+ export declare const HarnessCrossRunRefinementRequestContentSchema: z.ZodObject<{
610
+ schemaVersion: z.ZodLiteral<"openpond.harnessCrossRunRefinementRequest.v1">;
611
+ id: z.ZodString;
612
+ ownerScope: z.ZodObject<{
613
+ kind: z.ZodEnum<{
614
+ personal: "personal";
615
+ team: "team";
616
+ }>;
617
+ id: z.ZodString;
618
+ }, z.core.$strict>;
619
+ workspaceRef: z.ZodString;
620
+ candidate: z.ZodObject<{
621
+ id: z.ZodString;
622
+ contentHash: z.ZodString;
623
+ }, z.core.$strict>;
624
+ candidateFingerprint: z.ZodString;
625
+ review: z.ZodObject<{
626
+ id: z.ZodString;
627
+ contentHash: z.ZodString;
628
+ }, z.core.$strict>;
629
+ admittedHarness: z.ZodObject<{
630
+ id: z.ZodString;
631
+ contentHash: z.ZodString;
632
+ }, z.core.$strict>;
633
+ evidence: z.ZodArray<z.ZodObject<{
634
+ evidence: z.ZodObject<{
635
+ id: z.ZodString;
636
+ contentHash: z.ZodString;
637
+ }, z.core.$strict>;
638
+ kind: z.ZodEnum<{
639
+ taskset: "taskset";
640
+ observation: "observation";
641
+ trigger: "trigger";
642
+ route_decision: "route_decision";
643
+ refiner_outcome: "refiner_outcome";
644
+ proposal: "proposal";
645
+ validation: "validation";
646
+ apply_receipt: "apply_receipt";
647
+ harness_advance: "harness_advance";
648
+ rollback: "rollback";
649
+ work_outcome: "work_outcome";
650
+ evaluation: "evaluation";
651
+ training_qualification: "training_qualification";
652
+ model_candidate: "model_candidate";
653
+ }>;
654
+ sourceRef: z.ZodString;
655
+ sourcePolicy: z.ZodObject<{
656
+ policy: z.ZodObject<{
657
+ id: z.ZodString;
658
+ contentHash: z.ZodString;
659
+ }, z.core.$strict>;
660
+ state: z.ZodEnum<{
661
+ authorized: "authorized";
662
+ revoked: "revoked";
663
+ deleted: "deleted";
664
+ expired: "expired";
665
+ }>;
666
+ checkedAt: z.ZodString;
667
+ }, z.core.$strict>;
668
+ occurrenceKey: z.ZodString;
669
+ occurredAt: z.ZodString;
670
+ }, z.core.$strict>>;
671
+ capabilities: z.ZodObject<{
672
+ memory: z.ZodBoolean;
673
+ prompt: z.ZodBoolean;
674
+ skill: z.ZodBoolean;
675
+ agent: z.ZodBoolean;
676
+ }, z.core.$strict>;
677
+ deduplicationKey: z.ZodString;
678
+ createdAt: z.ZodString;
679
+ }, z.core.$strict>;
680
+ export declare const HarnessCrossRunRefinementRequestSchema: z.ZodObject<{
681
+ schemaVersion: z.ZodLiteral<"openpond.harnessCrossRunRefinementRequest.v1">;
682
+ id: z.ZodString;
683
+ ownerScope: z.ZodObject<{
684
+ kind: z.ZodEnum<{
685
+ personal: "personal";
686
+ team: "team";
687
+ }>;
688
+ id: z.ZodString;
689
+ }, z.core.$strict>;
690
+ workspaceRef: z.ZodString;
691
+ candidate: z.ZodObject<{
692
+ id: z.ZodString;
693
+ contentHash: z.ZodString;
694
+ }, z.core.$strict>;
695
+ candidateFingerprint: z.ZodString;
696
+ review: z.ZodObject<{
697
+ id: z.ZodString;
698
+ contentHash: z.ZodString;
699
+ }, z.core.$strict>;
700
+ admittedHarness: z.ZodObject<{
701
+ id: z.ZodString;
702
+ contentHash: z.ZodString;
703
+ }, z.core.$strict>;
704
+ evidence: z.ZodArray<z.ZodObject<{
705
+ evidence: z.ZodObject<{
706
+ id: z.ZodString;
707
+ contentHash: z.ZodString;
708
+ }, z.core.$strict>;
709
+ kind: z.ZodEnum<{
710
+ taskset: "taskset";
711
+ observation: "observation";
712
+ trigger: "trigger";
713
+ route_decision: "route_decision";
714
+ refiner_outcome: "refiner_outcome";
715
+ proposal: "proposal";
716
+ validation: "validation";
717
+ apply_receipt: "apply_receipt";
718
+ harness_advance: "harness_advance";
719
+ rollback: "rollback";
720
+ work_outcome: "work_outcome";
721
+ evaluation: "evaluation";
722
+ training_qualification: "training_qualification";
723
+ model_candidate: "model_candidate";
724
+ }>;
725
+ sourceRef: z.ZodString;
726
+ sourcePolicy: z.ZodObject<{
727
+ policy: z.ZodObject<{
728
+ id: z.ZodString;
729
+ contentHash: z.ZodString;
730
+ }, z.core.$strict>;
731
+ state: z.ZodEnum<{
732
+ authorized: "authorized";
733
+ revoked: "revoked";
734
+ deleted: "deleted";
735
+ expired: "expired";
736
+ }>;
737
+ checkedAt: z.ZodString;
738
+ }, z.core.$strict>;
739
+ occurrenceKey: z.ZodString;
740
+ occurredAt: z.ZodString;
741
+ }, z.core.$strict>>;
742
+ capabilities: z.ZodObject<{
743
+ memory: z.ZodBoolean;
744
+ prompt: z.ZodBoolean;
745
+ skill: z.ZodBoolean;
746
+ agent: z.ZodBoolean;
747
+ }, z.core.$strict>;
748
+ deduplicationKey: z.ZodString;
749
+ createdAt: z.ZodString;
750
+ contentHash: z.ZodString;
751
+ }, z.core.$strict>;
752
+ export declare function createHarnessRefinerActivityReceipt(input: z.input<typeof HarnessRefinerActivityReceiptContentSchema>): HarnessRefinerActivityReceipt;
753
+ export declare function verifyHarnessRefinerActivityReceipt(value: unknown): value is HarnessRefinerActivityReceipt;
754
+ export declare function createHarnessRefinementCandidate(input: z.input<typeof HarnessRefinementCandidateContentSchema>): HarnessRefinementCandidate;
755
+ export declare function verifyHarnessRefinementCandidate(value: unknown): value is HarnessRefinementCandidate;
756
+ export declare function createHarnessRefinementCandidateLifecycleReceipt(input: z.input<typeof HarnessRefinementCandidateLifecycleReceiptContentSchema>): HarnessRefinementCandidateLifecycleReceipt;
757
+ export declare function verifyHarnessRefinementCandidateLifecycleReceipt(value: unknown): value is HarnessRefinementCandidateLifecycleReceipt;
758
+ export declare function harnessCrossRunRefinementDeduplicationKey(input: {
759
+ workspaceRef: string;
760
+ candidateFingerprint: string;
761
+ admittedHarness: {
762
+ id: string;
763
+ contentHash: string;
764
+ };
765
+ }): string;
766
+ export declare function createHarnessCrossRunRefinementRequest(input: z.input<typeof HarnessCrossRunRefinementRequestContentSchema>): HarnessCrossRunRefinementRequest;
767
+ export declare function verifyHarnessCrossRunRefinementRequest(value: unknown): value is HarnessCrossRunRefinementRequest;
768
+ export type HarnessRefinerActivityResult = z.infer<typeof HarnessRefinerActivityResultSchema>;
769
+ export type HarnessRefinerActivityReceipt = z.infer<typeof HarnessRefinerActivityReceiptSchema>;
770
+ export type HarnessRefinementCandidateStatus = z.infer<typeof HarnessRefinementCandidateStatusSchema>;
771
+ export type HarnessRefinementCandidate = z.infer<typeof HarnessRefinementCandidateSchema>;
772
+ export type HarnessRefinementCandidateLifecycleDecision = z.infer<typeof HarnessRefinementCandidateLifecycleDecisionSchema>;
773
+ export type HarnessRefinementCandidateLifecycleReceipt = z.infer<typeof HarnessRefinementCandidateLifecycleReceiptSchema>;
774
+ export type HarnessCrossRunRefinementRequest = z.infer<typeof HarnessCrossRunRefinementRequestSchema>;
775
+ //# sourceMappingURL=refinement-lifecycle.d.ts.map