@runfile-ai/schemas 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/canonical.d.ts +29 -3
- package/dist/canonical.d.ts.map +1 -1
- package/dist/canonical.js +43 -5
- package/dist/canonical.js.map +1 -1
- package/dist/event.d.ts +50 -50
- package/dist/evidence.d.ts +76 -76
- package/dist/ingest.d.ts +160 -160
- package/dist/manifest.d.ts +2 -2
- package/package.json +1 -1
package/dist/ingest.d.ts
CHANGED
|
@@ -180,6 +180,7 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
180
180
|
lifecycle_state: "active";
|
|
181
181
|
started_at: string;
|
|
182
182
|
redaction_policy_version: string;
|
|
183
|
+
prev_event_hash_intent?: string | undefined;
|
|
183
184
|
conversation_id?: string | undefined;
|
|
184
185
|
delegated_from?: {
|
|
185
186
|
run_id: string;
|
|
@@ -212,7 +213,6 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
212
213
|
adapter?: string | undefined;
|
|
213
214
|
host?: string | undefined;
|
|
214
215
|
} | undefined;
|
|
215
|
-
prev_event_hash_intent?: string | undefined;
|
|
216
216
|
}, {
|
|
217
217
|
agent_identity: string;
|
|
218
218
|
run_id: string;
|
|
@@ -220,6 +220,7 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
220
220
|
lifecycle_state: "active";
|
|
221
221
|
started_at: string;
|
|
222
222
|
redaction_policy_version: string;
|
|
223
|
+
prev_event_hash_intent?: string | undefined;
|
|
223
224
|
conversation_id?: string | undefined;
|
|
224
225
|
delegated_from?: {
|
|
225
226
|
run_id: string;
|
|
@@ -252,7 +253,6 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
252
253
|
adapter?: string | undefined;
|
|
253
254
|
host?: string | undefined;
|
|
254
255
|
} | undefined;
|
|
255
|
-
prev_event_hash_intent?: string | undefined;
|
|
256
256
|
}>;
|
|
257
257
|
export type RunSubmission = z.infer<typeof RunSubmissionSchema>;
|
|
258
258
|
/**
|
|
@@ -651,6 +651,7 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
651
651
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
652
652
|
prev_event_hash_intent: z.ZodString;
|
|
653
653
|
}, "strict", z.ZodTypeAny, {
|
|
654
|
+
prev_event_hash_intent: string;
|
|
654
655
|
run_id: string;
|
|
655
656
|
event_id: string;
|
|
656
657
|
schema_version: string;
|
|
@@ -682,7 +683,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
682
683
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
683
684
|
duration_ms?: number | undefined;
|
|
684
685
|
};
|
|
685
|
-
|
|
686
|
+
anomaly_flags?: {
|
|
687
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
688
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
689
|
+
detail?: string | undefined;
|
|
690
|
+
}[] | undefined;
|
|
686
691
|
decision?: {
|
|
687
692
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
688
693
|
outcome_label?: string | undefined;
|
|
@@ -779,12 +784,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
779
784
|
gen_ai_conversation_id?: string | undefined;
|
|
780
785
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
781
786
|
} | undefined;
|
|
782
|
-
anomaly_flags?: {
|
|
783
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
784
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
785
|
-
detail?: string | undefined;
|
|
786
|
-
}[] | undefined;
|
|
787
787
|
}, {
|
|
788
|
+
prev_event_hash_intent: string;
|
|
788
789
|
run_id: string;
|
|
789
790
|
event_id: string;
|
|
790
791
|
schema_version: string;
|
|
@@ -816,7 +817,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
816
817
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
817
818
|
duration_ms?: number | undefined;
|
|
818
819
|
};
|
|
819
|
-
|
|
820
|
+
anomaly_flags?: {
|
|
821
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
822
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
823
|
+
detail?: string | undefined;
|
|
824
|
+
}[] | undefined;
|
|
820
825
|
decision?: {
|
|
821
826
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
822
827
|
outcome_label?: string | undefined;
|
|
@@ -913,12 +918,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
913
918
|
gen_ai_conversation_id?: string | undefined;
|
|
914
919
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
915
920
|
} | undefined;
|
|
916
|
-
anomaly_flags?: {
|
|
917
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
918
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
919
|
-
detail?: string | undefined;
|
|
920
|
-
}[] | undefined;
|
|
921
921
|
}>, {
|
|
922
|
+
prev_event_hash_intent: string;
|
|
922
923
|
run_id: string;
|
|
923
924
|
event_id: string;
|
|
924
925
|
schema_version: string;
|
|
@@ -950,7 +951,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
950
951
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
951
952
|
duration_ms?: number | undefined;
|
|
952
953
|
};
|
|
953
|
-
|
|
954
|
+
anomaly_flags?: {
|
|
955
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
956
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
957
|
+
detail?: string | undefined;
|
|
958
|
+
}[] | undefined;
|
|
954
959
|
decision?: {
|
|
955
960
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
956
961
|
outcome_label?: string | undefined;
|
|
@@ -1047,12 +1052,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1047
1052
|
gen_ai_conversation_id?: string | undefined;
|
|
1048
1053
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1049
1054
|
} | undefined;
|
|
1050
|
-
anomaly_flags?: {
|
|
1051
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
1052
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
1053
|
-
detail?: string | undefined;
|
|
1054
|
-
}[] | undefined;
|
|
1055
1055
|
}, {
|
|
1056
|
+
prev_event_hash_intent: string;
|
|
1056
1057
|
run_id: string;
|
|
1057
1058
|
event_id: string;
|
|
1058
1059
|
schema_version: string;
|
|
@@ -1084,7 +1085,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1084
1085
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
1085
1086
|
duration_ms?: number | undefined;
|
|
1086
1087
|
};
|
|
1087
|
-
|
|
1088
|
+
anomaly_flags?: {
|
|
1089
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
1090
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
1091
|
+
detail?: string | undefined;
|
|
1092
|
+
}[] | undefined;
|
|
1088
1093
|
decision?: {
|
|
1089
1094
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
1090
1095
|
outcome_label?: string | undefined;
|
|
@@ -1181,11 +1186,6 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1181
1186
|
gen_ai_conversation_id?: string | undefined;
|
|
1182
1187
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1183
1188
|
} | undefined;
|
|
1184
|
-
anomaly_flags?: {
|
|
1185
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
1186
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
1187
|
-
detail?: string | undefined;
|
|
1188
|
-
}[] | undefined;
|
|
1189
1189
|
}>;
|
|
1190
1190
|
export type EventSubmission = z.infer<typeof EventSubmissionSchema>;
|
|
1191
1191
|
export declare const RunCreateItemSchema: z.ZodObject<{
|
|
@@ -1281,6 +1281,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1281
1281
|
lifecycle_state: "active";
|
|
1282
1282
|
started_at: string;
|
|
1283
1283
|
redaction_policy_version: string;
|
|
1284
|
+
prev_event_hash_intent?: string | undefined;
|
|
1284
1285
|
conversation_id?: string | undefined;
|
|
1285
1286
|
delegated_from?: {
|
|
1286
1287
|
run_id: string;
|
|
@@ -1313,7 +1314,6 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1313
1314
|
adapter?: string | undefined;
|
|
1314
1315
|
host?: string | undefined;
|
|
1315
1316
|
} | undefined;
|
|
1316
|
-
prev_event_hash_intent?: string | undefined;
|
|
1317
1317
|
}, {
|
|
1318
1318
|
agent_identity: string;
|
|
1319
1319
|
run_id: string;
|
|
@@ -1321,6 +1321,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1321
1321
|
lifecycle_state: "active";
|
|
1322
1322
|
started_at: string;
|
|
1323
1323
|
redaction_policy_version: string;
|
|
1324
|
+
prev_event_hash_intent?: string | undefined;
|
|
1324
1325
|
conversation_id?: string | undefined;
|
|
1325
1326
|
delegated_from?: {
|
|
1326
1327
|
run_id: string;
|
|
@@ -1353,7 +1354,6 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1353
1354
|
adapter?: string | undefined;
|
|
1354
1355
|
host?: string | undefined;
|
|
1355
1356
|
} | undefined;
|
|
1356
|
-
prev_event_hash_intent?: string | undefined;
|
|
1357
1357
|
}>;
|
|
1358
1358
|
}, "strict", z.ZodTypeAny, {
|
|
1359
1359
|
type: "run_create";
|
|
@@ -1364,6 +1364,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1364
1364
|
lifecycle_state: "active";
|
|
1365
1365
|
started_at: string;
|
|
1366
1366
|
redaction_policy_version: string;
|
|
1367
|
+
prev_event_hash_intent?: string | undefined;
|
|
1367
1368
|
conversation_id?: string | undefined;
|
|
1368
1369
|
delegated_from?: {
|
|
1369
1370
|
run_id: string;
|
|
@@ -1396,7 +1397,6 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1396
1397
|
adapter?: string | undefined;
|
|
1397
1398
|
host?: string | undefined;
|
|
1398
1399
|
} | undefined;
|
|
1399
|
-
prev_event_hash_intent?: string | undefined;
|
|
1400
1400
|
};
|
|
1401
1401
|
}, {
|
|
1402
1402
|
type: "run_create";
|
|
@@ -1407,6 +1407,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1407
1407
|
lifecycle_state: "active";
|
|
1408
1408
|
started_at: string;
|
|
1409
1409
|
redaction_policy_version: string;
|
|
1410
|
+
prev_event_hash_intent?: string | undefined;
|
|
1410
1411
|
conversation_id?: string | undefined;
|
|
1411
1412
|
delegated_from?: {
|
|
1412
1413
|
run_id: string;
|
|
@@ -1439,7 +1440,6 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1439
1440
|
adapter?: string | undefined;
|
|
1440
1441
|
host?: string | undefined;
|
|
1441
1442
|
} | undefined;
|
|
1442
|
-
prev_event_hash_intent?: string | undefined;
|
|
1443
1443
|
};
|
|
1444
1444
|
}>;
|
|
1445
1445
|
export type RunCreateItem = z.infer<typeof RunCreateItemSchema>;
|
|
@@ -1869,6 +1869,7 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1869
1869
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
1870
1870
|
prev_event_hash_intent: z.ZodString;
|
|
1871
1871
|
}, "strict", z.ZodTypeAny, {
|
|
1872
|
+
prev_event_hash_intent: string;
|
|
1872
1873
|
run_id: string;
|
|
1873
1874
|
event_id: string;
|
|
1874
1875
|
schema_version: string;
|
|
@@ -1900,7 +1901,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1900
1901
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
1901
1902
|
duration_ms?: number | undefined;
|
|
1902
1903
|
};
|
|
1903
|
-
|
|
1904
|
+
anomaly_flags?: {
|
|
1905
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
1906
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
1907
|
+
detail?: string | undefined;
|
|
1908
|
+
}[] | undefined;
|
|
1904
1909
|
decision?: {
|
|
1905
1910
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
1906
1911
|
outcome_label?: string | undefined;
|
|
@@ -1997,12 +2002,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1997
2002
|
gen_ai_conversation_id?: string | undefined;
|
|
1998
2003
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1999
2004
|
} | undefined;
|
|
2000
|
-
anomaly_flags?: {
|
|
2001
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2002
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2003
|
-
detail?: string | undefined;
|
|
2004
|
-
}[] | undefined;
|
|
2005
2005
|
}, {
|
|
2006
|
+
prev_event_hash_intent: string;
|
|
2006
2007
|
run_id: string;
|
|
2007
2008
|
event_id: string;
|
|
2008
2009
|
schema_version: string;
|
|
@@ -2034,7 +2035,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2034
2035
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2035
2036
|
duration_ms?: number | undefined;
|
|
2036
2037
|
};
|
|
2037
|
-
|
|
2038
|
+
anomaly_flags?: {
|
|
2039
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2040
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
2041
|
+
detail?: string | undefined;
|
|
2042
|
+
}[] | undefined;
|
|
2038
2043
|
decision?: {
|
|
2039
2044
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2040
2045
|
outcome_label?: string | undefined;
|
|
@@ -2131,12 +2136,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2131
2136
|
gen_ai_conversation_id?: string | undefined;
|
|
2132
2137
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2133
2138
|
} | undefined;
|
|
2134
|
-
anomaly_flags?: {
|
|
2135
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2136
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2137
|
-
detail?: string | undefined;
|
|
2138
|
-
}[] | undefined;
|
|
2139
2139
|
}>, {
|
|
2140
|
+
prev_event_hash_intent: string;
|
|
2140
2141
|
run_id: string;
|
|
2141
2142
|
event_id: string;
|
|
2142
2143
|
schema_version: string;
|
|
@@ -2168,7 +2169,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2168
2169
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2169
2170
|
duration_ms?: number | undefined;
|
|
2170
2171
|
};
|
|
2171
|
-
|
|
2172
|
+
anomaly_flags?: {
|
|
2173
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2174
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
2175
|
+
detail?: string | undefined;
|
|
2176
|
+
}[] | undefined;
|
|
2172
2177
|
decision?: {
|
|
2173
2178
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2174
2179
|
outcome_label?: string | undefined;
|
|
@@ -2265,12 +2270,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2265
2270
|
gen_ai_conversation_id?: string | undefined;
|
|
2266
2271
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2267
2272
|
} | undefined;
|
|
2268
|
-
anomaly_flags?: {
|
|
2269
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2270
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2271
|
-
detail?: string | undefined;
|
|
2272
|
-
}[] | undefined;
|
|
2273
2273
|
}, {
|
|
2274
|
+
prev_event_hash_intent: string;
|
|
2274
2275
|
run_id: string;
|
|
2275
2276
|
event_id: string;
|
|
2276
2277
|
schema_version: string;
|
|
@@ -2302,7 +2303,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2302
2303
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2303
2304
|
duration_ms?: number | undefined;
|
|
2304
2305
|
};
|
|
2305
|
-
|
|
2306
|
+
anomaly_flags?: {
|
|
2307
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2308
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
2309
|
+
detail?: string | undefined;
|
|
2310
|
+
}[] | undefined;
|
|
2306
2311
|
decision?: {
|
|
2307
2312
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2308
2313
|
outcome_label?: string | undefined;
|
|
@@ -2399,15 +2404,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2399
2404
|
gen_ai_conversation_id?: string | undefined;
|
|
2400
2405
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2401
2406
|
} | undefined;
|
|
2402
|
-
anomaly_flags?: {
|
|
2403
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2404
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2405
|
-
detail?: string | undefined;
|
|
2406
|
-
}[] | undefined;
|
|
2407
2407
|
}>;
|
|
2408
2408
|
}, "strict", z.ZodTypeAny, {
|
|
2409
2409
|
type: "event";
|
|
2410
2410
|
event: {
|
|
2411
|
+
prev_event_hash_intent: string;
|
|
2411
2412
|
run_id: string;
|
|
2412
2413
|
event_id: string;
|
|
2413
2414
|
schema_version: string;
|
|
@@ -2439,7 +2440,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2439
2440
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2440
2441
|
duration_ms?: number | undefined;
|
|
2441
2442
|
};
|
|
2442
|
-
|
|
2443
|
+
anomaly_flags?: {
|
|
2444
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2445
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
2446
|
+
detail?: string | undefined;
|
|
2447
|
+
}[] | undefined;
|
|
2443
2448
|
decision?: {
|
|
2444
2449
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2445
2450
|
outcome_label?: string | undefined;
|
|
@@ -2536,15 +2541,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2536
2541
|
gen_ai_conversation_id?: string | undefined;
|
|
2537
2542
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2538
2543
|
} | undefined;
|
|
2539
|
-
anomaly_flags?: {
|
|
2540
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2541
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2542
|
-
detail?: string | undefined;
|
|
2543
|
-
}[] | undefined;
|
|
2544
2544
|
};
|
|
2545
2545
|
}, {
|
|
2546
2546
|
type: "event";
|
|
2547
2547
|
event: {
|
|
2548
|
+
prev_event_hash_intent: string;
|
|
2548
2549
|
run_id: string;
|
|
2549
2550
|
event_id: string;
|
|
2550
2551
|
schema_version: string;
|
|
@@ -2576,7 +2577,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2576
2577
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2577
2578
|
duration_ms?: number | undefined;
|
|
2578
2579
|
};
|
|
2579
|
-
|
|
2580
|
+
anomaly_flags?: {
|
|
2581
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2582
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
2583
|
+
detail?: string | undefined;
|
|
2584
|
+
}[] | undefined;
|
|
2580
2585
|
decision?: {
|
|
2581
2586
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2582
2587
|
outcome_label?: string | undefined;
|
|
@@ -2673,11 +2678,6 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2673
2678
|
gen_ai_conversation_id?: string | undefined;
|
|
2674
2679
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2675
2680
|
} | undefined;
|
|
2676
|
-
anomaly_flags?: {
|
|
2677
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
2678
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2679
|
-
detail?: string | undefined;
|
|
2680
|
-
}[] | undefined;
|
|
2681
2681
|
};
|
|
2682
2682
|
}>;
|
|
2683
2683
|
export type EventItem = z.infer<typeof EventItemSchema>;
|
|
@@ -2774,6 +2774,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2774
2774
|
lifecycle_state: "active";
|
|
2775
2775
|
started_at: string;
|
|
2776
2776
|
redaction_policy_version: string;
|
|
2777
|
+
prev_event_hash_intent?: string | undefined;
|
|
2777
2778
|
conversation_id?: string | undefined;
|
|
2778
2779
|
delegated_from?: {
|
|
2779
2780
|
run_id: string;
|
|
@@ -2806,7 +2807,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2806
2807
|
adapter?: string | undefined;
|
|
2807
2808
|
host?: string | undefined;
|
|
2808
2809
|
} | undefined;
|
|
2809
|
-
prev_event_hash_intent?: string | undefined;
|
|
2810
2810
|
}, {
|
|
2811
2811
|
agent_identity: string;
|
|
2812
2812
|
run_id: string;
|
|
@@ -2814,6 +2814,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2814
2814
|
lifecycle_state: "active";
|
|
2815
2815
|
started_at: string;
|
|
2816
2816
|
redaction_policy_version: string;
|
|
2817
|
+
prev_event_hash_intent?: string | undefined;
|
|
2817
2818
|
conversation_id?: string | undefined;
|
|
2818
2819
|
delegated_from?: {
|
|
2819
2820
|
run_id: string;
|
|
@@ -2846,7 +2847,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2846
2847
|
adapter?: string | undefined;
|
|
2847
2848
|
host?: string | undefined;
|
|
2848
2849
|
} | undefined;
|
|
2849
|
-
prev_event_hash_intent?: string | undefined;
|
|
2850
2850
|
}>;
|
|
2851
2851
|
}, "strict", z.ZodTypeAny, {
|
|
2852
2852
|
type: "run_create";
|
|
@@ -2857,6 +2857,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2857
2857
|
lifecycle_state: "active";
|
|
2858
2858
|
started_at: string;
|
|
2859
2859
|
redaction_policy_version: string;
|
|
2860
|
+
prev_event_hash_intent?: string | undefined;
|
|
2860
2861
|
conversation_id?: string | undefined;
|
|
2861
2862
|
delegated_from?: {
|
|
2862
2863
|
run_id: string;
|
|
@@ -2889,7 +2890,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2889
2890
|
adapter?: string | undefined;
|
|
2890
2891
|
host?: string | undefined;
|
|
2891
2892
|
} | undefined;
|
|
2892
|
-
prev_event_hash_intent?: string | undefined;
|
|
2893
2893
|
};
|
|
2894
2894
|
}, {
|
|
2895
2895
|
type: "run_create";
|
|
@@ -2900,6 +2900,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2900
2900
|
lifecycle_state: "active";
|
|
2901
2901
|
started_at: string;
|
|
2902
2902
|
redaction_policy_version: string;
|
|
2903
|
+
prev_event_hash_intent?: string | undefined;
|
|
2903
2904
|
conversation_id?: string | undefined;
|
|
2904
2905
|
delegated_from?: {
|
|
2905
2906
|
run_id: string;
|
|
@@ -2932,7 +2933,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2932
2933
|
adapter?: string | undefined;
|
|
2933
2934
|
host?: string | undefined;
|
|
2934
2935
|
} | undefined;
|
|
2935
|
-
prev_event_hash_intent?: string | undefined;
|
|
2936
2936
|
};
|
|
2937
2937
|
}>, z.ZodObject<{
|
|
2938
2938
|
type: z.ZodLiteral<"run_update">;
|
|
@@ -3356,6 +3356,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3356
3356
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
3357
3357
|
prev_event_hash_intent: z.ZodString;
|
|
3358
3358
|
}, "strict", z.ZodTypeAny, {
|
|
3359
|
+
prev_event_hash_intent: string;
|
|
3359
3360
|
run_id: string;
|
|
3360
3361
|
event_id: string;
|
|
3361
3362
|
schema_version: string;
|
|
@@ -3387,7 +3388,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3387
3388
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3388
3389
|
duration_ms?: number | undefined;
|
|
3389
3390
|
};
|
|
3390
|
-
|
|
3391
|
+
anomaly_flags?: {
|
|
3392
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
3393
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
3394
|
+
detail?: string | undefined;
|
|
3395
|
+
}[] | undefined;
|
|
3391
3396
|
decision?: {
|
|
3392
3397
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3393
3398
|
outcome_label?: string | undefined;
|
|
@@ -3484,12 +3489,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3484
3489
|
gen_ai_conversation_id?: string | undefined;
|
|
3485
3490
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3486
3491
|
} | undefined;
|
|
3487
|
-
anomaly_flags?: {
|
|
3488
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
3489
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3490
|
-
detail?: string | undefined;
|
|
3491
|
-
}[] | undefined;
|
|
3492
3492
|
}, {
|
|
3493
|
+
prev_event_hash_intent: string;
|
|
3493
3494
|
run_id: string;
|
|
3494
3495
|
event_id: string;
|
|
3495
3496
|
schema_version: string;
|
|
@@ -3521,7 +3522,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3521
3522
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3522
3523
|
duration_ms?: number | undefined;
|
|
3523
3524
|
};
|
|
3524
|
-
|
|
3525
|
+
anomaly_flags?: {
|
|
3526
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
3527
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
3528
|
+
detail?: string | undefined;
|
|
3529
|
+
}[] | undefined;
|
|
3525
3530
|
decision?: {
|
|
3526
3531
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3527
3532
|
outcome_label?: string | undefined;
|
|
@@ -3618,12 +3623,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3618
3623
|
gen_ai_conversation_id?: string | undefined;
|
|
3619
3624
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3620
3625
|
} | undefined;
|
|
3621
|
-
anomaly_flags?: {
|
|
3622
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
3623
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3624
|
-
detail?: string | undefined;
|
|
3625
|
-
}[] | undefined;
|
|
3626
3626
|
}>, {
|
|
3627
|
+
prev_event_hash_intent: string;
|
|
3627
3628
|
run_id: string;
|
|
3628
3629
|
event_id: string;
|
|
3629
3630
|
schema_version: string;
|
|
@@ -3655,7 +3656,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3655
3656
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3656
3657
|
duration_ms?: number | undefined;
|
|
3657
3658
|
};
|
|
3658
|
-
|
|
3659
|
+
anomaly_flags?: {
|
|
3660
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
3661
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
3662
|
+
detail?: string | undefined;
|
|
3663
|
+
}[] | undefined;
|
|
3659
3664
|
decision?: {
|
|
3660
3665
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3661
3666
|
outcome_label?: string | undefined;
|
|
@@ -3752,12 +3757,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3752
3757
|
gen_ai_conversation_id?: string | undefined;
|
|
3753
3758
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3754
3759
|
} | undefined;
|
|
3755
|
-
anomaly_flags?: {
|
|
3756
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
3757
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3758
|
-
detail?: string | undefined;
|
|
3759
|
-
}[] | undefined;
|
|
3760
3760
|
}, {
|
|
3761
|
+
prev_event_hash_intent: string;
|
|
3761
3762
|
run_id: string;
|
|
3762
3763
|
event_id: string;
|
|
3763
3764
|
schema_version: string;
|
|
@@ -3789,7 +3790,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3789
3790
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3790
3791
|
duration_ms?: number | undefined;
|
|
3791
3792
|
};
|
|
3792
|
-
|
|
3793
|
+
anomaly_flags?: {
|
|
3794
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
3795
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
3796
|
+
detail?: string | undefined;
|
|
3797
|
+
}[] | undefined;
|
|
3793
3798
|
decision?: {
|
|
3794
3799
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3795
3800
|
outcome_label?: string | undefined;
|
|
@@ -3886,15 +3891,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3886
3891
|
gen_ai_conversation_id?: string | undefined;
|
|
3887
3892
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3888
3893
|
} | undefined;
|
|
3889
|
-
anomaly_flags?: {
|
|
3890
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
3891
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3892
|
-
detail?: string | undefined;
|
|
3893
|
-
}[] | undefined;
|
|
3894
3894
|
}>;
|
|
3895
3895
|
}, "strict", z.ZodTypeAny, {
|
|
3896
3896
|
type: "event";
|
|
3897
3897
|
event: {
|
|
3898
|
+
prev_event_hash_intent: string;
|
|
3898
3899
|
run_id: string;
|
|
3899
3900
|
event_id: string;
|
|
3900
3901
|
schema_version: string;
|
|
@@ -3926,7 +3927,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3926
3927
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3927
3928
|
duration_ms?: number | undefined;
|
|
3928
3929
|
};
|
|
3929
|
-
|
|
3930
|
+
anomaly_flags?: {
|
|
3931
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
3932
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
3933
|
+
detail?: string | undefined;
|
|
3934
|
+
}[] | undefined;
|
|
3930
3935
|
decision?: {
|
|
3931
3936
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3932
3937
|
outcome_label?: string | undefined;
|
|
@@ -4023,15 +4028,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4023
4028
|
gen_ai_conversation_id?: string | undefined;
|
|
4024
4029
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
4025
4030
|
} | undefined;
|
|
4026
|
-
anomaly_flags?: {
|
|
4027
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
4028
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
4029
|
-
detail?: string | undefined;
|
|
4030
|
-
}[] | undefined;
|
|
4031
4031
|
};
|
|
4032
4032
|
}, {
|
|
4033
4033
|
type: "event";
|
|
4034
4034
|
event: {
|
|
4035
|
+
prev_event_hash_intent: string;
|
|
4035
4036
|
run_id: string;
|
|
4036
4037
|
event_id: string;
|
|
4037
4038
|
schema_version: string;
|
|
@@ -4063,7 +4064,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4063
4064
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
4064
4065
|
duration_ms?: number | undefined;
|
|
4065
4066
|
};
|
|
4066
|
-
|
|
4067
|
+
anomaly_flags?: {
|
|
4068
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
4069
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
4070
|
+
detail?: string | undefined;
|
|
4071
|
+
}[] | undefined;
|
|
4067
4072
|
decision?: {
|
|
4068
4073
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
4069
4074
|
outcome_label?: string | undefined;
|
|
@@ -4160,11 +4165,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4160
4165
|
gen_ai_conversation_id?: string | undefined;
|
|
4161
4166
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
4162
4167
|
} | undefined;
|
|
4163
|
-
anomaly_flags?: {
|
|
4164
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
4165
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
4166
|
-
detail?: string | undefined;
|
|
4167
|
-
}[] | undefined;
|
|
4168
4168
|
};
|
|
4169
4169
|
}>]>;
|
|
4170
4170
|
export type BatchItem = z.infer<typeof BatchItemSchema>;
|
|
@@ -4263,6 +4263,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4263
4263
|
lifecycle_state: "active";
|
|
4264
4264
|
started_at: string;
|
|
4265
4265
|
redaction_policy_version: string;
|
|
4266
|
+
prev_event_hash_intent?: string | undefined;
|
|
4266
4267
|
conversation_id?: string | undefined;
|
|
4267
4268
|
delegated_from?: {
|
|
4268
4269
|
run_id: string;
|
|
@@ -4295,7 +4296,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4295
4296
|
adapter?: string | undefined;
|
|
4296
4297
|
host?: string | undefined;
|
|
4297
4298
|
} | undefined;
|
|
4298
|
-
prev_event_hash_intent?: string | undefined;
|
|
4299
4299
|
}, {
|
|
4300
4300
|
agent_identity: string;
|
|
4301
4301
|
run_id: string;
|
|
@@ -4303,6 +4303,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4303
4303
|
lifecycle_state: "active";
|
|
4304
4304
|
started_at: string;
|
|
4305
4305
|
redaction_policy_version: string;
|
|
4306
|
+
prev_event_hash_intent?: string | undefined;
|
|
4306
4307
|
conversation_id?: string | undefined;
|
|
4307
4308
|
delegated_from?: {
|
|
4308
4309
|
run_id: string;
|
|
@@ -4335,7 +4336,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4335
4336
|
adapter?: string | undefined;
|
|
4336
4337
|
host?: string | undefined;
|
|
4337
4338
|
} | undefined;
|
|
4338
|
-
prev_event_hash_intent?: string | undefined;
|
|
4339
4339
|
}>;
|
|
4340
4340
|
}, "strict", z.ZodTypeAny, {
|
|
4341
4341
|
type: "run_create";
|
|
@@ -4346,6 +4346,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4346
4346
|
lifecycle_state: "active";
|
|
4347
4347
|
started_at: string;
|
|
4348
4348
|
redaction_policy_version: string;
|
|
4349
|
+
prev_event_hash_intent?: string | undefined;
|
|
4349
4350
|
conversation_id?: string | undefined;
|
|
4350
4351
|
delegated_from?: {
|
|
4351
4352
|
run_id: string;
|
|
@@ -4378,7 +4379,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4378
4379
|
adapter?: string | undefined;
|
|
4379
4380
|
host?: string | undefined;
|
|
4380
4381
|
} | undefined;
|
|
4381
|
-
prev_event_hash_intent?: string | undefined;
|
|
4382
4382
|
};
|
|
4383
4383
|
}, {
|
|
4384
4384
|
type: "run_create";
|
|
@@ -4389,6 +4389,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4389
4389
|
lifecycle_state: "active";
|
|
4390
4390
|
started_at: string;
|
|
4391
4391
|
redaction_policy_version: string;
|
|
4392
|
+
prev_event_hash_intent?: string | undefined;
|
|
4392
4393
|
conversation_id?: string | undefined;
|
|
4393
4394
|
delegated_from?: {
|
|
4394
4395
|
run_id: string;
|
|
@@ -4421,7 +4422,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4421
4422
|
adapter?: string | undefined;
|
|
4422
4423
|
host?: string | undefined;
|
|
4423
4424
|
} | undefined;
|
|
4424
|
-
prev_event_hash_intent?: string | undefined;
|
|
4425
4425
|
};
|
|
4426
4426
|
}>, z.ZodObject<{
|
|
4427
4427
|
type: z.ZodLiteral<"run_update">;
|
|
@@ -4845,6 +4845,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4845
4845
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
4846
4846
|
prev_event_hash_intent: z.ZodString;
|
|
4847
4847
|
}, "strict", z.ZodTypeAny, {
|
|
4848
|
+
prev_event_hash_intent: string;
|
|
4848
4849
|
run_id: string;
|
|
4849
4850
|
event_id: string;
|
|
4850
4851
|
schema_version: string;
|
|
@@ -4876,7 +4877,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4876
4877
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
4877
4878
|
duration_ms?: number | undefined;
|
|
4878
4879
|
};
|
|
4879
|
-
|
|
4880
|
+
anomaly_flags?: {
|
|
4881
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
4882
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
4883
|
+
detail?: string | undefined;
|
|
4884
|
+
}[] | undefined;
|
|
4880
4885
|
decision?: {
|
|
4881
4886
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
4882
4887
|
outcome_label?: string | undefined;
|
|
@@ -4973,12 +4978,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4973
4978
|
gen_ai_conversation_id?: string | undefined;
|
|
4974
4979
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
4975
4980
|
} | undefined;
|
|
4976
|
-
anomaly_flags?: {
|
|
4977
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
4978
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
4979
|
-
detail?: string | undefined;
|
|
4980
|
-
}[] | undefined;
|
|
4981
4981
|
}, {
|
|
4982
|
+
prev_event_hash_intent: string;
|
|
4982
4983
|
run_id: string;
|
|
4983
4984
|
event_id: string;
|
|
4984
4985
|
schema_version: string;
|
|
@@ -5010,7 +5011,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5010
5011
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5011
5012
|
duration_ms?: number | undefined;
|
|
5012
5013
|
};
|
|
5013
|
-
|
|
5014
|
+
anomaly_flags?: {
|
|
5015
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5016
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5017
|
+
detail?: string | undefined;
|
|
5018
|
+
}[] | undefined;
|
|
5014
5019
|
decision?: {
|
|
5015
5020
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5016
5021
|
outcome_label?: string | undefined;
|
|
@@ -5107,12 +5112,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5107
5112
|
gen_ai_conversation_id?: string | undefined;
|
|
5108
5113
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5109
5114
|
} | undefined;
|
|
5110
|
-
anomaly_flags?: {
|
|
5111
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5112
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5113
|
-
detail?: string | undefined;
|
|
5114
|
-
}[] | undefined;
|
|
5115
5115
|
}>, {
|
|
5116
|
+
prev_event_hash_intent: string;
|
|
5116
5117
|
run_id: string;
|
|
5117
5118
|
event_id: string;
|
|
5118
5119
|
schema_version: string;
|
|
@@ -5144,7 +5145,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5144
5145
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5145
5146
|
duration_ms?: number | undefined;
|
|
5146
5147
|
};
|
|
5147
|
-
|
|
5148
|
+
anomaly_flags?: {
|
|
5149
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5150
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5151
|
+
detail?: string | undefined;
|
|
5152
|
+
}[] | undefined;
|
|
5148
5153
|
decision?: {
|
|
5149
5154
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5150
5155
|
outcome_label?: string | undefined;
|
|
@@ -5241,12 +5246,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5241
5246
|
gen_ai_conversation_id?: string | undefined;
|
|
5242
5247
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5243
5248
|
} | undefined;
|
|
5244
|
-
anomaly_flags?: {
|
|
5245
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5246
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5247
|
-
detail?: string | undefined;
|
|
5248
|
-
}[] | undefined;
|
|
5249
5249
|
}, {
|
|
5250
|
+
prev_event_hash_intent: string;
|
|
5250
5251
|
run_id: string;
|
|
5251
5252
|
event_id: string;
|
|
5252
5253
|
schema_version: string;
|
|
@@ -5278,7 +5279,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5278
5279
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5279
5280
|
duration_ms?: number | undefined;
|
|
5280
5281
|
};
|
|
5281
|
-
|
|
5282
|
+
anomaly_flags?: {
|
|
5283
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5284
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5285
|
+
detail?: string | undefined;
|
|
5286
|
+
}[] | undefined;
|
|
5282
5287
|
decision?: {
|
|
5283
5288
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5284
5289
|
outcome_label?: string | undefined;
|
|
@@ -5375,15 +5380,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5375
5380
|
gen_ai_conversation_id?: string | undefined;
|
|
5376
5381
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5377
5382
|
} | undefined;
|
|
5378
|
-
anomaly_flags?: {
|
|
5379
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5380
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5381
|
-
detail?: string | undefined;
|
|
5382
|
-
}[] | undefined;
|
|
5383
5383
|
}>;
|
|
5384
5384
|
}, "strict", z.ZodTypeAny, {
|
|
5385
5385
|
type: "event";
|
|
5386
5386
|
event: {
|
|
5387
|
+
prev_event_hash_intent: string;
|
|
5387
5388
|
run_id: string;
|
|
5388
5389
|
event_id: string;
|
|
5389
5390
|
schema_version: string;
|
|
@@ -5415,7 +5416,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5415
5416
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5416
5417
|
duration_ms?: number | undefined;
|
|
5417
5418
|
};
|
|
5418
|
-
|
|
5419
|
+
anomaly_flags?: {
|
|
5420
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5421
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5422
|
+
detail?: string | undefined;
|
|
5423
|
+
}[] | undefined;
|
|
5419
5424
|
decision?: {
|
|
5420
5425
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5421
5426
|
outcome_label?: string | undefined;
|
|
@@ -5512,15 +5517,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5512
5517
|
gen_ai_conversation_id?: string | undefined;
|
|
5513
5518
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5514
5519
|
} | undefined;
|
|
5515
|
-
anomaly_flags?: {
|
|
5516
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5517
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5518
|
-
detail?: string | undefined;
|
|
5519
|
-
}[] | undefined;
|
|
5520
5520
|
};
|
|
5521
5521
|
}, {
|
|
5522
5522
|
type: "event";
|
|
5523
5523
|
event: {
|
|
5524
|
+
prev_event_hash_intent: string;
|
|
5524
5525
|
run_id: string;
|
|
5525
5526
|
event_id: string;
|
|
5526
5527
|
schema_version: string;
|
|
@@ -5552,7 +5553,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5552
5553
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5553
5554
|
duration_ms?: number | undefined;
|
|
5554
5555
|
};
|
|
5555
|
-
|
|
5556
|
+
anomaly_flags?: {
|
|
5557
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5558
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5559
|
+
detail?: string | undefined;
|
|
5560
|
+
}[] | undefined;
|
|
5556
5561
|
decision?: {
|
|
5557
5562
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5558
5563
|
outcome_label?: string | undefined;
|
|
@@ -5649,11 +5654,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5649
5654
|
gen_ai_conversation_id?: string | undefined;
|
|
5650
5655
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5651
5656
|
} | undefined;
|
|
5652
|
-
anomaly_flags?: {
|
|
5653
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5654
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5655
|
-
detail?: string | undefined;
|
|
5656
|
-
}[] | undefined;
|
|
5657
5657
|
};
|
|
5658
5658
|
}>]>, "many">;
|
|
5659
5659
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -5667,6 +5667,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5667
5667
|
lifecycle_state: "active";
|
|
5668
5668
|
started_at: string;
|
|
5669
5669
|
redaction_policy_version: string;
|
|
5670
|
+
prev_event_hash_intent?: string | undefined;
|
|
5670
5671
|
conversation_id?: string | undefined;
|
|
5671
5672
|
delegated_from?: {
|
|
5672
5673
|
run_id: string;
|
|
@@ -5699,7 +5700,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5699
5700
|
adapter?: string | undefined;
|
|
5700
5701
|
host?: string | undefined;
|
|
5701
5702
|
} | undefined;
|
|
5702
|
-
prev_event_hash_intent?: string | undefined;
|
|
5703
5703
|
};
|
|
5704
5704
|
} | {
|
|
5705
5705
|
type: "run_update";
|
|
@@ -5715,6 +5715,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5715
5715
|
} | {
|
|
5716
5716
|
type: "event";
|
|
5717
5717
|
event: {
|
|
5718
|
+
prev_event_hash_intent: string;
|
|
5718
5719
|
run_id: string;
|
|
5719
5720
|
event_id: string;
|
|
5720
5721
|
schema_version: string;
|
|
@@ -5746,7 +5747,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5746
5747
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5747
5748
|
duration_ms?: number | undefined;
|
|
5748
5749
|
};
|
|
5749
|
-
|
|
5750
|
+
anomaly_flags?: {
|
|
5751
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5752
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5753
|
+
detail?: string | undefined;
|
|
5754
|
+
}[] | undefined;
|
|
5750
5755
|
decision?: {
|
|
5751
5756
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5752
5757
|
outcome_label?: string | undefined;
|
|
@@ -5843,11 +5848,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5843
5848
|
gen_ai_conversation_id?: string | undefined;
|
|
5844
5849
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5845
5850
|
} | undefined;
|
|
5846
|
-
anomaly_flags?: {
|
|
5847
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5848
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5849
|
-
detail?: string | undefined;
|
|
5850
|
-
}[] | undefined;
|
|
5851
5851
|
};
|
|
5852
5852
|
})[];
|
|
5853
5853
|
}, {
|
|
@@ -5861,6 +5861,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5861
5861
|
lifecycle_state: "active";
|
|
5862
5862
|
started_at: string;
|
|
5863
5863
|
redaction_policy_version: string;
|
|
5864
|
+
prev_event_hash_intent?: string | undefined;
|
|
5864
5865
|
conversation_id?: string | undefined;
|
|
5865
5866
|
delegated_from?: {
|
|
5866
5867
|
run_id: string;
|
|
@@ -5893,7 +5894,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5893
5894
|
adapter?: string | undefined;
|
|
5894
5895
|
host?: string | undefined;
|
|
5895
5896
|
} | undefined;
|
|
5896
|
-
prev_event_hash_intent?: string | undefined;
|
|
5897
5897
|
};
|
|
5898
5898
|
} | {
|
|
5899
5899
|
type: "run_update";
|
|
@@ -5909,6 +5909,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5909
5909
|
} | {
|
|
5910
5910
|
type: "event";
|
|
5911
5911
|
event: {
|
|
5912
|
+
prev_event_hash_intent: string;
|
|
5912
5913
|
run_id: string;
|
|
5913
5914
|
event_id: string;
|
|
5914
5915
|
schema_version: string;
|
|
@@ -5940,7 +5941,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5940
5941
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5941
5942
|
duration_ms?: number | undefined;
|
|
5942
5943
|
};
|
|
5943
|
-
|
|
5944
|
+
anomaly_flags?: {
|
|
5945
|
+
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
5946
|
+
severity: "info" | "warning" | "error" | "critical";
|
|
5947
|
+
detail?: string | undefined;
|
|
5948
|
+
}[] | undefined;
|
|
5944
5949
|
decision?: {
|
|
5945
5950
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5946
5951
|
outcome_label?: string | undefined;
|
|
@@ -6037,11 +6042,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
6037
6042
|
gen_ai_conversation_id?: string | undefined;
|
|
6038
6043
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
6039
6044
|
} | undefined;
|
|
6040
|
-
anomaly_flags?: {
|
|
6041
|
-
code: "missing_ambient_context" | "chain_break" | "sequence_gap" | "causality_violation" | "out_of_order_arrival" | "model_version_drift" | "unknown_agent_identity" | "data_classification_mismatch" | "policy_threshold_without_hitl" | "unauthorized_tool_invocation" | "redaction_policy_mismatch" | "schema_version_warning" | "agent_identity_mismatch_with_run" | "suspension_sla_exceeded" | "apparent_crash_detected" | "active_duration_exceeds_threshold" | "framework_signal_unrecognised" | "otel_attribute_missing" | "delegation_loop_detected";
|
|
6042
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
6043
|
-
detail?: string | undefined;
|
|
6044
|
-
}[] | undefined;
|
|
6045
6045
|
};
|
|
6046
6046
|
})[];
|
|
6047
6047
|
}>;
|