@vibesdotdev/traversal 0.0.0-stage → 1.0.0-rc.1

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 (52) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +2 -2
  3. package/dist/execution-schemas.d.ts +2373 -0
  4. package/dist/execution-schemas.d.ts.map +1 -0
  5. package/dist/execution-schemas.js +102 -0
  6. package/dist/execution-schemas.js.map +1 -0
  7. package/dist/graph-schemas.d.ts +17 -0
  8. package/dist/graph-schemas.d.ts.map +1 -0
  9. package/dist/graph-schemas.js +9 -0
  10. package/dist/graph-schemas.js.map +1 -0
  11. package/dist/index.d.ts +4 -0
  12. package/dist/index.d.ts.map +1 -0
  13. package/dist/index.js +4 -0
  14. package/dist/index.js.map +1 -0
  15. package/dist/plugin.d.ts +3 -0
  16. package/dist/plugin.d.ts.map +1 -0
  17. package/dist/plugin.js +23 -0
  18. package/dist/plugin.js.map +1 -0
  19. package/dist/schemas.d.ts +60 -0
  20. package/dist/schemas.d.ts.map +1 -0
  21. package/dist/schemas.js +11 -0
  22. package/dist/schemas.js.map +1 -0
  23. package/dist/strategies.d.ts +16 -0
  24. package/dist/strategies.d.ts.map +1 -0
  25. package/dist/strategies.js +76 -0
  26. package/dist/strategies.js.map +1 -0
  27. package/dist/svelte/GraphRunSection.svelte +56 -0
  28. package/dist/svelte/GraphRunSection.svelte.d.ts +8 -0
  29. package/dist/svelte/GraphRunSection.svelte.d.ts.map +1 -0
  30. package/dist/svelte/GraphRunView.svelte +222 -0
  31. package/dist/svelte/GraphRunView.svelte.d.ts +11 -0
  32. package/dist/svelte/GraphRunView.svelte.d.ts.map +1 -0
  33. package/dist/svelte/index.d.ts +3 -0
  34. package/dist/svelte/index.d.ts.map +1 -0
  35. package/dist/svelte/index.js +2 -0
  36. package/dist/tracking/index.d.ts +2 -0
  37. package/dist/tracking/index.d.ts.map +1 -0
  38. package/dist/tracking/index.js +2 -0
  39. package/dist/tracking/index.js.map +1 -0
  40. package/dist/tracking/selected-traversal.d.ts +9 -0
  41. package/dist/tracking/selected-traversal.d.ts.map +1 -0
  42. package/dist/tracking/selected-traversal.js +40 -0
  43. package/dist/tracking/selected-traversal.js.map +1 -0
  44. package/dist/tracking/traversal-view.d.ts +68 -0
  45. package/dist/tracking/traversal-view.d.ts.map +1 -0
  46. package/dist/tracking/traversal-view.js +253 -0
  47. package/dist/tracking/traversal-view.js.map +1 -0
  48. package/dist/tracking-schemas.d.ts +56 -0
  49. package/dist/tracking-schemas.d.ts.map +1 -0
  50. package/dist/tracking-schemas.js +33 -0
  51. package/dist/tracking-schemas.js.map +1 -0
  52. package/package.json +86 -4
