@exaudeus/workrail 3.10.0 → 3.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/application/services/validation-engine.js +134 -0
- package/dist/application/services/workflow-compiler.js +54 -0
- package/dist/manifest.json +138 -74
- package/dist/mcp/handlers/v2-advance-core/assessment-consequences.d.ts +14 -0
- package/dist/mcp/handlers/v2-advance-core/assessment-consequences.js +27 -0
- package/dist/mcp/handlers/v2-advance-core/assessment-validation.d.ts +16 -0
- package/dist/mcp/handlers/v2-advance-core/assessment-validation.js +213 -0
- package/dist/mcp/handlers/v2-advance-core/event-builders.d.ts +1 -0
- package/dist/mcp/handlers/v2-advance-core/event-builders.js +3 -2
- package/dist/mcp/handlers/v2-advance-core/index.js +23 -8
- package/dist/mcp/handlers/v2-advance-core/input-validation.d.ts +9 -1
- package/dist/mcp/handlers/v2-advance-core/input-validation.js +22 -2
- package/dist/mcp/handlers/v2-advance-core/outcome-blocked.d.ts +2 -0
- package/dist/mcp/handlers/v2-advance-core/outcome-blocked.js +69 -19
- package/dist/mcp/handlers/v2-advance-core/outcome-success.js +22 -0
- package/dist/mcp/handlers/v2-execution/replay.js +7 -0
- package/dist/mcp/output-schemas.d.ts +156 -42
- package/dist/mcp/output-schemas.js +15 -0
- package/dist/mcp/v2-response-formatter.js +7 -1
- package/dist/types/workflow-definition.d.ts +26 -0
- package/dist/types/workflow-definition.js +16 -1
- package/dist/v2/durable-core/constants.d.ts +2 -0
- package/dist/v2/durable-core/constants.js +2 -0
- package/dist/v2/durable-core/domain/assessment-consequence-event-builder.d.ts +23 -0
- package/dist/v2/durable-core/domain/assessment-consequence-event-builder.js +36 -0
- package/dist/v2/durable-core/domain/assessment-record.d.ts +12 -0
- package/dist/v2/durable-core/domain/assessment-record.js +2 -0
- package/dist/v2/durable-core/domain/assessment-recorded-event-builder.d.ts +22 -0
- package/dist/v2/durable-core/domain/assessment-recorded-event-builder.js +38 -0
- package/dist/v2/durable-core/domain/blocked-node-builder.d.ts +1 -1
- package/dist/v2/durable-core/domain/blocked-node-builder.js +8 -0
- package/dist/v2/durable-core/domain/blocking-decision.d.ts +6 -0
- package/dist/v2/durable-core/domain/blocking-decision.js +15 -0
- package/dist/v2/durable-core/domain/prompt-renderer.js +25 -1
- package/dist/v2/durable-core/domain/reason-model.d.ts +12 -2
- package/dist/v2/durable-core/domain/reason-model.js +27 -2
- package/dist/v2/durable-core/domain/risk-policy-guardrails.js +1 -0
- package/dist/v2/durable-core/domain/validation-criteria-validator.d.ts +1 -0
- package/dist/v2/durable-core/domain/validation-criteria-validator.js +11 -0
- package/dist/v2/durable-core/schemas/artifacts/assessment.d.ts +55 -0
- package/dist/v2/durable-core/schemas/artifacts/assessment.js +29 -0
- package/dist/v2/durable-core/schemas/artifacts/index.d.ts +2 -1
- package/dist/v2/durable-core/schemas/artifacts/index.js +8 -1
- package/dist/v2/durable-core/schemas/compiled-workflow/index.d.ts +24 -24
- package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.d.ts +141 -21
- package/dist/v2/durable-core/schemas/execution-snapshot/blocked-snapshot.js +10 -1
- package/dist/v2/durable-core/schemas/execution-snapshot/execution-snapshot.v1.d.ts +729 -171
- package/dist/v2/durable-core/schemas/export-bundle/index.d.ts +1442 -202
- package/dist/v2/durable-core/schemas/session/events.d.ts +231 -8
- package/dist/v2/durable-core/schemas/session/events.js +36 -0
- package/dist/v2/durable-core/schemas/session/gaps.d.ts +2 -2
- package/dist/v2/projections/assessment-consequences.d.ts +19 -0
- package/dist/v2/projections/assessment-consequences.js +33 -0
- package/dist/v2/projections/assessments.d.ts +21 -0
- package/dist/v2/projections/assessments.js +35 -0
- package/package.json +1 -1
- package/spec/authoring-spec.json +38 -4
- package/spec/production-readiness-audit-rubric.md +43 -0
- package/spec/workflow.schema.json +110 -0
- package/workflows/bug-investigation.agentic.v2.json +28 -2
- package/workflows/production-readiness-audit.json +354 -0
- package/workflows/test-artifact-loop-control.json +28 -2
- package/workflows/workflow-for-workflows.v2.json +395 -58
- package/workflows/wr.discovery.json +33 -69
|
@@ -1113,6 +1113,229 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1113
1113
|
eventIndex: z.ZodNumber;
|
|
1114
1114
|
sessionId: z.ZodString;
|
|
1115
1115
|
dedupeKey: z.ZodString;
|
|
1116
|
+
} & {
|
|
1117
|
+
kind: z.ZodLiteral<"assessment_recorded">;
|
|
1118
|
+
scope: z.ZodObject<{
|
|
1119
|
+
runId: z.ZodString;
|
|
1120
|
+
nodeId: z.ZodString;
|
|
1121
|
+
}, "strip", z.ZodTypeAny, {
|
|
1122
|
+
runId: string;
|
|
1123
|
+
nodeId: string;
|
|
1124
|
+
}, {
|
|
1125
|
+
runId: string;
|
|
1126
|
+
nodeId: string;
|
|
1127
|
+
}>;
|
|
1128
|
+
data: z.ZodObject<{
|
|
1129
|
+
assessmentId: z.ZodString;
|
|
1130
|
+
attemptId: z.ZodString;
|
|
1131
|
+
artifactOutputId: z.ZodString;
|
|
1132
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
1133
|
+
normalizationNotes: z.ZodReadonly<z.ZodArray<z.ZodString, "many">>;
|
|
1134
|
+
dimensions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
1135
|
+
dimensionId: z.ZodString;
|
|
1136
|
+
level: z.ZodString;
|
|
1137
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
1138
|
+
normalization: z.ZodEnum<["exact", "normalized"]>;
|
|
1139
|
+
}, "strip", z.ZodTypeAny, {
|
|
1140
|
+
level: string;
|
|
1141
|
+
dimensionId: string;
|
|
1142
|
+
normalization: "exact" | "normalized";
|
|
1143
|
+
rationale?: string | undefined;
|
|
1144
|
+
}, {
|
|
1145
|
+
level: string;
|
|
1146
|
+
dimensionId: string;
|
|
1147
|
+
normalization: "exact" | "normalized";
|
|
1148
|
+
rationale?: string | undefined;
|
|
1149
|
+
}>, "many">>;
|
|
1150
|
+
}, "strip", z.ZodTypeAny, {
|
|
1151
|
+
assessmentId: string;
|
|
1152
|
+
dimensions: readonly {
|
|
1153
|
+
level: string;
|
|
1154
|
+
dimensionId: string;
|
|
1155
|
+
normalization: "exact" | "normalized";
|
|
1156
|
+
rationale?: string | undefined;
|
|
1157
|
+
}[];
|
|
1158
|
+
attemptId: string;
|
|
1159
|
+
artifactOutputId: string;
|
|
1160
|
+
normalizationNotes: readonly string[];
|
|
1161
|
+
summary?: string | undefined;
|
|
1162
|
+
}, {
|
|
1163
|
+
assessmentId: string;
|
|
1164
|
+
dimensions: readonly {
|
|
1165
|
+
level: string;
|
|
1166
|
+
dimensionId: string;
|
|
1167
|
+
normalization: "exact" | "normalized";
|
|
1168
|
+
rationale?: string | undefined;
|
|
1169
|
+
}[];
|
|
1170
|
+
attemptId: string;
|
|
1171
|
+
artifactOutputId: string;
|
|
1172
|
+
normalizationNotes: readonly string[];
|
|
1173
|
+
summary?: string | undefined;
|
|
1174
|
+
}>;
|
|
1175
|
+
}, "strip", z.ZodTypeAny, {
|
|
1176
|
+
kind: "assessment_recorded";
|
|
1177
|
+
sessionId: string;
|
|
1178
|
+
data: {
|
|
1179
|
+
assessmentId: string;
|
|
1180
|
+
dimensions: readonly {
|
|
1181
|
+
level: string;
|
|
1182
|
+
dimensionId: string;
|
|
1183
|
+
normalization: "exact" | "normalized";
|
|
1184
|
+
rationale?: string | undefined;
|
|
1185
|
+
}[];
|
|
1186
|
+
attemptId: string;
|
|
1187
|
+
artifactOutputId: string;
|
|
1188
|
+
normalizationNotes: readonly string[];
|
|
1189
|
+
summary?: string | undefined;
|
|
1190
|
+
};
|
|
1191
|
+
v: 1;
|
|
1192
|
+
eventIndex: number;
|
|
1193
|
+
eventId: string;
|
|
1194
|
+
dedupeKey: string;
|
|
1195
|
+
scope: {
|
|
1196
|
+
runId: string;
|
|
1197
|
+
nodeId: string;
|
|
1198
|
+
};
|
|
1199
|
+
}, {
|
|
1200
|
+
kind: "assessment_recorded";
|
|
1201
|
+
sessionId: string;
|
|
1202
|
+
data: {
|
|
1203
|
+
assessmentId: string;
|
|
1204
|
+
dimensions: readonly {
|
|
1205
|
+
level: string;
|
|
1206
|
+
dimensionId: string;
|
|
1207
|
+
normalization: "exact" | "normalized";
|
|
1208
|
+
rationale?: string | undefined;
|
|
1209
|
+
}[];
|
|
1210
|
+
attemptId: string;
|
|
1211
|
+
artifactOutputId: string;
|
|
1212
|
+
normalizationNotes: readonly string[];
|
|
1213
|
+
summary?: string | undefined;
|
|
1214
|
+
};
|
|
1215
|
+
v: 1;
|
|
1216
|
+
eventIndex: number;
|
|
1217
|
+
eventId: string;
|
|
1218
|
+
dedupeKey: string;
|
|
1219
|
+
scope: {
|
|
1220
|
+
runId: string;
|
|
1221
|
+
nodeId: string;
|
|
1222
|
+
};
|
|
1223
|
+
}>, z.ZodObject<{
|
|
1224
|
+
v: z.ZodLiteral<1>;
|
|
1225
|
+
eventId: z.ZodString;
|
|
1226
|
+
eventIndex: z.ZodNumber;
|
|
1227
|
+
sessionId: z.ZodString;
|
|
1228
|
+
dedupeKey: z.ZodString;
|
|
1229
|
+
} & {
|
|
1230
|
+
kind: z.ZodLiteral<"assessment_consequence_applied">;
|
|
1231
|
+
scope: z.ZodObject<{
|
|
1232
|
+
runId: z.ZodString;
|
|
1233
|
+
nodeId: z.ZodString;
|
|
1234
|
+
}, "strip", z.ZodTypeAny, {
|
|
1235
|
+
runId: string;
|
|
1236
|
+
nodeId: string;
|
|
1237
|
+
}, {
|
|
1238
|
+
runId: string;
|
|
1239
|
+
nodeId: string;
|
|
1240
|
+
}>;
|
|
1241
|
+
data: z.ZodObject<{
|
|
1242
|
+
attemptId: z.ZodString;
|
|
1243
|
+
assessmentId: z.ZodString;
|
|
1244
|
+
trigger: z.ZodObject<{
|
|
1245
|
+
dimensionId: z.ZodString;
|
|
1246
|
+
level: z.ZodString;
|
|
1247
|
+
}, "strip", z.ZodTypeAny, {
|
|
1248
|
+
level: string;
|
|
1249
|
+
dimensionId: string;
|
|
1250
|
+
}, {
|
|
1251
|
+
level: string;
|
|
1252
|
+
dimensionId: string;
|
|
1253
|
+
}>;
|
|
1254
|
+
effect: z.ZodObject<{
|
|
1255
|
+
kind: z.ZodLiteral<"require_followup">;
|
|
1256
|
+
guidance: z.ZodString;
|
|
1257
|
+
}, "strip", z.ZodTypeAny, {
|
|
1258
|
+
kind: "require_followup";
|
|
1259
|
+
guidance: string;
|
|
1260
|
+
}, {
|
|
1261
|
+
kind: "require_followup";
|
|
1262
|
+
guidance: string;
|
|
1263
|
+
}>;
|
|
1264
|
+
}, "strip", z.ZodTypeAny, {
|
|
1265
|
+
assessmentId: string;
|
|
1266
|
+
effect: {
|
|
1267
|
+
kind: "require_followup";
|
|
1268
|
+
guidance: string;
|
|
1269
|
+
};
|
|
1270
|
+
attemptId: string;
|
|
1271
|
+
trigger: {
|
|
1272
|
+
level: string;
|
|
1273
|
+
dimensionId: string;
|
|
1274
|
+
};
|
|
1275
|
+
}, {
|
|
1276
|
+
assessmentId: string;
|
|
1277
|
+
effect: {
|
|
1278
|
+
kind: "require_followup";
|
|
1279
|
+
guidance: string;
|
|
1280
|
+
};
|
|
1281
|
+
attemptId: string;
|
|
1282
|
+
trigger: {
|
|
1283
|
+
level: string;
|
|
1284
|
+
dimensionId: string;
|
|
1285
|
+
};
|
|
1286
|
+
}>;
|
|
1287
|
+
}, "strip", z.ZodTypeAny, {
|
|
1288
|
+
kind: "assessment_consequence_applied";
|
|
1289
|
+
sessionId: string;
|
|
1290
|
+
data: {
|
|
1291
|
+
assessmentId: string;
|
|
1292
|
+
effect: {
|
|
1293
|
+
kind: "require_followup";
|
|
1294
|
+
guidance: string;
|
|
1295
|
+
};
|
|
1296
|
+
attemptId: string;
|
|
1297
|
+
trigger: {
|
|
1298
|
+
level: string;
|
|
1299
|
+
dimensionId: string;
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
v: 1;
|
|
1303
|
+
eventIndex: number;
|
|
1304
|
+
eventId: string;
|
|
1305
|
+
dedupeKey: string;
|
|
1306
|
+
scope: {
|
|
1307
|
+
runId: string;
|
|
1308
|
+
nodeId: string;
|
|
1309
|
+
};
|
|
1310
|
+
}, {
|
|
1311
|
+
kind: "assessment_consequence_applied";
|
|
1312
|
+
sessionId: string;
|
|
1313
|
+
data: {
|
|
1314
|
+
assessmentId: string;
|
|
1315
|
+
effect: {
|
|
1316
|
+
kind: "require_followup";
|
|
1317
|
+
guidance: string;
|
|
1318
|
+
};
|
|
1319
|
+
attemptId: string;
|
|
1320
|
+
trigger: {
|
|
1321
|
+
level: string;
|
|
1322
|
+
dimensionId: string;
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
v: 1;
|
|
1326
|
+
eventIndex: number;
|
|
1327
|
+
eventId: string;
|
|
1328
|
+
dedupeKey: string;
|
|
1329
|
+
scope: {
|
|
1330
|
+
runId: string;
|
|
1331
|
+
nodeId: string;
|
|
1332
|
+
};
|
|
1333
|
+
}>, z.ZodObject<{
|
|
1334
|
+
v: z.ZodLiteral<1>;
|
|
1335
|
+
eventId: z.ZodString;
|
|
1336
|
+
eventIndex: z.ZodNumber;
|
|
1337
|
+
sessionId: z.ZodString;
|
|
1338
|
+
dedupeKey: z.ZodString;
|
|
1116
1339
|
} & {
|
|
1117
1340
|
kind: z.ZodLiteral<"preferences_changed">;
|
|
1118
1341
|
scope: z.ZodObject<{
|
|
@@ -1668,6 +1891,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1668
1891
|
outputId: string;
|
|
1669
1892
|
}>]>, "many">>;
|
|
1670
1893
|
}, "strip", z.ZodTypeAny, {
|
|
1894
|
+
summary: string;
|
|
1671
1895
|
reason: {
|
|
1672
1896
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
1673
1897
|
category: "user_only_dependency";
|
|
@@ -1689,7 +1913,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1689
1913
|
};
|
|
1690
1914
|
gapId: string;
|
|
1691
1915
|
severity: "warning" | "info" | "critical";
|
|
1692
|
-
summary: string;
|
|
1693
1916
|
evidenceRefs?: ({
|
|
1694
1917
|
kind: "event";
|
|
1695
1918
|
eventId: string;
|
|
@@ -1698,6 +1921,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1698
1921
|
outputId: string;
|
|
1699
1922
|
})[] | undefined;
|
|
1700
1923
|
}, {
|
|
1924
|
+
summary: string;
|
|
1701
1925
|
reason: {
|
|
1702
1926
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
1703
1927
|
category: "user_only_dependency";
|
|
@@ -1719,7 +1943,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1719
1943
|
};
|
|
1720
1944
|
gapId: string;
|
|
1721
1945
|
severity: "warning" | "info" | "critical";
|
|
1722
|
-
summary: string;
|
|
1723
1946
|
evidenceRefs?: ({
|
|
1724
1947
|
kind: "event";
|
|
1725
1948
|
eventId: string;
|
|
@@ -1732,6 +1955,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1732
1955
|
kind: "gap_recorded";
|
|
1733
1956
|
sessionId: string;
|
|
1734
1957
|
data: {
|
|
1958
|
+
summary: string;
|
|
1735
1959
|
reason: {
|
|
1736
1960
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
1737
1961
|
category: "user_only_dependency";
|
|
@@ -1753,7 +1977,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1753
1977
|
};
|
|
1754
1978
|
gapId: string;
|
|
1755
1979
|
severity: "warning" | "info" | "critical";
|
|
1756
|
-
summary: string;
|
|
1757
1980
|
evidenceRefs?: ({
|
|
1758
1981
|
kind: "event";
|
|
1759
1982
|
eventId: string;
|
|
@@ -1774,6 +1997,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1774
1997
|
kind: "gap_recorded";
|
|
1775
1998
|
sessionId: string;
|
|
1776
1999
|
data: {
|
|
2000
|
+
summary: string;
|
|
1777
2001
|
reason: {
|
|
1778
2002
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
1779
2003
|
category: "user_only_dependency";
|
|
@@ -1795,7 +2019,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1795
2019
|
};
|
|
1796
2020
|
gapId: string;
|
|
1797
2021
|
severity: "warning" | "info" | "critical";
|
|
1798
|
-
summary: string;
|
|
1799
2022
|
evidenceRefs?: ({
|
|
1800
2023
|
kind: "event";
|
|
1801
2024
|
eventId: string;
|
|
@@ -1894,13 +2117,13 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1894
2117
|
summary: z.ZodString;
|
|
1895
2118
|
relatedStepId: z.ZodOptional<z.ZodString>;
|
|
1896
2119
|
}, "strip", z.ZodTypeAny, {
|
|
1897
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
1898
2120
|
summary: string;
|
|
2121
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
1899
2122
|
divergenceId: string;
|
|
1900
2123
|
relatedStepId?: string | undefined;
|
|
1901
2124
|
}, {
|
|
1902
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
1903
2125
|
summary: string;
|
|
2126
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
1904
2127
|
divergenceId: string;
|
|
1905
2128
|
relatedStepId?: string | undefined;
|
|
1906
2129
|
}>;
|
|
@@ -1908,8 +2131,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1908
2131
|
kind: "divergence_recorded";
|
|
1909
2132
|
sessionId: string;
|
|
1910
2133
|
data: {
|
|
1911
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
1912
2134
|
summary: string;
|
|
2135
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
1913
2136
|
divergenceId: string;
|
|
1914
2137
|
relatedStepId?: string | undefined;
|
|
1915
2138
|
};
|
|
@@ -1925,8 +2148,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
1925
2148
|
kind: "divergence_recorded";
|
|
1926
2149
|
sessionId: string;
|
|
1927
2150
|
data: {
|
|
1928
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
1929
2151
|
summary: string;
|
|
2152
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
1930
2153
|
divergenceId: string;
|
|
1931
2154
|
relatedStepId?: string | undefined;
|
|
1932
2155
|
};
|
|
@@ -2499,6 +2722,24 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2499
2722
|
}, {
|
|
2500
2723
|
kind: "missing_required_output";
|
|
2501
2724
|
contractRef: string;
|
|
2725
|
+
}>, z.ZodObject<{
|
|
2726
|
+
kind: z.ZodLiteral<"assessment_followup_required">;
|
|
2727
|
+
assessmentId: z.ZodString;
|
|
2728
|
+
dimensionId: z.ZodString;
|
|
2729
|
+
level: z.ZodString;
|
|
2730
|
+
guidance: z.ZodString;
|
|
2731
|
+
}, "strict", z.ZodTypeAny, {
|
|
2732
|
+
level: string;
|
|
2733
|
+
kind: "assessment_followup_required";
|
|
2734
|
+
assessmentId: string;
|
|
2735
|
+
guidance: string;
|
|
2736
|
+
dimensionId: string;
|
|
2737
|
+
}, {
|
|
2738
|
+
level: string;
|
|
2739
|
+
kind: "assessment_followup_required";
|
|
2740
|
+
assessmentId: string;
|
|
2741
|
+
guidance: string;
|
|
2742
|
+
dimensionId: string;
|
|
2502
2743
|
}>, z.ZodObject<{
|
|
2503
2744
|
kind: z.ZodLiteral<"missing_context_key">;
|
|
2504
2745
|
key: z.ZodString;
|
|
@@ -2525,10 +2766,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2525
2766
|
stepId: string;
|
|
2526
2767
|
}>]>;
|
|
2527
2768
|
retryAttemptId: z.ZodString;
|
|
2528
|
-
validationRef: z.ZodString
|
|
2769
|
+
validationRef: z.ZodOptional<z.ZodString>;
|
|
2529
2770
|
blockers: z.ZodReadonly<z.ZodObject<{
|
|
2530
2771
|
blockers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2531
|
-
code: z.ZodEnum<["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"]>;
|
|
2772
|
+
code: z.ZodEnum<["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"]>;
|
|
2532
2773
|
pointer: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2533
2774
|
kind: z.ZodLiteral<"context_key">;
|
|
2534
2775
|
key: z.ZodString;
|
|
@@ -2562,6 +2803,18 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2562
2803
|
}, {
|
|
2563
2804
|
kind: "capability";
|
|
2564
2805
|
capability: "delegation" | "web_browsing";
|
|
2806
|
+
}>, z.ZodObject<{
|
|
2807
|
+
kind: z.ZodLiteral<"assessment_dimension">;
|
|
2808
|
+
assessmentId: z.ZodString;
|
|
2809
|
+
dimensionId: z.ZodString;
|
|
2810
|
+
}, "strict", z.ZodTypeAny, {
|
|
2811
|
+
kind: "assessment_dimension";
|
|
2812
|
+
assessmentId: string;
|
|
2813
|
+
dimensionId: string;
|
|
2814
|
+
}, {
|
|
2815
|
+
kind: "assessment_dimension";
|
|
2816
|
+
assessmentId: string;
|
|
2817
|
+
dimensionId: string;
|
|
2565
2818
|
}>, z.ZodObject<{
|
|
2566
2819
|
kind: z.ZodLiteral<"workflow_step">;
|
|
2567
2820
|
stepId: z.ZodString;
|
|
@@ -2576,7 +2829,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2576
2829
|
suggestedFix: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2577
2830
|
}, "strip", z.ZodTypeAny, {
|
|
2578
2831
|
message: string;
|
|
2579
|
-
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";
|
|
2832
|
+
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";
|
|
2580
2833
|
pointer: {
|
|
2581
2834
|
key: string;
|
|
2582
2835
|
kind: "context_key";
|
|
@@ -2588,6 +2841,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2588
2841
|
} | {
|
|
2589
2842
|
kind: "capability";
|
|
2590
2843
|
capability: "delegation" | "web_browsing";
|
|
2844
|
+
} | {
|
|
2845
|
+
kind: "assessment_dimension";
|
|
2846
|
+
assessmentId: string;
|
|
2847
|
+
dimensionId: string;
|
|
2591
2848
|
} | {
|
|
2592
2849
|
kind: "workflow_step";
|
|
2593
2850
|
stepId: string;
|
|
@@ -2595,7 +2852,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2595
2852
|
suggestedFix?: string | undefined;
|
|
2596
2853
|
}, {
|
|
2597
2854
|
message: string;
|
|
2598
|
-
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";
|
|
2855
|
+
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";
|
|
2599
2856
|
pointer: {
|
|
2600
2857
|
key: string;
|
|
2601
2858
|
kind: "context_key";
|
|
@@ -2607,6 +2864,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2607
2864
|
} | {
|
|
2608
2865
|
kind: "capability";
|
|
2609
2866
|
capability: "delegation" | "web_browsing";
|
|
2867
|
+
} | {
|
|
2868
|
+
kind: "assessment_dimension";
|
|
2869
|
+
assessmentId: string;
|
|
2870
|
+
dimensionId: string;
|
|
2610
2871
|
} | {
|
|
2611
2872
|
kind: "workflow_step";
|
|
2612
2873
|
stepId: string;
|
|
@@ -2616,7 +2877,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2616
2877
|
}, "strip", z.ZodTypeAny, {
|
|
2617
2878
|
blockers: readonly {
|
|
2618
2879
|
message: string;
|
|
2619
|
-
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";
|
|
2880
|
+
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";
|
|
2620
2881
|
pointer: {
|
|
2621
2882
|
key: string;
|
|
2622
2883
|
kind: "context_key";
|
|
@@ -2628,6 +2889,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2628
2889
|
} | {
|
|
2629
2890
|
kind: "capability";
|
|
2630
2891
|
capability: "delegation" | "web_browsing";
|
|
2892
|
+
} | {
|
|
2893
|
+
kind: "assessment_dimension";
|
|
2894
|
+
assessmentId: string;
|
|
2895
|
+
dimensionId: string;
|
|
2631
2896
|
} | {
|
|
2632
2897
|
kind: "workflow_step";
|
|
2633
2898
|
stepId: string;
|
|
@@ -2637,7 +2902,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2637
2902
|
}, {
|
|
2638
2903
|
blockers: readonly {
|
|
2639
2904
|
message: string;
|
|
2640
|
-
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";
|
|
2905
|
+
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";
|
|
2641
2906
|
pointer: {
|
|
2642
2907
|
key: string;
|
|
2643
2908
|
kind: "context_key";
|
|
@@ -2649,6 +2914,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2649
2914
|
} | {
|
|
2650
2915
|
kind: "capability";
|
|
2651
2916
|
capability: "delegation" | "web_browsing";
|
|
2917
|
+
} | {
|
|
2918
|
+
kind: "assessment_dimension";
|
|
2919
|
+
assessmentId: string;
|
|
2920
|
+
dimensionId: string;
|
|
2652
2921
|
} | {
|
|
2653
2922
|
kind: "workflow_step";
|
|
2654
2923
|
stepId: string;
|
|
@@ -2657,12 +2926,19 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2657
2926
|
}[];
|
|
2658
2927
|
}>>;
|
|
2659
2928
|
}, "strict", z.ZodTypeAny, {
|
|
2929
|
+
kind: "retryable_block";
|
|
2660
2930
|
reason: {
|
|
2661
2931
|
kind: "invalid_required_output";
|
|
2662
2932
|
contractRef: string;
|
|
2663
2933
|
} | {
|
|
2664
2934
|
kind: "missing_required_output";
|
|
2665
2935
|
contractRef: string;
|
|
2936
|
+
} | {
|
|
2937
|
+
level: string;
|
|
2938
|
+
kind: "assessment_followup_required";
|
|
2939
|
+
assessmentId: string;
|
|
2940
|
+
guidance: string;
|
|
2941
|
+
dimensionId: string;
|
|
2666
2942
|
} | {
|
|
2667
2943
|
key: string;
|
|
2668
2944
|
kind: "missing_context_key";
|
|
@@ -2672,11 +2948,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2672
2948
|
kind: "missing_notes";
|
|
2673
2949
|
stepId: string;
|
|
2674
2950
|
};
|
|
2675
|
-
kind: "retryable_block";
|
|
2676
2951
|
blockers: Readonly<{
|
|
2677
2952
|
blockers: readonly {
|
|
2678
2953
|
message: string;
|
|
2679
|
-
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";
|
|
2954
|
+
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";
|
|
2680
2955
|
pointer: {
|
|
2681
2956
|
key: string;
|
|
2682
2957
|
kind: "context_key";
|
|
@@ -2688,6 +2963,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2688
2963
|
} | {
|
|
2689
2964
|
kind: "capability";
|
|
2690
2965
|
capability: "delegation" | "web_browsing";
|
|
2966
|
+
} | {
|
|
2967
|
+
kind: "assessment_dimension";
|
|
2968
|
+
assessmentId: string;
|
|
2969
|
+
dimensionId: string;
|
|
2691
2970
|
} | {
|
|
2692
2971
|
kind: "workflow_step";
|
|
2693
2972
|
stepId: string;
|
|
@@ -2696,14 +2975,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2696
2975
|
}[];
|
|
2697
2976
|
}>;
|
|
2698
2977
|
retryAttemptId: string;
|
|
2699
|
-
validationRef
|
|
2978
|
+
validationRef?: string | undefined;
|
|
2700
2979
|
}, {
|
|
2980
|
+
kind: "retryable_block";
|
|
2701
2981
|
reason: {
|
|
2702
2982
|
kind: "invalid_required_output";
|
|
2703
2983
|
contractRef: string;
|
|
2704
2984
|
} | {
|
|
2705
2985
|
kind: "missing_required_output";
|
|
2706
2986
|
contractRef: string;
|
|
2987
|
+
} | {
|
|
2988
|
+
level: string;
|
|
2989
|
+
kind: "assessment_followup_required";
|
|
2990
|
+
assessmentId: string;
|
|
2991
|
+
guidance: string;
|
|
2992
|
+
dimensionId: string;
|
|
2707
2993
|
} | {
|
|
2708
2994
|
key: string;
|
|
2709
2995
|
kind: "missing_context_key";
|
|
@@ -2713,11 +2999,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2713
2999
|
kind: "missing_notes";
|
|
2714
3000
|
stepId: string;
|
|
2715
3001
|
};
|
|
2716
|
-
kind: "retryable_block";
|
|
2717
3002
|
blockers: Readonly<{
|
|
2718
3003
|
blockers: readonly {
|
|
2719
3004
|
message: string;
|
|
2720
|
-
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";
|
|
3005
|
+
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";
|
|
2721
3006
|
pointer: {
|
|
2722
3007
|
key: string;
|
|
2723
3008
|
kind: "context_key";
|
|
@@ -2729,6 +3014,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2729
3014
|
} | {
|
|
2730
3015
|
kind: "capability";
|
|
2731
3016
|
capability: "delegation" | "web_browsing";
|
|
3017
|
+
} | {
|
|
3018
|
+
kind: "assessment_dimension";
|
|
3019
|
+
assessmentId: string;
|
|
3020
|
+
dimensionId: string;
|
|
2732
3021
|
} | {
|
|
2733
3022
|
kind: "workflow_step";
|
|
2734
3023
|
stepId: string;
|
|
@@ -2737,7 +3026,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2737
3026
|
}[];
|
|
2738
3027
|
}>;
|
|
2739
3028
|
retryAttemptId: string;
|
|
2740
|
-
validationRef
|
|
3029
|
+
validationRef?: string | undefined;
|
|
2741
3030
|
}>, z.ZodObject<{
|
|
2742
3031
|
kind: z.ZodLiteral<"terminal_block">;
|
|
2743
3032
|
reason: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
@@ -2792,7 +3081,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2792
3081
|
validationRef: z.ZodOptional<z.ZodString>;
|
|
2793
3082
|
blockers: z.ZodReadonly<z.ZodObject<{
|
|
2794
3083
|
blockers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
2795
|
-
code: z.ZodEnum<["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"]>;
|
|
3084
|
+
code: z.ZodEnum<["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"]>;
|
|
2796
3085
|
pointer: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2797
3086
|
kind: z.ZodLiteral<"context_key">;
|
|
2798
3087
|
key: z.ZodString;
|
|
@@ -2826,6 +3115,18 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2826
3115
|
}, {
|
|
2827
3116
|
kind: "capability";
|
|
2828
3117
|
capability: "delegation" | "web_browsing";
|
|
3118
|
+
}>, z.ZodObject<{
|
|
3119
|
+
kind: z.ZodLiteral<"assessment_dimension">;
|
|
3120
|
+
assessmentId: z.ZodString;
|
|
3121
|
+
dimensionId: z.ZodString;
|
|
3122
|
+
}, "strict", z.ZodTypeAny, {
|
|
3123
|
+
kind: "assessment_dimension";
|
|
3124
|
+
assessmentId: string;
|
|
3125
|
+
dimensionId: string;
|
|
3126
|
+
}, {
|
|
3127
|
+
kind: "assessment_dimension";
|
|
3128
|
+
assessmentId: string;
|
|
3129
|
+
dimensionId: string;
|
|
2829
3130
|
}>, z.ZodObject<{
|
|
2830
3131
|
kind: z.ZodLiteral<"workflow_step">;
|
|
2831
3132
|
stepId: z.ZodString;
|
|
@@ -2840,7 +3141,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2840
3141
|
suggestedFix: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2841
3142
|
}, "strip", z.ZodTypeAny, {
|
|
2842
3143
|
message: string;
|
|
2843
|
-
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";
|
|
3144
|
+
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";
|
|
2844
3145
|
pointer: {
|
|
2845
3146
|
key: string;
|
|
2846
3147
|
kind: "context_key";
|
|
@@ -2852,6 +3153,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2852
3153
|
} | {
|
|
2853
3154
|
kind: "capability";
|
|
2854
3155
|
capability: "delegation" | "web_browsing";
|
|
3156
|
+
} | {
|
|
3157
|
+
kind: "assessment_dimension";
|
|
3158
|
+
assessmentId: string;
|
|
3159
|
+
dimensionId: string;
|
|
2855
3160
|
} | {
|
|
2856
3161
|
kind: "workflow_step";
|
|
2857
3162
|
stepId: string;
|
|
@@ -2859,7 +3164,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2859
3164
|
suggestedFix?: string | undefined;
|
|
2860
3165
|
}, {
|
|
2861
3166
|
message: string;
|
|
2862
|
-
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";
|
|
3167
|
+
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";
|
|
2863
3168
|
pointer: {
|
|
2864
3169
|
key: string;
|
|
2865
3170
|
kind: "context_key";
|
|
@@ -2871,6 +3176,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2871
3176
|
} | {
|
|
2872
3177
|
kind: "capability";
|
|
2873
3178
|
capability: "delegation" | "web_browsing";
|
|
3179
|
+
} | {
|
|
3180
|
+
kind: "assessment_dimension";
|
|
3181
|
+
assessmentId: string;
|
|
3182
|
+
dimensionId: string;
|
|
2874
3183
|
} | {
|
|
2875
3184
|
kind: "workflow_step";
|
|
2876
3185
|
stepId: string;
|
|
@@ -2880,7 +3189,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2880
3189
|
}, "strip", z.ZodTypeAny, {
|
|
2881
3190
|
blockers: readonly {
|
|
2882
3191
|
message: string;
|
|
2883
|
-
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";
|
|
3192
|
+
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";
|
|
2884
3193
|
pointer: {
|
|
2885
3194
|
key: string;
|
|
2886
3195
|
kind: "context_key";
|
|
@@ -2892,6 +3201,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2892
3201
|
} | {
|
|
2893
3202
|
kind: "capability";
|
|
2894
3203
|
capability: "delegation" | "web_browsing";
|
|
3204
|
+
} | {
|
|
3205
|
+
kind: "assessment_dimension";
|
|
3206
|
+
assessmentId: string;
|
|
3207
|
+
dimensionId: string;
|
|
2895
3208
|
} | {
|
|
2896
3209
|
kind: "workflow_step";
|
|
2897
3210
|
stepId: string;
|
|
@@ -2901,7 +3214,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2901
3214
|
}, {
|
|
2902
3215
|
blockers: readonly {
|
|
2903
3216
|
message: string;
|
|
2904
|
-
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";
|
|
3217
|
+
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";
|
|
2905
3218
|
pointer: {
|
|
2906
3219
|
key: string;
|
|
2907
3220
|
kind: "context_key";
|
|
@@ -2913,6 +3226,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2913
3226
|
} | {
|
|
2914
3227
|
kind: "capability";
|
|
2915
3228
|
capability: "delegation" | "web_browsing";
|
|
3229
|
+
} | {
|
|
3230
|
+
kind: "assessment_dimension";
|
|
3231
|
+
assessmentId: string;
|
|
3232
|
+
dimensionId: string;
|
|
2916
3233
|
} | {
|
|
2917
3234
|
kind: "workflow_step";
|
|
2918
3235
|
stepId: string;
|
|
@@ -2921,6 +3238,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2921
3238
|
}[];
|
|
2922
3239
|
}>>;
|
|
2923
3240
|
}, "strict", z.ZodTypeAny, {
|
|
3241
|
+
kind: "terminal_block";
|
|
2924
3242
|
reason: {
|
|
2925
3243
|
kind: "user_only_dependency";
|
|
2926
3244
|
stepId: string;
|
|
@@ -2938,11 +3256,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2938
3256
|
} | {
|
|
2939
3257
|
kind: "evaluation_error";
|
|
2940
3258
|
};
|
|
2941
|
-
kind: "terminal_block";
|
|
2942
3259
|
blockers: Readonly<{
|
|
2943
3260
|
blockers: readonly {
|
|
2944
3261
|
message: string;
|
|
2945
|
-
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";
|
|
3262
|
+
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";
|
|
2946
3263
|
pointer: {
|
|
2947
3264
|
key: string;
|
|
2948
3265
|
kind: "context_key";
|
|
@@ -2954,6 +3271,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2954
3271
|
} | {
|
|
2955
3272
|
kind: "capability";
|
|
2956
3273
|
capability: "delegation" | "web_browsing";
|
|
3274
|
+
} | {
|
|
3275
|
+
kind: "assessment_dimension";
|
|
3276
|
+
assessmentId: string;
|
|
3277
|
+
dimensionId: string;
|
|
2957
3278
|
} | {
|
|
2958
3279
|
kind: "workflow_step";
|
|
2959
3280
|
stepId: string;
|
|
@@ -2963,6 +3284,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2963
3284
|
}>;
|
|
2964
3285
|
validationRef?: string | undefined;
|
|
2965
3286
|
}, {
|
|
3287
|
+
kind: "terminal_block";
|
|
2966
3288
|
reason: {
|
|
2967
3289
|
kind: "user_only_dependency";
|
|
2968
3290
|
stepId: string;
|
|
@@ -2980,11 +3302,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2980
3302
|
} | {
|
|
2981
3303
|
kind: "evaluation_error";
|
|
2982
3304
|
};
|
|
2983
|
-
kind: "terminal_block";
|
|
2984
3305
|
blockers: Readonly<{
|
|
2985
3306
|
blockers: readonly {
|
|
2986
3307
|
message: string;
|
|
2987
|
-
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";
|
|
3308
|
+
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";
|
|
2988
3309
|
pointer: {
|
|
2989
3310
|
key: string;
|
|
2990
3311
|
kind: "context_key";
|
|
@@ -2996,6 +3317,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
2996
3317
|
} | {
|
|
2997
3318
|
kind: "capability";
|
|
2998
3319
|
capability: "delegation" | "web_browsing";
|
|
3320
|
+
} | {
|
|
3321
|
+
kind: "assessment_dimension";
|
|
3322
|
+
assessmentId: string;
|
|
3323
|
+
dimensionId: string;
|
|
2999
3324
|
} | {
|
|
3000
3325
|
kind: "workflow_step";
|
|
3001
3326
|
stepId: string;
|
|
@@ -3006,13 +3331,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3006
3331
|
validationRef?: string | undefined;
|
|
3007
3332
|
}>]>;
|
|
3008
3333
|
}, "strict", z.ZodTypeAny, {
|
|
3334
|
+
kind: "blocked";
|
|
3009
3335
|
blocked: {
|
|
3336
|
+
kind: "retryable_block";
|
|
3010
3337
|
reason: {
|
|
3011
3338
|
kind: "invalid_required_output";
|
|
3012
3339
|
contractRef: string;
|
|
3013
3340
|
} | {
|
|
3014
3341
|
kind: "missing_required_output";
|
|
3015
3342
|
contractRef: string;
|
|
3343
|
+
} | {
|
|
3344
|
+
level: string;
|
|
3345
|
+
kind: "assessment_followup_required";
|
|
3346
|
+
assessmentId: string;
|
|
3347
|
+
guidance: string;
|
|
3348
|
+
dimensionId: string;
|
|
3016
3349
|
} | {
|
|
3017
3350
|
key: string;
|
|
3018
3351
|
kind: "missing_context_key";
|
|
@@ -3022,11 +3355,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3022
3355
|
kind: "missing_notes";
|
|
3023
3356
|
stepId: string;
|
|
3024
3357
|
};
|
|
3025
|
-
kind: "retryable_block";
|
|
3026
3358
|
blockers: Readonly<{
|
|
3027
3359
|
blockers: readonly {
|
|
3028
3360
|
message: string;
|
|
3029
|
-
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";
|
|
3361
|
+
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";
|
|
3030
3362
|
pointer: {
|
|
3031
3363
|
key: string;
|
|
3032
3364
|
kind: "context_key";
|
|
@@ -3038,6 +3370,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3038
3370
|
} | {
|
|
3039
3371
|
kind: "capability";
|
|
3040
3372
|
capability: "delegation" | "web_browsing";
|
|
3373
|
+
} | {
|
|
3374
|
+
kind: "assessment_dimension";
|
|
3375
|
+
assessmentId: string;
|
|
3376
|
+
dimensionId: string;
|
|
3041
3377
|
} | {
|
|
3042
3378
|
kind: "workflow_step";
|
|
3043
3379
|
stepId: string;
|
|
@@ -3046,8 +3382,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3046
3382
|
}[];
|
|
3047
3383
|
}>;
|
|
3048
3384
|
retryAttemptId: string;
|
|
3049
|
-
validationRef
|
|
3385
|
+
validationRef?: string | undefined;
|
|
3050
3386
|
} | {
|
|
3387
|
+
kind: "terminal_block";
|
|
3051
3388
|
reason: {
|
|
3052
3389
|
kind: "user_only_dependency";
|
|
3053
3390
|
stepId: string;
|
|
@@ -3065,11 +3402,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3065
3402
|
} | {
|
|
3066
3403
|
kind: "evaluation_error";
|
|
3067
3404
|
};
|
|
3068
|
-
kind: "terminal_block";
|
|
3069
3405
|
blockers: Readonly<{
|
|
3070
3406
|
blockers: readonly {
|
|
3071
3407
|
message: string;
|
|
3072
|
-
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";
|
|
3408
|
+
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";
|
|
3073
3409
|
pointer: {
|
|
3074
3410
|
key: string;
|
|
3075
3411
|
kind: "context_key";
|
|
@@ -3081,6 +3417,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3081
3417
|
} | {
|
|
3082
3418
|
kind: "capability";
|
|
3083
3419
|
capability: "delegation" | "web_browsing";
|
|
3420
|
+
} | {
|
|
3421
|
+
kind: "assessment_dimension";
|
|
3422
|
+
assessmentId: string;
|
|
3423
|
+
dimensionId: string;
|
|
3084
3424
|
} | {
|
|
3085
3425
|
kind: "workflow_step";
|
|
3086
3426
|
stepId: string;
|
|
@@ -3090,7 +3430,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3090
3430
|
}>;
|
|
3091
3431
|
validationRef?: string | undefined;
|
|
3092
3432
|
};
|
|
3093
|
-
kind: "blocked";
|
|
3094
3433
|
completed: {
|
|
3095
3434
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
3096
3435
|
kind: "set";
|
|
@@ -3119,13 +3458,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3119
3458
|
};
|
|
3120
3459
|
};
|
|
3121
3460
|
}, {
|
|
3461
|
+
kind: "blocked";
|
|
3122
3462
|
blocked: {
|
|
3463
|
+
kind: "retryable_block";
|
|
3123
3464
|
reason: {
|
|
3124
3465
|
kind: "invalid_required_output";
|
|
3125
3466
|
contractRef: string;
|
|
3126
3467
|
} | {
|
|
3127
3468
|
kind: "missing_required_output";
|
|
3128
3469
|
contractRef: string;
|
|
3470
|
+
} | {
|
|
3471
|
+
level: string;
|
|
3472
|
+
kind: "assessment_followup_required";
|
|
3473
|
+
assessmentId: string;
|
|
3474
|
+
guidance: string;
|
|
3475
|
+
dimensionId: string;
|
|
3129
3476
|
} | {
|
|
3130
3477
|
key: string;
|
|
3131
3478
|
kind: "missing_context_key";
|
|
@@ -3135,11 +3482,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3135
3482
|
kind: "missing_notes";
|
|
3136
3483
|
stepId: string;
|
|
3137
3484
|
};
|
|
3138
|
-
kind: "retryable_block";
|
|
3139
3485
|
blockers: Readonly<{
|
|
3140
3486
|
blockers: readonly {
|
|
3141
3487
|
message: string;
|
|
3142
|
-
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";
|
|
3488
|
+
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";
|
|
3143
3489
|
pointer: {
|
|
3144
3490
|
key: string;
|
|
3145
3491
|
kind: "context_key";
|
|
@@ -3151,6 +3497,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3151
3497
|
} | {
|
|
3152
3498
|
kind: "capability";
|
|
3153
3499
|
capability: "delegation" | "web_browsing";
|
|
3500
|
+
} | {
|
|
3501
|
+
kind: "assessment_dimension";
|
|
3502
|
+
assessmentId: string;
|
|
3503
|
+
dimensionId: string;
|
|
3154
3504
|
} | {
|
|
3155
3505
|
kind: "workflow_step";
|
|
3156
3506
|
stepId: string;
|
|
@@ -3159,8 +3509,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3159
3509
|
}[];
|
|
3160
3510
|
}>;
|
|
3161
3511
|
retryAttemptId: string;
|
|
3162
|
-
validationRef
|
|
3512
|
+
validationRef?: string | undefined;
|
|
3163
3513
|
} | {
|
|
3514
|
+
kind: "terminal_block";
|
|
3164
3515
|
reason: {
|
|
3165
3516
|
kind: "user_only_dependency";
|
|
3166
3517
|
stepId: string;
|
|
@@ -3178,11 +3529,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3178
3529
|
} | {
|
|
3179
3530
|
kind: "evaluation_error";
|
|
3180
3531
|
};
|
|
3181
|
-
kind: "terminal_block";
|
|
3182
3532
|
blockers: Readonly<{
|
|
3183
3533
|
blockers: readonly {
|
|
3184
3534
|
message: string;
|
|
3185
|
-
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";
|
|
3535
|
+
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";
|
|
3186
3536
|
pointer: {
|
|
3187
3537
|
key: string;
|
|
3188
3538
|
kind: "context_key";
|
|
@@ -3194,6 +3544,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3194
3544
|
} | {
|
|
3195
3545
|
kind: "capability";
|
|
3196
3546
|
capability: "delegation" | "web_browsing";
|
|
3547
|
+
} | {
|
|
3548
|
+
kind: "assessment_dimension";
|
|
3549
|
+
assessmentId: string;
|
|
3550
|
+
dimensionId: string;
|
|
3197
3551
|
} | {
|
|
3198
3552
|
kind: "workflow_step";
|
|
3199
3553
|
stepId: string;
|
|
@@ -3203,7 +3557,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3203
3557
|
}>;
|
|
3204
3558
|
validationRef?: string | undefined;
|
|
3205
3559
|
};
|
|
3206
|
-
kind: "blocked";
|
|
3207
3560
|
completed: {
|
|
3208
3561
|
values: string[];
|
|
3209
3562
|
kind: "set";
|
|
@@ -3263,13 +3616,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3263
3616
|
};
|
|
3264
3617
|
};
|
|
3265
3618
|
} | {
|
|
3619
|
+
kind: "blocked";
|
|
3266
3620
|
blocked: {
|
|
3621
|
+
kind: "retryable_block";
|
|
3267
3622
|
reason: {
|
|
3268
3623
|
kind: "invalid_required_output";
|
|
3269
3624
|
contractRef: string;
|
|
3270
3625
|
} | {
|
|
3271
3626
|
kind: "missing_required_output";
|
|
3272
3627
|
contractRef: string;
|
|
3628
|
+
} | {
|
|
3629
|
+
level: string;
|
|
3630
|
+
kind: "assessment_followup_required";
|
|
3631
|
+
assessmentId: string;
|
|
3632
|
+
guidance: string;
|
|
3633
|
+
dimensionId: string;
|
|
3273
3634
|
} | {
|
|
3274
3635
|
key: string;
|
|
3275
3636
|
kind: "missing_context_key";
|
|
@@ -3279,11 +3640,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3279
3640
|
kind: "missing_notes";
|
|
3280
3641
|
stepId: string;
|
|
3281
3642
|
};
|
|
3282
|
-
kind: "retryable_block";
|
|
3283
3643
|
blockers: Readonly<{
|
|
3284
3644
|
blockers: readonly {
|
|
3285
3645
|
message: string;
|
|
3286
|
-
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";
|
|
3646
|
+
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";
|
|
3287
3647
|
pointer: {
|
|
3288
3648
|
key: string;
|
|
3289
3649
|
kind: "context_key";
|
|
@@ -3295,6 +3655,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3295
3655
|
} | {
|
|
3296
3656
|
kind: "capability";
|
|
3297
3657
|
capability: "delegation" | "web_browsing";
|
|
3658
|
+
} | {
|
|
3659
|
+
kind: "assessment_dimension";
|
|
3660
|
+
assessmentId: string;
|
|
3661
|
+
dimensionId: string;
|
|
3298
3662
|
} | {
|
|
3299
3663
|
kind: "workflow_step";
|
|
3300
3664
|
stepId: string;
|
|
@@ -3303,8 +3667,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3303
3667
|
}[];
|
|
3304
3668
|
}>;
|
|
3305
3669
|
retryAttemptId: string;
|
|
3306
|
-
validationRef
|
|
3670
|
+
validationRef?: string | undefined;
|
|
3307
3671
|
} | {
|
|
3672
|
+
kind: "terminal_block";
|
|
3308
3673
|
reason: {
|
|
3309
3674
|
kind: "user_only_dependency";
|
|
3310
3675
|
stepId: string;
|
|
@@ -3322,11 +3687,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3322
3687
|
} | {
|
|
3323
3688
|
kind: "evaluation_error";
|
|
3324
3689
|
};
|
|
3325
|
-
kind: "terminal_block";
|
|
3326
3690
|
blockers: Readonly<{
|
|
3327
3691
|
blockers: readonly {
|
|
3328
3692
|
message: string;
|
|
3329
|
-
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";
|
|
3693
|
+
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
3694
|
pointer: {
|
|
3331
3695
|
key: string;
|
|
3332
3696
|
kind: "context_key";
|
|
@@ -3338,6 +3702,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3338
3702
|
} | {
|
|
3339
3703
|
kind: "capability";
|
|
3340
3704
|
capability: "delegation" | "web_browsing";
|
|
3705
|
+
} | {
|
|
3706
|
+
kind: "assessment_dimension";
|
|
3707
|
+
assessmentId: string;
|
|
3708
|
+
dimensionId: string;
|
|
3341
3709
|
} | {
|
|
3342
3710
|
kind: "workflow_step";
|
|
3343
3711
|
stepId: string;
|
|
@@ -3347,7 +3715,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3347
3715
|
}>;
|
|
3348
3716
|
validationRef?: string | undefined;
|
|
3349
3717
|
};
|
|
3350
|
-
kind: "blocked";
|
|
3351
3718
|
completed: {
|
|
3352
3719
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
3353
3720
|
kind: "set";
|
|
@@ -3403,13 +3770,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3403
3770
|
};
|
|
3404
3771
|
};
|
|
3405
3772
|
} | {
|
|
3773
|
+
kind: "blocked";
|
|
3406
3774
|
blocked: {
|
|
3775
|
+
kind: "retryable_block";
|
|
3407
3776
|
reason: {
|
|
3408
3777
|
kind: "invalid_required_output";
|
|
3409
3778
|
contractRef: string;
|
|
3410
3779
|
} | {
|
|
3411
3780
|
kind: "missing_required_output";
|
|
3412
3781
|
contractRef: string;
|
|
3782
|
+
} | {
|
|
3783
|
+
level: string;
|
|
3784
|
+
kind: "assessment_followup_required";
|
|
3785
|
+
assessmentId: string;
|
|
3786
|
+
guidance: string;
|
|
3787
|
+
dimensionId: string;
|
|
3413
3788
|
} | {
|
|
3414
3789
|
key: string;
|
|
3415
3790
|
kind: "missing_context_key";
|
|
@@ -3419,11 +3794,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3419
3794
|
kind: "missing_notes";
|
|
3420
3795
|
stepId: string;
|
|
3421
3796
|
};
|
|
3422
|
-
kind: "retryable_block";
|
|
3423
3797
|
blockers: Readonly<{
|
|
3424
3798
|
blockers: readonly {
|
|
3425
3799
|
message: string;
|
|
3426
|
-
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";
|
|
3800
|
+
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";
|
|
3427
3801
|
pointer: {
|
|
3428
3802
|
key: string;
|
|
3429
3803
|
kind: "context_key";
|
|
@@ -3435,6 +3809,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3435
3809
|
} | {
|
|
3436
3810
|
kind: "capability";
|
|
3437
3811
|
capability: "delegation" | "web_browsing";
|
|
3812
|
+
} | {
|
|
3813
|
+
kind: "assessment_dimension";
|
|
3814
|
+
assessmentId: string;
|
|
3815
|
+
dimensionId: string;
|
|
3438
3816
|
} | {
|
|
3439
3817
|
kind: "workflow_step";
|
|
3440
3818
|
stepId: string;
|
|
@@ -3443,8 +3821,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3443
3821
|
}[];
|
|
3444
3822
|
}>;
|
|
3445
3823
|
retryAttemptId: string;
|
|
3446
|
-
validationRef
|
|
3824
|
+
validationRef?: string | undefined;
|
|
3447
3825
|
} | {
|
|
3826
|
+
kind: "terminal_block";
|
|
3448
3827
|
reason: {
|
|
3449
3828
|
kind: "user_only_dependency";
|
|
3450
3829
|
stepId: string;
|
|
@@ -3462,11 +3841,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3462
3841
|
} | {
|
|
3463
3842
|
kind: "evaluation_error";
|
|
3464
3843
|
};
|
|
3465
|
-
kind: "terminal_block";
|
|
3466
3844
|
blockers: Readonly<{
|
|
3467
3845
|
blockers: readonly {
|
|
3468
3846
|
message: string;
|
|
3469
|
-
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";
|
|
3847
|
+
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";
|
|
3470
3848
|
pointer: {
|
|
3471
3849
|
key: string;
|
|
3472
3850
|
kind: "context_key";
|
|
@@ -3478,6 +3856,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3478
3856
|
} | {
|
|
3479
3857
|
kind: "capability";
|
|
3480
3858
|
capability: "delegation" | "web_browsing";
|
|
3859
|
+
} | {
|
|
3860
|
+
kind: "assessment_dimension";
|
|
3861
|
+
assessmentId: string;
|
|
3862
|
+
dimensionId: string;
|
|
3481
3863
|
} | {
|
|
3482
3864
|
kind: "workflow_step";
|
|
3483
3865
|
stepId: string;
|
|
@@ -3487,7 +3869,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3487
3869
|
}>;
|
|
3488
3870
|
validationRef?: string | undefined;
|
|
3489
3871
|
};
|
|
3490
|
-
kind: "blocked";
|
|
3491
3872
|
completed: {
|
|
3492
3873
|
values: string[];
|
|
3493
3874
|
kind: "set";
|
|
@@ -3546,13 +3927,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3546
3927
|
};
|
|
3547
3928
|
};
|
|
3548
3929
|
} | {
|
|
3930
|
+
kind: "blocked";
|
|
3549
3931
|
blocked: {
|
|
3932
|
+
kind: "retryable_block";
|
|
3550
3933
|
reason: {
|
|
3551
3934
|
kind: "invalid_required_output";
|
|
3552
3935
|
contractRef: string;
|
|
3553
3936
|
} | {
|
|
3554
3937
|
kind: "missing_required_output";
|
|
3555
3938
|
contractRef: string;
|
|
3939
|
+
} | {
|
|
3940
|
+
level: string;
|
|
3941
|
+
kind: "assessment_followup_required";
|
|
3942
|
+
assessmentId: string;
|
|
3943
|
+
guidance: string;
|
|
3944
|
+
dimensionId: string;
|
|
3556
3945
|
} | {
|
|
3557
3946
|
key: string;
|
|
3558
3947
|
kind: "missing_context_key";
|
|
@@ -3562,11 +3951,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3562
3951
|
kind: "missing_notes";
|
|
3563
3952
|
stepId: string;
|
|
3564
3953
|
};
|
|
3565
|
-
kind: "retryable_block";
|
|
3566
3954
|
blockers: Readonly<{
|
|
3567
3955
|
blockers: readonly {
|
|
3568
3956
|
message: string;
|
|
3569
|
-
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";
|
|
3957
|
+
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";
|
|
3570
3958
|
pointer: {
|
|
3571
3959
|
key: string;
|
|
3572
3960
|
kind: "context_key";
|
|
@@ -3578,6 +3966,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3578
3966
|
} | {
|
|
3579
3967
|
kind: "capability";
|
|
3580
3968
|
capability: "delegation" | "web_browsing";
|
|
3969
|
+
} | {
|
|
3970
|
+
kind: "assessment_dimension";
|
|
3971
|
+
assessmentId: string;
|
|
3972
|
+
dimensionId: string;
|
|
3581
3973
|
} | {
|
|
3582
3974
|
kind: "workflow_step";
|
|
3583
3975
|
stepId: string;
|
|
@@ -3586,8 +3978,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3586
3978
|
}[];
|
|
3587
3979
|
}>;
|
|
3588
3980
|
retryAttemptId: string;
|
|
3589
|
-
validationRef
|
|
3981
|
+
validationRef?: string | undefined;
|
|
3590
3982
|
} | {
|
|
3983
|
+
kind: "terminal_block";
|
|
3591
3984
|
reason: {
|
|
3592
3985
|
kind: "user_only_dependency";
|
|
3593
3986
|
stepId: string;
|
|
@@ -3605,11 +3998,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3605
3998
|
} | {
|
|
3606
3999
|
kind: "evaluation_error";
|
|
3607
4000
|
};
|
|
3608
|
-
kind: "terminal_block";
|
|
3609
4001
|
blockers: Readonly<{
|
|
3610
4002
|
blockers: readonly {
|
|
3611
4003
|
message: string;
|
|
3612
|
-
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";
|
|
4004
|
+
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";
|
|
3613
4005
|
pointer: {
|
|
3614
4006
|
key: string;
|
|
3615
4007
|
kind: "context_key";
|
|
@@ -3621,6 +4013,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3621
4013
|
} | {
|
|
3622
4014
|
kind: "capability";
|
|
3623
4015
|
capability: "delegation" | "web_browsing";
|
|
4016
|
+
} | {
|
|
4017
|
+
kind: "assessment_dimension";
|
|
4018
|
+
assessmentId: string;
|
|
4019
|
+
dimensionId: string;
|
|
3624
4020
|
} | {
|
|
3625
4021
|
kind: "workflow_step";
|
|
3626
4022
|
stepId: string;
|
|
@@ -3630,7 +4026,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3630
4026
|
}>;
|
|
3631
4027
|
validationRef?: string | undefined;
|
|
3632
4028
|
};
|
|
3633
|
-
kind: "blocked";
|
|
3634
4029
|
completed: {
|
|
3635
4030
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
3636
4031
|
kind: "set";
|
|
@@ -3689,13 +4084,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3689
4084
|
};
|
|
3690
4085
|
};
|
|
3691
4086
|
} | {
|
|
4087
|
+
kind: "blocked";
|
|
3692
4088
|
blocked: {
|
|
4089
|
+
kind: "retryable_block";
|
|
3693
4090
|
reason: {
|
|
3694
4091
|
kind: "invalid_required_output";
|
|
3695
4092
|
contractRef: string;
|
|
3696
4093
|
} | {
|
|
3697
4094
|
kind: "missing_required_output";
|
|
3698
4095
|
contractRef: string;
|
|
4096
|
+
} | {
|
|
4097
|
+
level: string;
|
|
4098
|
+
kind: "assessment_followup_required";
|
|
4099
|
+
assessmentId: string;
|
|
4100
|
+
guidance: string;
|
|
4101
|
+
dimensionId: string;
|
|
3699
4102
|
} | {
|
|
3700
4103
|
key: string;
|
|
3701
4104
|
kind: "missing_context_key";
|
|
@@ -3705,11 +4108,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3705
4108
|
kind: "missing_notes";
|
|
3706
4109
|
stepId: string;
|
|
3707
4110
|
};
|
|
3708
|
-
kind: "retryable_block";
|
|
3709
4111
|
blockers: Readonly<{
|
|
3710
4112
|
blockers: readonly {
|
|
3711
4113
|
message: string;
|
|
3712
|
-
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";
|
|
4114
|
+
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";
|
|
3713
4115
|
pointer: {
|
|
3714
4116
|
key: string;
|
|
3715
4117
|
kind: "context_key";
|
|
@@ -3721,6 +4123,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3721
4123
|
} | {
|
|
3722
4124
|
kind: "capability";
|
|
3723
4125
|
capability: "delegation" | "web_browsing";
|
|
4126
|
+
} | {
|
|
4127
|
+
kind: "assessment_dimension";
|
|
4128
|
+
assessmentId: string;
|
|
4129
|
+
dimensionId: string;
|
|
3724
4130
|
} | {
|
|
3725
4131
|
kind: "workflow_step";
|
|
3726
4132
|
stepId: string;
|
|
@@ -3729,8 +4135,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3729
4135
|
}[];
|
|
3730
4136
|
}>;
|
|
3731
4137
|
retryAttemptId: string;
|
|
3732
|
-
validationRef
|
|
4138
|
+
validationRef?: string | undefined;
|
|
3733
4139
|
} | {
|
|
4140
|
+
kind: "terminal_block";
|
|
3734
4141
|
reason: {
|
|
3735
4142
|
kind: "user_only_dependency";
|
|
3736
4143
|
stepId: string;
|
|
@@ -3748,11 +4155,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3748
4155
|
} | {
|
|
3749
4156
|
kind: "evaluation_error";
|
|
3750
4157
|
};
|
|
3751
|
-
kind: "terminal_block";
|
|
3752
4158
|
blockers: Readonly<{
|
|
3753
4159
|
blockers: readonly {
|
|
3754
4160
|
message: string;
|
|
3755
|
-
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";
|
|
4161
|
+
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";
|
|
3756
4162
|
pointer: {
|
|
3757
4163
|
key: string;
|
|
3758
4164
|
kind: "context_key";
|
|
@@ -3764,6 +4170,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3764
4170
|
} | {
|
|
3765
4171
|
kind: "capability";
|
|
3766
4172
|
capability: "delegation" | "web_browsing";
|
|
4173
|
+
} | {
|
|
4174
|
+
kind: "assessment_dimension";
|
|
4175
|
+
assessmentId: string;
|
|
4176
|
+
dimensionId: string;
|
|
3767
4177
|
} | {
|
|
3768
4178
|
kind: "workflow_step";
|
|
3769
4179
|
stepId: string;
|
|
@@ -3773,7 +4183,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3773
4183
|
}>;
|
|
3774
4184
|
validationRef?: string | undefined;
|
|
3775
4185
|
};
|
|
3776
|
-
kind: "blocked";
|
|
3777
4186
|
completed: {
|
|
3778
4187
|
values: string[];
|
|
3779
4188
|
kind: "set";
|
|
@@ -3836,13 +4245,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3836
4245
|
};
|
|
3837
4246
|
};
|
|
3838
4247
|
} | {
|
|
4248
|
+
kind: "blocked";
|
|
3839
4249
|
blocked: {
|
|
4250
|
+
kind: "retryable_block";
|
|
3840
4251
|
reason: {
|
|
3841
4252
|
kind: "invalid_required_output";
|
|
3842
4253
|
contractRef: string;
|
|
3843
4254
|
} | {
|
|
3844
4255
|
kind: "missing_required_output";
|
|
3845
4256
|
contractRef: string;
|
|
4257
|
+
} | {
|
|
4258
|
+
level: string;
|
|
4259
|
+
kind: "assessment_followup_required";
|
|
4260
|
+
assessmentId: string;
|
|
4261
|
+
guidance: string;
|
|
4262
|
+
dimensionId: string;
|
|
3846
4263
|
} | {
|
|
3847
4264
|
key: string;
|
|
3848
4265
|
kind: "missing_context_key";
|
|
@@ -3852,11 +4269,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3852
4269
|
kind: "missing_notes";
|
|
3853
4270
|
stepId: string;
|
|
3854
4271
|
};
|
|
3855
|
-
kind: "retryable_block";
|
|
3856
4272
|
blockers: Readonly<{
|
|
3857
4273
|
blockers: readonly {
|
|
3858
4274
|
message: string;
|
|
3859
|
-
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";
|
|
4275
|
+
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";
|
|
3860
4276
|
pointer: {
|
|
3861
4277
|
key: string;
|
|
3862
4278
|
kind: "context_key";
|
|
@@ -3868,6 +4284,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3868
4284
|
} | {
|
|
3869
4285
|
kind: "capability";
|
|
3870
4286
|
capability: "delegation" | "web_browsing";
|
|
4287
|
+
} | {
|
|
4288
|
+
kind: "assessment_dimension";
|
|
4289
|
+
assessmentId: string;
|
|
4290
|
+
dimensionId: string;
|
|
3871
4291
|
} | {
|
|
3872
4292
|
kind: "workflow_step";
|
|
3873
4293
|
stepId: string;
|
|
@@ -3876,8 +4296,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3876
4296
|
}[];
|
|
3877
4297
|
}>;
|
|
3878
4298
|
retryAttemptId: string;
|
|
3879
|
-
validationRef
|
|
4299
|
+
validationRef?: string | undefined;
|
|
3880
4300
|
} | {
|
|
4301
|
+
kind: "terminal_block";
|
|
3881
4302
|
reason: {
|
|
3882
4303
|
kind: "user_only_dependency";
|
|
3883
4304
|
stepId: string;
|
|
@@ -3895,11 +4316,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3895
4316
|
} | {
|
|
3896
4317
|
kind: "evaluation_error";
|
|
3897
4318
|
};
|
|
3898
|
-
kind: "terminal_block";
|
|
3899
4319
|
blockers: Readonly<{
|
|
3900
4320
|
blockers: readonly {
|
|
3901
4321
|
message: string;
|
|
3902
|
-
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";
|
|
4322
|
+
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";
|
|
3903
4323
|
pointer: {
|
|
3904
4324
|
key: string;
|
|
3905
4325
|
kind: "context_key";
|
|
@@ -3911,6 +4331,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3911
4331
|
} | {
|
|
3912
4332
|
kind: "capability";
|
|
3913
4333
|
capability: "delegation" | "web_browsing";
|
|
4334
|
+
} | {
|
|
4335
|
+
kind: "assessment_dimension";
|
|
4336
|
+
assessmentId: string;
|
|
4337
|
+
dimensionId: string;
|
|
3914
4338
|
} | {
|
|
3915
4339
|
kind: "workflow_step";
|
|
3916
4340
|
stepId: string;
|
|
@@ -3920,7 +4344,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3920
4344
|
}>;
|
|
3921
4345
|
validationRef?: string | undefined;
|
|
3922
4346
|
};
|
|
3923
|
-
kind: "blocked";
|
|
3924
4347
|
completed: {
|
|
3925
4348
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
3926
4349
|
kind: "set";
|
|
@@ -3983,13 +4406,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3983
4406
|
};
|
|
3984
4407
|
};
|
|
3985
4408
|
} | {
|
|
4409
|
+
kind: "blocked";
|
|
3986
4410
|
blocked: {
|
|
4411
|
+
kind: "retryable_block";
|
|
3987
4412
|
reason: {
|
|
3988
4413
|
kind: "invalid_required_output";
|
|
3989
4414
|
contractRef: string;
|
|
3990
4415
|
} | {
|
|
3991
4416
|
kind: "missing_required_output";
|
|
3992
4417
|
contractRef: string;
|
|
4418
|
+
} | {
|
|
4419
|
+
level: string;
|
|
4420
|
+
kind: "assessment_followup_required";
|
|
4421
|
+
assessmentId: string;
|
|
4422
|
+
guidance: string;
|
|
4423
|
+
dimensionId: string;
|
|
3993
4424
|
} | {
|
|
3994
4425
|
key: string;
|
|
3995
4426
|
kind: "missing_context_key";
|
|
@@ -3999,11 +4430,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
3999
4430
|
kind: "missing_notes";
|
|
4000
4431
|
stepId: string;
|
|
4001
4432
|
};
|
|
4002
|
-
kind: "retryable_block";
|
|
4003
4433
|
blockers: Readonly<{
|
|
4004
4434
|
blockers: readonly {
|
|
4005
4435
|
message: string;
|
|
4006
|
-
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";
|
|
4436
|
+
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";
|
|
4007
4437
|
pointer: {
|
|
4008
4438
|
key: string;
|
|
4009
4439
|
kind: "context_key";
|
|
@@ -4015,6 +4445,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4015
4445
|
} | {
|
|
4016
4446
|
kind: "capability";
|
|
4017
4447
|
capability: "delegation" | "web_browsing";
|
|
4448
|
+
} | {
|
|
4449
|
+
kind: "assessment_dimension";
|
|
4450
|
+
assessmentId: string;
|
|
4451
|
+
dimensionId: string;
|
|
4018
4452
|
} | {
|
|
4019
4453
|
kind: "workflow_step";
|
|
4020
4454
|
stepId: string;
|
|
@@ -4023,8 +4457,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4023
4457
|
}[];
|
|
4024
4458
|
}>;
|
|
4025
4459
|
retryAttemptId: string;
|
|
4026
|
-
validationRef
|
|
4460
|
+
validationRef?: string | undefined;
|
|
4027
4461
|
} | {
|
|
4462
|
+
kind: "terminal_block";
|
|
4028
4463
|
reason: {
|
|
4029
4464
|
kind: "user_only_dependency";
|
|
4030
4465
|
stepId: string;
|
|
@@ -4042,11 +4477,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4042
4477
|
} | {
|
|
4043
4478
|
kind: "evaluation_error";
|
|
4044
4479
|
};
|
|
4045
|
-
kind: "terminal_block";
|
|
4046
4480
|
blockers: Readonly<{
|
|
4047
4481
|
blockers: readonly {
|
|
4048
4482
|
message: string;
|
|
4049
|
-
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";
|
|
4483
|
+
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";
|
|
4050
4484
|
pointer: {
|
|
4051
4485
|
key: string;
|
|
4052
4486
|
kind: "context_key";
|
|
@@ -4058,6 +4492,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4058
4492
|
} | {
|
|
4059
4493
|
kind: "capability";
|
|
4060
4494
|
capability: "delegation" | "web_browsing";
|
|
4495
|
+
} | {
|
|
4496
|
+
kind: "assessment_dimension";
|
|
4497
|
+
assessmentId: string;
|
|
4498
|
+
dimensionId: string;
|
|
4061
4499
|
} | {
|
|
4062
4500
|
kind: "workflow_step";
|
|
4063
4501
|
stepId: string;
|
|
@@ -4067,7 +4505,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4067
4505
|
}>;
|
|
4068
4506
|
validationRef?: string | undefined;
|
|
4069
4507
|
};
|
|
4070
|
-
kind: "blocked";
|
|
4071
4508
|
completed: {
|
|
4072
4509
|
values: string[];
|
|
4073
4510
|
kind: "set";
|
|
@@ -4134,13 +4571,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4134
4571
|
};
|
|
4135
4572
|
};
|
|
4136
4573
|
} | {
|
|
4574
|
+
kind: "blocked";
|
|
4137
4575
|
blocked: {
|
|
4576
|
+
kind: "retryable_block";
|
|
4138
4577
|
reason: {
|
|
4139
4578
|
kind: "invalid_required_output";
|
|
4140
4579
|
contractRef: string;
|
|
4141
4580
|
} | {
|
|
4142
4581
|
kind: "missing_required_output";
|
|
4143
4582
|
contractRef: string;
|
|
4583
|
+
} | {
|
|
4584
|
+
level: string;
|
|
4585
|
+
kind: "assessment_followup_required";
|
|
4586
|
+
assessmentId: string;
|
|
4587
|
+
guidance: string;
|
|
4588
|
+
dimensionId: string;
|
|
4144
4589
|
} | {
|
|
4145
4590
|
key: string;
|
|
4146
4591
|
kind: "missing_context_key";
|
|
@@ -4150,11 +4595,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4150
4595
|
kind: "missing_notes";
|
|
4151
4596
|
stepId: string;
|
|
4152
4597
|
};
|
|
4153
|
-
kind: "retryable_block";
|
|
4154
4598
|
blockers: Readonly<{
|
|
4155
4599
|
blockers: readonly {
|
|
4156
4600
|
message: string;
|
|
4157
|
-
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";
|
|
4601
|
+
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";
|
|
4158
4602
|
pointer: {
|
|
4159
4603
|
key: string;
|
|
4160
4604
|
kind: "context_key";
|
|
@@ -4166,6 +4610,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4166
4610
|
} | {
|
|
4167
4611
|
kind: "capability";
|
|
4168
4612
|
capability: "delegation" | "web_browsing";
|
|
4613
|
+
} | {
|
|
4614
|
+
kind: "assessment_dimension";
|
|
4615
|
+
assessmentId: string;
|
|
4616
|
+
dimensionId: string;
|
|
4169
4617
|
} | {
|
|
4170
4618
|
kind: "workflow_step";
|
|
4171
4619
|
stepId: string;
|
|
@@ -4174,8 +4622,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4174
4622
|
}[];
|
|
4175
4623
|
}>;
|
|
4176
4624
|
retryAttemptId: string;
|
|
4177
|
-
validationRef
|
|
4625
|
+
validationRef?: string | undefined;
|
|
4178
4626
|
} | {
|
|
4627
|
+
kind: "terminal_block";
|
|
4179
4628
|
reason: {
|
|
4180
4629
|
kind: "user_only_dependency";
|
|
4181
4630
|
stepId: string;
|
|
@@ -4193,11 +4642,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4193
4642
|
} | {
|
|
4194
4643
|
kind: "evaluation_error";
|
|
4195
4644
|
};
|
|
4196
|
-
kind: "terminal_block";
|
|
4197
4645
|
blockers: Readonly<{
|
|
4198
4646
|
blockers: readonly {
|
|
4199
4647
|
message: string;
|
|
4200
|
-
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";
|
|
4648
|
+
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";
|
|
4201
4649
|
pointer: {
|
|
4202
4650
|
key: string;
|
|
4203
4651
|
kind: "context_key";
|
|
@@ -4209,6 +4657,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4209
4657
|
} | {
|
|
4210
4658
|
kind: "capability";
|
|
4211
4659
|
capability: "delegation" | "web_browsing";
|
|
4660
|
+
} | {
|
|
4661
|
+
kind: "assessment_dimension";
|
|
4662
|
+
assessmentId: string;
|
|
4663
|
+
dimensionId: string;
|
|
4212
4664
|
} | {
|
|
4213
4665
|
kind: "workflow_step";
|
|
4214
4666
|
stepId: string;
|
|
@@ -4218,7 +4670,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4218
4670
|
}>;
|
|
4219
4671
|
validationRef?: string | undefined;
|
|
4220
4672
|
};
|
|
4221
|
-
kind: "blocked";
|
|
4222
4673
|
completed: {
|
|
4223
4674
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
4224
4675
|
kind: "set";
|
|
@@ -4427,6 +4878,53 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4427
4878
|
runId: string;
|
|
4428
4879
|
nodeId: string;
|
|
4429
4880
|
};
|
|
4881
|
+
} | {
|
|
4882
|
+
kind: "assessment_recorded";
|
|
4883
|
+
sessionId: string;
|
|
4884
|
+
data: {
|
|
4885
|
+
assessmentId: string;
|
|
4886
|
+
dimensions: readonly {
|
|
4887
|
+
level: string;
|
|
4888
|
+
dimensionId: string;
|
|
4889
|
+
normalization: "exact" | "normalized";
|
|
4890
|
+
rationale?: string | undefined;
|
|
4891
|
+
}[];
|
|
4892
|
+
attemptId: string;
|
|
4893
|
+
artifactOutputId: string;
|
|
4894
|
+
normalizationNotes: readonly string[];
|
|
4895
|
+
summary?: string | undefined;
|
|
4896
|
+
};
|
|
4897
|
+
v: 1;
|
|
4898
|
+
eventIndex: number;
|
|
4899
|
+
eventId: string;
|
|
4900
|
+
dedupeKey: string;
|
|
4901
|
+
scope: {
|
|
4902
|
+
runId: string;
|
|
4903
|
+
nodeId: string;
|
|
4904
|
+
};
|
|
4905
|
+
} | {
|
|
4906
|
+
kind: "assessment_consequence_applied";
|
|
4907
|
+
sessionId: string;
|
|
4908
|
+
data: {
|
|
4909
|
+
assessmentId: string;
|
|
4910
|
+
effect: {
|
|
4911
|
+
kind: "require_followup";
|
|
4912
|
+
guidance: string;
|
|
4913
|
+
};
|
|
4914
|
+
attemptId: string;
|
|
4915
|
+
trigger: {
|
|
4916
|
+
level: string;
|
|
4917
|
+
dimensionId: string;
|
|
4918
|
+
};
|
|
4919
|
+
};
|
|
4920
|
+
v: 1;
|
|
4921
|
+
eventIndex: number;
|
|
4922
|
+
eventId: string;
|
|
4923
|
+
dedupeKey: string;
|
|
4924
|
+
scope: {
|
|
4925
|
+
runId: string;
|
|
4926
|
+
nodeId: string;
|
|
4927
|
+
};
|
|
4430
4928
|
} | {
|
|
4431
4929
|
kind: "preferences_changed";
|
|
4432
4930
|
sessionId: string;
|
|
@@ -4497,6 +4995,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4497
4995
|
kind: "gap_recorded";
|
|
4498
4996
|
sessionId: string;
|
|
4499
4997
|
data: {
|
|
4998
|
+
summary: string;
|
|
4500
4999
|
reason: {
|
|
4501
5000
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
4502
5001
|
category: "user_only_dependency";
|
|
@@ -4518,7 +5017,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4518
5017
|
};
|
|
4519
5018
|
gapId: string;
|
|
4520
5019
|
severity: "warning" | "info" | "critical";
|
|
4521
|
-
summary: string;
|
|
4522
5020
|
evidenceRefs?: ({
|
|
4523
5021
|
kind: "event";
|
|
4524
5022
|
eventId: string;
|
|
@@ -4554,8 +5052,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4554
5052
|
kind: "divergence_recorded";
|
|
4555
5053
|
sessionId: string;
|
|
4556
5054
|
data: {
|
|
4557
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
4558
5055
|
summary: string;
|
|
5056
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
4559
5057
|
divergenceId: string;
|
|
4560
5058
|
relatedStepId?: string | undefined;
|
|
4561
5059
|
};
|
|
@@ -4652,13 +5150,21 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4652
5150
|
};
|
|
4653
5151
|
};
|
|
4654
5152
|
} | {
|
|
5153
|
+
kind: "blocked";
|
|
4655
5154
|
blocked: {
|
|
5155
|
+
kind: "retryable_block";
|
|
4656
5156
|
reason: {
|
|
4657
5157
|
kind: "invalid_required_output";
|
|
4658
5158
|
contractRef: string;
|
|
4659
5159
|
} | {
|
|
4660
5160
|
kind: "missing_required_output";
|
|
4661
5161
|
contractRef: string;
|
|
5162
|
+
} | {
|
|
5163
|
+
level: string;
|
|
5164
|
+
kind: "assessment_followup_required";
|
|
5165
|
+
assessmentId: string;
|
|
5166
|
+
guidance: string;
|
|
5167
|
+
dimensionId: string;
|
|
4662
5168
|
} | {
|
|
4663
5169
|
key: string;
|
|
4664
5170
|
kind: "missing_context_key";
|
|
@@ -4668,11 +5174,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4668
5174
|
kind: "missing_notes";
|
|
4669
5175
|
stepId: string;
|
|
4670
5176
|
};
|
|
4671
|
-
kind: "retryable_block";
|
|
4672
5177
|
blockers: Readonly<{
|
|
4673
5178
|
blockers: readonly {
|
|
4674
5179
|
message: string;
|
|
4675
|
-
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";
|
|
5180
|
+
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";
|
|
4676
5181
|
pointer: {
|
|
4677
5182
|
key: string;
|
|
4678
5183
|
kind: "context_key";
|
|
@@ -4684,6 +5189,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4684
5189
|
} | {
|
|
4685
5190
|
kind: "capability";
|
|
4686
5191
|
capability: "delegation" | "web_browsing";
|
|
5192
|
+
} | {
|
|
5193
|
+
kind: "assessment_dimension";
|
|
5194
|
+
assessmentId: string;
|
|
5195
|
+
dimensionId: string;
|
|
4687
5196
|
} | {
|
|
4688
5197
|
kind: "workflow_step";
|
|
4689
5198
|
stepId: string;
|
|
@@ -4692,8 +5201,9 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4692
5201
|
}[];
|
|
4693
5202
|
}>;
|
|
4694
5203
|
retryAttemptId: string;
|
|
4695
|
-
validationRef
|
|
5204
|
+
validationRef?: string | undefined;
|
|
4696
5205
|
} | {
|
|
5206
|
+
kind: "terminal_block";
|
|
4697
5207
|
reason: {
|
|
4698
5208
|
kind: "user_only_dependency";
|
|
4699
5209
|
stepId: string;
|
|
@@ -4711,11 +5221,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4711
5221
|
} | {
|
|
4712
5222
|
kind: "evaluation_error";
|
|
4713
5223
|
};
|
|
4714
|
-
kind: "terminal_block";
|
|
4715
5224
|
blockers: Readonly<{
|
|
4716
5225
|
blockers: readonly {
|
|
4717
5226
|
message: string;
|
|
4718
|
-
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";
|
|
5227
|
+
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";
|
|
4719
5228
|
pointer: {
|
|
4720
5229
|
key: string;
|
|
4721
5230
|
kind: "context_key";
|
|
@@ -4727,6 +5236,10 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4727
5236
|
} | {
|
|
4728
5237
|
kind: "capability";
|
|
4729
5238
|
capability: "delegation" | "web_browsing";
|
|
5239
|
+
} | {
|
|
5240
|
+
kind: "assessment_dimension";
|
|
5241
|
+
assessmentId: string;
|
|
5242
|
+
dimensionId: string;
|
|
4730
5243
|
} | {
|
|
4731
5244
|
kind: "workflow_step";
|
|
4732
5245
|
stepId: string;
|
|
@@ -4736,7 +5249,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4736
5249
|
}>;
|
|
4737
5250
|
validationRef?: string | undefined;
|
|
4738
5251
|
};
|
|
4739
|
-
kind: "blocked";
|
|
4740
5252
|
completed: {
|
|
4741
5253
|
values: string[];
|
|
4742
5254
|
kind: "set";
|
|
@@ -4939,6 +5451,53 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
4939
5451
|
runId: string;
|
|
4940
5452
|
nodeId: string;
|
|
4941
5453
|
};
|
|
5454
|
+
} | {
|
|
5455
|
+
kind: "assessment_recorded";
|
|
5456
|
+
sessionId: string;
|
|
5457
|
+
data: {
|
|
5458
|
+
assessmentId: string;
|
|
5459
|
+
dimensions: readonly {
|
|
5460
|
+
level: string;
|
|
5461
|
+
dimensionId: string;
|
|
5462
|
+
normalization: "exact" | "normalized";
|
|
5463
|
+
rationale?: string | undefined;
|
|
5464
|
+
}[];
|
|
5465
|
+
attemptId: string;
|
|
5466
|
+
artifactOutputId: string;
|
|
5467
|
+
normalizationNotes: readonly string[];
|
|
5468
|
+
summary?: string | undefined;
|
|
5469
|
+
};
|
|
5470
|
+
v: 1;
|
|
5471
|
+
eventIndex: number;
|
|
5472
|
+
eventId: string;
|
|
5473
|
+
dedupeKey: string;
|
|
5474
|
+
scope: {
|
|
5475
|
+
runId: string;
|
|
5476
|
+
nodeId: string;
|
|
5477
|
+
};
|
|
5478
|
+
} | {
|
|
5479
|
+
kind: "assessment_consequence_applied";
|
|
5480
|
+
sessionId: string;
|
|
5481
|
+
data: {
|
|
5482
|
+
assessmentId: string;
|
|
5483
|
+
effect: {
|
|
5484
|
+
kind: "require_followup";
|
|
5485
|
+
guidance: string;
|
|
5486
|
+
};
|
|
5487
|
+
attemptId: string;
|
|
5488
|
+
trigger: {
|
|
5489
|
+
level: string;
|
|
5490
|
+
dimensionId: string;
|
|
5491
|
+
};
|
|
5492
|
+
};
|
|
5493
|
+
v: 1;
|
|
5494
|
+
eventIndex: number;
|
|
5495
|
+
eventId: string;
|
|
5496
|
+
dedupeKey: string;
|
|
5497
|
+
scope: {
|
|
5498
|
+
runId: string;
|
|
5499
|
+
nodeId: string;
|
|
5500
|
+
};
|
|
4942
5501
|
} | {
|
|
4943
5502
|
kind: "preferences_changed";
|
|
4944
5503
|
sessionId: string;
|
|
@@ -5009,6 +5568,7 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5009
5568
|
kind: "gap_recorded";
|
|
5010
5569
|
sessionId: string;
|
|
5011
5570
|
data: {
|
|
5571
|
+
summary: string;
|
|
5012
5572
|
reason: {
|
|
5013
5573
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
5014
5574
|
category: "user_only_dependency";
|
|
@@ -5030,7 +5590,6 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5030
5590
|
};
|
|
5031
5591
|
gapId: string;
|
|
5032
5592
|
severity: "warning" | "info" | "critical";
|
|
5033
|
-
summary: string;
|
|
5034
5593
|
evidenceRefs?: ({
|
|
5035
5594
|
kind: "event";
|
|
5036
5595
|
eventId: string;
|
|
@@ -5066,8 +5625,8 @@ export declare const SessionContentsV1Schema: z.ZodObject<{
|
|
|
5066
5625
|
kind: "divergence_recorded";
|
|
5067
5626
|
sessionId: string;
|
|
5068
5627
|
data: {
|
|
5069
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
5070
5628
|
summary: string;
|
|
5629
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
5071
5630
|
divergenceId: string;
|
|
5072
5631
|
relatedStepId?: string | undefined;
|
|
5073
5632
|
};
|
|
@@ -6235,6 +6794,229 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6235
6794
|
eventIndex: z.ZodNumber;
|
|
6236
6795
|
sessionId: z.ZodString;
|
|
6237
6796
|
dedupeKey: z.ZodString;
|
|
6797
|
+
} & {
|
|
6798
|
+
kind: z.ZodLiteral<"assessment_recorded">;
|
|
6799
|
+
scope: z.ZodObject<{
|
|
6800
|
+
runId: z.ZodString;
|
|
6801
|
+
nodeId: z.ZodString;
|
|
6802
|
+
}, "strip", z.ZodTypeAny, {
|
|
6803
|
+
runId: string;
|
|
6804
|
+
nodeId: string;
|
|
6805
|
+
}, {
|
|
6806
|
+
runId: string;
|
|
6807
|
+
nodeId: string;
|
|
6808
|
+
}>;
|
|
6809
|
+
data: z.ZodObject<{
|
|
6810
|
+
assessmentId: z.ZodString;
|
|
6811
|
+
attemptId: z.ZodString;
|
|
6812
|
+
artifactOutputId: z.ZodString;
|
|
6813
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
6814
|
+
normalizationNotes: z.ZodReadonly<z.ZodArray<z.ZodString, "many">>;
|
|
6815
|
+
dimensions: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
6816
|
+
dimensionId: z.ZodString;
|
|
6817
|
+
level: z.ZodString;
|
|
6818
|
+
rationale: z.ZodOptional<z.ZodString>;
|
|
6819
|
+
normalization: z.ZodEnum<["exact", "normalized"]>;
|
|
6820
|
+
}, "strip", z.ZodTypeAny, {
|
|
6821
|
+
level: string;
|
|
6822
|
+
dimensionId: string;
|
|
6823
|
+
normalization: "exact" | "normalized";
|
|
6824
|
+
rationale?: string | undefined;
|
|
6825
|
+
}, {
|
|
6826
|
+
level: string;
|
|
6827
|
+
dimensionId: string;
|
|
6828
|
+
normalization: "exact" | "normalized";
|
|
6829
|
+
rationale?: string | undefined;
|
|
6830
|
+
}>, "many">>;
|
|
6831
|
+
}, "strip", z.ZodTypeAny, {
|
|
6832
|
+
assessmentId: string;
|
|
6833
|
+
dimensions: readonly {
|
|
6834
|
+
level: string;
|
|
6835
|
+
dimensionId: string;
|
|
6836
|
+
normalization: "exact" | "normalized";
|
|
6837
|
+
rationale?: string | undefined;
|
|
6838
|
+
}[];
|
|
6839
|
+
attemptId: string;
|
|
6840
|
+
artifactOutputId: string;
|
|
6841
|
+
normalizationNotes: readonly string[];
|
|
6842
|
+
summary?: string | undefined;
|
|
6843
|
+
}, {
|
|
6844
|
+
assessmentId: string;
|
|
6845
|
+
dimensions: readonly {
|
|
6846
|
+
level: string;
|
|
6847
|
+
dimensionId: string;
|
|
6848
|
+
normalization: "exact" | "normalized";
|
|
6849
|
+
rationale?: string | undefined;
|
|
6850
|
+
}[];
|
|
6851
|
+
attemptId: string;
|
|
6852
|
+
artifactOutputId: string;
|
|
6853
|
+
normalizationNotes: readonly string[];
|
|
6854
|
+
summary?: string | undefined;
|
|
6855
|
+
}>;
|
|
6856
|
+
}, "strip", z.ZodTypeAny, {
|
|
6857
|
+
kind: "assessment_recorded";
|
|
6858
|
+
sessionId: string;
|
|
6859
|
+
data: {
|
|
6860
|
+
assessmentId: string;
|
|
6861
|
+
dimensions: readonly {
|
|
6862
|
+
level: string;
|
|
6863
|
+
dimensionId: string;
|
|
6864
|
+
normalization: "exact" | "normalized";
|
|
6865
|
+
rationale?: string | undefined;
|
|
6866
|
+
}[];
|
|
6867
|
+
attemptId: string;
|
|
6868
|
+
artifactOutputId: string;
|
|
6869
|
+
normalizationNotes: readonly string[];
|
|
6870
|
+
summary?: string | undefined;
|
|
6871
|
+
};
|
|
6872
|
+
v: 1;
|
|
6873
|
+
eventIndex: number;
|
|
6874
|
+
eventId: string;
|
|
6875
|
+
dedupeKey: string;
|
|
6876
|
+
scope: {
|
|
6877
|
+
runId: string;
|
|
6878
|
+
nodeId: string;
|
|
6879
|
+
};
|
|
6880
|
+
}, {
|
|
6881
|
+
kind: "assessment_recorded";
|
|
6882
|
+
sessionId: string;
|
|
6883
|
+
data: {
|
|
6884
|
+
assessmentId: string;
|
|
6885
|
+
dimensions: readonly {
|
|
6886
|
+
level: string;
|
|
6887
|
+
dimensionId: string;
|
|
6888
|
+
normalization: "exact" | "normalized";
|
|
6889
|
+
rationale?: string | undefined;
|
|
6890
|
+
}[];
|
|
6891
|
+
attemptId: string;
|
|
6892
|
+
artifactOutputId: string;
|
|
6893
|
+
normalizationNotes: readonly string[];
|
|
6894
|
+
summary?: string | undefined;
|
|
6895
|
+
};
|
|
6896
|
+
v: 1;
|
|
6897
|
+
eventIndex: number;
|
|
6898
|
+
eventId: string;
|
|
6899
|
+
dedupeKey: string;
|
|
6900
|
+
scope: {
|
|
6901
|
+
runId: string;
|
|
6902
|
+
nodeId: string;
|
|
6903
|
+
};
|
|
6904
|
+
}>, z.ZodObject<{
|
|
6905
|
+
v: z.ZodLiteral<1>;
|
|
6906
|
+
eventId: z.ZodString;
|
|
6907
|
+
eventIndex: z.ZodNumber;
|
|
6908
|
+
sessionId: z.ZodString;
|
|
6909
|
+
dedupeKey: z.ZodString;
|
|
6910
|
+
} & {
|
|
6911
|
+
kind: z.ZodLiteral<"assessment_consequence_applied">;
|
|
6912
|
+
scope: z.ZodObject<{
|
|
6913
|
+
runId: z.ZodString;
|
|
6914
|
+
nodeId: z.ZodString;
|
|
6915
|
+
}, "strip", z.ZodTypeAny, {
|
|
6916
|
+
runId: string;
|
|
6917
|
+
nodeId: string;
|
|
6918
|
+
}, {
|
|
6919
|
+
runId: string;
|
|
6920
|
+
nodeId: string;
|
|
6921
|
+
}>;
|
|
6922
|
+
data: z.ZodObject<{
|
|
6923
|
+
attemptId: z.ZodString;
|
|
6924
|
+
assessmentId: z.ZodString;
|
|
6925
|
+
trigger: z.ZodObject<{
|
|
6926
|
+
dimensionId: z.ZodString;
|
|
6927
|
+
level: z.ZodString;
|
|
6928
|
+
}, "strip", z.ZodTypeAny, {
|
|
6929
|
+
level: string;
|
|
6930
|
+
dimensionId: string;
|
|
6931
|
+
}, {
|
|
6932
|
+
level: string;
|
|
6933
|
+
dimensionId: string;
|
|
6934
|
+
}>;
|
|
6935
|
+
effect: z.ZodObject<{
|
|
6936
|
+
kind: z.ZodLiteral<"require_followup">;
|
|
6937
|
+
guidance: z.ZodString;
|
|
6938
|
+
}, "strip", z.ZodTypeAny, {
|
|
6939
|
+
kind: "require_followup";
|
|
6940
|
+
guidance: string;
|
|
6941
|
+
}, {
|
|
6942
|
+
kind: "require_followup";
|
|
6943
|
+
guidance: string;
|
|
6944
|
+
}>;
|
|
6945
|
+
}, "strip", z.ZodTypeAny, {
|
|
6946
|
+
assessmentId: string;
|
|
6947
|
+
effect: {
|
|
6948
|
+
kind: "require_followup";
|
|
6949
|
+
guidance: string;
|
|
6950
|
+
};
|
|
6951
|
+
attemptId: string;
|
|
6952
|
+
trigger: {
|
|
6953
|
+
level: string;
|
|
6954
|
+
dimensionId: string;
|
|
6955
|
+
};
|
|
6956
|
+
}, {
|
|
6957
|
+
assessmentId: string;
|
|
6958
|
+
effect: {
|
|
6959
|
+
kind: "require_followup";
|
|
6960
|
+
guidance: string;
|
|
6961
|
+
};
|
|
6962
|
+
attemptId: string;
|
|
6963
|
+
trigger: {
|
|
6964
|
+
level: string;
|
|
6965
|
+
dimensionId: string;
|
|
6966
|
+
};
|
|
6967
|
+
}>;
|
|
6968
|
+
}, "strip", z.ZodTypeAny, {
|
|
6969
|
+
kind: "assessment_consequence_applied";
|
|
6970
|
+
sessionId: string;
|
|
6971
|
+
data: {
|
|
6972
|
+
assessmentId: string;
|
|
6973
|
+
effect: {
|
|
6974
|
+
kind: "require_followup";
|
|
6975
|
+
guidance: string;
|
|
6976
|
+
};
|
|
6977
|
+
attemptId: string;
|
|
6978
|
+
trigger: {
|
|
6979
|
+
level: string;
|
|
6980
|
+
dimensionId: string;
|
|
6981
|
+
};
|
|
6982
|
+
};
|
|
6983
|
+
v: 1;
|
|
6984
|
+
eventIndex: number;
|
|
6985
|
+
eventId: string;
|
|
6986
|
+
dedupeKey: string;
|
|
6987
|
+
scope: {
|
|
6988
|
+
runId: string;
|
|
6989
|
+
nodeId: string;
|
|
6990
|
+
};
|
|
6991
|
+
}, {
|
|
6992
|
+
kind: "assessment_consequence_applied";
|
|
6993
|
+
sessionId: string;
|
|
6994
|
+
data: {
|
|
6995
|
+
assessmentId: string;
|
|
6996
|
+
effect: {
|
|
6997
|
+
kind: "require_followup";
|
|
6998
|
+
guidance: string;
|
|
6999
|
+
};
|
|
7000
|
+
attemptId: string;
|
|
7001
|
+
trigger: {
|
|
7002
|
+
level: string;
|
|
7003
|
+
dimensionId: string;
|
|
7004
|
+
};
|
|
7005
|
+
};
|
|
7006
|
+
v: 1;
|
|
7007
|
+
eventIndex: number;
|
|
7008
|
+
eventId: string;
|
|
7009
|
+
dedupeKey: string;
|
|
7010
|
+
scope: {
|
|
7011
|
+
runId: string;
|
|
7012
|
+
nodeId: string;
|
|
7013
|
+
};
|
|
7014
|
+
}>, z.ZodObject<{
|
|
7015
|
+
v: z.ZodLiteral<1>;
|
|
7016
|
+
eventId: z.ZodString;
|
|
7017
|
+
eventIndex: z.ZodNumber;
|
|
7018
|
+
sessionId: z.ZodString;
|
|
7019
|
+
dedupeKey: z.ZodString;
|
|
6238
7020
|
} & {
|
|
6239
7021
|
kind: z.ZodLiteral<"preferences_changed">;
|
|
6240
7022
|
scope: z.ZodObject<{
|
|
@@ -6790,6 +7572,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6790
7572
|
outputId: string;
|
|
6791
7573
|
}>]>, "many">>;
|
|
6792
7574
|
}, "strip", z.ZodTypeAny, {
|
|
7575
|
+
summary: string;
|
|
6793
7576
|
reason: {
|
|
6794
7577
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
6795
7578
|
category: "user_only_dependency";
|
|
@@ -6811,7 +7594,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6811
7594
|
};
|
|
6812
7595
|
gapId: string;
|
|
6813
7596
|
severity: "warning" | "info" | "critical";
|
|
6814
|
-
summary: string;
|
|
6815
7597
|
evidenceRefs?: ({
|
|
6816
7598
|
kind: "event";
|
|
6817
7599
|
eventId: string;
|
|
@@ -6820,6 +7602,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6820
7602
|
outputId: string;
|
|
6821
7603
|
})[] | undefined;
|
|
6822
7604
|
}, {
|
|
7605
|
+
summary: string;
|
|
6823
7606
|
reason: {
|
|
6824
7607
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
6825
7608
|
category: "user_only_dependency";
|
|
@@ -6841,7 +7624,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6841
7624
|
};
|
|
6842
7625
|
gapId: string;
|
|
6843
7626
|
severity: "warning" | "info" | "critical";
|
|
6844
|
-
summary: string;
|
|
6845
7627
|
evidenceRefs?: ({
|
|
6846
7628
|
kind: "event";
|
|
6847
7629
|
eventId: string;
|
|
@@ -6854,6 +7636,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6854
7636
|
kind: "gap_recorded";
|
|
6855
7637
|
sessionId: string;
|
|
6856
7638
|
data: {
|
|
7639
|
+
summary: string;
|
|
6857
7640
|
reason: {
|
|
6858
7641
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
6859
7642
|
category: "user_only_dependency";
|
|
@@ -6875,7 +7658,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6875
7658
|
};
|
|
6876
7659
|
gapId: string;
|
|
6877
7660
|
severity: "warning" | "info" | "critical";
|
|
6878
|
-
summary: string;
|
|
6879
7661
|
evidenceRefs?: ({
|
|
6880
7662
|
kind: "event";
|
|
6881
7663
|
eventId: string;
|
|
@@ -6896,6 +7678,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6896
7678
|
kind: "gap_recorded";
|
|
6897
7679
|
sessionId: string;
|
|
6898
7680
|
data: {
|
|
7681
|
+
summary: string;
|
|
6899
7682
|
reason: {
|
|
6900
7683
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
6901
7684
|
category: "user_only_dependency";
|
|
@@ -6917,7 +7700,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
6917
7700
|
};
|
|
6918
7701
|
gapId: string;
|
|
6919
7702
|
severity: "warning" | "info" | "critical";
|
|
6920
|
-
summary: string;
|
|
6921
7703
|
evidenceRefs?: ({
|
|
6922
7704
|
kind: "event";
|
|
6923
7705
|
eventId: string;
|
|
@@ -7016,13 +7798,13 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7016
7798
|
summary: z.ZodString;
|
|
7017
7799
|
relatedStepId: z.ZodOptional<z.ZodString>;
|
|
7018
7800
|
}, "strip", z.ZodTypeAny, {
|
|
7019
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
7020
7801
|
summary: string;
|
|
7802
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
7021
7803
|
divergenceId: string;
|
|
7022
7804
|
relatedStepId?: string | undefined;
|
|
7023
7805
|
}, {
|
|
7024
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
7025
7806
|
summary: string;
|
|
7807
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
7026
7808
|
divergenceId: string;
|
|
7027
7809
|
relatedStepId?: string | undefined;
|
|
7028
7810
|
}>;
|
|
@@ -7030,8 +7812,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7030
7812
|
kind: "divergence_recorded";
|
|
7031
7813
|
sessionId: string;
|
|
7032
7814
|
data: {
|
|
7033
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
7034
7815
|
summary: string;
|
|
7816
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
7035
7817
|
divergenceId: string;
|
|
7036
7818
|
relatedStepId?: string | undefined;
|
|
7037
7819
|
};
|
|
@@ -7047,8 +7829,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7047
7829
|
kind: "divergence_recorded";
|
|
7048
7830
|
sessionId: string;
|
|
7049
7831
|
data: {
|
|
7050
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
7051
7832
|
summary: string;
|
|
7833
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
7052
7834
|
divergenceId: string;
|
|
7053
7835
|
relatedStepId?: string | undefined;
|
|
7054
7836
|
};
|
|
@@ -7621,6 +8403,24 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7621
8403
|
}, {
|
|
7622
8404
|
kind: "missing_required_output";
|
|
7623
8405
|
contractRef: string;
|
|
8406
|
+
}>, z.ZodObject<{
|
|
8407
|
+
kind: z.ZodLiteral<"assessment_followup_required">;
|
|
8408
|
+
assessmentId: z.ZodString;
|
|
8409
|
+
dimensionId: z.ZodString;
|
|
8410
|
+
level: z.ZodString;
|
|
8411
|
+
guidance: z.ZodString;
|
|
8412
|
+
}, "strict", z.ZodTypeAny, {
|
|
8413
|
+
level: string;
|
|
8414
|
+
kind: "assessment_followup_required";
|
|
8415
|
+
assessmentId: string;
|
|
8416
|
+
guidance: string;
|
|
8417
|
+
dimensionId: string;
|
|
8418
|
+
}, {
|
|
8419
|
+
level: string;
|
|
8420
|
+
kind: "assessment_followup_required";
|
|
8421
|
+
assessmentId: string;
|
|
8422
|
+
guidance: string;
|
|
8423
|
+
dimensionId: string;
|
|
7624
8424
|
}>, z.ZodObject<{
|
|
7625
8425
|
kind: z.ZodLiteral<"missing_context_key">;
|
|
7626
8426
|
key: z.ZodString;
|
|
@@ -7647,10 +8447,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7647
8447
|
stepId: string;
|
|
7648
8448
|
}>]>;
|
|
7649
8449
|
retryAttemptId: z.ZodString;
|
|
7650
|
-
validationRef: z.ZodString
|
|
8450
|
+
validationRef: z.ZodOptional<z.ZodString>;
|
|
7651
8451
|
blockers: z.ZodReadonly<z.ZodObject<{
|
|
7652
8452
|
blockers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
7653
|
-
code: z.ZodEnum<["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"]>;
|
|
8453
|
+
code: z.ZodEnum<["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"]>;
|
|
7654
8454
|
pointer: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
7655
8455
|
kind: z.ZodLiteral<"context_key">;
|
|
7656
8456
|
key: z.ZodString;
|
|
@@ -7684,6 +8484,18 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7684
8484
|
}, {
|
|
7685
8485
|
kind: "capability";
|
|
7686
8486
|
capability: "delegation" | "web_browsing";
|
|
8487
|
+
}>, z.ZodObject<{
|
|
8488
|
+
kind: z.ZodLiteral<"assessment_dimension">;
|
|
8489
|
+
assessmentId: z.ZodString;
|
|
8490
|
+
dimensionId: z.ZodString;
|
|
8491
|
+
}, "strict", z.ZodTypeAny, {
|
|
8492
|
+
kind: "assessment_dimension";
|
|
8493
|
+
assessmentId: string;
|
|
8494
|
+
dimensionId: string;
|
|
8495
|
+
}, {
|
|
8496
|
+
kind: "assessment_dimension";
|
|
8497
|
+
assessmentId: string;
|
|
8498
|
+
dimensionId: string;
|
|
7687
8499
|
}>, z.ZodObject<{
|
|
7688
8500
|
kind: z.ZodLiteral<"workflow_step">;
|
|
7689
8501
|
stepId: z.ZodString;
|
|
@@ -7698,7 +8510,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7698
8510
|
suggestedFix: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7699
8511
|
}, "strip", z.ZodTypeAny, {
|
|
7700
8512
|
message: string;
|
|
7701
|
-
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";
|
|
8513
|
+
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";
|
|
7702
8514
|
pointer: {
|
|
7703
8515
|
key: string;
|
|
7704
8516
|
kind: "context_key";
|
|
@@ -7710,6 +8522,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7710
8522
|
} | {
|
|
7711
8523
|
kind: "capability";
|
|
7712
8524
|
capability: "delegation" | "web_browsing";
|
|
8525
|
+
} | {
|
|
8526
|
+
kind: "assessment_dimension";
|
|
8527
|
+
assessmentId: string;
|
|
8528
|
+
dimensionId: string;
|
|
7713
8529
|
} | {
|
|
7714
8530
|
kind: "workflow_step";
|
|
7715
8531
|
stepId: string;
|
|
@@ -7717,7 +8533,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7717
8533
|
suggestedFix?: string | undefined;
|
|
7718
8534
|
}, {
|
|
7719
8535
|
message: string;
|
|
7720
|
-
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";
|
|
8536
|
+
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";
|
|
7721
8537
|
pointer: {
|
|
7722
8538
|
key: string;
|
|
7723
8539
|
kind: "context_key";
|
|
@@ -7729,6 +8545,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7729
8545
|
} | {
|
|
7730
8546
|
kind: "capability";
|
|
7731
8547
|
capability: "delegation" | "web_browsing";
|
|
8548
|
+
} | {
|
|
8549
|
+
kind: "assessment_dimension";
|
|
8550
|
+
assessmentId: string;
|
|
8551
|
+
dimensionId: string;
|
|
7732
8552
|
} | {
|
|
7733
8553
|
kind: "workflow_step";
|
|
7734
8554
|
stepId: string;
|
|
@@ -7738,7 +8558,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7738
8558
|
}, "strip", z.ZodTypeAny, {
|
|
7739
8559
|
blockers: readonly {
|
|
7740
8560
|
message: string;
|
|
7741
|
-
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";
|
|
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";
|
|
7742
8562
|
pointer: {
|
|
7743
8563
|
key: string;
|
|
7744
8564
|
kind: "context_key";
|
|
@@ -7750,6 +8570,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7750
8570
|
} | {
|
|
7751
8571
|
kind: "capability";
|
|
7752
8572
|
capability: "delegation" | "web_browsing";
|
|
8573
|
+
} | {
|
|
8574
|
+
kind: "assessment_dimension";
|
|
8575
|
+
assessmentId: string;
|
|
8576
|
+
dimensionId: string;
|
|
7753
8577
|
} | {
|
|
7754
8578
|
kind: "workflow_step";
|
|
7755
8579
|
stepId: string;
|
|
@@ -7759,7 +8583,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7759
8583
|
}, {
|
|
7760
8584
|
blockers: readonly {
|
|
7761
8585
|
message: string;
|
|
7762
|
-
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";
|
|
8586
|
+
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";
|
|
7763
8587
|
pointer: {
|
|
7764
8588
|
key: string;
|
|
7765
8589
|
kind: "context_key";
|
|
@@ -7771,6 +8595,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7771
8595
|
} | {
|
|
7772
8596
|
kind: "capability";
|
|
7773
8597
|
capability: "delegation" | "web_browsing";
|
|
8598
|
+
} | {
|
|
8599
|
+
kind: "assessment_dimension";
|
|
8600
|
+
assessmentId: string;
|
|
8601
|
+
dimensionId: string;
|
|
7774
8602
|
} | {
|
|
7775
8603
|
kind: "workflow_step";
|
|
7776
8604
|
stepId: string;
|
|
@@ -7779,12 +8607,19 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7779
8607
|
}[];
|
|
7780
8608
|
}>>;
|
|
7781
8609
|
}, "strict", z.ZodTypeAny, {
|
|
8610
|
+
kind: "retryable_block";
|
|
7782
8611
|
reason: {
|
|
7783
8612
|
kind: "invalid_required_output";
|
|
7784
8613
|
contractRef: string;
|
|
7785
8614
|
} | {
|
|
7786
8615
|
kind: "missing_required_output";
|
|
7787
8616
|
contractRef: string;
|
|
8617
|
+
} | {
|
|
8618
|
+
level: string;
|
|
8619
|
+
kind: "assessment_followup_required";
|
|
8620
|
+
assessmentId: string;
|
|
8621
|
+
guidance: string;
|
|
8622
|
+
dimensionId: string;
|
|
7788
8623
|
} | {
|
|
7789
8624
|
key: string;
|
|
7790
8625
|
kind: "missing_context_key";
|
|
@@ -7794,11 +8629,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7794
8629
|
kind: "missing_notes";
|
|
7795
8630
|
stepId: string;
|
|
7796
8631
|
};
|
|
7797
|
-
kind: "retryable_block";
|
|
7798
8632
|
blockers: Readonly<{
|
|
7799
8633
|
blockers: readonly {
|
|
7800
8634
|
message: string;
|
|
7801
|
-
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";
|
|
8635
|
+
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";
|
|
7802
8636
|
pointer: {
|
|
7803
8637
|
key: string;
|
|
7804
8638
|
kind: "context_key";
|
|
@@ -7810,6 +8644,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7810
8644
|
} | {
|
|
7811
8645
|
kind: "capability";
|
|
7812
8646
|
capability: "delegation" | "web_browsing";
|
|
8647
|
+
} | {
|
|
8648
|
+
kind: "assessment_dimension";
|
|
8649
|
+
assessmentId: string;
|
|
8650
|
+
dimensionId: string;
|
|
7813
8651
|
} | {
|
|
7814
8652
|
kind: "workflow_step";
|
|
7815
8653
|
stepId: string;
|
|
@@ -7818,14 +8656,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7818
8656
|
}[];
|
|
7819
8657
|
}>;
|
|
7820
8658
|
retryAttemptId: string;
|
|
7821
|
-
validationRef
|
|
8659
|
+
validationRef?: string | undefined;
|
|
7822
8660
|
}, {
|
|
8661
|
+
kind: "retryable_block";
|
|
7823
8662
|
reason: {
|
|
7824
8663
|
kind: "invalid_required_output";
|
|
7825
8664
|
contractRef: string;
|
|
7826
8665
|
} | {
|
|
7827
8666
|
kind: "missing_required_output";
|
|
7828
8667
|
contractRef: string;
|
|
8668
|
+
} | {
|
|
8669
|
+
level: string;
|
|
8670
|
+
kind: "assessment_followup_required";
|
|
8671
|
+
assessmentId: string;
|
|
8672
|
+
guidance: string;
|
|
8673
|
+
dimensionId: string;
|
|
7829
8674
|
} | {
|
|
7830
8675
|
key: string;
|
|
7831
8676
|
kind: "missing_context_key";
|
|
@@ -7835,11 +8680,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7835
8680
|
kind: "missing_notes";
|
|
7836
8681
|
stepId: string;
|
|
7837
8682
|
};
|
|
7838
|
-
kind: "retryable_block";
|
|
7839
8683
|
blockers: Readonly<{
|
|
7840
8684
|
blockers: readonly {
|
|
7841
8685
|
message: string;
|
|
7842
|
-
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";
|
|
8686
|
+
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";
|
|
7843
8687
|
pointer: {
|
|
7844
8688
|
key: string;
|
|
7845
8689
|
kind: "context_key";
|
|
@@ -7851,6 +8695,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7851
8695
|
} | {
|
|
7852
8696
|
kind: "capability";
|
|
7853
8697
|
capability: "delegation" | "web_browsing";
|
|
8698
|
+
} | {
|
|
8699
|
+
kind: "assessment_dimension";
|
|
8700
|
+
assessmentId: string;
|
|
8701
|
+
dimensionId: string;
|
|
7854
8702
|
} | {
|
|
7855
8703
|
kind: "workflow_step";
|
|
7856
8704
|
stepId: string;
|
|
@@ -7859,7 +8707,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7859
8707
|
}[];
|
|
7860
8708
|
}>;
|
|
7861
8709
|
retryAttemptId: string;
|
|
7862
|
-
validationRef
|
|
8710
|
+
validationRef?: string | undefined;
|
|
7863
8711
|
}>, z.ZodObject<{
|
|
7864
8712
|
kind: z.ZodLiteral<"terminal_block">;
|
|
7865
8713
|
reason: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
@@ -7914,7 +8762,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7914
8762
|
validationRef: z.ZodOptional<z.ZodString>;
|
|
7915
8763
|
blockers: z.ZodReadonly<z.ZodObject<{
|
|
7916
8764
|
blockers: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
7917
|
-
code: z.ZodEnum<["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"]>;
|
|
8765
|
+
code: z.ZodEnum<["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"]>;
|
|
7918
8766
|
pointer: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
7919
8767
|
kind: z.ZodLiteral<"context_key">;
|
|
7920
8768
|
key: z.ZodString;
|
|
@@ -7948,6 +8796,18 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7948
8796
|
}, {
|
|
7949
8797
|
kind: "capability";
|
|
7950
8798
|
capability: "delegation" | "web_browsing";
|
|
8799
|
+
}>, z.ZodObject<{
|
|
8800
|
+
kind: z.ZodLiteral<"assessment_dimension">;
|
|
8801
|
+
assessmentId: z.ZodString;
|
|
8802
|
+
dimensionId: z.ZodString;
|
|
8803
|
+
}, "strict", z.ZodTypeAny, {
|
|
8804
|
+
kind: "assessment_dimension";
|
|
8805
|
+
assessmentId: string;
|
|
8806
|
+
dimensionId: string;
|
|
8807
|
+
}, {
|
|
8808
|
+
kind: "assessment_dimension";
|
|
8809
|
+
assessmentId: string;
|
|
8810
|
+
dimensionId: string;
|
|
7951
8811
|
}>, z.ZodObject<{
|
|
7952
8812
|
kind: z.ZodLiteral<"workflow_step">;
|
|
7953
8813
|
stepId: z.ZodString;
|
|
@@ -7962,7 +8822,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7962
8822
|
suggestedFix: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
7963
8823
|
}, "strip", z.ZodTypeAny, {
|
|
7964
8824
|
message: string;
|
|
7965
|
-
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";
|
|
8825
|
+
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";
|
|
7966
8826
|
pointer: {
|
|
7967
8827
|
key: string;
|
|
7968
8828
|
kind: "context_key";
|
|
@@ -7974,6 +8834,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7974
8834
|
} | {
|
|
7975
8835
|
kind: "capability";
|
|
7976
8836
|
capability: "delegation" | "web_browsing";
|
|
8837
|
+
} | {
|
|
8838
|
+
kind: "assessment_dimension";
|
|
8839
|
+
assessmentId: string;
|
|
8840
|
+
dimensionId: string;
|
|
7977
8841
|
} | {
|
|
7978
8842
|
kind: "workflow_step";
|
|
7979
8843
|
stepId: string;
|
|
@@ -7981,7 +8845,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7981
8845
|
suggestedFix?: string | undefined;
|
|
7982
8846
|
}, {
|
|
7983
8847
|
message: string;
|
|
7984
|
-
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";
|
|
8848
|
+
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";
|
|
7985
8849
|
pointer: {
|
|
7986
8850
|
key: string;
|
|
7987
8851
|
kind: "context_key";
|
|
@@ -7993,6 +8857,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
7993
8857
|
} | {
|
|
7994
8858
|
kind: "capability";
|
|
7995
8859
|
capability: "delegation" | "web_browsing";
|
|
8860
|
+
} | {
|
|
8861
|
+
kind: "assessment_dimension";
|
|
8862
|
+
assessmentId: string;
|
|
8863
|
+
dimensionId: string;
|
|
7996
8864
|
} | {
|
|
7997
8865
|
kind: "workflow_step";
|
|
7998
8866
|
stepId: string;
|
|
@@ -8002,7 +8870,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8002
8870
|
}, "strip", z.ZodTypeAny, {
|
|
8003
8871
|
blockers: readonly {
|
|
8004
8872
|
message: string;
|
|
8005
|
-
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";
|
|
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";
|
|
8006
8874
|
pointer: {
|
|
8007
8875
|
key: string;
|
|
8008
8876
|
kind: "context_key";
|
|
@@ -8014,6 +8882,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8014
8882
|
} | {
|
|
8015
8883
|
kind: "capability";
|
|
8016
8884
|
capability: "delegation" | "web_browsing";
|
|
8885
|
+
} | {
|
|
8886
|
+
kind: "assessment_dimension";
|
|
8887
|
+
assessmentId: string;
|
|
8888
|
+
dimensionId: string;
|
|
8017
8889
|
} | {
|
|
8018
8890
|
kind: "workflow_step";
|
|
8019
8891
|
stepId: string;
|
|
@@ -8023,7 +8895,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8023
8895
|
}, {
|
|
8024
8896
|
blockers: readonly {
|
|
8025
8897
|
message: string;
|
|
8026
|
-
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";
|
|
8898
|
+
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";
|
|
8027
8899
|
pointer: {
|
|
8028
8900
|
key: string;
|
|
8029
8901
|
kind: "context_key";
|
|
@@ -8035,6 +8907,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8035
8907
|
} | {
|
|
8036
8908
|
kind: "capability";
|
|
8037
8909
|
capability: "delegation" | "web_browsing";
|
|
8910
|
+
} | {
|
|
8911
|
+
kind: "assessment_dimension";
|
|
8912
|
+
assessmentId: string;
|
|
8913
|
+
dimensionId: string;
|
|
8038
8914
|
} | {
|
|
8039
8915
|
kind: "workflow_step";
|
|
8040
8916
|
stepId: string;
|
|
@@ -8043,6 +8919,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8043
8919
|
}[];
|
|
8044
8920
|
}>>;
|
|
8045
8921
|
}, "strict", z.ZodTypeAny, {
|
|
8922
|
+
kind: "terminal_block";
|
|
8046
8923
|
reason: {
|
|
8047
8924
|
kind: "user_only_dependency";
|
|
8048
8925
|
stepId: string;
|
|
@@ -8060,11 +8937,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8060
8937
|
} | {
|
|
8061
8938
|
kind: "evaluation_error";
|
|
8062
8939
|
};
|
|
8063
|
-
kind: "terminal_block";
|
|
8064
8940
|
blockers: Readonly<{
|
|
8065
8941
|
blockers: readonly {
|
|
8066
8942
|
message: string;
|
|
8067
|
-
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";
|
|
8943
|
+
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";
|
|
8068
8944
|
pointer: {
|
|
8069
8945
|
key: string;
|
|
8070
8946
|
kind: "context_key";
|
|
@@ -8076,6 +8952,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8076
8952
|
} | {
|
|
8077
8953
|
kind: "capability";
|
|
8078
8954
|
capability: "delegation" | "web_browsing";
|
|
8955
|
+
} | {
|
|
8956
|
+
kind: "assessment_dimension";
|
|
8957
|
+
assessmentId: string;
|
|
8958
|
+
dimensionId: string;
|
|
8079
8959
|
} | {
|
|
8080
8960
|
kind: "workflow_step";
|
|
8081
8961
|
stepId: string;
|
|
@@ -8085,6 +8965,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8085
8965
|
}>;
|
|
8086
8966
|
validationRef?: string | undefined;
|
|
8087
8967
|
}, {
|
|
8968
|
+
kind: "terminal_block";
|
|
8088
8969
|
reason: {
|
|
8089
8970
|
kind: "user_only_dependency";
|
|
8090
8971
|
stepId: string;
|
|
@@ -8102,11 +8983,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8102
8983
|
} | {
|
|
8103
8984
|
kind: "evaluation_error";
|
|
8104
8985
|
};
|
|
8105
|
-
kind: "terminal_block";
|
|
8106
8986
|
blockers: Readonly<{
|
|
8107
8987
|
blockers: readonly {
|
|
8108
8988
|
message: string;
|
|
8109
|
-
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";
|
|
8989
|
+
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";
|
|
8110
8990
|
pointer: {
|
|
8111
8991
|
key: string;
|
|
8112
8992
|
kind: "context_key";
|
|
@@ -8118,6 +8998,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8118
8998
|
} | {
|
|
8119
8999
|
kind: "capability";
|
|
8120
9000
|
capability: "delegation" | "web_browsing";
|
|
9001
|
+
} | {
|
|
9002
|
+
kind: "assessment_dimension";
|
|
9003
|
+
assessmentId: string;
|
|
9004
|
+
dimensionId: string;
|
|
8121
9005
|
} | {
|
|
8122
9006
|
kind: "workflow_step";
|
|
8123
9007
|
stepId: string;
|
|
@@ -8128,13 +9012,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8128
9012
|
validationRef?: string | undefined;
|
|
8129
9013
|
}>]>;
|
|
8130
9014
|
}, "strict", z.ZodTypeAny, {
|
|
9015
|
+
kind: "blocked";
|
|
8131
9016
|
blocked: {
|
|
9017
|
+
kind: "retryable_block";
|
|
8132
9018
|
reason: {
|
|
8133
9019
|
kind: "invalid_required_output";
|
|
8134
9020
|
contractRef: string;
|
|
8135
9021
|
} | {
|
|
8136
9022
|
kind: "missing_required_output";
|
|
8137
9023
|
contractRef: string;
|
|
9024
|
+
} | {
|
|
9025
|
+
level: string;
|
|
9026
|
+
kind: "assessment_followup_required";
|
|
9027
|
+
assessmentId: string;
|
|
9028
|
+
guidance: string;
|
|
9029
|
+
dimensionId: string;
|
|
8138
9030
|
} | {
|
|
8139
9031
|
key: string;
|
|
8140
9032
|
kind: "missing_context_key";
|
|
@@ -8144,11 +9036,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8144
9036
|
kind: "missing_notes";
|
|
8145
9037
|
stepId: string;
|
|
8146
9038
|
};
|
|
8147
|
-
kind: "retryable_block";
|
|
8148
9039
|
blockers: Readonly<{
|
|
8149
9040
|
blockers: readonly {
|
|
8150
9041
|
message: string;
|
|
8151
|
-
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";
|
|
9042
|
+
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";
|
|
8152
9043
|
pointer: {
|
|
8153
9044
|
key: string;
|
|
8154
9045
|
kind: "context_key";
|
|
@@ -8160,6 +9051,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8160
9051
|
} | {
|
|
8161
9052
|
kind: "capability";
|
|
8162
9053
|
capability: "delegation" | "web_browsing";
|
|
9054
|
+
} | {
|
|
9055
|
+
kind: "assessment_dimension";
|
|
9056
|
+
assessmentId: string;
|
|
9057
|
+
dimensionId: string;
|
|
8163
9058
|
} | {
|
|
8164
9059
|
kind: "workflow_step";
|
|
8165
9060
|
stepId: string;
|
|
@@ -8168,8 +9063,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8168
9063
|
}[];
|
|
8169
9064
|
}>;
|
|
8170
9065
|
retryAttemptId: string;
|
|
8171
|
-
validationRef
|
|
9066
|
+
validationRef?: string | undefined;
|
|
8172
9067
|
} | {
|
|
9068
|
+
kind: "terminal_block";
|
|
8173
9069
|
reason: {
|
|
8174
9070
|
kind: "user_only_dependency";
|
|
8175
9071
|
stepId: string;
|
|
@@ -8187,11 +9083,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8187
9083
|
} | {
|
|
8188
9084
|
kind: "evaluation_error";
|
|
8189
9085
|
};
|
|
8190
|
-
kind: "terminal_block";
|
|
8191
9086
|
blockers: Readonly<{
|
|
8192
9087
|
blockers: readonly {
|
|
8193
9088
|
message: string;
|
|
8194
|
-
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";
|
|
9089
|
+
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";
|
|
8195
9090
|
pointer: {
|
|
8196
9091
|
key: string;
|
|
8197
9092
|
kind: "context_key";
|
|
@@ -8203,6 +9098,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8203
9098
|
} | {
|
|
8204
9099
|
kind: "capability";
|
|
8205
9100
|
capability: "delegation" | "web_browsing";
|
|
9101
|
+
} | {
|
|
9102
|
+
kind: "assessment_dimension";
|
|
9103
|
+
assessmentId: string;
|
|
9104
|
+
dimensionId: string;
|
|
8206
9105
|
} | {
|
|
8207
9106
|
kind: "workflow_step";
|
|
8208
9107
|
stepId: string;
|
|
@@ -8212,7 +9111,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8212
9111
|
}>;
|
|
8213
9112
|
validationRef?: string | undefined;
|
|
8214
9113
|
};
|
|
8215
|
-
kind: "blocked";
|
|
8216
9114
|
completed: {
|
|
8217
9115
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
8218
9116
|
kind: "set";
|
|
@@ -8241,13 +9139,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8241
9139
|
};
|
|
8242
9140
|
};
|
|
8243
9141
|
}, {
|
|
9142
|
+
kind: "blocked";
|
|
8244
9143
|
blocked: {
|
|
9144
|
+
kind: "retryable_block";
|
|
8245
9145
|
reason: {
|
|
8246
9146
|
kind: "invalid_required_output";
|
|
8247
9147
|
contractRef: string;
|
|
8248
9148
|
} | {
|
|
8249
9149
|
kind: "missing_required_output";
|
|
8250
9150
|
contractRef: string;
|
|
9151
|
+
} | {
|
|
9152
|
+
level: string;
|
|
9153
|
+
kind: "assessment_followup_required";
|
|
9154
|
+
assessmentId: string;
|
|
9155
|
+
guidance: string;
|
|
9156
|
+
dimensionId: string;
|
|
8251
9157
|
} | {
|
|
8252
9158
|
key: string;
|
|
8253
9159
|
kind: "missing_context_key";
|
|
@@ -8257,11 +9163,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8257
9163
|
kind: "missing_notes";
|
|
8258
9164
|
stepId: string;
|
|
8259
9165
|
};
|
|
8260
|
-
kind: "retryable_block";
|
|
8261
9166
|
blockers: Readonly<{
|
|
8262
9167
|
blockers: readonly {
|
|
8263
9168
|
message: string;
|
|
8264
|
-
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";
|
|
9169
|
+
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";
|
|
8265
9170
|
pointer: {
|
|
8266
9171
|
key: string;
|
|
8267
9172
|
kind: "context_key";
|
|
@@ -8273,6 +9178,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8273
9178
|
} | {
|
|
8274
9179
|
kind: "capability";
|
|
8275
9180
|
capability: "delegation" | "web_browsing";
|
|
9181
|
+
} | {
|
|
9182
|
+
kind: "assessment_dimension";
|
|
9183
|
+
assessmentId: string;
|
|
9184
|
+
dimensionId: string;
|
|
8276
9185
|
} | {
|
|
8277
9186
|
kind: "workflow_step";
|
|
8278
9187
|
stepId: string;
|
|
@@ -8281,8 +9190,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8281
9190
|
}[];
|
|
8282
9191
|
}>;
|
|
8283
9192
|
retryAttemptId: string;
|
|
8284
|
-
validationRef
|
|
9193
|
+
validationRef?: string | undefined;
|
|
8285
9194
|
} | {
|
|
9195
|
+
kind: "terminal_block";
|
|
8286
9196
|
reason: {
|
|
8287
9197
|
kind: "user_only_dependency";
|
|
8288
9198
|
stepId: string;
|
|
@@ -8300,11 +9210,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8300
9210
|
} | {
|
|
8301
9211
|
kind: "evaluation_error";
|
|
8302
9212
|
};
|
|
8303
|
-
kind: "terminal_block";
|
|
8304
9213
|
blockers: Readonly<{
|
|
8305
9214
|
blockers: readonly {
|
|
8306
9215
|
message: string;
|
|
8307
|
-
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";
|
|
9216
|
+
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";
|
|
8308
9217
|
pointer: {
|
|
8309
9218
|
key: string;
|
|
8310
9219
|
kind: "context_key";
|
|
@@ -8316,6 +9225,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8316
9225
|
} | {
|
|
8317
9226
|
kind: "capability";
|
|
8318
9227
|
capability: "delegation" | "web_browsing";
|
|
9228
|
+
} | {
|
|
9229
|
+
kind: "assessment_dimension";
|
|
9230
|
+
assessmentId: string;
|
|
9231
|
+
dimensionId: string;
|
|
8319
9232
|
} | {
|
|
8320
9233
|
kind: "workflow_step";
|
|
8321
9234
|
stepId: string;
|
|
@@ -8325,7 +9238,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8325
9238
|
}>;
|
|
8326
9239
|
validationRef?: string | undefined;
|
|
8327
9240
|
};
|
|
8328
|
-
kind: "blocked";
|
|
8329
9241
|
completed: {
|
|
8330
9242
|
values: string[];
|
|
8331
9243
|
kind: "set";
|
|
@@ -8385,13 +9297,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8385
9297
|
};
|
|
8386
9298
|
};
|
|
8387
9299
|
} | {
|
|
9300
|
+
kind: "blocked";
|
|
8388
9301
|
blocked: {
|
|
9302
|
+
kind: "retryable_block";
|
|
8389
9303
|
reason: {
|
|
8390
9304
|
kind: "invalid_required_output";
|
|
8391
9305
|
contractRef: string;
|
|
8392
9306
|
} | {
|
|
8393
9307
|
kind: "missing_required_output";
|
|
8394
9308
|
contractRef: string;
|
|
9309
|
+
} | {
|
|
9310
|
+
level: string;
|
|
9311
|
+
kind: "assessment_followup_required";
|
|
9312
|
+
assessmentId: string;
|
|
9313
|
+
guidance: string;
|
|
9314
|
+
dimensionId: string;
|
|
8395
9315
|
} | {
|
|
8396
9316
|
key: string;
|
|
8397
9317
|
kind: "missing_context_key";
|
|
@@ -8401,11 +9321,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8401
9321
|
kind: "missing_notes";
|
|
8402
9322
|
stepId: string;
|
|
8403
9323
|
};
|
|
8404
|
-
kind: "retryable_block";
|
|
8405
9324
|
blockers: Readonly<{
|
|
8406
9325
|
blockers: readonly {
|
|
8407
9326
|
message: string;
|
|
8408
|
-
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";
|
|
9327
|
+
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";
|
|
8409
9328
|
pointer: {
|
|
8410
9329
|
key: string;
|
|
8411
9330
|
kind: "context_key";
|
|
@@ -8417,6 +9336,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8417
9336
|
} | {
|
|
8418
9337
|
kind: "capability";
|
|
8419
9338
|
capability: "delegation" | "web_browsing";
|
|
9339
|
+
} | {
|
|
9340
|
+
kind: "assessment_dimension";
|
|
9341
|
+
assessmentId: string;
|
|
9342
|
+
dimensionId: string;
|
|
8420
9343
|
} | {
|
|
8421
9344
|
kind: "workflow_step";
|
|
8422
9345
|
stepId: string;
|
|
@@ -8425,8 +9348,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8425
9348
|
}[];
|
|
8426
9349
|
}>;
|
|
8427
9350
|
retryAttemptId: string;
|
|
8428
|
-
validationRef
|
|
9351
|
+
validationRef?: string | undefined;
|
|
8429
9352
|
} | {
|
|
9353
|
+
kind: "terminal_block";
|
|
8430
9354
|
reason: {
|
|
8431
9355
|
kind: "user_only_dependency";
|
|
8432
9356
|
stepId: string;
|
|
@@ -8444,11 +9368,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8444
9368
|
} | {
|
|
8445
9369
|
kind: "evaluation_error";
|
|
8446
9370
|
};
|
|
8447
|
-
kind: "terminal_block";
|
|
8448
9371
|
blockers: Readonly<{
|
|
8449
9372
|
blockers: readonly {
|
|
8450
9373
|
message: string;
|
|
8451
|
-
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";
|
|
9374
|
+
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";
|
|
8452
9375
|
pointer: {
|
|
8453
9376
|
key: string;
|
|
8454
9377
|
kind: "context_key";
|
|
@@ -8460,6 +9383,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8460
9383
|
} | {
|
|
8461
9384
|
kind: "capability";
|
|
8462
9385
|
capability: "delegation" | "web_browsing";
|
|
9386
|
+
} | {
|
|
9387
|
+
kind: "assessment_dimension";
|
|
9388
|
+
assessmentId: string;
|
|
9389
|
+
dimensionId: string;
|
|
8463
9390
|
} | {
|
|
8464
9391
|
kind: "workflow_step";
|
|
8465
9392
|
stepId: string;
|
|
@@ -8469,7 +9396,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8469
9396
|
}>;
|
|
8470
9397
|
validationRef?: string | undefined;
|
|
8471
9398
|
};
|
|
8472
|
-
kind: "blocked";
|
|
8473
9399
|
completed: {
|
|
8474
9400
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
8475
9401
|
kind: "set";
|
|
@@ -8525,13 +9451,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8525
9451
|
};
|
|
8526
9452
|
};
|
|
8527
9453
|
} | {
|
|
9454
|
+
kind: "blocked";
|
|
8528
9455
|
blocked: {
|
|
9456
|
+
kind: "retryable_block";
|
|
8529
9457
|
reason: {
|
|
8530
9458
|
kind: "invalid_required_output";
|
|
8531
9459
|
contractRef: string;
|
|
8532
9460
|
} | {
|
|
8533
9461
|
kind: "missing_required_output";
|
|
8534
9462
|
contractRef: string;
|
|
9463
|
+
} | {
|
|
9464
|
+
level: string;
|
|
9465
|
+
kind: "assessment_followup_required";
|
|
9466
|
+
assessmentId: string;
|
|
9467
|
+
guidance: string;
|
|
9468
|
+
dimensionId: string;
|
|
8535
9469
|
} | {
|
|
8536
9470
|
key: string;
|
|
8537
9471
|
kind: "missing_context_key";
|
|
@@ -8541,11 +9475,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8541
9475
|
kind: "missing_notes";
|
|
8542
9476
|
stepId: string;
|
|
8543
9477
|
};
|
|
8544
|
-
kind: "retryable_block";
|
|
8545
9478
|
blockers: Readonly<{
|
|
8546
9479
|
blockers: readonly {
|
|
8547
9480
|
message: string;
|
|
8548
|
-
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";
|
|
9481
|
+
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";
|
|
8549
9482
|
pointer: {
|
|
8550
9483
|
key: string;
|
|
8551
9484
|
kind: "context_key";
|
|
@@ -8557,6 +9490,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8557
9490
|
} | {
|
|
8558
9491
|
kind: "capability";
|
|
8559
9492
|
capability: "delegation" | "web_browsing";
|
|
9493
|
+
} | {
|
|
9494
|
+
kind: "assessment_dimension";
|
|
9495
|
+
assessmentId: string;
|
|
9496
|
+
dimensionId: string;
|
|
8560
9497
|
} | {
|
|
8561
9498
|
kind: "workflow_step";
|
|
8562
9499
|
stepId: string;
|
|
@@ -8565,8 +9502,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8565
9502
|
}[];
|
|
8566
9503
|
}>;
|
|
8567
9504
|
retryAttemptId: string;
|
|
8568
|
-
validationRef
|
|
9505
|
+
validationRef?: string | undefined;
|
|
8569
9506
|
} | {
|
|
9507
|
+
kind: "terminal_block";
|
|
8570
9508
|
reason: {
|
|
8571
9509
|
kind: "user_only_dependency";
|
|
8572
9510
|
stepId: string;
|
|
@@ -8584,11 +9522,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8584
9522
|
} | {
|
|
8585
9523
|
kind: "evaluation_error";
|
|
8586
9524
|
};
|
|
8587
|
-
kind: "terminal_block";
|
|
8588
9525
|
blockers: Readonly<{
|
|
8589
9526
|
blockers: readonly {
|
|
8590
9527
|
message: string;
|
|
8591
|
-
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";
|
|
9528
|
+
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";
|
|
8592
9529
|
pointer: {
|
|
8593
9530
|
key: string;
|
|
8594
9531
|
kind: "context_key";
|
|
@@ -8600,6 +9537,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8600
9537
|
} | {
|
|
8601
9538
|
kind: "capability";
|
|
8602
9539
|
capability: "delegation" | "web_browsing";
|
|
9540
|
+
} | {
|
|
9541
|
+
kind: "assessment_dimension";
|
|
9542
|
+
assessmentId: string;
|
|
9543
|
+
dimensionId: string;
|
|
8603
9544
|
} | {
|
|
8604
9545
|
kind: "workflow_step";
|
|
8605
9546
|
stepId: string;
|
|
@@ -8609,7 +9550,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8609
9550
|
}>;
|
|
8610
9551
|
validationRef?: string | undefined;
|
|
8611
9552
|
};
|
|
8612
|
-
kind: "blocked";
|
|
8613
9553
|
completed: {
|
|
8614
9554
|
values: string[];
|
|
8615
9555
|
kind: "set";
|
|
@@ -8668,13 +9608,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8668
9608
|
};
|
|
8669
9609
|
};
|
|
8670
9610
|
} | {
|
|
9611
|
+
kind: "blocked";
|
|
8671
9612
|
blocked: {
|
|
9613
|
+
kind: "retryable_block";
|
|
8672
9614
|
reason: {
|
|
8673
9615
|
kind: "invalid_required_output";
|
|
8674
9616
|
contractRef: string;
|
|
8675
9617
|
} | {
|
|
8676
9618
|
kind: "missing_required_output";
|
|
8677
9619
|
contractRef: string;
|
|
9620
|
+
} | {
|
|
9621
|
+
level: string;
|
|
9622
|
+
kind: "assessment_followup_required";
|
|
9623
|
+
assessmentId: string;
|
|
9624
|
+
guidance: string;
|
|
9625
|
+
dimensionId: string;
|
|
8678
9626
|
} | {
|
|
8679
9627
|
key: string;
|
|
8680
9628
|
kind: "missing_context_key";
|
|
@@ -8684,11 +9632,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8684
9632
|
kind: "missing_notes";
|
|
8685
9633
|
stepId: string;
|
|
8686
9634
|
};
|
|
8687
|
-
kind: "retryable_block";
|
|
8688
9635
|
blockers: Readonly<{
|
|
8689
9636
|
blockers: readonly {
|
|
8690
9637
|
message: string;
|
|
8691
|
-
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";
|
|
9638
|
+
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";
|
|
8692
9639
|
pointer: {
|
|
8693
9640
|
key: string;
|
|
8694
9641
|
kind: "context_key";
|
|
@@ -8700,6 +9647,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8700
9647
|
} | {
|
|
8701
9648
|
kind: "capability";
|
|
8702
9649
|
capability: "delegation" | "web_browsing";
|
|
9650
|
+
} | {
|
|
9651
|
+
kind: "assessment_dimension";
|
|
9652
|
+
assessmentId: string;
|
|
9653
|
+
dimensionId: string;
|
|
8703
9654
|
} | {
|
|
8704
9655
|
kind: "workflow_step";
|
|
8705
9656
|
stepId: string;
|
|
@@ -8708,8 +9659,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8708
9659
|
}[];
|
|
8709
9660
|
}>;
|
|
8710
9661
|
retryAttemptId: string;
|
|
8711
|
-
validationRef
|
|
9662
|
+
validationRef?: string | undefined;
|
|
8712
9663
|
} | {
|
|
9664
|
+
kind: "terminal_block";
|
|
8713
9665
|
reason: {
|
|
8714
9666
|
kind: "user_only_dependency";
|
|
8715
9667
|
stepId: string;
|
|
@@ -8727,11 +9679,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8727
9679
|
} | {
|
|
8728
9680
|
kind: "evaluation_error";
|
|
8729
9681
|
};
|
|
8730
|
-
kind: "terminal_block";
|
|
8731
9682
|
blockers: Readonly<{
|
|
8732
9683
|
blockers: readonly {
|
|
8733
9684
|
message: string;
|
|
8734
|
-
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";
|
|
9685
|
+
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
9686
|
pointer: {
|
|
8736
9687
|
key: string;
|
|
8737
9688
|
kind: "context_key";
|
|
@@ -8743,6 +9694,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8743
9694
|
} | {
|
|
8744
9695
|
kind: "capability";
|
|
8745
9696
|
capability: "delegation" | "web_browsing";
|
|
9697
|
+
} | {
|
|
9698
|
+
kind: "assessment_dimension";
|
|
9699
|
+
assessmentId: string;
|
|
9700
|
+
dimensionId: string;
|
|
8746
9701
|
} | {
|
|
8747
9702
|
kind: "workflow_step";
|
|
8748
9703
|
stepId: string;
|
|
@@ -8752,7 +9707,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8752
9707
|
}>;
|
|
8753
9708
|
validationRef?: string | undefined;
|
|
8754
9709
|
};
|
|
8755
|
-
kind: "blocked";
|
|
8756
9710
|
completed: {
|
|
8757
9711
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
8758
9712
|
kind: "set";
|
|
@@ -8811,13 +9765,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8811
9765
|
};
|
|
8812
9766
|
};
|
|
8813
9767
|
} | {
|
|
9768
|
+
kind: "blocked";
|
|
8814
9769
|
blocked: {
|
|
9770
|
+
kind: "retryable_block";
|
|
8815
9771
|
reason: {
|
|
8816
9772
|
kind: "invalid_required_output";
|
|
8817
9773
|
contractRef: string;
|
|
8818
9774
|
} | {
|
|
8819
9775
|
kind: "missing_required_output";
|
|
8820
9776
|
contractRef: string;
|
|
9777
|
+
} | {
|
|
9778
|
+
level: string;
|
|
9779
|
+
kind: "assessment_followup_required";
|
|
9780
|
+
assessmentId: string;
|
|
9781
|
+
guidance: string;
|
|
9782
|
+
dimensionId: string;
|
|
8821
9783
|
} | {
|
|
8822
9784
|
key: string;
|
|
8823
9785
|
kind: "missing_context_key";
|
|
@@ -8827,11 +9789,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8827
9789
|
kind: "missing_notes";
|
|
8828
9790
|
stepId: string;
|
|
8829
9791
|
};
|
|
8830
|
-
kind: "retryable_block";
|
|
8831
9792
|
blockers: Readonly<{
|
|
8832
9793
|
blockers: readonly {
|
|
8833
9794
|
message: string;
|
|
8834
|
-
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";
|
|
9795
|
+
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";
|
|
8835
9796
|
pointer: {
|
|
8836
9797
|
key: string;
|
|
8837
9798
|
kind: "context_key";
|
|
@@ -8843,6 +9804,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8843
9804
|
} | {
|
|
8844
9805
|
kind: "capability";
|
|
8845
9806
|
capability: "delegation" | "web_browsing";
|
|
9807
|
+
} | {
|
|
9808
|
+
kind: "assessment_dimension";
|
|
9809
|
+
assessmentId: string;
|
|
9810
|
+
dimensionId: string;
|
|
8846
9811
|
} | {
|
|
8847
9812
|
kind: "workflow_step";
|
|
8848
9813
|
stepId: string;
|
|
@@ -8851,8 +9816,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8851
9816
|
}[];
|
|
8852
9817
|
}>;
|
|
8853
9818
|
retryAttemptId: string;
|
|
8854
|
-
validationRef
|
|
9819
|
+
validationRef?: string | undefined;
|
|
8855
9820
|
} | {
|
|
9821
|
+
kind: "terminal_block";
|
|
8856
9822
|
reason: {
|
|
8857
9823
|
kind: "user_only_dependency";
|
|
8858
9824
|
stepId: string;
|
|
@@ -8870,11 +9836,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8870
9836
|
} | {
|
|
8871
9837
|
kind: "evaluation_error";
|
|
8872
9838
|
};
|
|
8873
|
-
kind: "terminal_block";
|
|
8874
9839
|
blockers: Readonly<{
|
|
8875
9840
|
blockers: readonly {
|
|
8876
9841
|
message: string;
|
|
8877
|
-
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";
|
|
9842
|
+
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";
|
|
8878
9843
|
pointer: {
|
|
8879
9844
|
key: string;
|
|
8880
9845
|
kind: "context_key";
|
|
@@ -8886,6 +9851,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8886
9851
|
} | {
|
|
8887
9852
|
kind: "capability";
|
|
8888
9853
|
capability: "delegation" | "web_browsing";
|
|
9854
|
+
} | {
|
|
9855
|
+
kind: "assessment_dimension";
|
|
9856
|
+
assessmentId: string;
|
|
9857
|
+
dimensionId: string;
|
|
8889
9858
|
} | {
|
|
8890
9859
|
kind: "workflow_step";
|
|
8891
9860
|
stepId: string;
|
|
@@ -8895,7 +9864,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8895
9864
|
}>;
|
|
8896
9865
|
validationRef?: string | undefined;
|
|
8897
9866
|
};
|
|
8898
|
-
kind: "blocked";
|
|
8899
9867
|
completed: {
|
|
8900
9868
|
values: string[];
|
|
8901
9869
|
kind: "set";
|
|
@@ -8958,13 +9926,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8958
9926
|
};
|
|
8959
9927
|
};
|
|
8960
9928
|
} | {
|
|
9929
|
+
kind: "blocked";
|
|
8961
9930
|
blocked: {
|
|
9931
|
+
kind: "retryable_block";
|
|
8962
9932
|
reason: {
|
|
8963
9933
|
kind: "invalid_required_output";
|
|
8964
9934
|
contractRef: string;
|
|
8965
9935
|
} | {
|
|
8966
9936
|
kind: "missing_required_output";
|
|
8967
9937
|
contractRef: string;
|
|
9938
|
+
} | {
|
|
9939
|
+
level: string;
|
|
9940
|
+
kind: "assessment_followup_required";
|
|
9941
|
+
assessmentId: string;
|
|
9942
|
+
guidance: string;
|
|
9943
|
+
dimensionId: string;
|
|
8968
9944
|
} | {
|
|
8969
9945
|
key: string;
|
|
8970
9946
|
kind: "missing_context_key";
|
|
@@ -8974,11 +9950,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8974
9950
|
kind: "missing_notes";
|
|
8975
9951
|
stepId: string;
|
|
8976
9952
|
};
|
|
8977
|
-
kind: "retryable_block";
|
|
8978
9953
|
blockers: Readonly<{
|
|
8979
9954
|
blockers: readonly {
|
|
8980
9955
|
message: string;
|
|
8981
|
-
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";
|
|
9956
|
+
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";
|
|
8982
9957
|
pointer: {
|
|
8983
9958
|
key: string;
|
|
8984
9959
|
kind: "context_key";
|
|
@@ -8990,6 +9965,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8990
9965
|
} | {
|
|
8991
9966
|
kind: "capability";
|
|
8992
9967
|
capability: "delegation" | "web_browsing";
|
|
9968
|
+
} | {
|
|
9969
|
+
kind: "assessment_dimension";
|
|
9970
|
+
assessmentId: string;
|
|
9971
|
+
dimensionId: string;
|
|
8993
9972
|
} | {
|
|
8994
9973
|
kind: "workflow_step";
|
|
8995
9974
|
stepId: string;
|
|
@@ -8998,8 +9977,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
8998
9977
|
}[];
|
|
8999
9978
|
}>;
|
|
9000
9979
|
retryAttemptId: string;
|
|
9001
|
-
validationRef
|
|
9980
|
+
validationRef?: string | undefined;
|
|
9002
9981
|
} | {
|
|
9982
|
+
kind: "terminal_block";
|
|
9003
9983
|
reason: {
|
|
9004
9984
|
kind: "user_only_dependency";
|
|
9005
9985
|
stepId: string;
|
|
@@ -9017,11 +9997,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9017
9997
|
} | {
|
|
9018
9998
|
kind: "evaluation_error";
|
|
9019
9999
|
};
|
|
9020
|
-
kind: "terminal_block";
|
|
9021
10000
|
blockers: Readonly<{
|
|
9022
10001
|
blockers: readonly {
|
|
9023
10002
|
message: string;
|
|
9024
|
-
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";
|
|
10003
|
+
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";
|
|
9025
10004
|
pointer: {
|
|
9026
10005
|
key: string;
|
|
9027
10006
|
kind: "context_key";
|
|
@@ -9033,6 +10012,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9033
10012
|
} | {
|
|
9034
10013
|
kind: "capability";
|
|
9035
10014
|
capability: "delegation" | "web_browsing";
|
|
10015
|
+
} | {
|
|
10016
|
+
kind: "assessment_dimension";
|
|
10017
|
+
assessmentId: string;
|
|
10018
|
+
dimensionId: string;
|
|
9036
10019
|
} | {
|
|
9037
10020
|
kind: "workflow_step";
|
|
9038
10021
|
stepId: string;
|
|
@@ -9042,7 +10025,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9042
10025
|
}>;
|
|
9043
10026
|
validationRef?: string | undefined;
|
|
9044
10027
|
};
|
|
9045
|
-
kind: "blocked";
|
|
9046
10028
|
completed: {
|
|
9047
10029
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
9048
10030
|
kind: "set";
|
|
@@ -9105,13 +10087,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9105
10087
|
};
|
|
9106
10088
|
};
|
|
9107
10089
|
} | {
|
|
10090
|
+
kind: "blocked";
|
|
9108
10091
|
blocked: {
|
|
10092
|
+
kind: "retryable_block";
|
|
9109
10093
|
reason: {
|
|
9110
10094
|
kind: "invalid_required_output";
|
|
9111
10095
|
contractRef: string;
|
|
9112
10096
|
} | {
|
|
9113
10097
|
kind: "missing_required_output";
|
|
9114
10098
|
contractRef: string;
|
|
10099
|
+
} | {
|
|
10100
|
+
level: string;
|
|
10101
|
+
kind: "assessment_followup_required";
|
|
10102
|
+
assessmentId: string;
|
|
10103
|
+
guidance: string;
|
|
10104
|
+
dimensionId: string;
|
|
9115
10105
|
} | {
|
|
9116
10106
|
key: string;
|
|
9117
10107
|
kind: "missing_context_key";
|
|
@@ -9121,11 +10111,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9121
10111
|
kind: "missing_notes";
|
|
9122
10112
|
stepId: string;
|
|
9123
10113
|
};
|
|
9124
|
-
kind: "retryable_block";
|
|
9125
10114
|
blockers: Readonly<{
|
|
9126
10115
|
blockers: readonly {
|
|
9127
10116
|
message: string;
|
|
9128
|
-
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";
|
|
10117
|
+
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";
|
|
9129
10118
|
pointer: {
|
|
9130
10119
|
key: string;
|
|
9131
10120
|
kind: "context_key";
|
|
@@ -9137,6 +10126,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9137
10126
|
} | {
|
|
9138
10127
|
kind: "capability";
|
|
9139
10128
|
capability: "delegation" | "web_browsing";
|
|
10129
|
+
} | {
|
|
10130
|
+
kind: "assessment_dimension";
|
|
10131
|
+
assessmentId: string;
|
|
10132
|
+
dimensionId: string;
|
|
9140
10133
|
} | {
|
|
9141
10134
|
kind: "workflow_step";
|
|
9142
10135
|
stepId: string;
|
|
@@ -9145,8 +10138,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9145
10138
|
}[];
|
|
9146
10139
|
}>;
|
|
9147
10140
|
retryAttemptId: string;
|
|
9148
|
-
validationRef
|
|
10141
|
+
validationRef?: string | undefined;
|
|
9149
10142
|
} | {
|
|
10143
|
+
kind: "terminal_block";
|
|
9150
10144
|
reason: {
|
|
9151
10145
|
kind: "user_only_dependency";
|
|
9152
10146
|
stepId: string;
|
|
@@ -9164,11 +10158,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9164
10158
|
} | {
|
|
9165
10159
|
kind: "evaluation_error";
|
|
9166
10160
|
};
|
|
9167
|
-
kind: "terminal_block";
|
|
9168
10161
|
blockers: Readonly<{
|
|
9169
10162
|
blockers: readonly {
|
|
9170
10163
|
message: string;
|
|
9171
|
-
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";
|
|
10164
|
+
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";
|
|
9172
10165
|
pointer: {
|
|
9173
10166
|
key: string;
|
|
9174
10167
|
kind: "context_key";
|
|
@@ -9180,6 +10173,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9180
10173
|
} | {
|
|
9181
10174
|
kind: "capability";
|
|
9182
10175
|
capability: "delegation" | "web_browsing";
|
|
10176
|
+
} | {
|
|
10177
|
+
kind: "assessment_dimension";
|
|
10178
|
+
assessmentId: string;
|
|
10179
|
+
dimensionId: string;
|
|
9183
10180
|
} | {
|
|
9184
10181
|
kind: "workflow_step";
|
|
9185
10182
|
stepId: string;
|
|
@@ -9189,7 +10186,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9189
10186
|
}>;
|
|
9190
10187
|
validationRef?: string | undefined;
|
|
9191
10188
|
};
|
|
9192
|
-
kind: "blocked";
|
|
9193
10189
|
completed: {
|
|
9194
10190
|
values: string[];
|
|
9195
10191
|
kind: "set";
|
|
@@ -9256,13 +10252,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9256
10252
|
};
|
|
9257
10253
|
};
|
|
9258
10254
|
} | {
|
|
10255
|
+
kind: "blocked";
|
|
9259
10256
|
blocked: {
|
|
10257
|
+
kind: "retryable_block";
|
|
9260
10258
|
reason: {
|
|
9261
10259
|
kind: "invalid_required_output";
|
|
9262
10260
|
contractRef: string;
|
|
9263
10261
|
} | {
|
|
9264
10262
|
kind: "missing_required_output";
|
|
9265
10263
|
contractRef: string;
|
|
10264
|
+
} | {
|
|
10265
|
+
level: string;
|
|
10266
|
+
kind: "assessment_followup_required";
|
|
10267
|
+
assessmentId: string;
|
|
10268
|
+
guidance: string;
|
|
10269
|
+
dimensionId: string;
|
|
9266
10270
|
} | {
|
|
9267
10271
|
key: string;
|
|
9268
10272
|
kind: "missing_context_key";
|
|
@@ -9272,11 +10276,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9272
10276
|
kind: "missing_notes";
|
|
9273
10277
|
stepId: string;
|
|
9274
10278
|
};
|
|
9275
|
-
kind: "retryable_block";
|
|
9276
10279
|
blockers: Readonly<{
|
|
9277
10280
|
blockers: readonly {
|
|
9278
10281
|
message: string;
|
|
9279
|
-
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";
|
|
10282
|
+
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";
|
|
9280
10283
|
pointer: {
|
|
9281
10284
|
key: string;
|
|
9282
10285
|
kind: "context_key";
|
|
@@ -9288,6 +10291,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9288
10291
|
} | {
|
|
9289
10292
|
kind: "capability";
|
|
9290
10293
|
capability: "delegation" | "web_browsing";
|
|
10294
|
+
} | {
|
|
10295
|
+
kind: "assessment_dimension";
|
|
10296
|
+
assessmentId: string;
|
|
10297
|
+
dimensionId: string;
|
|
9291
10298
|
} | {
|
|
9292
10299
|
kind: "workflow_step";
|
|
9293
10300
|
stepId: string;
|
|
@@ -9296,8 +10303,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9296
10303
|
}[];
|
|
9297
10304
|
}>;
|
|
9298
10305
|
retryAttemptId: string;
|
|
9299
|
-
validationRef
|
|
10306
|
+
validationRef?: string | undefined;
|
|
9300
10307
|
} | {
|
|
10308
|
+
kind: "terminal_block";
|
|
9301
10309
|
reason: {
|
|
9302
10310
|
kind: "user_only_dependency";
|
|
9303
10311
|
stepId: string;
|
|
@@ -9315,11 +10323,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9315
10323
|
} | {
|
|
9316
10324
|
kind: "evaluation_error";
|
|
9317
10325
|
};
|
|
9318
|
-
kind: "terminal_block";
|
|
9319
10326
|
blockers: Readonly<{
|
|
9320
10327
|
blockers: readonly {
|
|
9321
10328
|
message: string;
|
|
9322
|
-
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";
|
|
10329
|
+
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";
|
|
9323
10330
|
pointer: {
|
|
9324
10331
|
key: string;
|
|
9325
10332
|
kind: "context_key";
|
|
@@ -9331,6 +10338,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9331
10338
|
} | {
|
|
9332
10339
|
kind: "capability";
|
|
9333
10340
|
capability: "delegation" | "web_browsing";
|
|
10341
|
+
} | {
|
|
10342
|
+
kind: "assessment_dimension";
|
|
10343
|
+
assessmentId: string;
|
|
10344
|
+
dimensionId: string;
|
|
9334
10345
|
} | {
|
|
9335
10346
|
kind: "workflow_step";
|
|
9336
10347
|
stepId: string;
|
|
@@ -9340,7 +10351,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9340
10351
|
}>;
|
|
9341
10352
|
validationRef?: string | undefined;
|
|
9342
10353
|
};
|
|
9343
|
-
kind: "blocked";
|
|
9344
10354
|
completed: {
|
|
9345
10355
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
9346
10356
|
kind: "set";
|
|
@@ -9549,6 +10559,53 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9549
10559
|
runId: string;
|
|
9550
10560
|
nodeId: string;
|
|
9551
10561
|
};
|
|
10562
|
+
} | {
|
|
10563
|
+
kind: "assessment_recorded";
|
|
10564
|
+
sessionId: string;
|
|
10565
|
+
data: {
|
|
10566
|
+
assessmentId: string;
|
|
10567
|
+
dimensions: readonly {
|
|
10568
|
+
level: string;
|
|
10569
|
+
dimensionId: string;
|
|
10570
|
+
normalization: "exact" | "normalized";
|
|
10571
|
+
rationale?: string | undefined;
|
|
10572
|
+
}[];
|
|
10573
|
+
attemptId: string;
|
|
10574
|
+
artifactOutputId: string;
|
|
10575
|
+
normalizationNotes: readonly string[];
|
|
10576
|
+
summary?: string | undefined;
|
|
10577
|
+
};
|
|
10578
|
+
v: 1;
|
|
10579
|
+
eventIndex: number;
|
|
10580
|
+
eventId: string;
|
|
10581
|
+
dedupeKey: string;
|
|
10582
|
+
scope: {
|
|
10583
|
+
runId: string;
|
|
10584
|
+
nodeId: string;
|
|
10585
|
+
};
|
|
10586
|
+
} | {
|
|
10587
|
+
kind: "assessment_consequence_applied";
|
|
10588
|
+
sessionId: string;
|
|
10589
|
+
data: {
|
|
10590
|
+
assessmentId: string;
|
|
10591
|
+
effect: {
|
|
10592
|
+
kind: "require_followup";
|
|
10593
|
+
guidance: string;
|
|
10594
|
+
};
|
|
10595
|
+
attemptId: string;
|
|
10596
|
+
trigger: {
|
|
10597
|
+
level: string;
|
|
10598
|
+
dimensionId: string;
|
|
10599
|
+
};
|
|
10600
|
+
};
|
|
10601
|
+
v: 1;
|
|
10602
|
+
eventIndex: number;
|
|
10603
|
+
eventId: string;
|
|
10604
|
+
dedupeKey: string;
|
|
10605
|
+
scope: {
|
|
10606
|
+
runId: string;
|
|
10607
|
+
nodeId: string;
|
|
10608
|
+
};
|
|
9552
10609
|
} | {
|
|
9553
10610
|
kind: "preferences_changed";
|
|
9554
10611
|
sessionId: string;
|
|
@@ -9619,6 +10676,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9619
10676
|
kind: "gap_recorded";
|
|
9620
10677
|
sessionId: string;
|
|
9621
10678
|
data: {
|
|
10679
|
+
summary: string;
|
|
9622
10680
|
reason: {
|
|
9623
10681
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
9624
10682
|
category: "user_only_dependency";
|
|
@@ -9640,7 +10698,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9640
10698
|
};
|
|
9641
10699
|
gapId: string;
|
|
9642
10700
|
severity: "warning" | "info" | "critical";
|
|
9643
|
-
summary: string;
|
|
9644
10701
|
evidenceRefs?: ({
|
|
9645
10702
|
kind: "event";
|
|
9646
10703
|
eventId: string;
|
|
@@ -9676,8 +10733,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9676
10733
|
kind: "divergence_recorded";
|
|
9677
10734
|
sessionId: string;
|
|
9678
10735
|
data: {
|
|
9679
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
9680
10736
|
summary: string;
|
|
10737
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
9681
10738
|
divergenceId: string;
|
|
9682
10739
|
relatedStepId?: string | undefined;
|
|
9683
10740
|
};
|
|
@@ -9774,13 +10831,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9774
10831
|
};
|
|
9775
10832
|
};
|
|
9776
10833
|
} | {
|
|
10834
|
+
kind: "blocked";
|
|
9777
10835
|
blocked: {
|
|
10836
|
+
kind: "retryable_block";
|
|
9778
10837
|
reason: {
|
|
9779
10838
|
kind: "invalid_required_output";
|
|
9780
10839
|
contractRef: string;
|
|
9781
10840
|
} | {
|
|
9782
10841
|
kind: "missing_required_output";
|
|
9783
10842
|
contractRef: string;
|
|
10843
|
+
} | {
|
|
10844
|
+
level: string;
|
|
10845
|
+
kind: "assessment_followup_required";
|
|
10846
|
+
assessmentId: string;
|
|
10847
|
+
guidance: string;
|
|
10848
|
+
dimensionId: string;
|
|
9784
10849
|
} | {
|
|
9785
10850
|
key: string;
|
|
9786
10851
|
kind: "missing_context_key";
|
|
@@ -9790,11 +10855,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9790
10855
|
kind: "missing_notes";
|
|
9791
10856
|
stepId: string;
|
|
9792
10857
|
};
|
|
9793
|
-
kind: "retryable_block";
|
|
9794
10858
|
blockers: Readonly<{
|
|
9795
10859
|
blockers: readonly {
|
|
9796
10860
|
message: string;
|
|
9797
|
-
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";
|
|
10861
|
+
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";
|
|
9798
10862
|
pointer: {
|
|
9799
10863
|
key: string;
|
|
9800
10864
|
kind: "context_key";
|
|
@@ -9806,6 +10870,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9806
10870
|
} | {
|
|
9807
10871
|
kind: "capability";
|
|
9808
10872
|
capability: "delegation" | "web_browsing";
|
|
10873
|
+
} | {
|
|
10874
|
+
kind: "assessment_dimension";
|
|
10875
|
+
assessmentId: string;
|
|
10876
|
+
dimensionId: string;
|
|
9809
10877
|
} | {
|
|
9810
10878
|
kind: "workflow_step";
|
|
9811
10879
|
stepId: string;
|
|
@@ -9814,8 +10882,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9814
10882
|
}[];
|
|
9815
10883
|
}>;
|
|
9816
10884
|
retryAttemptId: string;
|
|
9817
|
-
validationRef
|
|
10885
|
+
validationRef?: string | undefined;
|
|
9818
10886
|
} | {
|
|
10887
|
+
kind: "terminal_block";
|
|
9819
10888
|
reason: {
|
|
9820
10889
|
kind: "user_only_dependency";
|
|
9821
10890
|
stepId: string;
|
|
@@ -9833,11 +10902,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9833
10902
|
} | {
|
|
9834
10903
|
kind: "evaluation_error";
|
|
9835
10904
|
};
|
|
9836
|
-
kind: "terminal_block";
|
|
9837
10905
|
blockers: Readonly<{
|
|
9838
10906
|
blockers: readonly {
|
|
9839
10907
|
message: string;
|
|
9840
|
-
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";
|
|
10908
|
+
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";
|
|
9841
10909
|
pointer: {
|
|
9842
10910
|
key: string;
|
|
9843
10911
|
kind: "context_key";
|
|
@@ -9849,6 +10917,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9849
10917
|
} | {
|
|
9850
10918
|
kind: "capability";
|
|
9851
10919
|
capability: "delegation" | "web_browsing";
|
|
10920
|
+
} | {
|
|
10921
|
+
kind: "assessment_dimension";
|
|
10922
|
+
assessmentId: string;
|
|
10923
|
+
dimensionId: string;
|
|
9852
10924
|
} | {
|
|
9853
10925
|
kind: "workflow_step";
|
|
9854
10926
|
stepId: string;
|
|
@@ -9858,7 +10930,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
9858
10930
|
}>;
|
|
9859
10931
|
validationRef?: string | undefined;
|
|
9860
10932
|
};
|
|
9861
|
-
kind: "blocked";
|
|
9862
10933
|
completed: {
|
|
9863
10934
|
values: string[];
|
|
9864
10935
|
kind: "set";
|
|
@@ -10061,6 +11132,53 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10061
11132
|
runId: string;
|
|
10062
11133
|
nodeId: string;
|
|
10063
11134
|
};
|
|
11135
|
+
} | {
|
|
11136
|
+
kind: "assessment_recorded";
|
|
11137
|
+
sessionId: string;
|
|
11138
|
+
data: {
|
|
11139
|
+
assessmentId: string;
|
|
11140
|
+
dimensions: readonly {
|
|
11141
|
+
level: string;
|
|
11142
|
+
dimensionId: string;
|
|
11143
|
+
normalization: "exact" | "normalized";
|
|
11144
|
+
rationale?: string | undefined;
|
|
11145
|
+
}[];
|
|
11146
|
+
attemptId: string;
|
|
11147
|
+
artifactOutputId: string;
|
|
11148
|
+
normalizationNotes: readonly string[];
|
|
11149
|
+
summary?: string | undefined;
|
|
11150
|
+
};
|
|
11151
|
+
v: 1;
|
|
11152
|
+
eventIndex: number;
|
|
11153
|
+
eventId: string;
|
|
11154
|
+
dedupeKey: string;
|
|
11155
|
+
scope: {
|
|
11156
|
+
runId: string;
|
|
11157
|
+
nodeId: string;
|
|
11158
|
+
};
|
|
11159
|
+
} | {
|
|
11160
|
+
kind: "assessment_consequence_applied";
|
|
11161
|
+
sessionId: string;
|
|
11162
|
+
data: {
|
|
11163
|
+
assessmentId: string;
|
|
11164
|
+
effect: {
|
|
11165
|
+
kind: "require_followup";
|
|
11166
|
+
guidance: string;
|
|
11167
|
+
};
|
|
11168
|
+
attemptId: string;
|
|
11169
|
+
trigger: {
|
|
11170
|
+
level: string;
|
|
11171
|
+
dimensionId: string;
|
|
11172
|
+
};
|
|
11173
|
+
};
|
|
11174
|
+
v: 1;
|
|
11175
|
+
eventIndex: number;
|
|
11176
|
+
eventId: string;
|
|
11177
|
+
dedupeKey: string;
|
|
11178
|
+
scope: {
|
|
11179
|
+
runId: string;
|
|
11180
|
+
nodeId: string;
|
|
11181
|
+
};
|
|
10064
11182
|
} | {
|
|
10065
11183
|
kind: "preferences_changed";
|
|
10066
11184
|
sessionId: string;
|
|
@@ -10131,6 +11249,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10131
11249
|
kind: "gap_recorded";
|
|
10132
11250
|
sessionId: string;
|
|
10133
11251
|
data: {
|
|
11252
|
+
summary: string;
|
|
10134
11253
|
reason: {
|
|
10135
11254
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
10136
11255
|
category: "user_only_dependency";
|
|
@@ -10152,7 +11271,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10152
11271
|
};
|
|
10153
11272
|
gapId: string;
|
|
10154
11273
|
severity: "warning" | "info" | "critical";
|
|
10155
|
-
summary: string;
|
|
10156
11274
|
evidenceRefs?: ({
|
|
10157
11275
|
kind: "event";
|
|
10158
11276
|
eventId: string;
|
|
@@ -10188,8 +11306,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10188
11306
|
kind: "divergence_recorded";
|
|
10189
11307
|
sessionId: string;
|
|
10190
11308
|
data: {
|
|
10191
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
10192
11309
|
summary: string;
|
|
11310
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
10193
11311
|
divergenceId: string;
|
|
10194
11312
|
relatedStepId?: string | undefined;
|
|
10195
11313
|
};
|
|
@@ -10309,13 +11427,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10309
11427
|
};
|
|
10310
11428
|
};
|
|
10311
11429
|
} | {
|
|
11430
|
+
kind: "blocked";
|
|
10312
11431
|
blocked: {
|
|
11432
|
+
kind: "retryable_block";
|
|
10313
11433
|
reason: {
|
|
10314
11434
|
kind: "invalid_required_output";
|
|
10315
11435
|
contractRef: string;
|
|
10316
11436
|
} | {
|
|
10317
11437
|
kind: "missing_required_output";
|
|
10318
11438
|
contractRef: string;
|
|
11439
|
+
} | {
|
|
11440
|
+
level: string;
|
|
11441
|
+
kind: "assessment_followup_required";
|
|
11442
|
+
assessmentId: string;
|
|
11443
|
+
guidance: string;
|
|
11444
|
+
dimensionId: string;
|
|
10319
11445
|
} | {
|
|
10320
11446
|
key: string;
|
|
10321
11447
|
kind: "missing_context_key";
|
|
@@ -10325,11 +11451,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10325
11451
|
kind: "missing_notes";
|
|
10326
11452
|
stepId: string;
|
|
10327
11453
|
};
|
|
10328
|
-
kind: "retryable_block";
|
|
10329
11454
|
blockers: Readonly<{
|
|
10330
11455
|
blockers: readonly {
|
|
10331
11456
|
message: string;
|
|
10332
|
-
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";
|
|
11457
|
+
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";
|
|
10333
11458
|
pointer: {
|
|
10334
11459
|
key: string;
|
|
10335
11460
|
kind: "context_key";
|
|
@@ -10341,6 +11466,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10341
11466
|
} | {
|
|
10342
11467
|
kind: "capability";
|
|
10343
11468
|
capability: "delegation" | "web_browsing";
|
|
11469
|
+
} | {
|
|
11470
|
+
kind: "assessment_dimension";
|
|
11471
|
+
assessmentId: string;
|
|
11472
|
+
dimensionId: string;
|
|
10344
11473
|
} | {
|
|
10345
11474
|
kind: "workflow_step";
|
|
10346
11475
|
stepId: string;
|
|
@@ -10349,8 +11478,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10349
11478
|
}[];
|
|
10350
11479
|
}>;
|
|
10351
11480
|
retryAttemptId: string;
|
|
10352
|
-
validationRef
|
|
11481
|
+
validationRef?: string | undefined;
|
|
10353
11482
|
} | {
|
|
11483
|
+
kind: "terminal_block";
|
|
10354
11484
|
reason: {
|
|
10355
11485
|
kind: "user_only_dependency";
|
|
10356
11486
|
stepId: string;
|
|
@@ -10368,11 +11498,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10368
11498
|
} | {
|
|
10369
11499
|
kind: "evaluation_error";
|
|
10370
11500
|
};
|
|
10371
|
-
kind: "terminal_block";
|
|
10372
11501
|
blockers: Readonly<{
|
|
10373
11502
|
blockers: readonly {
|
|
10374
11503
|
message: string;
|
|
10375
|
-
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";
|
|
11504
|
+
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";
|
|
10376
11505
|
pointer: {
|
|
10377
11506
|
key: string;
|
|
10378
11507
|
kind: "context_key";
|
|
@@ -10384,6 +11513,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10384
11513
|
} | {
|
|
10385
11514
|
kind: "capability";
|
|
10386
11515
|
capability: "delegation" | "web_browsing";
|
|
11516
|
+
} | {
|
|
11517
|
+
kind: "assessment_dimension";
|
|
11518
|
+
assessmentId: string;
|
|
11519
|
+
dimensionId: string;
|
|
10387
11520
|
} | {
|
|
10388
11521
|
kind: "workflow_step";
|
|
10389
11522
|
stepId: string;
|
|
@@ -10393,7 +11526,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10393
11526
|
}>;
|
|
10394
11527
|
validationRef?: string | undefined;
|
|
10395
11528
|
};
|
|
10396
|
-
kind: "blocked";
|
|
10397
11529
|
completed: {
|
|
10398
11530
|
values: import("../execution-snapshot/step-instance-key.js").StepInstanceKeyV1[];
|
|
10399
11531
|
kind: "set";
|
|
@@ -10602,6 +11734,53 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10602
11734
|
runId: string;
|
|
10603
11735
|
nodeId: string;
|
|
10604
11736
|
};
|
|
11737
|
+
} | {
|
|
11738
|
+
kind: "assessment_recorded";
|
|
11739
|
+
sessionId: string;
|
|
11740
|
+
data: {
|
|
11741
|
+
assessmentId: string;
|
|
11742
|
+
dimensions: readonly {
|
|
11743
|
+
level: string;
|
|
11744
|
+
dimensionId: string;
|
|
11745
|
+
normalization: "exact" | "normalized";
|
|
11746
|
+
rationale?: string | undefined;
|
|
11747
|
+
}[];
|
|
11748
|
+
attemptId: string;
|
|
11749
|
+
artifactOutputId: string;
|
|
11750
|
+
normalizationNotes: readonly string[];
|
|
11751
|
+
summary?: string | undefined;
|
|
11752
|
+
};
|
|
11753
|
+
v: 1;
|
|
11754
|
+
eventIndex: number;
|
|
11755
|
+
eventId: string;
|
|
11756
|
+
dedupeKey: string;
|
|
11757
|
+
scope: {
|
|
11758
|
+
runId: string;
|
|
11759
|
+
nodeId: string;
|
|
11760
|
+
};
|
|
11761
|
+
} | {
|
|
11762
|
+
kind: "assessment_consequence_applied";
|
|
11763
|
+
sessionId: string;
|
|
11764
|
+
data: {
|
|
11765
|
+
assessmentId: string;
|
|
11766
|
+
effect: {
|
|
11767
|
+
kind: "require_followup";
|
|
11768
|
+
guidance: string;
|
|
11769
|
+
};
|
|
11770
|
+
attemptId: string;
|
|
11771
|
+
trigger: {
|
|
11772
|
+
level: string;
|
|
11773
|
+
dimensionId: string;
|
|
11774
|
+
};
|
|
11775
|
+
};
|
|
11776
|
+
v: 1;
|
|
11777
|
+
eventIndex: number;
|
|
11778
|
+
eventId: string;
|
|
11779
|
+
dedupeKey: string;
|
|
11780
|
+
scope: {
|
|
11781
|
+
runId: string;
|
|
11782
|
+
nodeId: string;
|
|
11783
|
+
};
|
|
10605
11784
|
} | {
|
|
10606
11785
|
kind: "preferences_changed";
|
|
10607
11786
|
sessionId: string;
|
|
@@ -10672,6 +11851,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10672
11851
|
kind: "gap_recorded";
|
|
10673
11852
|
sessionId: string;
|
|
10674
11853
|
data: {
|
|
11854
|
+
summary: string;
|
|
10675
11855
|
reason: {
|
|
10676
11856
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
10677
11857
|
category: "user_only_dependency";
|
|
@@ -10693,7 +11873,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10693
11873
|
};
|
|
10694
11874
|
gapId: string;
|
|
10695
11875
|
severity: "warning" | "info" | "critical";
|
|
10696
|
-
summary: string;
|
|
10697
11876
|
evidenceRefs?: ({
|
|
10698
11877
|
kind: "event";
|
|
10699
11878
|
eventId: string;
|
|
@@ -10729,8 +11908,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10729
11908
|
kind: "divergence_recorded";
|
|
10730
11909
|
sessionId: string;
|
|
10731
11910
|
data: {
|
|
10732
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
10733
11911
|
summary: string;
|
|
11912
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
10734
11913
|
divergenceId: string;
|
|
10735
11914
|
relatedStepId?: string | undefined;
|
|
10736
11915
|
};
|
|
@@ -10844,13 +12023,21 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10844
12023
|
};
|
|
10845
12024
|
};
|
|
10846
12025
|
} | {
|
|
12026
|
+
kind: "blocked";
|
|
10847
12027
|
blocked: {
|
|
12028
|
+
kind: "retryable_block";
|
|
10848
12029
|
reason: {
|
|
10849
12030
|
kind: "invalid_required_output";
|
|
10850
12031
|
contractRef: string;
|
|
10851
12032
|
} | {
|
|
10852
12033
|
kind: "missing_required_output";
|
|
10853
12034
|
contractRef: string;
|
|
12035
|
+
} | {
|
|
12036
|
+
level: string;
|
|
12037
|
+
kind: "assessment_followup_required";
|
|
12038
|
+
assessmentId: string;
|
|
12039
|
+
guidance: string;
|
|
12040
|
+
dimensionId: string;
|
|
10854
12041
|
} | {
|
|
10855
12042
|
key: string;
|
|
10856
12043
|
kind: "missing_context_key";
|
|
@@ -10860,11 +12047,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10860
12047
|
kind: "missing_notes";
|
|
10861
12048
|
stepId: string;
|
|
10862
12049
|
};
|
|
10863
|
-
kind: "retryable_block";
|
|
10864
12050
|
blockers: Readonly<{
|
|
10865
12051
|
blockers: readonly {
|
|
10866
12052
|
message: string;
|
|
10867
|
-
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";
|
|
12053
|
+
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";
|
|
10868
12054
|
pointer: {
|
|
10869
12055
|
key: string;
|
|
10870
12056
|
kind: "context_key";
|
|
@@ -10876,6 +12062,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10876
12062
|
} | {
|
|
10877
12063
|
kind: "capability";
|
|
10878
12064
|
capability: "delegation" | "web_browsing";
|
|
12065
|
+
} | {
|
|
12066
|
+
kind: "assessment_dimension";
|
|
12067
|
+
assessmentId: string;
|
|
12068
|
+
dimensionId: string;
|
|
10879
12069
|
} | {
|
|
10880
12070
|
kind: "workflow_step";
|
|
10881
12071
|
stepId: string;
|
|
@@ -10884,8 +12074,9 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10884
12074
|
}[];
|
|
10885
12075
|
}>;
|
|
10886
12076
|
retryAttemptId: string;
|
|
10887
|
-
validationRef
|
|
12077
|
+
validationRef?: string | undefined;
|
|
10888
12078
|
} | {
|
|
12079
|
+
kind: "terminal_block";
|
|
10889
12080
|
reason: {
|
|
10890
12081
|
kind: "user_only_dependency";
|
|
10891
12082
|
stepId: string;
|
|
@@ -10903,11 +12094,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10903
12094
|
} | {
|
|
10904
12095
|
kind: "evaluation_error";
|
|
10905
12096
|
};
|
|
10906
|
-
kind: "terminal_block";
|
|
10907
12097
|
blockers: Readonly<{
|
|
10908
12098
|
blockers: readonly {
|
|
10909
12099
|
message: string;
|
|
10910
|
-
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";
|
|
12100
|
+
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";
|
|
10911
12101
|
pointer: {
|
|
10912
12102
|
key: string;
|
|
10913
12103
|
kind: "context_key";
|
|
@@ -10919,6 +12109,10 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10919
12109
|
} | {
|
|
10920
12110
|
kind: "capability";
|
|
10921
12111
|
capability: "delegation" | "web_browsing";
|
|
12112
|
+
} | {
|
|
12113
|
+
kind: "assessment_dimension";
|
|
12114
|
+
assessmentId: string;
|
|
12115
|
+
dimensionId: string;
|
|
10922
12116
|
} | {
|
|
10923
12117
|
kind: "workflow_step";
|
|
10924
12118
|
stepId: string;
|
|
@@ -10928,7 +12122,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
10928
12122
|
}>;
|
|
10929
12123
|
validationRef?: string | undefined;
|
|
10930
12124
|
};
|
|
10931
|
-
kind: "blocked";
|
|
10932
12125
|
completed: {
|
|
10933
12126
|
values: string[];
|
|
10934
12127
|
kind: "set";
|
|
@@ -11131,6 +12324,53 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11131
12324
|
runId: string;
|
|
11132
12325
|
nodeId: string;
|
|
11133
12326
|
};
|
|
12327
|
+
} | {
|
|
12328
|
+
kind: "assessment_recorded";
|
|
12329
|
+
sessionId: string;
|
|
12330
|
+
data: {
|
|
12331
|
+
assessmentId: string;
|
|
12332
|
+
dimensions: readonly {
|
|
12333
|
+
level: string;
|
|
12334
|
+
dimensionId: string;
|
|
12335
|
+
normalization: "exact" | "normalized";
|
|
12336
|
+
rationale?: string | undefined;
|
|
12337
|
+
}[];
|
|
12338
|
+
attemptId: string;
|
|
12339
|
+
artifactOutputId: string;
|
|
12340
|
+
normalizationNotes: readonly string[];
|
|
12341
|
+
summary?: string | undefined;
|
|
12342
|
+
};
|
|
12343
|
+
v: 1;
|
|
12344
|
+
eventIndex: number;
|
|
12345
|
+
eventId: string;
|
|
12346
|
+
dedupeKey: string;
|
|
12347
|
+
scope: {
|
|
12348
|
+
runId: string;
|
|
12349
|
+
nodeId: string;
|
|
12350
|
+
};
|
|
12351
|
+
} | {
|
|
12352
|
+
kind: "assessment_consequence_applied";
|
|
12353
|
+
sessionId: string;
|
|
12354
|
+
data: {
|
|
12355
|
+
assessmentId: string;
|
|
12356
|
+
effect: {
|
|
12357
|
+
kind: "require_followup";
|
|
12358
|
+
guidance: string;
|
|
12359
|
+
};
|
|
12360
|
+
attemptId: string;
|
|
12361
|
+
trigger: {
|
|
12362
|
+
level: string;
|
|
12363
|
+
dimensionId: string;
|
|
12364
|
+
};
|
|
12365
|
+
};
|
|
12366
|
+
v: 1;
|
|
12367
|
+
eventIndex: number;
|
|
12368
|
+
eventId: string;
|
|
12369
|
+
dedupeKey: string;
|
|
12370
|
+
scope: {
|
|
12371
|
+
runId: string;
|
|
12372
|
+
nodeId: string;
|
|
12373
|
+
};
|
|
11134
12374
|
} | {
|
|
11135
12375
|
kind: "preferences_changed";
|
|
11136
12376
|
sessionId: string;
|
|
@@ -11201,6 +12441,7 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11201
12441
|
kind: "gap_recorded";
|
|
11202
12442
|
sessionId: string;
|
|
11203
12443
|
data: {
|
|
12444
|
+
summary: string;
|
|
11204
12445
|
reason: {
|
|
11205
12446
|
detail: "needs_user_secret_or_token" | "needs_user_account_access" | "needs_user_artifact" | "needs_user_choice" | "needs_user_approval" | "needs_user_environment_action";
|
|
11206
12447
|
category: "user_only_dependency";
|
|
@@ -11222,7 +12463,6 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11222
12463
|
};
|
|
11223
12464
|
gapId: string;
|
|
11224
12465
|
severity: "warning" | "info" | "critical";
|
|
11225
|
-
summary: string;
|
|
11226
12466
|
evidenceRefs?: ({
|
|
11227
12467
|
kind: "event";
|
|
11228
12468
|
eventId: string;
|
|
@@ -11258,8 +12498,8 @@ export declare const ExportBundleV1Schema: z.ZodObject<{
|
|
|
11258
12498
|
kind: "divergence_recorded";
|
|
11259
12499
|
sessionId: string;
|
|
11260
12500
|
data: {
|
|
11261
|
-
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
11262
12501
|
summary: string;
|
|
12502
|
+
reason: "missing_user_context" | "capability_unavailable" | "efficiency_skip" | "safety_stop" | "policy_constraint";
|
|
11263
12503
|
divergenceId: string;
|
|
11264
12504
|
relatedStepId?: string | undefined;
|
|
11265
12505
|
};
|