@remnic/core 9.22.1 → 9.22.2
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
|
@@ -868,15 +868,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
|
|
|
868
868
|
locator: z.ZodOptional<z.ZodString>;
|
|
869
869
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
870
870
|
}, "strict", z.ZodTypeAny, {
|
|
871
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
871
872
|
id: string;
|
|
872
873
|
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
|
}, {
|
|
877
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
877
878
|
id: string;
|
|
878
879
|
label: string;
|
|
879
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
880
880
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
881
881
|
locator?: string | undefined;
|
|
882
882
|
}>;
|
|
@@ -893,15 +893,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
893
893
|
locator: z.ZodOptional<z.ZodString>;
|
|
894
894
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
895
895
|
}, "strict", z.ZodTypeAny, {
|
|
896
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
896
897
|
id: string;
|
|
897
898
|
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
|
}, {
|
|
902
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
902
903
|
id: string;
|
|
903
904
|
label: string;
|
|
904
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
905
905
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
906
906
|
locator?: string | undefined;
|
|
907
907
|
}>, "many">>;
|
|
@@ -909,9 +909,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
909
909
|
kind: "mission_started";
|
|
910
910
|
title: string;
|
|
911
911
|
evidence: {
|
|
912
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
912
913
|
id: string;
|
|
913
914
|
label: string;
|
|
914
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
915
915
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
916
916
|
locator?: string | undefined;
|
|
917
917
|
}[];
|
|
@@ -923,9 +923,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
923
923
|
objective: string;
|
|
924
924
|
runMode: "replay" | "fixture" | "live";
|
|
925
925
|
evidence?: {
|
|
926
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
926
927
|
id: string;
|
|
927
928
|
label: string;
|
|
928
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
929
929
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
930
930
|
locator?: string | undefined;
|
|
931
931
|
}[] | undefined;
|
|
@@ -941,15 +941,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
941
941
|
locator: z.ZodOptional<z.ZodString>;
|
|
942
942
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
943
943
|
}, "strict", z.ZodTypeAny, {
|
|
944
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
944
945
|
id: string;
|
|
945
946
|
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
|
}, {
|
|
950
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
950
951
|
id: string;
|
|
951
952
|
label: string;
|
|
952
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
953
953
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
954
954
|
locator?: string | undefined;
|
|
955
955
|
}>, "many">>;
|
|
@@ -957,32 +957,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
957
957
|
sessionId: z.ZodString;
|
|
958
958
|
kind: z.ZodLiteral<"agent_status">;
|
|
959
959
|
}, "strict", z.ZodTypeAny, {
|
|
960
|
-
label: string;
|
|
961
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
962
960
|
kind: "agent_status";
|
|
963
961
|
role: string;
|
|
962
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
963
|
+
label: string;
|
|
964
964
|
agentId: string;
|
|
965
965
|
sessionId: string;
|
|
966
966
|
evidence: {
|
|
967
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
967
968
|
id: string;
|
|
968
969
|
label: string;
|
|
969
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
970
970
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
971
971
|
locator?: string | undefined;
|
|
972
972
|
}[];
|
|
973
973
|
detail?: string | undefined;
|
|
974
974
|
}, {
|
|
975
|
-
label: string;
|
|
976
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
977
975
|
kind: "agent_status";
|
|
978
976
|
role: string;
|
|
977
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
978
|
+
label: string;
|
|
979
979
|
agentId: string;
|
|
980
980
|
sessionId: string;
|
|
981
981
|
detail?: string | undefined;
|
|
982
982
|
evidence?: {
|
|
983
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
983
984
|
id: string;
|
|
984
985
|
label: string;
|
|
985
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
986
986
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
987
987
|
locator?: string | undefined;
|
|
988
988
|
}[] | undefined;
|
|
@@ -996,15 +996,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
996
996
|
locator: z.ZodOptional<z.ZodString>;
|
|
997
997
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
998
998
|
}, "strict", z.ZodTypeAny, {
|
|
999
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
999
1000
|
id: string;
|
|
1000
1001
|
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
|
}, {
|
|
1005
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1005
1006
|
id: string;
|
|
1006
1007
|
label: string;
|
|
1007
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1008
1008
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1009
1009
|
locator?: string | undefined;
|
|
1010
1010
|
}>, "many">>;
|
|
@@ -1012,28 +1012,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1012
1012
|
sessionId: z.ZodString;
|
|
1013
1013
|
kind: z.ZodLiteral<"agent_output">;
|
|
1014
1014
|
}, "strict", z.ZodTypeAny, {
|
|
1015
|
-
summary: string;
|
|
1016
1015
|
kind: "agent_output";
|
|
1016
|
+
summary: string;
|
|
1017
1017
|
agentId: string;
|
|
1018
1018
|
sessionId: string;
|
|
1019
1019
|
evidence: {
|
|
1020
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1020
1021
|
id: string;
|
|
1021
1022
|
label: string;
|
|
1022
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1023
1023
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1024
1024
|
locator?: string | undefined;
|
|
1025
1025
|
}[];
|
|
1026
1026
|
outputId: string;
|
|
1027
1027
|
}, {
|
|
1028
|
-
summary: string;
|
|
1029
1028
|
kind: "agent_output";
|
|
1029
|
+
summary: string;
|
|
1030
1030
|
agentId: string;
|
|
1031
1031
|
sessionId: string;
|
|
1032
1032
|
outputId: string;
|
|
1033
1033
|
evidence?: {
|
|
1034
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1034
1035
|
id: string;
|
|
1035
1036
|
label: string;
|
|
1036
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1037
1037
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1038
1038
|
locator?: string | undefined;
|
|
1039
1039
|
}[] | undefined;
|
|
@@ -1049,15 +1049,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1049
1049
|
locator: z.ZodOptional<z.ZodString>;
|
|
1050
1050
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1051
1051
|
}, "strict", z.ZodTypeAny, {
|
|
1052
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1052
1053
|
id: string;
|
|
1053
1054
|
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
|
}, {
|
|
1058
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1058
1059
|
id: string;
|
|
1059
1060
|
label: string;
|
|
1060
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1061
1061
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1062
1062
|
locator?: string | undefined;
|
|
1063
1063
|
}>, "many">>;
|
|
@@ -1070,9 +1070,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1070
1070
|
statement: string;
|
|
1071
1071
|
sessionId: string;
|
|
1072
1072
|
evidence: {
|
|
1073
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1073
1074
|
id: string;
|
|
1074
1075
|
label: string;
|
|
1075
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1076
1076
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1077
1077
|
locator?: string | undefined;
|
|
1078
1078
|
}[];
|
|
@@ -1088,9 +1088,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1088
1088
|
decisionId: string;
|
|
1089
1089
|
confidence?: number | undefined;
|
|
1090
1090
|
evidence?: {
|
|
1091
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1091
1092
|
id: string;
|
|
1092
1093
|
label: string;
|
|
1093
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1094
1094
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1095
1095
|
locator?: string | undefined;
|
|
1096
1096
|
}[] | undefined;
|
|
@@ -1107,25 +1107,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1107
1107
|
locator: z.ZodOptional<z.ZodString>;
|
|
1108
1108
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1109
1109
|
}, "strict", z.ZodTypeAny, {
|
|
1110
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1110
1111
|
id: string;
|
|
1111
1112
|
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
|
}, {
|
|
1116
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1116
1117
|
id: string;
|
|
1117
1118
|
label: string;
|
|
1118
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1119
1119
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1120
1120
|
locator?: string | undefined;
|
|
1121
1121
|
}>, "many">>;
|
|
1122
1122
|
}, "strict", z.ZodTypeAny, {
|
|
1123
|
-
summary: string;
|
|
1124
1123
|
kind: "conflict_detected";
|
|
1124
|
+
summary: string;
|
|
1125
1125
|
evidence: {
|
|
1126
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1126
1127
|
id: string;
|
|
1127
1128
|
label: string;
|
|
1128
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1129
1129
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1130
1130
|
locator?: string | undefined;
|
|
1131
1131
|
}[];
|
|
@@ -1133,15 +1133,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1133
1133
|
decisionIds: string[];
|
|
1134
1134
|
agentIds: string[];
|
|
1135
1135
|
}, {
|
|
1136
|
-
summary: string;
|
|
1137
1136
|
kind: "conflict_detected";
|
|
1137
|
+
summary: string;
|
|
1138
1138
|
conflictId: string;
|
|
1139
1139
|
decisionIds: string[];
|
|
1140
1140
|
agentIds: string[];
|
|
1141
1141
|
evidence?: {
|
|
1142
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1142
1143
|
id: string;
|
|
1143
1144
|
label: string;
|
|
1144
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1145
1145
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1146
1146
|
locator?: string | undefined;
|
|
1147
1147
|
}[] | undefined;
|
|
@@ -1161,27 +1161,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1161
1161
|
locator: z.ZodOptional<z.ZodString>;
|
|
1162
1162
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1163
1163
|
}, "strict", z.ZodTypeAny, {
|
|
1164
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1164
1165
|
id: string;
|
|
1165
1166
|
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
|
}, {
|
|
1170
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1170
1171
|
id: string;
|
|
1171
1172
|
label: string;
|
|
1172
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1173
1173
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1174
1174
|
locator?: string | undefined;
|
|
1175
1175
|
}>, "many">>;
|
|
1176
1176
|
}, "strict", z.ZodTypeAny, {
|
|
1177
|
-
summary: string;
|
|
1178
|
-
status: "error" | "failed" | "passed";
|
|
1179
1177
|
kind: "test_result";
|
|
1178
|
+
summary: string;
|
|
1180
1179
|
command: string;
|
|
1180
|
+
status: "error" | "failed" | "passed";
|
|
1181
1181
|
evidence: {
|
|
1182
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1182
1183
|
id: string;
|
|
1183
1184
|
label: string;
|
|
1184
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1185
1185
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1186
1186
|
locator?: string | undefined;
|
|
1187
1187
|
}[];
|
|
@@ -1190,17 +1190,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1190
1190
|
durationMs?: number | undefined;
|
|
1191
1191
|
correctionId?: string | undefined;
|
|
1192
1192
|
}, {
|
|
1193
|
-
summary: string;
|
|
1194
|
-
status: "error" | "failed" | "passed";
|
|
1195
1193
|
kind: "test_result";
|
|
1194
|
+
summary: string;
|
|
1196
1195
|
command: string;
|
|
1196
|
+
status: "error" | "failed" | "passed";
|
|
1197
1197
|
decisionId: string;
|
|
1198
1198
|
testId: string;
|
|
1199
1199
|
durationMs?: number | undefined;
|
|
1200
1200
|
evidence?: {
|
|
1201
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1201
1202
|
id: string;
|
|
1202
1203
|
label: string;
|
|
1203
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1204
1204
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1205
1205
|
locator?: string | undefined;
|
|
1206
1206
|
}[] | undefined;
|
|
@@ -1221,15 +1221,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1221
1221
|
locator: z.ZodOptional<z.ZodString>;
|
|
1222
1222
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1223
1223
|
}, "strict", z.ZodTypeAny, {
|
|
1224
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1224
1225
|
id: string;
|
|
1225
1226
|
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
|
}, {
|
|
1230
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1230
1231
|
id: string;
|
|
1231
1232
|
label: string;
|
|
1232
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1233
1233
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1234
1234
|
locator?: string | undefined;
|
|
1235
1235
|
}>, "many">>;
|
|
@@ -1238,9 +1238,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1238
1238
|
rationale: string;
|
|
1239
1239
|
statement: string;
|
|
1240
1240
|
evidence: {
|
|
1241
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1241
1242
|
id: string;
|
|
1242
1243
|
label: string;
|
|
1243
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1244
1244
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1245
1245
|
locator?: string | undefined;
|
|
1246
1246
|
}[];
|
|
@@ -1259,9 +1259,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1259
1259
|
supersedesDecisionIds: string[];
|
|
1260
1260
|
proposedBy: string;
|
|
1261
1261
|
evidence?: {
|
|
1262
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1262
1263
|
id: string;
|
|
1263
1264
|
label: string;
|
|
1264
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1265
1265
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1266
1266
|
locator?: string | undefined;
|
|
1267
1267
|
}[] | undefined;
|
|
@@ -1273,13 +1273,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1273
1273
|
id: z.ZodString;
|
|
1274
1274
|
label: z.ZodString;
|
|
1275
1275
|
}, "strict", z.ZodTypeAny, {
|
|
1276
|
+
kind: "agent" | "human";
|
|
1276
1277
|
id: string;
|
|
1277
1278
|
label: string;
|
|
1278
|
-
kind: "agent" | "human";
|
|
1279
1279
|
}, {
|
|
1280
|
+
kind: "agent" | "human";
|
|
1280
1281
|
id: string;
|
|
1281
1282
|
label: string;
|
|
1282
|
-
kind: "agent" | "human";
|
|
1283
1283
|
}>;
|
|
1284
1284
|
note: z.ZodOptional<z.ZodString>;
|
|
1285
1285
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1289,47 +1289,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1289
1289
|
locator: z.ZodOptional<z.ZodString>;
|
|
1290
1290
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1291
1291
|
}, "strict", z.ZodTypeAny, {
|
|
1292
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1292
1293
|
id: string;
|
|
1293
1294
|
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
|
}, {
|
|
1298
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1298
1299
|
id: string;
|
|
1299
1300
|
label: string;
|
|
1300
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1301
1301
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1302
1302
|
locator?: string | undefined;
|
|
1303
1303
|
}>, "many">>;
|
|
1304
1304
|
}, "strict", z.ZodTypeAny, {
|
|
1305
1305
|
kind: "correction_approved";
|
|
1306
1306
|
evidence: {
|
|
1307
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1307
1308
|
id: string;
|
|
1308
1309
|
label: string;
|
|
1309
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1310
1310
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1311
1311
|
locator?: string | undefined;
|
|
1312
1312
|
}[];
|
|
1313
1313
|
correctionId: string;
|
|
1314
1314
|
approvedBy: {
|
|
1315
|
+
kind: "agent" | "human";
|
|
1315
1316
|
id: string;
|
|
1316
1317
|
label: string;
|
|
1317
|
-
kind: "agent" | "human";
|
|
1318
1318
|
};
|
|
1319
1319
|
note?: string | undefined;
|
|
1320
1320
|
}, {
|
|
1321
1321
|
kind: "correction_approved";
|
|
1322
1322
|
correctionId: string;
|
|
1323
1323
|
approvedBy: {
|
|
1324
|
+
kind: "agent" | "human";
|
|
1324
1325
|
id: string;
|
|
1325
1326
|
label: string;
|
|
1326
|
-
kind: "agent" | "human";
|
|
1327
1327
|
};
|
|
1328
1328
|
note?: string | undefined;
|
|
1329
1329
|
evidence?: {
|
|
1330
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1330
1331
|
id: string;
|
|
1331
1332
|
label: string;
|
|
1332
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1333
1333
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1334
1334
|
locator?: string | undefined;
|
|
1335
1335
|
}[] | undefined;
|
|
@@ -1345,24 +1345,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1345
1345
|
locator: z.ZodOptional<z.ZodString>;
|
|
1346
1346
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1347
1347
|
}, "strict", z.ZodTypeAny, {
|
|
1348
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1348
1349
|
id: string;
|
|
1349
1350
|
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
|
}, {
|
|
1354
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1354
1355
|
id: string;
|
|
1355
1356
|
label: string;
|
|
1356
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1357
1357
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1358
1358
|
locator?: string | undefined;
|
|
1359
1359
|
}>, "many">>;
|
|
1360
1360
|
}, "strict", z.ZodTypeAny, {
|
|
1361
1361
|
kind: "decision_superseded";
|
|
1362
1362
|
evidence: {
|
|
1363
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1363
1364
|
id: string;
|
|
1364
1365
|
label: string;
|
|
1365
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1366
1366
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1367
1367
|
locator?: string | undefined;
|
|
1368
1368
|
}[];
|
|
@@ -1375,9 +1375,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1375
1375
|
correctionId: string;
|
|
1376
1376
|
replacementDecisionId: string;
|
|
1377
1377
|
evidence?: {
|
|
1378
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1378
1379
|
id: string;
|
|
1379
1380
|
label: string;
|
|
1380
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1381
1381
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1382
1382
|
locator?: string | undefined;
|
|
1383
1383
|
}[] | undefined;
|
|
@@ -1393,15 +1393,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1393
1393
|
locator: z.ZodOptional<z.ZodString>;
|
|
1394
1394
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1395
1395
|
}, "strict", z.ZodTypeAny, {
|
|
1396
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1396
1397
|
id: string;
|
|
1397
1398
|
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
|
}, {
|
|
1402
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1402
1403
|
id: string;
|
|
1403
1404
|
label: string;
|
|
1404
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1405
1405
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1406
1406
|
locator?: string | undefined;
|
|
1407
1407
|
}>, "many">>;
|
|
@@ -1414,9 +1414,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1414
1414
|
agentId: string;
|
|
1415
1415
|
sessionId: string;
|
|
1416
1416
|
evidence: {
|
|
1417
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1417
1418
|
id: string;
|
|
1418
1419
|
label: string;
|
|
1419
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1420
1420
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1421
1421
|
locator?: string | undefined;
|
|
1422
1422
|
}[];
|
|
@@ -1432,9 +1432,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1432
1432
|
recallReceiptId: string;
|
|
1433
1433
|
capturedAtAction: boolean;
|
|
1434
1434
|
evidence?: {
|
|
1435
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1435
1436
|
id: string;
|
|
1436
1437
|
label: string;
|
|
1437
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1438
1438
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1439
1439
|
locator?: string | undefined;
|
|
1440
1440
|
}[] | undefined;
|
|
@@ -1450,15 +1450,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1450
1450
|
locator: z.ZodOptional<z.ZodString>;
|
|
1451
1451
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1452
1452
|
}, "strict", z.ZodTypeAny, {
|
|
1453
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1453
1454
|
id: string;
|
|
1454
1455
|
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
|
}, {
|
|
1459
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1459
1460
|
id: string;
|
|
1460
1461
|
label: string;
|
|
1461
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1462
1462
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1463
1463
|
locator?: string | undefined;
|
|
1464
1464
|
}>, "many">>;
|
|
@@ -1470,9 +1470,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1470
1470
|
agentId: string;
|
|
1471
1471
|
sessionId: string;
|
|
1472
1472
|
evidence: {
|
|
1473
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1473
1474
|
id: string;
|
|
1474
1475
|
label: string;
|
|
1475
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1476
1476
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1477
1477
|
locator?: string | undefined;
|
|
1478
1478
|
}[];
|
|
@@ -1489,9 +1489,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1489
1489
|
recallReceiptId: string;
|
|
1490
1490
|
staleDecisionAbsent: boolean;
|
|
1491
1491
|
evidence?: {
|
|
1492
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1492
1493
|
id: string;
|
|
1493
1494
|
label: string;
|
|
1494
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1495
1495
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1496
1496
|
locator?: string | undefined;
|
|
1497
1497
|
}[] | undefined;
|
|
@@ -1506,37 +1506,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1506
1506
|
locator: z.ZodOptional<z.ZodString>;
|
|
1507
1507
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1508
1508
|
}, "strict", z.ZodTypeAny, {
|
|
1509
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1509
1510
|
id: string;
|
|
1510
1511
|
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
|
}, {
|
|
1515
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1515
1516
|
id: string;
|
|
1516
1517
|
label: string;
|
|
1517
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1518
1518
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1519
1519
|
locator?: string | undefined;
|
|
1520
1520
|
}>, "many">>;
|
|
1521
1521
|
}, "strict", z.ZodTypeAny, {
|
|
1522
|
-
summary: string;
|
|
1523
1522
|
kind: "mission_completed";
|
|
1523
|
+
summary: string;
|
|
1524
1524
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1525
1525
|
evidence: {
|
|
1526
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1526
1527
|
id: string;
|
|
1527
1528
|
label: string;
|
|
1528
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1529
1529
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1530
1530
|
locator?: string | undefined;
|
|
1531
1531
|
}[];
|
|
1532
1532
|
}, {
|
|
1533
|
-
summary: string;
|
|
1534
1533
|
kind: "mission_completed";
|
|
1534
|
+
summary: string;
|
|
1535
1535
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1536
1536
|
evidence?: {
|
|
1537
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1537
1538
|
id: string;
|
|
1538
1539
|
label: string;
|
|
1539
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1540
1540
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1541
1541
|
locator?: string | undefined;
|
|
1542
1542
|
}[] | undefined;
|
|
@@ -1544,38 +1544,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1544
1544
|
kind: "mission_started";
|
|
1545
1545
|
title: string;
|
|
1546
1546
|
evidence: {
|
|
1547
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1547
1548
|
id: string;
|
|
1548
1549
|
label: string;
|
|
1549
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1550
1550
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1551
1551
|
locator?: string | undefined;
|
|
1552
1552
|
}[];
|
|
1553
1553
|
objective: string;
|
|
1554
1554
|
runMode: "replay" | "fixture" | "live";
|
|
1555
1555
|
} | {
|
|
1556
|
-
label: string;
|
|
1557
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1558
1556
|
kind: "agent_status";
|
|
1559
1557
|
role: string;
|
|
1558
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1559
|
+
label: string;
|
|
1560
1560
|
agentId: string;
|
|
1561
1561
|
sessionId: string;
|
|
1562
1562
|
evidence: {
|
|
1563
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1563
1564
|
id: string;
|
|
1564
1565
|
label: string;
|
|
1565
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1566
1566
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1567
1567
|
locator?: string | undefined;
|
|
1568
1568
|
}[];
|
|
1569
1569
|
detail?: string | undefined;
|
|
1570
1570
|
} | {
|
|
1571
|
-
summary: string;
|
|
1572
1571
|
kind: "agent_output";
|
|
1572
|
+
summary: string;
|
|
1573
1573
|
agentId: string;
|
|
1574
1574
|
sessionId: string;
|
|
1575
1575
|
evidence: {
|
|
1576
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1576
1577
|
id: string;
|
|
1577
1578
|
label: string;
|
|
1578
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1579
1579
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1580
1580
|
locator?: string | undefined;
|
|
1581
1581
|
}[];
|
|
@@ -1586,9 +1586,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1586
1586
|
statement: string;
|
|
1587
1587
|
sessionId: string;
|
|
1588
1588
|
evidence: {
|
|
1589
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1589
1590
|
id: string;
|
|
1590
1591
|
label: string;
|
|
1591
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1592
1592
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1593
1593
|
locator?: string | undefined;
|
|
1594
1594
|
}[];
|
|
@@ -1596,12 +1596,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1596
1596
|
decisionId: string;
|
|
1597
1597
|
confidence?: number | undefined;
|
|
1598
1598
|
} | {
|
|
1599
|
-
summary: string;
|
|
1600
1599
|
kind: "conflict_detected";
|
|
1600
|
+
summary: string;
|
|
1601
1601
|
evidence: {
|
|
1602
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1602
1603
|
id: string;
|
|
1603
1604
|
label: string;
|
|
1604
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1605
1605
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1606
1606
|
locator?: string | undefined;
|
|
1607
1607
|
}[];
|
|
@@ -1609,14 +1609,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1609
1609
|
decisionIds: string[];
|
|
1610
1610
|
agentIds: string[];
|
|
1611
1611
|
} | {
|
|
1612
|
-
summary: string;
|
|
1613
|
-
status: "error" | "failed" | "passed";
|
|
1614
1612
|
kind: "test_result";
|
|
1613
|
+
summary: string;
|
|
1615
1614
|
command: string;
|
|
1615
|
+
status: "error" | "failed" | "passed";
|
|
1616
1616
|
evidence: {
|
|
1617
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1617
1618
|
id: string;
|
|
1618
1619
|
label: string;
|
|
1619
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1620
1620
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1621
1621
|
locator?: string | undefined;
|
|
1622
1622
|
}[];
|
|
@@ -1629,9 +1629,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1629
1629
|
rationale: string;
|
|
1630
1630
|
statement: string;
|
|
1631
1631
|
evidence: {
|
|
1632
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1632
1633
|
id: string;
|
|
1633
1634
|
label: string;
|
|
1634
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1635
1635
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1636
1636
|
locator?: string | undefined;
|
|
1637
1637
|
}[];
|
|
@@ -1643,25 +1643,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1643
1643
|
} | {
|
|
1644
1644
|
kind: "correction_approved";
|
|
1645
1645
|
evidence: {
|
|
1646
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1646
1647
|
id: string;
|
|
1647
1648
|
label: string;
|
|
1648
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1649
1649
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1650
1650
|
locator?: string | undefined;
|
|
1651
1651
|
}[];
|
|
1652
1652
|
correctionId: string;
|
|
1653
1653
|
approvedBy: {
|
|
1654
|
+
kind: "agent" | "human";
|
|
1654
1655
|
id: string;
|
|
1655
1656
|
label: string;
|
|
1656
|
-
kind: "agent" | "human";
|
|
1657
1657
|
};
|
|
1658
1658
|
note?: string | undefined;
|
|
1659
1659
|
} | {
|
|
1660
1660
|
kind: "decision_superseded";
|
|
1661
1661
|
evidence: {
|
|
1662
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1662
1663
|
id: string;
|
|
1663
1664
|
label: string;
|
|
1664
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1665
1665
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1666
1666
|
locator?: string | undefined;
|
|
1667
1667
|
}[];
|
|
@@ -1674,9 +1674,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1674
1674
|
agentId: string;
|
|
1675
1675
|
sessionId: string;
|
|
1676
1676
|
evidence: {
|
|
1677
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1677
1678
|
id: string;
|
|
1678
1679
|
label: string;
|
|
1679
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1680
1680
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1681
1681
|
locator?: string | undefined;
|
|
1682
1682
|
}[];
|
|
@@ -1688,9 +1688,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1688
1688
|
agentId: string;
|
|
1689
1689
|
sessionId: string;
|
|
1690
1690
|
evidence: {
|
|
1691
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1691
1692
|
id: string;
|
|
1692
1693
|
label: string;
|
|
1693
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1694
1694
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1695
1695
|
locator?: string | undefined;
|
|
1696
1696
|
}[];
|
|
@@ -1699,13 +1699,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1699
1699
|
recallReceiptId: string;
|
|
1700
1700
|
staleDecisionAbsent: boolean;
|
|
1701
1701
|
} | {
|
|
1702
|
-
summary: string;
|
|
1703
1702
|
kind: "mission_completed";
|
|
1703
|
+
summary: string;
|
|
1704
1704
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1705
1705
|
evidence: {
|
|
1706
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1706
1707
|
id: string;
|
|
1707
1708
|
label: string;
|
|
1708
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1709
1709
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1710
1710
|
locator?: string | undefined;
|
|
1711
1711
|
}[];
|
|
@@ -1715,37 +1715,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1715
1715
|
objective: string;
|
|
1716
1716
|
runMode: "replay" | "fixture" | "live";
|
|
1717
1717
|
evidence?: {
|
|
1718
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1718
1719
|
id: string;
|
|
1719
1720
|
label: string;
|
|
1720
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1721
1721
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1722
1722
|
locator?: string | undefined;
|
|
1723
1723
|
}[] | undefined;
|
|
1724
1724
|
} | {
|
|
1725
|
-
label: string;
|
|
1726
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1727
1725
|
kind: "agent_status";
|
|
1728
1726
|
role: string;
|
|
1727
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1728
|
+
label: string;
|
|
1729
1729
|
agentId: string;
|
|
1730
1730
|
sessionId: string;
|
|
1731
1731
|
detail?: string | undefined;
|
|
1732
1732
|
evidence?: {
|
|
1733
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1733
1734
|
id: string;
|
|
1734
1735
|
label: string;
|
|
1735
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1736
1736
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1737
1737
|
locator?: string | undefined;
|
|
1738
1738
|
}[] | undefined;
|
|
1739
1739
|
} | {
|
|
1740
|
-
summary: string;
|
|
1741
1740
|
kind: "agent_output";
|
|
1741
|
+
summary: string;
|
|
1742
1742
|
agentId: string;
|
|
1743
1743
|
sessionId: string;
|
|
1744
1744
|
outputId: string;
|
|
1745
1745
|
evidence?: {
|
|
1746
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1746
1747
|
id: string;
|
|
1747
1748
|
label: string;
|
|
1748
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1749
1749
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1750
1750
|
locator?: string | undefined;
|
|
1751
1751
|
}[] | undefined;
|
|
@@ -1758,37 +1758,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1758
1758
|
decisionId: string;
|
|
1759
1759
|
confidence?: number | undefined;
|
|
1760
1760
|
evidence?: {
|
|
1761
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1761
1762
|
id: string;
|
|
1762
1763
|
label: string;
|
|
1763
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1764
1764
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1765
1765
|
locator?: string | undefined;
|
|
1766
1766
|
}[] | undefined;
|
|
1767
1767
|
} | {
|
|
1768
|
-
summary: string;
|
|
1769
1768
|
kind: "conflict_detected";
|
|
1769
|
+
summary: string;
|
|
1770
1770
|
conflictId: string;
|
|
1771
1771
|
decisionIds: string[];
|
|
1772
1772
|
agentIds: string[];
|
|
1773
1773
|
evidence?: {
|
|
1774
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1774
1775
|
id: string;
|
|
1775
1776
|
label: string;
|
|
1776
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1777
1777
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1778
1778
|
locator?: string | undefined;
|
|
1779
1779
|
}[] | undefined;
|
|
1780
1780
|
} | {
|
|
1781
|
-
summary: string;
|
|
1782
|
-
status: "error" | "failed" | "passed";
|
|
1783
1781
|
kind: "test_result";
|
|
1782
|
+
summary: string;
|
|
1784
1783
|
command: string;
|
|
1784
|
+
status: "error" | "failed" | "passed";
|
|
1785
1785
|
decisionId: string;
|
|
1786
1786
|
testId: string;
|
|
1787
1787
|
durationMs?: number | undefined;
|
|
1788
1788
|
evidence?: {
|
|
1789
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1789
1790
|
id: string;
|
|
1790
1791
|
label: string;
|
|
1791
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1792
1792
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1793
1793
|
locator?: string | undefined;
|
|
1794
1794
|
}[] | undefined;
|
|
@@ -1803,9 +1803,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1803
1803
|
supersedesDecisionIds: string[];
|
|
1804
1804
|
proposedBy: string;
|
|
1805
1805
|
evidence?: {
|
|
1806
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1806
1807
|
id: string;
|
|
1807
1808
|
label: string;
|
|
1808
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1809
1809
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1810
1810
|
locator?: string | undefined;
|
|
1811
1811
|
}[] | undefined;
|
|
@@ -1813,15 +1813,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1813
1813
|
kind: "correction_approved";
|
|
1814
1814
|
correctionId: string;
|
|
1815
1815
|
approvedBy: {
|
|
1816
|
+
kind: "agent" | "human";
|
|
1816
1817
|
id: string;
|
|
1817
1818
|
label: string;
|
|
1818
|
-
kind: "agent" | "human";
|
|
1819
1819
|
};
|
|
1820
1820
|
note?: string | undefined;
|
|
1821
1821
|
evidence?: {
|
|
1822
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1822
1823
|
id: string;
|
|
1823
1824
|
label: string;
|
|
1824
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1825
1825
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1826
1826
|
locator?: string | undefined;
|
|
1827
1827
|
}[] | undefined;
|
|
@@ -1831,9 +1831,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1831
1831
|
correctionId: string;
|
|
1832
1832
|
replacementDecisionId: string;
|
|
1833
1833
|
evidence?: {
|
|
1834
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1834
1835
|
id: string;
|
|
1835
1836
|
label: string;
|
|
1836
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1837
1837
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1838
1838
|
locator?: string | undefined;
|
|
1839
1839
|
}[] | undefined;
|
|
@@ -1846,9 +1846,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1846
1846
|
recallReceiptId: string;
|
|
1847
1847
|
capturedAtAction: boolean;
|
|
1848
1848
|
evidence?: {
|
|
1849
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1849
1850
|
id: string;
|
|
1850
1851
|
label: string;
|
|
1851
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1852
1852
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1853
1853
|
locator?: string | undefined;
|
|
1854
1854
|
}[] | undefined;
|
|
@@ -1861,20 +1861,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1861
1861
|
recallReceiptId: string;
|
|
1862
1862
|
staleDecisionAbsent: boolean;
|
|
1863
1863
|
evidence?: {
|
|
1864
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1864
1865
|
id: string;
|
|
1865
1866
|
label: string;
|
|
1866
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1867
1867
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1868
1868
|
locator?: string | undefined;
|
|
1869
1869
|
}[] | undefined;
|
|
1870
1870
|
} | {
|
|
1871
|
-
summary: string;
|
|
1872
1871
|
kind: "mission_completed";
|
|
1872
|
+
summary: string;
|
|
1873
1873
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1874
1874
|
evidence?: {
|
|
1875
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1875
1876
|
id: string;
|
|
1876
1877
|
label: string;
|
|
1877
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1878
1878
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1879
1879
|
locator?: string | undefined;
|
|
1880
1880
|
}[] | undefined;
|
|
@@ -1895,15 +1895,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1895
1895
|
locator: z.ZodOptional<z.ZodString>;
|
|
1896
1896
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1897
1897
|
}, "strict", z.ZodTypeAny, {
|
|
1898
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1898
1899
|
id: string;
|
|
1899
1900
|
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
|
}, {
|
|
1904
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1904
1905
|
id: string;
|
|
1905
1906
|
label: string;
|
|
1906
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1907
1907
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1908
1908
|
locator?: string | undefined;
|
|
1909
1909
|
}>, "many">>;
|
|
@@ -1911,9 +1911,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1911
1911
|
kind: "mission_started";
|
|
1912
1912
|
title: string;
|
|
1913
1913
|
evidence: {
|
|
1914
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1914
1915
|
id: string;
|
|
1915
1916
|
label: string;
|
|
1916
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1917
1917
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1918
1918
|
locator?: string | undefined;
|
|
1919
1919
|
}[];
|
|
@@ -1925,9 +1925,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1925
1925
|
objective: string;
|
|
1926
1926
|
runMode: "replay" | "fixture" | "live";
|
|
1927
1927
|
evidence?: {
|
|
1928
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1928
1929
|
id: string;
|
|
1929
1930
|
label: string;
|
|
1930
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1931
1931
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1932
1932
|
locator?: string | undefined;
|
|
1933
1933
|
}[] | undefined;
|
|
@@ -1943,15 +1943,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1943
1943
|
locator: z.ZodOptional<z.ZodString>;
|
|
1944
1944
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1945
1945
|
}, "strict", z.ZodTypeAny, {
|
|
1946
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1946
1947
|
id: string;
|
|
1947
1948
|
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
|
}, {
|
|
1952
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1952
1953
|
id: string;
|
|
1953
1954
|
label: string;
|
|
1954
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1955
1955
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1956
1956
|
locator?: string | undefined;
|
|
1957
1957
|
}>, "many">>;
|
|
@@ -1959,32 +1959,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1959
1959
|
sessionId: z.ZodString;
|
|
1960
1960
|
kind: z.ZodLiteral<"agent_status">;
|
|
1961
1961
|
}, "strict", z.ZodTypeAny, {
|
|
1962
|
-
label: string;
|
|
1963
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1964
1962
|
kind: "agent_status";
|
|
1965
1963
|
role: string;
|
|
1964
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1965
|
+
label: string;
|
|
1966
1966
|
agentId: string;
|
|
1967
1967
|
sessionId: string;
|
|
1968
1968
|
evidence: {
|
|
1969
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1969
1970
|
id: string;
|
|
1970
1971
|
label: string;
|
|
1971
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1972
1972
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1973
1973
|
locator?: string | undefined;
|
|
1974
1974
|
}[];
|
|
1975
1975
|
detail?: string | undefined;
|
|
1976
1976
|
}, {
|
|
1977
|
-
label: string;
|
|
1978
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1979
1977
|
kind: "agent_status";
|
|
1980
1978
|
role: string;
|
|
1979
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
1980
|
+
label: string;
|
|
1981
1981
|
agentId: string;
|
|
1982
1982
|
sessionId: string;
|
|
1983
1983
|
detail?: string | undefined;
|
|
1984
1984
|
evidence?: {
|
|
1985
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1985
1986
|
id: string;
|
|
1986
1987
|
label: string;
|
|
1987
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1988
1988
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1989
1989
|
locator?: string | undefined;
|
|
1990
1990
|
}[] | undefined;
|
|
@@ -1998,15 +1998,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1998
1998
|
locator: z.ZodOptional<z.ZodString>;
|
|
1999
1999
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2000
2000
|
}, "strict", z.ZodTypeAny, {
|
|
2001
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2001
2002
|
id: string;
|
|
2002
2003
|
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
|
}, {
|
|
2007
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2007
2008
|
id: string;
|
|
2008
2009
|
label: string;
|
|
2009
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2010
2010
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2011
2011
|
locator?: string | undefined;
|
|
2012
2012
|
}>, "many">>;
|
|
@@ -2014,28 +2014,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2014
2014
|
sessionId: z.ZodString;
|
|
2015
2015
|
kind: z.ZodLiteral<"agent_output">;
|
|
2016
2016
|
}, "strict", z.ZodTypeAny, {
|
|
2017
|
-
summary: string;
|
|
2018
2017
|
kind: "agent_output";
|
|
2018
|
+
summary: string;
|
|
2019
2019
|
agentId: string;
|
|
2020
2020
|
sessionId: string;
|
|
2021
2021
|
evidence: {
|
|
2022
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2022
2023
|
id: string;
|
|
2023
2024
|
label: string;
|
|
2024
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2025
2025
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2026
2026
|
locator?: string | undefined;
|
|
2027
2027
|
}[];
|
|
2028
2028
|
outputId: string;
|
|
2029
2029
|
}, {
|
|
2030
|
-
summary: string;
|
|
2031
2030
|
kind: "agent_output";
|
|
2031
|
+
summary: string;
|
|
2032
2032
|
agentId: string;
|
|
2033
2033
|
sessionId: string;
|
|
2034
2034
|
outputId: string;
|
|
2035
2035
|
evidence?: {
|
|
2036
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2036
2037
|
id: string;
|
|
2037
2038
|
label: string;
|
|
2038
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2039
2039
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2040
2040
|
locator?: string | undefined;
|
|
2041
2041
|
}[] | undefined;
|
|
@@ -2051,15 +2051,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2051
2051
|
locator: z.ZodOptional<z.ZodString>;
|
|
2052
2052
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2053
2053
|
}, "strict", z.ZodTypeAny, {
|
|
2054
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2054
2055
|
id: string;
|
|
2055
2056
|
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
|
}, {
|
|
2060
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2060
2061
|
id: string;
|
|
2061
2062
|
label: string;
|
|
2062
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2063
2063
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2064
2064
|
locator?: string | undefined;
|
|
2065
2065
|
}>, "many">>;
|
|
@@ -2072,9 +2072,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2072
2072
|
statement: string;
|
|
2073
2073
|
sessionId: string;
|
|
2074
2074
|
evidence: {
|
|
2075
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2075
2076
|
id: string;
|
|
2076
2077
|
label: string;
|
|
2077
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2078
2078
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2079
2079
|
locator?: string | undefined;
|
|
2080
2080
|
}[];
|
|
@@ -2090,9 +2090,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2090
2090
|
decisionId: string;
|
|
2091
2091
|
confidence?: number | undefined;
|
|
2092
2092
|
evidence?: {
|
|
2093
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2093
2094
|
id: string;
|
|
2094
2095
|
label: string;
|
|
2095
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2096
2096
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2097
2097
|
locator?: string | undefined;
|
|
2098
2098
|
}[] | undefined;
|
|
@@ -2109,25 +2109,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2109
2109
|
locator: z.ZodOptional<z.ZodString>;
|
|
2110
2110
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2111
2111
|
}, "strict", z.ZodTypeAny, {
|
|
2112
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2112
2113
|
id: string;
|
|
2113
2114
|
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
|
}, {
|
|
2118
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2118
2119
|
id: string;
|
|
2119
2120
|
label: string;
|
|
2120
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2121
2121
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2122
2122
|
locator?: string | undefined;
|
|
2123
2123
|
}>, "many">>;
|
|
2124
2124
|
}, "strict", z.ZodTypeAny, {
|
|
2125
|
-
summary: string;
|
|
2126
2125
|
kind: "conflict_detected";
|
|
2126
|
+
summary: string;
|
|
2127
2127
|
evidence: {
|
|
2128
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2128
2129
|
id: string;
|
|
2129
2130
|
label: string;
|
|
2130
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2131
2131
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2132
2132
|
locator?: string | undefined;
|
|
2133
2133
|
}[];
|
|
@@ -2135,15 +2135,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2135
2135
|
decisionIds: string[];
|
|
2136
2136
|
agentIds: string[];
|
|
2137
2137
|
}, {
|
|
2138
|
-
summary: string;
|
|
2139
2138
|
kind: "conflict_detected";
|
|
2139
|
+
summary: string;
|
|
2140
2140
|
conflictId: string;
|
|
2141
2141
|
decisionIds: string[];
|
|
2142
2142
|
agentIds: string[];
|
|
2143
2143
|
evidence?: {
|
|
2144
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2144
2145
|
id: string;
|
|
2145
2146
|
label: string;
|
|
2146
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2147
2147
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2148
2148
|
locator?: string | undefined;
|
|
2149
2149
|
}[] | undefined;
|
|
@@ -2163,27 +2163,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2163
2163
|
locator: z.ZodOptional<z.ZodString>;
|
|
2164
2164
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2165
2165
|
}, "strict", z.ZodTypeAny, {
|
|
2166
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2166
2167
|
id: string;
|
|
2167
2168
|
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
|
}, {
|
|
2172
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2172
2173
|
id: string;
|
|
2173
2174
|
label: string;
|
|
2174
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2175
2175
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2176
2176
|
locator?: string | undefined;
|
|
2177
2177
|
}>, "many">>;
|
|
2178
2178
|
}, "strict", z.ZodTypeAny, {
|
|
2179
|
-
summary: string;
|
|
2180
|
-
status: "error" | "failed" | "passed";
|
|
2181
2179
|
kind: "test_result";
|
|
2180
|
+
summary: string;
|
|
2182
2181
|
command: string;
|
|
2182
|
+
status: "error" | "failed" | "passed";
|
|
2183
2183
|
evidence: {
|
|
2184
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2184
2185
|
id: string;
|
|
2185
2186
|
label: string;
|
|
2186
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2187
2187
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2188
2188
|
locator?: string | undefined;
|
|
2189
2189
|
}[];
|
|
@@ -2192,17 +2192,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2192
2192
|
durationMs?: number | undefined;
|
|
2193
2193
|
correctionId?: string | undefined;
|
|
2194
2194
|
}, {
|
|
2195
|
-
summary: string;
|
|
2196
|
-
status: "error" | "failed" | "passed";
|
|
2197
2195
|
kind: "test_result";
|
|
2196
|
+
summary: string;
|
|
2198
2197
|
command: string;
|
|
2198
|
+
status: "error" | "failed" | "passed";
|
|
2199
2199
|
decisionId: string;
|
|
2200
2200
|
testId: string;
|
|
2201
2201
|
durationMs?: number | undefined;
|
|
2202
2202
|
evidence?: {
|
|
2203
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2203
2204
|
id: string;
|
|
2204
2205
|
label: string;
|
|
2205
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2206
2206
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2207
2207
|
locator?: string | undefined;
|
|
2208
2208
|
}[] | undefined;
|
|
@@ -2223,15 +2223,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2223
2223
|
locator: z.ZodOptional<z.ZodString>;
|
|
2224
2224
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2225
2225
|
}, "strict", z.ZodTypeAny, {
|
|
2226
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2226
2227
|
id: string;
|
|
2227
2228
|
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
|
}, {
|
|
2232
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2232
2233
|
id: string;
|
|
2233
2234
|
label: string;
|
|
2234
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2235
2235
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2236
2236
|
locator?: string | undefined;
|
|
2237
2237
|
}>, "many">>;
|
|
@@ -2240,9 +2240,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2240
2240
|
rationale: string;
|
|
2241
2241
|
statement: string;
|
|
2242
2242
|
evidence: {
|
|
2243
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2243
2244
|
id: string;
|
|
2244
2245
|
label: string;
|
|
2245
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2246
2246
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2247
2247
|
locator?: string | undefined;
|
|
2248
2248
|
}[];
|
|
@@ -2261,9 +2261,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2261
2261
|
supersedesDecisionIds: string[];
|
|
2262
2262
|
proposedBy: string;
|
|
2263
2263
|
evidence?: {
|
|
2264
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2264
2265
|
id: string;
|
|
2265
2266
|
label: string;
|
|
2266
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2267
2267
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2268
2268
|
locator?: string | undefined;
|
|
2269
2269
|
}[] | undefined;
|
|
@@ -2275,13 +2275,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2275
2275
|
id: z.ZodString;
|
|
2276
2276
|
label: z.ZodString;
|
|
2277
2277
|
}, "strict", z.ZodTypeAny, {
|
|
2278
|
+
kind: "agent" | "human";
|
|
2278
2279
|
id: string;
|
|
2279
2280
|
label: string;
|
|
2280
|
-
kind: "agent" | "human";
|
|
2281
2281
|
}, {
|
|
2282
|
+
kind: "agent" | "human";
|
|
2282
2283
|
id: string;
|
|
2283
2284
|
label: string;
|
|
2284
|
-
kind: "agent" | "human";
|
|
2285
2285
|
}>;
|
|
2286
2286
|
note: z.ZodOptional<z.ZodString>;
|
|
2287
2287
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2291,47 +2291,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2291
2291
|
locator: z.ZodOptional<z.ZodString>;
|
|
2292
2292
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2293
2293
|
}, "strict", z.ZodTypeAny, {
|
|
2294
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2294
2295
|
id: string;
|
|
2295
2296
|
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
|
}, {
|
|
2300
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2300
2301
|
id: string;
|
|
2301
2302
|
label: string;
|
|
2302
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2303
2303
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2304
2304
|
locator?: string | undefined;
|
|
2305
2305
|
}>, "many">>;
|
|
2306
2306
|
}, "strict", z.ZodTypeAny, {
|
|
2307
2307
|
kind: "correction_approved";
|
|
2308
2308
|
evidence: {
|
|
2309
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2309
2310
|
id: string;
|
|
2310
2311
|
label: string;
|
|
2311
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2312
2312
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2313
2313
|
locator?: string | undefined;
|
|
2314
2314
|
}[];
|
|
2315
2315
|
correctionId: string;
|
|
2316
2316
|
approvedBy: {
|
|
2317
|
+
kind: "agent" | "human";
|
|
2317
2318
|
id: string;
|
|
2318
2319
|
label: string;
|
|
2319
|
-
kind: "agent" | "human";
|
|
2320
2320
|
};
|
|
2321
2321
|
note?: string | undefined;
|
|
2322
2322
|
}, {
|
|
2323
2323
|
kind: "correction_approved";
|
|
2324
2324
|
correctionId: string;
|
|
2325
2325
|
approvedBy: {
|
|
2326
|
+
kind: "agent" | "human";
|
|
2326
2327
|
id: string;
|
|
2327
2328
|
label: string;
|
|
2328
|
-
kind: "agent" | "human";
|
|
2329
2329
|
};
|
|
2330
2330
|
note?: string | undefined;
|
|
2331
2331
|
evidence?: {
|
|
2332
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2332
2333
|
id: string;
|
|
2333
2334
|
label: string;
|
|
2334
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2335
2335
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2336
2336
|
locator?: string | undefined;
|
|
2337
2337
|
}[] | undefined;
|
|
@@ -2347,24 +2347,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2347
2347
|
locator: z.ZodOptional<z.ZodString>;
|
|
2348
2348
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2349
2349
|
}, "strict", z.ZodTypeAny, {
|
|
2350
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2350
2351
|
id: string;
|
|
2351
2352
|
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
|
}, {
|
|
2356
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2356
2357
|
id: string;
|
|
2357
2358
|
label: string;
|
|
2358
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2359
2359
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2360
2360
|
locator?: string | undefined;
|
|
2361
2361
|
}>, "many">>;
|
|
2362
2362
|
}, "strict", z.ZodTypeAny, {
|
|
2363
2363
|
kind: "decision_superseded";
|
|
2364
2364
|
evidence: {
|
|
2365
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2365
2366
|
id: string;
|
|
2366
2367
|
label: string;
|
|
2367
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2368
2368
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2369
2369
|
locator?: string | undefined;
|
|
2370
2370
|
}[];
|
|
@@ -2377,9 +2377,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2377
2377
|
correctionId: string;
|
|
2378
2378
|
replacementDecisionId: string;
|
|
2379
2379
|
evidence?: {
|
|
2380
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2380
2381
|
id: string;
|
|
2381
2382
|
label: string;
|
|
2382
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2383
2383
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2384
2384
|
locator?: string | undefined;
|
|
2385
2385
|
}[] | undefined;
|
|
@@ -2395,15 +2395,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2395
2395
|
locator: z.ZodOptional<z.ZodString>;
|
|
2396
2396
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2397
2397
|
}, "strict", z.ZodTypeAny, {
|
|
2398
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2398
2399
|
id: string;
|
|
2399
2400
|
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
|
}, {
|
|
2404
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2404
2405
|
id: string;
|
|
2405
2406
|
label: string;
|
|
2406
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2407
2407
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2408
2408
|
locator?: string | undefined;
|
|
2409
2409
|
}>, "many">>;
|
|
@@ -2416,9 +2416,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2416
2416
|
agentId: string;
|
|
2417
2417
|
sessionId: string;
|
|
2418
2418
|
evidence: {
|
|
2419
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2419
2420
|
id: string;
|
|
2420
2421
|
label: string;
|
|
2421
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2422
2422
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2423
2423
|
locator?: string | undefined;
|
|
2424
2424
|
}[];
|
|
@@ -2434,9 +2434,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2434
2434
|
recallReceiptId: string;
|
|
2435
2435
|
capturedAtAction: boolean;
|
|
2436
2436
|
evidence?: {
|
|
2437
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2437
2438
|
id: string;
|
|
2438
2439
|
label: string;
|
|
2439
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2440
2440
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2441
2441
|
locator?: string | undefined;
|
|
2442
2442
|
}[] | undefined;
|
|
@@ -2452,15 +2452,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2452
2452
|
locator: z.ZodOptional<z.ZodString>;
|
|
2453
2453
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2454
2454
|
}, "strict", z.ZodTypeAny, {
|
|
2455
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2455
2456
|
id: string;
|
|
2456
2457
|
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
|
}, {
|
|
2461
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2461
2462
|
id: string;
|
|
2462
2463
|
label: string;
|
|
2463
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2464
2464
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2465
2465
|
locator?: string | undefined;
|
|
2466
2466
|
}>, "many">>;
|
|
@@ -2472,9 +2472,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2472
2472
|
agentId: string;
|
|
2473
2473
|
sessionId: string;
|
|
2474
2474
|
evidence: {
|
|
2475
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2475
2476
|
id: string;
|
|
2476
2477
|
label: string;
|
|
2477
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2478
2478
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2479
2479
|
locator?: string | undefined;
|
|
2480
2480
|
}[];
|
|
@@ -2491,9 +2491,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2491
2491
|
recallReceiptId: string;
|
|
2492
2492
|
staleDecisionAbsent: boolean;
|
|
2493
2493
|
evidence?: {
|
|
2494
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2494
2495
|
id: string;
|
|
2495
2496
|
label: string;
|
|
2496
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2497
2497
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2498
2498
|
locator?: string | undefined;
|
|
2499
2499
|
}[] | undefined;
|
|
@@ -2508,37 +2508,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2508
2508
|
locator: z.ZodOptional<z.ZodString>;
|
|
2509
2509
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2510
2510
|
}, "strict", z.ZodTypeAny, {
|
|
2511
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2511
2512
|
id: string;
|
|
2512
2513
|
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
|
}, {
|
|
2517
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2517
2518
|
id: string;
|
|
2518
2519
|
label: string;
|
|
2519
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2520
2520
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2521
2521
|
locator?: string | undefined;
|
|
2522
2522
|
}>, "many">>;
|
|
2523
2523
|
}, "strict", z.ZodTypeAny, {
|
|
2524
|
-
summary: string;
|
|
2525
2524
|
kind: "mission_completed";
|
|
2525
|
+
summary: string;
|
|
2526
2526
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2527
2527
|
evidence: {
|
|
2528
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2528
2529
|
id: string;
|
|
2529
2530
|
label: string;
|
|
2530
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2531
2531
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2532
2532
|
locator?: string | undefined;
|
|
2533
2533
|
}[];
|
|
2534
2534
|
}, {
|
|
2535
|
-
summary: string;
|
|
2536
2535
|
kind: "mission_completed";
|
|
2536
|
+
summary: string;
|
|
2537
2537
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2538
2538
|
evidence?: {
|
|
2539
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2539
2540
|
id: string;
|
|
2540
2541
|
label: string;
|
|
2541
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2542
2542
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2543
2543
|
locator?: string | undefined;
|
|
2544
2544
|
}[] | undefined;
|
|
@@ -2546,38 +2546,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2546
2546
|
kind: "mission_started";
|
|
2547
2547
|
title: string;
|
|
2548
2548
|
evidence: {
|
|
2549
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2549
2550
|
id: string;
|
|
2550
2551
|
label: string;
|
|
2551
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2552
2552
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2553
2553
|
locator?: string | undefined;
|
|
2554
2554
|
}[];
|
|
2555
2555
|
objective: string;
|
|
2556
2556
|
runMode: "replay" | "fixture" | "live";
|
|
2557
2557
|
} | {
|
|
2558
|
-
label: string;
|
|
2559
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2560
2558
|
kind: "agent_status";
|
|
2561
2559
|
role: string;
|
|
2560
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2561
|
+
label: string;
|
|
2562
2562
|
agentId: string;
|
|
2563
2563
|
sessionId: string;
|
|
2564
2564
|
evidence: {
|
|
2565
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2565
2566
|
id: string;
|
|
2566
2567
|
label: string;
|
|
2567
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2568
2568
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2569
2569
|
locator?: string | undefined;
|
|
2570
2570
|
}[];
|
|
2571
2571
|
detail?: string | undefined;
|
|
2572
2572
|
} | {
|
|
2573
|
-
summary: string;
|
|
2574
2573
|
kind: "agent_output";
|
|
2574
|
+
summary: string;
|
|
2575
2575
|
agentId: string;
|
|
2576
2576
|
sessionId: string;
|
|
2577
2577
|
evidence: {
|
|
2578
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2578
2579
|
id: string;
|
|
2579
2580
|
label: string;
|
|
2580
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2581
2581
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2582
2582
|
locator?: string | undefined;
|
|
2583
2583
|
}[];
|
|
@@ -2588,9 +2588,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2588
2588
|
statement: string;
|
|
2589
2589
|
sessionId: string;
|
|
2590
2590
|
evidence: {
|
|
2591
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2591
2592
|
id: string;
|
|
2592
2593
|
label: string;
|
|
2593
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2594
2594
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2595
2595
|
locator?: string | undefined;
|
|
2596
2596
|
}[];
|
|
@@ -2598,12 +2598,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2598
2598
|
decisionId: string;
|
|
2599
2599
|
confidence?: number | undefined;
|
|
2600
2600
|
} | {
|
|
2601
|
-
summary: string;
|
|
2602
2601
|
kind: "conflict_detected";
|
|
2602
|
+
summary: string;
|
|
2603
2603
|
evidence: {
|
|
2604
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2604
2605
|
id: string;
|
|
2605
2606
|
label: string;
|
|
2606
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2607
2607
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2608
2608
|
locator?: string | undefined;
|
|
2609
2609
|
}[];
|
|
@@ -2611,14 +2611,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2611
2611
|
decisionIds: string[];
|
|
2612
2612
|
agentIds: string[];
|
|
2613
2613
|
} | {
|
|
2614
|
-
summary: string;
|
|
2615
|
-
status: "error" | "failed" | "passed";
|
|
2616
2614
|
kind: "test_result";
|
|
2615
|
+
summary: string;
|
|
2617
2616
|
command: string;
|
|
2617
|
+
status: "error" | "failed" | "passed";
|
|
2618
2618
|
evidence: {
|
|
2619
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2619
2620
|
id: string;
|
|
2620
2621
|
label: string;
|
|
2621
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2622
2622
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2623
2623
|
locator?: string | undefined;
|
|
2624
2624
|
}[];
|
|
@@ -2631,9 +2631,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2631
2631
|
rationale: string;
|
|
2632
2632
|
statement: string;
|
|
2633
2633
|
evidence: {
|
|
2634
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2634
2635
|
id: string;
|
|
2635
2636
|
label: string;
|
|
2636
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2637
2637
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2638
2638
|
locator?: string | undefined;
|
|
2639
2639
|
}[];
|
|
@@ -2645,25 +2645,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2645
2645
|
} | {
|
|
2646
2646
|
kind: "correction_approved";
|
|
2647
2647
|
evidence: {
|
|
2648
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2648
2649
|
id: string;
|
|
2649
2650
|
label: string;
|
|
2650
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2651
2651
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2652
2652
|
locator?: string | undefined;
|
|
2653
2653
|
}[];
|
|
2654
2654
|
correctionId: string;
|
|
2655
2655
|
approvedBy: {
|
|
2656
|
+
kind: "agent" | "human";
|
|
2656
2657
|
id: string;
|
|
2657
2658
|
label: string;
|
|
2658
|
-
kind: "agent" | "human";
|
|
2659
2659
|
};
|
|
2660
2660
|
note?: string | undefined;
|
|
2661
2661
|
} | {
|
|
2662
2662
|
kind: "decision_superseded";
|
|
2663
2663
|
evidence: {
|
|
2664
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2664
2665
|
id: string;
|
|
2665
2666
|
label: string;
|
|
2666
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2667
2667
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2668
2668
|
locator?: string | undefined;
|
|
2669
2669
|
}[];
|
|
@@ -2676,9 +2676,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2676
2676
|
agentId: string;
|
|
2677
2677
|
sessionId: string;
|
|
2678
2678
|
evidence: {
|
|
2679
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2679
2680
|
id: string;
|
|
2680
2681
|
label: string;
|
|
2681
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2682
2682
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2683
2683
|
locator?: string | undefined;
|
|
2684
2684
|
}[];
|
|
@@ -2690,9 +2690,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2690
2690
|
agentId: string;
|
|
2691
2691
|
sessionId: string;
|
|
2692
2692
|
evidence: {
|
|
2693
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2693
2694
|
id: string;
|
|
2694
2695
|
label: string;
|
|
2695
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2696
2696
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2697
2697
|
locator?: string | undefined;
|
|
2698
2698
|
}[];
|
|
@@ -2701,13 +2701,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2701
2701
|
recallReceiptId: string;
|
|
2702
2702
|
staleDecisionAbsent: boolean;
|
|
2703
2703
|
} | {
|
|
2704
|
-
summary: string;
|
|
2705
2704
|
kind: "mission_completed";
|
|
2705
|
+
summary: string;
|
|
2706
2706
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2707
2707
|
evidence: {
|
|
2708
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2708
2709
|
id: string;
|
|
2709
2710
|
label: string;
|
|
2710
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2711
2711
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2712
2712
|
locator?: string | undefined;
|
|
2713
2713
|
}[];
|
|
@@ -2717,37 +2717,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2717
2717
|
objective: string;
|
|
2718
2718
|
runMode: "replay" | "fixture" | "live";
|
|
2719
2719
|
evidence?: {
|
|
2720
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2720
2721
|
id: string;
|
|
2721
2722
|
label: string;
|
|
2722
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2723
2723
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2724
2724
|
locator?: string | undefined;
|
|
2725
2725
|
}[] | undefined;
|
|
2726
2726
|
} | {
|
|
2727
|
-
label: string;
|
|
2728
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2729
2727
|
kind: "agent_status";
|
|
2730
2728
|
role: string;
|
|
2729
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2730
|
+
label: string;
|
|
2731
2731
|
agentId: string;
|
|
2732
2732
|
sessionId: string;
|
|
2733
2733
|
detail?: string | undefined;
|
|
2734
2734
|
evidence?: {
|
|
2735
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2735
2736
|
id: string;
|
|
2736
2737
|
label: string;
|
|
2737
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2738
2738
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2739
2739
|
locator?: string | undefined;
|
|
2740
2740
|
}[] | undefined;
|
|
2741
2741
|
} | {
|
|
2742
|
-
summary: string;
|
|
2743
2742
|
kind: "agent_output";
|
|
2743
|
+
summary: string;
|
|
2744
2744
|
agentId: string;
|
|
2745
2745
|
sessionId: string;
|
|
2746
2746
|
outputId: string;
|
|
2747
2747
|
evidence?: {
|
|
2748
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2748
2749
|
id: string;
|
|
2749
2750
|
label: string;
|
|
2750
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2751
2751
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2752
2752
|
locator?: string | undefined;
|
|
2753
2753
|
}[] | undefined;
|
|
@@ -2760,37 +2760,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2760
2760
|
decisionId: string;
|
|
2761
2761
|
confidence?: number | undefined;
|
|
2762
2762
|
evidence?: {
|
|
2763
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2763
2764
|
id: string;
|
|
2764
2765
|
label: string;
|
|
2765
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2766
2766
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2767
2767
|
locator?: string | undefined;
|
|
2768
2768
|
}[] | undefined;
|
|
2769
2769
|
} | {
|
|
2770
|
-
summary: string;
|
|
2771
2770
|
kind: "conflict_detected";
|
|
2771
|
+
summary: string;
|
|
2772
2772
|
conflictId: string;
|
|
2773
2773
|
decisionIds: string[];
|
|
2774
2774
|
agentIds: string[];
|
|
2775
2775
|
evidence?: {
|
|
2776
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2776
2777
|
id: string;
|
|
2777
2778
|
label: string;
|
|
2778
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2779
2779
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2780
2780
|
locator?: string | undefined;
|
|
2781
2781
|
}[] | undefined;
|
|
2782
2782
|
} | {
|
|
2783
|
-
summary: string;
|
|
2784
|
-
status: "error" | "failed" | "passed";
|
|
2785
2783
|
kind: "test_result";
|
|
2784
|
+
summary: string;
|
|
2786
2785
|
command: string;
|
|
2786
|
+
status: "error" | "failed" | "passed";
|
|
2787
2787
|
decisionId: string;
|
|
2788
2788
|
testId: string;
|
|
2789
2789
|
durationMs?: number | undefined;
|
|
2790
2790
|
evidence?: {
|
|
2791
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2791
2792
|
id: string;
|
|
2792
2793
|
label: string;
|
|
2793
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2794
2794
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2795
2795
|
locator?: string | undefined;
|
|
2796
2796
|
}[] | undefined;
|
|
@@ -2805,9 +2805,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2805
2805
|
supersedesDecisionIds: string[];
|
|
2806
2806
|
proposedBy: string;
|
|
2807
2807
|
evidence?: {
|
|
2808
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2808
2809
|
id: string;
|
|
2809
2810
|
label: string;
|
|
2810
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2811
2811
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2812
2812
|
locator?: string | undefined;
|
|
2813
2813
|
}[] | undefined;
|
|
@@ -2815,15 +2815,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2815
2815
|
kind: "correction_approved";
|
|
2816
2816
|
correctionId: string;
|
|
2817
2817
|
approvedBy: {
|
|
2818
|
+
kind: "agent" | "human";
|
|
2818
2819
|
id: string;
|
|
2819
2820
|
label: string;
|
|
2820
|
-
kind: "agent" | "human";
|
|
2821
2821
|
};
|
|
2822
2822
|
note?: string | undefined;
|
|
2823
2823
|
evidence?: {
|
|
2824
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2824
2825
|
id: string;
|
|
2825
2826
|
label: string;
|
|
2826
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2827
2827
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2828
2828
|
locator?: string | undefined;
|
|
2829
2829
|
}[] | undefined;
|
|
@@ -2833,9 +2833,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2833
2833
|
correctionId: string;
|
|
2834
2834
|
replacementDecisionId: string;
|
|
2835
2835
|
evidence?: {
|
|
2836
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2836
2837
|
id: string;
|
|
2837
2838
|
label: string;
|
|
2838
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2839
2839
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2840
2840
|
locator?: string | undefined;
|
|
2841
2841
|
}[] | undefined;
|
|
@@ -2848,9 +2848,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2848
2848
|
recallReceiptId: string;
|
|
2849
2849
|
capturedAtAction: boolean;
|
|
2850
2850
|
evidence?: {
|
|
2851
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2851
2852
|
id: string;
|
|
2852
2853
|
label: string;
|
|
2853
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2854
2854
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2855
2855
|
locator?: string | undefined;
|
|
2856
2856
|
}[] | undefined;
|
|
@@ -2863,20 +2863,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2863
2863
|
recallReceiptId: string;
|
|
2864
2864
|
staleDecisionAbsent: boolean;
|
|
2865
2865
|
evidence?: {
|
|
2866
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2866
2867
|
id: string;
|
|
2867
2868
|
label: string;
|
|
2868
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2869
2869
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2870
2870
|
locator?: string | undefined;
|
|
2871
2871
|
}[] | undefined;
|
|
2872
2872
|
} | {
|
|
2873
|
-
summary: string;
|
|
2874
2873
|
kind: "mission_completed";
|
|
2874
|
+
summary: string;
|
|
2875
2875
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2876
2876
|
evidence?: {
|
|
2877
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2877
2878
|
id: string;
|
|
2878
2879
|
label: string;
|
|
2879
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2880
2880
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2881
2881
|
locator?: string | undefined;
|
|
2882
2882
|
}[] | undefined;
|
|
@@ -2886,38 +2886,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2886
2886
|
kind: "mission_started";
|
|
2887
2887
|
title: string;
|
|
2888
2888
|
evidence: {
|
|
2889
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2889
2890
|
id: string;
|
|
2890
2891
|
label: string;
|
|
2891
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2892
2892
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2893
2893
|
locator?: string | undefined;
|
|
2894
2894
|
}[];
|
|
2895
2895
|
objective: string;
|
|
2896
2896
|
runMode: "replay" | "fixture" | "live";
|
|
2897
2897
|
} | {
|
|
2898
|
-
label: string;
|
|
2899
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2900
2898
|
kind: "agent_status";
|
|
2901
2899
|
role: string;
|
|
2900
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
2901
|
+
label: string;
|
|
2902
2902
|
agentId: string;
|
|
2903
2903
|
sessionId: string;
|
|
2904
2904
|
evidence: {
|
|
2905
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2905
2906
|
id: string;
|
|
2906
2907
|
label: string;
|
|
2907
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2908
2908
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2909
2909
|
locator?: string | undefined;
|
|
2910
2910
|
}[];
|
|
2911
2911
|
detail?: string | undefined;
|
|
2912
2912
|
} | {
|
|
2913
|
-
summary: string;
|
|
2914
2913
|
kind: "agent_output";
|
|
2914
|
+
summary: string;
|
|
2915
2915
|
agentId: string;
|
|
2916
2916
|
sessionId: string;
|
|
2917
2917
|
evidence: {
|
|
2918
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2918
2919
|
id: string;
|
|
2919
2920
|
label: string;
|
|
2920
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2921
2921
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2922
2922
|
locator?: string | undefined;
|
|
2923
2923
|
}[];
|
|
@@ -2928,9 +2928,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2928
2928
|
statement: string;
|
|
2929
2929
|
sessionId: string;
|
|
2930
2930
|
evidence: {
|
|
2931
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2931
2932
|
id: string;
|
|
2932
2933
|
label: string;
|
|
2933
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2934
2934
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2935
2935
|
locator?: string | undefined;
|
|
2936
2936
|
}[];
|
|
@@ -2938,12 +2938,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2938
2938
|
decisionId: string;
|
|
2939
2939
|
confidence?: number | undefined;
|
|
2940
2940
|
} | {
|
|
2941
|
-
summary: string;
|
|
2942
2941
|
kind: "conflict_detected";
|
|
2942
|
+
summary: string;
|
|
2943
2943
|
evidence: {
|
|
2944
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2944
2945
|
id: string;
|
|
2945
2946
|
label: string;
|
|
2946
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2947
2947
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2948
2948
|
locator?: string | undefined;
|
|
2949
2949
|
}[];
|
|
@@ -2951,14 +2951,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2951
2951
|
decisionIds: string[];
|
|
2952
2952
|
agentIds: string[];
|
|
2953
2953
|
} | {
|
|
2954
|
-
summary: string;
|
|
2955
|
-
status: "error" | "failed" | "passed";
|
|
2956
2954
|
kind: "test_result";
|
|
2955
|
+
summary: string;
|
|
2957
2956
|
command: string;
|
|
2957
|
+
status: "error" | "failed" | "passed";
|
|
2958
2958
|
evidence: {
|
|
2959
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2959
2960
|
id: string;
|
|
2960
2961
|
label: string;
|
|
2961
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2962
2962
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2963
2963
|
locator?: string | undefined;
|
|
2964
2964
|
}[];
|
|
@@ -2971,9 +2971,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2971
2971
|
rationale: string;
|
|
2972
2972
|
statement: string;
|
|
2973
2973
|
evidence: {
|
|
2974
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2974
2975
|
id: string;
|
|
2975
2976
|
label: string;
|
|
2976
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2977
2977
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2978
2978
|
locator?: string | undefined;
|
|
2979
2979
|
}[];
|
|
@@ -2985,25 +2985,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2985
2985
|
} | {
|
|
2986
2986
|
kind: "correction_approved";
|
|
2987
2987
|
evidence: {
|
|
2988
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2988
2989
|
id: string;
|
|
2989
2990
|
label: string;
|
|
2990
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2991
2991
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2992
2992
|
locator?: string | undefined;
|
|
2993
2993
|
}[];
|
|
2994
2994
|
correctionId: string;
|
|
2995
2995
|
approvedBy: {
|
|
2996
|
+
kind: "agent" | "human";
|
|
2996
2997
|
id: string;
|
|
2997
2998
|
label: string;
|
|
2998
|
-
kind: "agent" | "human";
|
|
2999
2999
|
};
|
|
3000
3000
|
note?: string | undefined;
|
|
3001
3001
|
} | {
|
|
3002
3002
|
kind: "decision_superseded";
|
|
3003
3003
|
evidence: {
|
|
3004
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3004
3005
|
id: string;
|
|
3005
3006
|
label: string;
|
|
3006
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3007
3007
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3008
3008
|
locator?: string | undefined;
|
|
3009
3009
|
}[];
|
|
@@ -3016,9 +3016,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3016
3016
|
agentId: string;
|
|
3017
3017
|
sessionId: string;
|
|
3018
3018
|
evidence: {
|
|
3019
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3019
3020
|
id: string;
|
|
3020
3021
|
label: string;
|
|
3021
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3022
3022
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3023
3023
|
locator?: string | undefined;
|
|
3024
3024
|
}[];
|
|
@@ -3030,9 +3030,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3030
3030
|
agentId: string;
|
|
3031
3031
|
sessionId: string;
|
|
3032
3032
|
evidence: {
|
|
3033
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3033
3034
|
id: string;
|
|
3034
3035
|
label: string;
|
|
3035
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3036
3036
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3037
3037
|
locator?: string | undefined;
|
|
3038
3038
|
}[];
|
|
@@ -3041,13 +3041,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3041
3041
|
recallReceiptId: string;
|
|
3042
3042
|
staleDecisionAbsent: boolean;
|
|
3043
3043
|
} | {
|
|
3044
|
-
summary: string;
|
|
3045
3044
|
kind: "mission_completed";
|
|
3045
|
+
summary: string;
|
|
3046
3046
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3047
3047
|
evidence: {
|
|
3048
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3048
3049
|
id: string;
|
|
3049
3050
|
label: string;
|
|
3050
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3051
3051
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3052
3052
|
locator?: string | undefined;
|
|
3053
3053
|
}[];
|
|
@@ -3061,37 +3061,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3061
3061
|
objective: string;
|
|
3062
3062
|
runMode: "replay" | "fixture" | "live";
|
|
3063
3063
|
evidence?: {
|
|
3064
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3064
3065
|
id: string;
|
|
3065
3066
|
label: string;
|
|
3066
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3067
3067
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3068
3068
|
locator?: string | undefined;
|
|
3069
3069
|
}[] | undefined;
|
|
3070
3070
|
} | {
|
|
3071
|
-
label: string;
|
|
3072
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3073
3071
|
kind: "agent_status";
|
|
3074
3072
|
role: string;
|
|
3073
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3074
|
+
label: string;
|
|
3075
3075
|
agentId: string;
|
|
3076
3076
|
sessionId: string;
|
|
3077
3077
|
detail?: string | undefined;
|
|
3078
3078
|
evidence?: {
|
|
3079
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3079
3080
|
id: string;
|
|
3080
3081
|
label: string;
|
|
3081
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3082
3082
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3083
3083
|
locator?: string | undefined;
|
|
3084
3084
|
}[] | undefined;
|
|
3085
3085
|
} | {
|
|
3086
|
-
summary: string;
|
|
3087
3086
|
kind: "agent_output";
|
|
3087
|
+
summary: string;
|
|
3088
3088
|
agentId: string;
|
|
3089
3089
|
sessionId: string;
|
|
3090
3090
|
outputId: string;
|
|
3091
3091
|
evidence?: {
|
|
3092
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3092
3093
|
id: string;
|
|
3093
3094
|
label: string;
|
|
3094
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3095
3095
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3096
3096
|
locator?: string | undefined;
|
|
3097
3097
|
}[] | undefined;
|
|
@@ -3104,37 +3104,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3104
3104
|
decisionId: string;
|
|
3105
3105
|
confidence?: number | undefined;
|
|
3106
3106
|
evidence?: {
|
|
3107
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3107
3108
|
id: string;
|
|
3108
3109
|
label: string;
|
|
3109
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3110
3110
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3111
3111
|
locator?: string | undefined;
|
|
3112
3112
|
}[] | undefined;
|
|
3113
3113
|
} | {
|
|
3114
|
-
summary: string;
|
|
3115
3114
|
kind: "conflict_detected";
|
|
3115
|
+
summary: string;
|
|
3116
3116
|
conflictId: string;
|
|
3117
3117
|
decisionIds: string[];
|
|
3118
3118
|
agentIds: string[];
|
|
3119
3119
|
evidence?: {
|
|
3120
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3120
3121
|
id: string;
|
|
3121
3122
|
label: string;
|
|
3122
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3123
3123
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3124
3124
|
locator?: string | undefined;
|
|
3125
3125
|
}[] | undefined;
|
|
3126
3126
|
} | {
|
|
3127
|
-
summary: string;
|
|
3128
|
-
status: "error" | "failed" | "passed";
|
|
3129
3127
|
kind: "test_result";
|
|
3128
|
+
summary: string;
|
|
3130
3129
|
command: string;
|
|
3130
|
+
status: "error" | "failed" | "passed";
|
|
3131
3131
|
decisionId: string;
|
|
3132
3132
|
testId: string;
|
|
3133
3133
|
durationMs?: number | undefined;
|
|
3134
3134
|
evidence?: {
|
|
3135
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3135
3136
|
id: string;
|
|
3136
3137
|
label: string;
|
|
3137
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3138
3138
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3139
3139
|
locator?: string | undefined;
|
|
3140
3140
|
}[] | undefined;
|
|
@@ -3149,9 +3149,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3149
3149
|
supersedesDecisionIds: string[];
|
|
3150
3150
|
proposedBy: string;
|
|
3151
3151
|
evidence?: {
|
|
3152
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3152
3153
|
id: string;
|
|
3153
3154
|
label: string;
|
|
3154
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3155
3155
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3156
3156
|
locator?: string | undefined;
|
|
3157
3157
|
}[] | undefined;
|
|
@@ -3159,15 +3159,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3159
3159
|
kind: "correction_approved";
|
|
3160
3160
|
correctionId: string;
|
|
3161
3161
|
approvedBy: {
|
|
3162
|
+
kind: "agent" | "human";
|
|
3162
3163
|
id: string;
|
|
3163
3164
|
label: string;
|
|
3164
|
-
kind: "agent" | "human";
|
|
3165
3165
|
};
|
|
3166
3166
|
note?: string | undefined;
|
|
3167
3167
|
evidence?: {
|
|
3168
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3168
3169
|
id: string;
|
|
3169
3170
|
label: string;
|
|
3170
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3171
3171
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3172
3172
|
locator?: string | undefined;
|
|
3173
3173
|
}[] | undefined;
|
|
@@ -3177,9 +3177,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3177
3177
|
correctionId: string;
|
|
3178
3178
|
replacementDecisionId: string;
|
|
3179
3179
|
evidence?: {
|
|
3180
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3180
3181
|
id: string;
|
|
3181
3182
|
label: string;
|
|
3182
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3183
3183
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3184
3184
|
locator?: string | undefined;
|
|
3185
3185
|
}[] | undefined;
|
|
@@ -3192,9 +3192,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3192
3192
|
recallReceiptId: string;
|
|
3193
3193
|
capturedAtAction: boolean;
|
|
3194
3194
|
evidence?: {
|
|
3195
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3195
3196
|
id: string;
|
|
3196
3197
|
label: string;
|
|
3197
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3198
3198
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3199
3199
|
locator?: string | undefined;
|
|
3200
3200
|
}[] | undefined;
|
|
@@ -3207,20 +3207,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3207
3207
|
recallReceiptId: string;
|
|
3208
3208
|
staleDecisionAbsent: boolean;
|
|
3209
3209
|
evidence?: {
|
|
3210
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3210
3211
|
id: string;
|
|
3211
3212
|
label: string;
|
|
3212
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3213
3213
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3214
3214
|
locator?: string | undefined;
|
|
3215
3215
|
}[] | undefined;
|
|
3216
3216
|
} | {
|
|
3217
|
-
summary: string;
|
|
3218
3217
|
kind: "mission_completed";
|
|
3218
|
+
summary: string;
|
|
3219
3219
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3220
3220
|
evidence?: {
|
|
3221
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3221
3222
|
id: string;
|
|
3222
3223
|
label: string;
|
|
3223
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3224
3224
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3225
3225
|
locator?: string | undefined;
|
|
3226
3226
|
}[] | undefined;
|
|
@@ -3250,15 +3250,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3250
3250
|
locator: z.ZodOptional<z.ZodString>;
|
|
3251
3251
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3252
3252
|
}, "strict", z.ZodTypeAny, {
|
|
3253
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3253
3254
|
id: string;
|
|
3254
3255
|
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
|
}, {
|
|
3259
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3259
3260
|
id: string;
|
|
3260
3261
|
label: string;
|
|
3261
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3262
3262
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3263
3263
|
locator?: string | undefined;
|
|
3264
3264
|
}>, "many">>;
|
|
@@ -3266,9 +3266,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3266
3266
|
kind: "mission_started";
|
|
3267
3267
|
title: string;
|
|
3268
3268
|
evidence: {
|
|
3269
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3269
3270
|
id: string;
|
|
3270
3271
|
label: string;
|
|
3271
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3272
3272
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3273
3273
|
locator?: string | undefined;
|
|
3274
3274
|
}[];
|
|
@@ -3280,9 +3280,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3280
3280
|
objective: string;
|
|
3281
3281
|
runMode: "replay" | "fixture" | "live";
|
|
3282
3282
|
evidence?: {
|
|
3283
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3283
3284
|
id: string;
|
|
3284
3285
|
label: string;
|
|
3285
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3286
3286
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3287
3287
|
locator?: string | undefined;
|
|
3288
3288
|
}[] | undefined;
|
|
@@ -3298,15 +3298,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3298
3298
|
locator: z.ZodOptional<z.ZodString>;
|
|
3299
3299
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3300
3300
|
}, "strict", z.ZodTypeAny, {
|
|
3301
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3301
3302
|
id: string;
|
|
3302
3303
|
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
|
}, {
|
|
3307
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3307
3308
|
id: string;
|
|
3308
3309
|
label: string;
|
|
3309
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3310
3310
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3311
3311
|
locator?: string | undefined;
|
|
3312
3312
|
}>, "many">>;
|
|
@@ -3314,32 +3314,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3314
3314
|
sessionId: z.ZodString;
|
|
3315
3315
|
kind: z.ZodLiteral<"agent_status">;
|
|
3316
3316
|
}, "strict", z.ZodTypeAny, {
|
|
3317
|
-
label: string;
|
|
3318
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3319
3317
|
kind: "agent_status";
|
|
3320
3318
|
role: string;
|
|
3319
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3320
|
+
label: string;
|
|
3321
3321
|
agentId: string;
|
|
3322
3322
|
sessionId: string;
|
|
3323
3323
|
evidence: {
|
|
3324
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3324
3325
|
id: string;
|
|
3325
3326
|
label: string;
|
|
3326
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3327
3327
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3328
3328
|
locator?: string | undefined;
|
|
3329
3329
|
}[];
|
|
3330
3330
|
detail?: string | undefined;
|
|
3331
3331
|
}, {
|
|
3332
|
-
label: string;
|
|
3333
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3334
3332
|
kind: "agent_status";
|
|
3335
3333
|
role: string;
|
|
3334
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3335
|
+
label: string;
|
|
3336
3336
|
agentId: string;
|
|
3337
3337
|
sessionId: string;
|
|
3338
3338
|
detail?: string | undefined;
|
|
3339
3339
|
evidence?: {
|
|
3340
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3340
3341
|
id: string;
|
|
3341
3342
|
label: string;
|
|
3342
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3343
3343
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3344
3344
|
locator?: string | undefined;
|
|
3345
3345
|
}[] | undefined;
|
|
@@ -3353,15 +3353,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3353
3353
|
locator: z.ZodOptional<z.ZodString>;
|
|
3354
3354
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3355
3355
|
}, "strict", z.ZodTypeAny, {
|
|
3356
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3356
3357
|
id: string;
|
|
3357
3358
|
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
|
}, {
|
|
3362
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3362
3363
|
id: string;
|
|
3363
3364
|
label: string;
|
|
3364
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3365
3365
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3366
3366
|
locator?: string | undefined;
|
|
3367
3367
|
}>, "many">>;
|
|
@@ -3369,28 +3369,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3369
3369
|
sessionId: z.ZodString;
|
|
3370
3370
|
kind: z.ZodLiteral<"agent_output">;
|
|
3371
3371
|
}, "strict", z.ZodTypeAny, {
|
|
3372
|
-
summary: string;
|
|
3373
3372
|
kind: "agent_output";
|
|
3373
|
+
summary: string;
|
|
3374
3374
|
agentId: string;
|
|
3375
3375
|
sessionId: string;
|
|
3376
3376
|
evidence: {
|
|
3377
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3377
3378
|
id: string;
|
|
3378
3379
|
label: string;
|
|
3379
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3380
3380
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3381
3381
|
locator?: string | undefined;
|
|
3382
3382
|
}[];
|
|
3383
3383
|
outputId: string;
|
|
3384
3384
|
}, {
|
|
3385
|
-
summary: string;
|
|
3386
3385
|
kind: "agent_output";
|
|
3386
|
+
summary: string;
|
|
3387
3387
|
agentId: string;
|
|
3388
3388
|
sessionId: string;
|
|
3389
3389
|
outputId: string;
|
|
3390
3390
|
evidence?: {
|
|
3391
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3391
3392
|
id: string;
|
|
3392
3393
|
label: string;
|
|
3393
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3394
3394
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3395
3395
|
locator?: string | undefined;
|
|
3396
3396
|
}[] | undefined;
|
|
@@ -3406,15 +3406,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3406
3406
|
locator: z.ZodOptional<z.ZodString>;
|
|
3407
3407
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3408
3408
|
}, "strict", z.ZodTypeAny, {
|
|
3409
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3409
3410
|
id: string;
|
|
3410
3411
|
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
|
}, {
|
|
3415
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3415
3416
|
id: string;
|
|
3416
3417
|
label: string;
|
|
3417
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3418
3418
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3419
3419
|
locator?: string | undefined;
|
|
3420
3420
|
}>, "many">>;
|
|
@@ -3427,9 +3427,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3427
3427
|
statement: string;
|
|
3428
3428
|
sessionId: string;
|
|
3429
3429
|
evidence: {
|
|
3430
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3430
3431
|
id: string;
|
|
3431
3432
|
label: string;
|
|
3432
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3433
3433
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3434
3434
|
locator?: string | undefined;
|
|
3435
3435
|
}[];
|
|
@@ -3445,9 +3445,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3445
3445
|
decisionId: string;
|
|
3446
3446
|
confidence?: number | undefined;
|
|
3447
3447
|
evidence?: {
|
|
3448
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3448
3449
|
id: string;
|
|
3449
3450
|
label: string;
|
|
3450
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3451
3451
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3452
3452
|
locator?: string | undefined;
|
|
3453
3453
|
}[] | undefined;
|
|
@@ -3464,25 +3464,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3464
3464
|
locator: z.ZodOptional<z.ZodString>;
|
|
3465
3465
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3466
3466
|
}, "strict", z.ZodTypeAny, {
|
|
3467
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3467
3468
|
id: string;
|
|
3468
3469
|
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
|
}, {
|
|
3473
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3473
3474
|
id: string;
|
|
3474
3475
|
label: string;
|
|
3475
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3476
3476
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3477
3477
|
locator?: string | undefined;
|
|
3478
3478
|
}>, "many">>;
|
|
3479
3479
|
}, "strict", z.ZodTypeAny, {
|
|
3480
|
-
summary: string;
|
|
3481
3480
|
kind: "conflict_detected";
|
|
3481
|
+
summary: string;
|
|
3482
3482
|
evidence: {
|
|
3483
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3483
3484
|
id: string;
|
|
3484
3485
|
label: string;
|
|
3485
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3486
3486
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3487
3487
|
locator?: string | undefined;
|
|
3488
3488
|
}[];
|
|
@@ -3490,15 +3490,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3490
3490
|
decisionIds: string[];
|
|
3491
3491
|
agentIds: string[];
|
|
3492
3492
|
}, {
|
|
3493
|
-
summary: string;
|
|
3494
3493
|
kind: "conflict_detected";
|
|
3494
|
+
summary: string;
|
|
3495
3495
|
conflictId: string;
|
|
3496
3496
|
decisionIds: string[];
|
|
3497
3497
|
agentIds: string[];
|
|
3498
3498
|
evidence?: {
|
|
3499
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3499
3500
|
id: string;
|
|
3500
3501
|
label: string;
|
|
3501
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3502
3502
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3503
3503
|
locator?: string | undefined;
|
|
3504
3504
|
}[] | undefined;
|
|
@@ -3518,27 +3518,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3518
3518
|
locator: z.ZodOptional<z.ZodString>;
|
|
3519
3519
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3520
3520
|
}, "strict", z.ZodTypeAny, {
|
|
3521
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3521
3522
|
id: string;
|
|
3522
3523
|
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
|
}, {
|
|
3527
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3527
3528
|
id: string;
|
|
3528
3529
|
label: string;
|
|
3529
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3530
3530
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3531
3531
|
locator?: string | undefined;
|
|
3532
3532
|
}>, "many">>;
|
|
3533
3533
|
}, "strict", z.ZodTypeAny, {
|
|
3534
|
-
summary: string;
|
|
3535
|
-
status: "error" | "failed" | "passed";
|
|
3536
3534
|
kind: "test_result";
|
|
3535
|
+
summary: string;
|
|
3537
3536
|
command: string;
|
|
3537
|
+
status: "error" | "failed" | "passed";
|
|
3538
3538
|
evidence: {
|
|
3539
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3539
3540
|
id: string;
|
|
3540
3541
|
label: string;
|
|
3541
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3542
3542
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3543
3543
|
locator?: string | undefined;
|
|
3544
3544
|
}[];
|
|
@@ -3547,17 +3547,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3547
3547
|
durationMs?: number | undefined;
|
|
3548
3548
|
correctionId?: string | undefined;
|
|
3549
3549
|
}, {
|
|
3550
|
-
summary: string;
|
|
3551
|
-
status: "error" | "failed" | "passed";
|
|
3552
3550
|
kind: "test_result";
|
|
3551
|
+
summary: string;
|
|
3553
3552
|
command: string;
|
|
3553
|
+
status: "error" | "failed" | "passed";
|
|
3554
3554
|
decisionId: string;
|
|
3555
3555
|
testId: string;
|
|
3556
3556
|
durationMs?: number | undefined;
|
|
3557
3557
|
evidence?: {
|
|
3558
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3558
3559
|
id: string;
|
|
3559
3560
|
label: string;
|
|
3560
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3561
3561
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3562
3562
|
locator?: string | undefined;
|
|
3563
3563
|
}[] | undefined;
|
|
@@ -3578,15 +3578,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3578
3578
|
locator: z.ZodOptional<z.ZodString>;
|
|
3579
3579
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3580
3580
|
}, "strict", z.ZodTypeAny, {
|
|
3581
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3581
3582
|
id: string;
|
|
3582
3583
|
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
|
}, {
|
|
3587
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3587
3588
|
id: string;
|
|
3588
3589
|
label: string;
|
|
3589
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3590
3590
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3591
3591
|
locator?: string | undefined;
|
|
3592
3592
|
}>, "many">>;
|
|
@@ -3595,9 +3595,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3595
3595
|
rationale: string;
|
|
3596
3596
|
statement: string;
|
|
3597
3597
|
evidence: {
|
|
3598
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3598
3599
|
id: string;
|
|
3599
3600
|
label: string;
|
|
3600
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3601
3601
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3602
3602
|
locator?: string | undefined;
|
|
3603
3603
|
}[];
|
|
@@ -3616,9 +3616,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3616
3616
|
supersedesDecisionIds: string[];
|
|
3617
3617
|
proposedBy: string;
|
|
3618
3618
|
evidence?: {
|
|
3619
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3619
3620
|
id: string;
|
|
3620
3621
|
label: string;
|
|
3621
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3622
3622
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3623
3623
|
locator?: string | undefined;
|
|
3624
3624
|
}[] | undefined;
|
|
@@ -3630,13 +3630,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3630
3630
|
id: z.ZodString;
|
|
3631
3631
|
label: z.ZodString;
|
|
3632
3632
|
}, "strict", z.ZodTypeAny, {
|
|
3633
|
+
kind: "agent" | "human";
|
|
3633
3634
|
id: string;
|
|
3634
3635
|
label: string;
|
|
3635
|
-
kind: "agent" | "human";
|
|
3636
3636
|
}, {
|
|
3637
|
+
kind: "agent" | "human";
|
|
3637
3638
|
id: string;
|
|
3638
3639
|
label: string;
|
|
3639
|
-
kind: "agent" | "human";
|
|
3640
3640
|
}>;
|
|
3641
3641
|
note: z.ZodOptional<z.ZodString>;
|
|
3642
3642
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3646,47 +3646,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3646
3646
|
locator: z.ZodOptional<z.ZodString>;
|
|
3647
3647
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3648
3648
|
}, "strict", z.ZodTypeAny, {
|
|
3649
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3649
3650
|
id: string;
|
|
3650
3651
|
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
|
}, {
|
|
3655
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3655
3656
|
id: string;
|
|
3656
3657
|
label: string;
|
|
3657
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3658
3658
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3659
3659
|
locator?: string | undefined;
|
|
3660
3660
|
}>, "many">>;
|
|
3661
3661
|
}, "strict", z.ZodTypeAny, {
|
|
3662
3662
|
kind: "correction_approved";
|
|
3663
3663
|
evidence: {
|
|
3664
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3664
3665
|
id: string;
|
|
3665
3666
|
label: string;
|
|
3666
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3667
3667
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3668
3668
|
locator?: string | undefined;
|
|
3669
3669
|
}[];
|
|
3670
3670
|
correctionId: string;
|
|
3671
3671
|
approvedBy: {
|
|
3672
|
+
kind: "agent" | "human";
|
|
3672
3673
|
id: string;
|
|
3673
3674
|
label: string;
|
|
3674
|
-
kind: "agent" | "human";
|
|
3675
3675
|
};
|
|
3676
3676
|
note?: string | undefined;
|
|
3677
3677
|
}, {
|
|
3678
3678
|
kind: "correction_approved";
|
|
3679
3679
|
correctionId: string;
|
|
3680
3680
|
approvedBy: {
|
|
3681
|
+
kind: "agent" | "human";
|
|
3681
3682
|
id: string;
|
|
3682
3683
|
label: string;
|
|
3683
|
-
kind: "agent" | "human";
|
|
3684
3684
|
};
|
|
3685
3685
|
note?: string | undefined;
|
|
3686
3686
|
evidence?: {
|
|
3687
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3687
3688
|
id: string;
|
|
3688
3689
|
label: string;
|
|
3689
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3690
3690
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3691
3691
|
locator?: string | undefined;
|
|
3692
3692
|
}[] | undefined;
|
|
@@ -3702,24 +3702,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3702
3702
|
locator: z.ZodOptional<z.ZodString>;
|
|
3703
3703
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3704
3704
|
}, "strict", z.ZodTypeAny, {
|
|
3705
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3705
3706
|
id: string;
|
|
3706
3707
|
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
|
}, {
|
|
3711
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3711
3712
|
id: string;
|
|
3712
3713
|
label: string;
|
|
3713
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3714
3714
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3715
3715
|
locator?: string | undefined;
|
|
3716
3716
|
}>, "many">>;
|
|
3717
3717
|
}, "strict", z.ZodTypeAny, {
|
|
3718
3718
|
kind: "decision_superseded";
|
|
3719
3719
|
evidence: {
|
|
3720
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3720
3721
|
id: string;
|
|
3721
3722
|
label: string;
|
|
3722
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3723
3723
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3724
3724
|
locator?: string | undefined;
|
|
3725
3725
|
}[];
|
|
@@ -3732,9 +3732,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3732
3732
|
correctionId: string;
|
|
3733
3733
|
replacementDecisionId: string;
|
|
3734
3734
|
evidence?: {
|
|
3735
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3735
3736
|
id: string;
|
|
3736
3737
|
label: string;
|
|
3737
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3738
3738
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3739
3739
|
locator?: string | undefined;
|
|
3740
3740
|
}[] | undefined;
|
|
@@ -3750,15 +3750,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3750
3750
|
locator: z.ZodOptional<z.ZodString>;
|
|
3751
3751
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3752
3752
|
}, "strict", z.ZodTypeAny, {
|
|
3753
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3753
3754
|
id: string;
|
|
3754
3755
|
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
|
}, {
|
|
3759
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3759
3760
|
id: string;
|
|
3760
3761
|
label: string;
|
|
3761
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3762
3762
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3763
3763
|
locator?: string | undefined;
|
|
3764
3764
|
}>, "many">>;
|
|
@@ -3771,9 +3771,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3771
3771
|
agentId: string;
|
|
3772
3772
|
sessionId: string;
|
|
3773
3773
|
evidence: {
|
|
3774
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3774
3775
|
id: string;
|
|
3775
3776
|
label: string;
|
|
3776
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3777
3777
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3778
3778
|
locator?: string | undefined;
|
|
3779
3779
|
}[];
|
|
@@ -3789,9 +3789,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3789
3789
|
recallReceiptId: string;
|
|
3790
3790
|
capturedAtAction: boolean;
|
|
3791
3791
|
evidence?: {
|
|
3792
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3792
3793
|
id: string;
|
|
3793
3794
|
label: string;
|
|
3794
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3795
3795
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3796
3796
|
locator?: string | undefined;
|
|
3797
3797
|
}[] | undefined;
|
|
@@ -3807,15 +3807,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3807
3807
|
locator: z.ZodOptional<z.ZodString>;
|
|
3808
3808
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3809
3809
|
}, "strict", z.ZodTypeAny, {
|
|
3810
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3810
3811
|
id: string;
|
|
3811
3812
|
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
|
}, {
|
|
3816
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3816
3817
|
id: string;
|
|
3817
3818
|
label: string;
|
|
3818
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3819
3819
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3820
3820
|
locator?: string | undefined;
|
|
3821
3821
|
}>, "many">>;
|
|
@@ -3827,9 +3827,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3827
3827
|
agentId: string;
|
|
3828
3828
|
sessionId: string;
|
|
3829
3829
|
evidence: {
|
|
3830
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3830
3831
|
id: string;
|
|
3831
3832
|
label: string;
|
|
3832
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3833
3833
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3834
3834
|
locator?: string | undefined;
|
|
3835
3835
|
}[];
|
|
@@ -3846,9 +3846,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3846
3846
|
recallReceiptId: string;
|
|
3847
3847
|
staleDecisionAbsent: boolean;
|
|
3848
3848
|
evidence?: {
|
|
3849
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3849
3850
|
id: string;
|
|
3850
3851
|
label: string;
|
|
3851
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3852
3852
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3853
3853
|
locator?: string | undefined;
|
|
3854
3854
|
}[] | undefined;
|
|
@@ -3863,37 +3863,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3863
3863
|
locator: z.ZodOptional<z.ZodString>;
|
|
3864
3864
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3865
3865
|
}, "strict", z.ZodTypeAny, {
|
|
3866
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3866
3867
|
id: string;
|
|
3867
3868
|
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
|
}, {
|
|
3872
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3872
3873
|
id: string;
|
|
3873
3874
|
label: string;
|
|
3874
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3875
3875
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3876
3876
|
locator?: string | undefined;
|
|
3877
3877
|
}>, "many">>;
|
|
3878
3878
|
}, "strict", z.ZodTypeAny, {
|
|
3879
|
-
summary: string;
|
|
3880
3879
|
kind: "mission_completed";
|
|
3880
|
+
summary: string;
|
|
3881
3881
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3882
3882
|
evidence: {
|
|
3883
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3883
3884
|
id: string;
|
|
3884
3885
|
label: string;
|
|
3885
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3886
3886
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3887
3887
|
locator?: string | undefined;
|
|
3888
3888
|
}[];
|
|
3889
3889
|
}, {
|
|
3890
|
-
summary: string;
|
|
3891
3890
|
kind: "mission_completed";
|
|
3891
|
+
summary: string;
|
|
3892
3892
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3893
3893
|
evidence?: {
|
|
3894
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3894
3895
|
id: string;
|
|
3895
3896
|
label: string;
|
|
3896
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3897
3897
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3898
3898
|
locator?: string | undefined;
|
|
3899
3899
|
}[] | undefined;
|
|
@@ -3901,38 +3901,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3901
3901
|
kind: "mission_started";
|
|
3902
3902
|
title: string;
|
|
3903
3903
|
evidence: {
|
|
3904
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3904
3905
|
id: string;
|
|
3905
3906
|
label: string;
|
|
3906
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3907
3907
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3908
3908
|
locator?: string | undefined;
|
|
3909
3909
|
}[];
|
|
3910
3910
|
objective: string;
|
|
3911
3911
|
runMode: "replay" | "fixture" | "live";
|
|
3912
3912
|
} | {
|
|
3913
|
-
label: string;
|
|
3914
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3915
3913
|
kind: "agent_status";
|
|
3916
3914
|
role: string;
|
|
3915
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
3916
|
+
label: string;
|
|
3917
3917
|
agentId: string;
|
|
3918
3918
|
sessionId: string;
|
|
3919
3919
|
evidence: {
|
|
3920
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3920
3921
|
id: string;
|
|
3921
3922
|
label: string;
|
|
3922
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3923
3923
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3924
3924
|
locator?: string | undefined;
|
|
3925
3925
|
}[];
|
|
3926
3926
|
detail?: string | undefined;
|
|
3927
3927
|
} | {
|
|
3928
|
-
summary: string;
|
|
3929
3928
|
kind: "agent_output";
|
|
3929
|
+
summary: string;
|
|
3930
3930
|
agentId: string;
|
|
3931
3931
|
sessionId: string;
|
|
3932
3932
|
evidence: {
|
|
3933
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3933
3934
|
id: string;
|
|
3934
3935
|
label: string;
|
|
3935
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3936
3936
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3937
3937
|
locator?: string | undefined;
|
|
3938
3938
|
}[];
|
|
@@ -3943,9 +3943,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3943
3943
|
statement: string;
|
|
3944
3944
|
sessionId: string;
|
|
3945
3945
|
evidence: {
|
|
3946
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3946
3947
|
id: string;
|
|
3947
3948
|
label: string;
|
|
3948
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3949
3949
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3950
3950
|
locator?: string | undefined;
|
|
3951
3951
|
}[];
|
|
@@ -3953,12 +3953,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3953
3953
|
decisionId: string;
|
|
3954
3954
|
confidence?: number | undefined;
|
|
3955
3955
|
} | {
|
|
3956
|
-
summary: string;
|
|
3957
3956
|
kind: "conflict_detected";
|
|
3957
|
+
summary: string;
|
|
3958
3958
|
evidence: {
|
|
3959
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3959
3960
|
id: string;
|
|
3960
3961
|
label: string;
|
|
3961
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3962
3962
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3963
3963
|
locator?: string | undefined;
|
|
3964
3964
|
}[];
|
|
@@ -3966,14 +3966,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3966
3966
|
decisionIds: string[];
|
|
3967
3967
|
agentIds: string[];
|
|
3968
3968
|
} | {
|
|
3969
|
-
summary: string;
|
|
3970
|
-
status: "error" | "failed" | "passed";
|
|
3971
3969
|
kind: "test_result";
|
|
3970
|
+
summary: string;
|
|
3972
3971
|
command: string;
|
|
3972
|
+
status: "error" | "failed" | "passed";
|
|
3973
3973
|
evidence: {
|
|
3974
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3974
3975
|
id: string;
|
|
3975
3976
|
label: string;
|
|
3976
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3977
3977
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3978
3978
|
locator?: string | undefined;
|
|
3979
3979
|
}[];
|
|
@@ -3986,9 +3986,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3986
3986
|
rationale: string;
|
|
3987
3987
|
statement: string;
|
|
3988
3988
|
evidence: {
|
|
3989
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3989
3990
|
id: string;
|
|
3990
3991
|
label: string;
|
|
3991
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3992
3992
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3993
3993
|
locator?: string | undefined;
|
|
3994
3994
|
}[];
|
|
@@ -4000,25 +4000,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4000
4000
|
} | {
|
|
4001
4001
|
kind: "correction_approved";
|
|
4002
4002
|
evidence: {
|
|
4003
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4003
4004
|
id: string;
|
|
4004
4005
|
label: string;
|
|
4005
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4006
4006
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4007
4007
|
locator?: string | undefined;
|
|
4008
4008
|
}[];
|
|
4009
4009
|
correctionId: string;
|
|
4010
4010
|
approvedBy: {
|
|
4011
|
+
kind: "agent" | "human";
|
|
4011
4012
|
id: string;
|
|
4012
4013
|
label: string;
|
|
4013
|
-
kind: "agent" | "human";
|
|
4014
4014
|
};
|
|
4015
4015
|
note?: string | undefined;
|
|
4016
4016
|
} | {
|
|
4017
4017
|
kind: "decision_superseded";
|
|
4018
4018
|
evidence: {
|
|
4019
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4019
4020
|
id: string;
|
|
4020
4021
|
label: string;
|
|
4021
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4022
4022
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4023
4023
|
locator?: string | undefined;
|
|
4024
4024
|
}[];
|
|
@@ -4031,9 +4031,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4031
4031
|
agentId: string;
|
|
4032
4032
|
sessionId: string;
|
|
4033
4033
|
evidence: {
|
|
4034
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4034
4035
|
id: string;
|
|
4035
4036
|
label: string;
|
|
4036
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4037
4037
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4038
4038
|
locator?: string | undefined;
|
|
4039
4039
|
}[];
|
|
@@ -4045,9 +4045,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4045
4045
|
agentId: string;
|
|
4046
4046
|
sessionId: string;
|
|
4047
4047
|
evidence: {
|
|
4048
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4048
4049
|
id: string;
|
|
4049
4050
|
label: string;
|
|
4050
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4051
4051
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4052
4052
|
locator?: string | undefined;
|
|
4053
4053
|
}[];
|
|
@@ -4056,13 +4056,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4056
4056
|
recallReceiptId: string;
|
|
4057
4057
|
staleDecisionAbsent: boolean;
|
|
4058
4058
|
} | {
|
|
4059
|
-
summary: string;
|
|
4060
4059
|
kind: "mission_completed";
|
|
4060
|
+
summary: string;
|
|
4061
4061
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4062
4062
|
evidence: {
|
|
4063
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4063
4064
|
id: string;
|
|
4064
4065
|
label: string;
|
|
4065
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4066
4066
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4067
4067
|
locator?: string | undefined;
|
|
4068
4068
|
}[];
|
|
@@ -4072,37 +4072,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4072
4072
|
objective: string;
|
|
4073
4073
|
runMode: "replay" | "fixture" | "live";
|
|
4074
4074
|
evidence?: {
|
|
4075
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4075
4076
|
id: string;
|
|
4076
4077
|
label: string;
|
|
4077
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4078
4078
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4079
4079
|
locator?: string | undefined;
|
|
4080
4080
|
}[] | undefined;
|
|
4081
4081
|
} | {
|
|
4082
|
-
label: string;
|
|
4083
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4084
4082
|
kind: "agent_status";
|
|
4085
4083
|
role: string;
|
|
4084
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4085
|
+
label: string;
|
|
4086
4086
|
agentId: string;
|
|
4087
4087
|
sessionId: string;
|
|
4088
4088
|
detail?: string | undefined;
|
|
4089
4089
|
evidence?: {
|
|
4090
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4090
4091
|
id: string;
|
|
4091
4092
|
label: string;
|
|
4092
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4093
4093
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4094
4094
|
locator?: string | undefined;
|
|
4095
4095
|
}[] | undefined;
|
|
4096
4096
|
} | {
|
|
4097
|
-
summary: string;
|
|
4098
4097
|
kind: "agent_output";
|
|
4098
|
+
summary: string;
|
|
4099
4099
|
agentId: string;
|
|
4100
4100
|
sessionId: string;
|
|
4101
4101
|
outputId: string;
|
|
4102
4102
|
evidence?: {
|
|
4103
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4103
4104
|
id: string;
|
|
4104
4105
|
label: string;
|
|
4105
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4106
4106
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4107
4107
|
locator?: string | undefined;
|
|
4108
4108
|
}[] | undefined;
|
|
@@ -4115,37 +4115,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4115
4115
|
decisionId: string;
|
|
4116
4116
|
confidence?: number | undefined;
|
|
4117
4117
|
evidence?: {
|
|
4118
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4118
4119
|
id: string;
|
|
4119
4120
|
label: string;
|
|
4120
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4121
4121
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4122
4122
|
locator?: string | undefined;
|
|
4123
4123
|
}[] | undefined;
|
|
4124
4124
|
} | {
|
|
4125
|
-
summary: string;
|
|
4126
4125
|
kind: "conflict_detected";
|
|
4126
|
+
summary: string;
|
|
4127
4127
|
conflictId: string;
|
|
4128
4128
|
decisionIds: string[];
|
|
4129
4129
|
agentIds: string[];
|
|
4130
4130
|
evidence?: {
|
|
4131
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4131
4132
|
id: string;
|
|
4132
4133
|
label: string;
|
|
4133
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4134
4134
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4135
4135
|
locator?: string | undefined;
|
|
4136
4136
|
}[] | undefined;
|
|
4137
4137
|
} | {
|
|
4138
|
-
summary: string;
|
|
4139
|
-
status: "error" | "failed" | "passed";
|
|
4140
4138
|
kind: "test_result";
|
|
4139
|
+
summary: string;
|
|
4141
4140
|
command: string;
|
|
4141
|
+
status: "error" | "failed" | "passed";
|
|
4142
4142
|
decisionId: string;
|
|
4143
4143
|
testId: string;
|
|
4144
4144
|
durationMs?: number | undefined;
|
|
4145
4145
|
evidence?: {
|
|
4146
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4146
4147
|
id: string;
|
|
4147
4148
|
label: string;
|
|
4148
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4149
4149
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4150
4150
|
locator?: string | undefined;
|
|
4151
4151
|
}[] | undefined;
|
|
@@ -4160,9 +4160,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4160
4160
|
supersedesDecisionIds: string[];
|
|
4161
4161
|
proposedBy: string;
|
|
4162
4162
|
evidence?: {
|
|
4163
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4163
4164
|
id: string;
|
|
4164
4165
|
label: string;
|
|
4165
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4166
4166
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4167
4167
|
locator?: string | undefined;
|
|
4168
4168
|
}[] | undefined;
|
|
@@ -4170,15 +4170,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4170
4170
|
kind: "correction_approved";
|
|
4171
4171
|
correctionId: string;
|
|
4172
4172
|
approvedBy: {
|
|
4173
|
+
kind: "agent" | "human";
|
|
4173
4174
|
id: string;
|
|
4174
4175
|
label: string;
|
|
4175
|
-
kind: "agent" | "human";
|
|
4176
4176
|
};
|
|
4177
4177
|
note?: string | undefined;
|
|
4178
4178
|
evidence?: {
|
|
4179
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4179
4180
|
id: string;
|
|
4180
4181
|
label: string;
|
|
4181
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4182
4182
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4183
4183
|
locator?: string | undefined;
|
|
4184
4184
|
}[] | undefined;
|
|
@@ -4188,9 +4188,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4188
4188
|
correctionId: string;
|
|
4189
4189
|
replacementDecisionId: string;
|
|
4190
4190
|
evidence?: {
|
|
4191
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4191
4192
|
id: string;
|
|
4192
4193
|
label: string;
|
|
4193
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4194
4194
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4195
4195
|
locator?: string | undefined;
|
|
4196
4196
|
}[] | undefined;
|
|
@@ -4203,9 +4203,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4203
4203
|
recallReceiptId: string;
|
|
4204
4204
|
capturedAtAction: boolean;
|
|
4205
4205
|
evidence?: {
|
|
4206
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4206
4207
|
id: string;
|
|
4207
4208
|
label: string;
|
|
4208
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4209
4209
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4210
4210
|
locator?: string | undefined;
|
|
4211
4211
|
}[] | undefined;
|
|
@@ -4218,64 +4218,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4218
4218
|
recallReceiptId: string;
|
|
4219
4219
|
staleDecisionAbsent: boolean;
|
|
4220
4220
|
evidence?: {
|
|
4221
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4221
4222
|
id: string;
|
|
4222
4223
|
label: string;
|
|
4223
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4224
4224
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4225
4225
|
locator?: string | undefined;
|
|
4226
4226
|
}[] | undefined;
|
|
4227
4227
|
} | {
|
|
4228
|
-
summary: string;
|
|
4229
4228
|
kind: "mission_completed";
|
|
4229
|
+
summary: string;
|
|
4230
4230
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4231
4231
|
evidence?: {
|
|
4232
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4232
4233
|
id: string;
|
|
4233
4234
|
label: string;
|
|
4234
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4235
4235
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4236
4236
|
locator?: string | undefined;
|
|
4237
4237
|
}[] | undefined;
|
|
4238
4238
|
}>;
|
|
4239
4239
|
}, "strict", z.ZodTypeAny, {
|
|
4240
|
-
namespace: string;
|
|
4241
|
-
recordedAt: string;
|
|
4242
4240
|
schemaVersion: "1";
|
|
4241
|
+
recordedAt: string;
|
|
4243
4242
|
payload: {
|
|
4244
4243
|
kind: "mission_started";
|
|
4245
4244
|
title: string;
|
|
4246
4245
|
evidence: {
|
|
4246
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4247
4247
|
id: string;
|
|
4248
4248
|
label: string;
|
|
4249
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4250
4249
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4251
4250
|
locator?: string | undefined;
|
|
4252
4251
|
}[];
|
|
4253
4252
|
objective: string;
|
|
4254
4253
|
runMode: "replay" | "fixture" | "live";
|
|
4255
4254
|
} | {
|
|
4256
|
-
label: string;
|
|
4257
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4258
4255
|
kind: "agent_status";
|
|
4259
4256
|
role: string;
|
|
4257
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4258
|
+
label: string;
|
|
4260
4259
|
agentId: string;
|
|
4261
4260
|
sessionId: string;
|
|
4262
4261
|
evidence: {
|
|
4262
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4263
4263
|
id: string;
|
|
4264
4264
|
label: string;
|
|
4265
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4266
4265
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4267
4266
|
locator?: string | undefined;
|
|
4268
4267
|
}[];
|
|
4269
4268
|
detail?: string | undefined;
|
|
4270
4269
|
} | {
|
|
4271
|
-
summary: string;
|
|
4272
4270
|
kind: "agent_output";
|
|
4271
|
+
summary: string;
|
|
4273
4272
|
agentId: string;
|
|
4274
4273
|
sessionId: string;
|
|
4275
4274
|
evidence: {
|
|
4275
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4276
4276
|
id: string;
|
|
4277
4277
|
label: string;
|
|
4278
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4279
4278
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4280
4279
|
locator?: string | undefined;
|
|
4281
4280
|
}[];
|
|
@@ -4286,9 +4285,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4286
4285
|
statement: string;
|
|
4287
4286
|
sessionId: string;
|
|
4288
4287
|
evidence: {
|
|
4288
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4289
4289
|
id: string;
|
|
4290
4290
|
label: string;
|
|
4291
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4292
4291
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4293
4292
|
locator?: string | undefined;
|
|
4294
4293
|
}[];
|
|
@@ -4296,12 +4295,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4296
4295
|
decisionId: string;
|
|
4297
4296
|
confidence?: number | undefined;
|
|
4298
4297
|
} | {
|
|
4299
|
-
summary: string;
|
|
4300
4298
|
kind: "conflict_detected";
|
|
4299
|
+
summary: string;
|
|
4301
4300
|
evidence: {
|
|
4301
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4302
4302
|
id: string;
|
|
4303
4303
|
label: string;
|
|
4304
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4305
4304
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4306
4305
|
locator?: string | undefined;
|
|
4307
4306
|
}[];
|
|
@@ -4309,14 +4308,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4309
4308
|
decisionIds: string[];
|
|
4310
4309
|
agentIds: string[];
|
|
4311
4310
|
} | {
|
|
4312
|
-
summary: string;
|
|
4313
|
-
status: "error" | "failed" | "passed";
|
|
4314
4311
|
kind: "test_result";
|
|
4312
|
+
summary: string;
|
|
4315
4313
|
command: string;
|
|
4314
|
+
status: "error" | "failed" | "passed";
|
|
4316
4315
|
evidence: {
|
|
4316
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4317
4317
|
id: string;
|
|
4318
4318
|
label: string;
|
|
4319
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4320
4319
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4321
4320
|
locator?: string | undefined;
|
|
4322
4321
|
}[];
|
|
@@ -4329,9 +4328,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4329
4328
|
rationale: string;
|
|
4330
4329
|
statement: string;
|
|
4331
4330
|
evidence: {
|
|
4331
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4332
4332
|
id: string;
|
|
4333
4333
|
label: string;
|
|
4334
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4335
4334
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4336
4335
|
locator?: string | undefined;
|
|
4337
4336
|
}[];
|
|
@@ -4343,25 +4342,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4343
4342
|
} | {
|
|
4344
4343
|
kind: "correction_approved";
|
|
4345
4344
|
evidence: {
|
|
4345
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4346
4346
|
id: string;
|
|
4347
4347
|
label: string;
|
|
4348
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4349
4348
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4350
4349
|
locator?: string | undefined;
|
|
4351
4350
|
}[];
|
|
4352
4351
|
correctionId: string;
|
|
4353
4352
|
approvedBy: {
|
|
4353
|
+
kind: "agent" | "human";
|
|
4354
4354
|
id: string;
|
|
4355
4355
|
label: string;
|
|
4356
|
-
kind: "agent" | "human";
|
|
4357
4356
|
};
|
|
4358
4357
|
note?: string | undefined;
|
|
4359
4358
|
} | {
|
|
4360
4359
|
kind: "decision_superseded";
|
|
4361
4360
|
evidence: {
|
|
4361
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4362
4362
|
id: string;
|
|
4363
4363
|
label: string;
|
|
4364
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4365
4364
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4366
4365
|
locator?: string | undefined;
|
|
4367
4366
|
}[];
|
|
@@ -4374,9 +4373,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4374
4373
|
agentId: string;
|
|
4375
4374
|
sessionId: string;
|
|
4376
4375
|
evidence: {
|
|
4376
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4377
4377
|
id: string;
|
|
4378
4378
|
label: string;
|
|
4379
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4380
4379
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4381
4380
|
locator?: string | undefined;
|
|
4382
4381
|
}[];
|
|
@@ -4388,9 +4387,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4388
4387
|
agentId: string;
|
|
4389
4388
|
sessionId: string;
|
|
4390
4389
|
evidence: {
|
|
4390
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4391
4391
|
id: string;
|
|
4392
4392
|
label: string;
|
|
4393
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4394
4393
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4395
4394
|
locator?: string | undefined;
|
|
4396
4395
|
}[];
|
|
@@ -4399,63 +4398,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4399
4398
|
recallReceiptId: string;
|
|
4400
4399
|
staleDecisionAbsent: boolean;
|
|
4401
4400
|
} | {
|
|
4402
|
-
summary: string;
|
|
4403
4401
|
kind: "mission_completed";
|
|
4402
|
+
summary: string;
|
|
4404
4403
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4405
4404
|
evidence: {
|
|
4405
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4406
4406
|
id: string;
|
|
4407
4407
|
label: string;
|
|
4408
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4409
4408
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4410
4409
|
locator?: string | undefined;
|
|
4411
4410
|
}[];
|
|
4412
4411
|
};
|
|
4412
|
+
namespace: string;
|
|
4413
4413
|
eventId: string;
|
|
4414
4414
|
occurredAt: string;
|
|
4415
4415
|
missionId: string;
|
|
4416
4416
|
authenticatedPrincipal?: string | undefined;
|
|
4417
4417
|
idempotencyKey?: string | undefined;
|
|
4418
4418
|
}, {
|
|
4419
|
-
namespace: string;
|
|
4420
|
-
recordedAt: string;
|
|
4421
4419
|
schemaVersion: "1";
|
|
4420
|
+
recordedAt: string;
|
|
4422
4421
|
payload: {
|
|
4423
4422
|
kind: "mission_started";
|
|
4424
4423
|
title: string;
|
|
4425
4424
|
objective: string;
|
|
4426
4425
|
runMode: "replay" | "fixture" | "live";
|
|
4427
4426
|
evidence?: {
|
|
4427
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4428
4428
|
id: string;
|
|
4429
4429
|
label: string;
|
|
4430
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4431
4430
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4432
4431
|
locator?: string | undefined;
|
|
4433
4432
|
}[] | undefined;
|
|
4434
4433
|
} | {
|
|
4435
|
-
label: string;
|
|
4436
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4437
4434
|
kind: "agent_status";
|
|
4438
4435
|
role: string;
|
|
4436
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4437
|
+
label: string;
|
|
4439
4438
|
agentId: string;
|
|
4440
4439
|
sessionId: string;
|
|
4441
4440
|
detail?: string | undefined;
|
|
4442
4441
|
evidence?: {
|
|
4442
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4443
4443
|
id: string;
|
|
4444
4444
|
label: string;
|
|
4445
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4446
4445
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4447
4446
|
locator?: string | undefined;
|
|
4448
4447
|
}[] | undefined;
|
|
4449
4448
|
} | {
|
|
4450
|
-
summary: string;
|
|
4451
4449
|
kind: "agent_output";
|
|
4450
|
+
summary: string;
|
|
4452
4451
|
agentId: string;
|
|
4453
4452
|
sessionId: string;
|
|
4454
4453
|
outputId: string;
|
|
4455
4454
|
evidence?: {
|
|
4455
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4456
4456
|
id: string;
|
|
4457
4457
|
label: string;
|
|
4458
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4459
4458
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4460
4459
|
locator?: string | undefined;
|
|
4461
4460
|
}[] | undefined;
|
|
@@ -4468,37 +4467,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4468
4467
|
decisionId: string;
|
|
4469
4468
|
confidence?: number | undefined;
|
|
4470
4469
|
evidence?: {
|
|
4470
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4471
4471
|
id: string;
|
|
4472
4472
|
label: string;
|
|
4473
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4474
4473
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4475
4474
|
locator?: string | undefined;
|
|
4476
4475
|
}[] | undefined;
|
|
4477
4476
|
} | {
|
|
4478
|
-
summary: string;
|
|
4479
4477
|
kind: "conflict_detected";
|
|
4478
|
+
summary: string;
|
|
4480
4479
|
conflictId: string;
|
|
4481
4480
|
decisionIds: string[];
|
|
4482
4481
|
agentIds: string[];
|
|
4483
4482
|
evidence?: {
|
|
4483
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4484
4484
|
id: string;
|
|
4485
4485
|
label: string;
|
|
4486
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4487
4486
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4488
4487
|
locator?: string | undefined;
|
|
4489
4488
|
}[] | undefined;
|
|
4490
4489
|
} | {
|
|
4491
|
-
summary: string;
|
|
4492
|
-
status: "error" | "failed" | "passed";
|
|
4493
4490
|
kind: "test_result";
|
|
4491
|
+
summary: string;
|
|
4494
4492
|
command: string;
|
|
4493
|
+
status: "error" | "failed" | "passed";
|
|
4495
4494
|
decisionId: string;
|
|
4496
4495
|
testId: string;
|
|
4497
4496
|
durationMs?: number | undefined;
|
|
4498
4497
|
evidence?: {
|
|
4498
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4499
4499
|
id: string;
|
|
4500
4500
|
label: string;
|
|
4501
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4502
4501
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4503
4502
|
locator?: string | undefined;
|
|
4504
4503
|
}[] | undefined;
|
|
@@ -4513,9 +4512,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4513
4512
|
supersedesDecisionIds: string[];
|
|
4514
4513
|
proposedBy: string;
|
|
4515
4514
|
evidence?: {
|
|
4515
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4516
4516
|
id: string;
|
|
4517
4517
|
label: string;
|
|
4518
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4519
4518
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4520
4519
|
locator?: string | undefined;
|
|
4521
4520
|
}[] | undefined;
|
|
@@ -4523,15 +4522,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4523
4522
|
kind: "correction_approved";
|
|
4524
4523
|
correctionId: string;
|
|
4525
4524
|
approvedBy: {
|
|
4525
|
+
kind: "agent" | "human";
|
|
4526
4526
|
id: string;
|
|
4527
4527
|
label: string;
|
|
4528
|
-
kind: "agent" | "human";
|
|
4529
4528
|
};
|
|
4530
4529
|
note?: string | undefined;
|
|
4531
4530
|
evidence?: {
|
|
4531
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4532
4532
|
id: string;
|
|
4533
4533
|
label: string;
|
|
4534
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4535
4534
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4536
4535
|
locator?: string | undefined;
|
|
4537
4536
|
}[] | undefined;
|
|
@@ -4541,9 +4540,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4541
4540
|
correctionId: string;
|
|
4542
4541
|
replacementDecisionId: string;
|
|
4543
4542
|
evidence?: {
|
|
4543
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4544
4544
|
id: string;
|
|
4545
4545
|
label: string;
|
|
4546
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4547
4546
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4548
4547
|
locator?: string | undefined;
|
|
4549
4548
|
}[] | undefined;
|
|
@@ -4556,9 +4555,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4556
4555
|
recallReceiptId: string;
|
|
4557
4556
|
capturedAtAction: boolean;
|
|
4558
4557
|
evidence?: {
|
|
4558
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4559
4559
|
id: string;
|
|
4560
4560
|
label: string;
|
|
4561
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4562
4561
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4563
4562
|
locator?: string | undefined;
|
|
4564
4563
|
}[] | undefined;
|
|
@@ -4571,24 +4570,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4571
4570
|
recallReceiptId: string;
|
|
4572
4571
|
staleDecisionAbsent: boolean;
|
|
4573
4572
|
evidence?: {
|
|
4573
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4574
4574
|
id: string;
|
|
4575
4575
|
label: string;
|
|
4576
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4577
4576
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4578
4577
|
locator?: string | undefined;
|
|
4579
4578
|
}[] | undefined;
|
|
4580
4579
|
} | {
|
|
4581
|
-
summary: string;
|
|
4582
4580
|
kind: "mission_completed";
|
|
4581
|
+
summary: string;
|
|
4583
4582
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4584
4583
|
evidence?: {
|
|
4584
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4585
4585
|
id: string;
|
|
4586
4586
|
label: string;
|
|
4587
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4588
4587
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4589
4588
|
locator?: string | undefined;
|
|
4590
4589
|
}[] | undefined;
|
|
4591
4590
|
};
|
|
4591
|
+
namespace: string;
|
|
4592
4592
|
eventId: string;
|
|
4593
4593
|
occurredAt: string;
|
|
4594
4594
|
missionId: string;
|