@remnic/core 9.9.0 → 9.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-cli.js +1 -1
- package/dist/access-operations.d.ts +3 -3
- package/dist/access-schema.d.ts +76 -76
- package/dist/{chunk-BI2OJF6J.js → chunk-EHCBW6DN.js} +3 -2
- package/dist/{chunk-BI2OJF6J.js.map → chunk-EHCBW6DN.js.map} +1 -1
- package/dist/index.d.ts +404 -404
- package/dist/index.js +1 -1
- package/dist/orchestrator.js +1 -1
- package/dist/schemas.d.ts +76 -76
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
- package/src/wearables/registry.ts +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -861,15 +861,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
|
|
|
861
861
|
locator: z.ZodOptional<z.ZodString>;
|
|
862
862
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
863
863
|
}, "strict", z.ZodTypeAny, {
|
|
864
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
864
865
|
id: string;
|
|
865
866
|
label: string;
|
|
866
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
867
867
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
868
868
|
locator?: string | undefined;
|
|
869
869
|
}, {
|
|
870
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
870
871
|
id: string;
|
|
871
872
|
label: string;
|
|
872
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
873
873
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
874
874
|
locator?: string | undefined;
|
|
875
875
|
}>;
|
|
@@ -886,15 +886,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
886
886
|
locator: z.ZodOptional<z.ZodString>;
|
|
887
887
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
888
888
|
}, "strict", z.ZodTypeAny, {
|
|
889
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
889
890
|
id: string;
|
|
890
891
|
label: string;
|
|
891
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
892
892
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
893
893
|
locator?: string | undefined;
|
|
894
894
|
}, {
|
|
895
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
895
896
|
id: string;
|
|
896
897
|
label: string;
|
|
897
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
898
898
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
899
899
|
locator?: string | undefined;
|
|
900
900
|
}>, "many">>;
|
|
@@ -902,9 +902,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
902
902
|
kind: "mission_started";
|
|
903
903
|
title: string;
|
|
904
904
|
evidence: {
|
|
905
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
905
906
|
id: string;
|
|
906
907
|
label: string;
|
|
907
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
908
908
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
909
909
|
locator?: string | undefined;
|
|
910
910
|
}[];
|
|
@@ -916,9 +916,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
916
916
|
objective: string;
|
|
917
917
|
runMode: "replay" | "fixture" | "live";
|
|
918
918
|
evidence?: {
|
|
919
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
919
920
|
id: string;
|
|
920
921
|
label: string;
|
|
921
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
922
922
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
923
923
|
locator?: string | undefined;
|
|
924
924
|
}[] | undefined;
|
|
@@ -934,15 +934,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
934
934
|
locator: z.ZodOptional<z.ZodString>;
|
|
935
935
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
936
936
|
}, "strict", z.ZodTypeAny, {
|
|
937
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
937
938
|
id: string;
|
|
938
939
|
label: string;
|
|
939
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
940
940
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
941
941
|
locator?: string | undefined;
|
|
942
942
|
}, {
|
|
943
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
943
944
|
id: string;
|
|
944
945
|
label: string;
|
|
945
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
946
946
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
947
947
|
locator?: string | undefined;
|
|
948
948
|
}>, "many">>;
|
|
@@ -950,32 +950,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
950
950
|
sessionId: z.ZodString;
|
|
951
951
|
kind: z.ZodLiteral<"agent_status">;
|
|
952
952
|
}, "strict", z.ZodTypeAny, {
|
|
953
|
-
label: string;
|
|
954
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
955
953
|
kind: "agent_status";
|
|
956
954
|
role: string;
|
|
955
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
956
|
+
label: string;
|
|
957
957
|
agentId: string;
|
|
958
958
|
sessionId: string;
|
|
959
959
|
evidence: {
|
|
960
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
960
961
|
id: string;
|
|
961
962
|
label: string;
|
|
962
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
963
963
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
964
964
|
locator?: string | undefined;
|
|
965
965
|
}[];
|
|
966
966
|
detail?: string | undefined;
|
|
967
967
|
}, {
|
|
968
|
-
label: string;
|
|
969
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
970
968
|
kind: "agent_status";
|
|
971
969
|
role: string;
|
|
970
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
971
|
+
label: string;
|
|
972
972
|
agentId: string;
|
|
973
973
|
sessionId: string;
|
|
974
974
|
detail?: string | undefined;
|
|
975
975
|
evidence?: {
|
|
976
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
976
977
|
id: string;
|
|
977
978
|
label: string;
|
|
978
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
979
979
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
980
980
|
locator?: string | undefined;
|
|
981
981
|
}[] | undefined;
|
|
@@ -989,15 +989,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
989
989
|
locator: z.ZodOptional<z.ZodString>;
|
|
990
990
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
991
991
|
}, "strict", z.ZodTypeAny, {
|
|
992
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
992
993
|
id: string;
|
|
993
994
|
label: string;
|
|
994
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
995
995
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
996
996
|
locator?: string | undefined;
|
|
997
997
|
}, {
|
|
998
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
998
999
|
id: string;
|
|
999
1000
|
label: string;
|
|
1000
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1001
1001
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1002
1002
|
locator?: string | undefined;
|
|
1003
1003
|
}>, "many">>;
|
|
@@ -1005,28 +1005,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1005
1005
|
sessionId: z.ZodString;
|
|
1006
1006
|
kind: z.ZodLiteral<"agent_output">;
|
|
1007
1007
|
}, "strict", z.ZodTypeAny, {
|
|
1008
|
-
summary: string;
|
|
1009
1008
|
kind: "agent_output";
|
|
1009
|
+
summary: string;
|
|
1010
1010
|
agentId: string;
|
|
1011
1011
|
sessionId: string;
|
|
1012
1012
|
evidence: {
|
|
1013
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1013
1014
|
id: string;
|
|
1014
1015
|
label: string;
|
|
1015
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1016
1016
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1017
1017
|
locator?: string | undefined;
|
|
1018
1018
|
}[];
|
|
1019
1019
|
outputId: string;
|
|
1020
1020
|
}, {
|
|
1021
|
-
summary: string;
|
|
1022
1021
|
kind: "agent_output";
|
|
1022
|
+
summary: string;
|
|
1023
1023
|
agentId: string;
|
|
1024
1024
|
sessionId: string;
|
|
1025
1025
|
outputId: string;
|
|
1026
1026
|
evidence?: {
|
|
1027
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1027
1028
|
id: string;
|
|
1028
1029
|
label: string;
|
|
1029
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1030
1030
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1031
1031
|
locator?: string | undefined;
|
|
1032
1032
|
}[] | undefined;
|
|
@@ -1042,15 +1042,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1042
1042
|
locator: z.ZodOptional<z.ZodString>;
|
|
1043
1043
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1044
1044
|
}, "strict", z.ZodTypeAny, {
|
|
1045
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1045
1046
|
id: string;
|
|
1046
1047
|
label: string;
|
|
1047
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1048
1048
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1049
1049
|
locator?: string | undefined;
|
|
1050
1050
|
}, {
|
|
1051
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1051
1052
|
id: string;
|
|
1052
1053
|
label: string;
|
|
1053
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1054
1054
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1055
1055
|
locator?: string | undefined;
|
|
1056
1056
|
}>, "many">>;
|
|
@@ -1063,9 +1063,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1063
1063
|
statement: string;
|
|
1064
1064
|
sessionId: string;
|
|
1065
1065
|
evidence: {
|
|
1066
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1066
1067
|
id: string;
|
|
1067
1068
|
label: string;
|
|
1068
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1069
1069
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1070
1070
|
locator?: string | undefined;
|
|
1071
1071
|
}[];
|
|
@@ -1081,9 +1081,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1081
1081
|
decisionId: string;
|
|
1082
1082
|
confidence?: number | undefined;
|
|
1083
1083
|
evidence?: {
|
|
1084
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1084
1085
|
id: string;
|
|
1085
1086
|
label: string;
|
|
1086
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1087
1087
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1088
1088
|
locator?: string | undefined;
|
|
1089
1089
|
}[] | undefined;
|
|
@@ -1100,25 +1100,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1100
1100
|
locator: z.ZodOptional<z.ZodString>;
|
|
1101
1101
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1102
1102
|
}, "strict", z.ZodTypeAny, {
|
|
1103
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1103
1104
|
id: string;
|
|
1104
1105
|
label: string;
|
|
1105
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1106
1106
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1107
1107
|
locator?: string | undefined;
|
|
1108
1108
|
}, {
|
|
1109
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1109
1110
|
id: string;
|
|
1110
1111
|
label: string;
|
|
1111
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1112
1112
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1113
1113
|
locator?: string | undefined;
|
|
1114
1114
|
}>, "many">>;
|
|
1115
1115
|
}, "strict", z.ZodTypeAny, {
|
|
1116
|
-
summary: string;
|
|
1117
1116
|
kind: "conflict_detected";
|
|
1117
|
+
summary: string;
|
|
1118
1118
|
evidence: {
|
|
1119
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1119
1120
|
id: string;
|
|
1120
1121
|
label: string;
|
|
1121
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1122
1122
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1123
1123
|
locator?: string | undefined;
|
|
1124
1124
|
}[];
|
|
@@ -1126,15 +1126,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1126
1126
|
decisionIds: string[];
|
|
1127
1127
|
agentIds: string[];
|
|
1128
1128
|
}, {
|
|
1129
|
-
summary: string;
|
|
1130
1129
|
kind: "conflict_detected";
|
|
1130
|
+
summary: string;
|
|
1131
1131
|
conflictId: string;
|
|
1132
1132
|
decisionIds: string[];
|
|
1133
1133
|
agentIds: string[];
|
|
1134
1134
|
evidence?: {
|
|
1135
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1135
1136
|
id: string;
|
|
1136
1137
|
label: string;
|
|
1137
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1138
1138
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1139
1139
|
locator?: string | undefined;
|
|
1140
1140
|
}[] | undefined;
|
|
@@ -1154,27 +1154,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1154
1154
|
locator: z.ZodOptional<z.ZodString>;
|
|
1155
1155
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1156
1156
|
}, "strict", z.ZodTypeAny, {
|
|
1157
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1157
1158
|
id: string;
|
|
1158
1159
|
label: string;
|
|
1159
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1160
1160
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1161
1161
|
locator?: string | undefined;
|
|
1162
1162
|
}, {
|
|
1163
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1163
1164
|
id: string;
|
|
1164
1165
|
label: string;
|
|
1165
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1166
1166
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1167
1167
|
locator?: string | undefined;
|
|
1168
1168
|
}>, "many">>;
|
|
1169
1169
|
}, "strict", z.ZodTypeAny, {
|
|
1170
|
-
summary: string;
|
|
1171
|
-
status: "error" | "failed" | "passed";
|
|
1172
1170
|
kind: "test_result";
|
|
1171
|
+
summary: string;
|
|
1173
1172
|
command: string;
|
|
1173
|
+
status: "error" | "failed" | "passed";
|
|
1174
1174
|
evidence: {
|
|
1175
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1175
1176
|
id: string;
|
|
1176
1177
|
label: string;
|
|
1177
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1178
1178
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1179
1179
|
locator?: string | undefined;
|
|
1180
1180
|
}[];
|
|
@@ -1183,17 +1183,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1183
1183
|
durationMs?: number | undefined;
|
|
1184
1184
|
correctionId?: string | undefined;
|
|
1185
1185
|
}, {
|
|
1186
|
-
summary: string;
|
|
1187
|
-
status: "error" | "failed" | "passed";
|
|
1188
1186
|
kind: "test_result";
|
|
1187
|
+
summary: string;
|
|
1189
1188
|
command: string;
|
|
1189
|
+
status: "error" | "failed" | "passed";
|
|
1190
1190
|
decisionId: string;
|
|
1191
1191
|
testId: string;
|
|
1192
1192
|
durationMs?: number | undefined;
|
|
1193
1193
|
evidence?: {
|
|
1194
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1194
1195
|
id: string;
|
|
1195
1196
|
label: string;
|
|
1196
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1197
1197
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1198
1198
|
locator?: string | undefined;
|
|
1199
1199
|
}[] | undefined;
|
|
@@ -1214,15 +1214,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1214
1214
|
locator: z.ZodOptional<z.ZodString>;
|
|
1215
1215
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1216
1216
|
}, "strict", z.ZodTypeAny, {
|
|
1217
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1217
1218
|
id: string;
|
|
1218
1219
|
label: string;
|
|
1219
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1220
1220
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1221
1221
|
locator?: string | undefined;
|
|
1222
1222
|
}, {
|
|
1223
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1223
1224
|
id: string;
|
|
1224
1225
|
label: string;
|
|
1225
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1226
1226
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1227
1227
|
locator?: string | undefined;
|
|
1228
1228
|
}>, "many">>;
|
|
@@ -1231,9 +1231,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1231
1231
|
rationale: string;
|
|
1232
1232
|
statement: string;
|
|
1233
1233
|
evidence: {
|
|
1234
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1234
1235
|
id: string;
|
|
1235
1236
|
label: string;
|
|
1236
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1237
1237
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1238
1238
|
locator?: string | undefined;
|
|
1239
1239
|
}[];
|
|
@@ -1252,9 +1252,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1252
1252
|
supersedesDecisionIds: string[];
|
|
1253
1253
|
proposedBy: string;
|
|
1254
1254
|
evidence?: {
|
|
1255
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1255
1256
|
id: string;
|
|
1256
1257
|
label: string;
|
|
1257
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1258
1258
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1259
1259
|
locator?: string | undefined;
|
|
1260
1260
|
}[] | undefined;
|
|
@@ -1266,13 +1266,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1266
1266
|
id: z.ZodString;
|
|
1267
1267
|
label: z.ZodString;
|
|
1268
1268
|
}, "strict", z.ZodTypeAny, {
|
|
1269
|
+
kind: "agent" | "human";
|
|
1269
1270
|
id: string;
|
|
1270
1271
|
label: string;
|
|
1271
|
-
kind: "agent" | "human";
|
|
1272
1272
|
}, {
|
|
1273
|
+
kind: "agent" | "human";
|
|
1273
1274
|
id: string;
|
|
1274
1275
|
label: string;
|
|
1275
|
-
kind: "agent" | "human";
|
|
1276
1276
|
}>;
|
|
1277
1277
|
note: z.ZodOptional<z.ZodString>;
|
|
1278
1278
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1282,47 +1282,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1282
1282
|
locator: z.ZodOptional<z.ZodString>;
|
|
1283
1283
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1284
1284
|
}, "strict", z.ZodTypeAny, {
|
|
1285
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1285
1286
|
id: string;
|
|
1286
1287
|
label: string;
|
|
1287
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1288
1288
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1289
1289
|
locator?: string | undefined;
|
|
1290
1290
|
}, {
|
|
1291
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1291
1292
|
id: string;
|
|
1292
1293
|
label: string;
|
|
1293
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1294
1294
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1295
1295
|
locator?: string | undefined;
|
|
1296
1296
|
}>, "many">>;
|
|
1297
1297
|
}, "strict", z.ZodTypeAny, {
|
|
1298
1298
|
kind: "correction_approved";
|
|
1299
1299
|
evidence: {
|
|
1300
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1300
1301
|
id: string;
|
|
1301
1302
|
label: string;
|
|
1302
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1303
1303
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1304
1304
|
locator?: string | undefined;
|
|
1305
1305
|
}[];
|
|
1306
1306
|
correctionId: string;
|
|
1307
1307
|
approvedBy: {
|
|
1308
|
+
kind: "agent" | "human";
|
|
1308
1309
|
id: string;
|
|
1309
1310
|
label: string;
|
|
1310
|
-
kind: "agent" | "human";
|
|
1311
1311
|
};
|
|
1312
1312
|
note?: string | undefined;
|
|
1313
1313
|
}, {
|
|
1314
1314
|
kind: "correction_approved";
|
|
1315
1315
|
correctionId: string;
|
|
1316
1316
|
approvedBy: {
|
|
1317
|
+
kind: "agent" | "human";
|
|
1317
1318
|
id: string;
|
|
1318
1319
|
label: string;
|
|
1319
|
-
kind: "agent" | "human";
|
|
1320
1320
|
};
|
|
1321
1321
|
note?: string | undefined;
|
|
1322
1322
|
evidence?: {
|
|
1323
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1323
1324
|
id: string;
|
|
1324
1325
|
label: string;
|
|
1325
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1326
1326
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1327
1327
|
locator?: string | undefined;
|
|
1328
1328
|
}[] | undefined;
|
|
@@ -1338,24 +1338,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1338
1338
|
locator: z.ZodOptional<z.ZodString>;
|
|
1339
1339
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1340
1340
|
}, "strict", z.ZodTypeAny, {
|
|
1341
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1341
1342
|
id: string;
|
|
1342
1343
|
label: string;
|
|
1343
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1344
1344
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1345
1345
|
locator?: string | undefined;
|
|
1346
1346
|
}, {
|
|
1347
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1347
1348
|
id: string;
|
|
1348
1349
|
label: string;
|
|
1349
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1350
1350
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1351
1351
|
locator?: string | undefined;
|
|
1352
1352
|
}>, "many">>;
|
|
1353
1353
|
}, "strict", z.ZodTypeAny, {
|
|
1354
1354
|
kind: "decision_superseded";
|
|
1355
1355
|
evidence: {
|
|
1356
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1356
1357
|
id: string;
|
|
1357
1358
|
label: string;
|
|
1358
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1359
1359
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1360
1360
|
locator?: string | undefined;
|
|
1361
1361
|
}[];
|
|
@@ -1368,9 +1368,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1368
1368
|
correctionId: string;
|
|
1369
1369
|
replacementDecisionId: string;
|
|
1370
1370
|
evidence?: {
|
|
1371
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1371
1372
|
id: string;
|
|
1372
1373
|
label: string;
|
|
1373
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1374
1374
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1375
1375
|
locator?: string | undefined;
|
|
1376
1376
|
}[] | undefined;
|
|
@@ -1386,15 +1386,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1386
1386
|
locator: z.ZodOptional<z.ZodString>;
|
|
1387
1387
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1388
1388
|
}, "strict", z.ZodTypeAny, {
|
|
1389
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1389
1390
|
id: string;
|
|
1390
1391
|
label: string;
|
|
1391
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1392
1392
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1393
1393
|
locator?: string | undefined;
|
|
1394
1394
|
}, {
|
|
1395
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1395
1396
|
id: string;
|
|
1396
1397
|
label: string;
|
|
1397
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1398
1398
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1399
1399
|
locator?: string | undefined;
|
|
1400
1400
|
}>, "many">>;
|
|
@@ -1407,9 +1407,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1407
1407
|
agentId: string;
|
|
1408
1408
|
sessionId: string;
|
|
1409
1409
|
evidence: {
|
|
1410
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1410
1411
|
id: string;
|
|
1411
1412
|
label: string;
|
|
1412
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1413
1413
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1414
1414
|
locator?: string | undefined;
|
|
1415
1415
|
}[];
|
|
@@ -1425,9 +1425,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1425
1425
|
recallReceiptId: string;
|
|
1426
1426
|
capturedAtAction: boolean;
|
|
1427
1427
|
evidence?: {
|
|
1428
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1428
1429
|
id: string;
|
|
1429
1430
|
label: string;
|
|
1430
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1431
1431
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1432
1432
|
locator?: string | undefined;
|
|
1433
1433
|
}[] | undefined;
|
|
@@ -1443,15 +1443,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1443
1443
|
locator: z.ZodOptional<z.ZodString>;
|
|
1444
1444
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1445
1445
|
}, "strict", z.ZodTypeAny, {
|
|
1446
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1446
1447
|
id: string;
|
|
1447
1448
|
label: string;
|
|
1448
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1449
1449
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1450
1450
|
locator?: string | undefined;
|
|
1451
1451
|
}, {
|
|
1452
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1452
1453
|
id: string;
|
|
1453
1454
|
label: string;
|
|
1454
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1455
1455
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1456
1456
|
locator?: string | undefined;
|
|
1457
1457
|
}>, "many">>;
|
|
@@ -1463,9 +1463,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1463
1463
|
agentId: string;
|
|
1464
1464
|
sessionId: string;
|
|
1465
1465
|
evidence: {
|
|
1466
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1466
1467
|
id: string;
|
|
1467
1468
|
label: string;
|
|
1468
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1469
1469
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1470
1470
|
locator?: string | undefined;
|
|
1471
1471
|
}[];
|
|
@@ -1482,9 +1482,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1482
1482
|
recallReceiptId: string;
|
|
1483
1483
|
staleDecisionAbsent: boolean;
|
|
1484
1484
|
evidence?: {
|
|
1485
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1485
1486
|
id: string;
|
|
1486
1487
|
label: string;
|
|
1487
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1488
1488
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1489
1489
|
locator?: string | undefined;
|
|
1490
1490
|
}[] | undefined;
|
|
@@ -1499,37 +1499,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1499
1499
|
locator: z.ZodOptional<z.ZodString>;
|
|
1500
1500
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1501
1501
|
}, "strict", z.ZodTypeAny, {
|
|
1502
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1502
1503
|
id: string;
|
|
1503
1504
|
label: string;
|
|
1504
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1505
1505
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1506
1506
|
locator?: string | undefined;
|
|
1507
1507
|
}, {
|
|
1508
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1508
1509
|
id: string;
|
|
1509
1510
|
label: string;
|
|
1510
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1511
1511
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1512
1512
|
locator?: string | undefined;
|
|
1513
1513
|
}>, "many">>;
|
|
1514
1514
|
}, "strict", z.ZodTypeAny, {
|
|
1515
|
-
summary: string;
|
|
1516
1515
|
kind: "mission_completed";
|
|
1516
|
+
summary: string;
|
|
1517
1517
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1518
1518
|
evidence: {
|
|
1519
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1519
1520
|
id: string;
|
|
1520
1521
|
label: string;
|
|
1521
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1522
1522
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1523
1523
|
locator?: string | undefined;
|
|
1524
1524
|
}[];
|
|
1525
1525
|
}, {
|
|
1526
|
-
summary: string;
|
|
1527
1526
|
kind: "mission_completed";
|
|
1527
|
+
summary: string;
|
|
1528
1528
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1529
1529
|
evidence?: {
|
|
1530
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1530
1531
|
id: string;
|
|
1531
1532
|
label: string;
|
|
1532
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1533
1533
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1534
1534
|
locator?: string | undefined;
|
|
1535
1535
|
}[] | undefined;
|
|
@@ -1537,38 +1537,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1537
1537
|
kind: "mission_started";
|
|
1538
1538
|
title: string;
|
|
1539
1539
|
evidence: {
|
|
1540
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1540
1541
|
id: string;
|
|
1541
1542
|
label: string;
|
|
1542
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1543
1543
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1544
1544
|
locator?: string | undefined;
|
|
1545
1545
|
}[];
|
|
1546
1546
|
objective: string;
|
|
1547
1547
|
runMode: "replay" | "fixture" | "live";
|
|
1548
1548
|
} | {
|
|
1549
|
-
label: string;
|
|
1550
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1551
1549
|
kind: "agent_status";
|
|
1552
1550
|
role: string;
|
|
1551
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1552
|
+
label: string;
|
|
1553
1553
|
agentId: string;
|
|
1554
1554
|
sessionId: string;
|
|
1555
1555
|
evidence: {
|
|
1556
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1556
1557
|
id: string;
|
|
1557
1558
|
label: string;
|
|
1558
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1559
1559
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1560
1560
|
locator?: string | undefined;
|
|
1561
1561
|
}[];
|
|
1562
1562
|
detail?: string | undefined;
|
|
1563
1563
|
} | {
|
|
1564
|
-
summary: string;
|
|
1565
1564
|
kind: "agent_output";
|
|
1565
|
+
summary: string;
|
|
1566
1566
|
agentId: string;
|
|
1567
1567
|
sessionId: string;
|
|
1568
1568
|
evidence: {
|
|
1569
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1569
1570
|
id: string;
|
|
1570
1571
|
label: string;
|
|
1571
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1572
1572
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1573
1573
|
locator?: string | undefined;
|
|
1574
1574
|
}[];
|
|
@@ -1579,9 +1579,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1579
1579
|
statement: string;
|
|
1580
1580
|
sessionId: string;
|
|
1581
1581
|
evidence: {
|
|
1582
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1582
1583
|
id: string;
|
|
1583
1584
|
label: string;
|
|
1584
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1585
1585
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1586
1586
|
locator?: string | undefined;
|
|
1587
1587
|
}[];
|
|
@@ -1589,12 +1589,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1589
1589
|
decisionId: string;
|
|
1590
1590
|
confidence?: number | undefined;
|
|
1591
1591
|
} | {
|
|
1592
|
-
summary: string;
|
|
1593
1592
|
kind: "conflict_detected";
|
|
1593
|
+
summary: string;
|
|
1594
1594
|
evidence: {
|
|
1595
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1595
1596
|
id: string;
|
|
1596
1597
|
label: string;
|
|
1597
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1598
1598
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1599
1599
|
locator?: string | undefined;
|
|
1600
1600
|
}[];
|
|
@@ -1602,14 +1602,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1602
1602
|
decisionIds: string[];
|
|
1603
1603
|
agentIds: string[];
|
|
1604
1604
|
} | {
|
|
1605
|
-
summary: string;
|
|
1606
|
-
status: "error" | "failed" | "passed";
|
|
1607
1605
|
kind: "test_result";
|
|
1606
|
+
summary: string;
|
|
1608
1607
|
command: string;
|
|
1608
|
+
status: "error" | "failed" | "passed";
|
|
1609
1609
|
evidence: {
|
|
1610
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1610
1611
|
id: string;
|
|
1611
1612
|
label: string;
|
|
1612
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1613
1613
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1614
1614
|
locator?: string | undefined;
|
|
1615
1615
|
}[];
|
|
@@ -1622,9 +1622,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1622
1622
|
rationale: string;
|
|
1623
1623
|
statement: string;
|
|
1624
1624
|
evidence: {
|
|
1625
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1625
1626
|
id: string;
|
|
1626
1627
|
label: string;
|
|
1627
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1628
1628
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1629
1629
|
locator?: string | undefined;
|
|
1630
1630
|
}[];
|
|
@@ -1636,25 +1636,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1636
1636
|
} | {
|
|
1637
1637
|
kind: "correction_approved";
|
|
1638
1638
|
evidence: {
|
|
1639
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1639
1640
|
id: string;
|
|
1640
1641
|
label: string;
|
|
1641
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1642
1642
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1643
1643
|
locator?: string | undefined;
|
|
1644
1644
|
}[];
|
|
1645
1645
|
correctionId: string;
|
|
1646
1646
|
approvedBy: {
|
|
1647
|
+
kind: "agent" | "human";
|
|
1647
1648
|
id: string;
|
|
1648
1649
|
label: string;
|
|
1649
|
-
kind: "agent" | "human";
|
|
1650
1650
|
};
|
|
1651
1651
|
note?: string | undefined;
|
|
1652
1652
|
} | {
|
|
1653
1653
|
kind: "decision_superseded";
|
|
1654
1654
|
evidence: {
|
|
1655
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1655
1656
|
id: string;
|
|
1656
1657
|
label: string;
|
|
1657
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1658
1658
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1659
1659
|
locator?: string | undefined;
|
|
1660
1660
|
}[];
|
|
@@ -1667,9 +1667,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1667
1667
|
agentId: string;
|
|
1668
1668
|
sessionId: string;
|
|
1669
1669
|
evidence: {
|
|
1670
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1670
1671
|
id: string;
|
|
1671
1672
|
label: string;
|
|
1672
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1673
1673
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1674
1674
|
locator?: string | undefined;
|
|
1675
1675
|
}[];
|
|
@@ -1681,9 +1681,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1681
1681
|
agentId: string;
|
|
1682
1682
|
sessionId: string;
|
|
1683
1683
|
evidence: {
|
|
1684
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1684
1685
|
id: string;
|
|
1685
1686
|
label: string;
|
|
1686
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1687
1687
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1688
1688
|
locator?: string | undefined;
|
|
1689
1689
|
}[];
|
|
@@ -1692,13 +1692,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1692
1692
|
recallReceiptId: string;
|
|
1693
1693
|
staleDecisionAbsent: boolean;
|
|
1694
1694
|
} | {
|
|
1695
|
-
summary: string;
|
|
1696
1695
|
kind: "mission_completed";
|
|
1696
|
+
summary: string;
|
|
1697
1697
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1698
1698
|
evidence: {
|
|
1699
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1699
1700
|
id: string;
|
|
1700
1701
|
label: string;
|
|
1701
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1702
1702
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1703
1703
|
locator?: string | undefined;
|
|
1704
1704
|
}[];
|
|
@@ -1708,37 +1708,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1708
1708
|
objective: string;
|
|
1709
1709
|
runMode: "replay" | "fixture" | "live";
|
|
1710
1710
|
evidence?: {
|
|
1711
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1711
1712
|
id: string;
|
|
1712
1713
|
label: string;
|
|
1713
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1714
1714
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1715
1715
|
locator?: string | undefined;
|
|
1716
1716
|
}[] | undefined;
|
|
1717
1717
|
} | {
|
|
1718
|
-
label: string;
|
|
1719
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1720
1718
|
kind: "agent_status";
|
|
1721
1719
|
role: string;
|
|
1720
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1721
|
+
label: string;
|
|
1722
1722
|
agentId: string;
|
|
1723
1723
|
sessionId: string;
|
|
1724
1724
|
detail?: string | undefined;
|
|
1725
1725
|
evidence?: {
|
|
1726
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1726
1727
|
id: string;
|
|
1727
1728
|
label: string;
|
|
1728
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1729
1729
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1730
1730
|
locator?: string | undefined;
|
|
1731
1731
|
}[] | undefined;
|
|
1732
1732
|
} | {
|
|
1733
|
-
summary: string;
|
|
1734
1733
|
kind: "agent_output";
|
|
1734
|
+
summary: string;
|
|
1735
1735
|
agentId: string;
|
|
1736
1736
|
sessionId: string;
|
|
1737
1737
|
outputId: string;
|
|
1738
1738
|
evidence?: {
|
|
1739
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1739
1740
|
id: string;
|
|
1740
1741
|
label: string;
|
|
1741
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1742
1742
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1743
1743
|
locator?: string | undefined;
|
|
1744
1744
|
}[] | undefined;
|
|
@@ -1751,37 +1751,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1751
1751
|
decisionId: string;
|
|
1752
1752
|
confidence?: number | undefined;
|
|
1753
1753
|
evidence?: {
|
|
1754
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1754
1755
|
id: string;
|
|
1755
1756
|
label: string;
|
|
1756
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1757
1757
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1758
1758
|
locator?: string | undefined;
|
|
1759
1759
|
}[] | undefined;
|
|
1760
1760
|
} | {
|
|
1761
|
-
summary: string;
|
|
1762
1761
|
kind: "conflict_detected";
|
|
1762
|
+
summary: string;
|
|
1763
1763
|
conflictId: string;
|
|
1764
1764
|
decisionIds: string[];
|
|
1765
1765
|
agentIds: string[];
|
|
1766
1766
|
evidence?: {
|
|
1767
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1767
1768
|
id: string;
|
|
1768
1769
|
label: string;
|
|
1769
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1770
1770
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1771
1771
|
locator?: string | undefined;
|
|
1772
1772
|
}[] | undefined;
|
|
1773
1773
|
} | {
|
|
1774
|
-
summary: string;
|
|
1775
|
-
status: "error" | "failed" | "passed";
|
|
1776
1774
|
kind: "test_result";
|
|
1775
|
+
summary: string;
|
|
1777
1776
|
command: string;
|
|
1777
|
+
status: "error" | "failed" | "passed";
|
|
1778
1778
|
decisionId: string;
|
|
1779
1779
|
testId: string;
|
|
1780
1780
|
durationMs?: number | undefined;
|
|
1781
1781
|
evidence?: {
|
|
1782
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1782
1783
|
id: string;
|
|
1783
1784
|
label: string;
|
|
1784
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1785
1785
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1786
1786
|
locator?: string | undefined;
|
|
1787
1787
|
}[] | undefined;
|
|
@@ -1796,9 +1796,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1796
1796
|
supersedesDecisionIds: string[];
|
|
1797
1797
|
proposedBy: string;
|
|
1798
1798
|
evidence?: {
|
|
1799
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1799
1800
|
id: string;
|
|
1800
1801
|
label: string;
|
|
1801
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1802
1802
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1803
1803
|
locator?: string | undefined;
|
|
1804
1804
|
}[] | undefined;
|
|
@@ -1806,15 +1806,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1806
1806
|
kind: "correction_approved";
|
|
1807
1807
|
correctionId: string;
|
|
1808
1808
|
approvedBy: {
|
|
1809
|
+
kind: "agent" | "human";
|
|
1809
1810
|
id: string;
|
|
1810
1811
|
label: string;
|
|
1811
|
-
kind: "agent" | "human";
|
|
1812
1812
|
};
|
|
1813
1813
|
note?: string | undefined;
|
|
1814
1814
|
evidence?: {
|
|
1815
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1815
1816
|
id: string;
|
|
1816
1817
|
label: string;
|
|
1817
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1818
1818
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1819
1819
|
locator?: string | undefined;
|
|
1820
1820
|
}[] | undefined;
|
|
@@ -1824,9 +1824,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1824
1824
|
correctionId: string;
|
|
1825
1825
|
replacementDecisionId: string;
|
|
1826
1826
|
evidence?: {
|
|
1827
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1827
1828
|
id: string;
|
|
1828
1829
|
label: string;
|
|
1829
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1830
1830
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1831
1831
|
locator?: string | undefined;
|
|
1832
1832
|
}[] | undefined;
|
|
@@ -1839,9 +1839,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1839
1839
|
recallReceiptId: string;
|
|
1840
1840
|
capturedAtAction: boolean;
|
|
1841
1841
|
evidence?: {
|
|
1842
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1842
1843
|
id: string;
|
|
1843
1844
|
label: string;
|
|
1844
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1845
1845
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1846
1846
|
locator?: string | undefined;
|
|
1847
1847
|
}[] | undefined;
|
|
@@ -1854,20 +1854,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1854
1854
|
recallReceiptId: string;
|
|
1855
1855
|
staleDecisionAbsent: boolean;
|
|
1856
1856
|
evidence?: {
|
|
1857
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1857
1858
|
id: string;
|
|
1858
1859
|
label: string;
|
|
1859
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1860
1860
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1861
1861
|
locator?: string | undefined;
|
|
1862
1862
|
}[] | undefined;
|
|
1863
1863
|
} | {
|
|
1864
|
-
summary: string;
|
|
1865
1864
|
kind: "mission_completed";
|
|
1865
|
+
summary: string;
|
|
1866
1866
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1867
1867
|
evidence?: {
|
|
1868
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1868
1869
|
id: string;
|
|
1869
1870
|
label: string;
|
|
1870
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1871
1871
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1872
1872
|
locator?: string | undefined;
|
|
1873
1873
|
}[] | undefined;
|
|
@@ -1888,15 +1888,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1888
1888
|
locator: z.ZodOptional<z.ZodString>;
|
|
1889
1889
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1890
1890
|
}, "strict", z.ZodTypeAny, {
|
|
1891
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1891
1892
|
id: string;
|
|
1892
1893
|
label: string;
|
|
1893
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1894
1894
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1895
1895
|
locator?: string | undefined;
|
|
1896
1896
|
}, {
|
|
1897
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1897
1898
|
id: string;
|
|
1898
1899
|
label: string;
|
|
1899
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1900
1900
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1901
1901
|
locator?: string | undefined;
|
|
1902
1902
|
}>, "many">>;
|
|
@@ -1904,9 +1904,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1904
1904
|
kind: "mission_started";
|
|
1905
1905
|
title: string;
|
|
1906
1906
|
evidence: {
|
|
1907
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1907
1908
|
id: string;
|
|
1908
1909
|
label: string;
|
|
1909
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1910
1910
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1911
1911
|
locator?: string | undefined;
|
|
1912
1912
|
}[];
|
|
@@ -1918,9 +1918,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1918
1918
|
objective: string;
|
|
1919
1919
|
runMode: "replay" | "fixture" | "live";
|
|
1920
1920
|
evidence?: {
|
|
1921
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1921
1922
|
id: string;
|
|
1922
1923
|
label: string;
|
|
1923
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1924
1924
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1925
1925
|
locator?: string | undefined;
|
|
1926
1926
|
}[] | undefined;
|
|
@@ -1936,15 +1936,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1936
1936
|
locator: z.ZodOptional<z.ZodString>;
|
|
1937
1937
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1938
1938
|
}, "strict", z.ZodTypeAny, {
|
|
1939
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1939
1940
|
id: string;
|
|
1940
1941
|
label: string;
|
|
1941
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1942
1942
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1943
1943
|
locator?: string | undefined;
|
|
1944
1944
|
}, {
|
|
1945
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1945
1946
|
id: string;
|
|
1946
1947
|
label: string;
|
|
1947
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1948
1948
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1949
1949
|
locator?: string | undefined;
|
|
1950
1950
|
}>, "many">>;
|
|
@@ -1952,32 +1952,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1952
1952
|
sessionId: z.ZodString;
|
|
1953
1953
|
kind: z.ZodLiteral<"agent_status">;
|
|
1954
1954
|
}, "strict", z.ZodTypeAny, {
|
|
1955
|
-
label: string;
|
|
1956
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1957
1955
|
kind: "agent_status";
|
|
1958
1956
|
role: string;
|
|
1957
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1958
|
+
label: string;
|
|
1959
1959
|
agentId: string;
|
|
1960
1960
|
sessionId: string;
|
|
1961
1961
|
evidence: {
|
|
1962
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1962
1963
|
id: string;
|
|
1963
1964
|
label: string;
|
|
1964
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1965
1965
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1966
1966
|
locator?: string | undefined;
|
|
1967
1967
|
}[];
|
|
1968
1968
|
detail?: string | undefined;
|
|
1969
1969
|
}, {
|
|
1970
|
-
label: string;
|
|
1971
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1972
1970
|
kind: "agent_status";
|
|
1973
1971
|
role: string;
|
|
1972
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1973
|
+
label: string;
|
|
1974
1974
|
agentId: string;
|
|
1975
1975
|
sessionId: string;
|
|
1976
1976
|
detail?: string | undefined;
|
|
1977
1977
|
evidence?: {
|
|
1978
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1978
1979
|
id: string;
|
|
1979
1980
|
label: string;
|
|
1980
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1981
1981
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1982
1982
|
locator?: string | undefined;
|
|
1983
1983
|
}[] | undefined;
|
|
@@ -1991,15 +1991,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1991
1991
|
locator: z.ZodOptional<z.ZodString>;
|
|
1992
1992
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1993
1993
|
}, "strict", z.ZodTypeAny, {
|
|
1994
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1994
1995
|
id: string;
|
|
1995
1996
|
label: string;
|
|
1996
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1997
1997
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1998
1998
|
locator?: string | undefined;
|
|
1999
1999
|
}, {
|
|
2000
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2000
2001
|
id: string;
|
|
2001
2002
|
label: string;
|
|
2002
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2003
2003
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2004
2004
|
locator?: string | undefined;
|
|
2005
2005
|
}>, "many">>;
|
|
@@ -2007,28 +2007,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2007
2007
|
sessionId: z.ZodString;
|
|
2008
2008
|
kind: z.ZodLiteral<"agent_output">;
|
|
2009
2009
|
}, "strict", z.ZodTypeAny, {
|
|
2010
|
-
summary: string;
|
|
2011
2010
|
kind: "agent_output";
|
|
2011
|
+
summary: string;
|
|
2012
2012
|
agentId: string;
|
|
2013
2013
|
sessionId: string;
|
|
2014
2014
|
evidence: {
|
|
2015
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2015
2016
|
id: string;
|
|
2016
2017
|
label: string;
|
|
2017
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2018
2018
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2019
2019
|
locator?: string | undefined;
|
|
2020
2020
|
}[];
|
|
2021
2021
|
outputId: string;
|
|
2022
2022
|
}, {
|
|
2023
|
-
summary: string;
|
|
2024
2023
|
kind: "agent_output";
|
|
2024
|
+
summary: string;
|
|
2025
2025
|
agentId: string;
|
|
2026
2026
|
sessionId: string;
|
|
2027
2027
|
outputId: string;
|
|
2028
2028
|
evidence?: {
|
|
2029
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2029
2030
|
id: string;
|
|
2030
2031
|
label: string;
|
|
2031
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2032
2032
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2033
2033
|
locator?: string | undefined;
|
|
2034
2034
|
}[] | undefined;
|
|
@@ -2044,15 +2044,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2044
2044
|
locator: z.ZodOptional<z.ZodString>;
|
|
2045
2045
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2046
2046
|
}, "strict", z.ZodTypeAny, {
|
|
2047
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2047
2048
|
id: string;
|
|
2048
2049
|
label: string;
|
|
2049
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2050
2050
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2051
2051
|
locator?: string | undefined;
|
|
2052
2052
|
}, {
|
|
2053
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2053
2054
|
id: string;
|
|
2054
2055
|
label: string;
|
|
2055
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2056
2056
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2057
2057
|
locator?: string | undefined;
|
|
2058
2058
|
}>, "many">>;
|
|
@@ -2065,9 +2065,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2065
2065
|
statement: string;
|
|
2066
2066
|
sessionId: string;
|
|
2067
2067
|
evidence: {
|
|
2068
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2068
2069
|
id: string;
|
|
2069
2070
|
label: string;
|
|
2070
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2071
2071
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2072
2072
|
locator?: string | undefined;
|
|
2073
2073
|
}[];
|
|
@@ -2083,9 +2083,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2083
2083
|
decisionId: string;
|
|
2084
2084
|
confidence?: number | undefined;
|
|
2085
2085
|
evidence?: {
|
|
2086
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2086
2087
|
id: string;
|
|
2087
2088
|
label: string;
|
|
2088
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2089
2089
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2090
2090
|
locator?: string | undefined;
|
|
2091
2091
|
}[] | undefined;
|
|
@@ -2102,25 +2102,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2102
2102
|
locator: z.ZodOptional<z.ZodString>;
|
|
2103
2103
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2104
2104
|
}, "strict", z.ZodTypeAny, {
|
|
2105
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2105
2106
|
id: string;
|
|
2106
2107
|
label: string;
|
|
2107
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2108
2108
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2109
2109
|
locator?: string | undefined;
|
|
2110
2110
|
}, {
|
|
2111
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2111
2112
|
id: string;
|
|
2112
2113
|
label: string;
|
|
2113
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2114
2114
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2115
2115
|
locator?: string | undefined;
|
|
2116
2116
|
}>, "many">>;
|
|
2117
2117
|
}, "strict", z.ZodTypeAny, {
|
|
2118
|
-
summary: string;
|
|
2119
2118
|
kind: "conflict_detected";
|
|
2119
|
+
summary: string;
|
|
2120
2120
|
evidence: {
|
|
2121
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2121
2122
|
id: string;
|
|
2122
2123
|
label: string;
|
|
2123
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2124
2124
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2125
2125
|
locator?: string | undefined;
|
|
2126
2126
|
}[];
|
|
@@ -2128,15 +2128,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2128
2128
|
decisionIds: string[];
|
|
2129
2129
|
agentIds: string[];
|
|
2130
2130
|
}, {
|
|
2131
|
-
summary: string;
|
|
2132
2131
|
kind: "conflict_detected";
|
|
2132
|
+
summary: string;
|
|
2133
2133
|
conflictId: string;
|
|
2134
2134
|
decisionIds: string[];
|
|
2135
2135
|
agentIds: string[];
|
|
2136
2136
|
evidence?: {
|
|
2137
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2137
2138
|
id: string;
|
|
2138
2139
|
label: string;
|
|
2139
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2140
2140
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2141
2141
|
locator?: string | undefined;
|
|
2142
2142
|
}[] | undefined;
|
|
@@ -2156,27 +2156,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2156
2156
|
locator: z.ZodOptional<z.ZodString>;
|
|
2157
2157
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2158
2158
|
}, "strict", z.ZodTypeAny, {
|
|
2159
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2159
2160
|
id: string;
|
|
2160
2161
|
label: string;
|
|
2161
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2162
2162
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2163
2163
|
locator?: string | undefined;
|
|
2164
2164
|
}, {
|
|
2165
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2165
2166
|
id: string;
|
|
2166
2167
|
label: string;
|
|
2167
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2168
2168
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2169
2169
|
locator?: string | undefined;
|
|
2170
2170
|
}>, "many">>;
|
|
2171
2171
|
}, "strict", z.ZodTypeAny, {
|
|
2172
|
-
summary: string;
|
|
2173
|
-
status: "error" | "failed" | "passed";
|
|
2174
2172
|
kind: "test_result";
|
|
2173
|
+
summary: string;
|
|
2175
2174
|
command: string;
|
|
2175
|
+
status: "error" | "failed" | "passed";
|
|
2176
2176
|
evidence: {
|
|
2177
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2177
2178
|
id: string;
|
|
2178
2179
|
label: string;
|
|
2179
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2180
2180
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2181
2181
|
locator?: string | undefined;
|
|
2182
2182
|
}[];
|
|
@@ -2185,17 +2185,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2185
2185
|
durationMs?: number | undefined;
|
|
2186
2186
|
correctionId?: string | undefined;
|
|
2187
2187
|
}, {
|
|
2188
|
-
summary: string;
|
|
2189
|
-
status: "error" | "failed" | "passed";
|
|
2190
2188
|
kind: "test_result";
|
|
2189
|
+
summary: string;
|
|
2191
2190
|
command: string;
|
|
2191
|
+
status: "error" | "failed" | "passed";
|
|
2192
2192
|
decisionId: string;
|
|
2193
2193
|
testId: string;
|
|
2194
2194
|
durationMs?: number | undefined;
|
|
2195
2195
|
evidence?: {
|
|
2196
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2196
2197
|
id: string;
|
|
2197
2198
|
label: string;
|
|
2198
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2199
2199
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2200
2200
|
locator?: string | undefined;
|
|
2201
2201
|
}[] | undefined;
|
|
@@ -2216,15 +2216,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2216
2216
|
locator: z.ZodOptional<z.ZodString>;
|
|
2217
2217
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2218
2218
|
}, "strict", z.ZodTypeAny, {
|
|
2219
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2219
2220
|
id: string;
|
|
2220
2221
|
label: string;
|
|
2221
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2222
2222
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2223
2223
|
locator?: string | undefined;
|
|
2224
2224
|
}, {
|
|
2225
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2225
2226
|
id: string;
|
|
2226
2227
|
label: string;
|
|
2227
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2228
2228
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2229
2229
|
locator?: string | undefined;
|
|
2230
2230
|
}>, "many">>;
|
|
@@ -2233,9 +2233,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2233
2233
|
rationale: string;
|
|
2234
2234
|
statement: string;
|
|
2235
2235
|
evidence: {
|
|
2236
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2236
2237
|
id: string;
|
|
2237
2238
|
label: string;
|
|
2238
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2239
2239
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2240
2240
|
locator?: string | undefined;
|
|
2241
2241
|
}[];
|
|
@@ -2254,9 +2254,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2254
2254
|
supersedesDecisionIds: string[];
|
|
2255
2255
|
proposedBy: string;
|
|
2256
2256
|
evidence?: {
|
|
2257
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2257
2258
|
id: string;
|
|
2258
2259
|
label: string;
|
|
2259
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2260
2260
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2261
2261
|
locator?: string | undefined;
|
|
2262
2262
|
}[] | undefined;
|
|
@@ -2268,13 +2268,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2268
2268
|
id: z.ZodString;
|
|
2269
2269
|
label: z.ZodString;
|
|
2270
2270
|
}, "strict", z.ZodTypeAny, {
|
|
2271
|
+
kind: "agent" | "human";
|
|
2271
2272
|
id: string;
|
|
2272
2273
|
label: string;
|
|
2273
|
-
kind: "agent" | "human";
|
|
2274
2274
|
}, {
|
|
2275
|
+
kind: "agent" | "human";
|
|
2275
2276
|
id: string;
|
|
2276
2277
|
label: string;
|
|
2277
|
-
kind: "agent" | "human";
|
|
2278
2278
|
}>;
|
|
2279
2279
|
note: z.ZodOptional<z.ZodString>;
|
|
2280
2280
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2284,47 +2284,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2284
2284
|
locator: z.ZodOptional<z.ZodString>;
|
|
2285
2285
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2286
2286
|
}, "strict", z.ZodTypeAny, {
|
|
2287
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2287
2288
|
id: string;
|
|
2288
2289
|
label: string;
|
|
2289
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2290
2290
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2291
2291
|
locator?: string | undefined;
|
|
2292
2292
|
}, {
|
|
2293
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2293
2294
|
id: string;
|
|
2294
2295
|
label: string;
|
|
2295
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2296
2296
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2297
2297
|
locator?: string | undefined;
|
|
2298
2298
|
}>, "many">>;
|
|
2299
2299
|
}, "strict", z.ZodTypeAny, {
|
|
2300
2300
|
kind: "correction_approved";
|
|
2301
2301
|
evidence: {
|
|
2302
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2302
2303
|
id: string;
|
|
2303
2304
|
label: string;
|
|
2304
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2305
2305
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2306
2306
|
locator?: string | undefined;
|
|
2307
2307
|
}[];
|
|
2308
2308
|
correctionId: string;
|
|
2309
2309
|
approvedBy: {
|
|
2310
|
+
kind: "agent" | "human";
|
|
2310
2311
|
id: string;
|
|
2311
2312
|
label: string;
|
|
2312
|
-
kind: "agent" | "human";
|
|
2313
2313
|
};
|
|
2314
2314
|
note?: string | undefined;
|
|
2315
2315
|
}, {
|
|
2316
2316
|
kind: "correction_approved";
|
|
2317
2317
|
correctionId: string;
|
|
2318
2318
|
approvedBy: {
|
|
2319
|
+
kind: "agent" | "human";
|
|
2319
2320
|
id: string;
|
|
2320
2321
|
label: string;
|
|
2321
|
-
kind: "agent" | "human";
|
|
2322
2322
|
};
|
|
2323
2323
|
note?: string | undefined;
|
|
2324
2324
|
evidence?: {
|
|
2325
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2325
2326
|
id: string;
|
|
2326
2327
|
label: string;
|
|
2327
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2328
2328
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2329
2329
|
locator?: string | undefined;
|
|
2330
2330
|
}[] | undefined;
|
|
@@ -2340,24 +2340,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2340
2340
|
locator: z.ZodOptional<z.ZodString>;
|
|
2341
2341
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2342
2342
|
}, "strict", z.ZodTypeAny, {
|
|
2343
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2343
2344
|
id: string;
|
|
2344
2345
|
label: string;
|
|
2345
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2346
2346
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2347
2347
|
locator?: string | undefined;
|
|
2348
2348
|
}, {
|
|
2349
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2349
2350
|
id: string;
|
|
2350
2351
|
label: string;
|
|
2351
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2352
2352
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2353
2353
|
locator?: string | undefined;
|
|
2354
2354
|
}>, "many">>;
|
|
2355
2355
|
}, "strict", z.ZodTypeAny, {
|
|
2356
2356
|
kind: "decision_superseded";
|
|
2357
2357
|
evidence: {
|
|
2358
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2358
2359
|
id: string;
|
|
2359
2360
|
label: string;
|
|
2360
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2361
2361
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2362
2362
|
locator?: string | undefined;
|
|
2363
2363
|
}[];
|
|
@@ -2370,9 +2370,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2370
2370
|
correctionId: string;
|
|
2371
2371
|
replacementDecisionId: string;
|
|
2372
2372
|
evidence?: {
|
|
2373
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2373
2374
|
id: string;
|
|
2374
2375
|
label: string;
|
|
2375
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2376
2376
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2377
2377
|
locator?: string | undefined;
|
|
2378
2378
|
}[] | undefined;
|
|
@@ -2388,15 +2388,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2388
2388
|
locator: z.ZodOptional<z.ZodString>;
|
|
2389
2389
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2390
2390
|
}, "strict", z.ZodTypeAny, {
|
|
2391
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2391
2392
|
id: string;
|
|
2392
2393
|
label: string;
|
|
2393
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2394
2394
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2395
2395
|
locator?: string | undefined;
|
|
2396
2396
|
}, {
|
|
2397
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2397
2398
|
id: string;
|
|
2398
2399
|
label: string;
|
|
2399
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2400
2400
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2401
2401
|
locator?: string | undefined;
|
|
2402
2402
|
}>, "many">>;
|
|
@@ -2409,9 +2409,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2409
2409
|
agentId: string;
|
|
2410
2410
|
sessionId: string;
|
|
2411
2411
|
evidence: {
|
|
2412
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2412
2413
|
id: string;
|
|
2413
2414
|
label: string;
|
|
2414
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2415
2415
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2416
2416
|
locator?: string | undefined;
|
|
2417
2417
|
}[];
|
|
@@ -2427,9 +2427,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2427
2427
|
recallReceiptId: string;
|
|
2428
2428
|
capturedAtAction: boolean;
|
|
2429
2429
|
evidence?: {
|
|
2430
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2430
2431
|
id: string;
|
|
2431
2432
|
label: string;
|
|
2432
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2433
2433
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2434
2434
|
locator?: string | undefined;
|
|
2435
2435
|
}[] | undefined;
|
|
@@ -2445,15 +2445,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2445
2445
|
locator: z.ZodOptional<z.ZodString>;
|
|
2446
2446
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2447
2447
|
}, "strict", z.ZodTypeAny, {
|
|
2448
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2448
2449
|
id: string;
|
|
2449
2450
|
label: string;
|
|
2450
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2451
2451
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2452
2452
|
locator?: string | undefined;
|
|
2453
2453
|
}, {
|
|
2454
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2454
2455
|
id: string;
|
|
2455
2456
|
label: string;
|
|
2456
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2457
2457
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2458
2458
|
locator?: string | undefined;
|
|
2459
2459
|
}>, "many">>;
|
|
@@ -2465,9 +2465,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2465
2465
|
agentId: string;
|
|
2466
2466
|
sessionId: string;
|
|
2467
2467
|
evidence: {
|
|
2468
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2468
2469
|
id: string;
|
|
2469
2470
|
label: string;
|
|
2470
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2471
2471
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2472
2472
|
locator?: string | undefined;
|
|
2473
2473
|
}[];
|
|
@@ -2484,9 +2484,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2484
2484
|
recallReceiptId: string;
|
|
2485
2485
|
staleDecisionAbsent: boolean;
|
|
2486
2486
|
evidence?: {
|
|
2487
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2487
2488
|
id: string;
|
|
2488
2489
|
label: string;
|
|
2489
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2490
2490
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2491
2491
|
locator?: string | undefined;
|
|
2492
2492
|
}[] | undefined;
|
|
@@ -2501,37 +2501,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2501
2501
|
locator: z.ZodOptional<z.ZodString>;
|
|
2502
2502
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2503
2503
|
}, "strict", z.ZodTypeAny, {
|
|
2504
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2504
2505
|
id: string;
|
|
2505
2506
|
label: string;
|
|
2506
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2507
2507
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2508
2508
|
locator?: string | undefined;
|
|
2509
2509
|
}, {
|
|
2510
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2510
2511
|
id: string;
|
|
2511
2512
|
label: string;
|
|
2512
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2513
2513
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2514
2514
|
locator?: string | undefined;
|
|
2515
2515
|
}>, "many">>;
|
|
2516
2516
|
}, "strict", z.ZodTypeAny, {
|
|
2517
|
-
summary: string;
|
|
2518
2517
|
kind: "mission_completed";
|
|
2518
|
+
summary: string;
|
|
2519
2519
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2520
2520
|
evidence: {
|
|
2521
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2521
2522
|
id: string;
|
|
2522
2523
|
label: string;
|
|
2523
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2524
2524
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2525
2525
|
locator?: string | undefined;
|
|
2526
2526
|
}[];
|
|
2527
2527
|
}, {
|
|
2528
|
-
summary: string;
|
|
2529
2528
|
kind: "mission_completed";
|
|
2529
|
+
summary: string;
|
|
2530
2530
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2531
2531
|
evidence?: {
|
|
2532
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2532
2533
|
id: string;
|
|
2533
2534
|
label: string;
|
|
2534
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2535
2535
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2536
2536
|
locator?: string | undefined;
|
|
2537
2537
|
}[] | undefined;
|
|
@@ -2539,38 +2539,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2539
2539
|
kind: "mission_started";
|
|
2540
2540
|
title: string;
|
|
2541
2541
|
evidence: {
|
|
2542
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2542
2543
|
id: string;
|
|
2543
2544
|
label: string;
|
|
2544
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2545
2545
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2546
2546
|
locator?: string | undefined;
|
|
2547
2547
|
}[];
|
|
2548
2548
|
objective: string;
|
|
2549
2549
|
runMode: "replay" | "fixture" | "live";
|
|
2550
2550
|
} | {
|
|
2551
|
-
label: string;
|
|
2552
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2553
2551
|
kind: "agent_status";
|
|
2554
2552
|
role: string;
|
|
2553
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2554
|
+
label: string;
|
|
2555
2555
|
agentId: string;
|
|
2556
2556
|
sessionId: string;
|
|
2557
2557
|
evidence: {
|
|
2558
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2558
2559
|
id: string;
|
|
2559
2560
|
label: string;
|
|
2560
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2561
2561
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2562
2562
|
locator?: string | undefined;
|
|
2563
2563
|
}[];
|
|
2564
2564
|
detail?: string | undefined;
|
|
2565
2565
|
} | {
|
|
2566
|
-
summary: string;
|
|
2567
2566
|
kind: "agent_output";
|
|
2567
|
+
summary: string;
|
|
2568
2568
|
agentId: string;
|
|
2569
2569
|
sessionId: string;
|
|
2570
2570
|
evidence: {
|
|
2571
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2571
2572
|
id: string;
|
|
2572
2573
|
label: string;
|
|
2573
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2574
2574
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2575
2575
|
locator?: string | undefined;
|
|
2576
2576
|
}[];
|
|
@@ -2581,9 +2581,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2581
2581
|
statement: string;
|
|
2582
2582
|
sessionId: string;
|
|
2583
2583
|
evidence: {
|
|
2584
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2584
2585
|
id: string;
|
|
2585
2586
|
label: string;
|
|
2586
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2587
2587
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2588
2588
|
locator?: string | undefined;
|
|
2589
2589
|
}[];
|
|
@@ -2591,12 +2591,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2591
2591
|
decisionId: string;
|
|
2592
2592
|
confidence?: number | undefined;
|
|
2593
2593
|
} | {
|
|
2594
|
-
summary: string;
|
|
2595
2594
|
kind: "conflict_detected";
|
|
2595
|
+
summary: string;
|
|
2596
2596
|
evidence: {
|
|
2597
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2597
2598
|
id: string;
|
|
2598
2599
|
label: string;
|
|
2599
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2600
2600
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2601
2601
|
locator?: string | undefined;
|
|
2602
2602
|
}[];
|
|
@@ -2604,14 +2604,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2604
2604
|
decisionIds: string[];
|
|
2605
2605
|
agentIds: string[];
|
|
2606
2606
|
} | {
|
|
2607
|
-
summary: string;
|
|
2608
|
-
status: "error" | "failed" | "passed";
|
|
2609
2607
|
kind: "test_result";
|
|
2608
|
+
summary: string;
|
|
2610
2609
|
command: string;
|
|
2610
|
+
status: "error" | "failed" | "passed";
|
|
2611
2611
|
evidence: {
|
|
2612
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2612
2613
|
id: string;
|
|
2613
2614
|
label: string;
|
|
2614
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2615
2615
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2616
2616
|
locator?: string | undefined;
|
|
2617
2617
|
}[];
|
|
@@ -2624,9 +2624,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2624
2624
|
rationale: string;
|
|
2625
2625
|
statement: string;
|
|
2626
2626
|
evidence: {
|
|
2627
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2627
2628
|
id: string;
|
|
2628
2629
|
label: string;
|
|
2629
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2630
2630
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2631
2631
|
locator?: string | undefined;
|
|
2632
2632
|
}[];
|
|
@@ -2638,25 +2638,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2638
2638
|
} | {
|
|
2639
2639
|
kind: "correction_approved";
|
|
2640
2640
|
evidence: {
|
|
2641
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2641
2642
|
id: string;
|
|
2642
2643
|
label: string;
|
|
2643
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2644
2644
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2645
2645
|
locator?: string | undefined;
|
|
2646
2646
|
}[];
|
|
2647
2647
|
correctionId: string;
|
|
2648
2648
|
approvedBy: {
|
|
2649
|
+
kind: "agent" | "human";
|
|
2649
2650
|
id: string;
|
|
2650
2651
|
label: string;
|
|
2651
|
-
kind: "agent" | "human";
|
|
2652
2652
|
};
|
|
2653
2653
|
note?: string | undefined;
|
|
2654
2654
|
} | {
|
|
2655
2655
|
kind: "decision_superseded";
|
|
2656
2656
|
evidence: {
|
|
2657
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2657
2658
|
id: string;
|
|
2658
2659
|
label: string;
|
|
2659
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2660
2660
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2661
2661
|
locator?: string | undefined;
|
|
2662
2662
|
}[];
|
|
@@ -2669,9 +2669,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2669
2669
|
agentId: string;
|
|
2670
2670
|
sessionId: string;
|
|
2671
2671
|
evidence: {
|
|
2672
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2672
2673
|
id: string;
|
|
2673
2674
|
label: string;
|
|
2674
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2675
2675
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2676
2676
|
locator?: string | undefined;
|
|
2677
2677
|
}[];
|
|
@@ -2683,9 +2683,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2683
2683
|
agentId: string;
|
|
2684
2684
|
sessionId: string;
|
|
2685
2685
|
evidence: {
|
|
2686
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2686
2687
|
id: string;
|
|
2687
2688
|
label: string;
|
|
2688
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2689
2689
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2690
2690
|
locator?: string | undefined;
|
|
2691
2691
|
}[];
|
|
@@ -2694,13 +2694,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2694
2694
|
recallReceiptId: string;
|
|
2695
2695
|
staleDecisionAbsent: boolean;
|
|
2696
2696
|
} | {
|
|
2697
|
-
summary: string;
|
|
2698
2697
|
kind: "mission_completed";
|
|
2698
|
+
summary: string;
|
|
2699
2699
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2700
2700
|
evidence: {
|
|
2701
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2701
2702
|
id: string;
|
|
2702
2703
|
label: string;
|
|
2703
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2704
2704
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2705
2705
|
locator?: string | undefined;
|
|
2706
2706
|
}[];
|
|
@@ -2710,37 +2710,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2710
2710
|
objective: string;
|
|
2711
2711
|
runMode: "replay" | "fixture" | "live";
|
|
2712
2712
|
evidence?: {
|
|
2713
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2713
2714
|
id: string;
|
|
2714
2715
|
label: string;
|
|
2715
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2716
2716
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2717
2717
|
locator?: string | undefined;
|
|
2718
2718
|
}[] | undefined;
|
|
2719
2719
|
} | {
|
|
2720
|
-
label: string;
|
|
2721
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2722
2720
|
kind: "agent_status";
|
|
2723
2721
|
role: string;
|
|
2722
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2723
|
+
label: string;
|
|
2724
2724
|
agentId: string;
|
|
2725
2725
|
sessionId: string;
|
|
2726
2726
|
detail?: string | undefined;
|
|
2727
2727
|
evidence?: {
|
|
2728
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2728
2729
|
id: string;
|
|
2729
2730
|
label: string;
|
|
2730
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2731
2731
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2732
2732
|
locator?: string | undefined;
|
|
2733
2733
|
}[] | undefined;
|
|
2734
2734
|
} | {
|
|
2735
|
-
summary: string;
|
|
2736
2735
|
kind: "agent_output";
|
|
2736
|
+
summary: string;
|
|
2737
2737
|
agentId: string;
|
|
2738
2738
|
sessionId: string;
|
|
2739
2739
|
outputId: string;
|
|
2740
2740
|
evidence?: {
|
|
2741
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2741
2742
|
id: string;
|
|
2742
2743
|
label: string;
|
|
2743
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2744
2744
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2745
2745
|
locator?: string | undefined;
|
|
2746
2746
|
}[] | undefined;
|
|
@@ -2753,37 +2753,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2753
2753
|
decisionId: string;
|
|
2754
2754
|
confidence?: number | undefined;
|
|
2755
2755
|
evidence?: {
|
|
2756
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2756
2757
|
id: string;
|
|
2757
2758
|
label: string;
|
|
2758
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2759
2759
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2760
2760
|
locator?: string | undefined;
|
|
2761
2761
|
}[] | undefined;
|
|
2762
2762
|
} | {
|
|
2763
|
-
summary: string;
|
|
2764
2763
|
kind: "conflict_detected";
|
|
2764
|
+
summary: string;
|
|
2765
2765
|
conflictId: string;
|
|
2766
2766
|
decisionIds: string[];
|
|
2767
2767
|
agentIds: string[];
|
|
2768
2768
|
evidence?: {
|
|
2769
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2769
2770
|
id: string;
|
|
2770
2771
|
label: string;
|
|
2771
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2772
2772
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2773
2773
|
locator?: string | undefined;
|
|
2774
2774
|
}[] | undefined;
|
|
2775
2775
|
} | {
|
|
2776
|
-
summary: string;
|
|
2777
|
-
status: "error" | "failed" | "passed";
|
|
2778
2776
|
kind: "test_result";
|
|
2777
|
+
summary: string;
|
|
2779
2778
|
command: string;
|
|
2779
|
+
status: "error" | "failed" | "passed";
|
|
2780
2780
|
decisionId: string;
|
|
2781
2781
|
testId: string;
|
|
2782
2782
|
durationMs?: number | undefined;
|
|
2783
2783
|
evidence?: {
|
|
2784
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2784
2785
|
id: string;
|
|
2785
2786
|
label: string;
|
|
2786
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2787
2787
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2788
2788
|
locator?: string | undefined;
|
|
2789
2789
|
}[] | undefined;
|
|
@@ -2798,9 +2798,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2798
2798
|
supersedesDecisionIds: string[];
|
|
2799
2799
|
proposedBy: string;
|
|
2800
2800
|
evidence?: {
|
|
2801
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2801
2802
|
id: string;
|
|
2802
2803
|
label: string;
|
|
2803
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2804
2804
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2805
2805
|
locator?: string | undefined;
|
|
2806
2806
|
}[] | undefined;
|
|
@@ -2808,15 +2808,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2808
2808
|
kind: "correction_approved";
|
|
2809
2809
|
correctionId: string;
|
|
2810
2810
|
approvedBy: {
|
|
2811
|
+
kind: "agent" | "human";
|
|
2811
2812
|
id: string;
|
|
2812
2813
|
label: string;
|
|
2813
|
-
kind: "agent" | "human";
|
|
2814
2814
|
};
|
|
2815
2815
|
note?: string | undefined;
|
|
2816
2816
|
evidence?: {
|
|
2817
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2817
2818
|
id: string;
|
|
2818
2819
|
label: string;
|
|
2819
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2820
2820
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2821
2821
|
locator?: string | undefined;
|
|
2822
2822
|
}[] | undefined;
|
|
@@ -2826,9 +2826,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2826
2826
|
correctionId: string;
|
|
2827
2827
|
replacementDecisionId: string;
|
|
2828
2828
|
evidence?: {
|
|
2829
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2829
2830
|
id: string;
|
|
2830
2831
|
label: string;
|
|
2831
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2832
2832
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2833
2833
|
locator?: string | undefined;
|
|
2834
2834
|
}[] | undefined;
|
|
@@ -2841,9 +2841,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2841
2841
|
recallReceiptId: string;
|
|
2842
2842
|
capturedAtAction: boolean;
|
|
2843
2843
|
evidence?: {
|
|
2844
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2844
2845
|
id: string;
|
|
2845
2846
|
label: string;
|
|
2846
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2847
2847
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2848
2848
|
locator?: string | undefined;
|
|
2849
2849
|
}[] | undefined;
|
|
@@ -2856,20 +2856,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2856
2856
|
recallReceiptId: string;
|
|
2857
2857
|
staleDecisionAbsent: boolean;
|
|
2858
2858
|
evidence?: {
|
|
2859
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2859
2860
|
id: string;
|
|
2860
2861
|
label: string;
|
|
2861
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2862
2862
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2863
2863
|
locator?: string | undefined;
|
|
2864
2864
|
}[] | undefined;
|
|
2865
2865
|
} | {
|
|
2866
|
-
summary: string;
|
|
2867
2866
|
kind: "mission_completed";
|
|
2867
|
+
summary: string;
|
|
2868
2868
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2869
2869
|
evidence?: {
|
|
2870
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2870
2871
|
id: string;
|
|
2871
2872
|
label: string;
|
|
2872
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2873
2873
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2874
2874
|
locator?: string | undefined;
|
|
2875
2875
|
}[] | undefined;
|
|
@@ -2879,38 +2879,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2879
2879
|
kind: "mission_started";
|
|
2880
2880
|
title: string;
|
|
2881
2881
|
evidence: {
|
|
2882
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2882
2883
|
id: string;
|
|
2883
2884
|
label: string;
|
|
2884
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2885
2885
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2886
2886
|
locator?: string | undefined;
|
|
2887
2887
|
}[];
|
|
2888
2888
|
objective: string;
|
|
2889
2889
|
runMode: "replay" | "fixture" | "live";
|
|
2890
2890
|
} | {
|
|
2891
|
-
label: string;
|
|
2892
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2893
2891
|
kind: "agent_status";
|
|
2894
2892
|
role: string;
|
|
2893
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2894
|
+
label: string;
|
|
2895
2895
|
agentId: string;
|
|
2896
2896
|
sessionId: string;
|
|
2897
2897
|
evidence: {
|
|
2898
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2898
2899
|
id: string;
|
|
2899
2900
|
label: string;
|
|
2900
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2901
2901
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2902
2902
|
locator?: string | undefined;
|
|
2903
2903
|
}[];
|
|
2904
2904
|
detail?: string | undefined;
|
|
2905
2905
|
} | {
|
|
2906
|
-
summary: string;
|
|
2907
2906
|
kind: "agent_output";
|
|
2907
|
+
summary: string;
|
|
2908
2908
|
agentId: string;
|
|
2909
2909
|
sessionId: string;
|
|
2910
2910
|
evidence: {
|
|
2911
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2911
2912
|
id: string;
|
|
2912
2913
|
label: string;
|
|
2913
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2914
2914
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2915
2915
|
locator?: string | undefined;
|
|
2916
2916
|
}[];
|
|
@@ -2921,9 +2921,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2921
2921
|
statement: string;
|
|
2922
2922
|
sessionId: string;
|
|
2923
2923
|
evidence: {
|
|
2924
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2924
2925
|
id: string;
|
|
2925
2926
|
label: string;
|
|
2926
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2927
2927
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2928
2928
|
locator?: string | undefined;
|
|
2929
2929
|
}[];
|
|
@@ -2931,12 +2931,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2931
2931
|
decisionId: string;
|
|
2932
2932
|
confidence?: number | undefined;
|
|
2933
2933
|
} | {
|
|
2934
|
-
summary: string;
|
|
2935
2934
|
kind: "conflict_detected";
|
|
2935
|
+
summary: string;
|
|
2936
2936
|
evidence: {
|
|
2937
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2937
2938
|
id: string;
|
|
2938
2939
|
label: string;
|
|
2939
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2940
2940
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2941
2941
|
locator?: string | undefined;
|
|
2942
2942
|
}[];
|
|
@@ -2944,14 +2944,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2944
2944
|
decisionIds: string[];
|
|
2945
2945
|
agentIds: string[];
|
|
2946
2946
|
} | {
|
|
2947
|
-
summary: string;
|
|
2948
|
-
status: "error" | "failed" | "passed";
|
|
2949
2947
|
kind: "test_result";
|
|
2948
|
+
summary: string;
|
|
2950
2949
|
command: string;
|
|
2950
|
+
status: "error" | "failed" | "passed";
|
|
2951
2951
|
evidence: {
|
|
2952
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2952
2953
|
id: string;
|
|
2953
2954
|
label: string;
|
|
2954
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2955
2955
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2956
2956
|
locator?: string | undefined;
|
|
2957
2957
|
}[];
|
|
@@ -2964,9 +2964,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2964
2964
|
rationale: string;
|
|
2965
2965
|
statement: string;
|
|
2966
2966
|
evidence: {
|
|
2967
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2967
2968
|
id: string;
|
|
2968
2969
|
label: string;
|
|
2969
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2970
2970
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2971
2971
|
locator?: string | undefined;
|
|
2972
2972
|
}[];
|
|
@@ -2978,25 +2978,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2978
2978
|
} | {
|
|
2979
2979
|
kind: "correction_approved";
|
|
2980
2980
|
evidence: {
|
|
2981
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2981
2982
|
id: string;
|
|
2982
2983
|
label: string;
|
|
2983
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2984
2984
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2985
2985
|
locator?: string | undefined;
|
|
2986
2986
|
}[];
|
|
2987
2987
|
correctionId: string;
|
|
2988
2988
|
approvedBy: {
|
|
2989
|
+
kind: "agent" | "human";
|
|
2989
2990
|
id: string;
|
|
2990
2991
|
label: string;
|
|
2991
|
-
kind: "agent" | "human";
|
|
2992
2992
|
};
|
|
2993
2993
|
note?: string | undefined;
|
|
2994
2994
|
} | {
|
|
2995
2995
|
kind: "decision_superseded";
|
|
2996
2996
|
evidence: {
|
|
2997
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2997
2998
|
id: string;
|
|
2998
2999
|
label: string;
|
|
2999
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3000
3000
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3001
3001
|
locator?: string | undefined;
|
|
3002
3002
|
}[];
|
|
@@ -3009,9 +3009,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3009
3009
|
agentId: string;
|
|
3010
3010
|
sessionId: string;
|
|
3011
3011
|
evidence: {
|
|
3012
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3012
3013
|
id: string;
|
|
3013
3014
|
label: string;
|
|
3014
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3015
3015
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3016
3016
|
locator?: string | undefined;
|
|
3017
3017
|
}[];
|
|
@@ -3023,9 +3023,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3023
3023
|
agentId: string;
|
|
3024
3024
|
sessionId: string;
|
|
3025
3025
|
evidence: {
|
|
3026
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3026
3027
|
id: string;
|
|
3027
3028
|
label: string;
|
|
3028
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3029
3029
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3030
3030
|
locator?: string | undefined;
|
|
3031
3031
|
}[];
|
|
@@ -3034,13 +3034,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3034
3034
|
recallReceiptId: string;
|
|
3035
3035
|
staleDecisionAbsent: boolean;
|
|
3036
3036
|
} | {
|
|
3037
|
-
summary: string;
|
|
3038
3037
|
kind: "mission_completed";
|
|
3038
|
+
summary: string;
|
|
3039
3039
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3040
3040
|
evidence: {
|
|
3041
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3041
3042
|
id: string;
|
|
3042
3043
|
label: string;
|
|
3043
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3044
3044
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3045
3045
|
locator?: string | undefined;
|
|
3046
3046
|
}[];
|
|
@@ -3054,37 +3054,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3054
3054
|
objective: string;
|
|
3055
3055
|
runMode: "replay" | "fixture" | "live";
|
|
3056
3056
|
evidence?: {
|
|
3057
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3057
3058
|
id: string;
|
|
3058
3059
|
label: string;
|
|
3059
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3060
3060
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3061
3061
|
locator?: string | undefined;
|
|
3062
3062
|
}[] | undefined;
|
|
3063
3063
|
} | {
|
|
3064
|
-
label: string;
|
|
3065
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3066
3064
|
kind: "agent_status";
|
|
3067
3065
|
role: string;
|
|
3066
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3067
|
+
label: string;
|
|
3068
3068
|
agentId: string;
|
|
3069
3069
|
sessionId: string;
|
|
3070
3070
|
detail?: string | undefined;
|
|
3071
3071
|
evidence?: {
|
|
3072
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3072
3073
|
id: string;
|
|
3073
3074
|
label: string;
|
|
3074
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3075
3075
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3076
3076
|
locator?: string | undefined;
|
|
3077
3077
|
}[] | undefined;
|
|
3078
3078
|
} | {
|
|
3079
|
-
summary: string;
|
|
3080
3079
|
kind: "agent_output";
|
|
3080
|
+
summary: string;
|
|
3081
3081
|
agentId: string;
|
|
3082
3082
|
sessionId: string;
|
|
3083
3083
|
outputId: string;
|
|
3084
3084
|
evidence?: {
|
|
3085
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3085
3086
|
id: string;
|
|
3086
3087
|
label: string;
|
|
3087
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3088
3088
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3089
3089
|
locator?: string | undefined;
|
|
3090
3090
|
}[] | undefined;
|
|
@@ -3097,37 +3097,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3097
3097
|
decisionId: string;
|
|
3098
3098
|
confidence?: number | undefined;
|
|
3099
3099
|
evidence?: {
|
|
3100
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3100
3101
|
id: string;
|
|
3101
3102
|
label: string;
|
|
3102
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3103
3103
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3104
3104
|
locator?: string | undefined;
|
|
3105
3105
|
}[] | undefined;
|
|
3106
3106
|
} | {
|
|
3107
|
-
summary: string;
|
|
3108
3107
|
kind: "conflict_detected";
|
|
3108
|
+
summary: string;
|
|
3109
3109
|
conflictId: string;
|
|
3110
3110
|
decisionIds: string[];
|
|
3111
3111
|
agentIds: string[];
|
|
3112
3112
|
evidence?: {
|
|
3113
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3113
3114
|
id: string;
|
|
3114
3115
|
label: string;
|
|
3115
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3116
3116
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3117
3117
|
locator?: string | undefined;
|
|
3118
3118
|
}[] | undefined;
|
|
3119
3119
|
} | {
|
|
3120
|
-
summary: string;
|
|
3121
|
-
status: "error" | "failed" | "passed";
|
|
3122
3120
|
kind: "test_result";
|
|
3121
|
+
summary: string;
|
|
3123
3122
|
command: string;
|
|
3123
|
+
status: "error" | "failed" | "passed";
|
|
3124
3124
|
decisionId: string;
|
|
3125
3125
|
testId: string;
|
|
3126
3126
|
durationMs?: number | undefined;
|
|
3127
3127
|
evidence?: {
|
|
3128
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3128
3129
|
id: string;
|
|
3129
3130
|
label: string;
|
|
3130
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3131
3131
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3132
3132
|
locator?: string | undefined;
|
|
3133
3133
|
}[] | undefined;
|
|
@@ -3142,9 +3142,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3142
3142
|
supersedesDecisionIds: string[];
|
|
3143
3143
|
proposedBy: string;
|
|
3144
3144
|
evidence?: {
|
|
3145
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3145
3146
|
id: string;
|
|
3146
3147
|
label: string;
|
|
3147
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3148
3148
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3149
3149
|
locator?: string | undefined;
|
|
3150
3150
|
}[] | undefined;
|
|
@@ -3152,15 +3152,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3152
3152
|
kind: "correction_approved";
|
|
3153
3153
|
correctionId: string;
|
|
3154
3154
|
approvedBy: {
|
|
3155
|
+
kind: "agent" | "human";
|
|
3155
3156
|
id: string;
|
|
3156
3157
|
label: string;
|
|
3157
|
-
kind: "agent" | "human";
|
|
3158
3158
|
};
|
|
3159
3159
|
note?: string | undefined;
|
|
3160
3160
|
evidence?: {
|
|
3161
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3161
3162
|
id: string;
|
|
3162
3163
|
label: string;
|
|
3163
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3164
3164
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3165
3165
|
locator?: string | undefined;
|
|
3166
3166
|
}[] | undefined;
|
|
@@ -3170,9 +3170,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3170
3170
|
correctionId: string;
|
|
3171
3171
|
replacementDecisionId: string;
|
|
3172
3172
|
evidence?: {
|
|
3173
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3173
3174
|
id: string;
|
|
3174
3175
|
label: string;
|
|
3175
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3176
3176
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3177
3177
|
locator?: string | undefined;
|
|
3178
3178
|
}[] | undefined;
|
|
@@ -3185,9 +3185,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3185
3185
|
recallReceiptId: string;
|
|
3186
3186
|
capturedAtAction: boolean;
|
|
3187
3187
|
evidence?: {
|
|
3188
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3188
3189
|
id: string;
|
|
3189
3190
|
label: string;
|
|
3190
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3191
3191
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3192
3192
|
locator?: string | undefined;
|
|
3193
3193
|
}[] | undefined;
|
|
@@ -3200,20 +3200,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3200
3200
|
recallReceiptId: string;
|
|
3201
3201
|
staleDecisionAbsent: boolean;
|
|
3202
3202
|
evidence?: {
|
|
3203
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3203
3204
|
id: string;
|
|
3204
3205
|
label: string;
|
|
3205
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3206
3206
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3207
3207
|
locator?: string | undefined;
|
|
3208
3208
|
}[] | undefined;
|
|
3209
3209
|
} | {
|
|
3210
|
-
summary: string;
|
|
3211
3210
|
kind: "mission_completed";
|
|
3211
|
+
summary: string;
|
|
3212
3212
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3213
3213
|
evidence?: {
|
|
3214
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3214
3215
|
id: string;
|
|
3215
3216
|
label: string;
|
|
3216
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3217
3217
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3218
3218
|
locator?: string | undefined;
|
|
3219
3219
|
}[] | undefined;
|
|
@@ -3243,15 +3243,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3243
3243
|
locator: z.ZodOptional<z.ZodString>;
|
|
3244
3244
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3245
3245
|
}, "strict", z.ZodTypeAny, {
|
|
3246
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3246
3247
|
id: string;
|
|
3247
3248
|
label: string;
|
|
3248
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3249
3249
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3250
3250
|
locator?: string | undefined;
|
|
3251
3251
|
}, {
|
|
3252
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3252
3253
|
id: string;
|
|
3253
3254
|
label: string;
|
|
3254
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3255
3255
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3256
3256
|
locator?: string | undefined;
|
|
3257
3257
|
}>, "many">>;
|
|
@@ -3259,9 +3259,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3259
3259
|
kind: "mission_started";
|
|
3260
3260
|
title: string;
|
|
3261
3261
|
evidence: {
|
|
3262
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3262
3263
|
id: string;
|
|
3263
3264
|
label: string;
|
|
3264
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3265
3265
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3266
3266
|
locator?: string | undefined;
|
|
3267
3267
|
}[];
|
|
@@ -3273,9 +3273,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3273
3273
|
objective: string;
|
|
3274
3274
|
runMode: "replay" | "fixture" | "live";
|
|
3275
3275
|
evidence?: {
|
|
3276
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3276
3277
|
id: string;
|
|
3277
3278
|
label: string;
|
|
3278
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3279
3279
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3280
3280
|
locator?: string | undefined;
|
|
3281
3281
|
}[] | undefined;
|
|
@@ -3291,15 +3291,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3291
3291
|
locator: z.ZodOptional<z.ZodString>;
|
|
3292
3292
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3293
3293
|
}, "strict", z.ZodTypeAny, {
|
|
3294
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3294
3295
|
id: string;
|
|
3295
3296
|
label: string;
|
|
3296
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3297
3297
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3298
3298
|
locator?: string | undefined;
|
|
3299
3299
|
}, {
|
|
3300
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3300
3301
|
id: string;
|
|
3301
3302
|
label: string;
|
|
3302
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3303
3303
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3304
3304
|
locator?: string | undefined;
|
|
3305
3305
|
}>, "many">>;
|
|
@@ -3307,32 +3307,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3307
3307
|
sessionId: z.ZodString;
|
|
3308
3308
|
kind: z.ZodLiteral<"agent_status">;
|
|
3309
3309
|
}, "strict", z.ZodTypeAny, {
|
|
3310
|
-
label: string;
|
|
3311
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3312
3310
|
kind: "agent_status";
|
|
3313
3311
|
role: string;
|
|
3312
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3313
|
+
label: string;
|
|
3314
3314
|
agentId: string;
|
|
3315
3315
|
sessionId: string;
|
|
3316
3316
|
evidence: {
|
|
3317
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3317
3318
|
id: string;
|
|
3318
3319
|
label: string;
|
|
3319
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3320
3320
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3321
3321
|
locator?: string | undefined;
|
|
3322
3322
|
}[];
|
|
3323
3323
|
detail?: string | undefined;
|
|
3324
3324
|
}, {
|
|
3325
|
-
label: string;
|
|
3326
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3327
3325
|
kind: "agent_status";
|
|
3328
3326
|
role: string;
|
|
3327
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3328
|
+
label: string;
|
|
3329
3329
|
agentId: string;
|
|
3330
3330
|
sessionId: string;
|
|
3331
3331
|
detail?: string | undefined;
|
|
3332
3332
|
evidence?: {
|
|
3333
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3333
3334
|
id: string;
|
|
3334
3335
|
label: string;
|
|
3335
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3336
3336
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3337
3337
|
locator?: string | undefined;
|
|
3338
3338
|
}[] | undefined;
|
|
@@ -3346,15 +3346,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3346
3346
|
locator: z.ZodOptional<z.ZodString>;
|
|
3347
3347
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3348
3348
|
}, "strict", z.ZodTypeAny, {
|
|
3349
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3349
3350
|
id: string;
|
|
3350
3351
|
label: string;
|
|
3351
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3352
3352
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3353
3353
|
locator?: string | undefined;
|
|
3354
3354
|
}, {
|
|
3355
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3355
3356
|
id: string;
|
|
3356
3357
|
label: string;
|
|
3357
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3358
3358
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3359
3359
|
locator?: string | undefined;
|
|
3360
3360
|
}>, "many">>;
|
|
@@ -3362,28 +3362,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3362
3362
|
sessionId: z.ZodString;
|
|
3363
3363
|
kind: z.ZodLiteral<"agent_output">;
|
|
3364
3364
|
}, "strict", z.ZodTypeAny, {
|
|
3365
|
-
summary: string;
|
|
3366
3365
|
kind: "agent_output";
|
|
3366
|
+
summary: string;
|
|
3367
3367
|
agentId: string;
|
|
3368
3368
|
sessionId: string;
|
|
3369
3369
|
evidence: {
|
|
3370
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3370
3371
|
id: string;
|
|
3371
3372
|
label: string;
|
|
3372
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3373
3373
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3374
3374
|
locator?: string | undefined;
|
|
3375
3375
|
}[];
|
|
3376
3376
|
outputId: string;
|
|
3377
3377
|
}, {
|
|
3378
|
-
summary: string;
|
|
3379
3378
|
kind: "agent_output";
|
|
3379
|
+
summary: string;
|
|
3380
3380
|
agentId: string;
|
|
3381
3381
|
sessionId: string;
|
|
3382
3382
|
outputId: string;
|
|
3383
3383
|
evidence?: {
|
|
3384
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3384
3385
|
id: string;
|
|
3385
3386
|
label: string;
|
|
3386
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3387
3387
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3388
3388
|
locator?: string | undefined;
|
|
3389
3389
|
}[] | undefined;
|
|
@@ -3399,15 +3399,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3399
3399
|
locator: z.ZodOptional<z.ZodString>;
|
|
3400
3400
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3401
3401
|
}, "strict", z.ZodTypeAny, {
|
|
3402
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3402
3403
|
id: string;
|
|
3403
3404
|
label: string;
|
|
3404
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3405
3405
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3406
3406
|
locator?: string | undefined;
|
|
3407
3407
|
}, {
|
|
3408
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3408
3409
|
id: string;
|
|
3409
3410
|
label: string;
|
|
3410
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3411
3411
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3412
3412
|
locator?: string | undefined;
|
|
3413
3413
|
}>, "many">>;
|
|
@@ -3420,9 +3420,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3420
3420
|
statement: string;
|
|
3421
3421
|
sessionId: string;
|
|
3422
3422
|
evidence: {
|
|
3423
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3423
3424
|
id: string;
|
|
3424
3425
|
label: string;
|
|
3425
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3426
3426
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3427
3427
|
locator?: string | undefined;
|
|
3428
3428
|
}[];
|
|
@@ -3438,9 +3438,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3438
3438
|
decisionId: string;
|
|
3439
3439
|
confidence?: number | undefined;
|
|
3440
3440
|
evidence?: {
|
|
3441
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3441
3442
|
id: string;
|
|
3442
3443
|
label: string;
|
|
3443
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3444
3444
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3445
3445
|
locator?: string | undefined;
|
|
3446
3446
|
}[] | undefined;
|
|
@@ -3457,25 +3457,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3457
3457
|
locator: z.ZodOptional<z.ZodString>;
|
|
3458
3458
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3459
3459
|
}, "strict", z.ZodTypeAny, {
|
|
3460
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3460
3461
|
id: string;
|
|
3461
3462
|
label: string;
|
|
3462
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3463
3463
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3464
3464
|
locator?: string | undefined;
|
|
3465
3465
|
}, {
|
|
3466
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3466
3467
|
id: string;
|
|
3467
3468
|
label: string;
|
|
3468
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3469
3469
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3470
3470
|
locator?: string | undefined;
|
|
3471
3471
|
}>, "many">>;
|
|
3472
3472
|
}, "strict", z.ZodTypeAny, {
|
|
3473
|
-
summary: string;
|
|
3474
3473
|
kind: "conflict_detected";
|
|
3474
|
+
summary: string;
|
|
3475
3475
|
evidence: {
|
|
3476
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3476
3477
|
id: string;
|
|
3477
3478
|
label: string;
|
|
3478
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3479
3479
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3480
3480
|
locator?: string | undefined;
|
|
3481
3481
|
}[];
|
|
@@ -3483,15 +3483,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3483
3483
|
decisionIds: string[];
|
|
3484
3484
|
agentIds: string[];
|
|
3485
3485
|
}, {
|
|
3486
|
-
summary: string;
|
|
3487
3486
|
kind: "conflict_detected";
|
|
3487
|
+
summary: string;
|
|
3488
3488
|
conflictId: string;
|
|
3489
3489
|
decisionIds: string[];
|
|
3490
3490
|
agentIds: string[];
|
|
3491
3491
|
evidence?: {
|
|
3492
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3492
3493
|
id: string;
|
|
3493
3494
|
label: string;
|
|
3494
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3495
3495
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3496
3496
|
locator?: string | undefined;
|
|
3497
3497
|
}[] | undefined;
|
|
@@ -3511,27 +3511,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3511
3511
|
locator: z.ZodOptional<z.ZodString>;
|
|
3512
3512
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3513
3513
|
}, "strict", z.ZodTypeAny, {
|
|
3514
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3514
3515
|
id: string;
|
|
3515
3516
|
label: string;
|
|
3516
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3517
3517
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3518
3518
|
locator?: string | undefined;
|
|
3519
3519
|
}, {
|
|
3520
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3520
3521
|
id: string;
|
|
3521
3522
|
label: string;
|
|
3522
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3523
3523
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3524
3524
|
locator?: string | undefined;
|
|
3525
3525
|
}>, "many">>;
|
|
3526
3526
|
}, "strict", z.ZodTypeAny, {
|
|
3527
|
-
summary: string;
|
|
3528
|
-
status: "error" | "failed" | "passed";
|
|
3529
3527
|
kind: "test_result";
|
|
3528
|
+
summary: string;
|
|
3530
3529
|
command: string;
|
|
3530
|
+
status: "error" | "failed" | "passed";
|
|
3531
3531
|
evidence: {
|
|
3532
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3532
3533
|
id: string;
|
|
3533
3534
|
label: string;
|
|
3534
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3535
3535
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3536
3536
|
locator?: string | undefined;
|
|
3537
3537
|
}[];
|
|
@@ -3540,17 +3540,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3540
3540
|
durationMs?: number | undefined;
|
|
3541
3541
|
correctionId?: string | undefined;
|
|
3542
3542
|
}, {
|
|
3543
|
-
summary: string;
|
|
3544
|
-
status: "error" | "failed" | "passed";
|
|
3545
3543
|
kind: "test_result";
|
|
3544
|
+
summary: string;
|
|
3546
3545
|
command: string;
|
|
3546
|
+
status: "error" | "failed" | "passed";
|
|
3547
3547
|
decisionId: string;
|
|
3548
3548
|
testId: string;
|
|
3549
3549
|
durationMs?: number | undefined;
|
|
3550
3550
|
evidence?: {
|
|
3551
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3551
3552
|
id: string;
|
|
3552
3553
|
label: string;
|
|
3553
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3554
3554
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3555
3555
|
locator?: string | undefined;
|
|
3556
3556
|
}[] | undefined;
|
|
@@ -3571,15 +3571,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3571
3571
|
locator: z.ZodOptional<z.ZodString>;
|
|
3572
3572
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3573
3573
|
}, "strict", z.ZodTypeAny, {
|
|
3574
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3574
3575
|
id: string;
|
|
3575
3576
|
label: string;
|
|
3576
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3577
3577
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3578
3578
|
locator?: string | undefined;
|
|
3579
3579
|
}, {
|
|
3580
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3580
3581
|
id: string;
|
|
3581
3582
|
label: string;
|
|
3582
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3583
3583
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3584
3584
|
locator?: string | undefined;
|
|
3585
3585
|
}>, "many">>;
|
|
@@ -3588,9 +3588,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3588
3588
|
rationale: string;
|
|
3589
3589
|
statement: string;
|
|
3590
3590
|
evidence: {
|
|
3591
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3591
3592
|
id: string;
|
|
3592
3593
|
label: string;
|
|
3593
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3594
3594
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3595
3595
|
locator?: string | undefined;
|
|
3596
3596
|
}[];
|
|
@@ -3609,9 +3609,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3609
3609
|
supersedesDecisionIds: string[];
|
|
3610
3610
|
proposedBy: string;
|
|
3611
3611
|
evidence?: {
|
|
3612
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3612
3613
|
id: string;
|
|
3613
3614
|
label: string;
|
|
3614
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3615
3615
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3616
3616
|
locator?: string | undefined;
|
|
3617
3617
|
}[] | undefined;
|
|
@@ -3623,13 +3623,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3623
3623
|
id: z.ZodString;
|
|
3624
3624
|
label: z.ZodString;
|
|
3625
3625
|
}, "strict", z.ZodTypeAny, {
|
|
3626
|
+
kind: "agent" | "human";
|
|
3626
3627
|
id: string;
|
|
3627
3628
|
label: string;
|
|
3628
|
-
kind: "agent" | "human";
|
|
3629
3629
|
}, {
|
|
3630
|
+
kind: "agent" | "human";
|
|
3630
3631
|
id: string;
|
|
3631
3632
|
label: string;
|
|
3632
|
-
kind: "agent" | "human";
|
|
3633
3633
|
}>;
|
|
3634
3634
|
note: z.ZodOptional<z.ZodString>;
|
|
3635
3635
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3639,47 +3639,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3639
3639
|
locator: z.ZodOptional<z.ZodString>;
|
|
3640
3640
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3641
3641
|
}, "strict", z.ZodTypeAny, {
|
|
3642
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3642
3643
|
id: string;
|
|
3643
3644
|
label: string;
|
|
3644
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3645
3645
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3646
3646
|
locator?: string | undefined;
|
|
3647
3647
|
}, {
|
|
3648
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3648
3649
|
id: string;
|
|
3649
3650
|
label: string;
|
|
3650
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3651
3651
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3652
3652
|
locator?: string | undefined;
|
|
3653
3653
|
}>, "many">>;
|
|
3654
3654
|
}, "strict", z.ZodTypeAny, {
|
|
3655
3655
|
kind: "correction_approved";
|
|
3656
3656
|
evidence: {
|
|
3657
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3657
3658
|
id: string;
|
|
3658
3659
|
label: string;
|
|
3659
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3660
3660
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3661
3661
|
locator?: string | undefined;
|
|
3662
3662
|
}[];
|
|
3663
3663
|
correctionId: string;
|
|
3664
3664
|
approvedBy: {
|
|
3665
|
+
kind: "agent" | "human";
|
|
3665
3666
|
id: string;
|
|
3666
3667
|
label: string;
|
|
3667
|
-
kind: "agent" | "human";
|
|
3668
3668
|
};
|
|
3669
3669
|
note?: string | undefined;
|
|
3670
3670
|
}, {
|
|
3671
3671
|
kind: "correction_approved";
|
|
3672
3672
|
correctionId: string;
|
|
3673
3673
|
approvedBy: {
|
|
3674
|
+
kind: "agent" | "human";
|
|
3674
3675
|
id: string;
|
|
3675
3676
|
label: string;
|
|
3676
|
-
kind: "agent" | "human";
|
|
3677
3677
|
};
|
|
3678
3678
|
note?: string | undefined;
|
|
3679
3679
|
evidence?: {
|
|
3680
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3680
3681
|
id: string;
|
|
3681
3682
|
label: string;
|
|
3682
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3683
3683
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3684
3684
|
locator?: string | undefined;
|
|
3685
3685
|
}[] | undefined;
|
|
@@ -3695,24 +3695,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3695
3695
|
locator: z.ZodOptional<z.ZodString>;
|
|
3696
3696
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3697
3697
|
}, "strict", z.ZodTypeAny, {
|
|
3698
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3698
3699
|
id: string;
|
|
3699
3700
|
label: string;
|
|
3700
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3701
3701
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3702
3702
|
locator?: string | undefined;
|
|
3703
3703
|
}, {
|
|
3704
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3704
3705
|
id: string;
|
|
3705
3706
|
label: string;
|
|
3706
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3707
3707
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3708
3708
|
locator?: string | undefined;
|
|
3709
3709
|
}>, "many">>;
|
|
3710
3710
|
}, "strict", z.ZodTypeAny, {
|
|
3711
3711
|
kind: "decision_superseded";
|
|
3712
3712
|
evidence: {
|
|
3713
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3713
3714
|
id: string;
|
|
3714
3715
|
label: string;
|
|
3715
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3716
3716
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3717
3717
|
locator?: string | undefined;
|
|
3718
3718
|
}[];
|
|
@@ -3725,9 +3725,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3725
3725
|
correctionId: string;
|
|
3726
3726
|
replacementDecisionId: string;
|
|
3727
3727
|
evidence?: {
|
|
3728
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3728
3729
|
id: string;
|
|
3729
3730
|
label: string;
|
|
3730
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3731
3731
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3732
3732
|
locator?: string | undefined;
|
|
3733
3733
|
}[] | undefined;
|
|
@@ -3743,15 +3743,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3743
3743
|
locator: z.ZodOptional<z.ZodString>;
|
|
3744
3744
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3745
3745
|
}, "strict", z.ZodTypeAny, {
|
|
3746
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3746
3747
|
id: string;
|
|
3747
3748
|
label: string;
|
|
3748
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3749
3749
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3750
3750
|
locator?: string | undefined;
|
|
3751
3751
|
}, {
|
|
3752
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3752
3753
|
id: string;
|
|
3753
3754
|
label: string;
|
|
3754
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3755
3755
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3756
3756
|
locator?: string | undefined;
|
|
3757
3757
|
}>, "many">>;
|
|
@@ -3764,9 +3764,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3764
3764
|
agentId: string;
|
|
3765
3765
|
sessionId: string;
|
|
3766
3766
|
evidence: {
|
|
3767
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3767
3768
|
id: string;
|
|
3768
3769
|
label: string;
|
|
3769
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3770
3770
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3771
3771
|
locator?: string | undefined;
|
|
3772
3772
|
}[];
|
|
@@ -3782,9 +3782,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3782
3782
|
recallReceiptId: string;
|
|
3783
3783
|
capturedAtAction: boolean;
|
|
3784
3784
|
evidence?: {
|
|
3785
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3785
3786
|
id: string;
|
|
3786
3787
|
label: string;
|
|
3787
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3788
3788
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3789
3789
|
locator?: string | undefined;
|
|
3790
3790
|
}[] | undefined;
|
|
@@ -3800,15 +3800,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3800
3800
|
locator: z.ZodOptional<z.ZodString>;
|
|
3801
3801
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3802
3802
|
}, "strict", z.ZodTypeAny, {
|
|
3803
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3803
3804
|
id: string;
|
|
3804
3805
|
label: string;
|
|
3805
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3806
3806
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3807
3807
|
locator?: string | undefined;
|
|
3808
3808
|
}, {
|
|
3809
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3809
3810
|
id: string;
|
|
3810
3811
|
label: string;
|
|
3811
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3812
3812
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3813
3813
|
locator?: string | undefined;
|
|
3814
3814
|
}>, "many">>;
|
|
@@ -3820,9 +3820,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3820
3820
|
agentId: string;
|
|
3821
3821
|
sessionId: string;
|
|
3822
3822
|
evidence: {
|
|
3823
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3823
3824
|
id: string;
|
|
3824
3825
|
label: string;
|
|
3825
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3826
3826
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3827
3827
|
locator?: string | undefined;
|
|
3828
3828
|
}[];
|
|
@@ -3839,9 +3839,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3839
3839
|
recallReceiptId: string;
|
|
3840
3840
|
staleDecisionAbsent: boolean;
|
|
3841
3841
|
evidence?: {
|
|
3842
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3842
3843
|
id: string;
|
|
3843
3844
|
label: string;
|
|
3844
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3845
3845
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3846
3846
|
locator?: string | undefined;
|
|
3847
3847
|
}[] | undefined;
|
|
@@ -3856,37 +3856,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3856
3856
|
locator: z.ZodOptional<z.ZodString>;
|
|
3857
3857
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3858
3858
|
}, "strict", z.ZodTypeAny, {
|
|
3859
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3859
3860
|
id: string;
|
|
3860
3861
|
label: string;
|
|
3861
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3862
3862
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3863
3863
|
locator?: string | undefined;
|
|
3864
3864
|
}, {
|
|
3865
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3865
3866
|
id: string;
|
|
3866
3867
|
label: string;
|
|
3867
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3868
3868
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3869
3869
|
locator?: string | undefined;
|
|
3870
3870
|
}>, "many">>;
|
|
3871
3871
|
}, "strict", z.ZodTypeAny, {
|
|
3872
|
-
summary: string;
|
|
3873
3872
|
kind: "mission_completed";
|
|
3873
|
+
summary: string;
|
|
3874
3874
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3875
3875
|
evidence: {
|
|
3876
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3876
3877
|
id: string;
|
|
3877
3878
|
label: string;
|
|
3878
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3879
3879
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3880
3880
|
locator?: string | undefined;
|
|
3881
3881
|
}[];
|
|
3882
3882
|
}, {
|
|
3883
|
-
summary: string;
|
|
3884
3883
|
kind: "mission_completed";
|
|
3884
|
+
summary: string;
|
|
3885
3885
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3886
3886
|
evidence?: {
|
|
3887
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3887
3888
|
id: string;
|
|
3888
3889
|
label: string;
|
|
3889
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3890
3890
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3891
3891
|
locator?: string | undefined;
|
|
3892
3892
|
}[] | undefined;
|
|
@@ -3894,38 +3894,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3894
3894
|
kind: "mission_started";
|
|
3895
3895
|
title: string;
|
|
3896
3896
|
evidence: {
|
|
3897
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3897
3898
|
id: string;
|
|
3898
3899
|
label: string;
|
|
3899
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3900
3900
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3901
3901
|
locator?: string | undefined;
|
|
3902
3902
|
}[];
|
|
3903
3903
|
objective: string;
|
|
3904
3904
|
runMode: "replay" | "fixture" | "live";
|
|
3905
3905
|
} | {
|
|
3906
|
-
label: string;
|
|
3907
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3908
3906
|
kind: "agent_status";
|
|
3909
3907
|
role: string;
|
|
3908
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3909
|
+
label: string;
|
|
3910
3910
|
agentId: string;
|
|
3911
3911
|
sessionId: string;
|
|
3912
3912
|
evidence: {
|
|
3913
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3913
3914
|
id: string;
|
|
3914
3915
|
label: string;
|
|
3915
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3916
3916
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3917
3917
|
locator?: string | undefined;
|
|
3918
3918
|
}[];
|
|
3919
3919
|
detail?: string | undefined;
|
|
3920
3920
|
} | {
|
|
3921
|
-
summary: string;
|
|
3922
3921
|
kind: "agent_output";
|
|
3922
|
+
summary: string;
|
|
3923
3923
|
agentId: string;
|
|
3924
3924
|
sessionId: string;
|
|
3925
3925
|
evidence: {
|
|
3926
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3926
3927
|
id: string;
|
|
3927
3928
|
label: string;
|
|
3928
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3929
3929
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3930
3930
|
locator?: string | undefined;
|
|
3931
3931
|
}[];
|
|
@@ -3936,9 +3936,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3936
3936
|
statement: string;
|
|
3937
3937
|
sessionId: string;
|
|
3938
3938
|
evidence: {
|
|
3939
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3939
3940
|
id: string;
|
|
3940
3941
|
label: string;
|
|
3941
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3942
3942
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3943
3943
|
locator?: string | undefined;
|
|
3944
3944
|
}[];
|
|
@@ -3946,12 +3946,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3946
3946
|
decisionId: string;
|
|
3947
3947
|
confidence?: number | undefined;
|
|
3948
3948
|
} | {
|
|
3949
|
-
summary: string;
|
|
3950
3949
|
kind: "conflict_detected";
|
|
3950
|
+
summary: string;
|
|
3951
3951
|
evidence: {
|
|
3952
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3952
3953
|
id: string;
|
|
3953
3954
|
label: string;
|
|
3954
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3955
3955
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3956
3956
|
locator?: string | undefined;
|
|
3957
3957
|
}[];
|
|
@@ -3959,14 +3959,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3959
3959
|
decisionIds: string[];
|
|
3960
3960
|
agentIds: string[];
|
|
3961
3961
|
} | {
|
|
3962
|
-
summary: string;
|
|
3963
|
-
status: "error" | "failed" | "passed";
|
|
3964
3962
|
kind: "test_result";
|
|
3963
|
+
summary: string;
|
|
3965
3964
|
command: string;
|
|
3965
|
+
status: "error" | "failed" | "passed";
|
|
3966
3966
|
evidence: {
|
|
3967
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3967
3968
|
id: string;
|
|
3968
3969
|
label: string;
|
|
3969
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3970
3970
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3971
3971
|
locator?: string | undefined;
|
|
3972
3972
|
}[];
|
|
@@ -3979,9 +3979,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3979
3979
|
rationale: string;
|
|
3980
3980
|
statement: string;
|
|
3981
3981
|
evidence: {
|
|
3982
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3982
3983
|
id: string;
|
|
3983
3984
|
label: string;
|
|
3984
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3985
3985
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3986
3986
|
locator?: string | undefined;
|
|
3987
3987
|
}[];
|
|
@@ -3993,25 +3993,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3993
3993
|
} | {
|
|
3994
3994
|
kind: "correction_approved";
|
|
3995
3995
|
evidence: {
|
|
3996
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3996
3997
|
id: string;
|
|
3997
3998
|
label: string;
|
|
3998
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3999
3999
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4000
4000
|
locator?: string | undefined;
|
|
4001
4001
|
}[];
|
|
4002
4002
|
correctionId: string;
|
|
4003
4003
|
approvedBy: {
|
|
4004
|
+
kind: "agent" | "human";
|
|
4004
4005
|
id: string;
|
|
4005
4006
|
label: string;
|
|
4006
|
-
kind: "agent" | "human";
|
|
4007
4007
|
};
|
|
4008
4008
|
note?: string | undefined;
|
|
4009
4009
|
} | {
|
|
4010
4010
|
kind: "decision_superseded";
|
|
4011
4011
|
evidence: {
|
|
4012
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4012
4013
|
id: string;
|
|
4013
4014
|
label: string;
|
|
4014
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4015
4015
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4016
4016
|
locator?: string | undefined;
|
|
4017
4017
|
}[];
|
|
@@ -4024,9 +4024,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4024
4024
|
agentId: string;
|
|
4025
4025
|
sessionId: string;
|
|
4026
4026
|
evidence: {
|
|
4027
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4027
4028
|
id: string;
|
|
4028
4029
|
label: string;
|
|
4029
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4030
4030
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4031
4031
|
locator?: string | undefined;
|
|
4032
4032
|
}[];
|
|
@@ -4038,9 +4038,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4038
4038
|
agentId: string;
|
|
4039
4039
|
sessionId: string;
|
|
4040
4040
|
evidence: {
|
|
4041
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4041
4042
|
id: string;
|
|
4042
4043
|
label: string;
|
|
4043
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4044
4044
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4045
4045
|
locator?: string | undefined;
|
|
4046
4046
|
}[];
|
|
@@ -4049,13 +4049,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4049
4049
|
recallReceiptId: string;
|
|
4050
4050
|
staleDecisionAbsent: boolean;
|
|
4051
4051
|
} | {
|
|
4052
|
-
summary: string;
|
|
4053
4052
|
kind: "mission_completed";
|
|
4053
|
+
summary: string;
|
|
4054
4054
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4055
4055
|
evidence: {
|
|
4056
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4056
4057
|
id: string;
|
|
4057
4058
|
label: string;
|
|
4058
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4059
4059
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4060
4060
|
locator?: string | undefined;
|
|
4061
4061
|
}[];
|
|
@@ -4065,37 +4065,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4065
4065
|
objective: string;
|
|
4066
4066
|
runMode: "replay" | "fixture" | "live";
|
|
4067
4067
|
evidence?: {
|
|
4068
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4068
4069
|
id: string;
|
|
4069
4070
|
label: string;
|
|
4070
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4071
4071
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4072
4072
|
locator?: string | undefined;
|
|
4073
4073
|
}[] | undefined;
|
|
4074
4074
|
} | {
|
|
4075
|
-
label: string;
|
|
4076
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4077
4075
|
kind: "agent_status";
|
|
4078
4076
|
role: string;
|
|
4077
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4078
|
+
label: string;
|
|
4079
4079
|
agentId: string;
|
|
4080
4080
|
sessionId: string;
|
|
4081
4081
|
detail?: string | undefined;
|
|
4082
4082
|
evidence?: {
|
|
4083
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4083
4084
|
id: string;
|
|
4084
4085
|
label: string;
|
|
4085
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4086
4086
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4087
4087
|
locator?: string | undefined;
|
|
4088
4088
|
}[] | undefined;
|
|
4089
4089
|
} | {
|
|
4090
|
-
summary: string;
|
|
4091
4090
|
kind: "agent_output";
|
|
4091
|
+
summary: string;
|
|
4092
4092
|
agentId: string;
|
|
4093
4093
|
sessionId: string;
|
|
4094
4094
|
outputId: string;
|
|
4095
4095
|
evidence?: {
|
|
4096
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4096
4097
|
id: string;
|
|
4097
4098
|
label: string;
|
|
4098
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4099
4099
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4100
4100
|
locator?: string | undefined;
|
|
4101
4101
|
}[] | undefined;
|
|
@@ -4108,37 +4108,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4108
4108
|
decisionId: string;
|
|
4109
4109
|
confidence?: number | undefined;
|
|
4110
4110
|
evidence?: {
|
|
4111
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4111
4112
|
id: string;
|
|
4112
4113
|
label: string;
|
|
4113
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4114
4114
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4115
4115
|
locator?: string | undefined;
|
|
4116
4116
|
}[] | undefined;
|
|
4117
4117
|
} | {
|
|
4118
|
-
summary: string;
|
|
4119
4118
|
kind: "conflict_detected";
|
|
4119
|
+
summary: string;
|
|
4120
4120
|
conflictId: string;
|
|
4121
4121
|
decisionIds: string[];
|
|
4122
4122
|
agentIds: string[];
|
|
4123
4123
|
evidence?: {
|
|
4124
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4124
4125
|
id: string;
|
|
4125
4126
|
label: string;
|
|
4126
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4127
4127
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4128
4128
|
locator?: string | undefined;
|
|
4129
4129
|
}[] | undefined;
|
|
4130
4130
|
} | {
|
|
4131
|
-
summary: string;
|
|
4132
|
-
status: "error" | "failed" | "passed";
|
|
4133
4131
|
kind: "test_result";
|
|
4132
|
+
summary: string;
|
|
4134
4133
|
command: string;
|
|
4134
|
+
status: "error" | "failed" | "passed";
|
|
4135
4135
|
decisionId: string;
|
|
4136
4136
|
testId: string;
|
|
4137
4137
|
durationMs?: number | undefined;
|
|
4138
4138
|
evidence?: {
|
|
4139
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4139
4140
|
id: string;
|
|
4140
4141
|
label: string;
|
|
4141
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4142
4142
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4143
4143
|
locator?: string | undefined;
|
|
4144
4144
|
}[] | undefined;
|
|
@@ -4153,9 +4153,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4153
4153
|
supersedesDecisionIds: string[];
|
|
4154
4154
|
proposedBy: string;
|
|
4155
4155
|
evidence?: {
|
|
4156
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4156
4157
|
id: string;
|
|
4157
4158
|
label: string;
|
|
4158
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4159
4159
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4160
4160
|
locator?: string | undefined;
|
|
4161
4161
|
}[] | undefined;
|
|
@@ -4163,15 +4163,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4163
4163
|
kind: "correction_approved";
|
|
4164
4164
|
correctionId: string;
|
|
4165
4165
|
approvedBy: {
|
|
4166
|
+
kind: "agent" | "human";
|
|
4166
4167
|
id: string;
|
|
4167
4168
|
label: string;
|
|
4168
|
-
kind: "agent" | "human";
|
|
4169
4169
|
};
|
|
4170
4170
|
note?: string | undefined;
|
|
4171
4171
|
evidence?: {
|
|
4172
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4172
4173
|
id: string;
|
|
4173
4174
|
label: string;
|
|
4174
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4175
4175
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4176
4176
|
locator?: string | undefined;
|
|
4177
4177
|
}[] | undefined;
|
|
@@ -4181,9 +4181,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4181
4181
|
correctionId: string;
|
|
4182
4182
|
replacementDecisionId: string;
|
|
4183
4183
|
evidence?: {
|
|
4184
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4184
4185
|
id: string;
|
|
4185
4186
|
label: string;
|
|
4186
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4187
4187
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4188
4188
|
locator?: string | undefined;
|
|
4189
4189
|
}[] | undefined;
|
|
@@ -4196,9 +4196,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4196
4196
|
recallReceiptId: string;
|
|
4197
4197
|
capturedAtAction: boolean;
|
|
4198
4198
|
evidence?: {
|
|
4199
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4199
4200
|
id: string;
|
|
4200
4201
|
label: string;
|
|
4201
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4202
4202
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4203
4203
|
locator?: string | undefined;
|
|
4204
4204
|
}[] | undefined;
|
|
@@ -4211,64 +4211,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4211
4211
|
recallReceiptId: string;
|
|
4212
4212
|
staleDecisionAbsent: boolean;
|
|
4213
4213
|
evidence?: {
|
|
4214
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4214
4215
|
id: string;
|
|
4215
4216
|
label: string;
|
|
4216
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4217
4217
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4218
4218
|
locator?: string | undefined;
|
|
4219
4219
|
}[] | undefined;
|
|
4220
4220
|
} | {
|
|
4221
|
-
summary: string;
|
|
4222
4221
|
kind: "mission_completed";
|
|
4222
|
+
summary: string;
|
|
4223
4223
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4224
4224
|
evidence?: {
|
|
4225
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4225
4226
|
id: string;
|
|
4226
4227
|
label: string;
|
|
4227
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4228
4228
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4229
4229
|
locator?: string | undefined;
|
|
4230
4230
|
}[] | undefined;
|
|
4231
4231
|
}>;
|
|
4232
4232
|
}, "strict", z.ZodTypeAny, {
|
|
4233
|
-
namespace: string;
|
|
4234
|
-
recordedAt: string;
|
|
4235
4233
|
schemaVersion: "1";
|
|
4234
|
+
recordedAt: string;
|
|
4236
4235
|
payload: {
|
|
4237
4236
|
kind: "mission_started";
|
|
4238
4237
|
title: string;
|
|
4239
4238
|
evidence: {
|
|
4239
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4240
4240
|
id: string;
|
|
4241
4241
|
label: string;
|
|
4242
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4243
4242
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4244
4243
|
locator?: string | undefined;
|
|
4245
4244
|
}[];
|
|
4246
4245
|
objective: string;
|
|
4247
4246
|
runMode: "replay" | "fixture" | "live";
|
|
4248
4247
|
} | {
|
|
4249
|
-
label: string;
|
|
4250
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4251
4248
|
kind: "agent_status";
|
|
4252
4249
|
role: string;
|
|
4250
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4251
|
+
label: string;
|
|
4253
4252
|
agentId: string;
|
|
4254
4253
|
sessionId: string;
|
|
4255
4254
|
evidence: {
|
|
4255
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4256
4256
|
id: string;
|
|
4257
4257
|
label: string;
|
|
4258
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4259
4258
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4260
4259
|
locator?: string | undefined;
|
|
4261
4260
|
}[];
|
|
4262
4261
|
detail?: string | undefined;
|
|
4263
4262
|
} | {
|
|
4264
|
-
summary: string;
|
|
4265
4263
|
kind: "agent_output";
|
|
4264
|
+
summary: string;
|
|
4266
4265
|
agentId: string;
|
|
4267
4266
|
sessionId: string;
|
|
4268
4267
|
evidence: {
|
|
4268
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4269
4269
|
id: string;
|
|
4270
4270
|
label: string;
|
|
4271
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4272
4271
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4273
4272
|
locator?: string | undefined;
|
|
4274
4273
|
}[];
|
|
@@ -4279,9 +4278,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4279
4278
|
statement: string;
|
|
4280
4279
|
sessionId: string;
|
|
4281
4280
|
evidence: {
|
|
4281
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4282
4282
|
id: string;
|
|
4283
4283
|
label: string;
|
|
4284
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4285
4284
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4286
4285
|
locator?: string | undefined;
|
|
4287
4286
|
}[];
|
|
@@ -4289,12 +4288,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4289
4288
|
decisionId: string;
|
|
4290
4289
|
confidence?: number | undefined;
|
|
4291
4290
|
} | {
|
|
4292
|
-
summary: string;
|
|
4293
4291
|
kind: "conflict_detected";
|
|
4292
|
+
summary: string;
|
|
4294
4293
|
evidence: {
|
|
4294
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4295
4295
|
id: string;
|
|
4296
4296
|
label: string;
|
|
4297
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4298
4297
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4299
4298
|
locator?: string | undefined;
|
|
4300
4299
|
}[];
|
|
@@ -4302,14 +4301,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4302
4301
|
decisionIds: string[];
|
|
4303
4302
|
agentIds: string[];
|
|
4304
4303
|
} | {
|
|
4305
|
-
summary: string;
|
|
4306
|
-
status: "error" | "failed" | "passed";
|
|
4307
4304
|
kind: "test_result";
|
|
4305
|
+
summary: string;
|
|
4308
4306
|
command: string;
|
|
4307
|
+
status: "error" | "failed" | "passed";
|
|
4309
4308
|
evidence: {
|
|
4309
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4310
4310
|
id: string;
|
|
4311
4311
|
label: string;
|
|
4312
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4313
4312
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4314
4313
|
locator?: string | undefined;
|
|
4315
4314
|
}[];
|
|
@@ -4322,9 +4321,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4322
4321
|
rationale: string;
|
|
4323
4322
|
statement: string;
|
|
4324
4323
|
evidence: {
|
|
4324
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4325
4325
|
id: string;
|
|
4326
4326
|
label: string;
|
|
4327
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4328
4327
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4329
4328
|
locator?: string | undefined;
|
|
4330
4329
|
}[];
|
|
@@ -4336,25 +4335,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4336
4335
|
} | {
|
|
4337
4336
|
kind: "correction_approved";
|
|
4338
4337
|
evidence: {
|
|
4338
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4339
4339
|
id: string;
|
|
4340
4340
|
label: string;
|
|
4341
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4342
4341
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4343
4342
|
locator?: string | undefined;
|
|
4344
4343
|
}[];
|
|
4345
4344
|
correctionId: string;
|
|
4346
4345
|
approvedBy: {
|
|
4346
|
+
kind: "agent" | "human";
|
|
4347
4347
|
id: string;
|
|
4348
4348
|
label: string;
|
|
4349
|
-
kind: "agent" | "human";
|
|
4350
4349
|
};
|
|
4351
4350
|
note?: string | undefined;
|
|
4352
4351
|
} | {
|
|
4353
4352
|
kind: "decision_superseded";
|
|
4354
4353
|
evidence: {
|
|
4354
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4355
4355
|
id: string;
|
|
4356
4356
|
label: string;
|
|
4357
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4358
4357
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4359
4358
|
locator?: string | undefined;
|
|
4360
4359
|
}[];
|
|
@@ -4367,9 +4366,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4367
4366
|
agentId: string;
|
|
4368
4367
|
sessionId: string;
|
|
4369
4368
|
evidence: {
|
|
4369
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4370
4370
|
id: string;
|
|
4371
4371
|
label: string;
|
|
4372
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4373
4372
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4374
4373
|
locator?: string | undefined;
|
|
4375
4374
|
}[];
|
|
@@ -4381,9 +4380,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4381
4380
|
agentId: string;
|
|
4382
4381
|
sessionId: string;
|
|
4383
4382
|
evidence: {
|
|
4383
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4384
4384
|
id: string;
|
|
4385
4385
|
label: string;
|
|
4386
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4387
4386
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4388
4387
|
locator?: string | undefined;
|
|
4389
4388
|
}[];
|
|
@@ -4392,63 +4391,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4392
4391
|
recallReceiptId: string;
|
|
4393
4392
|
staleDecisionAbsent: boolean;
|
|
4394
4393
|
} | {
|
|
4395
|
-
summary: string;
|
|
4396
4394
|
kind: "mission_completed";
|
|
4395
|
+
summary: string;
|
|
4397
4396
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4398
4397
|
evidence: {
|
|
4398
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4399
4399
|
id: string;
|
|
4400
4400
|
label: string;
|
|
4401
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4402
4401
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4403
4402
|
locator?: string | undefined;
|
|
4404
4403
|
}[];
|
|
4405
4404
|
};
|
|
4405
|
+
namespace: string;
|
|
4406
4406
|
eventId: string;
|
|
4407
4407
|
occurredAt: string;
|
|
4408
4408
|
missionId: string;
|
|
4409
4409
|
authenticatedPrincipal?: string | undefined;
|
|
4410
4410
|
idempotencyKey?: string | undefined;
|
|
4411
4411
|
}, {
|
|
4412
|
-
namespace: string;
|
|
4413
|
-
recordedAt: string;
|
|
4414
4412
|
schemaVersion: "1";
|
|
4413
|
+
recordedAt: string;
|
|
4415
4414
|
payload: {
|
|
4416
4415
|
kind: "mission_started";
|
|
4417
4416
|
title: string;
|
|
4418
4417
|
objective: string;
|
|
4419
4418
|
runMode: "replay" | "fixture" | "live";
|
|
4420
4419
|
evidence?: {
|
|
4420
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4421
4421
|
id: string;
|
|
4422
4422
|
label: string;
|
|
4423
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4424
4423
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4425
4424
|
locator?: string | undefined;
|
|
4426
4425
|
}[] | undefined;
|
|
4427
4426
|
} | {
|
|
4428
|
-
label: string;
|
|
4429
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4430
4427
|
kind: "agent_status";
|
|
4431
4428
|
role: string;
|
|
4429
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4430
|
+
label: string;
|
|
4432
4431
|
agentId: string;
|
|
4433
4432
|
sessionId: string;
|
|
4434
4433
|
detail?: string | undefined;
|
|
4435
4434
|
evidence?: {
|
|
4435
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4436
4436
|
id: string;
|
|
4437
4437
|
label: string;
|
|
4438
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4439
4438
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4440
4439
|
locator?: string | undefined;
|
|
4441
4440
|
}[] | undefined;
|
|
4442
4441
|
} | {
|
|
4443
|
-
summary: string;
|
|
4444
4442
|
kind: "agent_output";
|
|
4443
|
+
summary: string;
|
|
4445
4444
|
agentId: string;
|
|
4446
4445
|
sessionId: string;
|
|
4447
4446
|
outputId: string;
|
|
4448
4447
|
evidence?: {
|
|
4448
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4449
4449
|
id: string;
|
|
4450
4450
|
label: string;
|
|
4451
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4452
4451
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4453
4452
|
locator?: string | undefined;
|
|
4454
4453
|
}[] | undefined;
|
|
@@ -4461,37 +4460,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4461
4460
|
decisionId: string;
|
|
4462
4461
|
confidence?: number | undefined;
|
|
4463
4462
|
evidence?: {
|
|
4463
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4464
4464
|
id: string;
|
|
4465
4465
|
label: string;
|
|
4466
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4467
4466
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4468
4467
|
locator?: string | undefined;
|
|
4469
4468
|
}[] | undefined;
|
|
4470
4469
|
} | {
|
|
4471
|
-
summary: string;
|
|
4472
4470
|
kind: "conflict_detected";
|
|
4471
|
+
summary: string;
|
|
4473
4472
|
conflictId: string;
|
|
4474
4473
|
decisionIds: string[];
|
|
4475
4474
|
agentIds: string[];
|
|
4476
4475
|
evidence?: {
|
|
4476
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4477
4477
|
id: string;
|
|
4478
4478
|
label: string;
|
|
4479
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4480
4479
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4481
4480
|
locator?: string | undefined;
|
|
4482
4481
|
}[] | undefined;
|
|
4483
4482
|
} | {
|
|
4484
|
-
summary: string;
|
|
4485
|
-
status: "error" | "failed" | "passed";
|
|
4486
4483
|
kind: "test_result";
|
|
4484
|
+
summary: string;
|
|
4487
4485
|
command: string;
|
|
4486
|
+
status: "error" | "failed" | "passed";
|
|
4488
4487
|
decisionId: string;
|
|
4489
4488
|
testId: string;
|
|
4490
4489
|
durationMs?: number | undefined;
|
|
4491
4490
|
evidence?: {
|
|
4491
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4492
4492
|
id: string;
|
|
4493
4493
|
label: string;
|
|
4494
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4495
4494
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4496
4495
|
locator?: string | undefined;
|
|
4497
4496
|
}[] | undefined;
|
|
@@ -4506,9 +4505,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4506
4505
|
supersedesDecisionIds: string[];
|
|
4507
4506
|
proposedBy: string;
|
|
4508
4507
|
evidence?: {
|
|
4508
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4509
4509
|
id: string;
|
|
4510
4510
|
label: string;
|
|
4511
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4512
4511
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4513
4512
|
locator?: string | undefined;
|
|
4514
4513
|
}[] | undefined;
|
|
@@ -4516,15 +4515,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4516
4515
|
kind: "correction_approved";
|
|
4517
4516
|
correctionId: string;
|
|
4518
4517
|
approvedBy: {
|
|
4518
|
+
kind: "agent" | "human";
|
|
4519
4519
|
id: string;
|
|
4520
4520
|
label: string;
|
|
4521
|
-
kind: "agent" | "human";
|
|
4522
4521
|
};
|
|
4523
4522
|
note?: string | undefined;
|
|
4524
4523
|
evidence?: {
|
|
4524
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4525
4525
|
id: string;
|
|
4526
4526
|
label: string;
|
|
4527
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4528
4527
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4529
4528
|
locator?: string | undefined;
|
|
4530
4529
|
}[] | undefined;
|
|
@@ -4534,9 +4533,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4534
4533
|
correctionId: string;
|
|
4535
4534
|
replacementDecisionId: string;
|
|
4536
4535
|
evidence?: {
|
|
4536
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4537
4537
|
id: string;
|
|
4538
4538
|
label: string;
|
|
4539
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4540
4539
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4541
4540
|
locator?: string | undefined;
|
|
4542
4541
|
}[] | undefined;
|
|
@@ -4549,9 +4548,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4549
4548
|
recallReceiptId: string;
|
|
4550
4549
|
capturedAtAction: boolean;
|
|
4551
4550
|
evidence?: {
|
|
4551
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4552
4552
|
id: string;
|
|
4553
4553
|
label: string;
|
|
4554
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4555
4554
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4556
4555
|
locator?: string | undefined;
|
|
4557
4556
|
}[] | undefined;
|
|
@@ -4564,24 +4563,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4564
4563
|
recallReceiptId: string;
|
|
4565
4564
|
staleDecisionAbsent: boolean;
|
|
4566
4565
|
evidence?: {
|
|
4566
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4567
4567
|
id: string;
|
|
4568
4568
|
label: string;
|
|
4569
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4570
4569
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4571
4570
|
locator?: string | undefined;
|
|
4572
4571
|
}[] | undefined;
|
|
4573
4572
|
} | {
|
|
4574
|
-
summary: string;
|
|
4575
4573
|
kind: "mission_completed";
|
|
4574
|
+
summary: string;
|
|
4576
4575
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4577
4576
|
evidence?: {
|
|
4577
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4578
4578
|
id: string;
|
|
4579
4579
|
label: string;
|
|
4580
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4581
4580
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4582
4581
|
locator?: string | undefined;
|
|
4583
4582
|
}[] | undefined;
|
|
4584
4583
|
};
|
|
4584
|
+
namespace: string;
|
|
4585
4585
|
eventId: string;
|
|
4586
4586
|
occurredAt: string;
|
|
4587
4587
|
missionId: string;
|