@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 @@
1
+ {"version":3,"file":"refinement-lifecycle.d.ts","sourceRoot":"","sources":["../../../../src/refinement-lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmCxB,eAAO,MAAM,kCAAkC;;;;;;EAM7C,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;EAM7C,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;EAK/C,CAAC;AAEH,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyHnD,CAAC;AAEL,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGnC,CAAC;AAEd,eAAO,MAAM,sCAAsC;;;;;;EAMjD,CAAC;AAEH,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;kBAa5C,CAAC;AAEZ,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAwGhD,CAAC;AAEL,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGhC,CAAC;AAEd,eAAO,MAAM,iDAAiD;;;;;;;EAO5D,CAAC;AAEH,eAAO,MAAM,uDA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tD,GAAG,MAAM,CAOT;AAED,wBAAgB,sCAAsC,CACpD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,6CAA6C,CAAC,GACnE,gCAAgC,CAMlC;AAED,wBAAgB,sCAAsC,CACpD,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,gCAAgC,CAM3C;AAgGD,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,kCAAkC,CAC1C,CAAC;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAC;AACF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,gCAAgC,CACxC,CAAC;AACF,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAC/D,OAAO,iDAAiD,CACzD,CAAC;AACF,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAC9D,OAAO,gDAAgD,CACxD,CAAC;AACF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAC"}
@@ -0,0 +1,126 @@
1
+ import { z } from "zod";
2
+ export declare const RefinerProposalRouteSchema: z.ZodEnum<{
3
+ memory: "memory";
4
+ prompt: "prompt";
5
+ skill: "skill";
6
+ agent: "agent";
7
+ }>;
8
+ export declare const RefinerExternalRouteSchema: z.ZodEnum<{
9
+ runtime: "runtime";
10
+ product: "product";
11
+ taskset: "taskset";
12
+ training: "training";
13
+ }>;
14
+ export declare const RefinerReviewInstructionSchema: z.ZodObject<{
15
+ id: z.ZodString;
16
+ text: z.ZodString;
17
+ }, z.core.$strict>;
18
+ export declare const RefinerReviewProfileSchema: z.ZodObject<{
19
+ schemaVersion: z.ZodLiteral<"openpond.refinerReviewProfile.v1">;
20
+ id: z.ZodString;
21
+ version: z.ZodString;
22
+ name: z.ZodString;
23
+ objective: z.ZodString;
24
+ instructions: z.ZodArray<z.ZodObject<{
25
+ id: z.ZodString;
26
+ text: z.ZodString;
27
+ }, z.core.$strict>>;
28
+ allowedProposalRoutes: z.ZodArray<z.ZodEnum<{
29
+ memory: "memory";
30
+ prompt: "prompt";
31
+ skill: "skill";
32
+ agent: "agent";
33
+ }>>;
34
+ allowedExternalRoutes: z.ZodArray<z.ZodEnum<{
35
+ runtime: "runtime";
36
+ product: "product";
37
+ taskset: "taskset";
38
+ training: "training";
39
+ }>>;
40
+ }, z.core.$strict>;
41
+ export type RefinerReviewProfile = z.infer<typeof RefinerReviewProfileSchema>;
42
+ export declare const DEFAULT_REFINER_REVIEW_PROFILE: RefinerReviewProfile;
43
+ export declare const RefinerReleaseSchema: z.ZodObject<{
44
+ schemaVersion: z.ZodLiteral<"openpond.refinerRelease.v1">;
45
+ id: z.ZodString;
46
+ coreVersion: z.ZodString;
47
+ coreHash: z.ZodString;
48
+ profile: z.ZodObject<{
49
+ schemaVersion: z.ZodLiteral<"openpond.refinerReviewProfile.v1">;
50
+ id: z.ZodString;
51
+ version: z.ZodString;
52
+ name: z.ZodString;
53
+ objective: z.ZodString;
54
+ instructions: z.ZodArray<z.ZodObject<{
55
+ id: z.ZodString;
56
+ text: z.ZodString;
57
+ }, z.core.$strict>>;
58
+ allowedProposalRoutes: z.ZodArray<z.ZodEnum<{
59
+ memory: "memory";
60
+ prompt: "prompt";
61
+ skill: "skill";
62
+ agent: "agent";
63
+ }>>;
64
+ allowedExternalRoutes: z.ZodArray<z.ZodEnum<{
65
+ runtime: "runtime";
66
+ product: "product";
67
+ taskset: "taskset";
68
+ training: "training";
69
+ }>>;
70
+ }, z.core.$strict>;
71
+ profileHash: z.ZodString;
72
+ composedPromptHash: z.ZodString;
73
+ createdAt: z.ZodString;
74
+ contentHash: z.ZodString;
75
+ }, z.core.$strict>;
76
+ export type RefinerRelease = z.infer<typeof RefinerReleaseSchema>;
77
+ export declare const RefinerBindingSchema: z.ZodObject<{
78
+ schemaVersion: z.ZodLiteral<"openpond.refinerBinding.v1">;
79
+ channel: z.ZodLiteral<"active">;
80
+ revision: z.ZodNumber;
81
+ release: z.ZodObject<{
82
+ id: z.ZodString;
83
+ contentHash: z.ZodString;
84
+ }, z.core.$strict>;
85
+ updatedAt: z.ZodString;
86
+ }, z.core.$strict>;
87
+ export type RefinerBinding = z.infer<typeof RefinerBindingSchema>;
88
+ export declare const RefinerTransitionReceiptSchema: z.ZodObject<{
89
+ schemaVersion: z.ZodLiteral<"openpond.refinerTransitionReceipt.v1">;
90
+ id: z.ZodString;
91
+ operation: z.ZodEnum<{
92
+ rollback: "rollback";
93
+ update: "update";
94
+ initialize: "initialize";
95
+ activate: "activate";
96
+ }>;
97
+ bindingChanged: z.ZodBoolean;
98
+ previousRelease: z.ZodNullable<z.ZodObject<{
99
+ id: z.ZodString;
100
+ contentHash: z.ZodString;
101
+ }, z.core.$strict>>;
102
+ nextRelease: z.ZodObject<{
103
+ id: z.ZodString;
104
+ contentHash: z.ZodString;
105
+ }, z.core.$strict>;
106
+ actor: z.ZodString;
107
+ reason: z.ZodString;
108
+ authoringSkillHash: z.ZodNullable<z.ZodString>;
109
+ validation: z.ZodObject<{
110
+ valid: z.ZodBoolean;
111
+ messages: z.ZodArray<z.ZodString>;
112
+ }, z.core.$strict>;
113
+ createdAt: z.ZodString;
114
+ contentHash: z.ZodString;
115
+ }, z.core.$strict>;
116
+ export type RefinerTransitionReceipt = z.infer<typeof RefinerTransitionReceiptSchema>;
117
+ export declare function defineReviewProfile(profile: RefinerReviewProfile): RefinerReviewProfile;
118
+ export declare function createRefinerRelease(input: {
119
+ profile: RefinerReviewProfile;
120
+ coreVersion: string;
121
+ corePrompt: string;
122
+ createdAt?: string;
123
+ }): RefinerRelease;
124
+ export declare function refinerProfilePrompt(profile: RefinerReviewProfile): string;
125
+ export declare function serializeReviewProfile(profile: RefinerReviewProfile): string;
126
+ //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ED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,oBAAoB,GAAG,MAAM,CAS1E;AAED,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,oBAAoB,GAAG,MAAM,CAE5E"}
@@ -1,4 +1,6 @@
1
1
  import { z } from "zod";
2
+ import { type RefinerReviewProfile } from "./refiner-profiles.js";
3
+ export * from "./refiner-profiles.js";
2
4
  export type HarnessRefinerMessage = {
3
5
  role: "system" | "user" | "assistant";
4
6
  content: string;
@@ -42,38 +44,284 @@ export declare const LocalHarnessRefinerDecisionSchema: z.ZodDiscriminatedUnion<
42
44
  reason: z.ZodString;
43
45
  }, z.core.$strip>], "decision">;
