@exaudeus/workrail 3.25.0 → 3.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/commands/index.d.ts +5 -0
- package/dist/cli/commands/index.js +12 -1
- package/dist/cli/commands/worktrain-await.d.ts +35 -0
- package/dist/cli/commands/worktrain-await.js +207 -0
- package/dist/cli/commands/worktrain-inbox.d.ts +23 -0
- package/dist/cli/commands/worktrain-inbox.js +82 -0
- package/dist/cli/commands/worktrain-init.d.ts +23 -0
- package/dist/cli/commands/worktrain-init.js +338 -0
- package/dist/cli/commands/worktrain-spawn.d.ts +28 -0
- package/dist/cli/commands/worktrain-spawn.js +106 -0
- package/dist/cli/commands/worktrain-tell.d.ts +25 -0
- package/dist/cli/commands/worktrain-tell.js +32 -0
- package/dist/cli-worktrain.d.ts +2 -0
- package/dist/cli-worktrain.js +169 -0
- package/dist/cli.js +13 -3
- package/dist/config/config-file.d.ts +2 -0
- package/dist/config/config-file.js +55 -0
- package/dist/daemon/agent-loop.d.ts +90 -0
- package/dist/daemon/agent-loop.js +214 -0
- package/dist/daemon/pi-mono-loader.d.ts +0 -5
- package/dist/daemon/pi-mono-loader.js +0 -64
- package/dist/daemon/soul-template.d.ts +2 -0
- package/dist/daemon/soul-template.js +22 -0
- package/dist/daemon/workflow-runner.d.ts +24 -2
- package/dist/daemon/workflow-runner.js +235 -119
- package/dist/manifest.json +147 -51
- package/dist/mcp/output-schemas.d.ts +154 -154
- package/dist/mcp/transports/bridge-entry.js +20 -2
- package/dist/mcp/transports/bridge-events.d.ts +34 -0
- package/dist/mcp/transports/bridge-events.js +24 -0
- package/dist/mcp/transports/fatal-exit.d.ts +5 -0
- package/dist/mcp/transports/fatal-exit.js +82 -0
- package/dist/mcp/transports/http-entry.js +3 -0
- package/dist/mcp/transports/stdio-entry.js +3 -7
- package/dist/mcp/v2/tools.d.ts +7 -7
- package/dist/trigger/delivery-action.d.ts +37 -0
- package/dist/trigger/delivery-action.js +204 -0
- package/dist/trigger/delivery-client.d.ts +11 -0
- package/dist/trigger/delivery-client.js +27 -0
- package/dist/trigger/trigger-listener.d.ts +2 -0
- package/dist/trigger/trigger-listener.js +12 -2
- package/dist/trigger/trigger-router.d.ts +8 -2
- package/dist/trigger/trigger-router.js +164 -6
- package/dist/trigger/trigger-store.d.ts +11 -3
- package/dist/trigger/trigger-store.js +254 -13
- package/dist/trigger/types.d.ts +24 -0
- package/dist/trigger/types.js +4 -0
- package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.d.ts +22 -22
- package/dist/v2/durable-core/schemas/execution-snapshot/execution-snapshot.v1.d.ts +114 -114
- package/dist/v2/durable-core/schemas/export-bundle/index.d.ts +454 -454
- package/dist/v2/durable-core/schemas/session/blockers.d.ts +14 -14
- package/dist/v2/durable-core/schemas/session/events.d.ts +93 -93
- package/dist/v2/durable-core/schemas/session/gaps.d.ts +2 -2
- package/dist/v2/durable-core/schemas/session/validation-event.d.ts +4 -4
- package/dist/v2/usecases/console-routes.js +33 -3
- package/package.json +6 -4
- package/spec/workflow-tags.json +1 -0
- package/workflows/classify-task-workflow.json +68 -0
- package/workflows/coding-task-workflow-agentic.lean.v2.json +43 -13
|
@@ -78,8 +78,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
78
78
|
data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
79
79
|
}, "strip", z.ZodTypeAny, {
|
|
80
80
|
kind: "session_created";
|
|
81
|
-
sessionId: string;
|
|
82
81
|
data: {};
|
|
82
|
+
sessionId: string;
|
|
83
83
|
v: 1;
|
|
84
84
|
eventIndex: number;
|
|
85
85
|
eventId: string;
|
|
@@ -90,8 +90,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
90
90
|
} | undefined;
|
|
91
91
|
}, {
|
|
92
92
|
kind: "session_created";
|
|
93
|
-
sessionId: string;
|
|
94
93
|
data: {};
|
|
94
|
+
sessionId: string;
|
|
95
95
|
v: 1;
|
|
96
96
|
eventIndex: number;
|
|
97
97
|
eventId: string;
|
|
@@ -115,93 +115,93 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
115
115
|
type: z.ZodLiteral<"short_string">;
|
|
116
116
|
value: z.ZodString;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
value: string;
|
|
119
118
|
type: "short_string";
|
|
120
|
-
}, {
|
|
121
119
|
value: string;
|
|
120
|
+
}, {
|
|
122
121
|
type: "short_string";
|
|
122
|
+
value: string;
|
|
123
123
|
}>, z.ZodObject<{
|
|
124
124
|
type: z.ZodLiteral<"git_sha1">;
|
|
125
125
|
value: z.ZodString;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
value: string;
|
|
128
127
|
type: "git_sha1";
|
|
129
|
-
}, {
|
|
130
128
|
value: string;
|
|
129
|
+
}, {
|
|
131
130
|
type: "git_sha1";
|
|
131
|
+
value: string;
|
|
132
132
|
}>, z.ZodObject<{
|
|
133
133
|
type: z.ZodLiteral<"sha256">;
|
|
134
134
|
value: z.ZodString;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
value: string;
|
|
137
136
|
type: "sha256";
|
|
138
|
-
}, {
|
|
139
137
|
value: string;
|
|
138
|
+
}, {
|
|
140
139
|
type: "sha256";
|
|
140
|
+
value: string;
|
|
141
141
|
}>, z.ZodObject<{
|
|
142
142
|
type: z.ZodLiteral<"path">;
|
|
143
143
|
value: z.ZodString;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
|
-
value: string;
|
|
146
145
|
type: "path";
|
|
147
|
-
}, {
|
|
148
146
|
value: string;
|
|
147
|
+
}, {
|
|
149
148
|
type: "path";
|
|
149
|
+
value: string;
|
|
150
150
|
}>]>;
|
|
151
151
|
confidence: z.ZodEnum<["low", "med", "high"]>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
153
|
value: {
|
|
154
|
-
value: string;
|
|
155
154
|
type: "short_string";
|
|
156
|
-
} | {
|
|
157
155
|
value: string;
|
|
158
|
-
type: "git_sha1";
|
|
159
156
|
} | {
|
|
157
|
+
type: "git_sha1";
|
|
160
158
|
value: string;
|
|
161
|
-
type: "sha256";
|
|
162
159
|
} | {
|
|
160
|
+
type: "sha256";
|
|
163
161
|
value: string;
|
|
162
|
+
} | {
|
|
164
163
|
type: "path";
|
|
164
|
+
value: string;
|
|
165
165
|
};
|
|
166
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
167
166
|
confidence: "high" | "low" | "med";
|
|
167
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
168
168
|
}, {
|
|
169
169
|
value: {
|
|
170
|
-
value: string;
|
|
171
170
|
type: "short_string";
|
|
172
|
-
} | {
|
|
173
171
|
value: string;
|
|
174
|
-
type: "git_sha1";
|
|
175
172
|
} | {
|
|
173
|
+
type: "git_sha1";
|
|
176
174
|
value: string;
|
|
177
|
-
type: "sha256";
|
|
178
175
|
} | {
|
|
176
|
+
type: "sha256";
|
|
179
177
|
value: string;
|
|
178
|
+
} | {
|
|
180
179
|
type: "path";
|
|
180
|
+
value: string;
|
|
181
181
|
};
|
|
182
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
183
182
|
confidence: "high" | "low" | "med";
|
|
183
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
184
184
|
}>;
|
|
185
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
186
|
kind: "observation_recorded";
|
|
187
|
-
sessionId: string;
|
|
188
187
|
data: {
|
|
189
188
|
value: {
|
|
190
|
-
value: string;
|
|
191
189
|
type: "short_string";
|
|
192
|
-
} | {
|
|
193
190
|
value: string;
|
|
194
|
-
type: "git_sha1";
|
|
195
191
|
} | {
|
|
192
|
+
type: "git_sha1";
|
|
196
193
|
value: string;
|
|
197
|
-
type: "sha256";
|
|
198
194
|
} | {
|
|
195
|
+
type: "sha256";
|
|
199
196
|
value: string;
|
|
197
|
+
} | {
|
|
200
198
|
type: "path";
|
|
199
|
+
value: string;
|
|
201
200
|
};
|
|
202
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
203
201
|
confidence: "high" | "low" | "med";
|
|
202
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
204
203
|
};
|
|
204
|
+
sessionId: string;
|
|
205
205
|
v: 1;
|
|
206
206
|
eventIndex: number;
|
|
207
207
|
eventId: string;
|
|
@@ -209,24 +209,24 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
209
209
|
scope?: undefined;
|
|
210
210
|
}, {
|
|
211
211
|
kind: "observation_recorded";
|
|
212
|
-
sessionId: string;
|
|
213
212
|
data: {
|
|
214
213
|
value: {
|
|
215
|
-
value: string;
|
|
216
214
|
type: "short_string";
|
|
217
|
-
} | {
|
|
218
215
|
value: string;
|
|
219
|
-
type: "git_sha1";
|
|
220
216
|
} | {
|
|
217
|
+
type: "git_sha1";
|
|
221
218
|
value: string;
|
|
222
|
-
type: "sha256";
|
|
223
219
|
} | {
|
|
220
|
+
type: "sha256";
|
|
224
221
|
value: string;
|
|
222
|
+
} | {
|
|
225
223
|
type: "path";
|
|
224
|
+
value: string;
|
|
226
225
|
};
|
|
227
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
228
226
|
confidence: "high" | "low" | "med";
|
|
227
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
229
228
|
};
|
|
229
|
+
sessionId: string;
|
|
230
230
|
v: 1;
|
|
231
231
|
eventIndex: number;
|
|
232
232
|
eventId: string;
|
|
@@ -265,13 +265,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
265
265
|
}>;
|
|
266
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
267
|
kind: "run_started";
|
|
268
|
-
sessionId: string;
|
|
269
268
|
data: {
|
|
270
269
|
workflowId: string;
|
|
271
270
|
workflowHash: never;
|
|
272
271
|
workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
|
|
273
272
|
workflowSourceRef: string;
|
|
274
273
|
};
|
|
274
|
+
sessionId: string;
|
|
275
275
|
v: 1;
|
|
276
276
|
eventIndex: number;
|
|
277
277
|
eventId: string;
|
|
@@ -281,13 +281,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
281
281
|
};
|
|
282
282
|
}, {
|
|
283
283
|
kind: "run_started";
|
|
284
|
-
sessionId: string;
|
|
285
284
|
data: {
|
|
286
285
|
workflowId: string;
|
|
287
286
|
workflowHash: string;
|
|
288
287
|
workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
|
|
289
288
|
workflowSourceRef: string;
|
|
290
289
|
};
|
|
290
|
+
sessionId: string;
|
|
291
291
|
v: 1;
|
|
292
292
|
eventIndex: number;
|
|
293
293
|
eventId: string;
|
|
@@ -331,13 +331,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
331
331
|
}>;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
333
|
kind: "node_created";
|
|
334
|
-
sessionId: string;
|
|
335
334
|
data: {
|
|
336
335
|
snapshotRef: never;
|
|
337
336
|
nodeKind: "checkpoint" | "step" | "blocked_attempt";
|
|
338
337
|
parentNodeId: string | null;
|
|
339
338
|
workflowHash: never;
|
|
340
339
|
};
|
|
340
|
+
sessionId: string;
|
|
341
341
|
v: 1;
|
|
342
342
|
eventIndex: number;
|
|
343
343
|
eventId: string;
|
|
@@ -348,13 +348,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
348
348
|
};
|
|
349
349
|
}, {
|
|
350
350
|
kind: "node_created";
|
|
351
|
-
sessionId: string;
|
|
352
351
|
data: {
|
|
353
352
|
snapshotRef: string;
|
|
354
353
|
nodeKind: "checkpoint" | "step" | "blocked_attempt";
|
|
355
354
|
parentNodeId: string | null;
|
|
356
355
|
workflowHash: string;
|
|
357
356
|
};
|
|
357
|
+
sessionId: string;
|
|
358
358
|
v: 1;
|
|
359
359
|
eventIndex: number;
|
|
360
360
|
eventId: string;
|
|
@@ -427,7 +427,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
427
427
|
}>;
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
|
429
429
|
kind: "edge_created";
|
|
430
|
-
sessionId: string;
|
|
431
430
|
data: {
|
|
432
431
|
cause: {
|
|
433
432
|
kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
|
|
@@ -437,6 +436,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
437
436
|
fromNodeId: string;
|
|
438
437
|
toNodeId: string;
|
|
439
438
|
};
|
|
439
|
+
sessionId: string;
|
|
440
440
|
v: 1;
|
|
441
441
|
eventIndex: number;
|
|
442
442
|
eventId: string;
|
|
@@ -446,7 +446,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
446
446
|
};
|
|
447
447
|
}, {
|
|
448
448
|
kind: "edge_created";
|
|
449
|
-
sessionId: string;
|
|
450
449
|
data: {
|
|
451
450
|
cause: {
|
|
452
451
|
kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
|
|
@@ -456,6 +455,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
456
455
|
fromNodeId: string;
|
|
457
456
|
toNodeId: string;
|
|
458
457
|
};
|
|
458
|
+
sessionId: string;
|
|
459
459
|
v: 1;
|
|
460
460
|
eventIndex: number;
|
|
461
461
|
eventId: string;
|
|
@@ -493,11 +493,11 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
493
493
|
kind: z.ZodLiteral<"context_key">;
|
|
494
494
|
key: z.ZodString;
|
|
495
495
|
}, "strip", z.ZodTypeAny, {
|
|
496
|
-
key: string;
|
|
497
496
|
kind: "context_key";
|
|
498
|
-
}, {
|
|
499
497
|
key: string;
|
|
498
|
+
}, {
|
|
500
499
|
kind: "context_key";
|
|
500
|
+
key: string;
|
|
501
501
|
}>, z.ZodObject<{
|
|
502
502
|
kind: z.ZodLiteral<"context_budget">;
|
|
503
503
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -538,8 +538,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
538
538
|
message: string;
|
|
539
539
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
540
540
|
pointer: {
|
|
541
|
-
key: string;
|
|
542
541
|
kind: "context_key";
|
|
542
|
+
key: string;
|
|
543
543
|
} | {
|
|
544
544
|
kind: "context_budget";
|
|
545
545
|
} | {
|
|
@@ -557,8 +557,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
557
557
|
message: string;
|
|
558
558
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
559
559
|
pointer: {
|
|
560
|
-
key: string;
|
|
561
560
|
kind: "context_key";
|
|
561
|
+
key: string;
|
|
562
562
|
} | {
|
|
563
563
|
kind: "context_budget";
|
|
564
564
|
} | {
|
|
@@ -578,8 +578,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
578
578
|
message: string;
|
|
579
579
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
580
580
|
pointer: {
|
|
581
|
-
key: string;
|
|
582
581
|
kind: "context_key";
|
|
582
|
+
key: string;
|
|
583
583
|
} | {
|
|
584
584
|
kind: "context_budget";
|
|
585
585
|
} | {
|
|
@@ -599,8 +599,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
599
599
|
message: string;
|
|
600
600
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
601
601
|
pointer: {
|
|
602
|
-
key: string;
|
|
603
602
|
kind: "context_key";
|
|
603
|
+
key: string;
|
|
604
604
|
} | {
|
|
605
605
|
kind: "context_budget";
|
|
606
606
|
} | {
|
|
@@ -620,8 +620,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
620
620
|
message: string;
|
|
621
621
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
622
622
|
pointer: {
|
|
623
|
-
key: string;
|
|
624
623
|
kind: "context_key";
|
|
624
|
+
key: string;
|
|
625
625
|
} | {
|
|
626
626
|
kind: "context_budget";
|
|
627
627
|
} | {
|
|
@@ -641,8 +641,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
641
641
|
message: string;
|
|
642
642
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
643
643
|
pointer: {
|
|
644
|
-
key: string;
|
|
645
644
|
kind: "context_key";
|
|
645
|
+
key: string;
|
|
646
646
|
} | {
|
|
647
647
|
kind: "context_budget";
|
|
648
648
|
} | {
|
|
@@ -665,8 +665,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
665
665
|
message: string;
|
|
666
666
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
667
667
|
pointer: {
|
|
668
|
-
key: string;
|
|
669
668
|
kind: "context_key";
|
|
669
|
+
key: string;
|
|
670
670
|
} | {
|
|
671
671
|
kind: "context_budget";
|
|
672
672
|
} | {
|
|
@@ -689,8 +689,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
689
689
|
message: string;
|
|
690
690
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
691
691
|
pointer: {
|
|
692
|
-
key: string;
|
|
693
692
|
kind: "context_key";
|
|
693
|
+
key: string;
|
|
694
694
|
} | {
|
|
695
695
|
kind: "context_budget";
|
|
696
696
|
} | {
|
|
@@ -717,8 +717,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
717
717
|
toNodeId: string;
|
|
718
718
|
}>]>;
|
|
719
719
|
}, "strip", z.ZodTypeAny, {
|
|
720
|
-
intent: "ack_pending";
|
|
721
|
-
attemptId: string;
|
|
722
720
|
outcome: {
|
|
723
721
|
kind: "blocked";
|
|
724
722
|
blockers: {
|
|
@@ -726,8 +724,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
726
724
|
message: string;
|
|
727
725
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
728
726
|
pointer: {
|
|
729
|
-
key: string;
|
|
730
727
|
kind: "context_key";
|
|
728
|
+
key: string;
|
|
731
729
|
} | {
|
|
732
730
|
kind: "context_budget";
|
|
733
731
|
} | {
|
|
@@ -747,9 +745,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
747
745
|
kind: "advanced";
|
|
748
746
|
toNodeId: string;
|
|
749
747
|
};
|
|
750
|
-
}, {
|
|
751
748
|
intent: "ack_pending";
|
|
752
749
|
attemptId: string;
|
|
750
|
+
}, {
|
|
753
751
|
outcome: {
|
|
754
752
|
kind: "blocked";
|
|
755
753
|
blockers: {
|
|
@@ -757,8 +755,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
757
755
|
message: string;
|
|
758
756
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
759
757
|
pointer: {
|
|
760
|
-
key: string;
|
|
761
758
|
kind: "context_key";
|
|
759
|
+
key: string;
|
|
762
760
|
} | {
|
|
763
761
|
kind: "context_budget";
|
|
764
762
|
} | {
|
|
@@ -778,13 +776,12 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
778
776
|
kind: "advanced";
|
|
779
777
|
toNodeId: string;
|
|
780
778
|
};
|
|
779
|
+
intent: "ack_pending";
|
|
780
|
+
attemptId: string;
|
|
781
781
|
}>;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
783
783
|
kind: "advance_recorded";
|
|
784
|
-
sessionId: string;
|
|
785
784
|
data: {
|
|
786
|
-
intent: "ack_pending";
|
|
787
|
-
attemptId: string;
|
|
788
785
|
outcome: {
|
|
789
786
|
kind: "blocked";
|
|
790
787
|
blockers: {
|
|
@@ -792,8 +789,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
792
789
|
message: string;
|
|
793
790
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
794
791
|
pointer: {
|
|
795
|
-
key: string;
|
|
796
792
|
kind: "context_key";
|
|
793
|
+
key: string;
|
|
797
794
|
} | {
|
|
798
795
|
kind: "context_budget";
|
|
799
796
|
} | {
|
|
@@ -813,7 +810,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
813
810
|
kind: "advanced";
|
|
814
811
|
toNodeId: string;
|
|
815
812
|
};
|
|
813
|
+
intent: "ack_pending";
|
|
814
|
+
attemptId: string;
|
|
816
815
|
};
|
|
816
|
+
sessionId: string;
|
|
817
817
|
v: 1;
|
|
818
818
|
eventIndex: number;
|
|
819
819
|
eventId: string;
|
|
@@ -824,10 +824,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
824
824
|
};
|
|
825
825
|
}, {
|
|
826
826
|
kind: "advance_recorded";
|
|
827
|
-
sessionId: string;
|
|
828
827
|
data: {
|
|
829
|
-
intent: "ack_pending";
|
|
830
|
-
attemptId: string;
|
|
831
828
|
outcome: {
|
|
832
829
|
kind: "blocked";
|
|
833
830
|
blockers: {
|
|
@@ -835,8 +832,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
835
832
|
message: string;
|
|
836
833
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
837
834
|
pointer: {
|
|
838
|
-
key: string;
|
|
839
835
|
kind: "context_key";
|
|
836
|
+
key: string;
|
|
840
837
|
} | {
|
|
841
838
|
kind: "context_budget";
|
|
842
839
|
} | {
|
|
@@ -856,7 +853,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
856
853
|
kind: "advanced";
|
|
857
854
|
toNodeId: string;
|
|
858
855
|
};
|
|
856
|
+
intent: "ack_pending";
|
|
857
|
+
attemptId: string;
|
|
859
858
|
};
|
|
859
|
+
sessionId: string;
|
|
860
860
|
v: 1;
|
|
861
861
|
eventIndex: number;
|
|
862
862
|
eventId: string;
|
|
@@ -910,36 +910,36 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
910
910
|
}>;
|
|
911
911
|
}, "strict", z.ZodTypeAny, {
|
|
912
912
|
contractRef: string;
|
|
913
|
-
attemptId: string;
|
|
914
|
-
validationId: string;
|
|
915
913
|
result: {
|
|
916
914
|
issues: readonly string[];
|
|
917
915
|
valid: boolean;
|
|
918
916
|
suggestions: readonly string[];
|
|
919
917
|
};
|
|
920
|
-
}, {
|
|
921
|
-
contractRef: string;
|
|
922
918
|
attemptId: string;
|
|
923
919
|
validationId: string;
|
|
920
|
+
}, {
|
|
921
|
+
contractRef: string;
|
|
924
922
|
result: {
|
|
925
923
|
issues: readonly string[];
|
|
926
924
|
valid: boolean;
|
|
927
925
|
suggestions: readonly string[];
|
|
928
926
|
};
|
|
927
|
+
attemptId: string;
|
|
928
|
+
validationId: string;
|
|
929
929
|
}>;
|
|
930
930
|
}, "strip", z.ZodTypeAny, {
|
|
931
931
|
kind: "validation_performed";
|
|
932
|
-
sessionId: string;
|
|
933
932
|
data: {
|
|
934
933
|
contractRef: string;
|
|
935
|
-
attemptId: string;
|
|
936
|
-
validationId: string;
|
|
937
934
|
result: {
|
|
938
935
|
issues: readonly string[];
|
|
939
936
|
valid: boolean;
|
|
940
937
|
suggestions: readonly string[];
|
|
941
938
|
};
|
|
939
|
+
attemptId: string;
|
|
940
|
+
validationId: string;
|
|
942
941
|
};
|
|
942
|
+
sessionId: string;
|
|
943
943
|
v: 1;
|
|
944
944
|
eventIndex: number;
|
|
945
945
|
eventId: string;
|
|
@@ -950,17 +950,17 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
950
950
|
};
|
|
951
951
|
}, {
|
|
952
952
|
kind: "validation_performed";
|
|
953
|
-
sessionId: string;
|
|
954
953
|
data: {
|
|
955
954
|
contractRef: string;
|
|
956
|
-
attemptId: string;
|
|
957
|
-
validationId: string;
|
|
958
955
|
result: {
|
|
959
956
|
issues: readonly string[];
|
|
960
957
|
valid: boolean;
|
|
961
958
|
suggestions: readonly string[];
|
|
962
959
|
};
|
|
960
|
+
attemptId: string;
|
|
961
|
+
validationId: string;
|
|
963
962
|
};
|
|
963
|
+
sessionId: string;
|
|
964
964
|
v: 1;
|
|
965
965
|
eventIndex: number;
|
|
966
966
|
eventId: string;
|
|
@@ -1078,7 +1078,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1078
1078
|
}>;
|
|
1079
1079
|
}, "strip", z.ZodTypeAny, {
|
|
1080
1080
|
kind: "node_output_appended";
|
|
1081
|
-
sessionId: string;
|
|
1082
1081
|
data: {
|
|
1083
1082
|
outputId: string;
|
|
1084
1083
|
outputChannel: "recap" | "artifact";
|
|
@@ -1094,6 +1093,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1094
1093
|
};
|
|
1095
1094
|
supersedesOutputId?: string | undefined;
|
|
1096
1095
|
};
|
|
1096
|
+
sessionId: string;
|
|
1097
1097
|
v: 1;
|
|
1098
1098
|
eventIndex: number;
|
|
1099
1099
|
eventId: string;
|
|
@@ -1104,7 +1104,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1104
1104
|
};
|
|
1105
1105
|
}, {
|
|
1106
1106
|
kind: "node_output_appended";
|
|
1107
|
-
sessionId: string;
|
|
1108
1107
|
data: {
|
|
1109
1108
|
outputId: string;
|
|
1110
1109
|
outputChannel: "recap" | "artifact";
|
|
@@ -1120,6 +1119,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1120
1119
|
};
|
|
1121
1120
|
supersedesOutputId?: string | undefined;
|
|
1122
1121
|
};
|
|
1122
|
+
sessionId: string;
|
|
1123
1123
|
v: 1;
|
|
1124
1124
|
eventIndex: number;
|
|
1125
1125
|
eventId: string;
|
|
@@ -1195,7 +1195,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1195
1195
|
}>;
|
|
1196
1196
|
}, "strip", z.ZodTypeAny, {
|
|
1197
1197
|
kind: "assessment_recorded";
|
|
1198
|
-
sessionId: string;
|
|
1199
1198
|
data: {
|
|
1200
1199
|
assessmentId: string;
|
|
1201
1200
|
dimensions: readonly {
|
|
@@ -1209,6 +1208,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1209
1208
|
normalizationNotes: readonly string[];
|
|
1210
1209
|
summary?: string | undefined;
|
|
1211
1210
|
};
|
|
1211
|
+
sessionId: string;
|
|
1212
1212
|
v: 1;
|
|
1213
1213
|
eventIndex: number;
|
|
1214
1214
|
eventId: string;
|
|
@@ -1219,7 +1219,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1219
1219
|
};
|
|
1220
1220
|
}, {
|
|
1221
1221
|
kind: "assessment_recorded";
|
|
1222
|
-
sessionId: string;
|
|
1223
1222
|
data: {
|
|
1224
1223
|
assessmentId: string;
|
|
1225
1224
|
dimensions: readonly {
|
|
@@ -1233,6 +1232,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1233
1232
|
normalizationNotes: readonly string[];
|
|
1234
1233
|
summary?: string | undefined;
|
|
1235
1234
|
};
|
|
1235
|
+
sessionId: string;
|
|
1236
1236
|
v: 1;
|
|
1237
1237
|
eventIndex: number;
|
|
1238
1238
|
eventId: string;
|
|
@@ -1307,7 +1307,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1307
1307
|
}>;
|
|
1308
1308
|
}, "strip", z.ZodTypeAny, {
|
|
1309
1309
|
kind: "assessment_consequence_applied";
|
|
1310
|
-
sessionId: string;
|
|
1311
1310
|
data: {
|
|
1312
1311
|
assessmentId: string;
|
|
1313
1312
|
effect: {
|
|
@@ -1320,6 +1319,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1320
1319
|
dimensionId: string;
|
|
1321
1320
|
};
|
|
1322
1321
|
};
|
|
1322
|
+
sessionId: string;
|
|
1323
1323
|
v: 1;
|
|
1324
1324
|
eventIndex: number;
|
|
1325
1325
|
eventId: string;
|
|
@@ -1330,7 +1330,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1330
1330
|
};
|
|
1331
1331
|
}, {
|
|
1332
1332
|
kind: "assessment_consequence_applied";
|
|
1333
|
-
sessionId: string;
|
|
1334
1333
|
data: {
|
|
1335
1334
|
assessmentId: string;
|
|
1336
1335
|
effect: {
|
|
@@ -1343,6 +1342,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1343
1342
|
dimensionId: string;
|
|
1344
1343
|
};
|
|
1345
1344
|
};
|
|
1345
|
+
sessionId: string;
|
|
1346
1346
|
v: 1;
|
|
1347
1347
|
eventIndex: number;
|
|
1348
1348
|
eventId: string;
|
|
@@ -1460,7 +1460,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1460
1460
|
}>;
|
|
1461
1461
|
}, "strip", z.ZodTypeAny, {
|
|
1462
1462
|
kind: "preferences_changed";
|
|
1463
|
-
sessionId: string;
|
|
1464
1463
|
data: {
|
|
1465
1464
|
source: "user" | "workflow_recommendation" | "system";
|
|
1466
1465
|
changeId: string;
|
|
@@ -1476,6 +1475,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1476
1475
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1477
1476
|
};
|
|
1478
1477
|
};
|
|
1478
|
+
sessionId: string;
|
|
1479
1479
|
v: 1;
|
|
1480
1480
|
eventIndex: number;
|
|
1481
1481
|
eventId: string;
|
|
@@ -1486,7 +1486,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1486
1486
|
};
|
|
1487
1487
|
}, {
|
|
1488
1488
|
kind: "preferences_changed";
|
|
1489
|
-
sessionId: string;
|
|
1490
1489
|
data: {
|
|
1491
1490
|
source: "user" | "workflow_recommendation" | "system";
|
|
1492
1491
|
changeId: string;
|
|
@@ -1502,6 +1501,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1502
1501
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
1503
1502
|
};
|
|
1504
1503
|
};
|
|
1504
|
+
sessionId: string;
|
|
1505
1505
|
v: 1;
|
|
1506
1506
|
eventIndex: number;
|
|
1507
1507
|
eventId: string;
|
|
@@ -1739,7 +1739,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1739
1739
|
}>;
|
|
1740
1740
|
}, "strip", z.ZodTypeAny, {
|
|
1741
1741
|
kind: "capability_observed";
|
|
1742
|
-
sessionId: string;
|
|
1743
1742
|
data: {
|
|
1744
1743
|
status: "unknown" | "available" | "unavailable";
|
|
1745
1744
|
capability: "delegation" | "web_browsing";
|
|
@@ -1769,6 +1768,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1769
1768
|
enforcementGrade: "weak";
|
|
1770
1769
|
};
|
|
1771
1770
|
};
|
|
1771
|
+
sessionId: string;
|
|
1772
1772
|
v: 1;
|
|
1773
1773
|
eventIndex: number;
|
|
1774
1774
|
eventId: string;
|
|
@@ -1779,7 +1779,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1779
1779
|
};
|
|
1780
1780
|
}, {
|
|
1781
1781
|
kind: "capability_observed";
|
|
1782
|
-
sessionId: string;
|
|
1783
1782
|
data: {
|
|
1784
1783
|
status: "unknown" | "available" | "unavailable";
|
|
1785
1784
|
capability: "delegation" | "web_browsing";
|
|
@@ -1809,6 +1808,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1809
1808
|
enforcementGrade: "weak";
|
|
1810
1809
|
};
|
|
1811
1810
|
};
|
|
1811
|
+
sessionId: string;
|
|
1812
1812
|
v: 1;
|
|
1813
1813
|
eventIndex: number;
|
|
1814
1814
|
eventId: string;
|
|
@@ -1933,7 +1933,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1933
1933
|
resolvesGapId: string;
|
|
1934
1934
|
};
|
|
1935
1935
|
gapId: string;
|
|
1936
|
-
severity: "
|
|
1936
|
+
severity: "info" | "warning" | "critical";
|
|
1937
1937
|
evidenceRefs?: ({
|
|
1938
1938
|
kind: "event";
|
|
1939
1939
|
eventId: string;
|
|
@@ -1963,7 +1963,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1963
1963
|
resolvesGapId: string;
|
|
1964
1964
|
};
|
|
1965
1965
|
gapId: string;
|
|
1966
|
-
severity: "
|
|
1966
|
+
severity: "info" | "warning" | "critical";
|
|
1967
1967
|
evidenceRefs?: ({
|
|
1968
1968
|
kind: "event";
|
|
1969
1969
|
eventId: string;
|
|
@@ -1974,7 +1974,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1974
1974
|
}>;
|
|
1975
1975
|
}, "strip", z.ZodTypeAny, {
|
|
1976
1976
|
kind: "gap_recorded";
|
|
1977
|
-
sessionId: string;
|
|
1978
1977
|
data: {
|
|
1979
1978
|
summary: string;
|
|
1980
1979
|
reason: {
|
|
@@ -1997,7 +1996,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1997
1996
|
resolvesGapId: string;
|
|
1998
1997
|
};
|
|
1999
1998
|
gapId: string;
|
|
2000
|
-
severity: "
|
|
1999
|
+
severity: "info" | "warning" | "critical";
|
|
2001
2000
|
evidenceRefs?: ({
|
|
2002
2001
|
kind: "event";
|
|
2003
2002
|
eventId: string;
|
|
@@ -2006,6 +2005,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2006
2005
|
outputId: string;
|
|
2007
2006
|
})[] | undefined;
|
|
2008
2007
|
};
|
|
2008
|
+
sessionId: string;
|
|
2009
2009
|
v: 1;
|
|
2010
2010
|
eventIndex: number;
|
|
2011
2011
|
eventId: string;
|
|
@@ -2016,7 +2016,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2016
2016
|
};
|
|
2017
2017
|
}, {
|
|
2018
2018
|
kind: "gap_recorded";
|
|
2019
|
-
sessionId: string;
|
|
2020
2019
|
data: {
|
|
2021
2020
|
summary: string;
|
|
2022
2021
|
reason: {
|
|
@@ -2039,7 +2038,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2039
2038
|
resolvesGapId: string;
|
|
2040
2039
|
};
|
|
2041
2040
|
gapId: string;
|
|
2042
|
-
severity: "
|
|
2041
|
+
severity: "info" | "warning" | "critical";
|
|
2043
2042
|
evidenceRefs?: ({
|
|
2044
2043
|
kind: "event";
|
|
2045
2044
|
eventId: string;
|
|
@@ -2048,6 +2047,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2048
2047
|
outputId: string;
|
|
2049
2048
|
})[] | undefined;
|
|
2050
2049
|
};
|
|
2050
|
+
sessionId: string;
|
|
2051
2051
|
v: 1;
|
|
2052
2052
|
eventIndex: number;
|
|
2053
2053
|
eventId: string;
|
|
@@ -2086,12 +2086,12 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2086
2086
|
}>;
|
|
2087
2087
|
}, "strip", z.ZodTypeAny, {
|
|
2088
2088
|
kind: "context_set";
|
|
2089
|
-
sessionId: string;
|
|
2090
2089
|
data: {
|
|
2091
2090
|
source: "initial" | "agent_delta";
|
|
2092
2091
|
contextId: string;
|
|
2093
2092
|
context?: unknown;
|
|
2094
2093
|
};
|
|
2094
|
+
sessionId: string;
|
|
2095
2095
|
v: 1;
|
|
2096
2096
|
eventIndex: number;
|
|
2097
2097
|
eventId: string;
|
|
@@ -2101,12 +2101,12 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2101
2101
|
};
|
|
2102
2102
|
}, {
|
|
2103
2103
|
kind: "context_set";
|
|
2104
|
-
sessionId: string;
|
|
2105
2104
|
data: {
|
|
2106
2105
|
source: "initial" | "agent_delta";
|
|
2107
2106
|
contextId: string;
|
|
2108
2107
|
context?: unknown;
|
|
2109
2108
|
};
|
|
2109
|
+
sessionId: string;
|
|
2110
2110
|
v: 1;
|
|
2111
2111
|
eventIndex: number;
|
|
2112
2112
|
eventId: string;
|
|
@@ -2150,13 +2150,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2150
2150
|
}>;
|
|
2151
2151
|
}, "strip", z.ZodTypeAny, {
|
|
2152
2152
|
kind: "divergence_recorded";
|
|
2153
|
-
sessionId: string;
|
|
2154
2153
|
data: {
|
|
2155
2154
|
summary: string;
|
|
2156
2155
|
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
2157
2156
|
divergenceId: string;
|
|
2158
2157
|
relatedStepId?: string | undefined;
|
|
2159
2158
|
};
|
|
2159
|
+
sessionId: string;
|
|
2160
2160
|
v: 1;
|
|
2161
2161
|
eventIndex: number;
|
|
2162
2162
|
eventId: string;
|
|
@@ -2167,13 +2167,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2167
2167
|
};
|
|
2168
2168
|
}, {
|
|
2169
2169
|
kind: "divergence_recorded";
|
|
2170
|
-
sessionId: string;
|
|
2171
2170
|
data: {
|
|
2172
2171
|
summary: string;
|
|
2173
2172
|
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
2174
2173
|
divergenceId: string;
|
|
2175
2174
|
relatedStepId?: string | undefined;
|
|
2176
2175
|
};
|
|
2176
|
+
sessionId: string;
|
|
2177
2177
|
v: 1;
|
|
2178
2178
|
eventIndex: number;
|
|
2179
2179
|
eventId: string;
|
|
@@ -2354,7 +2354,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2354
2354
|
}>;
|
|
2355
2355
|
}, "strip", z.ZodTypeAny, {
|
|
2356
2356
|
kind: "decision_trace_appended";
|
|
2357
|
-
sessionId: string;
|
|
2358
2357
|
data: {
|
|
2359
2358
|
entries: {
|
|
2360
2359
|
kind: "selected_next_step" | "evaluated_condition" | "entered_loop" | "exited_loop" | "detected_non_tip_advance";
|
|
@@ -2375,6 +2374,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2375
2374
|
}[];
|
|
2376
2375
|
traceId: string;
|
|
2377
2376
|
};
|
|
2377
|
+
sessionId: string;
|
|
2378
2378
|
v: 1;
|
|
2379
2379
|
eventIndex: number;
|
|
2380
2380
|
eventId: string;
|
|
@@ -2385,7 +2385,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2385
2385
|
};
|
|
2386
2386
|
}, {
|
|
2387
2387
|
kind: "decision_trace_appended";
|
|
2388
|
-
sessionId: string;
|
|
2389
2388
|
data: {
|
|
2390
2389
|
entries: {
|
|
2391
2390
|
kind: "selected_next_step" | "evaluated_condition" | "entered_loop" | "exited_loop" | "detected_non_tip_advance";
|
|
@@ -2406,6 +2405,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2406
2405
|
}[];
|
|
2407
2406
|
traceId: string;
|
|
2408
2407
|
};
|
|
2408
|
+
sessionId: string;
|
|
2409
2409
|
v: 1;
|
|
2410
2410
|
eventIndex: number;
|
|
2411
2411
|
eventId: string;
|
|
@@ -2765,11 +2765,11 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2765
2765
|
kind: z.ZodLiteral<"missing_context_key">;
|
|
2766
2766
|
key: z.ZodString;
|
|
2767
2767
|
}, "strict", z.ZodTypeAny, {
|
|
2768
|
-
key: string;
|
|
2769
2768
|
kind: "missing_context_key";
|
|
2770
|
-
}, {
|
|
2771
2769
|
key: string;
|
|
2770
|
+
}, {
|
|
2772
2771
|
kind: "missing_context_key";
|
|
2772
|
+
key: string;
|
|
2773
2773
|
}>, z.ZodObject<{
|
|
2774
2774
|
kind: z.ZodLiteral<"context_budget_exceeded">;
|
|
2775
2775
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2795,11 +2795,11 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2795
2795
|
kind: z.ZodLiteral<"context_key">;
|
|
2796
2796
|
key: z.ZodString;
|
|
2797
2797
|
}, "strict", z.ZodTypeAny, {
|
|
2798
|
-
key: string;
|
|
2799
2798
|
kind: "context_key";
|
|
2800
|
-
}, {
|
|
2801
2799
|
key: string;
|
|
2800
|
+
}, {
|
|
2802
2801
|
kind: "context_key";
|
|
2802
|
+
key: string;
|
|
2803
2803
|
}>, z.ZodObject<{
|
|
2804
2804
|
kind: z.ZodLiteral<"context_budget">;
|
|
2805
2805
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2852,8 +2852,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2852
2852
|
message: string;
|
|
2853
2853
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2854
2854
|
pointer: {
|
|
2855
|
-
key: string;
|
|
2856
2855
|
kind: "context_key";
|
|
2856
|
+
key: string;
|
|
2857
2857
|
} | {
|
|
2858
2858
|
kind: "context_budget";
|
|
2859
2859
|
} | {
|
|
@@ -2875,8 +2875,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2875
2875
|
message: string;
|
|
2876
2876
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2877
2877
|
pointer: {
|
|
2878
|
-
key: string;
|
|
2879
2878
|
kind: "context_key";
|
|
2879
|
+
key: string;
|
|
2880
2880
|
} | {
|
|
2881
2881
|
kind: "context_budget";
|
|
2882
2882
|
} | {
|
|
@@ -2900,8 +2900,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2900
2900
|
message: string;
|
|
2901
2901
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2902
2902
|
pointer: {
|
|
2903
|
-
key: string;
|
|
2904
2903
|
kind: "context_key";
|
|
2904
|
+
key: string;
|
|
2905
2905
|
} | {
|
|
2906
2906
|
kind: "context_budget";
|
|
2907
2907
|
} | {
|
|
@@ -2925,8 +2925,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2925
2925
|
message: string;
|
|
2926
2926
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2927
2927
|
pointer: {
|
|
2928
|
-
key: string;
|
|
2929
2928
|
kind: "context_key";
|
|
2929
|
+
key: string;
|
|
2930
2930
|
} | {
|
|
2931
2931
|
kind: "context_budget";
|
|
2932
2932
|
} | {
|
|
@@ -2961,8 +2961,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2961
2961
|
guidance: string;
|
|
2962
2962
|
dimensionId: string;
|
|
2963
2963
|
} | {
|
|
2964
|
-
key: string;
|
|
2965
2964
|
kind: "missing_context_key";
|
|
2965
|
+
key: string;
|
|
2966
2966
|
} | {
|
|
2967
2967
|
kind: "context_budget_exceeded";
|
|
2968
2968
|
} | {
|
|
@@ -2974,8 +2974,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2974
2974
|
message: string;
|
|
2975
2975
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
2976
2976
|
pointer: {
|
|
2977
|
-
key: string;
|
|
2978
2977
|
kind: "context_key";
|
|
2978
|
+
key: string;
|
|
2979
2979
|
} | {
|
|
2980
2980
|
kind: "context_budget";
|
|
2981
2981
|
} | {
|
|
@@ -3012,8 +3012,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3012
3012
|
guidance: string;
|
|
3013
3013
|
dimensionId: string;
|
|
3014
3014
|
} | {
|
|
3015
|
-
key: string;
|
|
3016
3015
|
kind: "missing_context_key";
|
|
3016
|
+
key: string;
|
|
3017
3017
|
} | {
|
|
3018
3018
|
kind: "context_budget_exceeded";
|
|
3019
3019
|
} | {
|
|
@@ -3025,8 +3025,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3025
3025
|
message: string;
|
|
3026
3026
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3027
3027
|
pointer: {
|
|
3028
|
-
key: string;
|
|
3029
3028
|
kind: "context_key";
|
|
3029
|
+
key: string;
|
|
3030
3030
|
} | {
|
|
3031
3031
|
kind: "context_budget";
|
|
3032
3032
|
} | {
|
|
@@ -3107,11 +3107,11 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3107
3107
|
kind: z.ZodLiteral<"context_key">;
|
|
3108
3108
|
key: z.ZodString;
|
|
3109
3109
|
}, "strict", z.ZodTypeAny, {
|
|
3110
|
-
key: string;
|
|
3111
3110
|
kind: "context_key";
|
|
3112
|
-
}, {
|
|
3113
3111
|
key: string;
|
|
3112
|
+
}, {
|
|
3114
3113
|
kind: "context_key";
|
|
3114
|
+
key: string;
|
|
3115
3115
|
}>, z.ZodObject<{
|
|
3116
3116
|
kind: z.ZodLiteral<"context_budget">;
|
|
3117
3117
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -3164,8 +3164,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3164
3164
|
message: string;
|
|
3165
3165
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3166
3166
|
pointer: {
|
|
3167
|
-
key: string;
|
|
3168
3167
|
kind: "context_key";
|
|
3168
|
+
key: string;
|
|
3169
3169
|
} | {
|
|
3170
3170
|
kind: "context_budget";
|
|
3171
3171
|
} | {
|
|
@@ -3187,8 +3187,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3187
3187
|
message: string;
|
|
3188
3188
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3189
3189
|
pointer: {
|
|
3190
|
-
key: string;
|
|
3191
3190
|
kind: "context_key";
|
|
3191
|
+
key: string;
|
|
3192
3192
|
} | {
|
|
3193
3193
|
kind: "context_budget";
|
|
3194
3194
|
} | {
|
|
@@ -3212,8 +3212,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3212
3212
|
message: string;
|
|
3213
3213
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3214
3214
|
pointer: {
|
|
3215
|
-
key: string;
|
|
3216
3215
|
kind: "context_key";
|
|
3216
|
+
key: string;
|
|
3217
3217
|
} | {
|
|
3218
3218
|
kind: "context_budget";
|
|
3219
3219
|
} | {
|
|
@@ -3237,8 +3237,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3237
3237
|
message: string;
|
|
3238
3238
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3239
3239
|
pointer: {
|
|
3240
|
-
key: string;
|
|
3241
3240
|
kind: "context_key";
|
|
3241
|
+
key: string;
|
|
3242
3242
|
} | {
|
|
3243
3243
|
kind: "context_budget";
|
|
3244
3244
|
} | {
|
|
@@ -3282,8 +3282,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3282
3282
|
message: string;
|
|
3283
3283
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3284
3284
|
pointer: {
|
|
3285
|
-
key: string;
|
|
3286
3285
|
kind: "context_key";
|
|
3286
|
+
key: string;
|
|
3287
3287
|
} | {
|
|
3288
3288
|
kind: "context_budget";
|
|
3289
3289
|
} | {
|
|
@@ -3328,8 +3328,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3328
3328
|
message: string;
|
|
3329
3329
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3330
3330
|
pointer: {
|
|
3331
|
-
key: string;
|
|
3332
3331
|
kind: "context_key";
|
|
3332
|
+
key: string;
|
|
3333
3333
|
} | {
|
|
3334
3334
|
kind: "context_budget";
|
|
3335
3335
|
} | {
|
|
@@ -3368,8 +3368,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3368
3368
|
guidance: string;
|
|
3369
3369
|
dimensionId: string;
|
|
3370
3370
|
} | {
|
|
3371
|
-
key: string;
|
|
3372
3371
|
kind: "missing_context_key";
|
|
3372
|
+
key: string;
|
|
3373
3373
|
} | {
|
|
3374
3374
|
kind: "context_budget_exceeded";
|
|
3375
3375
|
} | {
|
|
@@ -3381,8 +3381,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3381
3381
|
message: string;
|
|
3382
3382
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3383
3383
|
pointer: {
|
|
3384
|
-
key: string;
|
|
3385
3384
|
kind: "context_key";
|
|
3385
|
+
key: string;
|
|
3386
3386
|
} | {
|
|
3387
3387
|
kind: "context_budget";
|
|
3388
3388
|
} | {
|
|
@@ -3428,8 +3428,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3428
3428
|
message: string;
|
|
3429
3429
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3430
3430
|
pointer: {
|
|
3431
|
-
key: string;
|
|
3432
3431
|
kind: "context_key";
|
|
3432
|
+
key: string;
|
|
3433
3433
|
} | {
|
|
3434
3434
|
kind: "context_budget";
|
|
3435
3435
|
} | {
|
|
@@ -3495,8 +3495,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3495
3495
|
guidance: string;
|
|
3496
3496
|
dimensionId: string;
|
|
3497
3497
|
} | {
|
|
3498
|
-
key: string;
|
|
3499
3498
|
kind: "missing_context_key";
|
|
3499
|
+
key: string;
|
|
3500
3500
|
} | {
|
|
3501
3501
|
kind: "context_budget_exceeded";
|
|
3502
3502
|
} | {
|
|
@@ -3508,8 +3508,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3508
3508
|
message: string;
|
|
3509
3509
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3510
3510
|
pointer: {
|
|
3511
|
-
key: string;
|
|
3512
3511
|
kind: "context_key";
|
|
3512
|
+
key: string;
|
|
3513
3513
|
} | {
|
|
3514
3514
|
kind: "context_budget";
|
|
3515
3515
|
} | {
|
|
@@ -3555,8 +3555,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3555
3555
|
message: string;
|
|
3556
3556
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3557
3557
|
pointer: {
|
|
3558
|
-
key: string;
|
|
3559
3558
|
kind: "context_key";
|
|
3559
|
+
key: string;
|
|
3560
3560
|
} | {
|
|
3561
3561
|
kind: "context_budget";
|
|
3562
3562
|
} | {
|
|
@@ -3653,8 +3653,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3653
3653
|
guidance: string;
|
|
3654
3654
|
dimensionId: string;
|
|
3655
3655
|
} | {
|
|
3656
|
-
key: string;
|
|
3657
3656
|
kind: "missing_context_key";
|
|
3657
|
+
key: string;
|
|
3658
3658
|
} | {
|
|
3659
3659
|
kind: "context_budget_exceeded";
|
|
3660
3660
|
} | {
|
|
@@ -3666,8 +3666,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3666
3666
|
message: string;
|
|
3667
3667
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3668
3668
|
pointer: {
|
|
3669
|
-
key: string;
|
|
3670
3669
|
kind: "context_key";
|
|
3670
|
+
key: string;
|
|
3671
3671
|
} | {
|
|
3672
3672
|
kind: "context_budget";
|
|
3673
3673
|
} | {
|
|
@@ -3713,8 +3713,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3713
3713
|
message: string;
|
|
3714
3714
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3715
3715
|
pointer: {
|
|
3716
|
-
key: string;
|
|
3717
3716
|
kind: "context_key";
|
|
3717
|
+
key: string;
|
|
3718
3718
|
} | {
|
|
3719
3719
|
kind: "context_budget";
|
|
3720
3720
|
} | {
|
|
@@ -3807,8 +3807,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3807
3807
|
guidance: string;
|
|
3808
3808
|
dimensionId: string;
|
|
3809
3809
|
} | {
|
|
3810
|
-
key: string;
|
|
3811
3810
|
kind: "missing_context_key";
|
|
3811
|
+
key: string;
|
|
3812
3812
|
} | {
|
|
3813
3813
|
kind: "context_budget_exceeded";
|
|
3814
3814
|
} | {
|
|
@@ -3820,8 +3820,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3820
3820
|
message: string;
|
|
3821
3821
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3822
3822
|
pointer: {
|
|
3823
|
-
key: string;
|
|
3824
3823
|
kind: "context_key";
|
|
3824
|
+
key: string;
|
|
3825
3825
|
} | {
|
|
3826
3826
|
kind: "context_budget";
|
|
3827
3827
|
} | {
|
|
@@ -3867,8 +3867,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3867
3867
|
message: string;
|
|
3868
3868
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3869
3869
|
pointer: {
|
|
3870
|
-
key: string;
|
|
3871
3870
|
kind: "context_key";
|
|
3871
|
+
key: string;
|
|
3872
3872
|
} | {
|
|
3873
3873
|
kind: "context_budget";
|
|
3874
3874
|
} | {
|
|
@@ -3964,8 +3964,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3964
3964
|
guidance: string;
|
|
3965
3965
|
dimensionId: string;
|
|
3966
3966
|
} | {
|
|
3967
|
-
key: string;
|
|
3968
3967
|
kind: "missing_context_key";
|
|
3968
|
+
key: string;
|
|
3969
3969
|
} | {
|
|
3970
3970
|
kind: "context_budget_exceeded";
|
|
3971
3971
|
} | {
|
|
@@ -3977,8 +3977,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3977
3977
|
message: string;
|
|
3978
3978
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
3979
3979
|
pointer: {
|
|
3980
|
-
key: string;
|
|
3981
3980
|
kind: "context_key";
|
|
3981
|
+
key: string;
|
|
3982
3982
|
} | {
|
|
3983
3983
|
kind: "context_budget";
|
|
3984
3984
|
} | {
|
|
@@ -4024,8 +4024,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4024
4024
|
message: string;
|
|
4025
4025
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4026
4026
|
pointer: {
|
|
4027
|
-
key: string;
|
|
4028
4027
|
kind: "context_key";
|
|
4028
|
+
key: string;
|
|
4029
4029
|
} | {
|
|
4030
4030
|
kind: "context_budget";
|
|
4031
4031
|
} | {
|
|
@@ -4121,8 +4121,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4121
4121
|
guidance: string;
|
|
4122
4122
|
dimensionId: string;
|
|
4123
4123
|
} | {
|
|
4124
|
-
key: string;
|
|
4125
4124
|
kind: "missing_context_key";
|
|
4125
|
+
key: string;
|
|
4126
4126
|
} | {
|
|
4127
4127
|
kind: "context_budget_exceeded";
|
|
4128
4128
|
} | {
|
|
@@ -4134,8 +4134,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4134
4134
|
message: string;
|
|
4135
4135
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4136
4136
|
pointer: {
|
|
4137
|
-
key: string;
|
|
4138
4137
|
kind: "context_key";
|
|
4138
|
+
key: string;
|
|
4139
4139
|
} | {
|
|
4140
4140
|
kind: "context_budget";
|
|
4141
4141
|
} | {
|
|
@@ -4181,8 +4181,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4181
4181
|
message: string;
|
|
4182
4182
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4183
4183
|
pointer: {
|
|
4184
|
-
key: string;
|
|
4185
4184
|
kind: "context_key";
|
|
4185
|
+
key: string;
|
|
4186
4186
|
} | {
|
|
4187
4187
|
kind: "context_budget";
|
|
4188
4188
|
} | {
|
|
@@ -4282,8 +4282,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4282
4282
|
guidance: string;
|
|
4283
4283
|
dimensionId: string;
|
|
4284
4284
|
} | {
|
|
4285
|
-
key: string;
|
|
4286
4285
|
kind: "missing_context_key";
|
|
4286
|
+
key: string;
|
|
4287
4287
|
} | {
|
|
4288
4288
|
kind: "context_budget_exceeded";
|
|
4289
4289
|
} | {
|
|
@@ -4295,8 +4295,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4295
4295
|
message: string;
|
|
4296
4296
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4297
4297
|
pointer: {
|
|
4298
|
-
key: string;
|
|
4299
4298
|
kind: "context_key";
|
|
4299
|
+
key: string;
|
|
4300
4300
|
} | {
|
|
4301
4301
|
kind: "context_budget";
|
|
4302
4302
|
} | {
|
|
@@ -4342,8 +4342,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4342
4342
|
message: string;
|
|
4343
4343
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4344
4344
|
pointer: {
|
|
4345
|
-
key: string;
|
|
4346
4345
|
kind: "context_key";
|
|
4346
|
+
key: string;
|
|
4347
4347
|
} | {
|
|
4348
4348
|
kind: "context_budget";
|
|
4349
4349
|
} | {
|
|
@@ -4443,8 +4443,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4443
4443
|
guidance: string;
|
|
4444
4444
|
dimensionId: string;
|
|
4445
4445
|
} | {
|
|
4446
|
-
key: string;
|
|
4447
4446
|
kind: "missing_context_key";
|
|
4447
|
+
key: string;
|
|
4448
4448
|
} | {
|
|
4449
4449
|
kind: "context_budget_exceeded";
|
|
4450
4450
|
} | {
|
|
@@ -4456,8 +4456,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4456
4456
|
message: string;
|
|
4457
4457
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4458
4458
|
pointer: {
|
|
4459
|
-
key: string;
|
|
4460
4459
|
kind: "context_key";
|
|
4460
|
+
key: string;
|
|
4461
4461
|
} | {
|
|
4462
4462
|
kind: "context_budget";
|
|
4463
4463
|
} | {
|
|
@@ -4503,8 +4503,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4503
4503
|
message: string;
|
|
4504
4504
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4505
4505
|
pointer: {
|
|
4506
|
-
key: string;
|
|
4507
4506
|
kind: "context_key";
|
|
4507
|
+
key: string;
|
|
4508
4508
|
} | {
|
|
4509
4509
|
kind: "context_budget";
|
|
4510
4510
|
} | {
|
|
@@ -4608,8 +4608,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4608
4608
|
guidance: string;
|
|
4609
4609
|
dimensionId: string;
|
|
4610
4610
|
} | {
|
|
4611
|
-
key: string;
|
|
4612
4611
|
kind: "missing_context_key";
|
|
4612
|
+
key: string;
|
|
4613
4613
|
} | {
|
|
4614
4614
|
kind: "context_budget_exceeded";
|
|
4615
4615
|
} | {
|
|
@@ -4621,8 +4621,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4621
4621
|
message: string;
|
|
4622
4622
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4623
4623
|
pointer: {
|
|
4624
|
-
key: string;
|
|
4625
4624
|
kind: "context_key";
|
|
4625
|
+
key: string;
|
|
4626
4626
|
} | {
|
|
4627
4627
|
kind: "context_budget";
|
|
4628
4628
|
} | {
|
|
@@ -4668,8 +4668,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4668
4668
|
message: string;
|
|
4669
4669
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4670
4670
|
pointer: {
|
|
4671
|
-
key: string;
|
|
4672
4671
|
kind: "context_key";
|
|
4672
|
+
key: string;
|
|
4673
4673
|
} | {
|
|
4674
4674
|
kind: "context_budget";
|
|
4675
4675
|
} | {
|
|
@@ -4725,8 +4725,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4725
4725
|
}>;
|
|
4726
4726
|
events: ({
|
|
4727
4727
|
kind: "session_created";
|
|
4728
|
-
sessionId: string;
|
|
4729
4728
|
data: {};
|
|
4729
|
+
sessionId: string;
|
|
4730
4730
|
v: 1;
|
|
4731
4731
|
eventIndex: number;
|
|
4732
4732
|
eventId: string;
|
|
@@ -4737,24 +4737,24 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4737
4737
|
} | undefined;
|
|
4738
4738
|
} | {
|
|
4739
4739
|
kind: "observation_recorded";
|
|
4740
|
-
sessionId: string;
|
|
4741
4740
|
data: {
|
|
4742
4741
|
value: {
|
|
4743
|
-
value: string;
|
|
4744
4742
|
type: "short_string";
|
|
4745
|
-
} | {
|
|
4746
4743
|
value: string;
|
|
4747
|
-
type: "git_sha1";
|
|
4748
4744
|
} | {
|
|
4745
|
+
type: "git_sha1";
|
|
4749
4746
|
value: string;
|
|
4750
|
-
type: "sha256";
|
|
4751
4747
|
} | {
|
|
4748
|
+
type: "sha256";
|
|
4752
4749
|
value: string;
|
|
4750
|
+
} | {
|
|
4753
4751
|
type: "path";
|
|
4752
|
+
value: string;
|
|
4754
4753
|
};
|
|
4755
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
4756
4754
|
confidence: "high" | "low" | "med";
|
|
4755
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
4757
4756
|
};
|
|
4757
|
+
sessionId: string;
|
|
4758
4758
|
v: 1;
|
|
4759
4759
|
eventIndex: number;
|
|
4760
4760
|
eventId: string;
|
|
@@ -4762,13 +4762,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4762
4762
|
scope?: undefined;
|
|
4763
4763
|
} | {
|
|
4764
4764
|
kind: "run_started";
|
|
4765
|
-
sessionId: string;
|
|
4766
4765
|
data: {
|
|
4767
4766
|
workflowId: string;
|
|
4768
4767
|
workflowHash: never;
|
|
4769
4768
|
workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
|
|
4770
4769
|
workflowSourceRef: string;
|
|
4771
4770
|
};
|
|
4771
|
+
sessionId: string;
|
|
4772
4772
|
v: 1;
|
|
4773
4773
|
eventIndex: number;
|
|
4774
4774
|
eventId: string;
|
|
@@ -4778,13 +4778,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4778
4778
|
};
|
|
4779
4779
|
} | {
|
|
4780
4780
|
kind: "node_created";
|
|
4781
|
-
sessionId: string;
|
|
4782
4781
|
data: {
|
|
4783
4782
|
snapshotRef: never;
|
|
4784
4783
|
nodeKind: "checkpoint" | "step" | "blocked_attempt";
|
|
4785
4784
|
parentNodeId: string | null;
|
|
4786
4785
|
workflowHash: never;
|
|
4787
4786
|
};
|
|
4787
|
+
sessionId: string;
|
|
4788
4788
|
v: 1;
|
|
4789
4789
|
eventIndex: number;
|
|
4790
4790
|
eventId: string;
|
|
@@ -4795,7 +4795,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4795
4795
|
};
|
|
4796
4796
|
} | {
|
|
4797
4797
|
kind: "edge_created";
|
|
4798
|
-
sessionId: string;
|
|
4799
4798
|
data: {
|
|
4800
4799
|
cause: {
|
|
4801
4800
|
kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
|
|
@@ -4805,6 +4804,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4805
4804
|
fromNodeId: string;
|
|
4806
4805
|
toNodeId: string;
|
|
4807
4806
|
};
|
|
4807
|
+
sessionId: string;
|
|
4808
4808
|
v: 1;
|
|
4809
4809
|
eventIndex: number;
|
|
4810
4810
|
eventId: string;
|
|
@@ -4814,10 +4814,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4814
4814
|
};
|
|
4815
4815
|
} | {
|
|
4816
4816
|
kind: "advance_recorded";
|
|
4817
|
-
sessionId: string;
|
|
4818
4817
|
data: {
|
|
4819
|
-
intent: "ack_pending";
|
|
4820
|
-
attemptId: string;
|
|
4821
4818
|
outcome: {
|
|
4822
4819
|
kind: "blocked";
|
|
4823
4820
|
blockers: {
|
|
@@ -4825,8 +4822,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4825
4822
|
message: string;
|
|
4826
4823
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
4827
4824
|
pointer: {
|
|
4828
|
-
key: string;
|
|
4829
4825
|
kind: "context_key";
|
|
4826
|
+
key: string;
|
|
4830
4827
|
} | {
|
|
4831
4828
|
kind: "context_budget";
|
|
4832
4829
|
} | {
|
|
@@ -4846,7 +4843,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4846
4843
|
kind: "advanced";
|
|
4847
4844
|
toNodeId: string;
|
|
4848
4845
|
};
|
|
4846
|
+
intent: "ack_pending";
|
|
4847
|
+
attemptId: string;
|
|
4849
4848
|
};
|
|
4849
|
+
sessionId: string;
|
|
4850
4850
|
v: 1;
|
|
4851
4851
|
eventIndex: number;
|
|
4852
4852
|
eventId: string;
|
|
@@ -4857,17 +4857,17 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4857
4857
|
};
|
|
4858
4858
|
} | {
|
|
4859
4859
|
kind: "validation_performed";
|
|
4860
|
-
sessionId: string;
|
|
4861
4860
|
data: {
|
|
4862
4861
|
contractRef: string;
|
|
4863
|
-
attemptId: string;
|
|
4864
|
-
validationId: string;
|
|
4865
4862
|
result: {
|
|
4866
4863
|
issues: readonly string[];
|
|
4867
4864
|
valid: boolean;
|
|
4868
4865
|
suggestions: readonly string[];
|
|
4869
4866
|
};
|
|
4867
|
+
attemptId: string;
|
|
4868
|
+
validationId: string;
|
|
4870
4869
|
};
|
|
4870
|
+
sessionId: string;
|
|
4871
4871
|
v: 1;
|
|
4872
4872
|
eventIndex: number;
|
|
4873
4873
|
eventId: string;
|
|
@@ -4878,7 +4878,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4878
4878
|
};
|
|
4879
4879
|
} | {
|
|
4880
4880
|
kind: "node_output_appended";
|
|
4881
|
-
sessionId: string;
|
|
4882
4881
|
data: {
|
|
4883
4882
|
outputId: string;
|
|
4884
4883
|
outputChannel: "recap" | "artifact";
|
|
@@ -4894,6 +4893,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4894
4893
|
};
|
|
4895
4894
|
supersedesOutputId?: string | undefined;
|
|
4896
4895
|
};
|
|
4896
|
+
sessionId: string;
|
|
4897
4897
|
v: 1;
|
|
4898
4898
|
eventIndex: number;
|
|
4899
4899
|
eventId: string;
|
|
@@ -4904,7 +4904,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4904
4904
|
};
|
|
4905
4905
|
} | {
|
|
4906
4906
|
kind: "assessment_recorded";
|
|
4907
|
-
sessionId: string;
|
|
4908
4907
|
data: {
|
|
4909
4908
|
assessmentId: string;
|
|
4910
4909
|
dimensions: readonly {
|
|
@@ -4918,6 +4917,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4918
4917
|
normalizationNotes: readonly string[];
|
|
4919
4918
|
summary?: string | undefined;
|
|
4920
4919
|
};
|
|
4920
|
+
sessionId: string;
|
|
4921
4921
|
v: 1;
|
|
4922
4922
|
eventIndex: number;
|
|
4923
4923
|
eventId: string;
|
|
@@ -4928,7 +4928,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4928
4928
|
};
|
|
4929
4929
|
} | {
|
|
4930
4930
|
kind: "assessment_consequence_applied";
|
|
4931
|
-
sessionId: string;
|
|
4932
4931
|
data: {
|
|
4933
4932
|
assessmentId: string;
|
|
4934
4933
|
effect: {
|
|
@@ -4941,6 +4940,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4941
4940
|
dimensionId: string;
|
|
4942
4941
|
};
|
|
4943
4942
|
};
|
|
4943
|
+
sessionId: string;
|
|
4944
4944
|
v: 1;
|
|
4945
4945
|
eventIndex: number;
|
|
4946
4946
|
eventId: string;
|
|
@@ -4951,7 +4951,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4951
4951
|
};
|
|
4952
4952
|
} | {
|
|
4953
4953
|
kind: "preferences_changed";
|
|
4954
|
-
sessionId: string;
|
|
4955
4954
|
data: {
|
|
4956
4955
|
source: "user" | "workflow_recommendation" | "system";
|
|
4957
4956
|
changeId: string;
|
|
@@ -4967,6 +4966,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4967
4966
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
4968
4967
|
};
|
|
4969
4968
|
};
|
|
4969
|
+
sessionId: string;
|
|
4970
4970
|
v: 1;
|
|
4971
4971
|
eventIndex: number;
|
|
4972
4972
|
eventId: string;
|
|
@@ -4977,7 +4977,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4977
4977
|
};
|
|
4978
4978
|
} | {
|
|
4979
4979
|
kind: "capability_observed";
|
|
4980
|
-
sessionId: string;
|
|
4981
4980
|
data: {
|
|
4982
4981
|
status: "unknown" | "available" | "unavailable";
|
|
4983
4982
|
capability: "delegation" | "web_browsing";
|
|
@@ -5007,6 +5006,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5007
5006
|
enforcementGrade: "weak";
|
|
5008
5007
|
};
|
|
5009
5008
|
};
|
|
5009
|
+
sessionId: string;
|
|
5010
5010
|
v: 1;
|
|
5011
5011
|
eventIndex: number;
|
|
5012
5012
|
eventId: string;
|
|
@@ -5017,7 +5017,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5017
5017
|
};
|
|
5018
5018
|
} | {
|
|
5019
5019
|
kind: "gap_recorded";
|
|
5020
|
-
sessionId: string;
|
|
5021
5020
|
data: {
|
|
5022
5021
|
summary: string;
|
|
5023
5022
|
reason: {
|
|
@@ -5040,7 +5039,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5040
5039
|
resolvesGapId: string;
|
|
5041
5040
|
};
|
|
5042
5041
|
gapId: string;
|
|
5043
|
-
severity: "
|
|
5042
|
+
severity: "info" | "warning" | "critical";
|
|
5044
5043
|
evidenceRefs?: ({
|
|
5045
5044
|
kind: "event";
|
|
5046
5045
|
eventId: string;
|
|
@@ -5049,6 +5048,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5049
5048
|
outputId: string;
|
|
5050
5049
|
})[] | undefined;
|
|
5051
5050
|
};
|
|
5051
|
+
sessionId: string;
|
|
5052
5052
|
v: 1;
|
|
5053
5053
|
eventIndex: number;
|
|
5054
5054
|
eventId: string;
|
|
@@ -5059,12 +5059,12 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5059
5059
|
};
|
|
5060
5060
|
} | {
|
|
5061
5061
|
kind: "context_set";
|
|
5062
|
-
sessionId: string;
|
|
5063
5062
|
data: {
|
|
5064
5063
|
source: "initial" | "agent_delta";
|
|
5065
5064
|
contextId: string;
|
|
5066
5065
|
context?: unknown;
|
|
5067
5066
|
};
|
|
5067
|
+
sessionId: string;
|
|
5068
5068
|
v: 1;
|
|
5069
5069
|
eventIndex: number;
|
|
5070
5070
|
eventId: string;
|
|
@@ -5074,13 +5074,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5074
5074
|
};
|
|
5075
5075
|
} | {
|
|
5076
5076
|
kind: "divergence_recorded";
|
|
5077
|
-
sessionId: string;
|
|
5078
5077
|
data: {
|
|
5079
5078
|
summary: string;
|
|
5080
5079
|
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
5081
5080
|
divergenceId: string;
|
|
5082
5081
|
relatedStepId?: string | undefined;
|
|
5083
5082
|
};
|
|
5083
|
+
sessionId: string;
|
|
5084
5084
|
v: 1;
|
|
5085
5085
|
eventIndex: number;
|
|
5086
5086
|
eventId: string;
|
|
@@ -5091,7 +5091,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5091
5091
|
};
|
|
5092
5092
|
} | {
|
|
5093
5093
|
kind: "decision_trace_appended";
|
|
5094
|
-
sessionId: string;
|
|
5095
5094
|
data: {
|
|
5096
5095
|
entries: {
|
|
5097
5096
|
kind: "selected_next_step" | "evaluated_condition" | "entered_loop" | "exited_loop" | "detected_non_tip_advance";
|
|
@@ -5112,6 +5111,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5112
5111
|
}[];
|
|
5113
5112
|
traceId: string;
|
|
5114
5113
|
};
|
|
5114
|
+
sessionId: string;
|
|
5115
5115
|
v: 1;
|
|
5116
5116
|
eventIndex: number;
|
|
5117
5117
|
eventId: string;
|
|
@@ -5190,8 +5190,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5190
5190
|
guidance: string;
|
|
5191
5191
|
dimensionId: string;
|
|
5192
5192
|
} | {
|
|
5193
|
-
key: string;
|
|
5194
5193
|
kind: "missing_context_key";
|
|
5194
|
+
key: string;
|
|
5195
5195
|
} | {
|
|
5196
5196
|
kind: "context_budget_exceeded";
|
|
5197
5197
|
} | {
|
|
@@ -5203,8 +5203,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5203
5203
|
message: string;
|
|
5204
5204
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
5205
5205
|
pointer: {
|
|
5206
|
-
key: string;
|
|
5207
5206
|
kind: "context_key";
|
|
5207
|
+
key: string;
|
|
5208
5208
|
} | {
|
|
5209
5209
|
kind: "context_budget";
|
|
5210
5210
|
} | {
|
|
@@ -5250,8 +5250,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5250
5250
|
message: string;
|
|
5251
5251
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
5252
5252
|
pointer: {
|
|
5253
|
-
key: string;
|
|
5254
5253
|
kind: "context_key";
|
|
5254
|
+
key: string;
|
|
5255
5255
|
} | {
|
|
5256
5256
|
kind: "context_budget";
|
|
5257
5257
|
} | {
|
|
@@ -5301,8 +5301,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5301
5301
|
}>;
|
|
5302
5302
|
events: ({
|
|
5303
5303
|
kind: "session_created";
|
|
5304
|
-
sessionId: string;
|
|
5305
5304
|
data: {};
|
|
5305
|
+
sessionId: string;
|
|
5306
5306
|
v: 1;
|
|
5307
5307
|
eventIndex: number;
|
|
5308
5308
|
eventId: string;
|
|
@@ -5313,24 +5313,24 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5313
5313
|
} | undefined;
|
|
5314
5314
|
} | {
|
|
5315
5315
|
kind: "observation_recorded";
|
|
5316
|
-
sessionId: string;
|
|
5317
5316
|
data: {
|
|
5318
5317
|
value: {
|
|
5319
|
-
value: string;
|
|
5320
5318
|
type: "short_string";
|
|
5321
|
-
} | {
|
|
5322
5319
|
value: string;
|
|
5323
|
-
type: "git_sha1";
|
|
5324
5320
|
} | {
|
|
5321
|
+
type: "git_sha1";
|
|
5325
5322
|
value: string;
|
|
5326
|
-
type: "sha256";
|
|
5327
5323
|
} | {
|
|
5324
|
+
type: "sha256";
|
|
5328
5325
|
value: string;
|
|
5326
|
+
} | {
|
|
5329
5327
|
type: "path";
|
|
5328
|
+
value: string;
|
|
5330
5329
|
};
|
|
5331
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
5332
5330
|
confidence: "high" | "low" | "med";
|
|
5331
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
5333
5332
|
};
|
|
5333
|
+
sessionId: string;
|
|
5334
5334
|
v: 1;
|
|
5335
5335
|
eventIndex: number;
|
|
5336
5336
|
eventId: string;
|
|
@@ -5338,13 +5338,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5338
5338
|
scope?: undefined;
|
|
5339
5339
|
} | {
|
|
5340
5340
|
kind: "run_started";
|
|
5341
|
-
sessionId: string;
|
|
5342
5341
|
data: {
|
|
5343
5342
|
workflowId: string;
|
|
5344
5343
|
workflowHash: string;
|
|
5345
5344
|
workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
|
|
5346
5345
|
workflowSourceRef: string;
|
|
5347
5346
|
};
|
|
5347
|
+
sessionId: string;
|
|
5348
5348
|
v: 1;
|
|
5349
5349
|
eventIndex: number;
|
|
5350
5350
|
eventId: string;
|
|
@@ -5354,13 +5354,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5354
5354
|
};
|
|
5355
5355
|
} | {
|
|
5356
5356
|
kind: "node_created";
|
|
5357
|
-
sessionId: string;
|
|
5358
5357
|
data: {
|
|
5359
5358
|
snapshotRef: string;
|
|
5360
5359
|
nodeKind: "checkpoint" | "step" | "blocked_attempt";
|
|
5361
5360
|
parentNodeId: string | null;
|
|
5362
5361
|
workflowHash: string;
|
|
5363
5362
|
};
|
|
5363
|
+
sessionId: string;
|
|
5364
5364
|
v: 1;
|
|
5365
5365
|
eventIndex: number;
|
|
5366
5366
|
eventId: string;
|
|
@@ -5371,7 +5371,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5371
5371
|
};
|
|
5372
5372
|
} | {
|
|
5373
5373
|
kind: "edge_created";
|
|
5374
|
-
sessionId: string;
|
|
5375
5374
|
data: {
|
|
5376
5375
|
cause: {
|
|
5377
5376
|
kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
|
|
@@ -5381,6 +5380,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5381
5380
|
fromNodeId: string;
|
|
5382
5381
|
toNodeId: string;
|
|
5383
5382
|
};
|
|
5383
|
+
sessionId: string;
|
|
5384
5384
|
v: 1;
|
|
5385
5385
|
eventIndex: number;
|
|
5386
5386
|
eventId: string;
|
|
@@ -5390,10 +5390,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5390
5390
|
};
|
|
5391
5391
|
} | {
|
|
5392
5392
|
kind: "advance_recorded";
|
|
5393
|
-
sessionId: string;
|
|
5394
5393
|
data: {
|
|
5395
|
-
intent: "ack_pending";
|
|
5396
|
-
attemptId: string;
|
|
5397
5394
|
outcome: {
|
|
5398
5395
|
kind: "blocked";
|
|
5399
5396
|
blockers: {
|
|
@@ -5401,8 +5398,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5401
5398
|
message: string;
|
|
5402
5399
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
5403
5400
|
pointer: {
|
|
5404
|
-
key: string;
|
|
5405
5401
|
kind: "context_key";
|
|
5402
|
+
key: string;
|
|
5406
5403
|
} | {
|
|
5407
5404
|
kind: "context_budget";
|
|
5408
5405
|
} | {
|
|
@@ -5422,7 +5419,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5422
5419
|
kind: "advanced";
|
|
5423
5420
|
toNodeId: string;
|
|
5424
5421
|
};
|
|
5422
|
+
intent: "ack_pending";
|
|
5423
|
+
attemptId: string;
|
|
5425
5424
|
};
|
|
5425
|
+
sessionId: string;
|
|
5426
5426
|
v: 1;
|
|
5427
5427
|
eventIndex: number;
|
|
5428
5428
|
eventId: string;
|
|
@@ -5433,17 +5433,17 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5433
5433
|
};
|
|
5434
5434
|
} | {
|
|
5435
5435
|
kind: "validation_performed";
|
|
5436
|
-
sessionId: string;
|
|
5437
5436
|
data: {
|
|
5438
5437
|
contractRef: string;
|
|
5439
|
-
attemptId: string;
|
|
5440
|
-
validationId: string;
|
|
5441
5438
|
result: {
|
|
5442
5439
|
issues: readonly string[];
|
|
5443
5440
|
valid: boolean;
|
|
5444
5441
|
suggestions: readonly string[];
|
|
5445
5442
|
};
|
|
5443
|
+
attemptId: string;
|
|
5444
|
+
validationId: string;
|
|
5446
5445
|
};
|
|
5446
|
+
sessionId: string;
|
|
5447
5447
|
v: 1;
|
|
5448
5448
|
eventIndex: number;
|
|
5449
5449
|
eventId: string;
|
|
@@ -5454,7 +5454,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5454
5454
|
};
|
|
5455
5455
|
} | {
|
|
5456
5456
|
kind: "node_output_appended";
|
|
5457
|
-
sessionId: string;
|
|
5458
5457
|
data: {
|
|
5459
5458
|
outputId: string;
|
|
5460
5459
|
outputChannel: "recap" | "artifact";
|
|
@@ -5470,6 +5469,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5470
5469
|
};
|
|
5471
5470
|
supersedesOutputId?: string | undefined;
|
|
5472
5471
|
};
|
|
5472
|
+
sessionId: string;
|
|
5473
5473
|
v: 1;
|
|
5474
5474
|
eventIndex: number;
|
|
5475
5475
|
eventId: string;
|
|
@@ -5480,7 +5480,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5480
5480
|
};
|
|
5481
5481
|
} | {
|
|
5482
5482
|
kind: "assessment_recorded";
|
|
5483
|
-
sessionId: string;
|
|
5484
5483
|
data: {
|
|
5485
5484
|
assessmentId: string;
|
|
5486
5485
|
dimensions: readonly {
|
|
@@ -5494,6 +5493,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5494
5493
|
normalizationNotes: readonly string[];
|
|
5495
5494
|
summary?: string | undefined;
|
|
5496
5495
|
};
|
|
5496
|
+
sessionId: string;
|
|
5497
5497
|
v: 1;
|
|
5498
5498
|
eventIndex: number;
|
|
5499
5499
|
eventId: string;
|
|
@@ -5504,7 +5504,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5504
5504
|
};
|
|
5505
5505
|
} | {
|
|
5506
5506
|
kind: "assessment_consequence_applied";
|
|
5507
|
-
sessionId: string;
|
|
5508
5507
|
data: {
|
|
5509
5508
|
assessmentId: string;
|
|
5510
5509
|
effect: {
|
|
@@ -5517,6 +5516,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5517
5516
|
dimensionId: string;
|
|
5518
5517
|
};
|
|
5519
5518
|
};
|
|
5519
|
+
sessionId: string;
|
|
5520
5520
|
v: 1;
|
|
5521
5521
|
eventIndex: number;
|
|
5522
5522
|
eventId: string;
|
|
@@ -5527,7 +5527,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5527
5527
|
};
|
|
5528
5528
|
} | {
|
|
5529
5529
|
kind: "preferences_changed";
|
|
5530
|
-
sessionId: string;
|
|
5531
5530
|
data: {
|
|
5532
5531
|
source: "user" | "workflow_recommendation" | "system";
|
|
5533
5532
|
changeId: string;
|
|
@@ -5543,6 +5542,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5543
5542
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
5544
5543
|
};
|
|
5545
5544
|
};
|
|
5545
|
+
sessionId: string;
|
|
5546
5546
|
v: 1;
|
|
5547
5547
|
eventIndex: number;
|
|
5548
5548
|
eventId: string;
|
|
@@ -5553,7 +5553,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5553
5553
|
};
|
|
5554
5554
|
} | {
|
|
5555
5555
|
kind: "capability_observed";
|
|
5556
|
-
sessionId: string;
|
|
5557
5556
|
data: {
|
|
5558
5557
|
status: "unknown" | "available" | "unavailable";
|
|
5559
5558
|
capability: "delegation" | "web_browsing";
|
|
@@ -5583,6 +5582,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5583
5582
|
enforcementGrade: "weak";
|
|
5584
5583
|
};
|
|
5585
5584
|
};
|
|
5585
|
+
sessionId: string;
|
|
5586
5586
|
v: 1;
|
|
5587
5587
|
eventIndex: number;
|
|
5588
5588
|
eventId: string;
|
|
@@ -5593,7 +5593,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5593
5593
|
};
|
|
5594
5594
|
} | {
|
|
5595
5595
|
kind: "gap_recorded";
|
|
5596
|
-
sessionId: string;
|
|
5597
5596
|
data: {
|
|
5598
5597
|
summary: string;
|
|
5599
5598
|
reason: {
|
|
@@ -5616,7 +5615,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5616
5615
|
resolvesGapId: string;
|
|
5617
5616
|
};
|
|
5618
5617
|
gapId: string;
|
|
5619
|
-
severity: "
|
|
5618
|
+
severity: "info" | "warning" | "critical";
|
|
5620
5619
|
evidenceRefs?: ({
|
|
5621
5620
|
kind: "event";
|
|
5622
5621
|
eventId: string;
|
|
@@ -5625,6 +5624,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5625
5624
|
outputId: string;
|
|
5626
5625
|
})[] | undefined;
|
|
5627
5626
|
};
|
|
5627
|
+
sessionId: string;
|
|
5628
5628
|
v: 1;
|
|
5629
5629
|
eventIndex: number;
|
|
5630
5630
|
eventId: string;
|
|
@@ -5635,12 +5635,12 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5635
5635
|
};
|
|
5636
5636
|
} | {
|
|
5637
5637
|
kind: "context_set";
|
|
5638
|
-
sessionId: string;
|
|
5639
5638
|
data: {
|
|
5640
5639
|
source: "initial" | "agent_delta";
|
|
5641
5640
|
contextId: string;
|
|
5642
5641
|
context?: unknown;
|
|
5643
5642
|
};
|
|
5643
|
+
sessionId: string;
|
|
5644
5644
|
v: 1;
|
|
5645
5645
|
eventIndex: number;
|
|
5646
5646
|
eventId: string;
|
|
@@ -5650,13 +5650,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5650
5650
|
};
|
|
5651
5651
|
} | {
|
|
5652
5652
|
kind: "divergence_recorded";
|
|
5653
|
-
sessionId: string;
|
|
5654
5653
|
data: {
|
|
5655
5654
|
summary: string;
|
|
5656
5655
|
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
5657
5656
|
divergenceId: string;
|
|
5658
5657
|
relatedStepId?: string | undefined;
|
|
5659
5658
|
};
|
|
5659
|
+
sessionId: string;
|
|
5660
5660
|
v: 1;
|
|
5661
5661
|
eventIndex: number;
|
|
5662
5662
|
eventId: string;
|
|
@@ -5667,7 +5667,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5667
5667
|
};
|
|
5668
5668
|
} | {
|
|
5669
5669
|
kind: "decision_trace_appended";
|
|
5670
|
-
sessionId: string;
|
|
5671
5670
|
data: {
|
|
5672
5671
|
entries: {
|
|
5673
5672
|
kind: "selected_next_step" | "evaluated_condition" | "entered_loop" | "exited_loop" | "detected_non_tip_advance";
|
|
@@ -5688,6 +5687,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5688
5687
|
}[];
|
|
5689
5688
|
traceId: string;
|
|
5690
5689
|
};
|
|
5690
|
+
sessionId: string;
|
|
5691
5691
|
v: 1;
|
|
5692
5692
|
eventIndex: number;
|
|
5693
5693
|
eventId: string;
|
|
@@ -5786,8 +5786,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
5786
5786
|
data: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
5787
5787
|
}, "strip", z.ZodTypeAny, {
|
|
5788
5788
|
kind: "session_created";
|
|
5789
|
-
sessionId: string;
|
|
5790
5789
|
data: {};
|
|
5790
|
+
sessionId: string;
|
|
5791
5791
|
v: 1;
|
|
5792
5792
|
eventIndex: number;
|
|
5793
5793
|
eventId: string;
|
|
@@ -5798,8 +5798,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
5798
5798
|
} | undefined;
|
|
5799
5799
|
}, {
|
|
5800
5800
|
kind: "session_created";
|
|
5801
|
-
sessionId: string;
|
|
5802
5801
|
data: {};
|
|
5802
|
+
sessionId: string;
|
|
5803
5803
|
v: 1;
|
|
5804
5804
|
eventIndex: number;
|
|
5805
5805
|
eventId: string;
|
|
@@ -5823,93 +5823,93 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
5823
5823
|
type: z.ZodLiteral<"short_string">;
|
|
5824
5824
|
value: z.ZodString;
|
|
5825
5825
|
}, "strip", z.ZodTypeAny, {
|
|
5826
|
-
value: string;
|
|
5827
5826
|
type: "short_string";
|
|
5828
|
-
}, {
|
|
5829
5827
|
value: string;
|
|
5828
|
+
}, {
|
|
5830
5829
|
type: "short_string";
|
|
5830
|
+
value: string;
|
|
5831
5831
|
}>, z.ZodObject<{
|
|
5832
5832
|
type: z.ZodLiteral<"git_sha1">;
|
|
5833
5833
|
value: z.ZodString;
|
|
5834
5834
|
}, "strip", z.ZodTypeAny, {
|
|
5835
|
-
value: string;
|
|
5836
5835
|
type: "git_sha1";
|
|
5837
|
-
}, {
|
|
5838
5836
|
value: string;
|
|
5837
|
+
}, {
|
|
5839
5838
|
type: "git_sha1";
|
|
5839
|
+
value: string;
|
|
5840
5840
|
}>, z.ZodObject<{
|
|
5841
5841
|
type: z.ZodLiteral<"sha256">;
|
|
5842
5842
|
value: z.ZodString;
|
|
5843
5843
|
}, "strip", z.ZodTypeAny, {
|
|
5844
|
-
value: string;
|
|
5845
5844
|
type: "sha256";
|
|
5846
|
-
}, {
|
|
5847
5845
|
value: string;
|
|
5846
|
+
}, {
|
|
5848
5847
|
type: "sha256";
|
|
5848
|
+
value: string;
|
|
5849
5849
|
}>, z.ZodObject<{
|
|
5850
5850
|
type: z.ZodLiteral<"path">;
|
|
5851
5851
|
value: z.ZodString;
|
|
5852
5852
|
}, "strip", z.ZodTypeAny, {
|
|
5853
|
-
value: string;
|
|
5854
5853
|
type: "path";
|
|
5855
|
-
}, {
|
|
5856
5854
|
value: string;
|
|
5855
|
+
}, {
|
|
5857
5856
|
type: "path";
|
|
5857
|
+
value: string;
|
|
5858
5858
|
}>]>;
|
|
5859
5859
|
confidence: z.ZodEnum<["low", "med", "high"]>;
|
|
5860
5860
|
}, "strip", z.ZodTypeAny, {
|
|
5861
5861
|
value: {
|
|
5862
|
-
value: string;
|
|
5863
5862
|
type: "short_string";
|
|
5864
|
-
} | {
|
|
5865
5863
|
value: string;
|
|
5866
|
-
type: "git_sha1";
|
|
5867
5864
|
} | {
|
|
5865
|
+
type: "git_sha1";
|
|
5868
5866
|
value: string;
|
|
5869
|
-
type: "sha256";
|
|
5870
5867
|
} | {
|
|
5868
|
+
type: "sha256";
|
|
5871
5869
|
value: string;
|
|
5870
|
+
} | {
|
|
5872
5871
|
type: "path";
|
|
5872
|
+
value: string;
|
|
5873
5873
|
};
|
|
5874
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
5875
5874
|
confidence: "high" | "low" | "med";
|
|
5875
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
5876
5876
|
}, {
|
|
5877
5877
|
value: {
|
|
5878
|
-
value: string;
|
|
5879
5878
|
type: "short_string";
|
|
5880
|
-
} | {
|
|
5881
5879
|
value: string;
|
|
5882
|
-
type: "git_sha1";
|
|
5883
5880
|
} | {
|
|
5881
|
+
type: "git_sha1";
|
|
5884
5882
|
value: string;
|
|
5885
|
-
type: "sha256";
|
|
5886
5883
|
} | {
|
|
5884
|
+
type: "sha256";
|
|
5887
5885
|
value: string;
|
|
5886
|
+
} | {
|
|
5888
5887
|
type: "path";
|
|
5888
|
+
value: string;
|
|
5889
5889
|
};
|
|
5890
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
5891
5890
|
confidence: "high" | "low" | "med";
|
|
5891
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
5892
5892
|
}>;
|
|
5893
5893
|
}, "strip", z.ZodTypeAny, {
|
|
5894
5894
|
kind: "observation_recorded";
|
|
5895
|
-
sessionId: string;
|
|
5896
5895
|
data: {
|
|
5897
5896
|
value: {
|
|
5898
|
-
value: string;
|
|
5899
5897
|
type: "short_string";
|
|
5900
|
-
} | {
|
|
5901
5898
|
value: string;
|
|
5902
|
-
type: "git_sha1";
|
|
5903
5899
|
} | {
|
|
5900
|
+
type: "git_sha1";
|
|
5904
5901
|
value: string;
|
|
5905
|
-
type: "sha256";
|
|
5906
5902
|
} | {
|
|
5903
|
+
type: "sha256";
|
|
5907
5904
|
value: string;
|
|
5905
|
+
} | {
|
|
5908
5906
|
type: "path";
|
|
5907
|
+
value: string;
|
|
5909
5908
|
};
|
|
5910
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
5911
5909
|
confidence: "high" | "low" | "med";
|
|
5910
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
5912
5911
|
};
|
|
5912
|
+
sessionId: string;
|
|
5913
5913
|
v: 1;
|
|
5914
5914
|
eventIndex: number;
|
|
5915
5915
|
eventId: string;
|
|
@@ -5917,24 +5917,24 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
5917
5917
|
scope?: undefined;
|
|
5918
5918
|
}, {
|
|
5919
5919
|
kind: "observation_recorded";
|
|
5920
|
-
sessionId: string;
|
|
5921
5920
|
data: {
|
|
5922
5921
|
value: {
|
|
5923
|
-
value: string;
|
|
5924
5922
|
type: "short_string";
|
|
5925
|
-
} | {
|
|
5926
5923
|
value: string;
|
|
5927
|
-
type: "git_sha1";
|
|
5928
5924
|
} | {
|
|
5925
|
+
type: "git_sha1";
|
|
5929
5926
|
value: string;
|
|
5930
|
-
type: "sha256";
|
|
5931
5927
|
} | {
|
|
5928
|
+
type: "sha256";
|
|
5932
5929
|
value: string;
|
|
5930
|
+
} | {
|
|
5933
5931
|
type: "path";
|
|
5932
|
+
value: string;
|
|
5934
5933
|
};
|
|
5935
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
5936
5934
|
confidence: "high" | "low" | "med";
|
|
5935
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
5937
5936
|
};
|
|
5937
|
+
sessionId: string;
|
|
5938
5938
|
v: 1;
|
|
5939
5939
|
eventIndex: number;
|
|
5940
5940
|
eventId: string;
|
|
@@ -5973,13 +5973,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
5973
5973
|
}>;
|
|
5974
5974
|
}, "strip", z.ZodTypeAny, {
|
|
5975
5975
|
kind: "run_started";
|
|
5976
|
-
sessionId: string;
|
|
5977
5976
|
data: {
|
|
5978
5977
|
workflowId: string;
|
|
5979
5978
|
workflowHash: never;
|
|
5980
5979
|
workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
|
|
5981
5980
|
workflowSourceRef: string;
|
|
5982
5981
|
};
|
|
5982
|
+
sessionId: string;
|
|
5983
5983
|
v: 1;
|
|
5984
5984
|
eventIndex: number;
|
|
5985
5985
|
eventId: string;
|
|
@@ -5989,13 +5989,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
5989
5989
|
};
|
|
5990
5990
|
}, {
|
|
5991
5991
|
kind: "run_started";
|
|
5992
|
-
sessionId: string;
|
|
5993
5992
|
data: {
|
|
5994
5993
|
workflowId: string;
|
|
5995
5994
|
workflowHash: string;
|
|
5996
5995
|
workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
|
|
5997
5996
|
workflowSourceRef: string;
|
|
5998
5997
|
};
|
|
5998
|
+
sessionId: string;
|
|
5999
5999
|
v: 1;
|
|
6000
6000
|
eventIndex: number;
|
|
6001
6001
|
eventId: string;
|
|
@@ -6039,13 +6039,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6039
6039
|
}>;
|
|
6040
6040
|
}, "strip", z.ZodTypeAny, {
|
|
6041
6041
|
kind: "node_created";
|
|
6042
|
-
sessionId: string;
|
|
6043
6042
|
data: {
|
|
6044
6043
|
snapshotRef: never;
|
|
6045
6044
|
nodeKind: "checkpoint" | "step" | "blocked_attempt";
|
|
6046
6045
|
parentNodeId: string | null;
|
|
6047
6046
|
workflowHash: never;
|
|
6048
6047
|
};
|
|
6048
|
+
sessionId: string;
|
|
6049
6049
|
v: 1;
|
|
6050
6050
|
eventIndex: number;
|
|
6051
6051
|
eventId: string;
|
|
@@ -6056,13 +6056,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6056
6056
|
};
|
|
6057
6057
|
}, {
|
|
6058
6058
|
kind: "node_created";
|
|
6059
|
-
sessionId: string;
|
|
6060
6059
|
data: {
|
|
6061
6060
|
snapshotRef: string;
|
|
6062
6061
|
nodeKind: "checkpoint" | "step" | "blocked_attempt";
|
|
6063
6062
|
parentNodeId: string | null;
|
|
6064
6063
|
workflowHash: string;
|
|
6065
6064
|
};
|
|
6065
|
+
sessionId: string;
|
|
6066
6066
|
v: 1;
|
|
6067
6067
|
eventIndex: number;
|
|
6068
6068
|
eventId: string;
|
|
@@ -6135,7 +6135,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6135
6135
|
}>;
|
|
6136
6136
|
}, "strip", z.ZodTypeAny, {
|
|
6137
6137
|
kind: "edge_created";
|
|
6138
|
-
sessionId: string;
|
|
6139
6138
|
data: {
|
|
6140
6139
|
cause: {
|
|
6141
6140
|
kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
|
|
@@ -6145,6 +6144,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6145
6144
|
fromNodeId: string;
|
|
6146
6145
|
toNodeId: string;
|
|
6147
6146
|
};
|
|
6147
|
+
sessionId: string;
|
|
6148
6148
|
v: 1;
|
|
6149
6149
|
eventIndex: number;
|
|
6150
6150
|
eventId: string;
|
|
@@ -6154,7 +6154,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6154
6154
|
};
|
|
6155
6155
|
}, {
|
|
6156
6156
|
kind: "edge_created";
|
|
6157
|
-
sessionId: string;
|
|
6158
6157
|
data: {
|
|
6159
6158
|
cause: {
|
|
6160
6159
|
kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
|
|
@@ -6164,6 +6163,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6164
6163
|
fromNodeId: string;
|
|
6165
6164
|
toNodeId: string;
|
|
6166
6165
|
};
|
|
6166
|
+
sessionId: string;
|
|
6167
6167
|
v: 1;
|
|
6168
6168
|
eventIndex: number;
|
|
6169
6169
|
eventId: string;
|
|
@@ -6201,11 +6201,11 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6201
6201
|
kind: z.ZodLiteral<"context_key">;
|
|
6202
6202
|
key: z.ZodString;
|
|
6203
6203
|
}, "strip", z.ZodTypeAny, {
|
|
6204
|
-
key: string;
|
|
6205
6204
|
kind: "context_key";
|
|
6206
|
-
}, {
|
|
6207
6205
|
key: string;
|
|
6206
|
+
}, {
|
|
6208
6207
|
kind: "context_key";
|
|
6208
|
+
key: string;
|
|
6209
6209
|
}>, z.ZodObject<{
|
|
6210
6210
|
kind: z.ZodLiteral<"context_budget">;
|
|
6211
6211
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6246,8 +6246,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6246
6246
|
message: string;
|
|
6247
6247
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6248
6248
|
pointer: {
|
|
6249
|
-
key: string;
|
|
6250
6249
|
kind: "context_key";
|
|
6250
|
+
key: string;
|
|
6251
6251
|
} | {
|
|
6252
6252
|
kind: "context_budget";
|
|
6253
6253
|
} | {
|
|
@@ -6265,8 +6265,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6265
6265
|
message: string;
|
|
6266
6266
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6267
6267
|
pointer: {
|
|
6268
|
-
key: string;
|
|
6269
6268
|
kind: "context_key";
|
|
6269
|
+
key: string;
|
|
6270
6270
|
} | {
|
|
6271
6271
|
kind: "context_budget";
|
|
6272
6272
|
} | {
|
|
@@ -6286,8 +6286,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6286
6286
|
message: string;
|
|
6287
6287
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6288
6288
|
pointer: {
|
|
6289
|
-
key: string;
|
|
6290
6289
|
kind: "context_key";
|
|
6290
|
+
key: string;
|
|
6291
6291
|
} | {
|
|
6292
6292
|
kind: "context_budget";
|
|
6293
6293
|
} | {
|
|
@@ -6307,8 +6307,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6307
6307
|
message: string;
|
|
6308
6308
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6309
6309
|
pointer: {
|
|
6310
|
-
key: string;
|
|
6311
6310
|
kind: "context_key";
|
|
6311
|
+
key: string;
|
|
6312
6312
|
} | {
|
|
6313
6313
|
kind: "context_budget";
|
|
6314
6314
|
} | {
|
|
@@ -6328,8 +6328,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6328
6328
|
message: string;
|
|
6329
6329
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6330
6330
|
pointer: {
|
|
6331
|
-
key: string;
|
|
6332
6331
|
kind: "context_key";
|
|
6332
|
+
key: string;
|
|
6333
6333
|
} | {
|
|
6334
6334
|
kind: "context_budget";
|
|
6335
6335
|
} | {
|
|
@@ -6349,8 +6349,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6349
6349
|
message: string;
|
|
6350
6350
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6351
6351
|
pointer: {
|
|
6352
|
-
key: string;
|
|
6353
6352
|
kind: "context_key";
|
|
6353
|
+
key: string;
|
|
6354
6354
|
} | {
|
|
6355
6355
|
kind: "context_budget";
|
|
6356
6356
|
} | {
|
|
@@ -6373,8 +6373,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6373
6373
|
message: string;
|
|
6374
6374
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6375
6375
|
pointer: {
|
|
6376
|
-
key: string;
|
|
6377
6376
|
kind: "context_key";
|
|
6377
|
+
key: string;
|
|
6378
6378
|
} | {
|
|
6379
6379
|
kind: "context_budget";
|
|
6380
6380
|
} | {
|
|
@@ -6397,8 +6397,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6397
6397
|
message: string;
|
|
6398
6398
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6399
6399
|
pointer: {
|
|
6400
|
-
key: string;
|
|
6401
6400
|
kind: "context_key";
|
|
6401
|
+
key: string;
|
|
6402
6402
|
} | {
|
|
6403
6403
|
kind: "context_budget";
|
|
6404
6404
|
} | {
|
|
@@ -6425,8 +6425,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6425
6425
|
toNodeId: string;
|
|
6426
6426
|
}>]>;
|
|
6427
6427
|
}, "strip", z.ZodTypeAny, {
|
|
6428
|
-
intent: "ack_pending";
|
|
6429
|
-
attemptId: string;
|
|
6430
6428
|
outcome: {
|
|
6431
6429
|
kind: "blocked";
|
|
6432
6430
|
blockers: {
|
|
@@ -6434,8 +6432,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6434
6432
|
message: string;
|
|
6435
6433
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6436
6434
|
pointer: {
|
|
6437
|
-
key: string;
|
|
6438
6435
|
kind: "context_key";
|
|
6436
|
+
key: string;
|
|
6439
6437
|
} | {
|
|
6440
6438
|
kind: "context_budget";
|
|
6441
6439
|
} | {
|
|
@@ -6455,9 +6453,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6455
6453
|
kind: "advanced";
|
|
6456
6454
|
toNodeId: string;
|
|
6457
6455
|
};
|
|
6458
|
-
}, {
|
|
6459
6456
|
intent: "ack_pending";
|
|
6460
6457
|
attemptId: string;
|
|
6458
|
+
}, {
|
|
6461
6459
|
outcome: {
|
|
6462
6460
|
kind: "blocked";
|
|
6463
6461
|
blockers: {
|
|
@@ -6465,8 +6463,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6465
6463
|
message: string;
|
|
6466
6464
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6467
6465
|
pointer: {
|
|
6468
|
-
key: string;
|
|
6469
6466
|
kind: "context_key";
|
|
6467
|
+
key: string;
|
|
6470
6468
|
} | {
|
|
6471
6469
|
kind: "context_budget";
|
|
6472
6470
|
} | {
|
|
@@ -6486,13 +6484,12 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6486
6484
|
kind: "advanced";
|
|
6487
6485
|
toNodeId: string;
|
|
6488
6486
|
};
|
|
6487
|
+
intent: "ack_pending";
|
|
6488
|
+
attemptId: string;
|
|
6489
6489
|
}>;
|
|
6490
6490
|
}, "strip", z.ZodTypeAny, {
|
|
6491
6491
|
kind: "advance_recorded";
|
|
6492
|
-
sessionId: string;
|
|
6493
6492
|
data: {
|
|
6494
|
-
intent: "ack_pending";
|
|
6495
|
-
attemptId: string;
|
|
6496
6493
|
outcome: {
|
|
6497
6494
|
kind: "blocked";
|
|
6498
6495
|
blockers: {
|
|
@@ -6500,8 +6497,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6500
6497
|
message: string;
|
|
6501
6498
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6502
6499
|
pointer: {
|
|
6503
|
-
key: string;
|
|
6504
6500
|
kind: "context_key";
|
|
6501
|
+
key: string;
|
|
6505
6502
|
} | {
|
|
6506
6503
|
kind: "context_budget";
|
|
6507
6504
|
} | {
|
|
@@ -6521,7 +6518,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6521
6518
|
kind: "advanced";
|
|
6522
6519
|
toNodeId: string;
|
|
6523
6520
|
};
|
|
6521
|
+
intent: "ack_pending";
|
|
6522
|
+
attemptId: string;
|
|
6524
6523
|
};
|
|
6524
|
+
sessionId: string;
|
|
6525
6525
|
v: 1;
|
|
6526
6526
|
eventIndex: number;
|
|
6527
6527
|
eventId: string;
|
|
@@ -6532,10 +6532,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6532
6532
|
};
|
|
6533
6533
|
}, {
|
|
6534
6534
|
kind: "advance_recorded";
|
|
6535
|
-
sessionId: string;
|
|
6536
6535
|
data: {
|
|
6537
|
-
intent: "ack_pending";
|
|
6538
|
-
attemptId: string;
|
|
6539
6536
|
outcome: {
|
|
6540
6537
|
kind: "blocked";
|
|
6541
6538
|
blockers: {
|
|
@@ -6543,8 +6540,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6543
6540
|
message: string;
|
|
6544
6541
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
6545
6542
|
pointer: {
|
|
6546
|
-
key: string;
|
|
6547
6543
|
kind: "context_key";
|
|
6544
|
+
key: string;
|
|
6548
6545
|
} | {
|
|
6549
6546
|
kind: "context_budget";
|
|
6550
6547
|
} | {
|
|
@@ -6564,7 +6561,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6564
6561
|
kind: "advanced";
|
|
6565
6562
|
toNodeId: string;
|
|
6566
6563
|
};
|
|
6564
|
+
intent: "ack_pending";
|
|
6565
|
+
attemptId: string;
|
|
6567
6566
|
};
|
|
6567
|
+
sessionId: string;
|
|
6568
6568
|
v: 1;
|
|
6569
6569
|
eventIndex: number;
|
|
6570
6570
|
eventId: string;
|
|
@@ -6618,36 +6618,36 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6618
6618
|
}>;
|
|
6619
6619
|
}, "strict", z.ZodTypeAny, {
|
|
6620
6620
|
contractRef: string;
|
|
6621
|
-
attemptId: string;
|
|
6622
|
-
validationId: string;
|
|
6623
6621
|
result: {
|
|
6624
6622
|
issues: readonly string[];
|
|
6625
6623
|
valid: boolean;
|
|
6626
6624
|
suggestions: readonly string[];
|
|
6627
6625
|
};
|
|
6628
|
-
}, {
|
|
6629
|
-
contractRef: string;
|
|
6630
6626
|
attemptId: string;
|
|
6631
6627
|
validationId: string;
|
|
6628
|
+
}, {
|
|
6629
|
+
contractRef: string;
|
|
6632
6630
|
result: {
|
|
6633
6631
|
issues: readonly string[];
|
|
6634
6632
|
valid: boolean;
|
|
6635
6633
|
suggestions: readonly string[];
|
|
6636
6634
|
};
|
|
6635
|
+
attemptId: string;
|
|
6636
|
+
validationId: string;
|
|
6637
6637
|
}>;
|
|
6638
6638
|
}, "strip", z.ZodTypeAny, {
|
|
6639
6639
|
kind: "validation_performed";
|
|
6640
|
-
sessionId: string;
|
|
6641
6640
|
data: {
|
|
6642
6641
|
contractRef: string;
|
|
6643
|
-
attemptId: string;
|
|
6644
|
-
validationId: string;
|
|
6645
6642
|
result: {
|
|
6646
6643
|
issues: readonly string[];
|
|
6647
6644
|
valid: boolean;
|
|
6648
6645
|
suggestions: readonly string[];
|
|
6649
6646
|
};
|
|
6647
|
+
attemptId: string;
|
|
6648
|
+
validationId: string;
|
|
6650
6649
|
};
|
|
6650
|
+
sessionId: string;
|
|
6651
6651
|
v: 1;
|
|
6652
6652
|
eventIndex: number;
|
|
6653
6653
|
eventId: string;
|
|
@@ -6658,17 +6658,17 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6658
6658
|
};
|
|
6659
6659
|
}, {
|
|
6660
6660
|
kind: "validation_performed";
|
|
6661
|
-
sessionId: string;
|
|
6662
6661
|
data: {
|
|
6663
6662
|
contractRef: string;
|
|
6664
|
-
attemptId: string;
|
|
6665
|
-
validationId: string;
|
|
6666
6663
|
result: {
|
|
6667
6664
|
issues: readonly string[];
|
|
6668
6665
|
valid: boolean;
|
|
6669
6666
|
suggestions: readonly string[];
|
|
6670
6667
|
};
|
|
6668
|
+
attemptId: string;
|
|
6669
|
+
validationId: string;
|
|
6671
6670
|
};
|
|
6671
|
+
sessionId: string;
|
|
6672
6672
|
v: 1;
|
|
6673
6673
|
eventIndex: number;
|
|
6674
6674
|
eventId: string;
|
|
@@ -6786,7 +6786,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6786
6786
|
}>;
|
|
6787
6787
|
}, "strip", z.ZodTypeAny, {
|
|
6788
6788
|
kind: "node_output_appended";
|
|
6789
|
-
sessionId: string;
|
|
6790
6789
|
data: {
|
|
6791
6790
|
outputId: string;
|
|
6792
6791
|
outputChannel: "recap" | "artifact";
|
|
@@ -6802,6 +6801,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6802
6801
|
};
|
|
6803
6802
|
supersedesOutputId?: string | undefined;
|
|
6804
6803
|
};
|
|
6804
|
+
sessionId: string;
|
|
6805
6805
|
v: 1;
|
|
6806
6806
|
eventIndex: number;
|
|
6807
6807
|
eventId: string;
|
|
@@ -6812,7 +6812,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6812
6812
|
};
|
|
6813
6813
|
}, {
|
|
6814
6814
|
kind: "node_output_appended";
|
|
6815
|
-
sessionId: string;
|
|
6816
6815
|
data: {
|
|
6817
6816
|
outputId: string;
|
|
6818
6817
|
outputChannel: "recap" | "artifact";
|
|
@@ -6828,6 +6827,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6828
6827
|
};
|
|
6829
6828
|
supersedesOutputId?: string | undefined;
|
|
6830
6829
|
};
|
|
6830
|
+
sessionId: string;
|
|
6831
6831
|
v: 1;
|
|
6832
6832
|
eventIndex: number;
|
|
6833
6833
|
eventId: string;
|
|
@@ -6903,7 +6903,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6903
6903
|
}>;
|
|
6904
6904
|
}, "strip", z.ZodTypeAny, {
|
|
6905
6905
|
kind: "assessment_recorded";
|
|
6906
|
-
sessionId: string;
|
|
6907
6906
|
data: {
|
|
6908
6907
|
assessmentId: string;
|
|
6909
6908
|
dimensions: readonly {
|
|
@@ -6917,6 +6916,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6917
6916
|
normalizationNotes: readonly string[];
|
|
6918
6917
|
summary?: string | undefined;
|
|
6919
6918
|
};
|
|
6919
|
+
sessionId: string;
|
|
6920
6920
|
v: 1;
|
|
6921
6921
|
eventIndex: number;
|
|
6922
6922
|
eventId: string;
|
|
@@ -6927,7 +6927,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6927
6927
|
};
|
|
6928
6928
|
}, {
|
|
6929
6929
|
kind: "assessment_recorded";
|
|
6930
|
-
sessionId: string;
|
|
6931
6930
|
data: {
|
|
6932
6931
|
assessmentId: string;
|
|
6933
6932
|
dimensions: readonly {
|
|
@@ -6941,6 +6940,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6941
6940
|
normalizationNotes: readonly string[];
|
|
6942
6941
|
summary?: string | undefined;
|
|
6943
6942
|
};
|
|
6943
|
+
sessionId: string;
|
|
6944
6944
|
v: 1;
|
|
6945
6945
|
eventIndex: number;
|
|
6946
6946
|
eventId: string;
|
|
@@ -7015,7 +7015,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7015
7015
|
}>;
|
|
7016
7016
|
}, "strip", z.ZodTypeAny, {
|
|
7017
7017
|
kind: "assessment_consequence_applied";
|
|
7018
|
-
sessionId: string;
|
|
7019
7018
|
data: {
|
|
7020
7019
|
assessmentId: string;
|
|
7021
7020
|
effect: {
|
|
@@ -7028,6 +7027,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7028
7027
|
dimensionId: string;
|
|
7029
7028
|
};
|
|
7030
7029
|
};
|
|
7030
|
+
sessionId: string;
|
|
7031
7031
|
v: 1;
|
|
7032
7032
|
eventIndex: number;
|
|
7033
7033
|
eventId: string;
|
|
@@ -7038,7 +7038,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7038
7038
|
};
|
|
7039
7039
|
}, {
|
|
7040
7040
|
kind: "assessment_consequence_applied";
|
|
7041
|
-
sessionId: string;
|
|
7042
7041
|
data: {
|
|
7043
7042
|
assessmentId: string;
|
|
7044
7043
|
effect: {
|
|
@@ -7051,6 +7050,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7051
7050
|
dimensionId: string;
|
|
7052
7051
|
};
|
|
7053
7052
|
};
|
|
7053
|
+
sessionId: string;
|
|
7054
7054
|
v: 1;
|
|
7055
7055
|
eventIndex: number;
|
|
7056
7056
|
eventId: string;
|
|
@@ -7168,7 +7168,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7168
7168
|
}>;
|
|
7169
7169
|
}, "strip", z.ZodTypeAny, {
|
|
7170
7170
|
kind: "preferences_changed";
|
|
7171
|
-
sessionId: string;
|
|
7172
7171
|
data: {
|
|
7173
7172
|
source: "user" | "workflow_recommendation" | "system";
|
|
7174
7173
|
changeId: string;
|
|
@@ -7184,6 +7183,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7184
7183
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
7185
7184
|
};
|
|
7186
7185
|
};
|
|
7186
|
+
sessionId: string;
|
|
7187
7187
|
v: 1;
|
|
7188
7188
|
eventIndex: number;
|
|
7189
7189
|
eventId: string;
|
|
@@ -7194,7 +7194,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7194
7194
|
};
|
|
7195
7195
|
}, {
|
|
7196
7196
|
kind: "preferences_changed";
|
|
7197
|
-
sessionId: string;
|
|
7198
7197
|
data: {
|
|
7199
7198
|
source: "user" | "workflow_recommendation" | "system";
|
|
7200
7199
|
changeId: string;
|
|
@@ -7210,6 +7209,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7210
7209
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
7211
7210
|
};
|
|
7212
7211
|
};
|
|
7212
|
+
sessionId: string;
|
|
7213
7213
|
v: 1;
|
|
7214
7214
|
eventIndex: number;
|
|
7215
7215
|
eventId: string;
|
|
@@ -7447,7 +7447,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7447
7447
|
}>;
|
|
7448
7448
|
}, "strip", z.ZodTypeAny, {
|
|
7449
7449
|
kind: "capability_observed";
|
|
7450
|
-
sessionId: string;
|
|
7451
7450
|
data: {
|
|
7452
7451
|
status: "unknown" | "available" | "unavailable";
|
|
7453
7452
|
capability: "delegation" | "web_browsing";
|
|
@@ -7477,6 +7476,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7477
7476
|
enforcementGrade: "weak";
|
|
7478
7477
|
};
|
|
7479
7478
|
};
|
|
7479
|
+
sessionId: string;
|
|
7480
7480
|
v: 1;
|
|
7481
7481
|
eventIndex: number;
|
|
7482
7482
|
eventId: string;
|
|
@@ -7487,7 +7487,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7487
7487
|
};
|
|
7488
7488
|
}, {
|
|
7489
7489
|
kind: "capability_observed";
|
|
7490
|
-
sessionId: string;
|
|
7491
7490
|
data: {
|
|
7492
7491
|
status: "unknown" | "available" | "unavailable";
|
|
7493
7492
|
capability: "delegation" | "web_browsing";
|
|
@@ -7517,6 +7516,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7517
7516
|
enforcementGrade: "weak";
|
|
7518
7517
|
};
|
|
7519
7518
|
};
|
|
7519
|
+
sessionId: string;
|
|
7520
7520
|
v: 1;
|
|
7521
7521
|
eventIndex: number;
|
|
7522
7522
|
eventId: string;
|
|
@@ -7641,7 +7641,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7641
7641
|
resolvesGapId: string;
|
|
7642
7642
|
};
|
|
7643
7643
|
gapId: string;
|
|
7644
|
-
severity: "
|
|
7644
|
+
severity: "info" | "warning" | "critical";
|
|
7645
7645
|
evidenceRefs?: ({
|
|
7646
7646
|
kind: "event";
|
|
7647
7647
|
eventId: string;
|
|
@@ -7671,7 +7671,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7671
7671
|
resolvesGapId: string;
|
|
7672
7672
|
};
|
|
7673
7673
|
gapId: string;
|
|
7674
|
-
severity: "
|
|
7674
|
+
severity: "info" | "warning" | "critical";
|
|
7675
7675
|
evidenceRefs?: ({
|
|
7676
7676
|
kind: "event";
|
|
7677
7677
|
eventId: string;
|
|
@@ -7682,7 +7682,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7682
7682
|
}>;
|
|
7683
7683
|
}, "strip", z.ZodTypeAny, {
|
|
7684
7684
|
kind: "gap_recorded";
|
|
7685
|
-
sessionId: string;
|
|
7686
7685
|
data: {
|
|
7687
7686
|
summary: string;
|
|
7688
7687
|
reason: {
|
|
@@ -7705,7 +7704,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7705
7704
|
resolvesGapId: string;
|
|
7706
7705
|
};
|
|
7707
7706
|
gapId: string;
|
|
7708
|
-
severity: "
|
|
7707
|
+
severity: "info" | "warning" | "critical";
|
|
7709
7708
|
evidenceRefs?: ({
|
|
7710
7709
|
kind: "event";
|
|
7711
7710
|
eventId: string;
|
|
@@ -7714,6 +7713,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7714
7713
|
outputId: string;
|
|
7715
7714
|
})[] | undefined;
|
|
7716
7715
|
};
|
|
7716
|
+
sessionId: string;
|
|
7717
7717
|
v: 1;
|
|
7718
7718
|
eventIndex: number;
|
|
7719
7719
|
eventId: string;
|
|
@@ -7724,7 +7724,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7724
7724
|
};
|
|
7725
7725
|
}, {
|
|
7726
7726
|
kind: "gap_recorded";
|
|
7727
|
-
sessionId: string;
|
|
7728
7727
|
data: {
|
|
7729
7728
|
summary: string;
|
|
7730
7729
|
reason: {
|
|
@@ -7747,7 +7746,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7747
7746
|
resolvesGapId: string;
|
|
7748
7747
|
};
|
|
7749
7748
|
gapId: string;
|
|
7750
|
-
severity: "
|
|
7749
|
+
severity: "info" | "warning" | "critical";
|
|
7751
7750
|
evidenceRefs?: ({
|
|
7752
7751
|
kind: "event";
|
|
7753
7752
|
eventId: string;
|
|
@@ -7756,6 +7755,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7756
7755
|
outputId: string;
|
|
7757
7756
|
})[] | undefined;
|
|
7758
7757
|
};
|
|
7758
|
+
sessionId: string;
|
|
7759
7759
|
v: 1;
|
|
7760
7760
|
eventIndex: number;
|
|
7761
7761
|
eventId: string;
|
|
@@ -7794,12 +7794,12 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7794
7794
|
}>;
|
|
7795
7795
|
}, "strip", z.ZodTypeAny, {
|
|
7796
7796
|
kind: "context_set";
|
|
7797
|
-
sessionId: string;
|
|
7798
7797
|
data: {
|
|
7799
7798
|
source: "initial" | "agent_delta";
|
|
7800
7799
|
contextId: string;
|
|
7801
7800
|
context?: unknown;
|
|
7802
7801
|
};
|
|
7802
|
+
sessionId: string;
|
|
7803
7803
|
v: 1;
|
|
7804
7804
|
eventIndex: number;
|
|
7805
7805
|
eventId: string;
|
|
@@ -7809,12 +7809,12 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7809
7809
|
};
|
|
7810
7810
|
}, {
|
|
7811
7811
|
kind: "context_set";
|
|
7812
|
-
sessionId: string;
|
|
7813
7812
|
data: {
|
|
7814
7813
|
source: "initial" | "agent_delta";
|
|
7815
7814
|
contextId: string;
|
|
7816
7815
|
context?: unknown;
|
|
7817
7816
|
};
|
|
7817
|
+
sessionId: string;
|
|
7818
7818
|
v: 1;
|
|
7819
7819
|
eventIndex: number;
|
|
7820
7820
|
eventId: string;
|
|
@@ -7858,13 +7858,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7858
7858
|
}>;
|
|
7859
7859
|
}, "strip", z.ZodTypeAny, {
|
|
7860
7860
|
kind: "divergence_recorded";
|
|
7861
|
-
sessionId: string;
|
|
7862
7861
|
data: {
|
|
7863
7862
|
summary: string;
|
|
7864
7863
|
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
7865
7864
|
divergenceId: string;
|
|
7866
7865
|
relatedStepId?: string | undefined;
|
|
7867
7866
|
};
|
|
7867
|
+
sessionId: string;
|
|
7868
7868
|
v: 1;
|
|
7869
7869
|
eventIndex: number;
|
|
7870
7870
|
eventId: string;
|
|
@@ -7875,13 +7875,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7875
7875
|
};
|
|
7876
7876
|
}, {
|
|
7877
7877
|
kind: "divergence_recorded";
|
|
7878
|
-
sessionId: string;
|
|
7879
7878
|
data: {
|
|
7880
7879
|
summary: string;
|
|
7881
7880
|
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
7882
7881
|
divergenceId: string;
|
|
7883
7882
|
relatedStepId?: string | undefined;
|
|
7884
7883
|
};
|
|
7884
|
+
sessionId: string;
|
|
7885
7885
|
v: 1;
|
|
7886
7886
|
eventIndex: number;
|
|
7887
7887
|
eventId: string;
|
|
@@ -8062,7 +8062,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8062
8062
|
}>;
|
|
8063
8063
|
}, "strip", z.ZodTypeAny, {
|
|
8064
8064
|
kind: "decision_trace_appended";
|
|
8065
|
-
sessionId: string;
|
|
8066
8065
|
data: {
|
|
8067
8066
|
entries: {
|
|
8068
8067
|
kind: "selected_next_step" | "evaluated_condition" | "entered_loop" | "exited_loop" | "detected_non_tip_advance";
|
|
@@ -8083,6 +8082,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8083
8082
|
}[];
|
|
8084
8083
|
traceId: string;
|
|
8085
8084
|
};
|
|
8085
|
+
sessionId: string;
|
|
8086
8086
|
v: 1;
|
|
8087
8087
|
eventIndex: number;
|
|
8088
8088
|
eventId: string;
|
|
@@ -8093,7 +8093,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8093
8093
|
};
|
|
8094
8094
|
}, {
|
|
8095
8095
|
kind: "decision_trace_appended";
|
|
8096
|
-
sessionId: string;
|
|
8097
8096
|
data: {
|
|
8098
8097
|
entries: {
|
|
8099
8098
|
kind: "selected_next_step" | "evaluated_condition" | "entered_loop" | "exited_loop" | "detected_non_tip_advance";
|
|
@@ -8114,6 +8113,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8114
8113
|
}[];
|
|
8115
8114
|
traceId: string;
|
|
8116
8115
|
};
|
|
8116
|
+
sessionId: string;
|
|
8117
8117
|
v: 1;
|
|
8118
8118
|
eventIndex: number;
|
|
8119
8119
|
eventId: string;
|
|
@@ -8473,11 +8473,11 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8473
8473
|
kind: z.ZodLiteral<"missing_context_key">;
|
|
8474
8474
|
key: z.ZodString;
|
|
8475
8475
|
}, "strict", z.ZodTypeAny, {
|
|
8476
|
-
key: string;
|
|
8477
8476
|
kind: "missing_context_key";
|
|
8478
|
-
}, {
|
|
8479
8477
|
key: string;
|
|
8478
|
+
}, {
|
|
8480
8479
|
kind: "missing_context_key";
|
|
8480
|
+
key: string;
|
|
8481
8481
|
}>, z.ZodObject<{
|
|
8482
8482
|
kind: z.ZodLiteral<"context_budget_exceeded">;
|
|
8483
8483
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -8503,11 +8503,11 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8503
8503
|
kind: z.ZodLiteral<"context_key">;
|
|
8504
8504
|
key: z.ZodString;
|
|
8505
8505
|
}, "strict", z.ZodTypeAny, {
|
|
8506
|
-
key: string;
|
|
8507
8506
|
kind: "context_key";
|
|
8508
|
-
}, {
|
|
8509
8507
|
key: string;
|
|
8508
|
+
}, {
|
|
8510
8509
|
kind: "context_key";
|
|
8510
|
+
key: string;
|
|
8511
8511
|
}>, z.ZodObject<{
|
|
8512
8512
|
kind: z.ZodLiteral<"context_budget">;
|
|
8513
8513
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -8560,8 +8560,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8560
8560
|
message: string;
|
|
8561
8561
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8562
8562
|
pointer: {
|
|
8563
|
-
key: string;
|
|
8564
8563
|
kind: "context_key";
|
|
8564
|
+
key: string;
|
|
8565
8565
|
} | {
|
|
8566
8566
|
kind: "context_budget";
|
|
8567
8567
|
} | {
|
|
@@ -8583,8 +8583,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8583
8583
|
message: string;
|
|
8584
8584
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8585
8585
|
pointer: {
|
|
8586
|
-
key: string;
|
|
8587
8586
|
kind: "context_key";
|
|
8587
|
+
key: string;
|
|
8588
8588
|
} | {
|
|
8589
8589
|
kind: "context_budget";
|
|
8590
8590
|
} | {
|
|
@@ -8608,8 +8608,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8608
8608
|
message: string;
|
|
8609
8609
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8610
8610
|
pointer: {
|
|
8611
|
-
key: string;
|
|
8612
8611
|
kind: "context_key";
|
|
8612
|
+
key: string;
|
|
8613
8613
|
} | {
|
|
8614
8614
|
kind: "context_budget";
|
|
8615
8615
|
} | {
|
|
@@ -8633,8 +8633,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8633
8633
|
message: string;
|
|
8634
8634
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8635
8635
|
pointer: {
|
|
8636
|
-
key: string;
|
|
8637
8636
|
kind: "context_key";
|
|
8637
|
+
key: string;
|
|
8638
8638
|
} | {
|
|
8639
8639
|
kind: "context_budget";
|
|
8640
8640
|
} | {
|
|
@@ -8669,8 +8669,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8669
8669
|
guidance: string;
|
|
8670
8670
|
dimensionId: string;
|
|
8671
8671
|
} | {
|
|
8672
|
-
key: string;
|
|
8673
8672
|
kind: "missing_context_key";
|
|
8673
|
+
key: string;
|
|
8674
8674
|
} | {
|
|
8675
8675
|
kind: "context_budget_exceeded";
|
|
8676
8676
|
} | {
|
|
@@ -8682,8 +8682,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8682
8682
|
message: string;
|
|
8683
8683
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8684
8684
|
pointer: {
|
|
8685
|
-
key: string;
|
|
8686
8685
|
kind: "context_key";
|
|
8686
|
+
key: string;
|
|
8687
8687
|
} | {
|
|
8688
8688
|
kind: "context_budget";
|
|
8689
8689
|
} | {
|
|
@@ -8720,8 +8720,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8720
8720
|
guidance: string;
|
|
8721
8721
|
dimensionId: string;
|
|
8722
8722
|
} | {
|
|
8723
|
-
key: string;
|
|
8724
8723
|
kind: "missing_context_key";
|
|
8724
|
+
key: string;
|
|
8725
8725
|
} | {
|
|
8726
8726
|
kind: "context_budget_exceeded";
|
|
8727
8727
|
} | {
|
|
@@ -8733,8 +8733,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8733
8733
|
message: string;
|
|
8734
8734
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8735
8735
|
pointer: {
|
|
8736
|
-
key: string;
|
|
8737
8736
|
kind: "context_key";
|
|
8737
|
+
key: string;
|
|
8738
8738
|
} | {
|
|
8739
8739
|
kind: "context_budget";
|
|
8740
8740
|
} | {
|
|
@@ -8815,11 +8815,11 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8815
8815
|
kind: z.ZodLiteral<"context_key">;
|
|
8816
8816
|
key: z.ZodString;
|
|
8817
8817
|
}, "strict", z.ZodTypeAny, {
|
|
8818
|
-
key: string;
|
|
8819
8818
|
kind: "context_key";
|
|
8820
|
-
}, {
|
|
8821
8819
|
key: string;
|
|
8820
|
+
}, {
|
|
8822
8821
|
kind: "context_key";
|
|
8822
|
+
key: string;
|
|
8823
8823
|
}>, z.ZodObject<{
|
|
8824
8824
|
kind: z.ZodLiteral<"context_budget">;
|
|
8825
8825
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -8872,8 +8872,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8872
8872
|
message: string;
|
|
8873
8873
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8874
8874
|
pointer: {
|
|
8875
|
-
key: string;
|
|
8876
8875
|
kind: "context_key";
|
|
8876
|
+
key: string;
|
|
8877
8877
|
} | {
|
|
8878
8878
|
kind: "context_budget";
|
|
8879
8879
|
} | {
|
|
@@ -8895,8 +8895,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8895
8895
|
message: string;
|
|
8896
8896
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8897
8897
|
pointer: {
|
|
8898
|
-
key: string;
|
|
8899
8898
|
kind: "context_key";
|
|
8899
|
+
key: string;
|
|
8900
8900
|
} | {
|
|
8901
8901
|
kind: "context_budget";
|
|
8902
8902
|
} | {
|
|
@@ -8920,8 +8920,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8920
8920
|
message: string;
|
|
8921
8921
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8922
8922
|
pointer: {
|
|
8923
|
-
key: string;
|
|
8924
8923
|
kind: "context_key";
|
|
8924
|
+
key: string;
|
|
8925
8925
|
} | {
|
|
8926
8926
|
kind: "context_budget";
|
|
8927
8927
|
} | {
|
|
@@ -8945,8 +8945,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8945
8945
|
message: string;
|
|
8946
8946
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8947
8947
|
pointer: {
|
|
8948
|
-
key: string;
|
|
8949
8948
|
kind: "context_key";
|
|
8949
|
+
key: string;
|
|
8950
8950
|
} | {
|
|
8951
8951
|
kind: "context_budget";
|
|
8952
8952
|
} | {
|
|
@@ -8990,8 +8990,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8990
8990
|
message: string;
|
|
8991
8991
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
8992
8992
|
pointer: {
|
|
8993
|
-
key: string;
|
|
8994
8993
|
kind: "context_key";
|
|
8994
|
+
key: string;
|
|
8995
8995
|
} | {
|
|
8996
8996
|
kind: "context_budget";
|
|
8997
8997
|
} | {
|
|
@@ -9036,8 +9036,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9036
9036
|
message: string;
|
|
9037
9037
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9038
9038
|
pointer: {
|
|
9039
|
-
key: string;
|
|
9040
9039
|
kind: "context_key";
|
|
9040
|
+
key: string;
|
|
9041
9041
|
} | {
|
|
9042
9042
|
kind: "context_budget";
|
|
9043
9043
|
} | {
|
|
@@ -9076,8 +9076,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9076
9076
|
guidance: string;
|
|
9077
9077
|
dimensionId: string;
|
|
9078
9078
|
} | {
|
|
9079
|
-
key: string;
|
|
9080
9079
|
kind: "missing_context_key";
|
|
9080
|
+
key: string;
|
|
9081
9081
|
} | {
|
|
9082
9082
|
kind: "context_budget_exceeded";
|
|
9083
9083
|
} | {
|
|
@@ -9089,8 +9089,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9089
9089
|
message: string;
|
|
9090
9090
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9091
9091
|
pointer: {
|
|
9092
|
-
key: string;
|
|
9093
9092
|
kind: "context_key";
|
|
9093
|
+
key: string;
|
|
9094
9094
|
} | {
|
|
9095
9095
|
kind: "context_budget";
|
|
9096
9096
|
} | {
|
|
@@ -9136,8 +9136,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9136
9136
|
message: string;
|
|
9137
9137
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9138
9138
|
pointer: {
|
|
9139
|
-
key: string;
|
|
9140
9139
|
kind: "context_key";
|
|
9140
|
+
key: string;
|
|
9141
9141
|
} | {
|
|
9142
9142
|
kind: "context_budget";
|
|
9143
9143
|
} | {
|
|
@@ -9203,8 +9203,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9203
9203
|
guidance: string;
|
|
9204
9204
|
dimensionId: string;
|
|
9205
9205
|
} | {
|
|
9206
|
-
key: string;
|
|
9207
9206
|
kind: "missing_context_key";
|
|
9207
|
+
key: string;
|
|
9208
9208
|
} | {
|
|
9209
9209
|
kind: "context_budget_exceeded";
|
|
9210
9210
|
} | {
|
|
@@ -9216,8 +9216,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9216
9216
|
message: string;
|
|
9217
9217
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9218
9218
|
pointer: {
|
|
9219
|
-
key: string;
|
|
9220
9219
|
kind: "context_key";
|
|
9220
|
+
key: string;
|
|
9221
9221
|
} | {
|
|
9222
9222
|
kind: "context_budget";
|
|
9223
9223
|
} | {
|
|
@@ -9263,8 +9263,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9263
9263
|
message: string;
|
|
9264
9264
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9265
9265
|
pointer: {
|
|
9266
|
-
key: string;
|
|
9267
9266
|
kind: "context_key";
|
|
9267
|
+
key: string;
|
|
9268
9268
|
} | {
|
|
9269
9269
|
kind: "context_budget";
|
|
9270
9270
|
} | {
|
|
@@ -9361,8 +9361,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9361
9361
|
guidance: string;
|
|
9362
9362
|
dimensionId: string;
|
|
9363
9363
|
} | {
|
|
9364
|
-
key: string;
|
|
9365
9364
|
kind: "missing_context_key";
|
|
9365
|
+
key: string;
|
|
9366
9366
|
} | {
|
|
9367
9367
|
kind: "context_budget_exceeded";
|
|
9368
9368
|
} | {
|
|
@@ -9374,8 +9374,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9374
9374
|
message: string;
|
|
9375
9375
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9376
9376
|
pointer: {
|
|
9377
|
-
key: string;
|
|
9378
9377
|
kind: "context_key";
|
|
9378
|
+
key: string;
|
|
9379
9379
|
} | {
|
|
9380
9380
|
kind: "context_budget";
|
|
9381
9381
|
} | {
|
|
@@ -9421,8 +9421,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9421
9421
|
message: string;
|
|
9422
9422
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9423
9423
|
pointer: {
|
|
9424
|
-
key: string;
|
|
9425
9424
|
kind: "context_key";
|
|
9425
|
+
key: string;
|
|
9426
9426
|
} | {
|
|
9427
9427
|
kind: "context_budget";
|
|
9428
9428
|
} | {
|
|
@@ -9515,8 +9515,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9515
9515
|
guidance: string;
|
|
9516
9516
|
dimensionId: string;
|
|
9517
9517
|
} | {
|
|
9518
|
-
key: string;
|
|
9519
9518
|
kind: "missing_context_key";
|
|
9519
|
+
key: string;
|
|
9520
9520
|
} | {
|
|
9521
9521
|
kind: "context_budget_exceeded";
|
|
9522
9522
|
} | {
|
|
@@ -9528,8 +9528,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9528
9528
|
message: string;
|
|
9529
9529
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9530
9530
|
pointer: {
|
|
9531
|
-
key: string;
|
|
9532
9531
|
kind: "context_key";
|
|
9532
|
+
key: string;
|
|
9533
9533
|
} | {
|
|
9534
9534
|
kind: "context_budget";
|
|
9535
9535
|
} | {
|
|
@@ -9575,8 +9575,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9575
9575
|
message: string;
|
|
9576
9576
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9577
9577
|
pointer: {
|
|
9578
|
-
key: string;
|
|
9579
9578
|
kind: "context_key";
|
|
9579
|
+
key: string;
|
|
9580
9580
|
} | {
|
|
9581
9581
|
kind: "context_budget";
|
|
9582
9582
|
} | {
|
|
@@ -9672,8 +9672,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9672
9672
|
guidance: string;
|
|
9673
9673
|
dimensionId: string;
|
|
9674
9674
|
} | {
|
|
9675
|
-
key: string;
|
|
9676
9675
|
kind: "missing_context_key";
|
|
9676
|
+
key: string;
|
|
9677
9677
|
} | {
|
|
9678
9678
|
kind: "context_budget_exceeded";
|
|
9679
9679
|
} | {
|
|
@@ -9685,8 +9685,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9685
9685
|
message: string;
|
|
9686
9686
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9687
9687
|
pointer: {
|
|
9688
|
-
key: string;
|
|
9689
9688
|
kind: "context_key";
|
|
9689
|
+
key: string;
|
|
9690
9690
|
} | {
|
|
9691
9691
|
kind: "context_budget";
|
|
9692
9692
|
} | {
|
|
@@ -9732,8 +9732,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9732
9732
|
message: string;
|
|
9733
9733
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9734
9734
|
pointer: {
|
|
9735
|
-
key: string;
|
|
9736
9735
|
kind: "context_key";
|
|
9736
|
+
key: string;
|
|
9737
9737
|
} | {
|
|
9738
9738
|
kind: "context_budget";
|
|
9739
9739
|
} | {
|
|
@@ -9829,8 +9829,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9829
9829
|
guidance: string;
|
|
9830
9830
|
dimensionId: string;
|
|
9831
9831
|
} | {
|
|
9832
|
-
key: string;
|
|
9833
9832
|
kind: "missing_context_key";
|
|
9833
|
+
key: string;
|
|
9834
9834
|
} | {
|
|
9835
9835
|
kind: "context_budget_exceeded";
|
|
9836
9836
|
} | {
|
|
@@ -9842,8 +9842,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9842
9842
|
message: string;
|
|
9843
9843
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9844
9844
|
pointer: {
|
|
9845
|
-
key: string;
|
|
9846
9845
|
kind: "context_key";
|
|
9846
|
+
key: string;
|
|
9847
9847
|
} | {
|
|
9848
9848
|
kind: "context_budget";
|
|
9849
9849
|
} | {
|
|
@@ -9889,8 +9889,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9889
9889
|
message: string;
|
|
9890
9890
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
9891
9891
|
pointer: {
|
|
9892
|
-
key: string;
|
|
9893
9892
|
kind: "context_key";
|
|
9893
|
+
key: string;
|
|
9894
9894
|
} | {
|
|
9895
9895
|
kind: "context_budget";
|
|
9896
9896
|
} | {
|
|
@@ -9990,8 +9990,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9990
9990
|
guidance: string;
|
|
9991
9991
|
dimensionId: string;
|
|
9992
9992
|
} | {
|
|
9993
|
-
key: string;
|
|
9994
9993
|
kind: "missing_context_key";
|
|
9994
|
+
key: string;
|
|
9995
9995
|
} | {
|
|
9996
9996
|
kind: "context_budget_exceeded";
|
|
9997
9997
|
} | {
|
|
@@ -10003,8 +10003,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10003
10003
|
message: string;
|
|
10004
10004
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
10005
10005
|
pointer: {
|
|
10006
|
-
key: string;
|
|
10007
10006
|
kind: "context_key";
|
|
10007
|
+
key: string;
|
|
10008
10008
|
} | {
|
|
10009
10009
|
kind: "context_budget";
|
|
10010
10010
|
} | {
|
|
@@ -10050,8 +10050,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10050
10050
|
message: string;
|
|
10051
10051
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
10052
10052
|
pointer: {
|
|
10053
|
-
key: string;
|
|
10054
10053
|
kind: "context_key";
|
|
10054
|
+
key: string;
|
|
10055
10055
|
} | {
|
|
10056
10056
|
kind: "context_budget";
|
|
10057
10057
|
} | {
|
|
@@ -10151,8 +10151,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10151
10151
|
guidance: string;
|
|
10152
10152
|
dimensionId: string;
|
|
10153
10153
|
} | {
|
|
10154
|
-
key: string;
|
|
10155
10154
|
kind: "missing_context_key";
|
|
10155
|
+
key: string;
|
|
10156
10156
|
} | {
|
|
10157
10157
|
kind: "context_budget_exceeded";
|
|
10158
10158
|
} | {
|
|
@@ -10164,8 +10164,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10164
10164
|
message: string;
|
|
10165
10165
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
10166
10166
|
pointer: {
|
|
10167
|
-
key: string;
|
|
10168
10167
|
kind: "context_key";
|
|
10168
|
+
key: string;
|
|
10169
10169
|
} | {
|
|
10170
10170
|
kind: "context_budget";
|
|
10171
10171
|
} | {
|
|
@@ -10211,8 +10211,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10211
10211
|
message: string;
|
|
10212
10212
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
10213
10213
|
pointer: {
|
|
10214
|
-
key: string;
|
|
10215
10214
|
kind: "context_key";
|
|
10215
|
+
key: string;
|
|
10216
10216
|
} | {
|
|
10217
10217
|
kind: "context_budget";
|
|
10218
10218
|
} | {
|
|
@@ -10316,8 +10316,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10316
10316
|
guidance: string;
|
|
10317
10317
|
dimensionId: string;
|
|
10318
10318
|
} | {
|
|
10319
|
-
key: string;
|
|
10320
10319
|
kind: "missing_context_key";
|
|
10320
|
+
key: string;
|
|
10321
10321
|
} | {
|
|
10322
10322
|
kind: "context_budget_exceeded";
|
|
10323
10323
|
} | {
|
|
@@ -10329,8 +10329,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10329
10329
|
message: string;
|
|
10330
10330
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
10331
10331
|
pointer: {
|
|
10332
|
-
key: string;
|
|
10333
10332
|
kind: "context_key";
|
|
10333
|
+
key: string;
|
|
10334
10334
|
} | {
|
|
10335
10335
|
kind: "context_budget";
|
|
10336
10336
|
} | {
|
|
@@ -10376,8 +10376,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10376
10376
|
message: string;
|
|
10377
10377
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
10378
10378
|
pointer: {
|
|
10379
|
-
key: string;
|
|
10380
10379
|
kind: "context_key";
|
|
10380
|
+
key: string;
|
|
10381
10381
|
} | {
|
|
10382
10382
|
kind: "context_budget";
|
|
10383
10383
|
} | {
|
|
@@ -10433,8 +10433,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10433
10433
|
}>;
|
|
10434
10434
|
events: ({
|
|
10435
10435
|
kind: "session_created";
|
|
10436
|
-
sessionId: string;
|
|
10437
10436
|
data: {};
|
|
10437
|
+
sessionId: string;
|
|
10438
10438
|
v: 1;
|
|
10439
10439
|
eventIndex: number;
|
|
10440
10440
|
eventId: string;
|
|
@@ -10445,24 +10445,24 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10445
10445
|
} | undefined;
|
|
10446
10446
|
} | {
|
|
10447
10447
|
kind: "observation_recorded";
|
|
10448
|
-
sessionId: string;
|
|
10449
10448
|
data: {
|
|
10450
10449
|
value: {
|
|
10451
|
-
value: string;
|
|
10452
10450
|
type: "short_string";
|
|
10453
|
-
} | {
|
|
10454
10451
|
value: string;
|
|
10455
|
-
type: "git_sha1";
|
|
10456
10452
|
} | {
|
|
10453
|
+
type: "git_sha1";
|
|
10457
10454
|
value: string;
|
|
10458
|
-
type: "sha256";
|
|
10459
10455
|
} | {
|
|
10456
|
+
type: "sha256";
|
|
10460
10457
|
value: string;
|
|
10458
|
+
} | {
|
|
10461
10459
|
type: "path";
|
|
10460
|
+
value: string;
|
|
10462
10461
|
};
|
|
10463
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
10464
10462
|
confidence: "high" | "low" | "med";
|
|
10463
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
10465
10464
|
};
|
|
10465
|
+
sessionId: string;
|
|
10466
10466
|
v: 1;
|
|
10467
10467
|
eventIndex: number;
|
|
10468
10468
|
eventId: string;
|
|
@@ -10470,13 +10470,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10470
10470
|
scope?: undefined;
|
|
10471
10471
|
} | {
|
|
10472
10472
|
kind: "run_started";
|
|
10473
|
-
sessionId: string;
|
|
10474
10473
|
data: {
|
|
10475
10474
|
workflowId: string;
|
|
10476
10475
|
workflowHash: never;
|
|
10477
10476
|
workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
|
|
10478
10477
|
workflowSourceRef: string;
|
|
10479
10478
|
};
|
|
10479
|
+
sessionId: string;
|
|
10480
10480
|
v: 1;
|
|
10481
10481
|
eventIndex: number;
|
|
10482
10482
|
eventId: string;
|
|
@@ -10486,13 +10486,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10486
10486
|
};
|
|
10487
10487
|
} | {
|
|
10488
10488
|
kind: "node_created";
|
|
10489
|
-
sessionId: string;
|
|
10490
10489
|
data: {
|
|
10491
10490
|
snapshotRef: never;
|
|
10492
10491
|
nodeKind: "checkpoint" | "step" | "blocked_attempt";
|
|
10493
10492
|
parentNodeId: string | null;
|
|
10494
10493
|
workflowHash: never;
|
|
10495
10494
|
};
|
|
10495
|
+
sessionId: string;
|
|
10496
10496
|
v: 1;
|
|
10497
10497
|
eventIndex: number;
|
|
10498
10498
|
eventId: string;
|
|
@@ -10503,7 +10503,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10503
10503
|
};
|
|
10504
10504
|
} | {
|
|
10505
10505
|
kind: "edge_created";
|
|
10506
|
-
sessionId: string;
|
|
10507
10506
|
data: {
|
|
10508
10507
|
cause: {
|
|
10509
10508
|
kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
|
|
@@ -10513,6 +10512,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10513
10512
|
fromNodeId: string;
|
|
10514
10513
|
toNodeId: string;
|
|
10515
10514
|
};
|
|
10515
|
+
sessionId: string;
|
|
10516
10516
|
v: 1;
|
|
10517
10517
|
eventIndex: number;
|
|
10518
10518
|
eventId: string;
|
|
@@ -10522,10 +10522,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10522
10522
|
};
|
|
10523
10523
|
} | {
|
|
10524
10524
|
kind: "advance_recorded";
|
|
10525
|
-
sessionId: string;
|
|
10526
10525
|
data: {
|
|
10527
|
-
intent: "ack_pending";
|
|
10528
|
-
attemptId: string;
|
|
10529
10526
|
outcome: {
|
|
10530
10527
|
kind: "blocked";
|
|
10531
10528
|
blockers: {
|
|
@@ -10533,8 +10530,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10533
10530
|
message: string;
|
|
10534
10531
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
10535
10532
|
pointer: {
|
|
10536
|
-
key: string;
|
|
10537
10533
|
kind: "context_key";
|
|
10534
|
+
key: string;
|
|
10538
10535
|
} | {
|
|
10539
10536
|
kind: "context_budget";
|
|
10540
10537
|
} | {
|
|
@@ -10554,7 +10551,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10554
10551
|
kind: "advanced";
|
|
10555
10552
|
toNodeId: string;
|
|
10556
10553
|
};
|
|
10554
|
+
intent: "ack_pending";
|
|
10555
|
+
attemptId: string;
|
|
10557
10556
|
};
|
|
10557
|
+
sessionId: string;
|
|
10558
10558
|
v: 1;
|
|
10559
10559
|
eventIndex: number;
|
|
10560
10560
|
eventId: string;
|
|
@@ -10565,17 +10565,17 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10565
10565
|
};
|
|
10566
10566
|
} | {
|
|
10567
10567
|
kind: "validation_performed";
|
|
10568
|
-
sessionId: string;
|
|
10569
10568
|
data: {
|
|
10570
10569
|
contractRef: string;
|
|
10571
|
-
attemptId: string;
|
|
10572
|
-
validationId: string;
|
|
10573
10570
|
result: {
|
|
10574
10571
|
issues: readonly string[];
|
|
10575
10572
|
valid: boolean;
|
|
10576
10573
|
suggestions: readonly string[];
|
|
10577
10574
|
};
|
|
10575
|
+
attemptId: string;
|
|
10576
|
+
validationId: string;
|
|
10578
10577
|
};
|
|
10578
|
+
sessionId: string;
|
|
10579
10579
|
v: 1;
|
|
10580
10580
|
eventIndex: number;
|
|
10581
10581
|
eventId: string;
|
|
@@ -10586,7 +10586,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10586
10586
|
};
|
|
10587
10587
|
} | {
|
|
10588
10588
|
kind: "node_output_appended";
|
|
10589
|
-
sessionId: string;
|
|
10590
10589
|
data: {
|
|
10591
10590
|
outputId: string;
|
|
10592
10591
|
outputChannel: "recap" | "artifact";
|
|
@@ -10602,6 +10601,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10602
10601
|
};
|
|
10603
10602
|
supersedesOutputId?: string | undefined;
|
|
10604
10603
|
};
|
|
10604
|
+
sessionId: string;
|
|
10605
10605
|
v: 1;
|
|
10606
10606
|
eventIndex: number;
|
|
10607
10607
|
eventId: string;
|
|
@@ -10612,7 +10612,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10612
10612
|
};
|
|
10613
10613
|
} | {
|
|
10614
10614
|
kind: "assessment_recorded";
|
|
10615
|
-
sessionId: string;
|
|
10616
10615
|
data: {
|
|
10617
10616
|
assessmentId: string;
|
|
10618
10617
|
dimensions: readonly {
|
|
@@ -10626,6 +10625,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10626
10625
|
normalizationNotes: readonly string[];
|
|
10627
10626
|
summary?: string | undefined;
|
|
10628
10627
|
};
|
|
10628
|
+
sessionId: string;
|
|
10629
10629
|
v: 1;
|
|
10630
10630
|
eventIndex: number;
|
|
10631
10631
|
eventId: string;
|
|
@@ -10636,7 +10636,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10636
10636
|
};
|
|
10637
10637
|
} | {
|
|
10638
10638
|
kind: "assessment_consequence_applied";
|
|
10639
|
-
sessionId: string;
|
|
10640
10639
|
data: {
|
|
10641
10640
|
assessmentId: string;
|
|
10642
10641
|
effect: {
|
|
@@ -10649,6 +10648,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10649
10648
|
dimensionId: string;
|
|
10650
10649
|
};
|
|
10651
10650
|
};
|
|
10651
|
+
sessionId: string;
|
|
10652
10652
|
v: 1;
|
|
10653
10653
|
eventIndex: number;
|
|
10654
10654
|
eventId: string;
|
|
@@ -10659,7 +10659,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10659
10659
|
};
|
|
10660
10660
|
} | {
|
|
10661
10661
|
kind: "preferences_changed";
|
|
10662
|
-
sessionId: string;
|
|
10663
10662
|
data: {
|
|
10664
10663
|
source: "user" | "workflow_recommendation" | "system";
|
|
10665
10664
|
changeId: string;
|
|
@@ -10675,6 +10674,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10675
10674
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
10676
10675
|
};
|
|
10677
10676
|
};
|
|
10677
|
+
sessionId: string;
|
|
10678
10678
|
v: 1;
|
|
10679
10679
|
eventIndex: number;
|
|
10680
10680
|
eventId: string;
|
|
@@ -10685,7 +10685,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10685
10685
|
};
|
|
10686
10686
|
} | {
|
|
10687
10687
|
kind: "capability_observed";
|
|
10688
|
-
sessionId: string;
|
|
10689
10688
|
data: {
|
|
10690
10689
|
status: "unknown" | "available" | "unavailable";
|
|
10691
10690
|
capability: "delegation" | "web_browsing";
|
|
@@ -10715,6 +10714,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10715
10714
|
enforcementGrade: "weak";
|
|
10716
10715
|
};
|
|
10717
10716
|
};
|
|
10717
|
+
sessionId: string;
|
|
10718
10718
|
v: 1;
|
|
10719
10719
|
eventIndex: number;
|
|
10720
10720
|
eventId: string;
|
|
@@ -10725,7 +10725,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10725
10725
|
};
|
|
10726
10726
|
} | {
|
|
10727
10727
|
kind: "gap_recorded";
|
|
10728
|
-
sessionId: string;
|
|
10729
10728
|
data: {
|
|
10730
10729
|
summary: string;
|
|
10731
10730
|
reason: {
|
|
@@ -10748,7 +10747,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10748
10747
|
resolvesGapId: string;
|
|
10749
10748
|
};
|
|
10750
10749
|
gapId: string;
|
|
10751
|
-
severity: "
|
|
10750
|
+
severity: "info" | "warning" | "critical";
|
|
10752
10751
|
evidenceRefs?: ({
|
|
10753
10752
|
kind: "event";
|
|
10754
10753
|
eventId: string;
|
|
@@ -10757,6 +10756,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10757
10756
|
outputId: string;
|
|
10758
10757
|
})[] | undefined;
|
|
10759
10758
|
};
|
|
10759
|
+
sessionId: string;
|
|
10760
10760
|
v: 1;
|
|
10761
10761
|
eventIndex: number;
|
|
10762
10762
|
eventId: string;
|
|
@@ -10767,12 +10767,12 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10767
10767
|
};
|
|
10768
10768
|
} | {
|
|
10769
10769
|
kind: "context_set";
|
|
10770
|
-
sessionId: string;
|
|
10771
10770
|
data: {
|
|
10772
10771
|
source: "initial" | "agent_delta";
|
|
10773
10772
|
contextId: string;
|
|
10774
10773
|
context?: unknown;
|
|
10775
10774
|
};
|
|
10775
|
+
sessionId: string;
|
|
10776
10776
|
v: 1;
|
|
10777
10777
|
eventIndex: number;
|
|
10778
10778
|
eventId: string;
|
|
@@ -10782,13 +10782,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10782
10782
|
};
|
|
10783
10783
|
} | {
|
|
10784
10784
|
kind: "divergence_recorded";
|
|
10785
|
-
sessionId: string;
|
|
10786
10785
|
data: {
|
|
10787
10786
|
summary: string;
|
|
10788
10787
|
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
10789
10788
|
divergenceId: string;
|
|
10790
10789
|
relatedStepId?: string | undefined;
|
|
10791
10790
|
};
|
|
10791
|
+
sessionId: string;
|
|
10792
10792
|
v: 1;
|
|
10793
10793
|
eventIndex: number;
|
|
10794
10794
|
eventId: string;
|
|
@@ -10799,7 +10799,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10799
10799
|
};
|
|
10800
10800
|
} | {
|
|
10801
10801
|
kind: "decision_trace_appended";
|
|
10802
|
-
sessionId: string;
|
|
10803
10802
|
data: {
|
|
10804
10803
|
entries: {
|
|
10805
10804
|
kind: "selected_next_step" | "evaluated_condition" | "entered_loop" | "exited_loop" | "detected_non_tip_advance";
|
|
@@ -10820,6 +10819,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10820
10819
|
}[];
|
|
10821
10820
|
traceId: string;
|
|
10822
10821
|
};
|
|
10822
|
+
sessionId: string;
|
|
10823
10823
|
v: 1;
|
|
10824
10824
|
eventIndex: number;
|
|
10825
10825
|
eventId: string;
|
|
@@ -10898,8 +10898,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10898
10898
|
guidance: string;
|
|
10899
10899
|
dimensionId: string;
|
|
10900
10900
|
} | {
|
|
10901
|
-
key: string;
|
|
10902
10901
|
kind: "missing_context_key";
|
|
10902
|
+
key: string;
|
|
10903
10903
|
} | {
|
|
10904
10904
|
kind: "context_budget_exceeded";
|
|
10905
10905
|
} | {
|
|
@@ -10911,8 +10911,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10911
10911
|
message: string;
|
|
10912
10912
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
10913
10913
|
pointer: {
|
|
10914
|
-
key: string;
|
|
10915
10914
|
kind: "context_key";
|
|
10915
|
+
key: string;
|
|
10916
10916
|
} | {
|
|
10917
10917
|
kind: "context_budget";
|
|
10918
10918
|
} | {
|
|
@@ -10958,8 +10958,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10958
10958
|
message: string;
|
|
10959
10959
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
10960
10960
|
pointer: {
|
|
10961
|
-
key: string;
|
|
10962
10961
|
kind: "context_key";
|
|
10962
|
+
key: string;
|
|
10963
10963
|
} | {
|
|
10964
10964
|
kind: "context_budget";
|
|
10965
10965
|
} | {
|
|
@@ -11009,8 +11009,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11009
11009
|
}>;
|
|
11010
11010
|
events: ({
|
|
11011
11011
|
kind: "session_created";
|
|
11012
|
-
sessionId: string;
|
|
11013
11012
|
data: {};
|
|
11013
|
+
sessionId: string;
|
|
11014
11014
|
v: 1;
|
|
11015
11015
|
eventIndex: number;
|
|
11016
11016
|
eventId: string;
|
|
@@ -11021,24 +11021,24 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11021
11021
|
} | undefined;
|
|
11022
11022
|
} | {
|
|
11023
11023
|
kind: "observation_recorded";
|
|
11024
|
-
sessionId: string;
|
|
11025
11024
|
data: {
|
|
11026
11025
|
value: {
|
|
11027
|
-
value: string;
|
|
11028
11026
|
type: "short_string";
|
|
11029
|
-
} | {
|
|
11030
11027
|
value: string;
|
|
11031
|
-
type: "git_sha1";
|
|
11032
11028
|
} | {
|
|
11029
|
+
type: "git_sha1";
|
|
11033
11030
|
value: string;
|
|
11034
|
-
type: "sha256";
|
|
11035
11031
|
} | {
|
|
11032
|
+
type: "sha256";
|
|
11036
11033
|
value: string;
|
|
11034
|
+
} | {
|
|
11037
11035
|
type: "path";
|
|
11036
|
+
value: string;
|
|
11038
11037
|
};
|
|
11039
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
11040
11038
|
confidence: "high" | "low" | "med";
|
|
11039
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
11041
11040
|
};
|
|
11041
|
+
sessionId: string;
|
|
11042
11042
|
v: 1;
|
|
11043
11043
|
eventIndex: number;
|
|
11044
11044
|
eventId: string;
|
|
@@ -11046,13 +11046,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11046
11046
|
scope?: undefined;
|
|
11047
11047
|
} | {
|
|
11048
11048
|
kind: "run_started";
|
|
11049
|
-
sessionId: string;
|
|
11050
11049
|
data: {
|
|
11051
11050
|
workflowId: string;
|
|
11052
11051
|
workflowHash: string;
|
|
11053
11052
|
workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
|
|
11054
11053
|
workflowSourceRef: string;
|
|
11055
11054
|
};
|
|
11055
|
+
sessionId: string;
|
|
11056
11056
|
v: 1;
|
|
11057
11057
|
eventIndex: number;
|
|
11058
11058
|
eventId: string;
|
|
@@ -11062,13 +11062,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11062
11062
|
};
|
|
11063
11063
|
} | {
|
|
11064
11064
|
kind: "node_created";
|
|
11065
|
-
sessionId: string;
|
|
11066
11065
|
data: {
|
|
11067
11066
|
snapshotRef: string;
|
|
11068
11067
|
nodeKind: "checkpoint" | "step" | "blocked_attempt";
|
|
11069
11068
|
parentNodeId: string | null;
|
|
11070
11069
|
workflowHash: string;
|
|
11071
11070
|
};
|
|
11071
|
+
sessionId: string;
|
|
11072
11072
|
v: 1;
|
|
11073
11073
|
eventIndex: number;
|
|
11074
11074
|
eventId: string;
|
|
@@ -11079,7 +11079,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11079
11079
|
};
|
|
11080
11080
|
} | {
|
|
11081
11081
|
kind: "edge_created";
|
|
11082
|
-
sessionId: string;
|
|
11083
11082
|
data: {
|
|
11084
11083
|
cause: {
|
|
11085
11084
|
kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
|
|
@@ -11089,6 +11088,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11089
11088
|
fromNodeId: string;
|
|
11090
11089
|
toNodeId: string;
|
|
11091
11090
|
};
|
|
11091
|
+
sessionId: string;
|
|
11092
11092
|
v: 1;
|
|
11093
11093
|
eventIndex: number;
|
|
11094
11094
|
eventId: string;
|
|
@@ -11098,10 +11098,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11098
11098
|
};
|
|
11099
11099
|
} | {
|
|
11100
11100
|
kind: "advance_recorded";
|
|
11101
|
-
sessionId: string;
|
|
11102
11101
|
data: {
|
|
11103
|
-
intent: "ack_pending";
|
|
11104
|
-
attemptId: string;
|
|
11105
11102
|
outcome: {
|
|
11106
11103
|
kind: "blocked";
|
|
11107
11104
|
blockers: {
|
|
@@ -11109,8 +11106,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11109
11106
|
message: string;
|
|
11110
11107
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
11111
11108
|
pointer: {
|
|
11112
|
-
key: string;
|
|
11113
11109
|
kind: "context_key";
|
|
11110
|
+
key: string;
|
|
11114
11111
|
} | {
|
|
11115
11112
|
kind: "context_budget";
|
|
11116
11113
|
} | {
|
|
@@ -11130,7 +11127,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11130
11127
|
kind: "advanced";
|
|
11131
11128
|
toNodeId: string;
|
|
11132
11129
|
};
|
|
11130
|
+
intent: "ack_pending";
|
|
11131
|
+
attemptId: string;
|
|
11133
11132
|
};
|
|
11133
|
+
sessionId: string;
|
|
11134
11134
|
v: 1;
|
|
11135
11135
|
eventIndex: number;
|
|
11136
11136
|
eventId: string;
|
|
@@ -11141,17 +11141,17 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11141
11141
|
};
|
|
11142
11142
|
} | {
|
|
11143
11143
|
kind: "validation_performed";
|
|
11144
|
-
sessionId: string;
|
|
11145
11144
|
data: {
|
|
11146
11145
|
contractRef: string;
|
|
11147
|
-
attemptId: string;
|
|
11148
|
-
validationId: string;
|
|
11149
11146
|
result: {
|
|
11150
11147
|
issues: readonly string[];
|
|
11151
11148
|
valid: boolean;
|
|
11152
11149
|
suggestions: readonly string[];
|
|
11153
11150
|
};
|
|
11151
|
+
attemptId: string;
|
|
11152
|
+
validationId: string;
|
|
11154
11153
|
};
|
|
11154
|
+
sessionId: string;
|
|
11155
11155
|
v: 1;
|
|
11156
11156
|
eventIndex: number;
|
|
11157
11157
|
eventId: string;
|
|
@@ -11162,7 +11162,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11162
11162
|
};
|
|
11163
11163
|
} | {
|
|
11164
11164
|
kind: "node_output_appended";
|
|
11165
|
-
sessionId: string;
|
|
11166
11165
|
data: {
|
|
11167
11166
|
outputId: string;
|
|
11168
11167
|
outputChannel: "recap" | "artifact";
|
|
@@ -11178,6 +11177,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11178
11177
|
};
|
|
11179
11178
|
supersedesOutputId?: string | undefined;
|
|
11180
11179
|
};
|
|
11180
|
+
sessionId: string;
|
|
11181
11181
|
v: 1;
|
|
11182
11182
|
eventIndex: number;
|
|
11183
11183
|
eventId: string;
|
|
@@ -11188,7 +11188,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11188
11188
|
};
|
|
11189
11189
|
} | {
|
|
11190
11190
|
kind: "assessment_recorded";
|
|
11191
|
-
sessionId: string;
|
|
11192
11191
|
data: {
|
|
11193
11192
|
assessmentId: string;
|
|
11194
11193
|
dimensions: readonly {
|
|
@@ -11202,6 +11201,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11202
11201
|
normalizationNotes: readonly string[];
|
|
11203
11202
|
summary?: string | undefined;
|
|
11204
11203
|
};
|
|
11204
|
+
sessionId: string;
|
|
11205
11205
|
v: 1;
|
|
11206
11206
|
eventIndex: number;
|
|
11207
11207
|
eventId: string;
|
|
@@ -11212,7 +11212,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11212
11212
|
};
|
|
11213
11213
|
} | {
|
|
11214
11214
|
kind: "assessment_consequence_applied";
|
|
11215
|
-
sessionId: string;
|
|
11216
11215
|
data: {
|
|
11217
11216
|
assessmentId: string;
|
|
11218
11217
|
effect: {
|
|
@@ -11225,6 +11224,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11225
11224
|
dimensionId: string;
|
|
11226
11225
|
};
|
|
11227
11226
|
};
|
|
11227
|
+
sessionId: string;
|
|
11228
11228
|
v: 1;
|
|
11229
11229
|
eventIndex: number;
|
|
11230
11230
|
eventId: string;
|
|
@@ -11235,7 +11235,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11235
11235
|
};
|
|
11236
11236
|
} | {
|
|
11237
11237
|
kind: "preferences_changed";
|
|
11238
|
-
sessionId: string;
|
|
11239
11238
|
data: {
|
|
11240
11239
|
source: "user" | "workflow_recommendation" | "system";
|
|
11241
11240
|
changeId: string;
|
|
@@ -11251,6 +11250,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11251
11250
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
11252
11251
|
};
|
|
11253
11252
|
};
|
|
11253
|
+
sessionId: string;
|
|
11254
11254
|
v: 1;
|
|
11255
11255
|
eventIndex: number;
|
|
11256
11256
|
eventId: string;
|
|
@@ -11261,7 +11261,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11261
11261
|
};
|
|
11262
11262
|
} | {
|
|
11263
11263
|
kind: "capability_observed";
|
|
11264
|
-
sessionId: string;
|
|
11265
11264
|
data: {
|
|
11266
11265
|
status: "unknown" | "available" | "unavailable";
|
|
11267
11266
|
capability: "delegation" | "web_browsing";
|
|
@@ -11291,6 +11290,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11291
11290
|
enforcementGrade: "weak";
|
|
11292
11291
|
};
|
|
11293
11292
|
};
|
|
11293
|
+
sessionId: string;
|
|
11294
11294
|
v: 1;
|
|
11295
11295
|
eventIndex: number;
|
|
11296
11296
|
eventId: string;
|
|
@@ -11301,7 +11301,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11301
11301
|
};
|
|
11302
11302
|
} | {
|
|
11303
11303
|
kind: "gap_recorded";
|
|
11304
|
-
sessionId: string;
|
|
11305
11304
|
data: {
|
|
11306
11305
|
summary: string;
|
|
11307
11306
|
reason: {
|
|
@@ -11324,7 +11323,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11324
11323
|
resolvesGapId: string;
|
|
11325
11324
|
};
|
|
11326
11325
|
gapId: string;
|
|
11327
|
-
severity: "
|
|
11326
|
+
severity: "info" | "warning" | "critical";
|
|
11328
11327
|
evidenceRefs?: ({
|
|
11329
11328
|
kind: "event";
|
|
11330
11329
|
eventId: string;
|
|
@@ -11333,6 +11332,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11333
11332
|
outputId: string;
|
|
11334
11333
|
})[] | undefined;
|
|
11335
11334
|
};
|
|
11335
|
+
sessionId: string;
|
|
11336
11336
|
v: 1;
|
|
11337
11337
|
eventIndex: number;
|
|
11338
11338
|
eventId: string;
|
|
@@ -11343,12 +11343,12 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11343
11343
|
};
|
|
11344
11344
|
} | {
|
|
11345
11345
|
kind: "context_set";
|
|
11346
|
-
sessionId: string;
|
|
11347
11346
|
data: {
|
|
11348
11347
|
source: "initial" | "agent_delta";
|
|
11349
11348
|
contextId: string;
|
|
11350
11349
|
context?: unknown;
|
|
11351
11350
|
};
|
|
11351
|
+
sessionId: string;
|
|
11352
11352
|
v: 1;
|
|
11353
11353
|
eventIndex: number;
|
|
11354
11354
|
eventId: string;
|
|
@@ -11358,13 +11358,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11358
11358
|
};
|
|
11359
11359
|
} | {
|
|
11360
11360
|
kind: "divergence_recorded";
|
|
11361
|
-
sessionId: string;
|
|
11362
11361
|
data: {
|
|
11363
11362
|
summary: string;
|
|
11364
11363
|
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
11365
11364
|
divergenceId: string;
|
|
11366
11365
|
relatedStepId?: string | undefined;
|
|
11367
11366
|
};
|
|
11367
|
+
sessionId: string;
|
|
11368
11368
|
v: 1;
|
|
11369
11369
|
eventIndex: number;
|
|
11370
11370
|
eventId: string;
|
|
@@ -11375,7 +11375,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11375
11375
|
};
|
|
11376
11376
|
} | {
|
|
11377
11377
|
kind: "decision_trace_appended";
|
|
11378
|
-
sessionId: string;
|
|
11379
11378
|
data: {
|
|
11380
11379
|
entries: {
|
|
11381
11380
|
kind: "selected_next_step" | "evaluated_condition" | "entered_loop" | "exited_loop" | "detected_non_tip_advance";
|
|
@@ -11396,6 +11395,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11396
11395
|
}[];
|
|
11397
11396
|
traceId: string;
|
|
11398
11397
|
};
|
|
11398
|
+
sessionId: string;
|
|
11399
11399
|
v: 1;
|
|
11400
11400
|
eventIndex: number;
|
|
11401
11401
|
eventId: string;
|
|
@@ -11497,8 +11497,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11497
11497
|
guidance: string;
|
|
11498
11498
|
dimensionId: string;
|
|
11499
11499
|
} | {
|
|
11500
|
-
key: string;
|
|
11501
11500
|
kind: "missing_context_key";
|
|
11501
|
+
key: string;
|
|
11502
11502
|
} | {
|
|
11503
11503
|
kind: "context_budget_exceeded";
|
|
11504
11504
|
} | {
|
|
@@ -11510,8 +11510,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11510
11510
|
message: string;
|
|
11511
11511
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
11512
11512
|
pointer: {
|
|
11513
|
-
key: string;
|
|
11514
11513
|
kind: "context_key";
|
|
11514
|
+
key: string;
|
|
11515
11515
|
} | {
|
|
11516
11516
|
kind: "context_budget";
|
|
11517
11517
|
} | {
|
|
@@ -11557,8 +11557,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11557
11557
|
message: string;
|
|
11558
11558
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
11559
11559
|
pointer: {
|
|
11560
|
-
key: string;
|
|
11561
11560
|
kind: "context_key";
|
|
11561
|
+
key: string;
|
|
11562
11562
|
} | {
|
|
11563
11563
|
kind: "context_budget";
|
|
11564
11564
|
} | {
|
|
@@ -11614,8 +11614,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11614
11614
|
}>;
|
|
11615
11615
|
events: ({
|
|
11616
11616
|
kind: "session_created";
|
|
11617
|
-
sessionId: string;
|
|
11618
11617
|
data: {};
|
|
11618
|
+
sessionId: string;
|
|
11619
11619
|
v: 1;
|
|
11620
11620
|
eventIndex: number;
|
|
11621
11621
|
eventId: string;
|
|
@@ -11626,24 +11626,24 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11626
11626
|
} | undefined;
|
|
11627
11627
|
} | {
|
|
11628
11628
|
kind: "observation_recorded";
|
|
11629
|
-
sessionId: string;
|
|
11630
11629
|
data: {
|
|
11631
11630
|
value: {
|
|
11632
|
-
value: string;
|
|
11633
11631
|
type: "short_string";
|
|
11634
|
-
} | {
|
|
11635
11632
|
value: string;
|
|
11636
|
-
type: "git_sha1";
|
|
11637
11633
|
} | {
|
|
11634
|
+
type: "git_sha1";
|
|
11638
11635
|
value: string;
|
|
11639
|
-
type: "sha256";
|
|
11640
11636
|
} | {
|
|
11637
|
+
type: "sha256";
|
|
11641
11638
|
value: string;
|
|
11639
|
+
} | {
|
|
11642
11640
|
type: "path";
|
|
11641
|
+
value: string;
|
|
11643
11642
|
};
|
|
11644
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
11645
11643
|
confidence: "high" | "low" | "med";
|
|
11644
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
11646
11645
|
};
|
|
11646
|
+
sessionId: string;
|
|
11647
11647
|
v: 1;
|
|
11648
11648
|
eventIndex: number;
|
|
11649
11649
|
eventId: string;
|
|
@@ -11651,13 +11651,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11651
11651
|
scope?: undefined;
|
|
11652
11652
|
} | {
|
|
11653
11653
|
kind: "run_started";
|
|
11654
|
-
sessionId: string;
|
|
11655
11654
|
data: {
|
|
11656
11655
|
workflowId: string;
|
|
11657
11656
|
workflowHash: never;
|
|
11658
11657
|
workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
|
|
11659
11658
|
workflowSourceRef: string;
|
|
11660
11659
|
};
|
|
11660
|
+
sessionId: string;
|
|
11661
11661
|
v: 1;
|
|
11662
11662
|
eventIndex: number;
|
|
11663
11663
|
eventId: string;
|
|
@@ -11667,13 +11667,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11667
11667
|
};
|
|
11668
11668
|
} | {
|
|
11669
11669
|
kind: "node_created";
|
|
11670
|
-
sessionId: string;
|
|
11671
11670
|
data: {
|
|
11672
11671
|
snapshotRef: never;
|
|
11673
11672
|
nodeKind: "checkpoint" | "step" | "blocked_attempt";
|
|
11674
11673
|
parentNodeId: string | null;
|
|
11675
11674
|
workflowHash: never;
|
|
11676
11675
|
};
|
|
11676
|
+
sessionId: string;
|
|
11677
11677
|
v: 1;
|
|
11678
11678
|
eventIndex: number;
|
|
11679
11679
|
eventId: string;
|
|
@@ -11684,7 +11684,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11684
11684
|
};
|
|
11685
11685
|
} | {
|
|
11686
11686
|
kind: "edge_created";
|
|
11687
|
-
sessionId: string;
|
|
11688
11687
|
data: {
|
|
11689
11688
|
cause: {
|
|
11690
11689
|
kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
|
|
@@ -11694,6 +11693,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11694
11693
|
fromNodeId: string;
|
|
11695
11694
|
toNodeId: string;
|
|
11696
11695
|
};
|
|
11696
|
+
sessionId: string;
|
|
11697
11697
|
v: 1;
|
|
11698
11698
|
eventIndex: number;
|
|
11699
11699
|
eventId: string;
|
|
@@ -11703,10 +11703,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11703
11703
|
};
|
|
11704
11704
|
} | {
|
|
11705
11705
|
kind: "advance_recorded";
|
|
11706
|
-
sessionId: string;
|
|
11707
11706
|
data: {
|
|
11708
|
-
intent: "ack_pending";
|
|
11709
|
-
attemptId: string;
|
|
11710
11707
|
outcome: {
|
|
11711
11708
|
kind: "blocked";
|
|
11712
11709
|
blockers: {
|
|
@@ -11714,8 +11711,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11714
11711
|
message: string;
|
|
11715
11712
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
11716
11713
|
pointer: {
|
|
11717
|
-
key: string;
|
|
11718
11714
|
kind: "context_key";
|
|
11715
|
+
key: string;
|
|
11719
11716
|
} | {
|
|
11720
11717
|
kind: "context_budget";
|
|
11721
11718
|
} | {
|
|
@@ -11735,7 +11732,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11735
11732
|
kind: "advanced";
|
|
11736
11733
|
toNodeId: string;
|
|
11737
11734
|
};
|
|
11735
|
+
intent: "ack_pending";
|
|
11736
|
+
attemptId: string;
|
|
11738
11737
|
};
|
|
11738
|
+
sessionId: string;
|
|
11739
11739
|
v: 1;
|
|
11740
11740
|
eventIndex: number;
|
|
11741
11741
|
eventId: string;
|
|
@@ -11746,17 +11746,17 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11746
11746
|
};
|
|
11747
11747
|
} | {
|
|
11748
11748
|
kind: "validation_performed";
|
|
11749
|
-
sessionId: string;
|
|
11750
11749
|
data: {
|
|
11751
11750
|
contractRef: string;
|
|
11752
|
-
attemptId: string;
|
|
11753
|
-
validationId: string;
|
|
11754
11751
|
result: {
|
|
11755
11752
|
issues: readonly string[];
|
|
11756
11753
|
valid: boolean;
|
|
11757
11754
|
suggestions: readonly string[];
|
|
11758
11755
|
};
|
|
11756
|
+
attemptId: string;
|
|
11757
|
+
validationId: string;
|
|
11759
11758
|
};
|
|
11759
|
+
sessionId: string;
|
|
11760
11760
|
v: 1;
|
|
11761
11761
|
eventIndex: number;
|
|
11762
11762
|
eventId: string;
|
|
@@ -11767,7 +11767,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11767
11767
|
};
|
|
11768
11768
|
} | {
|
|
11769
11769
|
kind: "node_output_appended";
|
|
11770
|
-
sessionId: string;
|
|
11771
11770
|
data: {
|
|
11772
11771
|
outputId: string;
|
|
11773
11772
|
outputChannel: "recap" | "artifact";
|
|
@@ -11783,6 +11782,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11783
11782
|
};
|
|
11784
11783
|
supersedesOutputId?: string | undefined;
|
|
11785
11784
|
};
|
|
11785
|
+
sessionId: string;
|
|
11786
11786
|
v: 1;
|
|
11787
11787
|
eventIndex: number;
|
|
11788
11788
|
eventId: string;
|
|
@@ -11793,7 +11793,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11793
11793
|
};
|
|
11794
11794
|
} | {
|
|
11795
11795
|
kind: "assessment_recorded";
|
|
11796
|
-
sessionId: string;
|
|
11797
11796
|
data: {
|
|
11798
11797
|
assessmentId: string;
|
|
11799
11798
|
dimensions: readonly {
|
|
@@ -11807,6 +11806,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11807
11806
|
normalizationNotes: readonly string[];
|
|
11808
11807
|
summary?: string | undefined;
|
|
11809
11808
|
};
|
|
11809
|
+
sessionId: string;
|
|
11810
11810
|
v: 1;
|
|
11811
11811
|
eventIndex: number;
|
|
11812
11812
|
eventId: string;
|
|
@@ -11817,7 +11817,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11817
11817
|
};
|
|
11818
11818
|
} | {
|
|
11819
11819
|
kind: "assessment_consequence_applied";
|
|
11820
|
-
sessionId: string;
|
|
11821
11820
|
data: {
|
|
11822
11821
|
assessmentId: string;
|
|
11823
11822
|
effect: {
|
|
@@ -11830,6 +11829,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11830
11829
|
dimensionId: string;
|
|
11831
11830
|
};
|
|
11832
11831
|
};
|
|
11832
|
+
sessionId: string;
|
|
11833
11833
|
v: 1;
|
|
11834
11834
|
eventIndex: number;
|
|
11835
11835
|
eventId: string;
|
|
@@ -11840,7 +11840,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11840
11840
|
};
|
|
11841
11841
|
} | {
|
|
11842
11842
|
kind: "preferences_changed";
|
|
11843
|
-
sessionId: string;
|
|
11844
11843
|
data: {
|
|
11845
11844
|
source: "user" | "workflow_recommendation" | "system";
|
|
11846
11845
|
changeId: string;
|
|
@@ -11856,6 +11855,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11856
11855
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
11857
11856
|
};
|
|
11858
11857
|
};
|
|
11858
|
+
sessionId: string;
|
|
11859
11859
|
v: 1;
|
|
11860
11860
|
eventIndex: number;
|
|
11861
11861
|
eventId: string;
|
|
@@ -11866,7 +11866,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11866
11866
|
};
|
|
11867
11867
|
} | {
|
|
11868
11868
|
kind: "capability_observed";
|
|
11869
|
-
sessionId: string;
|
|
11870
11869
|
data: {
|
|
11871
11870
|
status: "unknown" | "available" | "unavailable";
|
|
11872
11871
|
capability: "delegation" | "web_browsing";
|
|
@@ -11896,6 +11895,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11896
11895
|
enforcementGrade: "weak";
|
|
11897
11896
|
};
|
|
11898
11897
|
};
|
|
11898
|
+
sessionId: string;
|
|
11899
11899
|
v: 1;
|
|
11900
11900
|
eventIndex: number;
|
|
11901
11901
|
eventId: string;
|
|
@@ -11906,7 +11906,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11906
11906
|
};
|
|
11907
11907
|
} | {
|
|
11908
11908
|
kind: "gap_recorded";
|
|
11909
|
-
sessionId: string;
|
|
11910
11909
|
data: {
|
|
11911
11910
|
summary: string;
|
|
11912
11911
|
reason: {
|
|
@@ -11929,7 +11928,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11929
11928
|
resolvesGapId: string;
|
|
11930
11929
|
};
|
|
11931
11930
|
gapId: string;
|
|
11932
|
-
severity: "
|
|
11931
|
+
severity: "info" | "warning" | "critical";
|
|
11933
11932
|
evidenceRefs?: ({
|
|
11934
11933
|
kind: "event";
|
|
11935
11934
|
eventId: string;
|
|
@@ -11938,6 +11937,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11938
11937
|
outputId: string;
|
|
11939
11938
|
})[] | undefined;
|
|
11940
11939
|
};
|
|
11940
|
+
sessionId: string;
|
|
11941
11941
|
v: 1;
|
|
11942
11942
|
eventIndex: number;
|
|
11943
11943
|
eventId: string;
|
|
@@ -11948,12 +11948,12 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11948
11948
|
};
|
|
11949
11949
|
} | {
|
|
11950
11950
|
kind: "context_set";
|
|
11951
|
-
sessionId: string;
|
|
11952
11951
|
data: {
|
|
11953
11952
|
source: "initial" | "agent_delta";
|
|
11954
11953
|
contextId: string;
|
|
11955
11954
|
context?: unknown;
|
|
11956
11955
|
};
|
|
11956
|
+
sessionId: string;
|
|
11957
11957
|
v: 1;
|
|
11958
11958
|
eventIndex: number;
|
|
11959
11959
|
eventId: string;
|
|
@@ -11963,13 +11963,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11963
11963
|
};
|
|
11964
11964
|
} | {
|
|
11965
11965
|
kind: "divergence_recorded";
|
|
11966
|
-
sessionId: string;
|
|
11967
11966
|
data: {
|
|
11968
11967
|
summary: string;
|
|
11969
11968
|
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
11970
11969
|
divergenceId: string;
|
|
11971
11970
|
relatedStepId?: string | undefined;
|
|
11972
11971
|
};
|
|
11972
|
+
sessionId: string;
|
|
11973
11973
|
v: 1;
|
|
11974
11974
|
eventIndex: number;
|
|
11975
11975
|
eventId: string;
|
|
@@ -11980,7 +11980,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11980
11980
|
};
|
|
11981
11981
|
} | {
|
|
11982
11982
|
kind: "decision_trace_appended";
|
|
11983
|
-
sessionId: string;
|
|
11984
11983
|
data: {
|
|
11985
11984
|
entries: {
|
|
11986
11985
|
kind: "selected_next_step" | "evaluated_condition" | "entered_loop" | "exited_loop" | "detected_non_tip_advance";
|
|
@@ -12001,6 +12000,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12001
12000
|
}[];
|
|
12002
12001
|
traceId: string;
|
|
12003
12002
|
};
|
|
12003
|
+
sessionId: string;
|
|
12004
12004
|
v: 1;
|
|
12005
12005
|
eventIndex: number;
|
|
12006
12006
|
eventId: string;
|
|
@@ -12096,8 +12096,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12096
12096
|
guidance: string;
|
|
12097
12097
|
dimensionId: string;
|
|
12098
12098
|
} | {
|
|
12099
|
-
key: string;
|
|
12100
12099
|
kind: "missing_context_key";
|
|
12100
|
+
key: string;
|
|
12101
12101
|
} | {
|
|
12102
12102
|
kind: "context_budget_exceeded";
|
|
12103
12103
|
} | {
|
|
@@ -12109,8 +12109,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12109
12109
|
message: string;
|
|
12110
12110
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
12111
12111
|
pointer: {
|
|
12112
|
-
key: string;
|
|
12113
12112
|
kind: "context_key";
|
|
12113
|
+
key: string;
|
|
12114
12114
|
} | {
|
|
12115
12115
|
kind: "context_budget";
|
|
12116
12116
|
} | {
|
|
@@ -12156,8 +12156,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12156
12156
|
message: string;
|
|
12157
12157
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "ASSESSMENT_FOLLOWUP_REQUIRED" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
12158
12158
|
pointer: {
|
|
12159
|
-
key: string;
|
|
12160
12159
|
kind: "context_key";
|
|
12160
|
+
key: string;
|
|
12161
12161
|
} | {
|
|
12162
12162
|
kind: "context_budget";
|
|
12163
12163
|
} | {
|
|
@@ -12207,8 +12207,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12207
12207
|
}>;
|
|
12208
12208
|
events: ({
|
|
12209
12209
|
kind: "session_created";
|
|
12210
|
-
sessionId: string;
|
|
12211
12210
|
data: {};
|
|
12211
|
+
sessionId: string;
|
|
12212
12212
|
v: 1;
|
|
12213
12213
|
eventIndex: number;
|
|
12214
12214
|
eventId: string;
|
|
@@ -12219,24 +12219,24 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12219
12219
|
} | undefined;
|
|
12220
12220
|
} | {
|
|
12221
12221
|
kind: "observation_recorded";
|
|
12222
|
-
sessionId: string;
|
|
12223
12222
|
data: {
|
|
12224
12223
|
value: {
|
|
12225
|
-
value: string;
|
|
12226
12224
|
type: "short_string";
|
|
12227
|
-
} | {
|
|
12228
12225
|
value: string;
|
|
12229
|
-
type: "git_sha1";
|
|
12230
12226
|
} | {
|
|
12227
|
+
type: "git_sha1";
|
|
12231
12228
|
value: string;
|
|
12232
|
-
type: "sha256";
|
|
12233
12229
|
} | {
|
|
12230
|
+
type: "sha256";
|
|
12234
12231
|
value: string;
|
|
12232
|
+
} | {
|
|
12235
12233
|
type: "path";
|
|
12234
|
+
value: string;
|
|
12236
12235
|
};
|
|
12237
|
-
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
12238
12236
|
confidence: "high" | "low" | "med";
|
|
12237
|
+
key: "git_branch" | "git_head_sha" | "repo_root_hash" | "repo_root";
|
|
12239
12238
|
};
|
|
12239
|
+
sessionId: string;
|
|
12240
12240
|
v: 1;
|
|
12241
12241
|
eventIndex: number;
|
|
12242
12242
|
eventId: string;
|
|
@@ -12244,13 +12244,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12244
12244
|
scope?: undefined;
|
|
12245
12245
|
} | {
|
|
12246
12246
|
kind: "run_started";
|
|
12247
|
-
sessionId: string;
|
|
12248
12247
|
data: {
|
|
12249
12248
|
workflowId: string;
|
|
12250
12249
|
workflowHash: string;
|
|
12251
12250
|
workflowSourceKind: "bundled" | "user" | "project" | "remote" | "plugin";
|
|
12252
12251
|
workflowSourceRef: string;
|
|
12253
12252
|
};
|
|
12253
|
+
sessionId: string;
|
|
12254
12254
|
v: 1;
|
|
12255
12255
|
eventIndex: number;
|
|
12256
12256
|
eventId: string;
|
|
@@ -12260,13 +12260,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12260
12260
|
};
|
|
12261
12261
|
} | {
|
|
12262
12262
|
kind: "node_created";
|
|
12263
|
-
sessionId: string;
|
|
12264
12263
|
data: {
|
|
12265
12264
|
snapshotRef: string;
|
|
12266
12265
|
nodeKind: "checkpoint" | "step" | "blocked_attempt";
|
|
12267
12266
|
parentNodeId: string | null;
|
|
12268
12267
|
workflowHash: string;
|
|
12269
12268
|
};
|
|
12269
|
+
sessionId: string;
|
|
12270
12270
|
v: 1;
|
|
12271
12271
|
eventIndex: number;
|
|
12272
12272
|
eventId: string;
|
|
@@ -12277,7 +12277,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12277
12277
|
};
|
|
12278
12278
|
} | {
|
|
12279
12279
|
kind: "edge_created";
|
|
12280
|
-
sessionId: string;
|
|
12281
12280
|
data: {
|
|
12282
12281
|
cause: {
|
|
12283
12282
|
kind: "intentional_fork" | "non_tip_advance" | "idempotent_replay" | "checkpoint_created";
|
|
@@ -12287,6 +12286,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12287
12286
|
fromNodeId: string;
|
|
12288
12287
|
toNodeId: string;
|
|
12289
12288
|
};
|
|
12289
|
+
sessionId: string;
|
|
12290
12290
|
v: 1;
|
|
12291
12291
|
eventIndex: number;
|
|
12292
12292
|
eventId: string;
|
|
@@ -12296,10 +12296,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12296
12296
|
};
|
|
12297
12297
|
} | {
|
|
12298
12298
|
kind: "advance_recorded";
|
|
12299
|
-
sessionId: string;
|
|
12300
12299
|
data: {
|
|
12301
|
-
intent: "ack_pending";
|
|
12302
|
-
attemptId: string;
|
|
12303
12300
|
outcome: {
|
|
12304
12301
|
kind: "blocked";
|
|
12305
12302
|
blockers: {
|
|
@@ -12307,8 +12304,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12307
12304
|
message: string;
|
|
12308
12305
|
code: "USER_ONLY_DEPENDENCY" | "MISSING_REQUIRED_OUTPUT" | "INVALID_REQUIRED_OUTPUT" | "MISSING_REQUIRED_NOTES" | "MISSING_CONTEXT_KEY" | "CONTEXT_BUDGET_EXCEEDED" | "REQUIRED_CAPABILITY_UNKNOWN" | "REQUIRED_CAPABILITY_UNAVAILABLE" | "INVARIANT_VIOLATION" | "STORAGE_CORRUPTION_DETECTED";
|
|
12309
12306
|
pointer: {
|
|
12310
|
-
key: string;
|
|
12311
12307
|
kind: "context_key";
|
|
12308
|
+
key: string;
|
|
12312
12309
|
} | {
|
|
12313
12310
|
kind: "context_budget";
|
|
12314
12311
|
} | {
|
|
@@ -12328,7 +12325,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12328
12325
|
kind: "advanced";
|
|
12329
12326
|
toNodeId: string;
|
|
12330
12327
|
};
|
|
12328
|
+
intent: "ack_pending";
|
|
12329
|
+
attemptId: string;
|
|
12331
12330
|
};
|
|
12331
|
+
sessionId: string;
|
|
12332
12332
|
v: 1;
|
|
12333
12333
|
eventIndex: number;
|
|
12334
12334
|
eventId: string;
|
|
@@ -12339,17 +12339,17 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12339
12339
|
};
|
|
12340
12340
|
} | {
|
|
12341
12341
|
kind: "validation_performed";
|
|
12342
|
-
sessionId: string;
|
|
12343
12342
|
data: {
|
|
12344
12343
|
contractRef: string;
|
|
12345
|
-
attemptId: string;
|
|
12346
|
-
validationId: string;
|
|
12347
12344
|
result: {
|
|
12348
12345
|
issues: readonly string[];
|
|
12349
12346
|
valid: boolean;
|
|
12350
12347
|
suggestions: readonly string[];
|
|
12351
12348
|
};
|
|
12349
|
+
attemptId: string;
|
|
12350
|
+
validationId: string;
|
|
12352
12351
|
};
|
|
12352
|
+
sessionId: string;
|
|
12353
12353
|
v: 1;
|
|
12354
12354
|
eventIndex: number;
|
|
12355
12355
|
eventId: string;
|
|
@@ -12360,7 +12360,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12360
12360
|
};
|
|
12361
12361
|
} | {
|
|
12362
12362
|
kind: "node_output_appended";
|
|
12363
|
-
sessionId: string;
|
|
12364
12363
|
data: {
|
|
12365
12364
|
outputId: string;
|
|
12366
12365
|
outputChannel: "recap" | "artifact";
|
|
@@ -12376,6 +12375,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12376
12375
|
};
|
|
12377
12376
|
supersedesOutputId?: string | undefined;
|
|
12378
12377
|
};
|
|
12378
|
+
sessionId: string;
|
|
12379
12379
|
v: 1;
|
|
12380
12380
|
eventIndex: number;
|
|
12381
12381
|
eventId: string;
|
|
@@ -12386,7 +12386,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12386
12386
|
};
|
|
12387
12387
|
} | {
|
|
12388
12388
|
kind: "assessment_recorded";
|
|
12389
|
-
sessionId: string;
|
|
12390
12389
|
data: {
|
|
12391
12390
|
assessmentId: string;
|
|
12392
12391
|
dimensions: readonly {
|
|
@@ -12400,6 +12399,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12400
12399
|
normalizationNotes: readonly string[];
|
|
12401
12400
|
summary?: string | undefined;
|
|
12402
12401
|
};
|
|
12402
|
+
sessionId: string;
|
|
12403
12403
|
v: 1;
|
|
12404
12404
|
eventIndex: number;
|
|
12405
12405
|
eventId: string;
|
|
@@ -12410,7 +12410,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12410
12410
|
};
|
|
12411
12411
|
} | {
|
|
12412
12412
|
kind: "assessment_consequence_applied";
|
|
12413
|
-
sessionId: string;
|
|
12414
12413
|
data: {
|
|
12415
12414
|
assessmentId: string;
|
|
12416
12415
|
effect: {
|
|
@@ -12423,6 +12422,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12423
12422
|
dimensionId: string;
|
|
12424
12423
|
};
|
|
12425
12424
|
};
|
|
12425
|
+
sessionId: string;
|
|
12426
12426
|
v: 1;
|
|
12427
12427
|
eventIndex: number;
|
|
12428
12428
|
eventId: string;
|
|
@@ -12433,7 +12433,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12433
12433
|
};
|
|
12434
12434
|
} | {
|
|
12435
12435
|
kind: "preferences_changed";
|
|
12436
|
-
sessionId: string;
|
|
12437
12436
|
data: {
|
|
12438
12437
|
source: "user" | "workflow_recommendation" | "system";
|
|
12439
12438
|
changeId: string;
|
|
@@ -12449,6 +12448,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12449
12448
|
riskPolicy: "conservative" | "balanced" | "aggressive";
|
|
12450
12449
|
};
|
|
12451
12450
|
};
|
|
12451
|
+
sessionId: string;
|
|
12452
12452
|
v: 1;
|
|
12453
12453
|
eventIndex: number;
|
|
12454
12454
|
eventId: string;
|
|
@@ -12459,7 +12459,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12459
12459
|
};
|
|
12460
12460
|
} | {
|
|
12461
12461
|
kind: "capability_observed";
|
|
12462
|
-
sessionId: string;
|
|
12463
12462
|
data: {
|
|
12464
12463
|
status: "unknown" | "available" | "unavailable";
|
|
12465
12464
|
capability: "delegation" | "web_browsing";
|
|
@@ -12489,6 +12488,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12489
12488
|
enforcementGrade: "weak";
|
|
12490
12489
|
};
|
|
12491
12490
|
};
|
|
12491
|
+
sessionId: string;
|
|
12492
12492
|
v: 1;
|
|
12493
12493
|
eventIndex: number;
|
|
12494
12494
|
eventId: string;
|
|
@@ -12499,7 +12499,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12499
12499
|
};
|
|
12500
12500
|
} | {
|
|
12501
12501
|
kind: "gap_recorded";
|
|
12502
|
-
sessionId: string;
|
|
12503
12502
|
data: {
|
|
12504
12503
|
summary: string;
|
|
12505
12504
|
reason: {
|
|
@@ -12522,7 +12521,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12522
12521
|
resolvesGapId: string;
|
|
12523
12522
|
};
|
|
12524
12523
|
gapId: string;
|
|
12525
|
-
severity: "
|
|
12524
|
+
severity: "info" | "warning" | "critical";
|
|
12526
12525
|
evidenceRefs?: ({
|
|
12527
12526
|
kind: "event";
|
|
12528
12527
|
eventId: string;
|
|
@@ -12531,6 +12530,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12531
12530
|
outputId: string;
|
|
12532
12531
|
})[] | undefined;
|
|
12533
12532
|
};
|
|
12533
|
+
sessionId: string;
|
|
12534
12534
|
v: 1;
|
|
12535
12535
|
eventIndex: number;
|
|
12536
12536
|
eventId: string;
|
|
@@ -12541,12 +12541,12 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12541
12541
|
};
|
|
12542
12542
|
} | {
|
|
12543
12543
|
kind: "context_set";
|
|
12544
|
-
sessionId: string;
|
|
12545
12544
|
data: {
|
|
12546
12545
|
source: "initial" | "agent_delta";
|
|
12547
12546
|
contextId: string;
|
|
12548
12547
|
context?: unknown;
|
|
12549
12548
|
};
|
|
12549
|
+
sessionId: string;
|
|
12550
12550
|
v: 1;
|
|
12551
12551
|
eventIndex: number;
|
|
12552
12552
|
eventId: string;
|
|
@@ -12556,13 +12556,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12556
12556
|
};
|
|
12557
12557
|
} | {
|
|
12558
12558
|
kind: "divergence_recorded";
|
|
12559
|
-
sessionId: string;
|
|
12560
12559
|
data: {
|
|
12561
12560
|
summary: string;
|
|
12562
12561
|
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
12563
12562
|
divergenceId: string;
|
|
12564
12563
|
relatedStepId?: string | undefined;
|
|
12565
12564
|
};
|
|
12565
|
+
sessionId: string;
|
|
12566
12566
|
v: 1;
|
|
12567
12567
|
eventIndex: number;
|
|
12568
12568
|
eventId: string;
|
|
@@ -12573,7 +12573,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12573
12573
|
};
|
|
12574
12574
|
} | {
|
|
12575
12575
|
kind: "decision_trace_appended";
|
|
12576
|
-
sessionId: string;
|
|
12577
12576
|
data: {
|
|
12578
12577
|
entries: {
|
|
12579
12578
|
kind: "selected_next_step" | "evaluated_condition" | "entered_loop" | "exited_loop" | "detected_non_tip_advance";
|
|
@@ -12594,6 +12593,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
12594
12593
|
}[];
|
|
12595
12594
|
traceId: string;
|
|
12596
12595
|
};
|
|
12596
|
+
sessionId: string;
|
|
12597
12597
|
v: 1;
|
|
12598
12598
|
eventIndex: number;
|
|
12599
12599
|
eventId: string;
|