@@ -0,0 +1,2373 @@
1
+ /** Neutral persisted graph results; scheduling remains owned by Runbooks and Workers. */
2
+ import * as z from 'zod/v4';
3
+ import { RunnableAttemptSchema as TraversalAttemptSchema } from '@vibesdotdev/runnable/schemas/runs';
4
+ export declare const GraphPlanSchema: z.ZodObject<{
5
+ tiers: z.ZodArray<z.ZodArray<z.ZodArray<z.ZodString>>>;
6
+ cycles: z.ZodArray<z.ZodArray<z.ZodString>>;
7
+ }, z.core.$strip>;
8
+ export type GraphPlan = z.infer<typeof GraphPlanSchema>;
9
+ export declare const NodeOutcomeSchema: z.ZodObject<{
10
+ id: z.ZodString;
11
+ tier: z.ZodNumber;
12
+ status: z.ZodEnum<{
13
+ failed: "failed";
14
+ skipped: "skipped";
15
+ succeeded: "succeeded";
16
+ }>;
17
+ output: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
18
+ failure: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
19
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
+ parent: z.ZodOptional<z.ZodString>;
21
+ }, z.core.$strip>;
22
+ export type NodeOutcome = z.infer<typeof NodeOutcomeSchema>;
23
+ /** A failed node's recorded facts: a typed refusal's code, reason, message and details, or a failure's value-free name. */
24
+ export declare const NodeFailureFactsSchema: z.ZodObject<{
25
+ name: z.ZodString;
26
+ code: z.ZodOptional<z.ZodString>;
27
+ reason: z.ZodOptional<z.ZodString>;
28
+ message: z.ZodOptional<z.ZodString>;
29
+ details: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
30
+ }, z.core.$strip>;
31
+ export type NodeFailureFacts = z.infer<typeof NodeFailureFactsSchema>;
32
+ export declare const GraphExecutionSchema: z.ZodObject<{
33
+ plan: z.ZodObject<{
34
+ tiers: z.ZodArray<z.ZodArray<z.ZodArray<z.ZodString>>>;
35
+ cycles: z.ZodArray<z.ZodArray<z.ZodString>>;
36
+ }, z.core.$strip>;
37
+ outcomes: z.ZodArray<z.ZodObject<{
38
+ id: z.ZodString;
39
+ tier: z.ZodNumber;
40
+ status: z.ZodEnum<{
41
+ failed: "failed";
42
+ skipped: "skipped";
43
+ succeeded: "succeeded";
44
+ }>;
45
+ output: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
46
+ failure: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
47
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
48
+ parent: z.ZodOptional<z.ZodString>;
49
+ }, z.core.$strip>>;
50
+ tierReports: z.ZodDefault<z.ZodArray<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>>;
51
+ stopped: z.ZodDefault<z.ZodBoolean>;
52
+ }, z.core.$strip>;
53
+ /** What graph-execute hands its after-tier hook. */
54
+ export declare const TierHookInputSchema: z.ZodObject<{
55
+ tier: z.ZodNumber;
56
+ nodes: z.ZodArray<z.ZodObject<{
57
+ id: z.ZodString;
58
+ data: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
59
+ }, z.core.$strip>>;
60
+ outcomes: z.ZodArray<z.ZodObject<{
61
+ id: z.ZodString;
62
+ tier: z.ZodNumber;
63
+ status: z.ZodEnum<{
64
+ failed: "failed";
65
+ skipped: "skipped";
66
+ succeeded: "succeeded";
67
+ }>;
68
+ output: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
69
+ failure: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
70
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ parent: z.ZodOptional<z.ZodString>;
72
+ }, z.core.$strip>>;
73
+ previous: z.ZodDefault<z.ZodObject<{
74
+ nodes: z.ZodArray<z.ZodObject<{
75
+ id: z.ZodString;
76
+ data: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
77
+ }, z.core.$strip>>;
78
+ outcomes: z.ZodArray<z.ZodObject<{
79
+ id: z.ZodString;
80
+ tier: z.ZodNumber;
81
+ status: z.ZodEnum<{
82
+ failed: "failed";
83
+ skipped: "skipped";
84
+ succeeded: "succeeded";
85
+ }>;
86
+ output: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
87
+ failure: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
88
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
89
+ parent: z.ZodOptional<z.ZodString>;
90
+ }, z.core.$strip>>;
91
+ }, z.core.$strip>>;
92
+ reports: z.ZodArray<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
93
+ input: z.ZodNullable<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
94
+ }, z.core.$strip>;
95
+ /** What an after-tier hook returns: the tier's outcomes (replacing those it ran with), whether to stop, a report to keep. */
96
+ export declare const TierHookResultSchema: z.ZodObject<{
97
+ outcomes: z.ZodArray<z.ZodObject<{
98
+ id: z.ZodString;
99
+ tier: z.ZodNumber;
100
+ status: z.ZodEnum<{
101
+ failed: "failed";
102
+ skipped: "skipped";
103
+ succeeded: "succeeded";
104
+ }>;
105
+ output: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
106
+ failure: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
107
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
108
+ parent: z.ZodOptional<z.ZodString>;
109
+ }, z.core.$strip>>;
110
+ updates: z.ZodDefault<z.ZodArray<z.ZodObject<{
111
+ id: z.ZodString;
112
+ tier: z.ZodNumber;
113
+ status: z.ZodEnum<{
114
+ failed: "failed";
115
+ skipped: "skipped";
116
+ succeeded: "succeeded";
117
+ }>;
118
+ output: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
119
+ failure: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
120
+ blockedBy: z.ZodOptional<z.ZodArray<z.ZodString>>;
121
+ parent: z.ZodOptional<z.ZodString>;
122
+ }, z.core.$strip>>>;
123
+ stop: z.ZodDefault<z.ZodBoolean>;
124
+ report: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
125
+ }, z.core.$strip>;
126
+ export type GraphExecution = z.infer<typeof GraphExecutionSchema>;
127
+ export declare const GraphSummarySchema: z.ZodObject<{
128
+ total: z.ZodNumber;
129
+ succeeded: z.ZodNumber;
130
+ failed: z.ZodNumber;
131
+ skipped: z.ZodNumber;
132
+ tiers: z.ZodNumber;
133
+ cycles: z.ZodArray<z.ZodArray<z.ZodString>>;
134
+ failedNodes: z.ZodArray<z.ZodString>;
135
+ skippedNodes: z.ZodArray<z.ZodString>;
136
+ }, z.core.$strip>;
137
+ export type GraphSummary = z.infer<typeof GraphSummarySchema>;
138
+ /** Runnable visit results, distinct from legacy GraphExecution's transport result array. */
139
+ export { TraversalAttemptSchema };
140
+ export type { RunnableAttempt as TraversalAttempt } from '@vibesdotdev/runnable/schemas/runs';
141
+ export declare const TraversalExecutionSchema: z.ZodObject<{
142
+ outcomes: z.ZodPipe<z.ZodCustom<Record<string, {
143
+ status: "done";
144
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
145
+ } | {
146
+ status: "not-done";
147
+ reason: string;
148
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
149
+ failure?: {
150
+ code: string;
151
+ message: string;
152
+ name?: string | undefined;
153
+ reason?: string | undefined;
154
+ retryable?: boolean | undefined;
155
+ recoveryHint?: string | undefined;
156
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
157
+ } | undefined;
158
+ } | {
159
+ status: "disputed";
160
+ why: string;
161
+ claims: {
162
+ id: string;
163
+ statement: string;
164
+ quote: {
165
+ link: {
166
+ kind: string;
167
+ id: string;
168
+ source: string;
169
+ role?: string | undefined;
170
+ };
171
+ scope: string;
172
+ revision: {
173
+ scheme: string;
174
+ value: string;
175
+ };
176
+ text: string;
177
+ anchor?: {
178
+ kind: "code";
179
+ path: string;
180
+ startLine: number;
181
+ endLine: number;
182
+ } | {
183
+ kind: "region";
184
+ start: number;
185
+ end: number;
186
+ } | {
187
+ kind: "fragment";
188
+ id: string;
189
+ } | {
190
+ kind: "heading";
191
+ slug: string;
192
+ } | undefined;
193
+ freshness?: {
194
+ modifiedAt?: string | undefined;
195
+ stale?: boolean | undefined;
196
+ } | undefined;
197
+ };
198
+ via: string[];
199
+ stale?: boolean | undefined;
200
+ }[];
201
+ } | {
202
+ status: "skipped";
203
+ reason: string;
204
+ cause: {
205
+ kind: "cancelled";
206
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
207
+ } | {
208
+ kind: "explicit";
209
+ } | {
210
+ kind: "dependency";
211
+ blockedBy: string[];
212
+ };
213
+ }>, Record<string, {
214
+ status: "done";
215
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
216
+ } | {
217
+ status: "not-done";
218
+ reason: string;
219
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
220
+ failure?: {
221
+ code: string;
222
+ message: string;
223
+ name?: string | undefined;
224
+ reason?: string | undefined;
225
+ retryable?: boolean | undefined;
226
+ recoveryHint?: string | undefined;
227
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
228
+ } | undefined;
229
+ } | {
230
+ status: "disputed";
231
+ why: string;
232
+ claims: {
233
+ id: string;
234
+ statement: string;
235
+ quote: {
236
+ link: {
237
+ kind: string;
238
+ id: string;
239
+ source: string;
240
+ role?: string | undefined;
241
+ };
242
+ scope: string;
243
+ revision: {
244
+ scheme: string;
245
+ value: string;
246
+ };
247
+ text: string;
248
+ anchor?: {
249
+ kind: "code";
250
+ path: string;
251
+ startLine: number;
252
+ endLine: number;
253
+ } | {
254
+ kind: "region";
255
+ start: number;
256
+ end: number;
257
+ } | {
258
+ kind: "fragment";
259
+ id: string;
260
+ } | {
261
+ kind: "heading";
262
+ slug: string;
263
+ } | undefined;
264
+ freshness?: {
265
+ modifiedAt?: string | undefined;
266
+ stale?: boolean | undefined;
267
+ } | undefined;
268
+ };
269
+ via: string[];
270
+ stale?: boolean | undefined;
271
+ }[];
272
+ } | {
273
+ status: "skipped";
274
+ reason: string;
275
+ cause: {
276
+ kind: "cancelled";
277
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
278
+ } | {
279
+ kind: "explicit";
280
+ } | {
281
+ kind: "dependency";
282
+ blockedBy: string[];
283
+ };
284
+ }>>, z.ZodTransform<{
285
+ [k: string]: {
286
+ status: "done";
287
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
288
+ } | {
289
+ status: "not-done";
290
+ reason: string;
291
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
292
+ failure?: {
293
+ code: string;
294
+ message: string;
295
+ name?: string | undefined;
296
+ reason?: string | undefined;
297
+ retryable?: boolean | undefined;
298
+ recoveryHint?: string | undefined;
299
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
300
+ } | undefined;
301
+ } | {
302
+ status: "disputed";
303
+ why: string;
304
+ claims: {
305
+ id: string;
306
+ statement: string;
307
+ quote: {
308
+ link: {
309
+ kind: string;
310
+ id: string;
311
+ source: string;
312
+ role: string;
313
+ };
314
+ scope: string;
315
+ revision: {
316
+ scheme: string;
317
+ value: string;
318
+ };
319
+ text: string;
320
+ anchor?: {
321
+ kind: "code";
322
+ path: string;
323
+ startLine: number;
324
+ endLine: number;
325
+ } | {
326
+ kind: "region";
327
+ start: number;
328
+ end: number;
329
+ } | {
330
+ kind: "fragment";
331
+ id: string;
332
+ } | {
333
+ kind: "heading";
334
+ slug: string;
335
+ } | undefined;
336
+ freshness?: {
337
+ modifiedAt?: string | undefined;
338
+ stale?: boolean | undefined;
339
+ } | undefined;
340
+ };
341
+ via: string[];
342
+ stale?: boolean | undefined;
343
+ }[];
344
+ } | {
345
+ status: "skipped";
346
+ reason: string;
347
+ cause: {
348
+ kind: "cancelled";
349
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
350
+ } | {
351
+ kind: "explicit";
352
+ } | {
353
+ kind: "dependency";
354
+ blockedBy: string[];
355
+ };
356
+ };
357
+ }, Record<string, {
358
+ status: "done";
359
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
360
+ } | {
361
+ status: "not-done";
362
+ reason: string;
363
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
364
+ failure?: {
365
+ code: string;
366
+ message: string;
367
+ name?: string | undefined;
368
+ reason?: string | undefined;
369
+ retryable?: boolean | undefined;
370
+ recoveryHint?: string | undefined;
371
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
372
+ } | undefined;
373
+ } | {
374
+ status: "disputed";
375
+ why: string;
376
+ claims: {
377
+ id: string;
378
+ statement: string;
379
+ quote: {
380
+ link: {
381
+ kind: string;
382
+ id: string;
383
+ source: string;
384
+ role?: string | undefined;
385
+ };
386
+ scope: string;
387
+ revision: {
388
+ scheme: string;
389
+ value: string;
390
+ };
391
+ text: string;
392
+ anchor?: {
393
+ kind: "code";
394
+ path: string;
395
+ startLine: number;
396
+ endLine: number;
397
+ } | {
398
+ kind: "region";
399
+ start: number;
400
+ end: number;
401
+ } | {
402
+ kind: "fragment";
403
+ id: string;
404
+ } | {
405
+ kind: "heading";
406
+ slug: string;
407
+ } | undefined;
408
+ freshness?: {
409
+ modifiedAt?: string | undefined;
410
+ stale?: boolean | undefined;
411
+ } | undefined;
412
+ };
413
+ via: string[];
414
+ stale?: boolean | undefined;
415
+ }[];
416
+ } | {
417
+ status: "skipped";
418
+ reason: string;
419
+ cause: {
420
+ kind: "cancelled";
421
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
422
+ } | {
423
+ kind: "explicit";
424
+ } | {
425
+ kind: "dependency";
426
+ blockedBy: string[];
427
+ };
428
+ }>>>;
429
+ tiers: z.ZodArray<z.ZodArray<z.ZodString>>;
430
+ blockedBy: z.ZodPipe<z.ZodCustom<Record<string, string[]>, Record<string, string[]>>, z.ZodTransform<{
431
+ [k: string]: string[];
432
+ }, Record<string, string[]>>>;
433
+ coordination: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
434
+ status: z.ZodLiteral<"done">;
435
+ value: z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>;
436
+ }, z.core.$strip>, z.ZodObject<{
437
+ status: z.ZodLiteral<"not-done">;
438
+ reason: z.ZodString;
439
+ value: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
440
+ failure: z.ZodOptional<z.ZodObject<{
441
+ name: z.ZodOptional<z.ZodString>;
442
+ code: z.ZodString;
443
+ reason: z.ZodOptional<z.ZodString>;
444
+ message: z.ZodString;
445
+ retryable: z.ZodOptional<z.ZodBoolean>;
446
+ recoveryHint: z.ZodOptional<z.ZodString>;
447
+ details: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
448
+ }, z.core.$strip>>;
449
+ }, z.core.$strip>, z.ZodObject<{
450
+ status: z.ZodLiteral<"disputed">;
451
+ why: z.ZodString;
452
+ claims: z.ZodArray<z.ZodObject<{
453
+ id: z.ZodString;
454
+ statement: z.ZodString;
455
+ quote: z.ZodObject<{
456
+ link: z.ZodObject<{
457
+ kind: z.ZodString;
458
+ id: z.ZodString;
459
+ source: z.ZodString;
460
+ role: z.ZodDefault<z.ZodString>;
461
+ }, z.core.$strip>;
462
+ scope: z.ZodString;
463
+ revision: z.ZodObject<{
464
+ scheme: z.ZodString;
465
+ value: z.ZodString;
466
+ }, z.core.$strip>;
467
+ anchor: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
468
+ kind: z.ZodLiteral<"code">;
469
+ path: z.ZodString;
470
+ startLine: z.ZodNumber;
471
+ endLine: z.ZodNumber;
472
+ }, z.core.$strip>, z.ZodObject<{
473
+ kind: z.ZodLiteral<"region">;
474
+ start: z.ZodNumber;
475
+ end: z.ZodNumber;
476
+ }, z.core.$strip>, z.ZodObject<{
477
+ kind: z.ZodLiteral<"fragment">;
478
+ id: z.ZodString;
479
+ }, z.core.$strip>, z.ZodObject<{
480
+ kind: z.ZodLiteral<"heading">;
481
+ slug: z.ZodString;
482
+ }, z.core.$strip>], "kind">>;
483
+ freshness: z.ZodOptional<z.ZodObject<{
484
+ modifiedAt: z.ZodOptional<z.ZodISODateTime>;
485
+ stale: z.ZodOptional<z.ZodBoolean>;
486
+ }, z.core.$strip>>;
487
+ text: z.ZodString;
488
+ }, z.core.$strip>;
489
+ via: z.ZodArray<z.ZodString>;
490
+ stale: z.ZodOptional<z.ZodBoolean>;
491
+ }, z.core.$strip>>;
492
+ }, z.core.$strip>, z.ZodObject<{
493
+ status: z.ZodLiteral<"skipped">;
494
+ reason: z.ZodString;
495
+ cause: z.ZodDiscriminatedUnion<[z.ZodObject<{
496
+ kind: z.ZodLiteral<"cancelled">;
497
+ provenance: z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>;
498
+ }, z.core.$strip>, z.ZodObject<{
499
+ kind: z.ZodLiteral<"explicit">;
500
+ }, z.core.$strip>, z.ZodObject<{
501
+ kind: z.ZodLiteral<"dependency">;
502
+ blockedBy: z.ZodArray<z.ZodString>;
503
+ }, z.core.$strip>], "kind">;
504
+ }, z.core.$strip>], "status">>;
505
+ failures: z.ZodDefault<z.ZodPipe<z.ZodCustom<Record<string, {
506
+ code: string;
507
+ message: string;
508
+ name?: string | undefined;
509
+ reason?: string | undefined;
510
+ retryable?: boolean | undefined;
511
+ recoveryHint?: string | undefined;
512
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
513
+ }>, Record<string, {
514
+ code: string;
515
+ message: string;
516
+ name?: string | undefined;
517
+ reason?: string | undefined;
518
+ retryable?: boolean | undefined;
519
+ recoveryHint?: string | undefined;
520
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
521
+ }>>, z.ZodTransform<{
522
+ [k: string]: {
523
+ code: string;
524
+ message: string;
525
+ name?: string | undefined;
526
+ reason?: string | undefined;
527
+ retryable?: boolean | undefined;
528
+ recoveryHint?: string | undefined;
529
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
530
+ };
531
+ }, Record<string, {
532
+ code: string;
533
+ message: string;
534
+ name?: string | undefined;
535
+ reason?: string | undefined;
536
+ retryable?: boolean | undefined;
537
+ recoveryHint?: string | undefined;
538
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
539
+ }>>>>;
540
+ attempts: z.ZodDefault<z.ZodPipe<z.ZodCustom<Record<string, {
541
+ attempt: number;
542
+ revision: number;
543
+ jobId: string | null;
544
+ outcome: {
545
+ status: "done";
546
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
547
+ } | {
548
+ status: "not-done";
549
+ reason: string;
550
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
551
+ failure?: {
552
+ code: string;
553
+ message: string;
554
+ name?: string | undefined;
555
+ reason?: string | undefined;
556
+ retryable?: boolean | undefined;
557
+ recoveryHint?: string | undefined;
558
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
559
+ } | undefined;
560
+ } | {
561
+ status: "disputed";
562
+ why: string;
563
+ claims: {
564
+ id: string;
565
+ statement: string;
566
+ quote: {
567
+ link: {
568
+ kind: string;
569
+ id: string;
570
+ source: string;
571
+ role?: string | undefined;
572
+ };
573
+ scope: string;
574
+ revision: {
575
+ scheme: string;
576
+ value: string;
577
+ };
578
+ text: string;
579
+ anchor?: {
580
+ kind: "code";
581
+ path: string;
582
+ startLine: number;
583
+ endLine: number;
584
+ } | {
585
+ kind: "region";
586
+ start: number;
587
+ end: number;
588
+ } | {
589
+ kind: "fragment";
590
+ id: string;
591
+ } | {
592
+ kind: "heading";
593
+ slug: string;
594
+ } | undefined;
595
+ freshness?: {
596
+ modifiedAt?: string | undefined;
597
+ stale?: boolean | undefined;
598
+ } | undefined;
599
+ };
600
+ via: string[];
601
+ stale?: boolean | undefined;
602
+ }[];
603
+ } | {
604
+ status: "skipped";
605
+ reason: string;
606
+ cause: {
607
+ kind: "cancelled";
608
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
609
+ } | {
610
+ kind: "explicit";
611
+ } | {
612
+ kind: "dependency";
613
+ blockedBy: string[];
614
+ };
615
+ };
616
+ }[]>, Record<string, {
617
+ attempt: number;
618
+ revision: number;
619
+ jobId: string | null;
620
+ outcome: {
621
+ status: "done";
622
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
623
+ } | {
624
+ status: "not-done";
625
+ reason: string;
626
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
627
+ failure?: {
628
+ code: string;
629
+ message: string;
630
+ name?: string | undefined;
631
+ reason?: string | undefined;
632
+ retryable?: boolean | undefined;
633
+ recoveryHint?: string | undefined;
634
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
635
+ } | undefined;
636
+ } | {
637
+ status: "disputed";
638
+ why: string;
639
+ claims: {
640
+ id: string;
641
+ statement: string;
642
+ quote: {
643
+ link: {
644
+ kind: string;
645
+ id: string;
646
+ source: string;
647
+ role?: string | undefined;
648
+ };
649
+ scope: string;
650
+ revision: {
651
+ scheme: string;
652
+ value: string;
653
+ };
654
+ text: string;
655
+ anchor?: {
656
+ kind: "code";
657
+ path: string;
658
+ startLine: number;
659
+ endLine: number;
660
+ } | {
661
+ kind: "region";
662
+ start: number;
663
+ end: number;
664
+ } | {
665
+ kind: "fragment";
666
+ id: string;
667
+ } | {
668
+ kind: "heading";
669
+ slug: string;
670
+ } | undefined;
671
+ freshness?: {
672
+ modifiedAt?: string | undefined;
673
+ stale?: boolean | undefined;
674
+ } | undefined;
675
+ };
676
+ via: string[];
677
+ stale?: boolean | undefined;
678
+ }[];
679
+ } | {
680
+ status: "skipped";
681
+ reason: string;
682
+ cause: {
683
+ kind: "cancelled";
684
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
685
+ } | {
686
+ kind: "explicit";
687
+ } | {
688
+ kind: "dependency";
689
+ blockedBy: string[];
690
+ };
691
+ };
692
+ }[]>>, z.ZodTransform<{
693
+ [k: string]: {
694
+ attempt: number;
695
+ revision: number;
696
+ jobId: string | null;
697
+ outcome: {
698
+ status: "done";
699
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
700
+ } | {
701
+ status: "not-done";
702
+ reason: string;
703
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
704
+ failure?: {
705
+ code: string;
706
+ message: string;
707
+ name?: string | undefined;
708
+ reason?: string | undefined;
709
+ retryable?: boolean | undefined;
710
+ recoveryHint?: string | undefined;
711
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
712
+ } | undefined;
713
+ } | {
714
+ status: "disputed";
715
+ why: string;
716
+ claims: {
717
+ id: string;
718
+ statement: string;
719
+ quote: {
720
+ link: {
721
+ kind: string;
722
+ id: string;
723
+ source: string;
724
+ role: string;
725
+ };
726
+ scope: string;
727
+ revision: {
728
+ scheme: string;
729
+ value: string;
730
+ };
731
+ text: string;
732
+ anchor?: {
733
+ kind: "code";
734
+ path: string;
735
+ startLine: number;
736
+ endLine: number;
737
+ } | {
738
+ kind: "region";
739
+ start: number;
740
+ end: number;
741
+ } | {
742
+ kind: "fragment";
743
+ id: string;
744
+ } | {
745
+ kind: "heading";
746
+ slug: string;
747
+ } | undefined;
748
+ freshness?: {
749
+ modifiedAt?: string | undefined;
750
+ stale?: boolean | undefined;
751
+ } | undefined;
752
+ };
753
+ via: string[];
754
+ stale?: boolean | undefined;
755
+ }[];
756
+ } | {
757
+ status: "skipped";
758
+ reason: string;
759
+ cause: {
760
+ kind: "cancelled";
761
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
762
+ } | {
763
+ kind: "explicit";
764
+ } | {
765
+ kind: "dependency";
766
+ blockedBy: string[];
767
+ };
768
+ };
769
+ }[];
770
+ }, Record<string, {
771
+ attempt: number;
772
+ revision: number;
773
+ jobId: string | null;
774
+ outcome: {
775
+ status: "done";
776
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
777
+ } | {
778
+ status: "not-done";
779
+ reason: string;
780
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
781
+ failure?: {
782
+ code: string;
783
+ message: string;
784
+ name?: string | undefined;
785
+ reason?: string | undefined;
786
+ retryable?: boolean | undefined;
787
+ recoveryHint?: string | undefined;
788
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
789
+ } | undefined;
790
+ } | {
791
+ status: "disputed";
792
+ why: string;
793
+ claims: {
794
+ id: string;
795
+ statement: string;
796
+ quote: {
797
+ link: {
798
+ kind: string;
799
+ id: string;
800
+ source: string;
801
+ role?: string | undefined;
802
+ };
803
+ scope: string;
804
+ revision: {
805
+ scheme: string;
806
+ value: string;
807
+ };
808
+ text: string;
809
+ anchor?: {
810
+ kind: "code";
811
+ path: string;
812
+ startLine: number;
813
+ endLine: number;
814
+ } | {
815
+ kind: "region";
816
+ start: number;
817
+ end: number;
818
+ } | {
819
+ kind: "fragment";
820
+ id: string;
821
+ } | {
822
+ kind: "heading";
823
+ slug: string;
824
+ } | undefined;
825
+ freshness?: {
826
+ modifiedAt?: string | undefined;
827
+ stale?: boolean | undefined;
828
+ } | undefined;
829
+ };
830
+ via: string[];
831
+ stale?: boolean | undefined;
832
+ }[];
833
+ } | {
834
+ status: "skipped";
835
+ reason: string;
836
+ cause: {
837
+ kind: "cancelled";
838
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
839
+ } | {
840
+ kind: "explicit";
841
+ } | {
842
+ kind: "dependency";
843
+ blockedBy: string[];
844
+ };
845
+ };
846
+ }[]>>>>;
847
+ reports: z.ZodArray<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
848
+ }, z.core.$strip>;
849
+ export type TraversalExecution = z.infer<typeof TraversalExecutionSchema>;
850
+ export declare const TierInputSchema: z.ZodObject<{
851
+ step: z.ZodNumber;
852
+ ids: z.ZodArray<z.ZodString>;
853
+ nodes: z.ZodArray<z.ZodObject<{
854
+ id: z.ZodString;
855
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
856
+ data: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
857
+ }, z.core.$strip>>;
858
+ outcomes: z.ZodPipe<z.ZodCustom<Record<string, {
859
+ status: "done";
860
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
861
+ } | {
862
+ status: "not-done";
863
+ reason: string;
864
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
865
+ failure?: {
866
+ code: string;
867
+ message: string;
868
+ name?: string | undefined;
869
+ reason?: string | undefined;
870
+ retryable?: boolean | undefined;
871
+ recoveryHint?: string | undefined;
872
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
873
+ } | undefined;
874
+ } | {
875
+ status: "disputed";
876
+ why: string;
877
+ claims: {
878
+ id: string;
879
+ statement: string;
880
+ quote: {
881
+ link: {
882
+ kind: string;
883
+ id: string;
884
+ source: string;
885
+ role?: string | undefined;
886
+ };
887
+ scope: string;
888
+ revision: {
889
+ scheme: string;
890
+ value: string;
891
+ };
892
+ text: string;
893
+ anchor?: {
894
+ kind: "code";
895
+ path: string;
896
+ startLine: number;
897
+ endLine: number;
898
+ } | {
899
+ kind: "region";
900
+ start: number;
901
+ end: number;
902
+ } | {
903
+ kind: "fragment";
904
+ id: string;
905
+ } | {
906
+ kind: "heading";
907
+ slug: string;
908
+ } | undefined;
909
+ freshness?: {
910
+ modifiedAt?: string | undefined;
911
+ stale?: boolean | undefined;
912
+ } | undefined;
913
+ };
914
+ via: string[];
915
+ stale?: boolean | undefined;
916
+ }[];
917
+ } | {
918
+ status: "skipped";
919
+ reason: string;
920
+ cause: {
921
+ kind: "cancelled";
922
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
923
+ } | {
924
+ kind: "explicit";
925
+ } | {
926
+ kind: "dependency";
927
+ blockedBy: string[];
928
+ };
929
+ }>, Record<string, {
930
+ status: "done";
931
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
932
+ } | {
933
+ status: "not-done";
934
+ reason: string;
935
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
936
+ failure?: {
937
+ code: string;
938
+ message: string;
939
+ name?: string | undefined;
940
+ reason?: string | undefined;
941
+ retryable?: boolean | undefined;
942
+ recoveryHint?: string | undefined;
943
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
944
+ } | undefined;
945
+ } | {
946
+ status: "disputed";
947
+ why: string;
948
+ claims: {
949
+ id: string;
950
+ statement: string;
951
+ quote: {
952
+ link: {
953
+ kind: string;
954
+ id: string;
955
+ source: string;
956
+ role?: string | undefined;
957
+ };
958
+ scope: string;
959
+ revision: {
960
+ scheme: string;
961
+ value: string;
962
+ };
963
+ text: string;
964
+ anchor?: {
965
+ kind: "code";
966
+ path: string;
967
+ startLine: number;
968
+ endLine: number;
969
+ } | {
970
+ kind: "region";
971
+ start: number;
972
+ end: number;
973
+ } | {
974
+ kind: "fragment";
975
+ id: string;
976
+ } | {
977
+ kind: "heading";
978
+ slug: string;
979
+ } | undefined;
980
+ freshness?: {
981
+ modifiedAt?: string | undefined;
982
+ stale?: boolean | undefined;
983
+ } | undefined;
984
+ };
985
+ via: string[];
986
+ stale?: boolean | undefined;
987
+ }[];
988
+ } | {
989
+ status: "skipped";
990
+ reason: string;
991
+ cause: {
992
+ kind: "cancelled";
993
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
994
+ } | {
995
+ kind: "explicit";
996
+ } | {
997
+ kind: "dependency";
998
+ blockedBy: string[];
999
+ };
1000
+ }>>, z.ZodTransform<{
1001
+ [k: string]: {
1002
+ status: "done";
1003
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1004
+ } | {
1005
+ status: "not-done";
1006
+ reason: string;
1007
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1008
+ failure?: {
1009
+ code: string;
1010
+ message: string;
1011
+ name?: string | undefined;
1012
+ reason?: string | undefined;
1013
+ retryable?: boolean | undefined;
1014
+ recoveryHint?: string | undefined;
1015
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1016
+ } | undefined;
1017
+ } | {
1018
+ status: "disputed";
1019
+ why: string;
1020
+ claims: {
1021
+ id: string;
1022
+ statement: string;
1023
+ quote: {
1024
+ link: {
1025
+ kind: string;
1026
+ id: string;
1027
+ source: string;
1028
+ role: string;
1029
+ };
1030
+ scope: string;
1031
+ revision: {
1032
+ scheme: string;
1033
+ value: string;
1034
+ };
1035
+ text: string;
1036
+ anchor?: {
1037
+ kind: "code";
1038
+ path: string;
1039
+ startLine: number;
1040
+ endLine: number;
1041
+ } | {
1042
+ kind: "region";
1043
+ start: number;
1044
+ end: number;
1045
+ } | {
1046
+ kind: "fragment";
1047
+ id: string;
1048
+ } | {
1049
+ kind: "heading";
1050
+ slug: string;
1051
+ } | undefined;
1052
+ freshness?: {
1053
+ modifiedAt?: string | undefined;
1054
+ stale?: boolean | undefined;
1055
+ } | undefined;
1056
+ };
1057
+ via: string[];
1058
+ stale?: boolean | undefined;
1059
+ }[];
1060
+ } | {
1061
+ status: "skipped";
1062
+ reason: string;
1063
+ cause: {
1064
+ kind: "cancelled";
1065
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1066
+ } | {
1067
+ kind: "explicit";
1068
+ } | {
1069
+ kind: "dependency";
1070
+ blockedBy: string[];
1071
+ };
1072
+ };
1073
+ }, Record<string, {
1074
+ status: "done";
1075
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1076
+ } | {
1077
+ status: "not-done";
1078
+ reason: string;
1079
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1080
+ failure?: {
1081
+ code: string;
1082
+ message: string;
1083
+ name?: string | undefined;
1084
+ reason?: string | undefined;
1085
+ retryable?: boolean | undefined;
1086
+ recoveryHint?: string | undefined;
1087
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1088
+ } | undefined;
1089
+ } | {
1090
+ status: "disputed";
1091
+ why: string;
1092
+ claims: {
1093
+ id: string;
1094
+ statement: string;
1095
+ quote: {
1096
+ link: {
1097
+ kind: string;
1098
+ id: string;
1099
+ source: string;
1100
+ role?: string | undefined;
1101
+ };
1102
+ scope: string;
1103
+ revision: {
1104
+ scheme: string;
1105
+ value: string;
1106
+ };
1107
+ text: string;
1108
+ anchor?: {
1109
+ kind: "code";
1110
+ path: string;
1111
+ startLine: number;
1112
+ endLine: number;
1113
+ } | {
1114
+ kind: "region";
1115
+ start: number;
1116
+ end: number;
1117
+ } | {
1118
+ kind: "fragment";
1119
+ id: string;
1120
+ } | {
1121
+ kind: "heading";
1122
+ slug: string;
1123
+ } | undefined;
1124
+ freshness?: {
1125
+ modifiedAt?: string | undefined;
1126
+ stale?: boolean | undefined;
1127
+ } | undefined;
1128
+ };
1129
+ via: string[];
1130
+ stale?: boolean | undefined;
1131
+ }[];
1132
+ } | {
1133
+ status: "skipped";
1134
+ reason: string;
1135
+ cause: {
1136
+ kind: "cancelled";
1137
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1138
+ } | {
1139
+ kind: "explicit";
1140
+ } | {
1141
+ kind: "dependency";
1142
+ blockedBy: string[];
1143
+ };
1144
+ }>>>;
1145
+ failures: z.ZodDefault<z.ZodPipe<z.ZodCustom<Record<string, {
1146
+ code: string;
1147
+ message: string;
1148
+ name?: string | undefined;
1149
+ reason?: string | undefined;
1150
+ retryable?: boolean | undefined;
1151
+ recoveryHint?: string | undefined;
1152
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1153
+ }>, Record<string, {
1154
+ code: string;
1155
+ message: string;
1156
+ name?: string | undefined;
1157
+ reason?: string | undefined;
1158
+ retryable?: boolean | undefined;
1159
+ recoveryHint?: string | undefined;
1160
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1161
+ }>>, z.ZodTransform<{
1162
+ [k: string]: {
1163
+ code: string;
1164
+ message: string;
1165
+ name?: string | undefined;
1166
+ reason?: string | undefined;
1167
+ retryable?: boolean | undefined;
1168
+ recoveryHint?: string | undefined;
1169
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1170
+ };
1171
+ }, Record<string, {
1172
+ code: string;
1173
+ message: string;
1174
+ name?: string | undefined;
1175
+ reason?: string | undefined;
1176
+ retryable?: boolean | undefined;
1177
+ recoveryHint?: string | undefined;
1178
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1179
+ }>>>>;
1180
+ attempts: z.ZodDefault<z.ZodPipe<z.ZodCustom<Record<string, {
1181
+ attempt: number;
1182
+ revision: number;
1183
+ jobId: string | null;
1184
+ outcome: {
1185
+ status: "done";
1186
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1187
+ } | {
1188
+ status: "not-done";
1189
+ reason: string;
1190
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1191
+ failure?: {
1192
+ code: string;
1193
+ message: string;
1194
+ name?: string | undefined;
1195
+ reason?: string | undefined;
1196
+ retryable?: boolean | undefined;
1197
+ recoveryHint?: string | undefined;
1198
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1199
+ } | undefined;
1200
+ } | {
1201
+ status: "disputed";
1202
+ why: string;
1203
+ claims: {
1204
+ id: string;
1205
+ statement: string;
1206
+ quote: {
1207
+ link: {
1208
+ kind: string;
1209
+ id: string;
1210
+ source: string;
1211
+ role?: string | undefined;
1212
+ };
1213
+ scope: string;
1214
+ revision: {
1215
+ scheme: string;
1216
+ value: string;
1217
+ };
1218
+ text: string;
1219
+ anchor?: {
1220
+ kind: "code";
1221
+ path: string;
1222
+ startLine: number;
1223
+ endLine: number;
1224
+ } | {
1225
+ kind: "region";
1226
+ start: number;
1227
+ end: number;
1228
+ } | {
1229
+ kind: "fragment";
1230
+ id: string;
1231
+ } | {
1232
+ kind: "heading";
1233
+ slug: string;
1234
+ } | undefined;
1235
+ freshness?: {
1236
+ modifiedAt?: string | undefined;
1237
+ stale?: boolean | undefined;
1238
+ } | undefined;
1239
+ };
1240
+ via: string[];
1241
+ stale?: boolean | undefined;
1242
+ }[];
1243
+ } | {
1244
+ status: "skipped";
1245
+ reason: string;
1246
+ cause: {
1247
+ kind: "cancelled";
1248
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1249
+ } | {
1250
+ kind: "explicit";
1251
+ } | {
1252
+ kind: "dependency";
1253
+ blockedBy: string[];
1254
+ };
1255
+ };
1256
+ }[]>, Record<string, {
1257
+ attempt: number;
1258
+ revision: number;
1259
+ jobId: string | null;
1260
+ outcome: {
1261
+ status: "done";
1262
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1263
+ } | {
1264
+ status: "not-done";
1265
+ reason: string;
1266
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1267
+ failure?: {
1268
+ code: string;
1269
+ message: string;
1270
+ name?: string | undefined;
1271
+ reason?: string | undefined;
1272
+ retryable?: boolean | undefined;
1273
+ recoveryHint?: string | undefined;
1274
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1275
+ } | undefined;
1276
+ } | {
1277
+ status: "disputed";
1278
+ why: string;
1279
+ claims: {
1280
+ id: string;
1281
+ statement: string;
1282
+ quote: {
1283
+ link: {
1284
+ kind: string;
1285
+ id: string;
1286
+ source: string;
1287
+ role?: string | undefined;
1288
+ };
1289
+ scope: string;
1290
+ revision: {
1291
+ scheme: string;
1292
+ value: string;
1293
+ };
1294
+ text: string;
1295
+ anchor?: {
1296
+ kind: "code";
1297
+ path: string;
1298
+ startLine: number;
1299
+ endLine: number;
1300
+ } | {
1301
+ kind: "region";
1302
+ start: number;
1303
+ end: number;
1304
+ } | {
1305
+ kind: "fragment";
1306
+ id: string;
1307
+ } | {
1308
+ kind: "heading";
1309
+ slug: string;
1310
+ } | undefined;
1311
+ freshness?: {
1312
+ modifiedAt?: string | undefined;
1313
+ stale?: boolean | undefined;
1314
+ } | undefined;
1315
+ };
1316
+ via: string[];
1317
+ stale?: boolean | undefined;
1318
+ }[];
1319
+ } | {
1320
+ status: "skipped";
1321
+ reason: string;
1322
+ cause: {
1323
+ kind: "cancelled";
1324
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1325
+ } | {
1326
+ kind: "explicit";
1327
+ } | {
1328
+ kind: "dependency";
1329
+ blockedBy: string[];
1330
+ };
1331
+ };
1332
+ }[]>>, z.ZodTransform<{
1333
+ [k: string]: {
1334
+ attempt: number;
1335
+ revision: number;
1336
+ jobId: string | null;
1337
+ outcome: {
1338
+ status: "done";
1339
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1340
+ } | {
1341
+ status: "not-done";
1342
+ reason: string;
1343
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1344
+ failure?: {
1345
+ code: string;
1346
+ message: string;
1347
+ name?: string | undefined;
1348
+ reason?: string | undefined;
1349
+ retryable?: boolean | undefined;
1350
+ recoveryHint?: string | undefined;
1351
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1352
+ } | undefined;
1353
+ } | {
1354
+ status: "disputed";
1355
+ why: string;
1356
+ claims: {
1357
+ id: string;
1358
+ statement: string;
1359
+ quote: {
1360
+ link: {
1361
+ kind: string;
1362
+ id: string;
1363
+ source: string;
1364
+ role: string;
1365
+ };
1366
+ scope: string;
1367
+ revision: {
1368
+ scheme: string;
1369
+ value: string;
1370
+ };
1371
+ text: string;
1372
+ anchor?: {
1373
+ kind: "code";
1374
+ path: string;
1375
+ startLine: number;
1376
+ endLine: number;
1377
+ } | {
1378
+ kind: "region";
1379
+ start: number;
1380
+ end: number;
1381
+ } | {
1382
+ kind: "fragment";
1383
+ id: string;
1384
+ } | {
1385
+ kind: "heading";
1386
+ slug: string;
1387
+ } | undefined;
1388
+ freshness?: {
1389
+ modifiedAt?: string | undefined;
1390
+ stale?: boolean | undefined;
1391
+ } | undefined;
1392
+ };
1393
+ via: string[];
1394
+ stale?: boolean | undefined;
1395
+ }[];
1396
+ } | {
1397
+ status: "skipped";
1398
+ reason: string;
1399
+ cause: {
1400
+ kind: "cancelled";
1401
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1402
+ } | {
1403
+ kind: "explicit";
1404
+ } | {
1405
+ kind: "dependency";
1406
+ blockedBy: string[];
1407
+ };
1408
+ };
1409
+ }[];
1410
+ }, Record<string, {
1411
+ attempt: number;
1412
+ revision: number;
1413
+ jobId: string | null;
1414
+ outcome: {
1415
+ status: "done";
1416
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1417
+ } | {
1418
+ status: "not-done";
1419
+ reason: string;
1420
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1421
+ failure?: {
1422
+ code: string;
1423
+ message: string;
1424
+ name?: string | undefined;
1425
+ reason?: string | undefined;
1426
+ retryable?: boolean | undefined;
1427
+ recoveryHint?: string | undefined;
1428
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1429
+ } | undefined;
1430
+ } | {
1431
+ status: "disputed";
1432
+ why: string;
1433
+ claims: {
1434
+ id: string;
1435
+ statement: string;
1436
+ quote: {
1437
+ link: {
1438
+ kind: string;
1439
+ id: string;
1440
+ source: string;
1441
+ role?: string | undefined;
1442
+ };
1443
+ scope: string;
1444
+ revision: {
1445
+ scheme: string;
1446
+ value: string;
1447
+ };
1448
+ text: string;
1449
+ anchor?: {
1450
+ kind: "code";
1451
+ path: string;
1452
+ startLine: number;
1453
+ endLine: number;
1454
+ } | {
1455
+ kind: "region";
1456
+ start: number;
1457
+ end: number;
1458
+ } | {
1459
+ kind: "fragment";
1460
+ id: string;
1461
+ } | {
1462
+ kind: "heading";
1463
+ slug: string;
1464
+ } | undefined;
1465
+ freshness?: {
1466
+ modifiedAt?: string | undefined;
1467
+ stale?: boolean | undefined;
1468
+ } | undefined;
1469
+ };
1470
+ via: string[];
1471
+ stale?: boolean | undefined;
1472
+ }[];
1473
+ } | {
1474
+ status: "skipped";
1475
+ reason: string;
1476
+ cause: {
1477
+ kind: "cancelled";
1478
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1479
+ } | {
1480
+ kind: "explicit";
1481
+ } | {
1482
+ kind: "dependency";
1483
+ blockedBy: string[];
1484
+ };
1485
+ };
1486
+ }[]>>>>;
1487
+ waitedOn: z.ZodPipe<z.ZodCustom<Record<string, Record<string, {
1488
+ status: "done";
1489
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1490
+ } | {
1491
+ status: "not-done";
1492
+ reason: string;
1493
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1494
+ failure?: {
1495
+ code: string;
1496
+ message: string;
1497
+ name?: string | undefined;
1498
+ reason?: string | undefined;
1499
+ retryable?: boolean | undefined;
1500
+ recoveryHint?: string | undefined;
1501
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1502
+ } | undefined;
1503
+ } | {
1504
+ status: "disputed";
1505
+ why: string;
1506
+ claims: {
1507
+ id: string;
1508
+ statement: string;
1509
+ quote: {
1510
+ link: {
1511
+ kind: string;
1512
+ id: string;
1513
+ source: string;
1514
+ role?: string | undefined;
1515
+ };
1516
+ scope: string;
1517
+ revision: {
1518
+ scheme: string;
1519
+ value: string;
1520
+ };
1521
+ text: string;
1522
+ anchor?: {
1523
+ kind: "code";
1524
+ path: string;
1525
+ startLine: number;
1526
+ endLine: number;
1527
+ } | {
1528
+ kind: "region";
1529
+ start: number;
1530
+ end: number;
1531
+ } | {
1532
+ kind: "fragment";
1533
+ id: string;
1534
+ } | {
1535
+ kind: "heading";
1536
+ slug: string;
1537
+ } | undefined;
1538
+ freshness?: {
1539
+ modifiedAt?: string | undefined;
1540
+ stale?: boolean | undefined;
1541
+ } | undefined;
1542
+ };
1543
+ via: string[];
1544
+ stale?: boolean | undefined;
1545
+ }[];
1546
+ } | {
1547
+ status: "skipped";
1548
+ reason: string;
1549
+ cause: {
1550
+ kind: "cancelled";
1551
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1552
+ } | {
1553
+ kind: "explicit";
1554
+ } | {
1555
+ kind: "dependency";
1556
+ blockedBy: string[];
1557
+ };
1558
+ }>>, Record<string, Record<string, {
1559
+ status: "done";
1560
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1561
+ } | {
1562
+ status: "not-done";
1563
+ reason: string;
1564
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1565
+ failure?: {
1566
+ code: string;
1567
+ message: string;
1568
+ name?: string | undefined;
1569
+ reason?: string | undefined;
1570
+ retryable?: boolean | undefined;
1571
+ recoveryHint?: string | undefined;
1572
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1573
+ } | undefined;
1574
+ } | {
1575
+ status: "disputed";
1576
+ why: string;
1577
+ claims: {
1578
+ id: string;
1579
+ statement: string;
1580
+ quote: {
1581
+ link: {
1582
+ kind: string;
1583
+ id: string;
1584
+ source: string;
1585
+ role?: string | undefined;
1586
+ };
1587
+ scope: string;
1588
+ revision: {
1589
+ scheme: string;
1590
+ value: string;
1591
+ };
1592
+ text: string;
1593
+ anchor?: {
1594
+ kind: "code";
1595
+ path: string;
1596
+ startLine: number;
1597
+ endLine: number;
1598
+ } | {
1599
+ kind: "region";
1600
+ start: number;
1601
+ end: number;
1602
+ } | {
1603
+ kind: "fragment";
1604
+ id: string;
1605
+ } | {
1606
+ kind: "heading";
1607
+ slug: string;
1608
+ } | undefined;
1609
+ freshness?: {
1610
+ modifiedAt?: string | undefined;
1611
+ stale?: boolean | undefined;
1612
+ } | undefined;
1613
+ };
1614
+ via: string[];
1615
+ stale?: boolean | undefined;
1616
+ }[];
1617
+ } | {
1618
+ status: "skipped";
1619
+ reason: string;
1620
+ cause: {
1621
+ kind: "cancelled";
1622
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1623
+ } | {
1624
+ kind: "explicit";
1625
+ } | {
1626
+ kind: "dependency";
1627
+ blockedBy: string[];
1628
+ };
1629
+ }>>>, z.ZodTransform<{
1630
+ [k: string]: {
1631
+ [k: string]: {
1632
+ status: "done";
1633
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1634
+ } | {
1635
+ status: "not-done";
1636
+ reason: string;
1637
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1638
+ failure?: {
1639
+ code: string;
1640
+ message: string;
1641
+ name?: string | undefined;
1642
+ reason?: string | undefined;
1643
+ retryable?: boolean | undefined;
1644
+ recoveryHint?: string | undefined;
1645
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1646
+ } | undefined;
1647
+ } | {
1648
+ status: "disputed";
1649
+ why: string;
1650
+ claims: {
1651
+ id: string;
1652
+ statement: string;
1653
+ quote: {
1654
+ link: {
1655
+ kind: string;
1656
+ id: string;
1657
+ source: string;
1658
+ role: string;
1659
+ };
1660
+ scope: string;
1661
+ revision: {
1662
+ scheme: string;
1663
+ value: string;
1664
+ };
1665
+ text: string;
1666
+ anchor?: {
1667
+ kind: "code";
1668
+ path: string;
1669
+ startLine: number;
1670
+ endLine: number;
1671
+ } | {
1672
+ kind: "region";
1673
+ start: number;
1674
+ end: number;
1675
+ } | {
1676
+ kind: "fragment";
1677
+ id: string;
1678
+ } | {
1679
+ kind: "heading";
1680
+ slug: string;
1681
+ } | undefined;
1682
+ freshness?: {
1683
+ modifiedAt?: string | undefined;
1684
+ stale?: boolean | undefined;
1685
+ } | undefined;
1686
+ };
1687
+ via: string[];
1688
+ stale?: boolean | undefined;
1689
+ }[];
1690
+ } | {
1691
+ status: "skipped";
1692
+ reason: string;
1693
+ cause: {
1694
+ kind: "cancelled";
1695
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1696
+ } | {
1697
+ kind: "explicit";
1698
+ } | {
1699
+ kind: "dependency";
1700
+ blockedBy: string[];
1701
+ };
1702
+ };
1703
+ };
1704
+ }, Record<string, Record<string, {
1705
+ status: "done";
1706
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1707
+ } | {
1708
+ status: "not-done";
1709
+ reason: string;
1710
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1711
+ failure?: {
1712
+ code: string;
1713
+ message: string;
1714
+ name?: string | undefined;
1715
+ reason?: string | undefined;
1716
+ retryable?: boolean | undefined;
1717
+ recoveryHint?: string | undefined;
1718
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1719
+ } | undefined;
1720
+ } | {
1721
+ status: "disputed";
1722
+ why: string;
1723
+ claims: {
1724
+ id: string;
1725
+ statement: string;
1726
+ quote: {
1727
+ link: {
1728
+ kind: string;
1729
+ id: string;
1730
+ source: string;
1731
+ role?: string | undefined;
1732
+ };
1733
+ scope: string;
1734
+ revision: {
1735
+ scheme: string;
1736
+ value: string;
1737
+ };
1738
+ text: string;
1739
+ anchor?: {
1740
+ kind: "code";
1741
+ path: string;
1742
+ startLine: number;
1743
+ endLine: number;
1744
+ } | {
1745
+ kind: "region";
1746
+ start: number;
1747
+ end: number;
1748
+ } | {
1749
+ kind: "fragment";
1750
+ id: string;
1751
+ } | {
1752
+ kind: "heading";
1753
+ slug: string;
1754
+ } | undefined;
1755
+ freshness?: {
1756
+ modifiedAt?: string | undefined;
1757
+ stale?: boolean | undefined;
1758
+ } | undefined;
1759
+ };
1760
+ via: string[];
1761
+ stale?: boolean | undefined;
1762
+ }[];
1763
+ } | {
1764
+ status: "skipped";
1765
+ reason: string;
1766
+ cause: {
1767
+ kind: "cancelled";
1768
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1769
+ } | {
1770
+ kind: "explicit";
1771
+ } | {
1772
+ kind: "dependency";
1773
+ blockedBy: string[];
1774
+ };
1775
+ }>>>>;
1776
+ previous: z.ZodObject<{
1777
+ nodes: z.ZodArray<z.ZodObject<{
1778
+ id: z.ZodString;
1779
+ dependsOn: z.ZodDefault<z.ZodArray<z.ZodString>>;
1780
+ data: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
1781
+ }, z.core.$strip>>;
1782
+ outcomes: z.ZodPipe<z.ZodCustom<Record<string, {
1783
+ status: "done";
1784
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1785
+ } | {
1786
+ status: "not-done";
1787
+ reason: string;
1788
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1789
+ failure?: {
1790
+ code: string;
1791
+ message: string;
1792
+ name?: string | undefined;
1793
+ reason?: string | undefined;
1794
+ retryable?: boolean | undefined;
1795
+ recoveryHint?: string | undefined;
1796
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1797
+ } | undefined;
1798
+ } | {
1799
+ status: "disputed";
1800
+ why: string;
1801
+ claims: {
1802
+ id: string;
1803
+ statement: string;
1804
+ quote: {
1805
+ link: {
1806
+ kind: string;
1807
+ id: string;
1808
+ source: string;
1809
+ role?: string | undefined;
1810
+ };
1811
+ scope: string;
1812
+ revision: {
1813
+ scheme: string;
1814
+ value: string;
1815
+ };
1816
+ text: string;
1817
+ anchor?: {
1818
+ kind: "code";
1819
+ path: string;
1820
+ startLine: number;
1821
+ endLine: number;
1822
+ } | {
1823
+ kind: "region";
1824
+ start: number;
1825
+ end: number;
1826
+ } | {
1827
+ kind: "fragment";
1828
+ id: string;
1829
+ } | {
1830
+ kind: "heading";
1831
+ slug: string;
1832
+ } | undefined;
1833
+ freshness?: {
1834
+ modifiedAt?: string | undefined;
1835
+ stale?: boolean | undefined;
1836
+ } | undefined;
1837
+ };
1838
+ via: string[];
1839
+ stale?: boolean | undefined;
1840
+ }[];
1841
+ } | {
1842
+ status: "skipped";
1843
+ reason: string;
1844
+ cause: {
1845
+ kind: "cancelled";
1846
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1847
+ } | {
1848
+ kind: "explicit";
1849
+ } | {
1850
+ kind: "dependency";
1851
+ blockedBy: string[];
1852
+ };
1853
+ }>, Record<string, {
1854
+ status: "done";
1855
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1856
+ } | {
1857
+ status: "not-done";
1858
+ reason: string;
1859
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1860
+ failure?: {
1861
+ code: string;
1862
+ message: string;
1863
+ name?: string | undefined;
1864
+ reason?: string | undefined;
1865
+ retryable?: boolean | undefined;
1866
+ recoveryHint?: string | undefined;
1867
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1868
+ } | undefined;
1869
+ } | {
1870
+ status: "disputed";
1871
+ why: string;
1872
+ claims: {
1873
+ id: string;
1874
+ statement: string;
1875
+ quote: {
1876
+ link: {
1877
+ kind: string;
1878
+ id: string;
1879
+ source: string;
1880
+ role?: string | undefined;
1881
+ };
1882
+ scope: string;
1883
+ revision: {
1884
+ scheme: string;
1885
+ value: string;
1886
+ };
1887
+ text: string;
1888
+ anchor?: {
1889
+ kind: "code";
1890
+ path: string;
1891
+ startLine: number;
1892
+ endLine: number;
1893
+ } | {
1894
+ kind: "region";
1895
+ start: number;
1896
+ end: number;
1897
+ } | {
1898
+ kind: "fragment";
1899
+ id: string;
1900
+ } | {
1901
+ kind: "heading";
1902
+ slug: string;
1903
+ } | undefined;
1904
+ freshness?: {
1905
+ modifiedAt?: string | undefined;
1906
+ stale?: boolean | undefined;
1907
+ } | undefined;
1908
+ };
1909
+ via: string[];
1910
+ stale?: boolean | undefined;
1911
+ }[];
1912
+ } | {
1913
+ status: "skipped";
1914
+ reason: string;
1915
+ cause: {
1916
+ kind: "cancelled";
1917
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1918
+ } | {
1919
+ kind: "explicit";
1920
+ } | {
1921
+ kind: "dependency";
1922
+ blockedBy: string[];
1923
+ };
1924
+ }>>, z.ZodTransform<{
1925
+ [k: string]: {
1926
+ status: "done";
1927
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1928
+ } | {
1929
+ status: "not-done";
1930
+ reason: string;
1931
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1932
+ failure?: {
1933
+ code: string;
1934
+ message: string;
1935
+ name?: string | undefined;
1936
+ reason?: string | undefined;
1937
+ retryable?: boolean | undefined;
1938
+ recoveryHint?: string | undefined;
1939
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
1940
+ } | undefined;
1941
+ } | {
1942
+ status: "disputed";
1943
+ why: string;
1944
+ claims: {
1945
+ id: string;
1946
+ statement: string;
1947
+ quote: {
1948
+ link: {
1949
+ kind: string;
1950
+ id: string;
1951
+ source: string;
1952
+ role: string;
1953
+ };
1954
+ scope: string;
1955
+ revision: {
1956
+ scheme: string;
1957
+ value: string;
1958
+ };
1959
+ text: string;
1960
+ anchor?: {
1961
+ kind: "code";
1962
+ path: string;
1963
+ startLine: number;
1964
+ endLine: number;
1965
+ } | {
1966
+ kind: "region";
1967
+ start: number;
1968
+ end: number;
1969
+ } | {
1970
+ kind: "fragment";
1971
+ id: string;
1972
+ } | {
1973
+ kind: "heading";
1974
+ slug: string;
1975
+ } | undefined;
1976
+ freshness?: {
1977
+ modifiedAt?: string | undefined;
1978
+ stale?: boolean | undefined;
1979
+ } | undefined;
1980
+ };
1981
+ via: string[];
1982
+ stale?: boolean | undefined;
1983
+ }[];
1984
+ } | {
1985
+ status: "skipped";
1986
+ reason: string;
1987
+ cause: {
1988
+ kind: "cancelled";
1989
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
1990
+ } | {
1991
+ kind: "explicit";
1992
+ } | {
1993
+ kind: "dependency";
1994
+ blockedBy: string[];
1995
+ };
1996
+ };
1997
+ }, Record<string, {
1998
+ status: "done";
1999
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
2000
+ } | {
2001
+ status: "not-done";
2002
+ reason: string;
2003
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
2004
+ failure?: {
2005
+ code: string;
2006
+ message: string;
2007
+ name?: string | undefined;
2008
+ reason?: string | undefined;
2009
+ retryable?: boolean | undefined;
2010
+ recoveryHint?: string | undefined;
2011
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
2012
+ } | undefined;
2013
+ } | {
2014
+ status: "disputed";
2015
+ why: string;
2016
+ claims: {
2017
+ id: string;
2018
+ statement: string;
2019
+ quote: {
2020
+ link: {
2021
+ kind: string;
2022
+ id: string;
2023
+ source: string;
2024
+ role?: string | undefined;
2025
+ };
2026
+ scope: string;
2027
+ revision: {
2028
+ scheme: string;
2029
+ value: string;
2030
+ };
2031
+ text: string;
2032
+ anchor?: {
2033
+ kind: "code";
2034
+ path: string;
2035
+ startLine: number;
2036
+ endLine: number;
2037
+ } | {
2038
+ kind: "region";
2039
+ start: number;
2040
+ end: number;
2041
+ } | {
2042
+ kind: "fragment";
2043
+ id: string;
2044
+ } | {
2045
+ kind: "heading";
2046
+ slug: string;
2047
+ } | undefined;
2048
+ freshness?: {
2049
+ modifiedAt?: string | undefined;
2050
+ stale?: boolean | undefined;
2051
+ } | undefined;
2052
+ };
2053
+ via: string[];
2054
+ stale?: boolean | undefined;
2055
+ }[];
2056
+ } | {
2057
+ status: "skipped";
2058
+ reason: string;
2059
+ cause: {
2060
+ kind: "cancelled";
2061
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
2062
+ } | {
2063
+ kind: "explicit";
2064
+ } | {
2065
+ kind: "dependency";
2066
+ blockedBy: string[];
2067
+ };
2068
+ }>>>;
2069
+ }, z.core.$strip>;
2070
+ reports: z.ZodArray<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
2071
+ }, z.core.$strip>;
2072
+ export type TierInput = z.infer<typeof TierInputSchema>;
2073
+ export declare const TierResultSchema: z.ZodObject<{
2074
+ next: z.ZodEnum<{
2075
+ continue: "continue";
2076
+ stop: "stop";
2077
+ }>;
2078
+ outcomes: z.ZodPipe<z.ZodCustom<Record<string, {
2079
+ status: "done";
2080
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
2081
+ } | {
2082
+ status: "not-done";
2083
+ reason: string;
2084
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
2085
+ failure?: {
2086
+ code: string;
2087
+ message: string;
2088
+ name?: string | undefined;
2089
+ reason?: string | undefined;
2090
+ retryable?: boolean | undefined;
2091
+ recoveryHint?: string | undefined;
2092
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
2093
+ } | undefined;
2094
+ } | {
2095
+ status: "disputed";
2096
+ why: string;
2097
+ claims: {
2098
+ id: string;
2099
+ statement: string;
2100
+ quote: {
2101
+ link: {
2102
+ kind: string;
2103
+ id: string;
2104
+ source: string;
2105
+ role?: string | undefined;
2106
+ };
2107
+ scope: string;
2108
+ revision: {
2109
+ scheme: string;
2110
+ value: string;
2111
+ };
2112
+ text: string;
2113
+ anchor?: {
2114
+ kind: "code";
2115
+ path: string;
2116
+ startLine: number;
2117
+ endLine: number;
2118
+ } | {
2119
+ kind: "region";
2120
+ start: number;
2121
+ end: number;
2122
+ } | {
2123
+ kind: "fragment";
2124
+ id: string;
2125
+ } | {
2126
+ kind: "heading";
2127
+ slug: string;
2128
+ } | undefined;
2129
+ freshness?: {
2130
+ modifiedAt?: string | undefined;
2131
+ stale?: boolean | undefined;
2132
+ } | undefined;
2133
+ };
2134
+ via: string[];
2135
+ stale?: boolean | undefined;
2136
+ }[];
2137
+ } | {
2138
+ status: "skipped";
2139
+ reason: string;
2140
+ cause: {
2141
+ kind: "cancelled";
2142
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
2143
+ } | {
2144
+ kind: "explicit";
2145
+ } | {
2146
+ kind: "dependency";
2147
+ blockedBy: string[];
2148
+ };
2149
+ }>, Record<string, {
2150
+ status: "done";
2151
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
2152
+ } | {
2153
+ status: "not-done";
2154
+ reason: string;
2155
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
2156
+ failure?: {
2157
+ code: string;
2158
+ message: string;
2159
+ name?: string | undefined;
2160
+ reason?: string | undefined;
2161
+ retryable?: boolean | undefined;
2162
+ recoveryHint?: string | undefined;
2163
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
2164
+ } | undefined;
2165
+ } | {
2166
+ status: "disputed";
2167
+ why: string;
2168
+ claims: {
2169
+ id: string;
2170
+ statement: string;
2171
+ quote: {
2172
+ link: {
2173
+ kind: string;
2174
+ id: string;
2175
+ source: string;
2176
+ role?: string | undefined;
2177
+ };
2178
+ scope: string;
2179
+ revision: {
2180
+ scheme: string;
2181
+ value: string;
2182
+ };
2183
+ text: string;
2184
+ anchor?: {
2185
+ kind: "code";
2186
+ path: string;
2187
+ startLine: number;
2188
+ endLine: number;
2189
+ } | {
2190
+ kind: "region";
2191
+ start: number;
2192
+ end: number;
2193
+ } | {
2194
+ kind: "fragment";
2195
+ id: string;
2196
+ } | {
2197
+ kind: "heading";
2198
+ slug: string;
2199
+ } | undefined;
2200
+ freshness?: {
2201
+ modifiedAt?: string | undefined;
2202
+ stale?: boolean | undefined;
2203
+ } | undefined;
2204
+ };
2205
+ via: string[];
2206
+ stale?: boolean | undefined;
2207
+ }[];
2208
+ } | {
2209
+ status: "skipped";
2210
+ reason: string;
2211
+ cause: {
2212
+ kind: "cancelled";
2213
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
2214
+ } | {
2215
+ kind: "explicit";
2216
+ } | {
2217
+ kind: "dependency";
2218
+ blockedBy: string[];
2219
+ };
2220
+ }>>, z.ZodTransform<{
2221
+ [k: string]: {
2222
+ status: "done";
2223
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
2224
+ } | {
2225
+ status: "not-done";
2226
+ reason: string;
2227
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
2228
+ failure?: {
2229
+ code: string;
2230
+ message: string;
2231
+ name?: string | undefined;
2232
+ reason?: string | undefined;
2233
+ retryable?: boolean | undefined;
2234
+ recoveryHint?: string | undefined;
2235
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
2236
+ } | undefined;
2237
+ } | {
2238
+ status: "disputed";
2239
+ why: string;
2240
+ claims: {
2241
+ id: string;
2242
+ statement: string;
2243
+ quote: {
2244
+ link: {
2245
+ kind: string;
2246
+ id: string;
2247
+ source: string;
2248
+ role: string;
2249
+ };
2250
+ scope: string;
2251
+ revision: {
2252
+ scheme: string;
2253
+ value: string;
2254
+ };
2255
+ text: string;
2256
+ anchor?: {
2257
+ kind: "code";
2258
+ path: string;
2259
+ startLine: number;
2260
+ endLine: number;
2261
+ } | {
2262
+ kind: "region";
2263
+ start: number;
2264
+ end: number;
2265
+ } | {
2266
+ kind: "fragment";
2267
+ id: string;
2268
+ } | {
2269
+ kind: "heading";
2270
+ slug: string;
2271
+ } | undefined;
2272
+ freshness?: {
2273
+ modifiedAt?: string | undefined;
2274
+ stale?: boolean | undefined;
2275
+ } | undefined;
2276
+ };
2277
+ via: string[];
2278
+ stale?: boolean | undefined;
2279
+ }[];
2280
+ } | {
2281
+ status: "skipped";
2282
+ reason: string;
2283
+ cause: {
2284
+ kind: "cancelled";
2285
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
2286
+ } | {
2287
+ kind: "explicit";
2288
+ } | {
2289
+ kind: "dependency";
2290
+ blockedBy: string[];
2291
+ };
2292
+ };
2293
+ }, Record<string, {
2294
+ status: "done";
2295
+ value: import("@vibesdotdev/kernel/bootstrap").JsonValue;
2296
+ } | {
2297
+ status: "not-done";
2298
+ reason: string;
2299
+ value?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
2300
+ failure?: {
2301
+ code: string;
2302
+ message: string;
2303
+ name?: string | undefined;
2304
+ reason?: string | undefined;
2305
+ retryable?: boolean | undefined;
2306
+ recoveryHint?: string | undefined;
2307
+ details?: import("@vibesdotdev/kernel/bootstrap").JsonValue | undefined;
2308
+ } | undefined;
2309
+ } | {
2310
+ status: "disputed";
2311
+ why: string;
2312
+ claims: {
2313
+ id: string;
2314
+ statement: string;
2315
+ quote: {
2316
+ link: {
2317
+ kind: string;
2318
+ id: string;
2319
+ source: string;
2320
+ role?: string | undefined;
2321
+ };
2322
+ scope: string;
2323
+ revision: {
2324
+ scheme: string;
2325
+ value: string;
2326
+ };
2327
+ text: string;
2328
+ anchor?: {
2329
+ kind: "code";
2330
+ path: string;
2331
+ startLine: number;
2332
+ endLine: number;
2333
+ } | {
2334
+ kind: "region";
2335
+ start: number;
2336
+ end: number;
2337
+ } | {
2338
+ kind: "fragment";
2339
+ id: string;
2340
+ } | {
2341
+ kind: "heading";
2342
+ slug: string;
2343
+ } | undefined;
2344
+ freshness?: {
2345
+ modifiedAt?: string | undefined;
2346
+ stale?: boolean | undefined;
2347
+ } | undefined;
2348
+ };
2349
+ via: string[];
2350
+ stale?: boolean | undefined;
2351
+ }[];
2352
+ } | {
2353
+ status: "skipped";
2354
+ reason: string;
2355
+ cause: {
2356
+ kind: "cancelled";
2357
+ provenance: import("@vibesdotdev/kernel/bootstrap").JsonValue;
2358
+ } | {
2359
+ kind: "explicit";
2360
+ } | {
2361
+ kind: "dependency";
2362
+ blockedBy: string[];
2363
+ };
2364
+ }>>>;
2365
+ rework: z.ZodOptional<z.ZodArray<z.ZodObject<{
2366
+ id: z.ZodString;
2367
+ input: z.ZodType<import("@vibesdotdev/kernel/schemas/json").JsonObject, import("@vibesdotdev/kernel/schemas/json").JsonObject, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/schemas/json").JsonObject, import("@vibesdotdev/kernel/schemas/json").JsonObject>>;
2368
+ reason: z.ZodString;
2369
+ }, z.core.$strip>>>;
2370
+ report: z.ZodOptional<z.ZodType<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue, z.core.$ZodTypeInternals<import("@vibesdotdev/kernel/bootstrap").JsonValue, import("@vibesdotdev/kernel/bootstrap").JsonValue>>>;
2371
+ }, z.core.$strip>;
2372
+ export type TierResult = z.infer<typeof TierResultSchema>;
2373
+ //# sourceMappingURL=execution-schemas.d.ts.map