@remnic/core 9.22.2 → 9.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-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/src/activity/scheduler.test.ts +14 -1
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";
|
|
872
871
|
id: string;
|
|
873
872
|
label: string;
|
|
873
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
874
874
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
875
875
|
locator?: string | undefined;
|
|
876
876
|
}, {
|
|
877
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
878
877
|
id: string;
|
|
879
878
|
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";
|
|
897
896
|
id: string;
|
|
898
897
|
label: string;
|
|
898
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
899
899
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
900
900
|
locator?: string | undefined;
|
|
901
901
|
}, {
|
|
902
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
903
902
|
id: string;
|
|
904
903
|
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";
|
|
913
912
|
id: string;
|
|
914
913
|
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";
|
|
927
926
|
id: string;
|
|
928
927
|
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";
|
|
945
944
|
id: string;
|
|
946
945
|
label: string;
|
|
946
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
947
947
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
948
948
|
locator?: string | undefined;
|
|
949
949
|
}, {
|
|
950
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
951
950
|
id: string;
|
|
952
951
|
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";
|
|
960
962
|
kind: "agent_status";
|
|
961
963
|
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";
|
|
968
967
|
id: string;
|
|
969
968
|
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";
|
|
975
977
|
kind: "agent_status";
|
|
976
978
|
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";
|
|
984
983
|
id: string;
|
|
985
984
|
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";
|
|
1000
999
|
id: string;
|
|
1001
1000
|
label: string;
|
|
1001
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1002
1002
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1003
1003
|
locator?: string | undefined;
|
|
1004
1004
|
}, {
|
|
1005
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1006
1005
|
id: string;
|
|
1007
1006
|
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
|
-
kind: "agent_output";
|
|
1016
1015
|
summary: string;
|
|
1016
|
+
kind: "agent_output";
|
|
1017
1017
|
agentId: string;
|
|
1018
1018
|
sessionId: string;
|
|
1019
1019
|
evidence: {
|
|
1020
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1021
1020
|
id: string;
|
|
1022
1021
|
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
|
-
kind: "agent_output";
|
|
1029
1028
|
summary: string;
|
|
1029
|
+
kind: "agent_output";
|
|
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";
|
|
1035
1034
|
id: string;
|
|
1036
1035
|
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";
|
|
1053
1052
|
id: string;
|
|
1054
1053
|
label: string;
|
|
1054
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1055
1055
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1056
1056
|
locator?: string | undefined;
|
|
1057
1057
|
}, {
|
|
1058
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1059
1058
|
id: string;
|
|
1060
1059
|
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";
|
|
1074
1073
|
id: string;
|
|
1075
1074
|
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";
|
|
1092
1091
|
id: string;
|
|
1093
1092
|
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";
|
|
1111
1110
|
id: string;
|
|
1112
1111
|
label: string;
|
|
1112
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1113
1113
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1114
1114
|
locator?: string | undefined;
|
|
1115
1115
|
}, {
|
|
1116
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1117
1116
|
id: string;
|
|
1118
1117
|
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
|
-
kind: "conflict_detected";
|
|
1124
1123
|
summary: string;
|
|
1124
|
+
kind: "conflict_detected";
|
|
1125
1125
|
evidence: {
|
|
1126
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1127
1126
|
id: string;
|
|
1128
1127
|
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
|
-
kind: "conflict_detected";
|
|
1137
1136
|
summary: string;
|
|
1137
|
+
kind: "conflict_detected";
|
|
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";
|
|
1143
1142
|
id: string;
|
|
1144
1143
|
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";
|
|
1165
1164
|
id: string;
|
|
1166
1165
|
label: string;
|
|
1166
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1167
1167
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1168
1168
|
locator?: string | undefined;
|
|
1169
1169
|
}, {
|
|
1170
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1171
1170
|
id: string;
|
|
1172
1171
|
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
|
-
kind: "test_result";
|
|
1178
1177
|
summary: string;
|
|
1179
|
-
command: string;
|
|
1180
1178
|
status: "error" | "failed" | "passed";
|
|
1179
|
+
kind: "test_result";
|
|
1180
|
+
command: string;
|
|
1181
1181
|
evidence: {
|
|
1182
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1183
1182
|
id: string;
|
|
1184
1183
|
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
|
-
kind: "test_result";
|
|
1194
1193
|
summary: string;
|
|
1195
|
-
command: string;
|
|
1196
1194
|
status: "error" | "failed" | "passed";
|
|
1195
|
+
kind: "test_result";
|
|
1196
|
+
command: string;
|
|
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";
|
|
1202
1201
|
id: string;
|
|
1203
1202
|
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";
|
|
1225
1224
|
id: string;
|
|
1226
1225
|
label: string;
|
|
1226
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1227
1227
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1228
1228
|
locator?: string | undefined;
|
|
1229
1229
|
}, {
|
|
1230
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1231
1230
|
id: string;
|
|
1232
1231
|
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";
|
|
1242
1241
|
id: string;
|
|
1243
1242
|
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";
|
|
1263
1262
|
id: string;
|
|
1264
1263
|
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";
|
|
1277
1276
|
id: string;
|
|
1278
1277
|
label: string;
|
|
1279
|
-
}, {
|
|
1280
1278
|
kind: "agent" | "human";
|
|
1279
|
+
}, {
|
|
1281
1280
|
id: string;
|
|
1282
1281
|
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";
|
|
1293
1292
|
id: string;
|
|
1294
1293
|
label: string;
|
|
1294
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1295
1295
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1296
1296
|
locator?: string | undefined;
|
|
1297
1297
|
}, {
|
|
1298
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1299
1298
|
id: string;
|
|
1300
1299
|
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";
|
|
1308
1307
|
id: string;
|
|
1309
1308
|
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";
|
|
1316
1315
|
id: string;
|
|
1317
1316
|
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";
|
|
1325
1324
|
id: string;
|
|
1326
1325
|
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";
|
|
1331
1330
|
id: string;
|
|
1332
1331
|
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";
|
|
1349
1348
|
id: string;
|
|
1350
1349
|
label: string;
|
|
1350
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1351
1351
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1352
1352
|
locator?: string | undefined;
|
|
1353
1353
|
}, {
|
|
1354
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1355
1354
|
id: string;
|
|
1356
1355
|
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";
|
|
1364
1363
|
id: string;
|
|
1365
1364
|
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";
|
|
1379
1378
|
id: string;
|
|
1380
1379
|
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";
|
|
1397
1396
|
id: string;
|
|
1398
1397
|
label: string;
|
|
1398
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1399
1399
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1400
1400
|
locator?: string | undefined;
|
|
1401
1401
|
}, {
|
|
1402
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1403
1402
|
id: string;
|
|
1404
1403
|
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";
|
|
1418
1417
|
id: string;
|
|
1419
1418
|
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";
|
|
1436
1435
|
id: string;
|
|
1437
1436
|
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";
|
|
1454
1453
|
id: string;
|
|
1455
1454
|
label: string;
|
|
1455
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1456
1456
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1457
1457
|
locator?: string | undefined;
|
|
1458
1458
|
}, {
|
|
1459
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1460
1459
|
id: string;
|
|
1461
1460
|
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";
|
|
1474
1473
|
id: string;
|
|
1475
1474
|
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";
|
|
1493
1492
|
id: string;
|
|
1494
1493
|
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";
|
|
1510
1509
|
id: string;
|
|
1511
1510
|
label: string;
|
|
1511
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1512
1512
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1513
1513
|
locator?: string | undefined;
|
|
1514
1514
|
}, {
|
|
1515
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1516
1515
|
id: string;
|
|
1517
1516
|
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
|
-
kind: "mission_completed";
|
|
1523
1522
|
summary: string;
|
|
1523
|
+
kind: "mission_completed";
|
|
1524
1524
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1525
1525
|
evidence: {
|
|
1526
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1527
1526
|
id: string;
|
|
1528
1527
|
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
|
-
kind: "mission_completed";
|
|
1534
1533
|
summary: string;
|
|
1534
|
+
kind: "mission_completed";
|
|
1535
1535
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1536
1536
|
evidence?: {
|
|
1537
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1538
1537
|
id: string;
|
|
1539
1538
|
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";
|
|
1548
1547
|
id: string;
|
|
1549
1548
|
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";
|
|
1556
1558
|
kind: "agent_status";
|
|
1557
1559
|
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";
|
|
1564
1563
|
id: string;
|
|
1565
1564
|
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
|
-
kind: "agent_output";
|
|
1572
1571
|
summary: string;
|
|
1572
|
+
kind: "agent_output";
|
|
1573
1573
|
agentId: string;
|
|
1574
1574
|
sessionId: string;
|
|
1575
1575
|
evidence: {
|
|
1576
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1577
1576
|
id: string;
|
|
1578
1577
|
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";
|
|
1590
1589
|
id: string;
|
|
1591
1590
|
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
|
-
kind: "conflict_detected";
|
|
1600
1599
|
summary: string;
|
|
1600
|
+
kind: "conflict_detected";
|
|
1601
1601
|
evidence: {
|
|
1602
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1603
1602
|
id: string;
|
|
1604
1603
|
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
|
-
kind: "test_result";
|
|
1613
1612
|
summary: string;
|
|
1614
|
-
command: string;
|
|
1615
1613
|
status: "error" | "failed" | "passed";
|
|
1614
|
+
kind: "test_result";
|
|
1615
|
+
command: string;
|
|
1616
1616
|
evidence: {
|
|
1617
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1618
1617
|
id: string;
|
|
1619
1618
|
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";
|
|
1633
1632
|
id: string;
|
|
1634
1633
|
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";
|
|
1647
1646
|
id: string;
|
|
1648
1647
|
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";
|
|
1655
1654
|
id: string;
|
|
1656
1655
|
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";
|
|
1663
1662
|
id: string;
|
|
1664
1663
|
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";
|
|
1678
1677
|
id: string;
|
|
1679
1678
|
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";
|
|
1692
1691
|
id: string;
|
|
1693
1692
|
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
|
-
kind: "mission_completed";
|
|
1703
1702
|
summary: string;
|
|
1703
|
+
kind: "mission_completed";
|
|
1704
1704
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1705
1705
|
evidence: {
|
|
1706
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1707
1706
|
id: string;
|
|
1708
1707
|
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";
|
|
1719
1718
|
id: string;
|
|
1720
1719
|
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";
|
|
1725
1727
|
kind: "agent_status";
|
|
1726
1728
|
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";
|
|
1734
1733
|
id: string;
|
|
1735
1734
|
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
|
-
kind: "agent_output";
|
|
1741
1740
|
summary: string;
|
|
1741
|
+
kind: "agent_output";
|
|
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";
|
|
1747
1746
|
id: string;
|
|
1748
1747
|
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";
|
|
1762
1761
|
id: string;
|
|
1763
1762
|
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
|
-
kind: "conflict_detected";
|
|
1769
1768
|
summary: string;
|
|
1769
|
+
kind: "conflict_detected";
|
|
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";
|
|
1775
1774
|
id: string;
|
|
1776
1775
|
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
|
-
kind: "test_result";
|
|
1782
1781
|
summary: string;
|
|
1783
|
-
command: string;
|
|
1784
1782
|
status: "error" | "failed" | "passed";
|
|
1783
|
+
kind: "test_result";
|
|
1784
|
+
command: string;
|
|
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";
|
|
1790
1789
|
id: string;
|
|
1791
1790
|
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";
|
|
1807
1806
|
id: string;
|
|
1808
1807
|
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";
|
|
1817
1816
|
id: string;
|
|
1818
1817
|
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";
|
|
1823
1822
|
id: string;
|
|
1824
1823
|
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";
|
|
1835
1834
|
id: string;
|
|
1836
1835
|
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";
|
|
1850
1849
|
id: string;
|
|
1851
1850
|
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";
|
|
1865
1864
|
id: string;
|
|
1866
1865
|
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
|
-
kind: "mission_completed";
|
|
1872
1871
|
summary: string;
|
|
1872
|
+
kind: "mission_completed";
|
|
1873
1873
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1874
1874
|
evidence?: {
|
|
1875
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1876
1875
|
id: string;
|
|
1877
1876
|
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";
|
|
1899
1898
|
id: string;
|
|
1900
1899
|
label: string;
|
|
1900
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1901
1901
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1902
1902
|
locator?: string | undefined;
|
|
1903
1903
|
}, {
|
|
1904
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1905
1904
|
id: string;
|
|
1906
1905
|
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";
|
|
1915
1914
|
id: string;
|
|
1916
1915
|
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";
|
|
1929
1928
|
id: string;
|
|
1930
1929
|
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";
|
|
1947
1946
|
id: string;
|
|
1948
1947
|
label: string;
|
|
1948
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1949
1949
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1950
1950
|
locator?: string | undefined;
|
|
1951
1951
|
}, {
|
|
1952
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1953
1952
|
id: string;
|
|
1954
1953
|
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";
|
|
1962
1964
|
kind: "agent_status";
|
|
1963
1965
|
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";
|
|
1970
1969
|
id: string;
|
|
1971
1970
|
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";
|
|
1977
1979
|
kind: "agent_status";
|
|
1978
1980
|
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";
|
|
1986
1985
|
id: string;
|
|
1987
1986
|
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";
|
|
2002
2001
|
id: string;
|
|
2003
2002
|
label: string;
|
|
2003
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2004
2004
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2005
2005
|
locator?: string | undefined;
|
|
2006
2006
|
}, {
|
|
2007
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2008
2007
|
id: string;
|
|
2009
2008
|
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
|
-
kind: "agent_output";
|
|
2018
2017
|
summary: string;
|
|
2018
|
+
kind: "agent_output";
|
|
2019
2019
|
agentId: string;
|
|
2020
2020
|
sessionId: string;
|
|
2021
2021
|
evidence: {
|
|
2022
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2023
2022
|
id: string;
|
|
2024
2023
|
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
|
-
kind: "agent_output";
|
|
2031
2030
|
summary: string;
|
|
2031
|
+
kind: "agent_output";
|
|
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";
|
|
2037
2036
|
id: string;
|
|
2038
2037
|
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";
|
|
2055
2054
|
id: string;
|
|
2056
2055
|
label: string;
|
|
2056
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2057
2057
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2058
2058
|
locator?: string | undefined;
|
|
2059
2059
|
}, {
|
|
2060
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2061
2060
|
id: string;
|
|
2062
2061
|
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";
|
|
2076
2075
|
id: string;
|
|
2077
2076
|
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";
|
|
2094
2093
|
id: string;
|
|
2095
2094
|
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";
|
|
2113
2112
|
id: string;
|
|
2114
2113
|
label: string;
|
|
2114
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2115
2115
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2116
2116
|
locator?: string | undefined;
|
|
2117
2117
|
}, {
|
|
2118
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2119
2118
|
id: string;
|
|
2120
2119
|
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
|
-
kind: "conflict_detected";
|
|
2126
2125
|
summary: string;
|
|
2126
|
+
kind: "conflict_detected";
|
|
2127
2127
|
evidence: {
|
|
2128
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2129
2128
|
id: string;
|
|
2130
2129
|
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
|
-
kind: "conflict_detected";
|
|
2139
2138
|
summary: string;
|
|
2139
|
+
kind: "conflict_detected";
|
|
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";
|
|
2145
2144
|
id: string;
|
|
2146
2145
|
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";
|
|
2167
2166
|
id: string;
|
|
2168
2167
|
label: string;
|
|
2168
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2169
2169
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2170
2170
|
locator?: string | undefined;
|
|
2171
2171
|
}, {
|
|
2172
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2173
2172
|
id: string;
|
|
2174
2173
|
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
|
-
kind: "test_result";
|
|
2180
2179
|
summary: string;
|
|
2181
|
-
command: string;
|
|
2182
2180
|
status: "error" | "failed" | "passed";
|
|
2181
|
+
kind: "test_result";
|
|
2182
|
+
command: string;
|
|
2183
2183
|
evidence: {
|
|
2184
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2185
2184
|
id: string;
|
|
2186
2185
|
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
|
-
kind: "test_result";
|
|
2196
2195
|
summary: string;
|
|
2197
|
-
command: string;
|
|
2198
2196
|
status: "error" | "failed" | "passed";
|
|
2197
|
+
kind: "test_result";
|
|
2198
|
+
command: string;
|
|
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";
|
|
2204
2203
|
id: string;
|
|
2205
2204
|
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";
|
|
2227
2226
|
id: string;
|
|
2228
2227
|
label: string;
|
|
2228
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2229
2229
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2230
2230
|
locator?: string | undefined;
|
|
2231
2231
|
}, {
|
|
2232
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2233
2232
|
id: string;
|
|
2234
2233
|
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";
|
|
2244
2243
|
id: string;
|
|
2245
2244
|
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";
|
|
2265
2264
|
id: string;
|
|
2266
2265
|
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";
|
|
2279
2278
|
id: string;
|
|
2280
2279
|
label: string;
|
|
2281
|
-
}, {
|
|
2282
2280
|
kind: "agent" | "human";
|
|
2281
|
+
}, {
|
|
2283
2282
|
id: string;
|
|
2284
2283
|
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";
|
|
2295
2294
|
id: string;
|
|
2296
2295
|
label: string;
|
|
2296
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2297
2297
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2298
2298
|
locator?: string | undefined;
|
|
2299
2299
|
}, {
|
|
2300
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2301
2300
|
id: string;
|
|
2302
2301
|
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";
|
|
2310
2309
|
id: string;
|
|
2311
2310
|
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";
|
|
2318
2317
|
id: string;
|
|
2319
2318
|
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";
|
|
2327
2326
|
id: string;
|
|
2328
2327
|
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";
|
|
2333
2332
|
id: string;
|
|
2334
2333
|
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";
|
|
2351
2350
|
id: string;
|
|
2352
2351
|
label: string;
|
|
2352
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2353
2353
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2354
2354
|
locator?: string | undefined;
|
|
2355
2355
|
}, {
|
|
2356
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2357
2356
|
id: string;
|
|
2358
2357
|
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";
|
|
2366
2365
|
id: string;
|
|
2367
2366
|
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";
|
|
2381
2380
|
id: string;
|
|
2382
2381
|
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";
|
|
2399
2398
|
id: string;
|
|
2400
2399
|
label: string;
|
|
2400
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2401
2401
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2402
2402
|
locator?: string | undefined;
|
|
2403
2403
|
}, {
|
|
2404
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2405
2404
|
id: string;
|
|
2406
2405
|
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";
|
|
2420
2419
|
id: string;
|
|
2421
2420
|
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";
|
|
2438
2437
|
id: string;
|
|
2439
2438
|
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";
|
|
2456
2455
|
id: string;
|
|
2457
2456
|
label: string;
|
|
2457
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2458
2458
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2459
2459
|
locator?: string | undefined;
|
|
2460
2460
|
}, {
|
|
2461
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2462
2461
|
id: string;
|
|
2463
2462
|
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";
|
|
2476
2475
|
id: string;
|
|
2477
2476
|
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";
|
|
2495
2494
|
id: string;
|
|
2496
2495
|
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";
|
|
2512
2511
|
id: string;
|
|
2513
2512
|
label: string;
|
|
2513
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2514
2514
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2515
2515
|
locator?: string | undefined;
|
|
2516
2516
|
}, {
|
|
2517
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2518
2517
|
id: string;
|
|
2519
2518
|
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
|
-
kind: "mission_completed";
|
|
2525
2524
|
summary: string;
|
|
2525
|
+
kind: "mission_completed";
|
|
2526
2526
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2527
2527
|
evidence: {
|
|
2528
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2529
2528
|
id: string;
|
|
2530
2529
|
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
|
-
kind: "mission_completed";
|
|
2536
2535
|
summary: string;
|
|
2536
|
+
kind: "mission_completed";
|
|
2537
2537
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2538
2538
|
evidence?: {
|
|
2539
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2540
2539
|
id: string;
|
|
2541
2540
|
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";
|
|
2550
2549
|
id: string;
|
|
2551
2550
|
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";
|
|
2558
2560
|
kind: "agent_status";
|
|
2559
2561
|
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";
|
|
2566
2565
|
id: string;
|
|
2567
2566
|
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
|
-
kind: "agent_output";
|
|
2574
2573
|
summary: string;
|
|
2574
|
+
kind: "agent_output";
|
|
2575
2575
|
agentId: string;
|
|
2576
2576
|
sessionId: string;
|
|
2577
2577
|
evidence: {
|
|
2578
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2579
2578
|
id: string;
|
|
2580
2579
|
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";
|
|
2592
2591
|
id: string;
|
|
2593
2592
|
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
|
-
kind: "conflict_detected";
|
|
2602
2601
|
summary: string;
|
|
2602
|
+
kind: "conflict_detected";
|
|
2603
2603
|
evidence: {
|
|
2604
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2605
2604
|
id: string;
|
|
2606
2605
|
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
|
-
kind: "test_result";
|
|
2615
2614
|
summary: string;
|
|
2616
|
-
command: string;
|
|
2617
2615
|
status: "error" | "failed" | "passed";
|
|
2616
|
+
kind: "test_result";
|
|
2617
|
+
command: string;
|
|
2618
2618
|
evidence: {
|
|
2619
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2620
2619
|
id: string;
|
|
2621
2620
|
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";
|
|
2635
2634
|
id: string;
|
|
2636
2635
|
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";
|
|
2649
2648
|
id: string;
|
|
2650
2649
|
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";
|
|
2657
2656
|
id: string;
|
|
2658
2657
|
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";
|
|
2665
2664
|
id: string;
|
|
2666
2665
|
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";
|
|
2680
2679
|
id: string;
|
|
2681
2680
|
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";
|
|
2694
2693
|
id: string;
|
|
2695
2694
|
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
|
-
kind: "mission_completed";
|
|
2705
2704
|
summary: string;
|
|
2705
|
+
kind: "mission_completed";
|
|
2706
2706
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2707
2707
|
evidence: {
|
|
2708
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2709
2708
|
id: string;
|
|
2710
2709
|
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";
|
|
2721
2720
|
id: string;
|
|
2722
2721
|
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";
|
|
2727
2729
|
kind: "agent_status";
|
|
2728
2730
|
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";
|
|
2736
2735
|
id: string;
|
|
2737
2736
|
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
|
-
kind: "agent_output";
|
|
2743
2742
|
summary: string;
|
|
2743
|
+
kind: "agent_output";
|
|
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";
|
|
2749
2748
|
id: string;
|
|
2750
2749
|
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";
|
|
2764
2763
|
id: string;
|
|
2765
2764
|
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
|
-
kind: "conflict_detected";
|
|
2771
2770
|
summary: string;
|
|
2771
|
+
kind: "conflict_detected";
|
|
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";
|
|
2777
2776
|
id: string;
|
|
2778
2777
|
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
|
-
kind: "test_result";
|
|
2784
2783
|
summary: string;
|
|
2785
|
-
command: string;
|
|
2786
2784
|
status: "error" | "failed" | "passed";
|
|
2785
|
+
kind: "test_result";
|
|
2786
|
+
command: string;
|
|
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";
|
|
2792
2791
|
id: string;
|
|
2793
2792
|
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";
|
|
2809
2808
|
id: string;
|
|
2810
2809
|
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";
|
|
2819
2818
|
id: string;
|
|
2820
2819
|
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";
|
|
2825
2824
|
id: string;
|
|
2826
2825
|
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";
|
|
2837
2836
|
id: string;
|
|
2838
2837
|
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";
|
|
2852
2851
|
id: string;
|
|
2853
2852
|
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";
|
|
2867
2866
|
id: string;
|
|
2868
2867
|
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
|
-
kind: "mission_completed";
|
|
2874
2873
|
summary: string;
|
|
2874
|
+
kind: "mission_completed";
|
|
2875
2875
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2876
2876
|
evidence?: {
|
|
2877
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2878
2877
|
id: string;
|
|
2879
2878
|
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";
|
|
2890
2889
|
id: string;
|
|
2891
2890
|
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";
|
|
2898
2900
|
kind: "agent_status";
|
|
2899
2901
|
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";
|
|
2906
2905
|
id: string;
|
|
2907
2906
|
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
|
-
kind: "agent_output";
|
|
2914
2913
|
summary: string;
|
|
2914
|
+
kind: "agent_output";
|
|
2915
2915
|
agentId: string;
|
|
2916
2916
|
sessionId: string;
|
|
2917
2917
|
evidence: {
|
|
2918
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2919
2918
|
id: string;
|
|
2920
2919
|
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";
|
|
2932
2931
|
id: string;
|
|
2933
2932
|
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
|
-
kind: "conflict_detected";
|
|
2942
2941
|
summary: string;
|
|
2942
|
+
kind: "conflict_detected";
|
|
2943
2943
|
evidence: {
|
|
2944
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2945
2944
|
id: string;
|
|
2946
2945
|
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
|
-
kind: "test_result";
|
|
2955
2954
|
summary: string;
|
|
2956
|
-
command: string;
|
|
2957
2955
|
status: "error" | "failed" | "passed";
|
|
2956
|
+
kind: "test_result";
|
|
2957
|
+
command: string;
|
|
2958
2958
|
evidence: {
|
|
2959
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2960
2959
|
id: string;
|
|
2961
2960
|
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";
|
|
2975
2974
|
id: string;
|
|
2976
2975
|
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";
|
|
2989
2988
|
id: string;
|
|
2990
2989
|
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";
|
|
2997
2996
|
id: string;
|
|
2998
2997
|
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";
|
|
3005
3004
|
id: string;
|
|
3006
3005
|
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";
|
|
3020
3019
|
id: string;
|
|
3021
3020
|
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";
|
|
3034
3033
|
id: string;
|
|
3035
3034
|
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
|
-
kind: "mission_completed";
|
|
3045
3044
|
summary: string;
|
|
3045
|
+
kind: "mission_completed";
|
|
3046
3046
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3047
3047
|
evidence: {
|
|
3048
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3049
3048
|
id: string;
|
|
3050
3049
|
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";
|
|
3065
3064
|
id: string;
|
|
3066
3065
|
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";
|
|
3071
3073
|
kind: "agent_status";
|
|
3072
3074
|
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";
|
|
3080
3079
|
id: string;
|
|
3081
3080
|
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
|
-
kind: "agent_output";
|
|
3087
3086
|
summary: string;
|
|
3087
|
+
kind: "agent_output";
|
|
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";
|
|
3093
3092
|
id: string;
|
|
3094
3093
|
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";
|
|
3108
3107
|
id: string;
|
|
3109
3108
|
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
|
-
kind: "conflict_detected";
|
|
3115
3114
|
summary: string;
|
|
3115
|
+
kind: "conflict_detected";
|
|
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";
|
|
3121
3120
|
id: string;
|
|
3122
3121
|
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
|
-
kind: "test_result";
|
|
3128
3127
|
summary: string;
|
|
3129
|
-
command: string;
|
|
3130
3128
|
status: "error" | "failed" | "passed";
|
|
3129
|
+
kind: "test_result";
|
|
3130
|
+
command: string;
|
|
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";
|
|
3136
3135
|
id: string;
|
|
3137
3136
|
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";
|
|
3153
3152
|
id: string;
|
|
3154
3153
|
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";
|
|
3163
3162
|
id: string;
|
|
3164
3163
|
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";
|
|
3169
3168
|
id: string;
|
|
3170
3169
|
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";
|
|
3181
3180
|
id: string;
|
|
3182
3181
|
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";
|
|
3196
3195
|
id: string;
|
|
3197
3196
|
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";
|
|
3211
3210
|
id: string;
|
|
3212
3211
|
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
|
-
kind: "mission_completed";
|
|
3218
3217
|
summary: string;
|
|
3218
|
+
kind: "mission_completed";
|
|
3219
3219
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3220
3220
|
evidence?: {
|
|
3221
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3222
3221
|
id: string;
|
|
3223
3222
|
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";
|
|
3254
3253
|
id: string;
|
|
3255
3254
|
label: string;
|
|
3255
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3256
3256
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3257
3257
|
locator?: string | undefined;
|
|
3258
3258
|
}, {
|
|
3259
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3260
3259
|
id: string;
|
|
3261
3260
|
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";
|
|
3270
3269
|
id: string;
|
|
3271
3270
|
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";
|
|
3284
3283
|
id: string;
|
|
3285
3284
|
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";
|
|
3302
3301
|
id: string;
|
|
3303
3302
|
label: string;
|
|
3303
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3304
3304
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3305
3305
|
locator?: string | undefined;
|
|
3306
3306
|
}, {
|
|
3307
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3308
3307
|
id: string;
|
|
3309
3308
|
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";
|
|
3317
3319
|
kind: "agent_status";
|
|
3318
3320
|
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";
|
|
3325
3324
|
id: string;
|
|
3326
3325
|
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";
|
|
3332
3334
|
kind: "agent_status";
|
|
3333
3335
|
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";
|
|
3341
3340
|
id: string;
|
|
3342
3341
|
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";
|
|
3357
3356
|
id: string;
|
|
3358
3357
|
label: string;
|
|
3358
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3359
3359
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3360
3360
|
locator?: string | undefined;
|
|
3361
3361
|
}, {
|
|
3362
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3363
3362
|
id: string;
|
|
3364
3363
|
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
|
-
kind: "agent_output";
|
|
3373
3372
|
summary: string;
|
|
3373
|
+
kind: "agent_output";
|
|
3374
3374
|
agentId: string;
|
|
3375
3375
|
sessionId: string;
|
|
3376
3376
|
evidence: {
|
|
3377
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3378
3377
|
id: string;
|
|
3379
3378
|
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
|
-
kind: "agent_output";
|
|
3386
3385
|
summary: string;
|
|
3386
|
+
kind: "agent_output";
|
|
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";
|
|
3392
3391
|
id: string;
|
|
3393
3392
|
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";
|
|
3410
3409
|
id: string;
|
|
3411
3410
|
label: string;
|
|
3411
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3412
3412
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3413
3413
|
locator?: string | undefined;
|
|
3414
3414
|
}, {
|
|
3415
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3416
3415
|
id: string;
|
|
3417
3416
|
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";
|
|
3431
3430
|
id: string;
|
|
3432
3431
|
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";
|
|
3449
3448
|
id: string;
|
|
3450
3449
|
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";
|
|
3468
3467
|
id: string;
|
|
3469
3468
|
label: string;
|
|
3469
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3470
3470
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3471
3471
|
locator?: string | undefined;
|
|
3472
3472
|
}, {
|
|
3473
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3474
3473
|
id: string;
|
|
3475
3474
|
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
|
-
kind: "conflict_detected";
|
|
3481
3480
|
summary: string;
|
|
3481
|
+
kind: "conflict_detected";
|
|
3482
3482
|
evidence: {
|
|
3483
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3484
3483
|
id: string;
|
|
3485
3484
|
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
|
-
kind: "conflict_detected";
|
|
3494
3493
|
summary: string;
|
|
3494
|
+
kind: "conflict_detected";
|
|
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";
|
|
3500
3499
|
id: string;
|
|
3501
3500
|
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";
|
|
3522
3521
|
id: string;
|
|
3523
3522
|
label: string;
|
|
3523
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3524
3524
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3525
3525
|
locator?: string | undefined;
|
|
3526
3526
|
}, {
|
|
3527
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3528
3527
|
id: string;
|
|
3529
3528
|
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
|
-
kind: "test_result";
|
|
3535
3534
|
summary: string;
|
|
3536
|
-
command: string;
|
|
3537
3535
|
status: "error" | "failed" | "passed";
|
|
3536
|
+
kind: "test_result";
|
|
3537
|
+
command: string;
|
|
3538
3538
|
evidence: {
|
|
3539
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3540
3539
|
id: string;
|
|
3541
3540
|
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
|
-
kind: "test_result";
|
|
3551
3550
|
summary: string;
|
|
3552
|
-
command: string;
|
|
3553
3551
|
status: "error" | "failed" | "passed";
|
|
3552
|
+
kind: "test_result";
|
|
3553
|
+
command: string;
|
|
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";
|
|
3559
3558
|
id: string;
|
|
3560
3559
|
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";
|
|
3582
3581
|
id: string;
|
|
3583
3582
|
label: string;
|
|
3583
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3584
3584
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3585
3585
|
locator?: string | undefined;
|
|
3586
3586
|
}, {
|
|
3587
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3588
3587
|
id: string;
|
|
3589
3588
|
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";
|
|
3599
3598
|
id: string;
|
|
3600
3599
|
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";
|
|
3620
3619
|
id: string;
|
|
3621
3620
|
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";
|
|
3634
3633
|
id: string;
|
|
3635
3634
|
label: string;
|
|
3636
|
-
}, {
|
|
3637
3635
|
kind: "agent" | "human";
|
|
3636
|
+
}, {
|
|
3638
3637
|
id: string;
|
|
3639
3638
|
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";
|
|
3650
3649
|
id: string;
|
|
3651
3650
|
label: string;
|
|
3651
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3652
3652
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3653
3653
|
locator?: string | undefined;
|
|
3654
3654
|
}, {
|
|
3655
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3656
3655
|
id: string;
|
|
3657
3656
|
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";
|
|
3665
3664
|
id: string;
|
|
3666
3665
|
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";
|
|
3673
3672
|
id: string;
|
|
3674
3673
|
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";
|
|
3682
3681
|
id: string;
|
|
3683
3682
|
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";
|
|
3688
3687
|
id: string;
|
|
3689
3688
|
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";
|
|
3706
3705
|
id: string;
|
|
3707
3706
|
label: string;
|
|
3707
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3708
3708
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3709
3709
|
locator?: string | undefined;
|
|
3710
3710
|
}, {
|
|
3711
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3712
3711
|
id: string;
|
|
3713
3712
|
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";
|
|
3721
3720
|
id: string;
|
|
3722
3721
|
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";
|
|
3736
3735
|
id: string;
|
|
3737
3736
|
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";
|
|
3754
3753
|
id: string;
|
|
3755
3754
|
label: string;
|
|
3755
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3756
3756
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3757
3757
|
locator?: string | undefined;
|
|
3758
3758
|
}, {
|
|
3759
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3760
3759
|
id: string;
|
|
3761
3760
|
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";
|
|
3775
3774
|
id: string;
|
|
3776
3775
|
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";
|
|
3793
3792
|
id: string;
|
|
3794
3793
|
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";
|
|
3811
3810
|
id: string;
|
|
3812
3811
|
label: string;
|
|
3812
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3813
3813
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3814
3814
|
locator?: string | undefined;
|
|
3815
3815
|
}, {
|
|
3816
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3817
3816
|
id: string;
|
|
3818
3817
|
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";
|
|
3831
3830
|
id: string;
|
|
3832
3831
|
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";
|
|
3850
3849
|
id: string;
|
|
3851
3850
|
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";
|
|
3867
3866
|
id: string;
|
|
3868
3867
|
label: string;
|
|
3868
|
+
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3869
3869
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3870
3870
|
locator?: string | undefined;
|
|
3871
3871
|
}, {
|
|
3872
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3873
3872
|
id: string;
|
|
3874
3873
|
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
|
-
kind: "mission_completed";
|
|
3880
3879
|
summary: string;
|
|
3880
|
+
kind: "mission_completed";
|
|
3881
3881
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3882
3882
|
evidence: {
|
|
3883
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3884
3883
|
id: string;
|
|
3885
3884
|
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
|
-
kind: "mission_completed";
|
|
3891
3890
|
summary: string;
|
|
3891
|
+
kind: "mission_completed";
|
|
3892
3892
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3893
3893
|
evidence?: {
|
|
3894
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3895
3894
|
id: string;
|
|
3896
3895
|
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";
|
|
3905
3904
|
id: string;
|
|
3906
3905
|
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";
|
|
3913
3915
|
kind: "agent_status";
|
|
3914
3916
|
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";
|
|
3921
3920
|
id: string;
|
|
3922
3921
|
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
|
-
kind: "agent_output";
|
|
3929
3928
|
summary: string;
|
|
3929
|
+
kind: "agent_output";
|
|
3930
3930
|
agentId: string;
|
|
3931
3931
|
sessionId: string;
|
|
3932
3932
|
evidence: {
|
|
3933
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3934
3933
|
id: string;
|
|
3935
3934
|
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";
|
|
3947
3946
|
id: string;
|
|
3948
3947
|
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
|
-
kind: "conflict_detected";
|
|
3957
3956
|
summary: string;
|
|
3957
|
+
kind: "conflict_detected";
|
|
3958
3958
|
evidence: {
|
|
3959
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3960
3959
|
id: string;
|
|
3961
3960
|
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
|
-
kind: "test_result";
|
|
3970
3969
|
summary: string;
|
|
3971
|
-
command: string;
|
|
3972
3970
|
status: "error" | "failed" | "passed";
|
|
3971
|
+
kind: "test_result";
|
|
3972
|
+
command: string;
|
|
3973
3973
|
evidence: {
|
|
3974
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3975
3974
|
id: string;
|
|
3976
3975
|
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";
|
|
3990
3989
|
id: string;
|
|
3991
3990
|
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";
|
|
4004
4003
|
id: string;
|
|
4005
4004
|
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";
|
|
4012
4011
|
id: string;
|
|
4013
4012
|
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";
|
|
4020
4019
|
id: string;
|
|
4021
4020
|
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";
|
|
4035
4034
|
id: string;
|
|
4036
4035
|
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";
|
|
4049
4048
|
id: string;
|
|
4050
4049
|
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
|
-
kind: "mission_completed";
|
|
4060
4059
|
summary: string;
|
|
4060
|
+
kind: "mission_completed";
|
|
4061
4061
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4062
4062
|
evidence: {
|
|
4063
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4064
4063
|
id: string;
|
|
4065
4064
|
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";
|
|
4076
4075
|
id: string;
|
|
4077
4076
|
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";
|
|
4082
4084
|
kind: "agent_status";
|
|
4083
4085
|
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";
|
|
4091
4090
|
id: string;
|
|
4092
4091
|
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
|
-
kind: "agent_output";
|
|
4098
4097
|
summary: string;
|
|
4098
|
+
kind: "agent_output";
|
|
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";
|
|
4104
4103
|
id: string;
|
|
4105
4104
|
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";
|
|
4119
4118
|
id: string;
|
|
4120
4119
|
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
|
-
kind: "conflict_detected";
|
|
4126
4125
|
summary: string;
|
|
4126
|
+
kind: "conflict_detected";
|
|
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";
|
|
4132
4131
|
id: string;
|
|
4133
4132
|
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
|
-
kind: "test_result";
|
|
4139
4138
|
summary: string;
|
|
4140
|
-
command: string;
|
|
4141
4139
|
status: "error" | "failed" | "passed";
|
|
4140
|
+
kind: "test_result";
|
|
4141
|
+
command: string;
|
|
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";
|
|
4147
4146
|
id: string;
|
|
4148
4147
|
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";
|
|
4164
4163
|
id: string;
|
|
4165
4164
|
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";
|
|
4174
4173
|
id: string;
|
|
4175
4174
|
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";
|
|
4180
4179
|
id: string;
|
|
4181
4180
|
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";
|
|
4192
4191
|
id: string;
|
|
4193
4192
|
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";
|
|
4207
4206
|
id: string;
|
|
4208
4207
|
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,63 +4218,64 @@ 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";
|
|
4222
4221
|
id: string;
|
|
4223
4222
|
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
|
-
kind: "mission_completed";
|
|
4229
4228
|
summary: string;
|
|
4229
|
+
kind: "mission_completed";
|
|
4230
4230
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4231
4231
|
evidence?: {
|
|
4232
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4233
4232
|
id: string;
|
|
4234
4233
|
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
|
-
|
|
4240
|
+
namespace: string;
|
|
4241
4241
|
recordedAt: string;
|
|
4242
|
+
schemaVersion: "1";
|
|
4242
4243
|
payload: {
|
|
4243
4244
|
kind: "mission_started";
|
|
4244
4245
|
title: string;
|
|
4245
4246
|
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";
|
|
4249
4250
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4250
4251
|
locator?: string | undefined;
|
|
4251
4252
|
}[];
|
|
4252
4253
|
objective: string;
|
|
4253
4254
|
runMode: "replay" | "fixture" | "live";
|
|
4254
4255
|
} | {
|
|
4256
|
+
label: string;
|
|
4257
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4255
4258
|
kind: "agent_status";
|
|
4256
4259
|
role: string;
|
|
4257
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4258
|
-
label: string;
|
|
4259
4260
|
agentId: string;
|
|
4260
4261
|
sessionId: string;
|
|
4261
4262
|
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";
|
|
4265
4266
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4266
4267
|
locator?: string | undefined;
|
|
4267
4268
|
}[];
|
|
4268
4269
|
detail?: string | undefined;
|
|
4269
4270
|
} | {
|
|
4270
|
-
kind: "agent_output";
|
|
4271
4271
|
summary: string;
|
|
4272
|
+
kind: "agent_output";
|
|
4272
4273
|
agentId: string;
|
|
4273
4274
|
sessionId: string;
|
|
4274
4275
|
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";
|
|
4278
4279
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4279
4280
|
locator?: string | undefined;
|
|
4280
4281
|
}[];
|
|
@@ -4285,9 +4286,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4285
4286
|
statement: string;
|
|
4286
4287
|
sessionId: string;
|
|
4287
4288
|
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";
|
|
4291
4292
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4292
4293
|
locator?: string | undefined;
|
|
4293
4294
|
}[];
|
|
@@ -4295,12 +4296,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4295
4296
|
decisionId: string;
|
|
4296
4297
|
confidence?: number | undefined;
|
|
4297
4298
|
} | {
|
|
4298
|
-
kind: "conflict_detected";
|
|
4299
4299
|
summary: string;
|
|
4300
|
+
kind: "conflict_detected";
|
|
4300
4301
|
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";
|
|
4304
4305
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4305
4306
|
locator?: string | undefined;
|
|
4306
4307
|
}[];
|
|
@@ -4308,14 +4309,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4308
4309
|
decisionIds: string[];
|
|
4309
4310
|
agentIds: string[];
|
|
4310
4311
|
} | {
|
|
4311
|
-
kind: "test_result";
|
|
4312
4312
|
summary: string;
|
|
4313
|
-
command: string;
|
|
4314
4313
|
status: "error" | "failed" | "passed";
|
|
4314
|
+
kind: "test_result";
|
|
4315
|
+
command: string;
|
|
4315
4316
|
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";
|
|
4319
4320
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4320
4321
|
locator?: string | undefined;
|
|
4321
4322
|
}[];
|
|
@@ -4328,9 +4329,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4328
4329
|
rationale: string;
|
|
4329
4330
|
statement: string;
|
|
4330
4331
|
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";
|
|
4334
4335
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4335
4336
|
locator?: string | undefined;
|
|
4336
4337
|
}[];
|
|
@@ -4342,25 +4343,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4342
4343
|
} | {
|
|
4343
4344
|
kind: "correction_approved";
|
|
4344
4345
|
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";
|
|
4348
4349
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4349
4350
|
locator?: string | undefined;
|
|
4350
4351
|
}[];
|
|
4351
4352
|
correctionId: string;
|
|
4352
4353
|
approvedBy: {
|
|
4353
|
-
kind: "agent" | "human";
|
|
4354
4354
|
id: string;
|
|
4355
4355
|
label: string;
|
|
4356
|
+
kind: "agent" | "human";
|
|
4356
4357
|
};
|
|
4357
4358
|
note?: string | undefined;
|
|
4358
4359
|
} | {
|
|
4359
4360
|
kind: "decision_superseded";
|
|
4360
4361
|
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";
|
|
4364
4365
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4365
4366
|
locator?: string | undefined;
|
|
4366
4367
|
}[];
|
|
@@ -4373,9 +4374,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4373
4374
|
agentId: string;
|
|
4374
4375
|
sessionId: string;
|
|
4375
4376
|
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";
|
|
4379
4380
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4380
4381
|
locator?: string | undefined;
|
|
4381
4382
|
}[];
|
|
@@ -4387,9 +4388,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4387
4388
|
agentId: string;
|
|
4388
4389
|
sessionId: string;
|
|
4389
4390
|
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";
|
|
4393
4394
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4394
4395
|
locator?: string | undefined;
|
|
4395
4396
|
}[];
|
|
@@ -4398,63 +4399,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4398
4399
|
recallReceiptId: string;
|
|
4399
4400
|
staleDecisionAbsent: boolean;
|
|
4400
4401
|
} | {
|
|
4401
|
-
kind: "mission_completed";
|
|
4402
4402
|
summary: string;
|
|
4403
|
+
kind: "mission_completed";
|
|
4403
4404
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4404
4405
|
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";
|
|
4408
4409
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4409
4410
|
locator?: string | undefined;
|
|
4410
4411
|
}[];
|
|
4411
4412
|
};
|
|
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
|
-
|
|
4419
|
+
namespace: string;
|
|
4420
4420
|
recordedAt: string;
|
|
4421
|
+
schemaVersion: "1";
|
|
4421
4422
|
payload: {
|
|
4422
4423
|
kind: "mission_started";
|
|
4423
4424
|
title: string;
|
|
4424
4425
|
objective: string;
|
|
4425
4426
|
runMode: "replay" | "fixture" | "live";
|
|
4426
4427
|
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";
|
|
4430
4431
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4431
4432
|
locator?: string | undefined;
|
|
4432
4433
|
}[] | undefined;
|
|
4433
4434
|
} | {
|
|
4435
|
+
label: string;
|
|
4436
|
+
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4434
4437
|
kind: "agent_status";
|
|
4435
4438
|
role: string;
|
|
4436
|
-
status: "failed" | "blocked" | "working" | "complete" | "idle";
|
|
4437
|
-
label: string;
|
|
4438
4439
|
agentId: string;
|
|
4439
4440
|
sessionId: string;
|
|
4440
4441
|
detail?: string | undefined;
|
|
4441
4442
|
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";
|
|
4445
4446
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4446
4447
|
locator?: string | undefined;
|
|
4447
4448
|
}[] | undefined;
|
|
4448
4449
|
} | {
|
|
4449
|
-
kind: "agent_output";
|
|
4450
4450
|
summary: string;
|
|
4451
|
+
kind: "agent_output";
|
|
4451
4452
|
agentId: string;
|
|
4452
4453
|
sessionId: string;
|
|
4453
4454
|
outputId: string;
|
|
4454
4455
|
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";
|
|
4458
4459
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4459
4460
|
locator?: string | undefined;
|
|
4460
4461
|
}[] | undefined;
|
|
@@ -4467,37 +4468,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4467
4468
|
decisionId: string;
|
|
4468
4469
|
confidence?: number | undefined;
|
|
4469
4470
|
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";
|
|
4473
4474
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4474
4475
|
locator?: string | undefined;
|
|
4475
4476
|
}[] | undefined;
|
|
4476
4477
|
} | {
|
|
4477
|
-
kind: "conflict_detected";
|
|
4478
4478
|
summary: string;
|
|
4479
|
+
kind: "conflict_detected";
|
|
4479
4480
|
conflictId: string;
|
|
4480
4481
|
decisionIds: string[];
|
|
4481
4482
|
agentIds: string[];
|
|
4482
4483
|
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";
|
|
4486
4487
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4487
4488
|
locator?: string | undefined;
|
|
4488
4489
|
}[] | undefined;
|
|
4489
4490
|
} | {
|
|
4490
|
-
kind: "test_result";
|
|
4491
4491
|
summary: string;
|
|
4492
|
-
command: string;
|
|
4493
4492
|
status: "error" | "failed" | "passed";
|
|
4493
|
+
kind: "test_result";
|
|
4494
|
+
command: string;
|
|
4494
4495
|
decisionId: string;
|
|
4495
4496
|
testId: string;
|
|
4496
4497
|
durationMs?: number | undefined;
|
|
4497
4498
|
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";
|
|
4501
4502
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4502
4503
|
locator?: string | undefined;
|
|
4503
4504
|
}[] | undefined;
|
|
@@ -4512,9 +4513,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4512
4513
|
supersedesDecisionIds: string[];
|
|
4513
4514
|
proposedBy: string;
|
|
4514
4515
|
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";
|
|
4518
4519
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4519
4520
|
locator?: string | undefined;
|
|
4520
4521
|
}[] | undefined;
|
|
@@ -4522,15 +4523,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4522
4523
|
kind: "correction_approved";
|
|
4523
4524
|
correctionId: string;
|
|
4524
4525
|
approvedBy: {
|
|
4525
|
-
kind: "agent" | "human";
|
|
4526
4526
|
id: string;
|
|
4527
4527
|
label: string;
|
|
4528
|
+
kind: "agent" | "human";
|
|
4528
4529
|
};
|
|
4529
4530
|
note?: string | undefined;
|
|
4530
4531
|
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";
|
|
4534
4535
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4535
4536
|
locator?: string | undefined;
|
|
4536
4537
|
}[] | undefined;
|
|
@@ -4540,9 +4541,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4540
4541
|
correctionId: string;
|
|
4541
4542
|
replacementDecisionId: string;
|
|
4542
4543
|
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";
|
|
4546
4547
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4547
4548
|
locator?: string | undefined;
|
|
4548
4549
|
}[] | undefined;
|
|
@@ -4555,9 +4556,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4555
4556
|
recallReceiptId: string;
|
|
4556
4557
|
capturedAtAction: boolean;
|
|
4557
4558
|
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";
|
|
4561
4562
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4562
4563
|
locator?: string | undefined;
|
|
4563
4564
|
}[] | undefined;
|
|
@@ -4570,25 +4571,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4570
4571
|
recallReceiptId: string;
|
|
4571
4572
|
staleDecisionAbsent: boolean;
|
|
4572
4573
|
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";
|
|
4576
4577
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4577
4578
|
locator?: string | undefined;
|
|
4578
4579
|
}[] | undefined;
|
|
4579
4580
|
} | {
|
|
4580
|
-
kind: "mission_completed";
|
|
4581
4581
|
summary: string;
|
|
4582
|
+
kind: "mission_completed";
|
|
4582
4583
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4583
4584
|
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";
|
|
4587
4588
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4588
4589
|
locator?: string | undefined;
|
|
4589
4590
|
}[] | undefined;
|
|
4590
4591
|
};
|
|
4591
|
-
namespace: string;
|
|
4592
4592
|
eventId: string;
|
|
4593
4593
|
occurredAt: string;
|
|
4594
4594
|
missionId: string;
|