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