44
46
  export type LocalHarnessRefinerDecision = z.infer<typeof LocalHarnessRefinerDecisionSchema>;
47
+ export declare const LocalHarnessRefinerDecisionV1Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
48
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v1">;
49
+ decision: z.ZodLiteral<"no_action">;
50
+ reason: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v1">;
53
+ decision: z.ZodLiteral<"route">;
54
+ route: z.ZodEnum<{
55
+ runtime: "runtime";
56
+ product: "product";
57
+ taskset: "taskset";
58
+ training: "training";
59
+ }>;
60
+ summary: z.ZodString;
61
+ expectedOutcome: z.ZodString;
62
+ reason: z.ZodString;
63
+ }, z.core.$strip>, z.ZodObject<{
64
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v1">;
65
+ decision: z.ZodLiteral<"propose">;
66
+ route: z.ZodEnum<{
67
+ memory: "memory";
68
+ prompt: "prompt";
69
+ skill: "skill";
70
+ agent: "agent";
71
+ }>;
72
+ operation: z.ZodEnum<{
73
+ create: "create";
74
+ update: "update";
75
+ delete: "delete";
76
+ }>;
77
+ target: z.ZodString;
78
+ summary: z.ZodString;
79
+ createContent: z.ZodNullable<z.ZodString>;
80
+ find: z.ZodNullable<z.ZodString>;
81
+ replace: z.ZodNullable<z.ZodString>;
82
+ expectedOutcome: z.ZodString;
83
+ reason: z.ZodString;
84
+ }, z.core.$strip>], "decision">;
85
+ export declare const HarnessRefinerEvidenceBasisSchema: z.ZodObject<{
86
+ kind: z.ZodEnum<{
87
+ single_deterministic: "single_deterministic";
88
+ recurrent_independent: "recurrent_independent";
89
+ }>;
90
+ supportingEvidenceIds: z.ZodArray<z.ZodString>;
91
+ counterevidence: z.ZodArray<z.ZodString>;
92
+ }, z.core.$strict>;
93
+ export declare const LocalHarnessRefinerDecisionV2Schema: z.ZodDiscriminatedUnion<[z.ZodObject<{
94
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v2">;
95
+ decision: z.ZodLiteral<"no_action">;
96
+ reason: z.ZodString;
97
+ }, z.core.$strict>, z.ZodObject<{
98
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v2">;
99
+ decision: z.ZodLiteral<"route">;
100
+ route: z.ZodEnum<{
101
+ runtime: "runtime";
102
+ product: "product";
103
+ taskset: "taskset";
104
+ training: "training";
105
+ }>;
106
+ summary: z.ZodString;
107
+ evidenceBasis: z.ZodObject<{
108
+ kind: z.ZodEnum<{
109
+ single_deterministic: "single_deterministic";
110
+ recurrent_independent: "recurrent_independent";
111
+ }>;
112
+ supportingEvidenceIds: z.ZodArray<z.ZodString>;
113
+ counterevidence: z.ZodArray<z.ZodString>;
114
+ }, z.core.$strict>;
115
+ expectedOutcome: z.ZodString;
116
+ reason: z.ZodString;
117
+ }, z.core.$strict>, z.ZodObject<{
118
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v2">;
119
+ decision: z.ZodLiteral<"propose">;
120
+ route: z.ZodEnum<{
121
+ memory: "memory";
122
+ prompt: "prompt";
123
+ skill: "skill";
124
+ agent: "agent";
125
+ }>;
126
+ operation: z.ZodEnum<{
127
+ create: "create";
128
+ update: "update";
129
+ delete: "delete";
130
+ }>;
131
+ target: z.ZodString;
132
+ summary: z.ZodString;
133
+ evidenceBasis: z.ZodObject<{
134
+ kind: z.ZodEnum<{
135
+ single_deterministic: "single_deterministic";
136
+ recurrent_independent: "recurrent_independent";
137
+ }>;
138
+ supportingEvidenceIds: z.ZodArray<z.ZodString>;
139
+ counterevidence: z.ZodArray<z.ZodString>;
140
+ }, z.core.$strict>;
141
+ createContent: z.ZodNullable<z.ZodString>;
142
+ find: z.ZodNullable<z.ZodString>;
143
+ replace: z.ZodNullable<z.ZodString>;
144
+ expectedOutcome: z.ZodString;
145
+ reason: z.ZodString;
146
+ }, z.core.$strict>], "decision">;
147
+ export declare const LocalHarnessRefinerDecisionAnySchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
148
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v1">;
149
+ decision: z.ZodLiteral<"no_action">;
150
+ reason: z.ZodString;
151
+ }, z.core.$strip>, z.ZodObject<{
152
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v1">;
153
+ decision: z.ZodLiteral<"route">;
154
+ route: z.ZodEnum<{
155
+ runtime: "runtime";
156
+ product: "product";
157
+ taskset: "taskset";
158
+ training: "training";
159
+ }>;
160
+ summary: z.ZodString;
161
+ expectedOutcome: z.ZodString;
162
+ reason: z.ZodString;
163
+ }, z.core.$strip>, z.ZodObject<{
164
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v1">;
165
+ decision: z.ZodLiteral<"propose">;
166
+ route: z.ZodEnum<{
167
+ memory: "memory";
168
+ prompt: "prompt";
169
+ skill: "skill";
170
+ agent: "agent";
171
+ }>;
172
+ operation: z.ZodEnum<{
173
+ create: "create";
174
+ update: "update";
175
+ delete: "delete";
176
+ }>;
177
+ target: z.ZodString;
178
+ summary: z.ZodString;
179
+ createContent: z.ZodNullable<z.ZodString>;
180
+ find: z.ZodNullable<z.ZodString>;
181
+ replace: z.ZodNullable<z.ZodString>;
182
+ expectedOutcome: z.ZodString;
183
+ reason: z.ZodString;
184
+ }, z.core.$strip>], "decision">, z.ZodDiscriminatedUnion<[z.ZodObject<{
185
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v2">;
186
+ decision: z.ZodLiteral<"no_action">;
187
+ reason: z.ZodString;
188
+ }, z.core.$strict>, z.ZodObject<{
189
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v2">;
190
+ decision: z.ZodLiteral<"route">;
191
+ route: z.ZodEnum<{
192
+ runtime: "runtime";
193
+ product: "product";
194
+ taskset: "taskset";
195
+ training: "training";
196
+ }>;
197
+ summary: z.ZodString;
198
+ evidenceBasis: z.ZodObject<{
199
+ kind: z.ZodEnum<{
200
+ single_deterministic: "single_deterministic";
201
+ recurrent_independent: "recurrent_independent";
202
+ }>;
203
+ supportingEvidenceIds: z.ZodArray<z.ZodString>;
204
+ counterevidence: z.ZodArray<z.ZodString>;
205
+ }, z.core.$strict>;
206
+ expectedOutcome: z.ZodString;
207
+ reason: z.ZodString;
208
+ }, z.core.$strict>, z.ZodObject<{
209
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v2">;
210
+ decision: z.ZodLiteral<"propose">;
211
+ route: z.ZodEnum<{
212
+ memory: "memory";
213
+ prompt: "prompt";
214
+ skill: "skill";
215
+ agent: "agent";
216
+ }>;
217
+ operation: z.ZodEnum<{
218
+ create: "create";
219
+ update: "update";
220
+ delete: "delete";
221
+ }>;
222
+ target: z.ZodString;
223
+ summary: z.ZodString;
224
+ evidenceBasis: z.ZodObject<{
225
+ kind: z.ZodEnum<{
226
+ single_deterministic: "single_deterministic";
227
+ recurrent_independent: "recurrent_independent";
228
+ }>;
229
+ supportingEvidenceIds: z.ZodArray<z.ZodString>;
230
+ counterevidence: z.ZodArray<z.ZodString>;
231
+ }, z.core.$strict>;
232
+ createContent: z.ZodNullable<z.ZodString>;
233
+ find: z.ZodNullable<z.ZodString>;
234
+ replace: z.ZodNullable<z.ZodString>;
235
+ expectedOutcome: z.ZodString;
236
+ reason: z.ZodString;
237
+ }, z.core.$strict>], "decision">]>;
238
+ export type HarnessRefinerEvidenceBasis = z.infer<typeof HarnessRefinerEvidenceBasisSchema>;
239
+ export type LocalHarnessRefinerDecisionV2 = z.infer<typeof LocalHarnessRefinerDecisionV2Schema>;
240
+ export type LocalHarnessRefinerDecisionAny = z.infer<typeof LocalHarnessRefinerDecisionAnySchema>;
241
+ export declare const HarnessRefinerCapabilitiesSchema: z.ZodObject<{
242
+ memory: z.ZodBoolean;
243
+ prompt: z.ZodBoolean;
244
+ skill: z.ZodBoolean;
245
+ agent: z.ZodBoolean;
246
+ }, z.core.$strict>;
247
+ export type HarnessRefinerCapabilities = z.infer<typeof HarnessRefinerCapabilitiesSchema>;
45
248
  export declare const LocalHarnessRefinerEvidenceSchema: z.ZodObject<{
249
+ capabilities: z.ZodObject<{
250
+ memory: z.ZodBoolean;
251
+ prompt: z.ZodBoolean;
252
+ skill: z.ZodBoolean;
253
+ agent: z.ZodBoolean;
254
+ }, z.core.$strict>;
46
255
  trigger: z.ZodRecord<z.ZodString, z.ZodUnknown>;
47
256
  observations: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
48
- task: z.ZodObject<{
49
- prompt: z.ZodNullable<z.ZodString>;
50
- assistantOutput: z.ZodNullable<z.ZodString>;
51
- assistantOutputLinkCount: z.ZodNumber;
52
- previousAssistantOutput: z.ZodNullable<z.ZodString>;
257
+ admissibleEvidenceIds: z.ZodArray<z.ZodString>;
258
+ reviewPacket: z.ZodObject<{
259
+ currentTurn: z.ZodObject<{
260
+ id: z.ZodString;
261
+ status: z.ZodNullable<z.ZodString>;
262
+ error: z.ZodNullable<z.ZodString>;
263
+ prompt: z.ZodNullable<z.ZodString>;
264
+ assistantOutput: z.ZodNullable<z.ZodString>;
265
+ assistantOutputLinkCount: z.ZodNumber;
266
+ }, z.core.$strict>;
267
+ priorConversation: z.ZodArray<z.ZodObject<{
268
+ turnId: z.ZodString;
269
+ status: z.ZodNullable<z.ZodString>;
270
+ prompt: z.ZodNullable<z.ZodString>;
271
+ assistantOutput: z.ZodNullable<z.ZodString>;
272
+ }, z.core.$strict>>;
273
+ timeline: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
274
+ artifacts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
275
+ artifactDiagnostics: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
276
+ executionProfile: z.ZodObject<{
277
+ modelRequestCount: z.ZodNumber;
278
+ failedModelRequestCount: z.ZodNumber;
279
+ promptTokens: z.ZodNumber;
280
+ completionTokens: z.ZodNumber;
281
+ totalTokens: z.ZodNumber;
282
+ toolFailureCount: z.ZodNumber;
283
+ retryCount: z.ZodNumber;
284
+ recoveryCount: z.ZodNumber;
285
+ }, z.core.$strict>;
286
+ priorIncidents: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
287
+ truncation: z.ZodObject<{
288
+ timelineEventCount: z.ZodNumber;
289
+ includedTimelineEventCount: z.ZodNumber;
290
+ timelineTruncated: z.ZodBoolean;
291
+ }, z.core.$strict>;
53
292
  }, z.core.$strict>;
54
- eventExcerpts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
55
- artifactDiagnostics: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
56
- executionProfile: z.ZodObject<{
57
- modelRequestCount: z.ZodNumber;
58
- failedModelRequestCount: z.ZodNumber;
59
- promptTokens: z.ZodNumber;
60
- completionTokens: z.ZodNumber;
61
- totalTokens: z.ZodNumber;
62
- toolFailureCount: z.ZodNumber;
63
- retryCount: z.ZodNumber;
64
- recoveryCount: z.ZodNumber;
293
+ runtimeActivation: z.ZodObject<{
294
+ admittedRelease: z.ZodObject<{
295
+ id: z.ZodString;
296
+ contentHash: z.ZodString;
297
+ }, z.core.$strict>;
298
+ currentRelease: z.ZodObject<{
299
+ id: z.ZodString;
300
+ contentHash: z.ZodString;
301
+ }, z.core.$strict>;
302
+ rebasedOntoCurrent: z.ZodBoolean;
303
+ admittedSourceFiles: z.ZodArray<z.ZodObject<{
304
+ path: z.ZodString;
305
+ kind: z.ZodEnum<{
306
+ memory: "memory";
307
+ skill: "skill";
308
+ agent: "agent";
309
+ instruction: "instruction";
310
+ }>;
311
+ content: z.ZodString;
312
+ loaded: z.ZodBoolean;
313
+ }, z.core.$strict>>;
314
+ admittedSourceCatalog: z.ZodArray<z.ZodObject<{
315
+ path: z.ZodString;
316
+ kind: z.ZodEnum<{
317
+ memory: "memory";
318
+ skill: "skill";
319
+ agent: "agent";
320
+ instruction: "instruction";
321
+ }>;
322
+ loaded: z.ZodBoolean;
323
+ }, z.core.$strict>>;
65
324
  }, z.core.$strict>;
66
- recentObservations: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
67
- recentOutcomes: z.ZodArray<z.ZodObject<{
68
- id: z.ZodString;
69
- decision: z.ZodEnum<{
70
- no_action: "no_action";
71
- proposed: "proposed";
72
- }>;
73
- reason: z.ZodString;
74
- createdAt: z.ZodString;
75
- triggerId: z.ZodString;
76
- }, z.core.$strict>>;
77
325
  sourceFiles: z.ZodArray<z.ZodObject<{
78
326
  path: z.ZodString;
79
327
  kind: z.ZodEnum<{
@@ -106,15 +354,22 @@ export type LocalHarnessRefinerModelStream = (input: {
106
354
  }>;
107
355
  export declare const DEFAULT_REFINER_TIMEOUT_MS = 60000;
108
356
  export declare const DEFAULT_REFINER_MAX_OUTPUT_TOKENS = 1200;
357
+ export declare const REFINER_CORE_VERSION = "openpond.refinerCore.v2";
109
358
  export declare function authorLocalHarnessRefinementWithModel(input: {
110
359
  evidence: LocalHarnessRefinerEvidence;
111
360
  stream: LocalHarnessRefinerModelStream;
112
361
  signal: AbortSignal;
113
362
  timeoutMs?: number;
114
- }): Promise<LocalHarnessRefinerDecision>;
115
- export declare function refinerMessages(evidence: LocalHarnessRefinerEvidence): HarnessRefinerMessage[];
363
+ reviewProfile?: RefinerReviewProfile;
364
+ }): Promise<LocalHarnessRefinerDecisionV2>;
365
+ export declare function admitRefinerProfileDecision(decision: LocalHarnessRefinerDecisionV2, profile: RefinerReviewProfile): LocalHarnessRefinerDecisionV2;
366
+ export declare function refinerMessages(evidence: LocalHarnessRefinerEvidence, reviewProfile?: RefinerReviewProfile): HarnessRefinerMessage[];
367
+ export declare function admitLocalHarnessRefinerDecision(input: {
368
+ decision: LocalHarnessRefinerDecisionV2;
369
+ evidence: LocalHarnessRefinerEvidence;
370
+ }): LocalHarnessRefinerDecisionV2;
116
371
  export declare const HostedHarnessRefinerRequestSchema: z.ZodObject<{
117
- schemaVersion: z.ZodLiteral<"openpond.hostedHarnessRefinerRequest.v1">;
372
+ schemaVersion: z.ZodLiteral<"openpond.hostedHarnessRefinerRequest.v2">;
118
373
  requestId: z.ZodString;
119
374
  idempotencyKey: z.ZodString;
120
375
  evidenceHash: z.ZodString;
@@ -146,37 +401,82 @@ export declare const HostedHarnessRefinerRequestSchema: z.ZodObject<{
146
401
  }, z.core.$strict>;
147
402
  }, z.core.$strict>;
148
403
  evidence: z.ZodObject<{
404
+ capabilities: z.ZodObject<{
405
+ memory: z.ZodBoolean;
406
+ prompt: z.ZodBoolean;
407
+ skill: z.ZodBoolean;
408
+ agent: z.ZodBoolean;
409
+ }, z.core.$strict>;
149
410
  trigger: z.ZodRecord<z.ZodString, z.ZodUnknown>;
150
411
  observations: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
151
- task: z.ZodObject<{
152
- prompt: z.ZodNullable<z.ZodString>;
153
- assistantOutput: z.ZodNullable<z.ZodString>;
154
- assistantOutputLinkCount: z.ZodNumber;
155
- previousAssistantOutput: z.ZodNullable<z.ZodString>;
412
+ admissibleEvidenceIds: z.ZodArray<z.ZodString>;
413
+ reviewPacket: z.ZodObject<{
414
+ currentTurn: z.ZodObject<{
415
+ id: z.ZodString;
416
+ status: z.ZodNullable<z.ZodString>;
417
+ error: z.ZodNullable<z.ZodString>;
418
+ prompt: z.ZodNullable<z.ZodString>;
419
+ assistantOutput: z.ZodNullable<z.ZodString>;
420
+ assistantOutputLinkCount: z.ZodNumber;
421
+ }, z.core.$strict>;
422
+ priorConversation: z.ZodArray<z.ZodObject<{
423
+ turnId: z.ZodString;
424
+ status: z.ZodNullable<z.ZodString>;
425
+ prompt: z.ZodNullable<z.ZodString>;
426
+ assistantOutput: z.ZodNullable<z.ZodString>;
427
+ }, z.core.$strict>>;
428
+ timeline: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
429
+ artifacts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
430
+ artifactDiagnostics: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
431
+ executionProfile: z.ZodObject<{
432
+ modelRequestCount: z.ZodNumber;
433
+ failedModelRequestCount: z.ZodNumber;
434
+ promptTokens: z.ZodNumber;
435
+ completionTokens: z.ZodNumber;
436
+ totalTokens: z.ZodNumber;
437
+ toolFailureCount: z.ZodNumber;
438
+ retryCount: z.ZodNumber;
439
+ recoveryCount: z.ZodNumber;
440
+ }, z.core.$strict>;
441
+ priorIncidents: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
442
+ truncation: z.ZodObject<{
443
+ timelineEventCount: z.ZodNumber;
444
+ includedTimelineEventCount: z.ZodNumber;
445
+ timelineTruncated: z.ZodBoolean;
446
+ }, z.core.$strict>;
156
447
  }, z.core.$strict>;
157
- eventExcerpts: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
158
- artifactDiagnostics: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
159
- executionProfile: z.ZodObject<{
160
- modelRequestCount: z.ZodNumber;
161
- failedModelRequestCount: z.ZodNumber;
162
- promptTokens: z.ZodNumber;
163
- completionTokens: z.ZodNumber;
164
- totalTokens: z.ZodNumber;
165
- toolFailureCount: z.ZodNumber;
166
- retryCount: z.ZodNumber;
167
- recoveryCount: z.ZodNumber;
448
+ runtimeActivation: z.ZodObject<{
449
+ admittedRelease: z.ZodObject<{
450
+ id: z.ZodString;
451
+ contentHash: z.ZodString;
452
+ }, z.core.$strict>;
453
+ currentRelease: z.ZodObject<{
454
+ id: z.ZodString;
455
+ contentHash: z.ZodString;
456
+ }, z.core.$strict>;
457
+ rebasedOntoCurrent: z.ZodBoolean;
458
+ admittedSourceFiles: z.ZodArray<z.ZodObject<{
459
+ path: z.ZodString;
460
+ kind: z.ZodEnum<{
461
+ memory: "memory";
462
+ skill: "skill";
463
+ agent: "agent";
464
+ instruction: "instruction";
465
+ }>;
466
+ content: z.ZodString;
467
+ loaded: z.ZodBoolean;
468
+ }, z.core.$strict>>;
469
+ admittedSourceCatalog: z.ZodArray<z.ZodObject<{
470
+ path: z.ZodString;
471
+ kind: z.ZodEnum<{
472
+ memory: "memory";
473
+ skill: "skill";
474
+ agent: "agent";
475
+ instruction: "instruction";
476
+ }>;
477
+ loaded: z.ZodBoolean;
478
+ }, z.core.$strict>>;
168
479
  }, z.core.$strict>;
169
- recentObservations: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
170
- recentOutcomes: z.ZodArray<z.ZodObject<{
171
- id: z.ZodString;
172
- decision: z.ZodEnum<{
173
- no_action: "no_action";
174
- proposed: "proposed";
175
- }>;
176
- reason: z.ZodString;
177
- createdAt: z.ZodString;
178
- triggerId: z.ZodString;
179
- }, z.core.$strict>>;
180
480
  sourceFiles: z.ZodArray<z.ZodObject<{
181
481
  path: z.ZodString;
182
482
  kind: z.ZodEnum<{
@@ -203,7 +503,7 @@ export declare const HostedHarnessRefinerRequestSchema: z.ZodObject<{
203
503
  }, z.core.$strict>;
204
504
  export type HostedHarnessRefinerRequest = z.infer<typeof HostedHarnessRefinerRequestSchema>;
205
505
  export declare const HostedHarnessRefinerResponseSchema: z.ZodObject<{
206
- schemaVersion: z.ZodLiteral<"openpond.hostedHarnessRefinerResponse.v1">;
506
+ schemaVersion: z.ZodLiteral<"openpond.hostedHarnessRefinerResponse.v2">;
207
507
  requestId: z.ZodString;
208
508
  evidenceHash: z.ZodString;
209
509
  admittedRelease: z.ZodObject<{
@@ -215,11 +515,11 @@ export declare const HostedHarnessRefinerResponseSchema: z.ZodObject<{
215
515
  contentHash: z.ZodString;
216
516
  }, z.core.$strict>;
217
517
  decision: z.ZodDiscriminatedUnion<[z.ZodObject<{
218
- schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v1">;
518
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v2">;
219
519
  decision: z.ZodLiteral<"no_action">;
220
520
  reason: z.ZodString;
221
- }, z.core.$strip>, z.ZodObject<{
222
- schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v1">;
521
+ }, z.core.$strict>, z.ZodObject<{
522
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v2">;
223
523
  decision: z.ZodLiteral<"route">;
224
524
  route: z.ZodEnum<{
225
525
  runtime: "runtime";
@@ -228,10 +528,18 @@ export declare const HostedHarnessRefinerResponseSchema: z.ZodObject<{
228
528
  training: "training";
229
529
  }>;
230
530
  summary: z.ZodString;
531
+ evidenceBasis: z.ZodObject<{
532
+ kind: z.ZodEnum<{
533
+ single_deterministic: "single_deterministic";
534
+ recurrent_independent: "recurrent_independent";
535
+ }>;
536
+ supportingEvidenceIds: z.ZodArray<z.ZodString>;
537
+ counterevidence: z.ZodArray<z.ZodString>;
538
+ }, z.core.$strict>;
231
539
  expectedOutcome: z.ZodString;
232
540
  reason: z.ZodString;
233
- }, z.core.$strip>, z.ZodObject<{
234
- schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v1">;
541
+ }, z.core.$strict>, z.ZodObject<{
542
+ schemaVersion: z.ZodLiteral<"openpond.localHarnessRefinerDecision.v2">;
235
543
  decision: z.ZodLiteral<"propose">;
236
544
  route: z.ZodEnum<{
237
545
  memory: "memory";
@@ -246,12 +554,20 @@ export declare const HostedHarnessRefinerResponseSchema: z.ZodObject<{
246
554
  }>;
247
555
  target: z.ZodString;
248
556
  summary: z.ZodString;
557
+ evidenceBasis: z.ZodObject<{
558
+ kind: z.ZodEnum<{
559
+ single_deterministic: "single_deterministic";
560
+ recurrent_independent: "recurrent_independent";
561
+ }>;
562
+ supportingEvidenceIds: z.ZodArray<z.ZodString>;
563
+ counterevidence: z.ZodArray<z.ZodString>;
564
+ }, z.core.$strict>;
249
565
  createContent: z.ZodNullable<z.ZodString>;
250
566
  find: z.ZodNullable<z.ZodString>;
251
567
  replace: z.ZodNullable<z.ZodString>;
252
568
  expectedOutcome: z.ZodString;
253
569
  reason: z.ZodString;
254
- }, z.core.$strip>], "decision">;
570
+ }, z.core.$strict>], "decision">;
255
571
  serviceRevision: z.ZodString;
256
572
  usage: z.ZodObject<{
257
573
  promptTokens: z.ZodNumber;
@@ -1 +1 @@
1
- {"version":3,"file":"refiner.d.ts","sourceRoot":"","sources":["../../../../src/refiner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC;IACtC,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAqEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAI5C,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AAIF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmEnC,CAAC;AAEZ,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,CAAC,KAAK,EAAE;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