@runfile-ai/schemas 0.2.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 +108 -78
- package/dist/event.d.ts.map +1 -1
- package/dist/event.js +21 -8
- package/dist/event.js.map +1 -1
- package/dist/evidence.d.ts +115 -90
- package/dist/evidence.d.ts.map +1 -1
- package/dist/ingest.d.ts +326 -221
- package/dist/ingest.d.ts.map +1 -1
- package/dist/ingest.js +2 -0
- package/dist/ingest.js.map +1 -1
- package/dist/manifest.d.ts +2 -2
- package/generated/json-schema/event.json +22 -3
- package/generated/json-schema/evidence.json +22 -3
- package/generated/json-schema/ingest.json +20 -3
- package/package.json +1 -1
package/dist/ingest.d.ts
CHANGED
|
@@ -13,15 +13,18 @@ export declare const PayloadSubmissionSchema: z.ZodObject<{
|
|
|
13
13
|
encryption: z.ZodObject<{
|
|
14
14
|
algorithm: z.ZodLiteral<"aes-256-gcm">;
|
|
15
15
|
data_key_wrapped: z.ZodString;
|
|
16
|
-
|
|
16
|
+
key_id: z.ZodOptional<z.ZodString>;
|
|
17
|
+
nonce: z.ZodString;
|
|
17
18
|
}, "strict", z.ZodTypeAny, {
|
|
18
19
|
algorithm: "aes-256-gcm";
|
|
19
20
|
data_key_wrapped: string;
|
|
20
|
-
|
|
21
|
+
nonce: string;
|
|
22
|
+
key_id?: string | undefined;
|
|
21
23
|
}, {
|
|
22
24
|
algorithm: "aes-256-gcm";
|
|
23
25
|
data_key_wrapped: string;
|
|
24
|
-
|
|
26
|
+
nonce: string;
|
|
27
|
+
key_id?: string | undefined;
|
|
25
28
|
}>;
|
|
26
29
|
content_type: z.ZodOptional<z.ZodEnum<["application/json", "text/plain", "application/vnd.runfile.llm-request+json", "application/vnd.runfile.llm-response+json", "application/vnd.runfile.tool-call+json", "application/vnd.runfile.tool-result+json", "application/vnd.runfile.state-snapshot+json", "application/vnd.runfile.framework-signal+json"]>>;
|
|
27
30
|
redaction_applied: z.ZodOptional<z.ZodObject<{
|
|
@@ -44,7 +47,8 @@ export declare const PayloadSubmissionSchema: z.ZodObject<{
|
|
|
44
47
|
encryption: {
|
|
45
48
|
algorithm: "aes-256-gcm";
|
|
46
49
|
data_key_wrapped: string;
|
|
47
|
-
|
|
50
|
+
nonce: string;
|
|
51
|
+
key_id?: string | undefined;
|
|
48
52
|
};
|
|
49
53
|
ciphertext_base64: string;
|
|
50
54
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -60,7 +64,8 @@ export declare const PayloadSubmissionSchema: z.ZodObject<{
|
|
|
60
64
|
encryption: {
|
|
61
65
|
algorithm: "aes-256-gcm";
|
|
62
66
|
data_key_wrapped: string;
|
|
63
|
-
|
|
67
|
+
nonce: string;
|
|
68
|
+
key_id?: string | undefined;
|
|
64
69
|
};
|
|
65
70
|
ciphertext_base64: string;
|
|
66
71
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -175,6 +180,7 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
175
180
|
lifecycle_state: "active";
|
|
176
181
|
started_at: string;
|
|
177
182
|
redaction_policy_version: string;
|
|
183
|
+
prev_event_hash_intent?: string | undefined;
|
|
178
184
|
conversation_id?: string | undefined;
|
|
179
185
|
delegated_from?: {
|
|
180
186
|
run_id: string;
|
|
@@ -207,7 +213,6 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
207
213
|
adapter?: string | undefined;
|
|
208
214
|
host?: string | undefined;
|
|
209
215
|
} | undefined;
|
|
210
|
-
prev_event_hash_intent?: string | undefined;
|
|
211
216
|
}, {
|
|
212
217
|
agent_identity: string;
|
|
213
218
|
run_id: string;
|
|
@@ -215,6 +220,7 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
215
220
|
lifecycle_state: "active";
|
|
216
221
|
started_at: string;
|
|
217
222
|
redaction_policy_version: string;
|
|
223
|
+
prev_event_hash_intent?: string | undefined;
|
|
218
224
|
conversation_id?: string | undefined;
|
|
219
225
|
delegated_from?: {
|
|
220
226
|
run_id: string;
|
|
@@ -247,7 +253,6 @@ export declare const RunSubmissionSchema: z.ZodObject<{
|
|
|
247
253
|
adapter?: string | undefined;
|
|
248
254
|
host?: string | undefined;
|
|
249
255
|
} | undefined;
|
|
250
|
-
prev_event_hash_intent?: string | undefined;
|
|
251
256
|
}>;
|
|
252
257
|
export type RunSubmission = z.infer<typeof RunSubmissionSchema>;
|
|
253
258
|
/**
|
|
@@ -265,6 +270,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
265
270
|
run_id: z.ZodString;
|
|
266
271
|
parent_event_id: z.ZodNullable<z.ZodString>;
|
|
267
272
|
parallel_group_id: z.ZodOptional<z.ZodString>;
|
|
273
|
+
segment_index: z.ZodNumber;
|
|
274
|
+
local_seq: z.ZodNumber;
|
|
268
275
|
captured_at: z.ZodString;
|
|
269
276
|
wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
|
|
270
277
|
sdk: z.ZodObject<{
|
|
@@ -501,15 +508,18 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
501
508
|
encryption: z.ZodObject<{
|
|
502
509
|
algorithm: z.ZodLiteral<"aes-256-gcm">;
|
|
503
510
|
data_key_wrapped: z.ZodString;
|
|
504
|
-
|
|
511
|
+
key_id: z.ZodOptional<z.ZodString>;
|
|
512
|
+
nonce: z.ZodString;
|
|
505
513
|
}, "strict", z.ZodTypeAny, {
|
|
506
514
|
algorithm: "aes-256-gcm";
|
|
507
515
|
data_key_wrapped: string;
|
|
508
|
-
|
|
516
|
+
nonce: string;
|
|
517
|
+
key_id?: string | undefined;
|
|
509
518
|
}, {
|
|
510
519
|
algorithm: "aes-256-gcm";
|
|
511
520
|
data_key_wrapped: string;
|
|
512
|
-
|
|
521
|
+
nonce: string;
|
|
522
|
+
key_id?: string | undefined;
|
|
513
523
|
}>;
|
|
514
524
|
content_type: z.ZodOptional<z.ZodEnum<["application/json", "text/plain", "application/vnd.runfile.llm-request+json", "application/vnd.runfile.llm-response+json", "application/vnd.runfile.tool-call+json", "application/vnd.runfile.tool-result+json", "application/vnd.runfile.state-snapshot+json", "application/vnd.runfile.framework-signal+json"]>>;
|
|
515
525
|
redaction_applied: z.ZodOptional<z.ZodObject<{
|
|
@@ -532,7 +542,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
532
542
|
encryption: {
|
|
533
543
|
algorithm: "aes-256-gcm";
|
|
534
544
|
data_key_wrapped: string;
|
|
535
|
-
|
|
545
|
+
nonce: string;
|
|
546
|
+
key_id?: string | undefined;
|
|
536
547
|
};
|
|
537
548
|
ciphertext_base64: string;
|
|
538
549
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -548,7 +559,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
548
559
|
encryption: {
|
|
549
560
|
algorithm: "aes-256-gcm";
|
|
550
561
|
data_key_wrapped: string;
|
|
551
|
-
|
|
562
|
+
nonce: string;
|
|
563
|
+
key_id?: string | undefined;
|
|
552
564
|
};
|
|
553
565
|
ciphertext_base64: string;
|
|
554
566
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -623,15 +635,15 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
623
635
|
redaction_policy_version: z.ZodString;
|
|
624
636
|
regulatory_scope_version: z.ZodOptional<z.ZodString>;
|
|
625
637
|
anomaly_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
626
|
-
code: z.ZodEnum<["missing_ambient_context", "chain_break", "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"]>;
|
|
638
|
+
code: z.ZodEnum<["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"]>;
|
|
627
639
|
severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
|
|
628
640
|
detail: z.ZodOptional<z.ZodString>;
|
|
629
641
|
}, "strict", z.ZodTypeAny, {
|
|
630
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
642
|
+
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";
|
|
631
643
|
severity: "info" | "warning" | "error" | "critical";
|
|
632
644
|
detail?: string | undefined;
|
|
633
645
|
}, {
|
|
634
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
646
|
+
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";
|
|
635
647
|
severity: "info" | "warning" | "error" | "critical";
|
|
636
648
|
detail?: string | undefined;
|
|
637
649
|
}>, "many">>;
|
|
@@ -639,11 +651,14 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
639
651
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
640
652
|
prev_event_hash_intent: z.ZodString;
|
|
641
653
|
}, "strict", z.ZodTypeAny, {
|
|
654
|
+
prev_event_hash_intent: string;
|
|
642
655
|
run_id: string;
|
|
643
656
|
event_id: string;
|
|
644
657
|
schema_version: string;
|
|
645
658
|
redaction_policy_version: string;
|
|
646
659
|
parent_event_id: string | null;
|
|
660
|
+
segment_index: number;
|
|
661
|
+
local_seq: number;
|
|
647
662
|
captured_at: string;
|
|
648
663
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
649
664
|
sdk: {
|
|
@@ -668,7 +683,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
668
683
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
669
684
|
duration_ms?: number | undefined;
|
|
670
685
|
};
|
|
671
|
-
|
|
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;
|
|
672
691
|
decision?: {
|
|
673
692
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
674
693
|
outcome_label?: string | undefined;
|
|
@@ -732,7 +751,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
732
751
|
encryption: {
|
|
733
752
|
algorithm: "aes-256-gcm";
|
|
734
753
|
data_key_wrapped: string;
|
|
735
|
-
|
|
754
|
+
nonce: string;
|
|
755
|
+
key_id?: string | undefined;
|
|
736
756
|
};
|
|
737
757
|
ciphertext_base64: string;
|
|
738
758
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -764,17 +784,15 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
764
784
|
gen_ai_conversation_id?: string | undefined;
|
|
765
785
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
766
786
|
} | undefined;
|
|
767
|
-
anomaly_flags?: {
|
|
768
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
769
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
770
|
-
detail?: string | undefined;
|
|
771
|
-
}[] | undefined;
|
|
772
787
|
}, {
|
|
788
|
+
prev_event_hash_intent: string;
|
|
773
789
|
run_id: string;
|
|
774
790
|
event_id: string;
|
|
775
791
|
schema_version: string;
|
|
776
792
|
redaction_policy_version: string;
|
|
777
793
|
parent_event_id: string | null;
|
|
794
|
+
segment_index: number;
|
|
795
|
+
local_seq: number;
|
|
778
796
|
captured_at: string;
|
|
779
797
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
780
798
|
sdk: {
|
|
@@ -799,7 +817,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
799
817
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
800
818
|
duration_ms?: number | undefined;
|
|
801
819
|
};
|
|
802
|
-
|
|
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;
|
|
803
825
|
decision?: {
|
|
804
826
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
805
827
|
outcome_label?: string | undefined;
|
|
@@ -863,7 +885,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
863
885
|
encryption: {
|
|
864
886
|
algorithm: "aes-256-gcm";
|
|
865
887
|
data_key_wrapped: string;
|
|
866
|
-
|
|
888
|
+
nonce: string;
|
|
889
|
+
key_id?: string | undefined;
|
|
867
890
|
};
|
|
868
891
|
ciphertext_base64: string;
|
|
869
892
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -895,17 +918,15 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
895
918
|
gen_ai_conversation_id?: string | undefined;
|
|
896
919
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
897
920
|
} | undefined;
|
|
898
|
-
anomaly_flags?: {
|
|
899
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
900
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
901
|
-
detail?: string | undefined;
|
|
902
|
-
}[] | undefined;
|
|
903
921
|
}>, {
|
|
922
|
+
prev_event_hash_intent: string;
|
|
904
923
|
run_id: string;
|
|
905
924
|
event_id: string;
|
|
906
925
|
schema_version: string;
|
|
907
926
|
redaction_policy_version: string;
|
|
908
927
|
parent_event_id: string | null;
|
|
928
|
+
segment_index: number;
|
|
929
|
+
local_seq: number;
|
|
909
930
|
captured_at: string;
|
|
910
931
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
911
932
|
sdk: {
|
|
@@ -930,7 +951,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
930
951
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
931
952
|
duration_ms?: number | undefined;
|
|
932
953
|
};
|
|
933
|
-
|
|
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;
|
|
934
959
|
decision?: {
|
|
935
960
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
936
961
|
outcome_label?: string | undefined;
|
|
@@ -994,7 +1019,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
994
1019
|
encryption: {
|
|
995
1020
|
algorithm: "aes-256-gcm";
|
|
996
1021
|
data_key_wrapped: string;
|
|
997
|
-
|
|
1022
|
+
nonce: string;
|
|
1023
|
+
key_id?: string | undefined;
|
|
998
1024
|
};
|
|
999
1025
|
ciphertext_base64: string;
|
|
1000
1026
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -1026,17 +1052,15 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1026
1052
|
gen_ai_conversation_id?: string | undefined;
|
|
1027
1053
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1028
1054
|
} | undefined;
|
|
1029
|
-
anomaly_flags?: {
|
|
1030
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
1031
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
1032
|
-
detail?: string | undefined;
|
|
1033
|
-
}[] | undefined;
|
|
1034
1055
|
}, {
|
|
1056
|
+
prev_event_hash_intent: string;
|
|
1035
1057
|
run_id: string;
|
|
1036
1058
|
event_id: string;
|
|
1037
1059
|
schema_version: string;
|
|
1038
1060
|
redaction_policy_version: string;
|
|
1039
1061
|
parent_event_id: string | null;
|
|
1062
|
+
segment_index: number;
|
|
1063
|
+
local_seq: number;
|
|
1040
1064
|
captured_at: string;
|
|
1041
1065
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
1042
1066
|
sdk: {
|
|
@@ -1061,7 +1085,11 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1061
1085
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
1062
1086
|
duration_ms?: number | undefined;
|
|
1063
1087
|
};
|
|
1064
|
-
|
|
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;
|
|
1065
1093
|
decision?: {
|
|
1066
1094
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
1067
1095
|
outcome_label?: string | undefined;
|
|
@@ -1125,7 +1153,8 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1125
1153
|
encryption: {
|
|
1126
1154
|
algorithm: "aes-256-gcm";
|
|
1127
1155
|
data_key_wrapped: string;
|
|
1128
|
-
|
|
1156
|
+
nonce: string;
|
|
1157
|
+
key_id?: string | undefined;
|
|
1129
1158
|
};
|
|
1130
1159
|
ciphertext_base64: string;
|
|
1131
1160
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -1157,11 +1186,6 @@ export declare const EventSubmissionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1157
1186
|
gen_ai_conversation_id?: string | undefined;
|
|
1158
1187
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1159
1188
|
} | undefined;
|
|
1160
|
-
anomaly_flags?: {
|
|
1161
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
1162
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
1163
|
-
detail?: string | undefined;
|
|
1164
|
-
}[] | undefined;
|
|
1165
1189
|
}>;
|
|
1166
1190
|
export type EventSubmission = z.infer<typeof EventSubmissionSchema>;
|
|
1167
1191
|
export declare const RunCreateItemSchema: z.ZodObject<{
|
|
@@ -1257,6 +1281,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1257
1281
|
lifecycle_state: "active";
|
|
1258
1282
|
started_at: string;
|
|
1259
1283
|
redaction_policy_version: string;
|
|
1284
|
+
prev_event_hash_intent?: string | undefined;
|
|
1260
1285
|
conversation_id?: string | undefined;
|
|
1261
1286
|
delegated_from?: {
|
|
1262
1287
|
run_id: string;
|
|
@@ -1289,7 +1314,6 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1289
1314
|
adapter?: string | undefined;
|
|
1290
1315
|
host?: string | undefined;
|
|
1291
1316
|
} | undefined;
|
|
1292
|
-
prev_event_hash_intent?: string | undefined;
|
|
1293
1317
|
}, {
|
|
1294
1318
|
agent_identity: string;
|
|
1295
1319
|
run_id: string;
|
|
@@ -1297,6 +1321,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1297
1321
|
lifecycle_state: "active";
|
|
1298
1322
|
started_at: string;
|
|
1299
1323
|
redaction_policy_version: string;
|
|
1324
|
+
prev_event_hash_intent?: string | undefined;
|
|
1300
1325
|
conversation_id?: string | undefined;
|
|
1301
1326
|
delegated_from?: {
|
|
1302
1327
|
run_id: string;
|
|
@@ -1329,7 +1354,6 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1329
1354
|
adapter?: string | undefined;
|
|
1330
1355
|
host?: string | undefined;
|
|
1331
1356
|
} | undefined;
|
|
1332
|
-
prev_event_hash_intent?: string | undefined;
|
|
1333
1357
|
}>;
|
|
1334
1358
|
}, "strict", z.ZodTypeAny, {
|
|
1335
1359
|
type: "run_create";
|
|
@@ -1340,6 +1364,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1340
1364
|
lifecycle_state: "active";
|
|
1341
1365
|
started_at: string;
|
|
1342
1366
|
redaction_policy_version: string;
|
|
1367
|
+
prev_event_hash_intent?: string | undefined;
|
|
1343
1368
|
conversation_id?: string | undefined;
|
|
1344
1369
|
delegated_from?: {
|
|
1345
1370
|
run_id: string;
|
|
@@ -1372,7 +1397,6 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1372
1397
|
adapter?: string | undefined;
|
|
1373
1398
|
host?: string | undefined;
|
|
1374
1399
|
} | undefined;
|
|
1375
|
-
prev_event_hash_intent?: string | undefined;
|
|
1376
1400
|
};
|
|
1377
1401
|
}, {
|
|
1378
1402
|
type: "run_create";
|
|
@@ -1383,6 +1407,7 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1383
1407
|
lifecycle_state: "active";
|
|
1384
1408
|
started_at: string;
|
|
1385
1409
|
redaction_policy_version: string;
|
|
1410
|
+
prev_event_hash_intent?: string | undefined;
|
|
1386
1411
|
conversation_id?: string | undefined;
|
|
1387
1412
|
delegated_from?: {
|
|
1388
1413
|
run_id: string;
|
|
@@ -1415,7 +1440,6 @@ export declare const RunCreateItemSchema: z.ZodObject<{
|
|
|
1415
1440
|
adapter?: string | undefined;
|
|
1416
1441
|
host?: string | undefined;
|
|
1417
1442
|
} | undefined;
|
|
1418
|
-
prev_event_hash_intent?: string | undefined;
|
|
1419
1443
|
};
|
|
1420
1444
|
}>;
|
|
1421
1445
|
export type RunCreateItem = z.infer<typeof RunCreateItemSchema>;
|
|
@@ -1464,6 +1488,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1464
1488
|
run_id: z.ZodString;
|
|
1465
1489
|
parent_event_id: z.ZodNullable<z.ZodString>;
|
|
1466
1490
|
parallel_group_id: z.ZodOptional<z.ZodString>;
|
|
1491
|
+
segment_index: z.ZodNumber;
|
|
1492
|
+
local_seq: z.ZodNumber;
|
|
1467
1493
|
captured_at: z.ZodString;
|
|
1468
1494
|
wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
|
|
1469
1495
|
sdk: z.ZodObject<{
|
|
@@ -1700,15 +1726,18 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1700
1726
|
encryption: z.ZodObject<{
|
|
1701
1727
|
algorithm: z.ZodLiteral<"aes-256-gcm">;
|
|
1702
1728
|
data_key_wrapped: z.ZodString;
|
|
1703
|
-
|
|
1729
|
+
key_id: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
nonce: z.ZodString;
|
|
1704
1731
|
}, "strict", z.ZodTypeAny, {
|
|
1705
1732
|
algorithm: "aes-256-gcm";
|
|
1706
1733
|
data_key_wrapped: string;
|
|
1707
|
-
|
|
1734
|
+
nonce: string;
|
|
1735
|
+
key_id?: string | undefined;
|
|
1708
1736
|
}, {
|
|
1709
1737
|
algorithm: "aes-256-gcm";
|
|
1710
1738
|
data_key_wrapped: string;
|
|
1711
|
-
|
|
1739
|
+
nonce: string;
|
|
1740
|
+
key_id?: string | undefined;
|
|
1712
1741
|
}>;
|
|
1713
1742
|
content_type: z.ZodOptional<z.ZodEnum<["application/json", "text/plain", "application/vnd.runfile.llm-request+json", "application/vnd.runfile.llm-response+json", "application/vnd.runfile.tool-call+json", "application/vnd.runfile.tool-result+json", "application/vnd.runfile.state-snapshot+json", "application/vnd.runfile.framework-signal+json"]>>;
|
|
1714
1743
|
redaction_applied: z.ZodOptional<z.ZodObject<{
|
|
@@ -1731,7 +1760,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1731
1760
|
encryption: {
|
|
1732
1761
|
algorithm: "aes-256-gcm";
|
|
1733
1762
|
data_key_wrapped: string;
|
|
1734
|
-
|
|
1763
|
+
nonce: string;
|
|
1764
|
+
key_id?: string | undefined;
|
|
1735
1765
|
};
|
|
1736
1766
|
ciphertext_base64: string;
|
|
1737
1767
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -1747,7 +1777,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1747
1777
|
encryption: {
|
|
1748
1778
|
algorithm: "aes-256-gcm";
|
|
1749
1779
|
data_key_wrapped: string;
|
|
1750
|
-
|
|
1780
|
+
nonce: string;
|
|
1781
|
+
key_id?: string | undefined;
|
|
1751
1782
|
};
|
|
1752
1783
|
ciphertext_base64: string;
|
|
1753
1784
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -1822,15 +1853,15 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1822
1853
|
redaction_policy_version: z.ZodString;
|
|
1823
1854
|
regulatory_scope_version: z.ZodOptional<z.ZodString>;
|
|
1824
1855
|
anomaly_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1825
|
-
code: z.ZodEnum<["missing_ambient_context", "chain_break", "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"]>;
|
|
1856
|
+
code: z.ZodEnum<["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"]>;
|
|
1826
1857
|
severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
|
|
1827
1858
|
detail: z.ZodOptional<z.ZodString>;
|
|
1828
1859
|
}, "strict", z.ZodTypeAny, {
|
|
1829
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
1860
|
+
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";
|
|
1830
1861
|
severity: "info" | "warning" | "error" | "critical";
|
|
1831
1862
|
detail?: string | undefined;
|
|
1832
1863
|
}, {
|
|
1833
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
1864
|
+
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";
|
|
1834
1865
|
severity: "info" | "warning" | "error" | "critical";
|
|
1835
1866
|
detail?: string | undefined;
|
|
1836
1867
|
}>, "many">>;
|
|
@@ -1838,11 +1869,14 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1838
1869
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
1839
1870
|
prev_event_hash_intent: z.ZodString;
|
|
1840
1871
|
}, "strict", z.ZodTypeAny, {
|
|
1872
|
+
prev_event_hash_intent: string;
|
|
1841
1873
|
run_id: string;
|
|
1842
1874
|
event_id: string;
|
|
1843
1875
|
schema_version: string;
|
|
1844
1876
|
redaction_policy_version: string;
|
|
1845
1877
|
parent_event_id: string | null;
|
|
1878
|
+
segment_index: number;
|
|
1879
|
+
local_seq: number;
|
|
1846
1880
|
captured_at: string;
|
|
1847
1881
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
1848
1882
|
sdk: {
|
|
@@ -1867,7 +1901,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1867
1901
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
1868
1902
|
duration_ms?: number | undefined;
|
|
1869
1903
|
};
|
|
1870
|
-
|
|
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;
|
|
1871
1909
|
decision?: {
|
|
1872
1910
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
1873
1911
|
outcome_label?: string | undefined;
|
|
@@ -1931,7 +1969,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1931
1969
|
encryption: {
|
|
1932
1970
|
algorithm: "aes-256-gcm";
|
|
1933
1971
|
data_key_wrapped: string;
|
|
1934
|
-
|
|
1972
|
+
nonce: string;
|
|
1973
|
+
key_id?: string | undefined;
|
|
1935
1974
|
};
|
|
1936
1975
|
ciphertext_base64: string;
|
|
1937
1976
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -1963,17 +2002,15 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1963
2002
|
gen_ai_conversation_id?: string | undefined;
|
|
1964
2003
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
1965
2004
|
} | undefined;
|
|
1966
|
-
anomaly_flags?: {
|
|
1967
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
1968
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
1969
|
-
detail?: string | undefined;
|
|
1970
|
-
}[] | undefined;
|
|
1971
2005
|
}, {
|
|
2006
|
+
prev_event_hash_intent: string;
|
|
1972
2007
|
run_id: string;
|
|
1973
2008
|
event_id: string;
|
|
1974
2009
|
schema_version: string;
|
|
1975
2010
|
redaction_policy_version: string;
|
|
1976
2011
|
parent_event_id: string | null;
|
|
2012
|
+
segment_index: number;
|
|
2013
|
+
local_seq: number;
|
|
1977
2014
|
captured_at: string;
|
|
1978
2015
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
1979
2016
|
sdk: {
|
|
@@ -1998,7 +2035,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
1998
2035
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
1999
2036
|
duration_ms?: number | undefined;
|
|
2000
2037
|
};
|
|
2001
|
-
|
|
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;
|
|
2002
2043
|
decision?: {
|
|
2003
2044
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2004
2045
|
outcome_label?: string | undefined;
|
|
@@ -2062,7 +2103,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2062
2103
|
encryption: {
|
|
2063
2104
|
algorithm: "aes-256-gcm";
|
|
2064
2105
|
data_key_wrapped: string;
|
|
2065
|
-
|
|
2106
|
+
nonce: string;
|
|
2107
|
+
key_id?: string | undefined;
|
|
2066
2108
|
};
|
|
2067
2109
|
ciphertext_base64: string;
|
|
2068
2110
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -2094,17 +2136,15 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2094
2136
|
gen_ai_conversation_id?: string | undefined;
|
|
2095
2137
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2096
2138
|
} | undefined;
|
|
2097
|
-
anomaly_flags?: {
|
|
2098
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
2099
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2100
|
-
detail?: string | undefined;
|
|
2101
|
-
}[] | undefined;
|
|
2102
2139
|
}>, {
|
|
2140
|
+
prev_event_hash_intent: string;
|
|
2103
2141
|
run_id: string;
|
|
2104
2142
|
event_id: string;
|
|
2105
2143
|
schema_version: string;
|
|
2106
2144
|
redaction_policy_version: string;
|
|
2107
2145
|
parent_event_id: string | null;
|
|
2146
|
+
segment_index: number;
|
|
2147
|
+
local_seq: number;
|
|
2108
2148
|
captured_at: string;
|
|
2109
2149
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
2110
2150
|
sdk: {
|
|
@@ -2129,7 +2169,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2129
2169
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2130
2170
|
duration_ms?: number | undefined;
|
|
2131
2171
|
};
|
|
2132
|
-
|
|
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;
|
|
2133
2177
|
decision?: {
|
|
2134
2178
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2135
2179
|
outcome_label?: string | undefined;
|
|
@@ -2193,7 +2237,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2193
2237
|
encryption: {
|
|
2194
2238
|
algorithm: "aes-256-gcm";
|
|
2195
2239
|
data_key_wrapped: string;
|
|
2196
|
-
|
|
2240
|
+
nonce: string;
|
|
2241
|
+
key_id?: string | undefined;
|
|
2197
2242
|
};
|
|
2198
2243
|
ciphertext_base64: string;
|
|
2199
2244
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -2225,17 +2270,15 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2225
2270
|
gen_ai_conversation_id?: string | undefined;
|
|
2226
2271
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2227
2272
|
} | undefined;
|
|
2228
|
-
anomaly_flags?: {
|
|
2229
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
2230
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2231
|
-
detail?: string | undefined;
|
|
2232
|
-
}[] | undefined;
|
|
2233
2273
|
}, {
|
|
2274
|
+
prev_event_hash_intent: string;
|
|
2234
2275
|
run_id: string;
|
|
2235
2276
|
event_id: string;
|
|
2236
2277
|
schema_version: string;
|
|
2237
2278
|
redaction_policy_version: string;
|
|
2238
2279
|
parent_event_id: string | null;
|
|
2280
|
+
segment_index: number;
|
|
2281
|
+
local_seq: number;
|
|
2239
2282
|
captured_at: string;
|
|
2240
2283
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
2241
2284
|
sdk: {
|
|
@@ -2260,7 +2303,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2260
2303
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2261
2304
|
duration_ms?: number | undefined;
|
|
2262
2305
|
};
|
|
2263
|
-
|
|
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;
|
|
2264
2311
|
decision?: {
|
|
2265
2312
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2266
2313
|
outcome_label?: string | undefined;
|
|
@@ -2324,7 +2371,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2324
2371
|
encryption: {
|
|
2325
2372
|
algorithm: "aes-256-gcm";
|
|
2326
2373
|
data_key_wrapped: string;
|
|
2327
|
-
|
|
2374
|
+
nonce: string;
|
|
2375
|
+
key_id?: string | undefined;
|
|
2328
2376
|
};
|
|
2329
2377
|
ciphertext_base64: string;
|
|
2330
2378
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -2356,20 +2404,18 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2356
2404
|
gen_ai_conversation_id?: string | undefined;
|
|
2357
2405
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2358
2406
|
} | undefined;
|
|
2359
|
-
anomaly_flags?: {
|
|
2360
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
2361
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2362
|
-
detail?: string | undefined;
|
|
2363
|
-
}[] | undefined;
|
|
2364
2407
|
}>;
|
|
2365
2408
|
}, "strict", z.ZodTypeAny, {
|
|
2366
2409
|
type: "event";
|
|
2367
2410
|
event: {
|
|
2411
|
+
prev_event_hash_intent: string;
|
|
2368
2412
|
run_id: string;
|
|
2369
2413
|
event_id: string;
|
|
2370
2414
|
schema_version: string;
|
|
2371
2415
|
redaction_policy_version: string;
|
|
2372
2416
|
parent_event_id: string | null;
|
|
2417
|
+
segment_index: number;
|
|
2418
|
+
local_seq: number;
|
|
2373
2419
|
captured_at: string;
|
|
2374
2420
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
2375
2421
|
sdk: {
|
|
@@ -2394,7 +2440,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2394
2440
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2395
2441
|
duration_ms?: number | undefined;
|
|
2396
2442
|
};
|
|
2397
|
-
|
|
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;
|
|
2398
2448
|
decision?: {
|
|
2399
2449
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2400
2450
|
outcome_label?: string | undefined;
|
|
@@ -2458,7 +2508,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2458
2508
|
encryption: {
|
|
2459
2509
|
algorithm: "aes-256-gcm";
|
|
2460
2510
|
data_key_wrapped: string;
|
|
2461
|
-
|
|
2511
|
+
nonce: string;
|
|
2512
|
+
key_id?: string | undefined;
|
|
2462
2513
|
};
|
|
2463
2514
|
ciphertext_base64: string;
|
|
2464
2515
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -2490,20 +2541,18 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2490
2541
|
gen_ai_conversation_id?: string | undefined;
|
|
2491
2542
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2492
2543
|
} | undefined;
|
|
2493
|
-
anomaly_flags?: {
|
|
2494
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
2495
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2496
|
-
detail?: string | undefined;
|
|
2497
|
-
}[] | undefined;
|
|
2498
2544
|
};
|
|
2499
2545
|
}, {
|
|
2500
2546
|
type: "event";
|
|
2501
2547
|
event: {
|
|
2548
|
+
prev_event_hash_intent: string;
|
|
2502
2549
|
run_id: string;
|
|
2503
2550
|
event_id: string;
|
|
2504
2551
|
schema_version: string;
|
|
2505
2552
|
redaction_policy_version: string;
|
|
2506
2553
|
parent_event_id: string | null;
|
|
2554
|
+
segment_index: number;
|
|
2555
|
+
local_seq: number;
|
|
2507
2556
|
captured_at: string;
|
|
2508
2557
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
2509
2558
|
sdk: {
|
|
@@ -2528,7 +2577,11 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2528
2577
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
2529
2578
|
duration_ms?: number | undefined;
|
|
2530
2579
|
};
|
|
2531
|
-
|
|
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;
|
|
2532
2585
|
decision?: {
|
|
2533
2586
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
2534
2587
|
outcome_label?: string | undefined;
|
|
@@ -2592,7 +2645,8 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2592
2645
|
encryption: {
|
|
2593
2646
|
algorithm: "aes-256-gcm";
|
|
2594
2647
|
data_key_wrapped: string;
|
|
2595
|
-
|
|
2648
|
+
nonce: string;
|
|
2649
|
+
key_id?: string | undefined;
|
|
2596
2650
|
};
|
|
2597
2651
|
ciphertext_base64: string;
|
|
2598
2652
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -2624,11 +2678,6 @@ export declare const EventItemSchema: z.ZodObject<{
|
|
|
2624
2678
|
gen_ai_conversation_id?: string | undefined;
|
|
2625
2679
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
2626
2680
|
} | undefined;
|
|
2627
|
-
anomaly_flags?: {
|
|
2628
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
2629
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
2630
|
-
detail?: string | undefined;
|
|
2631
|
-
}[] | undefined;
|
|
2632
2681
|
};
|
|
2633
2682
|
}>;
|
|
2634
2683
|
export type EventItem = z.infer<typeof EventItemSchema>;
|
|
@@ -2725,6 +2774,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2725
2774
|
lifecycle_state: "active";
|
|
2726
2775
|
started_at: string;
|
|
2727
2776
|
redaction_policy_version: string;
|
|
2777
|
+
prev_event_hash_intent?: string | undefined;
|
|
2728
2778
|
conversation_id?: string | undefined;
|
|
2729
2779
|
delegated_from?: {
|
|
2730
2780
|
run_id: string;
|
|
@@ -2757,7 +2807,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2757
2807
|
adapter?: string | undefined;
|
|
2758
2808
|
host?: string | undefined;
|
|
2759
2809
|
} | undefined;
|
|
2760
|
-
prev_event_hash_intent?: string | undefined;
|
|
2761
2810
|
}, {
|
|
2762
2811
|
agent_identity: string;
|
|
2763
2812
|
run_id: string;
|
|
@@ -2765,6 +2814,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2765
2814
|
lifecycle_state: "active";
|
|
2766
2815
|
started_at: string;
|
|
2767
2816
|
redaction_policy_version: string;
|
|
2817
|
+
prev_event_hash_intent?: string | undefined;
|
|
2768
2818
|
conversation_id?: string | undefined;
|
|
2769
2819
|
delegated_from?: {
|
|
2770
2820
|
run_id: string;
|
|
@@ -2797,7 +2847,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2797
2847
|
adapter?: string | undefined;
|
|
2798
2848
|
host?: string | undefined;
|
|
2799
2849
|
} | undefined;
|
|
2800
|
-
prev_event_hash_intent?: string | undefined;
|
|
2801
2850
|
}>;
|
|
2802
2851
|
}, "strict", z.ZodTypeAny, {
|
|
2803
2852
|
type: "run_create";
|
|
@@ -2808,6 +2857,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2808
2857
|
lifecycle_state: "active";
|
|
2809
2858
|
started_at: string;
|
|
2810
2859
|
redaction_policy_version: string;
|
|
2860
|
+
prev_event_hash_intent?: string | undefined;
|
|
2811
2861
|
conversation_id?: string | undefined;
|
|
2812
2862
|
delegated_from?: {
|
|
2813
2863
|
run_id: string;
|
|
@@ -2840,7 +2890,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2840
2890
|
adapter?: string | undefined;
|
|
2841
2891
|
host?: string | undefined;
|
|
2842
2892
|
} | undefined;
|
|
2843
|
-
prev_event_hash_intent?: string | undefined;
|
|
2844
2893
|
};
|
|
2845
2894
|
}, {
|
|
2846
2895
|
type: "run_create";
|
|
@@ -2851,6 +2900,7 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2851
2900
|
lifecycle_state: "active";
|
|
2852
2901
|
started_at: string;
|
|
2853
2902
|
redaction_policy_version: string;
|
|
2903
|
+
prev_event_hash_intent?: string | undefined;
|
|
2854
2904
|
conversation_id?: string | undefined;
|
|
2855
2905
|
delegated_from?: {
|
|
2856
2906
|
run_id: string;
|
|
@@ -2883,7 +2933,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2883
2933
|
adapter?: string | undefined;
|
|
2884
2934
|
host?: string | undefined;
|
|
2885
2935
|
} | undefined;
|
|
2886
|
-
prev_event_hash_intent?: string | undefined;
|
|
2887
2936
|
};
|
|
2888
2937
|
}>, z.ZodObject<{
|
|
2889
2938
|
type: z.ZodLiteral<"run_update">;
|
|
@@ -2926,6 +2975,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2926
2975
|
run_id: z.ZodString;
|
|
2927
2976
|
parent_event_id: z.ZodNullable<z.ZodString>;
|
|
2928
2977
|
parallel_group_id: z.ZodOptional<z.ZodString>;
|
|
2978
|
+
segment_index: z.ZodNumber;
|
|
2979
|
+
local_seq: z.ZodNumber;
|
|
2929
2980
|
captured_at: z.ZodString;
|
|
2930
2981
|
wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
|
|
2931
2982
|
sdk: z.ZodObject<{
|
|
@@ -3162,15 +3213,18 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3162
3213
|
encryption: z.ZodObject<{
|
|
3163
3214
|
algorithm: z.ZodLiteral<"aes-256-gcm">;
|
|
3164
3215
|
data_key_wrapped: z.ZodString;
|
|
3165
|
-
|
|
3216
|
+
key_id: z.ZodOptional<z.ZodString>;
|
|
3217
|
+
nonce: z.ZodString;
|
|
3166
3218
|
}, "strict", z.ZodTypeAny, {
|
|
3167
3219
|
algorithm: "aes-256-gcm";
|
|
3168
3220
|
data_key_wrapped: string;
|
|
3169
|
-
|
|
3221
|
+
nonce: string;
|
|
3222
|
+
key_id?: string | undefined;
|
|
3170
3223
|
}, {
|
|
3171
3224
|
algorithm: "aes-256-gcm";
|
|
3172
3225
|
data_key_wrapped: string;
|
|
3173
|
-
|
|
3226
|
+
nonce: string;
|
|
3227
|
+
key_id?: string | undefined;
|
|
3174
3228
|
}>;
|
|
3175
3229
|
content_type: z.ZodOptional<z.ZodEnum<["application/json", "text/plain", "application/vnd.runfile.llm-request+json", "application/vnd.runfile.llm-response+json", "application/vnd.runfile.tool-call+json", "application/vnd.runfile.tool-result+json", "application/vnd.runfile.state-snapshot+json", "application/vnd.runfile.framework-signal+json"]>>;
|
|
3176
3230
|
redaction_applied: z.ZodOptional<z.ZodObject<{
|
|
@@ -3193,7 +3247,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3193
3247
|
encryption: {
|
|
3194
3248
|
algorithm: "aes-256-gcm";
|
|
3195
3249
|
data_key_wrapped: string;
|
|
3196
|
-
|
|
3250
|
+
nonce: string;
|
|
3251
|
+
key_id?: string | undefined;
|
|
3197
3252
|
};
|
|
3198
3253
|
ciphertext_base64: string;
|
|
3199
3254
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -3209,7 +3264,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3209
3264
|
encryption: {
|
|
3210
3265
|
algorithm: "aes-256-gcm";
|
|
3211
3266
|
data_key_wrapped: string;
|
|
3212
|
-
|
|
3267
|
+
nonce: string;
|
|
3268
|
+
key_id?: string | undefined;
|
|
3213
3269
|
};
|
|
3214
3270
|
ciphertext_base64: string;
|
|
3215
3271
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -3284,15 +3340,15 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3284
3340
|
redaction_policy_version: z.ZodString;
|
|
3285
3341
|
regulatory_scope_version: z.ZodOptional<z.ZodString>;
|
|
3286
3342
|
anomaly_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3287
|
-
code: z.ZodEnum<["missing_ambient_context", "chain_break", "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"]>;
|
|
3343
|
+
code: z.ZodEnum<["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"]>;
|
|
3288
3344
|
severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
|
|
3289
3345
|
detail: z.ZodOptional<z.ZodString>;
|
|
3290
3346
|
}, "strict", z.ZodTypeAny, {
|
|
3291
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
3347
|
+
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";
|
|
3292
3348
|
severity: "info" | "warning" | "error" | "critical";
|
|
3293
3349
|
detail?: string | undefined;
|
|
3294
3350
|
}, {
|
|
3295
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
3351
|
+
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";
|
|
3296
3352
|
severity: "info" | "warning" | "error" | "critical";
|
|
3297
3353
|
detail?: string | undefined;
|
|
3298
3354
|
}>, "many">>;
|
|
@@ -3300,11 +3356,14 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3300
3356
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
3301
3357
|
prev_event_hash_intent: z.ZodString;
|
|
3302
3358
|
}, "strict", z.ZodTypeAny, {
|
|
3359
|
+
prev_event_hash_intent: string;
|
|
3303
3360
|
run_id: string;
|
|
3304
3361
|
event_id: string;
|
|
3305
3362
|
schema_version: string;
|
|
3306
3363
|
redaction_policy_version: string;
|
|
3307
3364
|
parent_event_id: string | null;
|
|
3365
|
+
segment_index: number;
|
|
3366
|
+
local_seq: number;
|
|
3308
3367
|
captured_at: string;
|
|
3309
3368
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3310
3369
|
sdk: {
|
|
@@ -3329,7 +3388,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3329
3388
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3330
3389
|
duration_ms?: number | undefined;
|
|
3331
3390
|
};
|
|
3332
|
-
|
|
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;
|
|
3333
3396
|
decision?: {
|
|
3334
3397
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3335
3398
|
outcome_label?: string | undefined;
|
|
@@ -3393,7 +3456,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3393
3456
|
encryption: {
|
|
3394
3457
|
algorithm: "aes-256-gcm";
|
|
3395
3458
|
data_key_wrapped: string;
|
|
3396
|
-
|
|
3459
|
+
nonce: string;
|
|
3460
|
+
key_id?: string | undefined;
|
|
3397
3461
|
};
|
|
3398
3462
|
ciphertext_base64: string;
|
|
3399
3463
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -3425,17 +3489,15 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3425
3489
|
gen_ai_conversation_id?: string | undefined;
|
|
3426
3490
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3427
3491
|
} | undefined;
|
|
3428
|
-
anomaly_flags?: {
|
|
3429
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
3430
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3431
|
-
detail?: string | undefined;
|
|
3432
|
-
}[] | undefined;
|
|
3433
3492
|
}, {
|
|
3493
|
+
prev_event_hash_intent: string;
|
|
3434
3494
|
run_id: string;
|
|
3435
3495
|
event_id: string;
|
|
3436
3496
|
schema_version: string;
|
|
3437
3497
|
redaction_policy_version: string;
|
|
3438
3498
|
parent_event_id: string | null;
|
|
3499
|
+
segment_index: number;
|
|
3500
|
+
local_seq: number;
|
|
3439
3501
|
captured_at: string;
|
|
3440
3502
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3441
3503
|
sdk: {
|
|
@@ -3460,7 +3522,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3460
3522
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3461
3523
|
duration_ms?: number | undefined;
|
|
3462
3524
|
};
|
|
3463
|
-
|
|
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;
|
|
3464
3530
|
decision?: {
|
|
3465
3531
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3466
3532
|
outcome_label?: string | undefined;
|
|
@@ -3524,7 +3590,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3524
3590
|
encryption: {
|
|
3525
3591
|
algorithm: "aes-256-gcm";
|
|
3526
3592
|
data_key_wrapped: string;
|
|
3527
|
-
|
|
3593
|
+
nonce: string;
|
|
3594
|
+
key_id?: string | undefined;
|
|
3528
3595
|
};
|
|
3529
3596
|
ciphertext_base64: string;
|
|
3530
3597
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -3556,17 +3623,15 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3556
3623
|
gen_ai_conversation_id?: string | undefined;
|
|
3557
3624
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3558
3625
|
} | undefined;
|
|
3559
|
-
anomaly_flags?: {
|
|
3560
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
3561
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3562
|
-
detail?: string | undefined;
|
|
3563
|
-
}[] | undefined;
|
|
3564
3626
|
}>, {
|
|
3627
|
+
prev_event_hash_intent: string;
|
|
3565
3628
|
run_id: string;
|
|
3566
3629
|
event_id: string;
|
|
3567
3630
|
schema_version: string;
|
|
3568
3631
|
redaction_policy_version: string;
|
|
3569
3632
|
parent_event_id: string | null;
|
|
3633
|
+
segment_index: number;
|
|
3634
|
+
local_seq: number;
|
|
3570
3635
|
captured_at: string;
|
|
3571
3636
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3572
3637
|
sdk: {
|
|
@@ -3591,7 +3656,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3591
3656
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3592
3657
|
duration_ms?: number | undefined;
|
|
3593
3658
|
};
|
|
3594
|
-
|
|
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;
|
|
3595
3664
|
decision?: {
|
|
3596
3665
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3597
3666
|
outcome_label?: string | undefined;
|
|
@@ -3655,7 +3724,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3655
3724
|
encryption: {
|
|
3656
3725
|
algorithm: "aes-256-gcm";
|
|
3657
3726
|
data_key_wrapped: string;
|
|
3658
|
-
|
|
3727
|
+
nonce: string;
|
|
3728
|
+
key_id?: string | undefined;
|
|
3659
3729
|
};
|
|
3660
3730
|
ciphertext_base64: string;
|
|
3661
3731
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -3687,17 +3757,15 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3687
3757
|
gen_ai_conversation_id?: string | undefined;
|
|
3688
3758
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3689
3759
|
} | undefined;
|
|
3690
|
-
anomaly_flags?: {
|
|
3691
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
3692
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3693
|
-
detail?: string | undefined;
|
|
3694
|
-
}[] | undefined;
|
|
3695
3760
|
}, {
|
|
3761
|
+
prev_event_hash_intent: string;
|
|
3696
3762
|
run_id: string;
|
|
3697
3763
|
event_id: string;
|
|
3698
3764
|
schema_version: string;
|
|
3699
3765
|
redaction_policy_version: string;
|
|
3700
3766
|
parent_event_id: string | null;
|
|
3767
|
+
segment_index: number;
|
|
3768
|
+
local_seq: number;
|
|
3701
3769
|
captured_at: string;
|
|
3702
3770
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3703
3771
|
sdk: {
|
|
@@ -3722,7 +3790,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3722
3790
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3723
3791
|
duration_ms?: number | undefined;
|
|
3724
3792
|
};
|
|
3725
|
-
|
|
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;
|
|
3726
3798
|
decision?: {
|
|
3727
3799
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3728
3800
|
outcome_label?: string | undefined;
|
|
@@ -3786,7 +3858,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3786
3858
|
encryption: {
|
|
3787
3859
|
algorithm: "aes-256-gcm";
|
|
3788
3860
|
data_key_wrapped: string;
|
|
3789
|
-
|
|
3861
|
+
nonce: string;
|
|
3862
|
+
key_id?: string | undefined;
|
|
3790
3863
|
};
|
|
3791
3864
|
ciphertext_base64: string;
|
|
3792
3865
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -3818,20 +3891,18 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3818
3891
|
gen_ai_conversation_id?: string | undefined;
|
|
3819
3892
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3820
3893
|
} | undefined;
|
|
3821
|
-
anomaly_flags?: {
|
|
3822
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
3823
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3824
|
-
detail?: string | undefined;
|
|
3825
|
-
}[] | undefined;
|
|
3826
3894
|
}>;
|
|
3827
3895
|
}, "strict", z.ZodTypeAny, {
|
|
3828
3896
|
type: "event";
|
|
3829
3897
|
event: {
|
|
3898
|
+
prev_event_hash_intent: string;
|
|
3830
3899
|
run_id: string;
|
|
3831
3900
|
event_id: string;
|
|
3832
3901
|
schema_version: string;
|
|
3833
3902
|
redaction_policy_version: string;
|
|
3834
3903
|
parent_event_id: string | null;
|
|
3904
|
+
segment_index: number;
|
|
3905
|
+
local_seq: number;
|
|
3835
3906
|
captured_at: string;
|
|
3836
3907
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3837
3908
|
sdk: {
|
|
@@ -3856,7 +3927,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3856
3927
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3857
3928
|
duration_ms?: number | undefined;
|
|
3858
3929
|
};
|
|
3859
|
-
|
|
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;
|
|
3860
3935
|
decision?: {
|
|
3861
3936
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3862
3937
|
outcome_label?: string | undefined;
|
|
@@ -3920,7 +3995,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3920
3995
|
encryption: {
|
|
3921
3996
|
algorithm: "aes-256-gcm";
|
|
3922
3997
|
data_key_wrapped: string;
|
|
3923
|
-
|
|
3998
|
+
nonce: string;
|
|
3999
|
+
key_id?: string | undefined;
|
|
3924
4000
|
};
|
|
3925
4001
|
ciphertext_base64: string;
|
|
3926
4002
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -3952,20 +4028,18 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3952
4028
|
gen_ai_conversation_id?: string | undefined;
|
|
3953
4029
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
3954
4030
|
} | undefined;
|
|
3955
|
-
anomaly_flags?: {
|
|
3956
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
3957
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
3958
|
-
detail?: string | undefined;
|
|
3959
|
-
}[] | undefined;
|
|
3960
4031
|
};
|
|
3961
4032
|
}, {
|
|
3962
4033
|
type: "event";
|
|
3963
4034
|
event: {
|
|
4035
|
+
prev_event_hash_intent: string;
|
|
3964
4036
|
run_id: string;
|
|
3965
4037
|
event_id: string;
|
|
3966
4038
|
schema_version: string;
|
|
3967
4039
|
redaction_policy_version: string;
|
|
3968
4040
|
parent_event_id: string | null;
|
|
4041
|
+
segment_index: number;
|
|
4042
|
+
local_seq: number;
|
|
3969
4043
|
captured_at: string;
|
|
3970
4044
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
3971
4045
|
sdk: {
|
|
@@ -3990,7 +4064,11 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3990
4064
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
3991
4065
|
duration_ms?: number | undefined;
|
|
3992
4066
|
};
|
|
3993
|
-
|
|
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;
|
|
3994
4072
|
decision?: {
|
|
3995
4073
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
3996
4074
|
outcome_label?: string | undefined;
|
|
@@ -4054,7 +4132,8 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4054
4132
|
encryption: {
|
|
4055
4133
|
algorithm: "aes-256-gcm";
|
|
4056
4134
|
data_key_wrapped: string;
|
|
4057
|
-
|
|
4135
|
+
nonce: string;
|
|
4136
|
+
key_id?: string | undefined;
|
|
4058
4137
|
};
|
|
4059
4138
|
ciphertext_base64: string;
|
|
4060
4139
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -4086,11 +4165,6 @@ export declare const BatchItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4086
4165
|
gen_ai_conversation_id?: string | undefined;
|
|
4087
4166
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
4088
4167
|
} | undefined;
|
|
4089
|
-
anomaly_flags?: {
|
|
4090
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
4091
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
4092
|
-
detail?: string | undefined;
|
|
4093
|
-
}[] | undefined;
|
|
4094
4168
|
};
|
|
4095
4169
|
}>]>;
|
|
4096
4170
|
export type BatchItem = z.infer<typeof BatchItemSchema>;
|
|
@@ -4189,6 +4263,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4189
4263
|
lifecycle_state: "active";
|
|
4190
4264
|
started_at: string;
|
|
4191
4265
|
redaction_policy_version: string;
|
|
4266
|
+
prev_event_hash_intent?: string | undefined;
|
|
4192
4267
|
conversation_id?: string | undefined;
|
|
4193
4268
|
delegated_from?: {
|
|
4194
4269
|
run_id: string;
|
|
@@ -4221,7 +4296,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4221
4296
|
adapter?: string | undefined;
|
|
4222
4297
|
host?: string | undefined;
|
|
4223
4298
|
} | undefined;
|
|
4224
|
-
prev_event_hash_intent?: string | undefined;
|
|
4225
4299
|
}, {
|
|
4226
4300
|
agent_identity: string;
|
|
4227
4301
|
run_id: string;
|
|
@@ -4229,6 +4303,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4229
4303
|
lifecycle_state: "active";
|
|
4230
4304
|
started_at: string;
|
|
4231
4305
|
redaction_policy_version: string;
|
|
4306
|
+
prev_event_hash_intent?: string | undefined;
|
|
4232
4307
|
conversation_id?: string | undefined;
|
|
4233
4308
|
delegated_from?: {
|
|
4234
4309
|
run_id: string;
|
|
@@ -4261,7 +4336,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4261
4336
|
adapter?: string | undefined;
|
|
4262
4337
|
host?: string | undefined;
|
|
4263
4338
|
} | undefined;
|
|
4264
|
-
prev_event_hash_intent?: string | undefined;
|
|
4265
4339
|
}>;
|
|
4266
4340
|
}, "strict", z.ZodTypeAny, {
|
|
4267
4341
|
type: "run_create";
|
|
@@ -4272,6 +4346,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4272
4346
|
lifecycle_state: "active";
|
|
4273
4347
|
started_at: string;
|
|
4274
4348
|
redaction_policy_version: string;
|
|
4349
|
+
prev_event_hash_intent?: string | undefined;
|
|
4275
4350
|
conversation_id?: string | undefined;
|
|
4276
4351
|
delegated_from?: {
|
|
4277
4352
|
run_id: string;
|
|
@@ -4304,7 +4379,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4304
4379
|
adapter?: string | undefined;
|
|
4305
4380
|
host?: string | undefined;
|
|
4306
4381
|
} | undefined;
|
|
4307
|
-
prev_event_hash_intent?: string | undefined;
|
|
4308
4382
|
};
|
|
4309
4383
|
}, {
|
|
4310
4384
|
type: "run_create";
|
|
@@ -4315,6 +4389,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4315
4389
|
lifecycle_state: "active";
|
|
4316
4390
|
started_at: string;
|
|
4317
4391
|
redaction_policy_version: string;
|
|
4392
|
+
prev_event_hash_intent?: string | undefined;
|
|
4318
4393
|
conversation_id?: string | undefined;
|
|
4319
4394
|
delegated_from?: {
|
|
4320
4395
|
run_id: string;
|
|
@@ -4347,7 +4422,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4347
4422
|
adapter?: string | undefined;
|
|
4348
4423
|
host?: string | undefined;
|
|
4349
4424
|
} | undefined;
|
|
4350
|
-
prev_event_hash_intent?: string | undefined;
|
|
4351
4425
|
};
|
|
4352
4426
|
}>, z.ZodObject<{
|
|
4353
4427
|
type: z.ZodLiteral<"run_update">;
|
|
@@ -4390,6 +4464,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4390
4464
|
run_id: z.ZodString;
|
|
4391
4465
|
parent_event_id: z.ZodNullable<z.ZodString>;
|
|
4392
4466
|
parallel_group_id: z.ZodOptional<z.ZodString>;
|
|
4467
|
+
segment_index: z.ZodNumber;
|
|
4468
|
+
local_seq: z.ZodNumber;
|
|
4393
4469
|
captured_at: z.ZodString;
|
|
4394
4470
|
wall_clock_source: z.ZodEnum<["aws_time_sync", "ntp", "host_system", "unknown"]>;
|
|
4395
4471
|
sdk: z.ZodObject<{
|
|
@@ -4626,15 +4702,18 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4626
4702
|
encryption: z.ZodObject<{
|
|
4627
4703
|
algorithm: z.ZodLiteral<"aes-256-gcm">;
|
|
4628
4704
|
data_key_wrapped: z.ZodString;
|
|
4629
|
-
|
|
4705
|
+
key_id: z.ZodOptional<z.ZodString>;
|
|
4706
|
+
nonce: z.ZodString;
|
|
4630
4707
|
}, "strict", z.ZodTypeAny, {
|
|
4631
4708
|
algorithm: "aes-256-gcm";
|
|
4632
4709
|
data_key_wrapped: string;
|
|
4633
|
-
|
|
4710
|
+
nonce: string;
|
|
4711
|
+
key_id?: string | undefined;
|
|
4634
4712
|
}, {
|
|
4635
4713
|
algorithm: "aes-256-gcm";
|
|
4636
4714
|
data_key_wrapped: string;
|
|
4637
|
-
|
|
4715
|
+
nonce: string;
|
|
4716
|
+
key_id?: string | undefined;
|
|
4638
4717
|
}>;
|
|
4639
4718
|
content_type: z.ZodOptional<z.ZodEnum<["application/json", "text/plain", "application/vnd.runfile.llm-request+json", "application/vnd.runfile.llm-response+json", "application/vnd.runfile.tool-call+json", "application/vnd.runfile.tool-result+json", "application/vnd.runfile.state-snapshot+json", "application/vnd.runfile.framework-signal+json"]>>;
|
|
4640
4719
|
redaction_applied: z.ZodOptional<z.ZodObject<{
|
|
@@ -4657,7 +4736,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4657
4736
|
encryption: {
|
|
4658
4737
|
algorithm: "aes-256-gcm";
|
|
4659
4738
|
data_key_wrapped: string;
|
|
4660
|
-
|
|
4739
|
+
nonce: string;
|
|
4740
|
+
key_id?: string | undefined;
|
|
4661
4741
|
};
|
|
4662
4742
|
ciphertext_base64: string;
|
|
4663
4743
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -4673,7 +4753,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4673
4753
|
encryption: {
|
|
4674
4754
|
algorithm: "aes-256-gcm";
|
|
4675
4755
|
data_key_wrapped: string;
|
|
4676
|
-
|
|
4756
|
+
nonce: string;
|
|
4757
|
+
key_id?: string | undefined;
|
|
4677
4758
|
};
|
|
4678
4759
|
ciphertext_base64: string;
|
|
4679
4760
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -4748,15 +4829,15 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4748
4829
|
redaction_policy_version: z.ZodString;
|
|
4749
4830
|
regulatory_scope_version: z.ZodOptional<z.ZodString>;
|
|
4750
4831
|
anomaly_flags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4751
|
-
code: z.ZodEnum<["missing_ambient_context", "chain_break", "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"]>;
|
|
4832
|
+
code: z.ZodEnum<["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"]>;
|
|
4752
4833
|
severity: z.ZodEnum<["info", "warning", "error", "critical"]>;
|
|
4753
4834
|
detail: z.ZodOptional<z.ZodString>;
|
|
4754
4835
|
}, "strict", z.ZodTypeAny, {
|
|
4755
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
4836
|
+
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";
|
|
4756
4837
|
severity: "info" | "warning" | "error" | "critical";
|
|
4757
4838
|
detail?: string | undefined;
|
|
4758
4839
|
}, {
|
|
4759
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
4840
|
+
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";
|
|
4760
4841
|
severity: "info" | "warning" | "error" | "critical";
|
|
4761
4842
|
detail?: string | undefined;
|
|
4762
4843
|
}>, "many">>;
|
|
@@ -4764,11 +4845,14 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4764
4845
|
labels: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>>;
|
|
4765
4846
|
prev_event_hash_intent: z.ZodString;
|
|
4766
4847
|
}, "strict", z.ZodTypeAny, {
|
|
4848
|
+
prev_event_hash_intent: string;
|
|
4767
4849
|
run_id: string;
|
|
4768
4850
|
event_id: string;
|
|
4769
4851
|
schema_version: string;
|
|
4770
4852
|
redaction_policy_version: string;
|
|
4771
4853
|
parent_event_id: string | null;
|
|
4854
|
+
segment_index: number;
|
|
4855
|
+
local_seq: number;
|
|
4772
4856
|
captured_at: string;
|
|
4773
4857
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
4774
4858
|
sdk: {
|
|
@@ -4793,7 +4877,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4793
4877
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
4794
4878
|
duration_ms?: number | undefined;
|
|
4795
4879
|
};
|
|
4796
|
-
|
|
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;
|
|
4797
4885
|
decision?: {
|
|
4798
4886
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
4799
4887
|
outcome_label?: string | undefined;
|
|
@@ -4857,7 +4945,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4857
4945
|
encryption: {
|
|
4858
4946
|
algorithm: "aes-256-gcm";
|
|
4859
4947
|
data_key_wrapped: string;
|
|
4860
|
-
|
|
4948
|
+
nonce: string;
|
|
4949
|
+
key_id?: string | undefined;
|
|
4861
4950
|
};
|
|
4862
4951
|
ciphertext_base64: string;
|
|
4863
4952
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -4889,17 +4978,15 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4889
4978
|
gen_ai_conversation_id?: string | undefined;
|
|
4890
4979
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
4891
4980
|
} | undefined;
|
|
4892
|
-
anomaly_flags?: {
|
|
4893
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
4894
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
4895
|
-
detail?: string | undefined;
|
|
4896
|
-
}[] | undefined;
|
|
4897
4981
|
}, {
|
|
4982
|
+
prev_event_hash_intent: string;
|
|
4898
4983
|
run_id: string;
|
|
4899
4984
|
event_id: string;
|
|
4900
4985
|
schema_version: string;
|
|
4901
4986
|
redaction_policy_version: string;
|
|
4902
4987
|
parent_event_id: string | null;
|
|
4988
|
+
segment_index: number;
|
|
4989
|
+
local_seq: number;
|
|
4903
4990
|
captured_at: string;
|
|
4904
4991
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
4905
4992
|
sdk: {
|
|
@@ -4924,7 +5011,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4924
5011
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
4925
5012
|
duration_ms?: number | undefined;
|
|
4926
5013
|
};
|
|
4927
|
-
|
|
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;
|
|
4928
5019
|
decision?: {
|
|
4929
5020
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
4930
5021
|
outcome_label?: string | undefined;
|
|
@@ -4988,7 +5079,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
4988
5079
|
encryption: {
|
|
4989
5080
|
algorithm: "aes-256-gcm";
|
|
4990
5081
|
data_key_wrapped: string;
|
|
4991
|
-
|
|
5082
|
+
nonce: string;
|
|
5083
|
+
key_id?: string | undefined;
|
|
4992
5084
|
};
|
|
4993
5085
|
ciphertext_base64: string;
|
|
4994
5086
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -5020,17 +5112,15 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5020
5112
|
gen_ai_conversation_id?: string | undefined;
|
|
5021
5113
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5022
5114
|
} | undefined;
|
|
5023
|
-
anomaly_flags?: {
|
|
5024
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
5025
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5026
|
-
detail?: string | undefined;
|
|
5027
|
-
}[] | undefined;
|
|
5028
5115
|
}>, {
|
|
5116
|
+
prev_event_hash_intent: string;
|
|
5029
5117
|
run_id: string;
|
|
5030
5118
|
event_id: string;
|
|
5031
5119
|
schema_version: string;
|
|
5032
5120
|
redaction_policy_version: string;
|
|
5033
5121
|
parent_event_id: string | null;
|
|
5122
|
+
segment_index: number;
|
|
5123
|
+
local_seq: number;
|
|
5034
5124
|
captured_at: string;
|
|
5035
5125
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5036
5126
|
sdk: {
|
|
@@ -5055,7 +5145,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5055
5145
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5056
5146
|
duration_ms?: number | undefined;
|
|
5057
5147
|
};
|
|
5058
|
-
|
|
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;
|
|
5059
5153
|
decision?: {
|
|
5060
5154
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5061
5155
|
outcome_label?: string | undefined;
|
|
@@ -5119,7 +5213,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5119
5213
|
encryption: {
|
|
5120
5214
|
algorithm: "aes-256-gcm";
|
|
5121
5215
|
data_key_wrapped: string;
|
|
5122
|
-
|
|
5216
|
+
nonce: string;
|
|
5217
|
+
key_id?: string | undefined;
|
|
5123
5218
|
};
|
|
5124
5219
|
ciphertext_base64: string;
|
|
5125
5220
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -5151,17 +5246,15 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5151
5246
|
gen_ai_conversation_id?: string | undefined;
|
|
5152
5247
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5153
5248
|
} | undefined;
|
|
5154
|
-
anomaly_flags?: {
|
|
5155
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
5156
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5157
|
-
detail?: string | undefined;
|
|
5158
|
-
}[] | undefined;
|
|
5159
5249
|
}, {
|
|
5250
|
+
prev_event_hash_intent: string;
|
|
5160
5251
|
run_id: string;
|
|
5161
5252
|
event_id: string;
|
|
5162
5253
|
schema_version: string;
|
|
5163
5254
|
redaction_policy_version: string;
|
|
5164
5255
|
parent_event_id: string | null;
|
|
5256
|
+
segment_index: number;
|
|
5257
|
+
local_seq: number;
|
|
5165
5258
|
captured_at: string;
|
|
5166
5259
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5167
5260
|
sdk: {
|
|
@@ -5186,7 +5279,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5186
5279
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5187
5280
|
duration_ms?: number | undefined;
|
|
5188
5281
|
};
|
|
5189
|
-
|
|
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;
|
|
5190
5287
|
decision?: {
|
|
5191
5288
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5192
5289
|
outcome_label?: string | undefined;
|
|
@@ -5250,7 +5347,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5250
5347
|
encryption: {
|
|
5251
5348
|
algorithm: "aes-256-gcm";
|
|
5252
5349
|
data_key_wrapped: string;
|
|
5253
|
-
|
|
5350
|
+
nonce: string;
|
|
5351
|
+
key_id?: string | undefined;
|
|
5254
5352
|
};
|
|
5255
5353
|
ciphertext_base64: string;
|
|
5256
5354
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -5282,20 +5380,18 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5282
5380
|
gen_ai_conversation_id?: string | undefined;
|
|
5283
5381
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5284
5382
|
} | undefined;
|
|
5285
|
-
anomaly_flags?: {
|
|
5286
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
5287
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5288
|
-
detail?: string | undefined;
|
|
5289
|
-
}[] | undefined;
|
|
5290
5383
|
}>;
|
|
5291
5384
|
}, "strict", z.ZodTypeAny, {
|
|
5292
5385
|
type: "event";
|
|
5293
5386
|
event: {
|
|
5387
|
+
prev_event_hash_intent: string;
|
|
5294
5388
|
run_id: string;
|
|
5295
5389
|
event_id: string;
|
|
5296
5390
|
schema_version: string;
|
|
5297
5391
|
redaction_policy_version: string;
|
|
5298
5392
|
parent_event_id: string | null;
|
|
5393
|
+
segment_index: number;
|
|
5394
|
+
local_seq: number;
|
|
5299
5395
|
captured_at: string;
|
|
5300
5396
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5301
5397
|
sdk: {
|
|
@@ -5320,7 +5416,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5320
5416
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5321
5417
|
duration_ms?: number | undefined;
|
|
5322
5418
|
};
|
|
5323
|
-
|
|
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;
|
|
5324
5424
|
decision?: {
|
|
5325
5425
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5326
5426
|
outcome_label?: string | undefined;
|
|
@@ -5384,7 +5484,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5384
5484
|
encryption: {
|
|
5385
5485
|
algorithm: "aes-256-gcm";
|
|
5386
5486
|
data_key_wrapped: string;
|
|
5387
|
-
|
|
5487
|
+
nonce: string;
|
|
5488
|
+
key_id?: string | undefined;
|
|
5388
5489
|
};
|
|
5389
5490
|
ciphertext_base64: string;
|
|
5390
5491
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -5416,20 +5517,18 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5416
5517
|
gen_ai_conversation_id?: string | undefined;
|
|
5417
5518
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5418
5519
|
} | undefined;
|
|
5419
|
-
anomaly_flags?: {
|
|
5420
|
-
code: "missing_ambient_context" | "chain_break" | "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;
|
|
5424
5520
|
};
|
|
5425
5521
|
}, {
|
|
5426
5522
|
type: "event";
|
|
5427
5523
|
event: {
|
|
5524
|
+
prev_event_hash_intent: string;
|
|
5428
5525
|
run_id: string;
|
|
5429
5526
|
event_id: string;
|
|
5430
5527
|
schema_version: string;
|
|
5431
5528
|
redaction_policy_version: string;
|
|
5432
5529
|
parent_event_id: string | null;
|
|
5530
|
+
segment_index: number;
|
|
5531
|
+
local_seq: number;
|
|
5433
5532
|
captured_at: string;
|
|
5434
5533
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5435
5534
|
sdk: {
|
|
@@ -5454,7 +5553,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5454
5553
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5455
5554
|
duration_ms?: number | undefined;
|
|
5456
5555
|
};
|
|
5457
|
-
|
|
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;
|
|
5458
5561
|
decision?: {
|
|
5459
5562
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5460
5563
|
outcome_label?: string | undefined;
|
|
@@ -5518,7 +5621,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5518
5621
|
encryption: {
|
|
5519
5622
|
algorithm: "aes-256-gcm";
|
|
5520
5623
|
data_key_wrapped: string;
|
|
5521
|
-
|
|
5624
|
+
nonce: string;
|
|
5625
|
+
key_id?: string | undefined;
|
|
5522
5626
|
};
|
|
5523
5627
|
ciphertext_base64: string;
|
|
5524
5628
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -5550,11 +5654,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5550
5654
|
gen_ai_conversation_id?: string | undefined;
|
|
5551
5655
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5552
5656
|
} | undefined;
|
|
5553
|
-
anomaly_flags?: {
|
|
5554
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
5555
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5556
|
-
detail?: string | undefined;
|
|
5557
|
-
}[] | undefined;
|
|
5558
5657
|
};
|
|
5559
5658
|
}>]>, "many">;
|
|
5560
5659
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -5568,6 +5667,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5568
5667
|
lifecycle_state: "active";
|
|
5569
5668
|
started_at: string;
|
|
5570
5669
|
redaction_policy_version: string;
|
|
5670
|
+
prev_event_hash_intent?: string | undefined;
|
|
5571
5671
|
conversation_id?: string | undefined;
|
|
5572
5672
|
delegated_from?: {
|
|
5573
5673
|
run_id: string;
|
|
@@ -5600,7 +5700,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5600
5700
|
adapter?: string | undefined;
|
|
5601
5701
|
host?: string | undefined;
|
|
5602
5702
|
} | undefined;
|
|
5603
|
-
prev_event_hash_intent?: string | undefined;
|
|
5604
5703
|
};
|
|
5605
5704
|
} | {
|
|
5606
5705
|
type: "run_update";
|
|
@@ -5616,11 +5715,14 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5616
5715
|
} | {
|
|
5617
5716
|
type: "event";
|
|
5618
5717
|
event: {
|
|
5718
|
+
prev_event_hash_intent: string;
|
|
5619
5719
|
run_id: string;
|
|
5620
5720
|
event_id: string;
|
|
5621
5721
|
schema_version: string;
|
|
5622
5722
|
redaction_policy_version: string;
|
|
5623
5723
|
parent_event_id: string | null;
|
|
5724
|
+
segment_index: number;
|
|
5725
|
+
local_seq: number;
|
|
5624
5726
|
captured_at: string;
|
|
5625
5727
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5626
5728
|
sdk: {
|
|
@@ -5645,7 +5747,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5645
5747
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5646
5748
|
duration_ms?: number | undefined;
|
|
5647
5749
|
};
|
|
5648
|
-
|
|
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;
|
|
5649
5755
|
decision?: {
|
|
5650
5756
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5651
5757
|
outcome_label?: string | undefined;
|
|
@@ -5709,7 +5815,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5709
5815
|
encryption: {
|
|
5710
5816
|
algorithm: "aes-256-gcm";
|
|
5711
5817
|
data_key_wrapped: string;
|
|
5712
|
-
|
|
5818
|
+
nonce: string;
|
|
5819
|
+
key_id?: string | undefined;
|
|
5713
5820
|
};
|
|
5714
5821
|
ciphertext_base64: string;
|
|
5715
5822
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -5741,11 +5848,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5741
5848
|
gen_ai_conversation_id?: string | undefined;
|
|
5742
5849
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5743
5850
|
} | undefined;
|
|
5744
|
-
anomaly_flags?: {
|
|
5745
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
5746
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5747
|
-
detail?: string | undefined;
|
|
5748
|
-
}[] | undefined;
|
|
5749
5851
|
};
|
|
5750
5852
|
})[];
|
|
5751
5853
|
}, {
|
|
@@ -5759,6 +5861,7 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5759
5861
|
lifecycle_state: "active";
|
|
5760
5862
|
started_at: string;
|
|
5761
5863
|
redaction_policy_version: string;
|
|
5864
|
+
prev_event_hash_intent?: string | undefined;
|
|
5762
5865
|
conversation_id?: string | undefined;
|
|
5763
5866
|
delegated_from?: {
|
|
5764
5867
|
run_id: string;
|
|
@@ -5791,7 +5894,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5791
5894
|
adapter?: string | undefined;
|
|
5792
5895
|
host?: string | undefined;
|
|
5793
5896
|
} | undefined;
|
|
5794
|
-
prev_event_hash_intent?: string | undefined;
|
|
5795
5897
|
};
|
|
5796
5898
|
} | {
|
|
5797
5899
|
type: "run_update";
|
|
@@ -5807,11 +5909,14 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5807
5909
|
} | {
|
|
5808
5910
|
type: "event";
|
|
5809
5911
|
event: {
|
|
5912
|
+
prev_event_hash_intent: string;
|
|
5810
5913
|
run_id: string;
|
|
5811
5914
|
event_id: string;
|
|
5812
5915
|
schema_version: string;
|
|
5813
5916
|
redaction_policy_version: string;
|
|
5814
5917
|
parent_event_id: string | null;
|
|
5918
|
+
segment_index: number;
|
|
5919
|
+
local_seq: number;
|
|
5815
5920
|
captured_at: string;
|
|
5816
5921
|
wall_clock_source: "unknown" | "aws_time_sync" | "ntp" | "host_system";
|
|
5817
5922
|
sdk: {
|
|
@@ -5836,7 +5941,11 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5836
5941
|
outcome?: "success" | "failure" | "partial" | "timeout" | "cancelled" | undefined;
|
|
5837
5942
|
duration_ms?: number | undefined;
|
|
5838
5943
|
};
|
|
5839
|
-
|
|
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;
|
|
5840
5949
|
decision?: {
|
|
5841
5950
|
outcome: "custom" | "approved" | "denied" | "escalated" | "deferred" | "no_action";
|
|
5842
5951
|
outcome_label?: string | undefined;
|
|
@@ -5900,7 +6009,8 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5900
6009
|
encryption: {
|
|
5901
6010
|
algorithm: "aes-256-gcm";
|
|
5902
6011
|
data_key_wrapped: string;
|
|
5903
|
-
|
|
6012
|
+
nonce: string;
|
|
6013
|
+
key_id?: string | undefined;
|
|
5904
6014
|
};
|
|
5905
6015
|
ciphertext_base64: string;
|
|
5906
6016
|
content_type?: "application/json" | "text/plain" | "application/vnd.runfile.llm-request+json" | "application/vnd.runfile.llm-response+json" | "application/vnd.runfile.tool-call+json" | "application/vnd.runfile.tool-result+json" | "application/vnd.runfile.state-snapshot+json" | "application/vnd.runfile.framework-signal+json" | undefined;
|
|
@@ -5932,11 +6042,6 @@ export declare const BatchSubmissionSchema: z.ZodObject<{
|
|
|
5932
6042
|
gen_ai_conversation_id?: string | undefined;
|
|
5933
6043
|
extra?: Record<string, string | number | boolean> | undefined;
|
|
5934
6044
|
} | undefined;
|
|
5935
|
-
anomaly_flags?: {
|
|
5936
|
-
code: "missing_ambient_context" | "chain_break" | "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";
|
|
5937
|
-
severity: "info" | "warning" | "error" | "critical";
|
|
5938
|
-
detail?: string | undefined;
|
|
5939
|
-
}[] | undefined;
|
|
5940
6045
|
};
|
|
5941
6046
|
})[];
|
|
5942
6047
|
}>;
|