@remnic/core 9.45.2 → 9.45.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access-operations.d.ts +3 -3
- package/dist/access-schema.d.ts +84 -84
- package/dist/{chunk-4L6HUREQ.js → chunk-HZFHQ4AQ.js} +1 -1
- package/dist/chunk-HZFHQ4AQ.js.map +1 -0
- package/dist/index.d.ts +386 -386
- package/dist/reconcile/manifest.js +1 -1
- package/dist/reconcile/plan.d.ts +2 -1
- package/dist/reconcile/plan.js +1 -1
- package/dist/schemas.d.ts +54 -54
- package/dist/shared-context/manager.d.ts +8 -8
- package/dist/transfer/types.d.ts +66 -66
- package/package.json +2 -2
- package/src/converge-conflict-policy-type.test.ts +15 -0
- package/src/reconcile/plan.ts +1 -0
- package/dist/chunk-4L6HUREQ.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -875,15 +875,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
|
|
|
875
875
|
locator: z.ZodOptional<z.ZodString>;
|
|
876
876
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
877
877
|
}, "strict", z.ZodTypeAny, {
|
|
878
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
878
879
|
id: string;
|
|
879
880
|
label: string;
|
|
880
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
881
881
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
882
882
|
locator?: string | undefined;
|
|
883
883
|
}, {
|
|
884
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
884
885
|
id: string;
|
|
885
886
|
label: string;
|
|
886
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
887
887
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
888
888
|
locator?: string | undefined;
|
|
889
889
|
}>;
|
|
@@ -900,15 +900,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
900
900
|
locator: z.ZodOptional<z.ZodString>;
|
|
901
901
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
902
902
|
}, "strict", z.ZodTypeAny, {
|
|
903
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
903
904
|
id: string;
|
|
904
905
|
label: string;
|
|
905
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
906
906
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
907
907
|
locator?: string | undefined;
|
|
908
908
|
}, {
|
|
909
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
909
910
|
id: string;
|
|
910
911
|
label: string;
|
|
911
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
912
912
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
913
913
|
locator?: string | undefined;
|
|
914
914
|
}>, "many">>;
|
|
@@ -916,9 +916,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
916
916
|
kind: "mission_started";
|
|
917
917
|
title: string;
|
|
918
918
|
evidence: {
|
|
919
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
919
920
|
id: string;
|
|
920
921
|
label: string;
|
|
921
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
922
922
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
923
923
|
locator?: string | undefined;
|
|
924
924
|
}[];
|
|
@@ -930,9 +930,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
930
930
|
objective: string;
|
|
931
931
|
runMode: "replay" | "fixture" | "live";
|
|
932
932
|
evidence?: {
|
|
933
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
933
934
|
id: string;
|
|
934
935
|
label: string;
|
|
935
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
936
936
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
937
937
|
locator?: string | undefined;
|
|
938
938
|
}[] | undefined;
|
|
@@ -948,15 +948,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
948
948
|
locator: z.ZodOptional<z.ZodString>;
|
|
949
949
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
950
950
|
}, "strict", z.ZodTypeAny, {
|
|
951
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
951
952
|
id: string;
|
|
952
953
|
label: string;
|
|
953
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
954
954
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
955
955
|
locator?: string | undefined;
|
|
956
956
|
}, {
|
|
957
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
957
958
|
id: string;
|
|
958
959
|
label: string;
|
|
959
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
960
960
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
961
961
|
locator?: string | undefined;
|
|
962
962
|
}>, "many">>;
|
|
@@ -964,32 +964,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
964
964
|
sessionId: z.ZodString;
|
|
965
965
|
kind: z.ZodLiteral<"agent_status">;
|
|
966
966
|
}, "strict", z.ZodTypeAny, {
|
|
967
|
-
label: string;
|
|
968
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
969
967
|
kind: "agent_status";
|
|
968
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
970
969
|
role: string;
|
|
970
|
+
label: string;
|
|
971
971
|
agentId: string;
|
|
972
972
|
sessionId: string;
|
|
973
973
|
evidence: {
|
|
974
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
974
975
|
id: string;
|
|
975
976
|
label: string;
|
|
976
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
977
977
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
978
978
|
locator?: string | undefined;
|
|
979
979
|
}[];
|
|
980
980
|
detail?: string | undefined;
|
|
981
981
|
}, {
|
|
982
|
-
label: string;
|
|
983
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
984
982
|
kind: "agent_status";
|
|
983
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
985
984
|
role: string;
|
|
985
|
+
label: string;
|
|
986
986
|
agentId: string;
|
|
987
987
|
sessionId: string;
|
|
988
988
|
detail?: string | undefined;
|
|
989
989
|
evidence?: {
|
|
990
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
990
991
|
id: string;
|
|
991
992
|
label: string;
|
|
992
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
993
993
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
994
994
|
locator?: string | undefined;
|
|
995
995
|
}[] | undefined;
|
|
@@ -1003,15 +1003,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1003
1003
|
locator: z.ZodOptional<z.ZodString>;
|
|
1004
1004
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1005
1005
|
}, "strict", z.ZodTypeAny, {
|
|
1006
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1006
1007
|
id: string;
|
|
1007
1008
|
label: string;
|
|
1008
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1009
1009
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1010
1010
|
locator?: string | undefined;
|
|
1011
1011
|
}, {
|
|
1012
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1012
1013
|
id: string;
|
|
1013
1014
|
label: string;
|
|
1014
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1015
1015
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1016
1016
|
locator?: string | undefined;
|
|
1017
1017
|
}>, "many">>;
|
|
@@ -1019,28 +1019,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1019
1019
|
sessionId: z.ZodString;
|
|
1020
1020
|
kind: z.ZodLiteral<"agent_output">;
|
|
1021
1021
|
}, "strict", z.ZodTypeAny, {
|
|
1022
|
-
summary: string;
|
|
1023
1022
|
kind: "agent_output";
|
|
1023
|
+
summary: string;
|
|
1024
1024
|
agentId: string;
|
|
1025
1025
|
sessionId: string;
|
|
1026
1026
|
evidence: {
|
|
1027
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1027
1028
|
id: string;
|
|
1028
1029
|
label: string;
|
|
1029
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1030
1030
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1031
1031
|
locator?: string | undefined;
|
|
1032
1032
|
}[];
|
|
1033
1033
|
outputId: string;
|
|
1034
1034
|
}, {
|
|
1035
|
-
summary: string;
|
|
1036
1035
|
kind: "agent_output";
|
|
1036
|
+
summary: string;
|
|
1037
1037
|
agentId: string;
|
|
1038
1038
|
sessionId: string;
|
|
1039
1039
|
outputId: string;
|
|
1040
1040
|
evidence?: {
|
|
1041
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1041
1042
|
id: string;
|
|
1042
1043
|
label: string;
|
|
1043
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1044
1044
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1045
1045
|
locator?: string | undefined;
|
|
1046
1046
|
}[] | undefined;
|
|
@@ -1056,15 +1056,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1056
1056
|
locator: z.ZodOptional<z.ZodString>;
|
|
1057
1057
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1058
1058
|
}, "strict", z.ZodTypeAny, {
|
|
1059
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1059
1060
|
id: string;
|
|
1060
1061
|
label: string;
|
|
1061
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1062
1062
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1063
1063
|
locator?: string | undefined;
|
|
1064
1064
|
}, {
|
|
1065
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1065
1066
|
id: string;
|
|
1066
1067
|
label: string;
|
|
1067
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1068
1068
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1069
1069
|
locator?: string | undefined;
|
|
1070
1070
|
}>, "many">>;
|
|
@@ -1077,9 +1077,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1077
1077
|
statement: string;
|
|
1078
1078
|
sessionId: string;
|
|
1079
1079
|
evidence: {
|
|
1080
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1080
1081
|
id: string;
|
|
1081
1082
|
label: string;
|
|
1082
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1083
1083
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1084
1084
|
locator?: string | undefined;
|
|
1085
1085
|
}[];
|
|
@@ -1095,9 +1095,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1095
1095
|
decisionId: string;
|
|
1096
1096
|
confidence?: number | undefined;
|
|
1097
1097
|
evidence?: {
|
|
1098
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1098
1099
|
id: string;
|
|
1099
1100
|
label: string;
|
|
1100
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1101
1101
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1102
1102
|
locator?: string | undefined;
|
|
1103
1103
|
}[] | undefined;
|
|
@@ -1114,25 +1114,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1114
1114
|
locator: z.ZodOptional<z.ZodString>;
|
|
1115
1115
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1116
1116
|
}, "strict", z.ZodTypeAny, {
|
|
1117
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1117
1118
|
id: string;
|
|
1118
1119
|
label: string;
|
|
1119
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1120
1120
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1121
1121
|
locator?: string | undefined;
|
|
1122
1122
|
}, {
|
|
1123
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1123
1124
|
id: string;
|
|
1124
1125
|
label: string;
|
|
1125
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1126
1126
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1127
1127
|
locator?: string | undefined;
|
|
1128
1128
|
}>, "many">>;
|
|
1129
1129
|
}, "strict", z.ZodTypeAny, {
|
|
1130
|
-
summary: string;
|
|
1131
1130
|
kind: "conflict_detected";
|
|
1131
|
+
summary: string;
|
|
1132
1132
|
evidence: {
|
|
1133
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1133
1134
|
id: string;
|
|
1134
1135
|
label: string;
|
|
1135
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1136
1136
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1137
1137
|
locator?: string | undefined;
|
|
1138
1138
|
}[];
|
|
@@ -1140,15 +1140,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1140
1140
|
decisionIds: string[];
|
|
1141
1141
|
agentIds: string[];
|
|
1142
1142
|
}, {
|
|
1143
|
-
summary: string;
|
|
1144
1143
|
kind: "conflict_detected";
|
|
1144
|
+
summary: string;
|
|
1145
1145
|
conflictId: string;
|
|
1146
1146
|
decisionIds: string[];
|
|
1147
1147
|
agentIds: string[];
|
|
1148
1148
|
evidence?: {
|
|
1149
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1149
1150
|
id: string;
|
|
1150
1151
|
label: string;
|
|
1151
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1152
1152
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1153
1153
|
locator?: string | undefined;
|
|
1154
1154
|
}[] | undefined;
|
|
@@ -1168,27 +1168,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1168
1168
|
locator: z.ZodOptional<z.ZodString>;
|
|
1169
1169
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1170
1170
|
}, "strict", z.ZodTypeAny, {
|
|
1171
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1171
1172
|
id: string;
|
|
1172
1173
|
label: string;
|
|
1173
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1174
1174
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1175
1175
|
locator?: string | undefined;
|
|
1176
1176
|
}, {
|
|
1177
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1177
1178
|
id: string;
|
|
1178
1179
|
label: string;
|
|
1179
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1180
1180
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1181
1181
|
locator?: string | undefined;
|
|
1182
1182
|
}>, "many">>;
|
|
1183
1183
|
}, "strict", z.ZodTypeAny, {
|
|
1184
|
+
kind: "test_result";
|
|
1184
1185
|
summary: string;
|
|
1185
1186
|
status: "error" | "failed" | "passed";
|
|
1186
|
-
kind: "test_result";
|
|
1187
1187
|
command: string;
|
|
1188
1188
|
evidence: {
|
|
1189
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1189
1190
|
id: string;
|
|
1190
1191
|
label: string;
|
|
1191
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1192
1192
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1193
1193
|
locator?: string | undefined;
|
|
1194
1194
|
}[];
|
|
@@ -1197,17 +1197,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1197
1197
|
durationMs?: number | undefined;
|
|
1198
1198
|
correctionId?: string | undefined;
|
|
1199
1199
|
}, {
|
|
1200
|
+
kind: "test_result";
|
|
1200
1201
|
summary: string;
|
|
1201
1202
|
status: "error" | "failed" | "passed";
|
|
1202
|
-
kind: "test_result";
|
|
1203
1203
|
command: string;
|
|
1204
1204
|
decisionId: string;
|
|
1205
1205
|
testId: string;
|
|
1206
1206
|
durationMs?: number | undefined;
|
|
1207
1207
|
evidence?: {
|
|
1208
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1208
1209
|
id: string;
|
|
1209
1210
|
label: string;
|
|
1210
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1211
1211
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1212
1212
|
locator?: string | undefined;
|
|
1213
1213
|
}[] | undefined;
|
|
@@ -1228,15 +1228,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1228
1228
|
locator: z.ZodOptional<z.ZodString>;
|
|
1229
1229
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1230
1230
|
}, "strict", z.ZodTypeAny, {
|
|
1231
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1231
1232
|
id: string;
|
|
1232
1233
|
label: string;
|
|
1233
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1234
1234
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1235
1235
|
locator?: string | undefined;
|
|
1236
1236
|
}, {
|
|
1237
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1237
1238
|
id: string;
|
|
1238
1239
|
label: string;
|
|
1239
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1240
1240
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1241
1241
|
locator?: string | undefined;
|
|
1242
1242
|
}>, "many">>;
|
|
@@ -1245,9 +1245,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1245
1245
|
rationale: string;
|
|
1246
1246
|
statement: string;
|
|
1247
1247
|
evidence: {
|
|
1248
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1248
1249
|
id: string;
|
|
1249
1250
|
label: string;
|
|
1250
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1251
1251
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1252
1252
|
locator?: string | undefined;
|
|
1253
1253
|
}[];
|
|
@@ -1266,9 +1266,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1266
1266
|
supersedesDecisionIds: string[];
|
|
1267
1267
|
proposedBy: string;
|
|
1268
1268
|
evidence?: {
|
|
1269
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1269
1270
|
id: string;
|
|
1270
1271
|
label: string;
|
|
1271
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1272
1272
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1273
1273
|
locator?: string | undefined;
|
|
1274
1274
|
}[] | undefined;
|
|
@@ -1280,13 +1280,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1280
1280
|
id: z.ZodString;
|
|
1281
1281
|
label: z.ZodString;
|
|
1282
1282
|
}, "strict", z.ZodTypeAny, {
|
|
1283
|
+
kind: "agent" | "human";
|
|
1283
1284
|
id: string;
|
|
1284
1285
|
label: string;
|
|
1285
|
-
kind: "agent" | "human";
|
|
1286
1286
|
}, {
|
|
1287
|
+
kind: "agent" | "human";
|
|
1287
1288
|
id: string;
|
|
1288
1289
|
label: string;
|
|
1289
|
-
kind: "agent" | "human";
|
|
1290
1290
|
}>;
|
|
1291
1291
|
note: z.ZodOptional<z.ZodString>;
|
|
1292
1292
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1296,47 +1296,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1296
1296
|
locator: z.ZodOptional<z.ZodString>;
|
|
1297
1297
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1298
1298
|
}, "strict", z.ZodTypeAny, {
|
|
1299
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1299
1300
|
id: string;
|
|
1300
1301
|
label: string;
|
|
1301
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1302
1302
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1303
1303
|
locator?: string | undefined;
|
|
1304
1304
|
}, {
|
|
1305
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1305
1306
|
id: string;
|
|
1306
1307
|
label: string;
|
|
1307
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1308
1308
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1309
1309
|
locator?: string | undefined;
|
|
1310
1310
|
}>, "many">>;
|
|
1311
1311
|
}, "strict", z.ZodTypeAny, {
|
|
1312
1312
|
kind: "correction_approved";
|
|
1313
1313
|
evidence: {
|
|
1314
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1314
1315
|
id: string;
|
|
1315
1316
|
label: string;
|
|
1316
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1317
1317
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1318
1318
|
locator?: string | undefined;
|
|
1319
1319
|
}[];
|
|
1320
1320
|
correctionId: string;
|
|
1321
1321
|
approvedBy: {
|
|
1322
|
+
kind: "agent" | "human";
|
|
1322
1323
|
id: string;
|
|
1323
1324
|
label: string;
|
|
1324
|
-
kind: "agent" | "human";
|
|
1325
1325
|
};
|
|
1326
1326
|
note?: string | undefined;
|
|
1327
1327
|
}, {
|
|
1328
1328
|
kind: "correction_approved";
|
|
1329
1329
|
correctionId: string;
|
|
1330
1330
|
approvedBy: {
|
|
1331
|
+
kind: "agent" | "human";
|
|
1331
1332
|
id: string;
|
|
1332
1333
|
label: string;
|
|
1333
|
-
kind: "agent" | "human";
|
|
1334
1334
|
};
|
|
1335
1335
|
note?: string | undefined;
|
|
1336
1336
|
evidence?: {
|
|
1337
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1337
1338
|
id: string;
|
|
1338
1339
|
label: string;
|
|
1339
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1340
1340
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1341
1341
|
locator?: string | undefined;
|
|
1342
1342
|
}[] | undefined;
|
|
@@ -1352,24 +1352,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1352
1352
|
locator: z.ZodOptional<z.ZodString>;
|
|
1353
1353
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1354
1354
|
}, "strict", z.ZodTypeAny, {
|
|
1355
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1355
1356
|
id: string;
|
|
1356
1357
|
label: string;
|
|
1357
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1358
1358
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1359
1359
|
locator?: string | undefined;
|
|
1360
1360
|
}, {
|
|
1361
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1361
1362
|
id: string;
|
|
1362
1363
|
label: string;
|
|
1363
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1364
1364
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1365
1365
|
locator?: string | undefined;
|
|
1366
1366
|
}>, "many">>;
|
|
1367
1367
|
}, "strict", z.ZodTypeAny, {
|
|
1368
1368
|
kind: "decision_superseded";
|
|
1369
1369
|
evidence: {
|
|
1370
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1370
1371
|
id: string;
|
|
1371
1372
|
label: string;
|
|
1372
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1373
1373
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1374
1374
|
locator?: string | undefined;
|
|
1375
1375
|
}[];
|
|
@@ -1382,9 +1382,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1382
1382
|
correctionId: string;
|
|
1383
1383
|
replacementDecisionId: string;
|
|
1384
1384
|
evidence?: {
|
|
1385
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1385
1386
|
id: string;
|
|
1386
1387
|
label: string;
|
|
1387
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1388
1388
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1389
1389
|
locator?: string | undefined;
|
|
1390
1390
|
}[] | undefined;
|
|
@@ -1400,15 +1400,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1400
1400
|
locator: z.ZodOptional<z.ZodString>;
|
|
1401
1401
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1402
1402
|
}, "strict", z.ZodTypeAny, {
|
|
1403
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1403
1404
|
id: string;
|
|
1404
1405
|
label: string;
|
|
1405
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1406
1406
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1407
1407
|
locator?: string | undefined;
|
|
1408
1408
|
}, {
|
|
1409
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1409
1410
|
id: string;
|
|
1410
1411
|
label: string;
|
|
1411
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1412
1412
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1413
1413
|
locator?: string | undefined;
|
|
1414
1414
|
}>, "many">>;
|
|
@@ -1421,9 +1421,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1421
1421
|
agentId: string;
|
|
1422
1422
|
sessionId: string;
|
|
1423
1423
|
evidence: {
|
|
1424
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1424
1425
|
id: string;
|
|
1425
1426
|
label: string;
|
|
1426
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1427
1427
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1428
1428
|
locator?: string | undefined;
|
|
1429
1429
|
}[];
|
|
@@ -1439,9 +1439,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1439
1439
|
recallReceiptId: string;
|
|
1440
1440
|
capturedAtAction: boolean;
|
|
1441
1441
|
evidence?: {
|
|
1442
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1442
1443
|
id: string;
|
|
1443
1444
|
label: string;
|
|
1444
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1445
1445
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1446
1446
|
locator?: string | undefined;
|
|
1447
1447
|
}[] | undefined;
|
|
@@ -1457,15 +1457,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1457
1457
|
locator: z.ZodOptional<z.ZodString>;
|
|
1458
1458
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1459
1459
|
}, "strict", z.ZodTypeAny, {
|
|
1460
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1460
1461
|
id: string;
|
|
1461
1462
|
label: string;
|
|
1462
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1463
1463
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1464
1464
|
locator?: string | undefined;
|
|
1465
1465
|
}, {
|
|
1466
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1466
1467
|
id: string;
|
|
1467
1468
|
label: string;
|
|
1468
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1469
1469
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1470
1470
|
locator?: string | undefined;
|
|
1471
1471
|
}>, "many">>;
|
|
@@ -1477,9 +1477,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1477
1477
|
agentId: string;
|
|
1478
1478
|
sessionId: string;
|
|
1479
1479
|
evidence: {
|
|
1480
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1480
1481
|
id: string;
|
|
1481
1482
|
label: string;
|
|
1482
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1483
1483
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1484
1484
|
locator?: string | undefined;
|
|
1485
1485
|
}[];
|
|
@@ -1496,9 +1496,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1496
1496
|
recallReceiptId: string;
|
|
1497
1497
|
staleDecisionAbsent: boolean;
|
|
1498
1498
|
evidence?: {
|
|
1499
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1499
1500
|
id: string;
|
|
1500
1501
|
label: string;
|
|
1501
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1502
1502
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1503
1503
|
locator?: string | undefined;
|
|
1504
1504
|
}[] | undefined;
|
|
@@ -1513,37 +1513,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1513
1513
|
locator: z.ZodOptional<z.ZodString>;
|
|
1514
1514
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1515
1515
|
}, "strict", z.ZodTypeAny, {
|
|
1516
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1516
1517
|
id: string;
|
|
1517
1518
|
label: string;
|
|
1518
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1519
1519
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1520
1520
|
locator?: string | undefined;
|
|
1521
1521
|
}, {
|
|
1522
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1522
1523
|
id: string;
|
|
1523
1524
|
label: string;
|
|
1524
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1525
1525
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1526
1526
|
locator?: string | undefined;
|
|
1527
1527
|
}>, "many">>;
|
|
1528
1528
|
}, "strict", z.ZodTypeAny, {
|
|
1529
|
-
summary: string;
|
|
1530
1529
|
kind: "mission_completed";
|
|
1530
|
+
summary: string;
|
|
1531
1531
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1532
1532
|
evidence: {
|
|
1533
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1533
1534
|
id: string;
|
|
1534
1535
|
label: string;
|
|
1535
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1536
1536
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1537
1537
|
locator?: string | undefined;
|
|
1538
1538
|
}[];
|
|
1539
1539
|
}, {
|
|
1540
|
-
summary: string;
|
|
1541
1540
|
kind: "mission_completed";
|
|
1541
|
+
summary: string;
|
|
1542
1542
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1543
1543
|
evidence?: {
|
|
1544
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1544
1545
|
id: string;
|
|
1545
1546
|
label: string;
|
|
1546
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1547
1547
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1548
1548
|
locator?: string | undefined;
|
|
1549
1549
|
}[] | undefined;
|
|
@@ -1551,38 +1551,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1551
1551
|
kind: "mission_started";
|
|
1552
1552
|
title: string;
|
|
1553
1553
|
evidence: {
|
|
1554
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1554
1555
|
id: string;
|
|
1555
1556
|
label: string;
|
|
1556
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1557
1557
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1558
1558
|
locator?: string | undefined;
|
|
1559
1559
|
}[];
|
|
1560
1560
|
objective: string;
|
|
1561
1561
|
runMode: "replay" | "fixture" | "live";
|
|
1562
1562
|
} | {
|
|
1563
|
-
label: string;
|
|
1564
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1565
1563
|
kind: "agent_status";
|
|
1564
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1566
1565
|
role: string;
|
|
1566
|
+
label: string;
|
|
1567
1567
|
agentId: string;
|
|
1568
1568
|
sessionId: string;
|
|
1569
1569
|
evidence: {
|
|
1570
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1570
1571
|
id: string;
|
|
1571
1572
|
label: string;
|
|
1572
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1573
1573
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1574
1574
|
locator?: string | undefined;
|
|
1575
1575
|
}[];
|
|
1576
1576
|
detail?: string | undefined;
|
|
1577
1577
|
} | {
|
|
1578
|
-
summary: string;
|
|
1579
1578
|
kind: "agent_output";
|
|
1579
|
+
summary: string;
|
|
1580
1580
|
agentId: string;
|
|
1581
1581
|
sessionId: string;
|
|
1582
1582
|
evidence: {
|
|
1583
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1583
1584
|
id: string;
|
|
1584
1585
|
label: string;
|
|
1585
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1586
1586
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1587
1587
|
locator?: string | undefined;
|
|
1588
1588
|
}[];
|
|
@@ -1593,9 +1593,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1593
1593
|
statement: string;
|
|
1594
1594
|
sessionId: string;
|
|
1595
1595
|
evidence: {
|
|
1596
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1596
1597
|
id: string;
|
|
1597
1598
|
label: string;
|
|
1598
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1599
1599
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1600
1600
|
locator?: string | undefined;
|
|
1601
1601
|
}[];
|
|
@@ -1603,12 +1603,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1603
1603
|
decisionId: string;
|
|
1604
1604
|
confidence?: number | undefined;
|
|
1605
1605
|
} | {
|
|
1606
|
-
summary: string;
|
|
1607
1606
|
kind: "conflict_detected";
|
|
1607
|
+
summary: string;
|
|
1608
1608
|
evidence: {
|
|
1609
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1609
1610
|
id: string;
|
|
1610
1611
|
label: string;
|
|
1611
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1612
1612
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1613
1613
|
locator?: string | undefined;
|
|
1614
1614
|
}[];
|
|
@@ -1616,14 +1616,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1616
1616
|
decisionIds: string[];
|
|
1617
1617
|
agentIds: string[];
|
|
1618
1618
|
} | {
|
|
1619
|
+
kind: "test_result";
|
|
1619
1620
|
summary: string;
|
|
1620
1621
|
status: "error" | "failed" | "passed";
|
|
1621
|
-
kind: "test_result";
|
|
1622
1622
|
command: string;
|
|
1623
1623
|
evidence: {
|
|
1624
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1624
1625
|
id: string;
|
|
1625
1626
|
label: string;
|
|
1626
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1627
1627
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1628
1628
|
locator?: string | undefined;
|
|
1629
1629
|
}[];
|
|
@@ -1636,9 +1636,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1636
1636
|
rationale: string;
|
|
1637
1637
|
statement: string;
|
|
1638
1638
|
evidence: {
|
|
1639
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1639
1640
|
id: string;
|
|
1640
1641
|
label: string;
|
|
1641
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1642
1642
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1643
1643
|
locator?: string | undefined;
|
|
1644
1644
|
}[];
|
|
@@ -1650,25 +1650,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1650
1650
|
} | {
|
|
1651
1651
|
kind: "correction_approved";
|
|
1652
1652
|
evidence: {
|
|
1653
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1653
1654
|
id: string;
|
|
1654
1655
|
label: string;
|
|
1655
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1656
1656
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1657
1657
|
locator?: string | undefined;
|
|
1658
1658
|
}[];
|
|
1659
1659
|
correctionId: string;
|
|
1660
1660
|
approvedBy: {
|
|
1661
|
+
kind: "agent" | "human";
|
|
1661
1662
|
id: string;
|
|
1662
1663
|
label: string;
|
|
1663
|
-
kind: "agent" | "human";
|
|
1664
1664
|
};
|
|
1665
1665
|
note?: string | undefined;
|
|
1666
1666
|
} | {
|
|
1667
1667
|
kind: "decision_superseded";
|
|
1668
1668
|
evidence: {
|
|
1669
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1669
1670
|
id: string;
|
|
1670
1671
|
label: string;
|
|
1671
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1672
1672
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1673
1673
|
locator?: string | undefined;
|
|
1674
1674
|
}[];
|
|
@@ -1681,9 +1681,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1681
1681
|
agentId: string;
|
|
1682
1682
|
sessionId: string;
|
|
1683
1683
|
evidence: {
|
|
1684
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1684
1685
|
id: string;
|
|
1685
1686
|
label: string;
|
|
1686
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1687
1687
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1688
1688
|
locator?: string | undefined;
|
|
1689
1689
|
}[];
|
|
@@ -1695,9 +1695,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1695
1695
|
agentId: string;
|
|
1696
1696
|
sessionId: string;
|
|
1697
1697
|
evidence: {
|
|
1698
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1698
1699
|
id: string;
|
|
1699
1700
|
label: string;
|
|
1700
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1701
1701
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1702
1702
|
locator?: string | undefined;
|
|
1703
1703
|
}[];
|
|
@@ -1706,13 +1706,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1706
1706
|
recallReceiptId: string;
|
|
1707
1707
|
staleDecisionAbsent: boolean;
|
|
1708
1708
|
} | {
|
|
1709
|
-
summary: string;
|
|
1710
1709
|
kind: "mission_completed";
|
|
1710
|
+
summary: string;
|
|
1711
1711
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1712
1712
|
evidence: {
|
|
1713
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1713
1714
|
id: string;
|
|
1714
1715
|
label: string;
|
|
1715
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1716
1716
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1717
1717
|
locator?: string | undefined;
|
|
1718
1718
|
}[];
|
|
@@ -1722,37 +1722,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1722
1722
|
objective: string;
|
|
1723
1723
|
runMode: "replay" | "fixture" | "live";
|
|
1724
1724
|
evidence?: {
|
|
1725
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1725
1726
|
id: string;
|
|
1726
1727
|
label: string;
|
|
1727
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1728
1728
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1729
1729
|
locator?: string | undefined;
|
|
1730
1730
|
}[] | undefined;
|
|
1731
1731
|
} | {
|
|
1732
|
-
label: string;
|
|
1733
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1734
1732
|
kind: "agent_status";
|
|
1733
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1735
1734
|
role: string;
|
|
1735
|
+
label: string;
|
|
1736
1736
|
agentId: string;
|
|
1737
1737
|
sessionId: string;
|
|
1738
1738
|
detail?: string | undefined;
|
|
1739
1739
|
evidence?: {
|
|
1740
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1740
1741
|
id: string;
|
|
1741
1742
|
label: string;
|
|
1742
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1743
1743
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1744
1744
|
locator?: string | undefined;
|
|
1745
1745
|
}[] | undefined;
|
|
1746
1746
|
} | {
|
|
1747
|
-
summary: string;
|
|
1748
1747
|
kind: "agent_output";
|
|
1748
|
+
summary: string;
|
|
1749
1749
|
agentId: string;
|
|
1750
1750
|
sessionId: string;
|
|
1751
1751
|
outputId: string;
|
|
1752
1752
|
evidence?: {
|
|
1753
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1753
1754
|
id: string;
|
|
1754
1755
|
label: string;
|
|
1755
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1756
1756
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1757
1757
|
locator?: string | undefined;
|
|
1758
1758
|
}[] | undefined;
|
|
@@ -1765,37 +1765,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1765
1765
|
decisionId: string;
|
|
1766
1766
|
confidence?: number | undefined;
|
|
1767
1767
|
evidence?: {
|
|
1768
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1768
1769
|
id: string;
|
|
1769
1770
|
label: string;
|
|
1770
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1771
1771
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1772
1772
|
locator?: string | undefined;
|
|
1773
1773
|
}[] | undefined;
|
|
1774
1774
|
} | {
|
|
1775
|
-
summary: string;
|
|
1776
1775
|
kind: "conflict_detected";
|
|
1776
|
+
summary: string;
|
|
1777
1777
|
conflictId: string;
|
|
1778
1778
|
decisionIds: string[];
|
|
1779
1779
|
agentIds: string[];
|
|
1780
1780
|
evidence?: {
|
|
1781
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1781
1782
|
id: string;
|
|
1782
1783
|
label: string;
|
|
1783
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1784
1784
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1785
1785
|
locator?: string | undefined;
|
|
1786
1786
|
}[] | undefined;
|
|
1787
1787
|
} | {
|
|
1788
|
+
kind: "test_result";
|
|
1788
1789
|
summary: string;
|
|
1789
1790
|
status: "error" | "failed" | "passed";
|
|
1790
|
-
kind: "test_result";
|
|
1791
1791
|
command: string;
|
|
1792
1792
|
decisionId: string;
|
|
1793
1793
|
testId: string;
|
|
1794
1794
|
durationMs?: number | undefined;
|
|
1795
1795
|
evidence?: {
|
|
1796
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1796
1797
|
id: string;
|
|
1797
1798
|
label: string;
|
|
1798
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1799
1799
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1800
1800
|
locator?: string | undefined;
|
|
1801
1801
|
}[] | undefined;
|
|
@@ -1810,9 +1810,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1810
1810
|
supersedesDecisionIds: string[];
|
|
1811
1811
|
proposedBy: string;
|
|
1812
1812
|
evidence?: {
|
|
1813
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1813
1814
|
id: string;
|
|
1814
1815
|
label: string;
|
|
1815
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1816
1816
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1817
1817
|
locator?: string | undefined;
|
|
1818
1818
|
}[] | undefined;
|
|
@@ -1820,15 +1820,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1820
1820
|
kind: "correction_approved";
|
|
1821
1821
|
correctionId: string;
|
|
1822
1822
|
approvedBy: {
|
|
1823
|
+
kind: "agent" | "human";
|
|
1823
1824
|
id: string;
|
|
1824
1825
|
label: string;
|
|
1825
|
-
kind: "agent" | "human";
|
|
1826
1826
|
};
|
|
1827
1827
|
note?: string | undefined;
|
|
1828
1828
|
evidence?: {
|
|
1829
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1829
1830
|
id: string;
|
|
1830
1831
|
label: string;
|
|
1831
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1832
1832
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1833
1833
|
locator?: string | undefined;
|
|
1834
1834
|
}[] | undefined;
|
|
@@ -1838,9 +1838,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1838
1838
|
correctionId: string;
|
|
1839
1839
|
replacementDecisionId: string;
|
|
1840
1840
|
evidence?: {
|
|
1841
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1841
1842
|
id: string;
|
|
1842
1843
|
label: string;
|
|
1843
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1844
1844
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1845
1845
|
locator?: string | undefined;
|
|
1846
1846
|
}[] | undefined;
|
|
@@ -1853,9 +1853,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1853
1853
|
recallReceiptId: string;
|
|
1854
1854
|
capturedAtAction: boolean;
|
|
1855
1855
|
evidence?: {
|
|
1856
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1856
1857
|
id: string;
|
|
1857
1858
|
label: string;
|
|
1858
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1859
1859
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1860
1860
|
locator?: string | undefined;
|
|
1861
1861
|
}[] | undefined;
|
|
@@ -1868,20 +1868,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
|
|
|
1868
1868
|
recallReceiptId: string;
|
|
1869
1869
|
staleDecisionAbsent: boolean;
|
|
1870
1870
|
evidence?: {
|
|
1871
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1871
1872
|
id: string;
|
|
1872
1873
|
label: string;
|
|
1873
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1874
1874
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1875
1875
|
locator?: string | undefined;
|
|
1876
1876
|
}[] | undefined;
|
|
1877
1877
|
} | {
|
|
1878
|
-
summary: string;
|
|
1879
1878
|
kind: "mission_completed";
|
|
1879
|
+
summary: string;
|
|
1880
1880
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
1881
1881
|
evidence?: {
|
|
1882
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1882
1883
|
id: string;
|
|
1883
1884
|
label: string;
|
|
1884
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1885
1885
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1886
1886
|
locator?: string | undefined;
|
|
1887
1887
|
}[] | undefined;
|
|
@@ -1902,15 +1902,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1902
1902
|
locator: z.ZodOptional<z.ZodString>;
|
|
1903
1903
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1904
1904
|
}, "strict", z.ZodTypeAny, {
|
|
1905
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1905
1906
|
id: string;
|
|
1906
1907
|
label: string;
|
|
1907
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1908
1908
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1909
1909
|
locator?: string | undefined;
|
|
1910
1910
|
}, {
|
|
1911
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1911
1912
|
id: string;
|
|
1912
1913
|
label: string;
|
|
1913
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1914
1914
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1915
1915
|
locator?: string | undefined;
|
|
1916
1916
|
}>, "many">>;
|
|
@@ -1918,9 +1918,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1918
1918
|
kind: "mission_started";
|
|
1919
1919
|
title: string;
|
|
1920
1920
|
evidence: {
|
|
1921
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1921
1922
|
id: string;
|
|
1922
1923
|
label: string;
|
|
1923
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1924
1924
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1925
1925
|
locator?: string | undefined;
|
|
1926
1926
|
}[];
|
|
@@ -1932,9 +1932,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1932
1932
|
objective: string;
|
|
1933
1933
|
runMode: "replay" | "fixture" | "live";
|
|
1934
1934
|
evidence?: {
|
|
1935
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1935
1936
|
id: string;
|
|
1936
1937
|
label: string;
|
|
1937
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1938
1938
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1939
1939
|
locator?: string | undefined;
|
|
1940
1940
|
}[] | undefined;
|
|
@@ -1950,15 +1950,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1950
1950
|
locator: z.ZodOptional<z.ZodString>;
|
|
1951
1951
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
1952
1952
|
}, "strict", z.ZodTypeAny, {
|
|
1953
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1953
1954
|
id: string;
|
|
1954
1955
|
label: string;
|
|
1955
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1956
1956
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1957
1957
|
locator?: string | undefined;
|
|
1958
1958
|
}, {
|
|
1959
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1959
1960
|
id: string;
|
|
1960
1961
|
label: string;
|
|
1961
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1962
1962
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1963
1963
|
locator?: string | undefined;
|
|
1964
1964
|
}>, "many">>;
|
|
@@ -1966,32 +1966,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
1966
1966
|
sessionId: z.ZodString;
|
|
1967
1967
|
kind: z.ZodLiteral<"agent_status">;
|
|
1968
1968
|
}, "strict", z.ZodTypeAny, {
|
|
1969
|
-
label: string;
|
|
1970
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1971
1969
|
kind: "agent_status";
|
|
1970
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1972
1971
|
role: string;
|
|
1972
|
+
label: string;
|
|
1973
1973
|
agentId: string;
|
|
1974
1974
|
sessionId: string;
|
|
1975
1975
|
evidence: {
|
|
1976
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1976
1977
|
id: string;
|
|
1977
1978
|
label: string;
|
|
1978
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1979
1979
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1980
1980
|
locator?: string | undefined;
|
|
1981
1981
|
}[];
|
|
1982
1982
|
detail?: string | undefined;
|
|
1983
1983
|
}, {
|
|
1984
|
-
label: string;
|
|
1985
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1986
1984
|
kind: "agent_status";
|
|
1985
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
1987
1986
|
role: string;
|
|
1987
|
+
label: string;
|
|
1988
1988
|
agentId: string;
|
|
1989
1989
|
sessionId: string;
|
|
1990
1990
|
detail?: string | undefined;
|
|
1991
1991
|
evidence?: {
|
|
1992
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1992
1993
|
id: string;
|
|
1993
1994
|
label: string;
|
|
1994
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
1995
1995
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
1996
1996
|
locator?: string | undefined;
|
|
1997
1997
|
}[] | undefined;
|
|
@@ -2005,15 +2005,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2005
2005
|
locator: z.ZodOptional<z.ZodString>;
|
|
2006
2006
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2007
2007
|
}, "strict", z.ZodTypeAny, {
|
|
2008
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2008
2009
|
id: string;
|
|
2009
2010
|
label: string;
|
|
2010
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2011
2011
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2012
2012
|
locator?: string | undefined;
|
|
2013
2013
|
}, {
|
|
2014
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2014
2015
|
id: string;
|
|
2015
2016
|
label: string;
|
|
2016
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2017
2017
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2018
2018
|
locator?: string | undefined;
|
|
2019
2019
|
}>, "many">>;
|
|
@@ -2021,28 +2021,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2021
2021
|
sessionId: z.ZodString;
|
|
2022
2022
|
kind: z.ZodLiteral<"agent_output">;
|
|
2023
2023
|
}, "strict", z.ZodTypeAny, {
|
|
2024
|
-
summary: string;
|
|
2025
2024
|
kind: "agent_output";
|
|
2025
|
+
summary: string;
|
|
2026
2026
|
agentId: string;
|
|
2027
2027
|
sessionId: string;
|
|
2028
2028
|
evidence: {
|
|
2029
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2029
2030
|
id: string;
|
|
2030
2031
|
label: string;
|
|
2031
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2032
2032
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2033
2033
|
locator?: string | undefined;
|
|
2034
2034
|
}[];
|
|
2035
2035
|
outputId: string;
|
|
2036
2036
|
}, {
|
|
2037
|
-
summary: string;
|
|
2038
2037
|
kind: "agent_output";
|
|
2038
|
+
summary: string;
|
|
2039
2039
|
agentId: string;
|
|
2040
2040
|
sessionId: string;
|
|
2041
2041
|
outputId: string;
|
|
2042
2042
|
evidence?: {
|
|
2043
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2043
2044
|
id: string;
|
|
2044
2045
|
label: string;
|
|
2045
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2046
2046
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2047
2047
|
locator?: string | undefined;
|
|
2048
2048
|
}[] | undefined;
|
|
@@ -2058,15 +2058,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2058
2058
|
locator: z.ZodOptional<z.ZodString>;
|
|
2059
2059
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2060
2060
|
}, "strict", z.ZodTypeAny, {
|
|
2061
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2061
2062
|
id: string;
|
|
2062
2063
|
label: string;
|
|
2063
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2064
2064
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2065
2065
|
locator?: string | undefined;
|
|
2066
2066
|
}, {
|
|
2067
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2067
2068
|
id: string;
|
|
2068
2069
|
label: string;
|
|
2069
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2070
2070
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2071
2071
|
locator?: string | undefined;
|
|
2072
2072
|
}>, "many">>;
|
|
@@ -2079,9 +2079,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2079
2079
|
statement: string;
|
|
2080
2080
|
sessionId: string;
|
|
2081
2081
|
evidence: {
|
|
2082
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2082
2083
|
id: string;
|
|
2083
2084
|
label: string;
|
|
2084
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2085
2085
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2086
2086
|
locator?: string | undefined;
|
|
2087
2087
|
}[];
|
|
@@ -2097,9 +2097,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2097
2097
|
decisionId: string;
|
|
2098
2098
|
confidence?: number | undefined;
|
|
2099
2099
|
evidence?: {
|
|
2100
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2100
2101
|
id: string;
|
|
2101
2102
|
label: string;
|
|
2102
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2103
2103
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2104
2104
|
locator?: string | undefined;
|
|
2105
2105
|
}[] | undefined;
|
|
@@ -2116,25 +2116,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2116
2116
|
locator: z.ZodOptional<z.ZodString>;
|
|
2117
2117
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2118
2118
|
}, "strict", z.ZodTypeAny, {
|
|
2119
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2119
2120
|
id: string;
|
|
2120
2121
|
label: string;
|
|
2121
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2122
2122
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2123
2123
|
locator?: string | undefined;
|
|
2124
2124
|
}, {
|
|
2125
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2125
2126
|
id: string;
|
|
2126
2127
|
label: string;
|
|
2127
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2128
2128
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2129
2129
|
locator?: string | undefined;
|
|
2130
2130
|
}>, "many">>;
|
|
2131
2131
|
}, "strict", z.ZodTypeAny, {
|
|
2132
|
-
summary: string;
|
|
2133
2132
|
kind: "conflict_detected";
|
|
2133
|
+
summary: string;
|
|
2134
2134
|
evidence: {
|
|
2135
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2135
2136
|
id: string;
|
|
2136
2137
|
label: string;
|
|
2137
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2138
2138
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2139
2139
|
locator?: string | undefined;
|
|
2140
2140
|
}[];
|
|
@@ -2142,15 +2142,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2142
2142
|
decisionIds: string[];
|
|
2143
2143
|
agentIds: string[];
|
|
2144
2144
|
}, {
|
|
2145
|
-
summary: string;
|
|
2146
2145
|
kind: "conflict_detected";
|
|
2146
|
+
summary: string;
|
|
2147
2147
|
conflictId: string;
|
|
2148
2148
|
decisionIds: string[];
|
|
2149
2149
|
agentIds: string[];
|
|
2150
2150
|
evidence?: {
|
|
2151
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2151
2152
|
id: string;
|
|
2152
2153
|
label: string;
|
|
2153
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2154
2154
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2155
2155
|
locator?: string | undefined;
|
|
2156
2156
|
}[] | undefined;
|
|
@@ -2170,27 +2170,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2170
2170
|
locator: z.ZodOptional<z.ZodString>;
|
|
2171
2171
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2172
2172
|
}, "strict", z.ZodTypeAny, {
|
|
2173
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2173
2174
|
id: string;
|
|
2174
2175
|
label: string;
|
|
2175
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2176
2176
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2177
2177
|
locator?: string | undefined;
|
|
2178
2178
|
}, {
|
|
2179
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2179
2180
|
id: string;
|
|
2180
2181
|
label: string;
|
|
2181
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2182
2182
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2183
2183
|
locator?: string | undefined;
|
|
2184
2184
|
}>, "many">>;
|
|
2185
2185
|
}, "strict", z.ZodTypeAny, {
|
|
2186
|
+
kind: "test_result";
|
|
2186
2187
|
summary: string;
|
|
2187
2188
|
status: "error" | "failed" | "passed";
|
|
2188
|
-
kind: "test_result";
|
|
2189
2189
|
command: string;
|
|
2190
2190
|
evidence: {
|
|
2191
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2191
2192
|
id: string;
|
|
2192
2193
|
label: string;
|
|
2193
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2194
2194
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2195
2195
|
locator?: string | undefined;
|
|
2196
2196
|
}[];
|
|
@@ -2199,17 +2199,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2199
2199
|
durationMs?: number | undefined;
|
|
2200
2200
|
correctionId?: string | undefined;
|
|
2201
2201
|
}, {
|
|
2202
|
+
kind: "test_result";
|
|
2202
2203
|
summary: string;
|
|
2203
2204
|
status: "error" | "failed" | "passed";
|
|
2204
|
-
kind: "test_result";
|
|
2205
2205
|
command: string;
|
|
2206
2206
|
decisionId: string;
|
|
2207
2207
|
testId: string;
|
|
2208
2208
|
durationMs?: number | undefined;
|
|
2209
2209
|
evidence?: {
|
|
2210
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2210
2211
|
id: string;
|
|
2211
2212
|
label: string;
|
|
2212
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2213
2213
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2214
2214
|
locator?: string | undefined;
|
|
2215
2215
|
}[] | undefined;
|
|
@@ -2230,15 +2230,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2230
2230
|
locator: z.ZodOptional<z.ZodString>;
|
|
2231
2231
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2232
2232
|
}, "strict", z.ZodTypeAny, {
|
|
2233
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2233
2234
|
id: string;
|
|
2234
2235
|
label: string;
|
|
2235
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2236
2236
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2237
2237
|
locator?: string | undefined;
|
|
2238
2238
|
}, {
|
|
2239
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2239
2240
|
id: string;
|
|
2240
2241
|
label: string;
|
|
2241
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2242
2242
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2243
2243
|
locator?: string | undefined;
|
|
2244
2244
|
}>, "many">>;
|
|
@@ -2247,9 +2247,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2247
2247
|
rationale: string;
|
|
2248
2248
|
statement: string;
|
|
2249
2249
|
evidence: {
|
|
2250
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2250
2251
|
id: string;
|
|
2251
2252
|
label: string;
|
|
2252
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2253
2253
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2254
2254
|
locator?: string | undefined;
|
|
2255
2255
|
}[];
|
|
@@ -2268,9 +2268,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2268
2268
|
supersedesDecisionIds: string[];
|
|
2269
2269
|
proposedBy: string;
|
|
2270
2270
|
evidence?: {
|
|
2271
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2271
2272
|
id: string;
|
|
2272
2273
|
label: string;
|
|
2273
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2274
2274
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2275
2275
|
locator?: string | undefined;
|
|
2276
2276
|
}[] | undefined;
|
|
@@ -2282,13 +2282,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2282
2282
|
id: z.ZodString;
|
|
2283
2283
|
label: z.ZodString;
|
|
2284
2284
|
}, "strict", z.ZodTypeAny, {
|
|
2285
|
+
kind: "agent" | "human";
|
|
2285
2286
|
id: string;
|
|
2286
2287
|
label: string;
|
|
2287
|
-
kind: "agent" | "human";
|
|
2288
2288
|
}, {
|
|
2289
|
+
kind: "agent" | "human";
|
|
2289
2290
|
id: string;
|
|
2290
2291
|
label: string;
|
|
2291
|
-
kind: "agent" | "human";
|
|
2292
2292
|
}>;
|
|
2293
2293
|
note: z.ZodOptional<z.ZodString>;
|
|
2294
2294
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2298,47 +2298,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2298
2298
|
locator: z.ZodOptional<z.ZodString>;
|
|
2299
2299
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2300
2300
|
}, "strict", z.ZodTypeAny, {
|
|
2301
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2301
2302
|
id: string;
|
|
2302
2303
|
label: string;
|
|
2303
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2304
2304
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2305
2305
|
locator?: string | undefined;
|
|
2306
2306
|
}, {
|
|
2307
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2307
2308
|
id: string;
|
|
2308
2309
|
label: string;
|
|
2309
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2310
2310
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2311
2311
|
locator?: string | undefined;
|
|
2312
2312
|
}>, "many">>;
|
|
2313
2313
|
}, "strict", z.ZodTypeAny, {
|
|
2314
2314
|
kind: "correction_approved";
|
|
2315
2315
|
evidence: {
|
|
2316
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2316
2317
|
id: string;
|
|
2317
2318
|
label: string;
|
|
2318
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2319
2319
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2320
2320
|
locator?: string | undefined;
|
|
2321
2321
|
}[];
|
|
2322
2322
|
correctionId: string;
|
|
2323
2323
|
approvedBy: {
|
|
2324
|
+
kind: "agent" | "human";
|
|
2324
2325
|
id: string;
|
|
2325
2326
|
label: string;
|
|
2326
|
-
kind: "agent" | "human";
|
|
2327
2327
|
};
|
|
2328
2328
|
note?: string | undefined;
|
|
2329
2329
|
}, {
|
|
2330
2330
|
kind: "correction_approved";
|
|
2331
2331
|
correctionId: string;
|
|
2332
2332
|
approvedBy: {
|
|
2333
|
+
kind: "agent" | "human";
|
|
2333
2334
|
id: string;
|
|
2334
2335
|
label: string;
|
|
2335
|
-
kind: "agent" | "human";
|
|
2336
2336
|
};
|
|
2337
2337
|
note?: string | undefined;
|
|
2338
2338
|
evidence?: {
|
|
2339
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2339
2340
|
id: string;
|
|
2340
2341
|
label: string;
|
|
2341
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2342
2342
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2343
2343
|
locator?: string | undefined;
|
|
2344
2344
|
}[] | undefined;
|
|
@@ -2354,24 +2354,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2354
2354
|
locator: z.ZodOptional<z.ZodString>;
|
|
2355
2355
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2356
2356
|
}, "strict", z.ZodTypeAny, {
|
|
2357
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2357
2358
|
id: string;
|
|
2358
2359
|
label: string;
|
|
2359
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2360
2360
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2361
2361
|
locator?: string | undefined;
|
|
2362
2362
|
}, {
|
|
2363
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2363
2364
|
id: string;
|
|
2364
2365
|
label: string;
|
|
2365
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2366
2366
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2367
2367
|
locator?: string | undefined;
|
|
2368
2368
|
}>, "many">>;
|
|
2369
2369
|
}, "strict", z.ZodTypeAny, {
|
|
2370
2370
|
kind: "decision_superseded";
|
|
2371
2371
|
evidence: {
|
|
2372
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2372
2373
|
id: string;
|
|
2373
2374
|
label: string;
|
|
2374
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2375
2375
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2376
2376
|
locator?: string | undefined;
|
|
2377
2377
|
}[];
|
|
@@ -2384,9 +2384,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2384
2384
|
correctionId: string;
|
|
2385
2385
|
replacementDecisionId: string;
|
|
2386
2386
|
evidence?: {
|
|
2387
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2387
2388
|
id: string;
|
|
2388
2389
|
label: string;
|
|
2389
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2390
2390
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2391
2391
|
locator?: string | undefined;
|
|
2392
2392
|
}[] | undefined;
|
|
@@ -2402,15 +2402,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2402
2402
|
locator: z.ZodOptional<z.ZodString>;
|
|
2403
2403
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2404
2404
|
}, "strict", z.ZodTypeAny, {
|
|
2405
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2405
2406
|
id: string;
|
|
2406
2407
|
label: string;
|
|
2407
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2408
2408
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2409
2409
|
locator?: string | undefined;
|
|
2410
2410
|
}, {
|
|
2411
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2411
2412
|
id: string;
|
|
2412
2413
|
label: string;
|
|
2413
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2414
2414
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2415
2415
|
locator?: string | undefined;
|
|
2416
2416
|
}>, "many">>;
|
|
@@ -2423,9 +2423,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2423
2423
|
agentId: string;
|
|
2424
2424
|
sessionId: string;
|
|
2425
2425
|
evidence: {
|
|
2426
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2426
2427
|
id: string;
|
|
2427
2428
|
label: string;
|
|
2428
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2429
2429
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2430
2430
|
locator?: string | undefined;
|
|
2431
2431
|
}[];
|
|
@@ -2441,9 +2441,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2441
2441
|
recallReceiptId: string;
|
|
2442
2442
|
capturedAtAction: boolean;
|
|
2443
2443
|
evidence?: {
|
|
2444
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2444
2445
|
id: string;
|
|
2445
2446
|
label: string;
|
|
2446
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2447
2447
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2448
2448
|
locator?: string | undefined;
|
|
2449
2449
|
}[] | undefined;
|
|
@@ -2459,15 +2459,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2459
2459
|
locator: z.ZodOptional<z.ZodString>;
|
|
2460
2460
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2461
2461
|
}, "strict", z.ZodTypeAny, {
|
|
2462
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2462
2463
|
id: string;
|
|
2463
2464
|
label: string;
|
|
2464
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2465
2465
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2466
2466
|
locator?: string | undefined;
|
|
2467
2467
|
}, {
|
|
2468
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2468
2469
|
id: string;
|
|
2469
2470
|
label: string;
|
|
2470
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2471
2471
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2472
2472
|
locator?: string | undefined;
|
|
2473
2473
|
}>, "many">>;
|
|
@@ -2479,9 +2479,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2479
2479
|
agentId: string;
|
|
2480
2480
|
sessionId: string;
|
|
2481
2481
|
evidence: {
|
|
2482
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2482
2483
|
id: string;
|
|
2483
2484
|
label: string;
|
|
2484
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2485
2485
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2486
2486
|
locator?: string | undefined;
|
|
2487
2487
|
}[];
|
|
@@ -2498,9 +2498,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2498
2498
|
recallReceiptId: string;
|
|
2499
2499
|
staleDecisionAbsent: boolean;
|
|
2500
2500
|
evidence?: {
|
|
2501
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2501
2502
|
id: string;
|
|
2502
2503
|
label: string;
|
|
2503
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2504
2504
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2505
2505
|
locator?: string | undefined;
|
|
2506
2506
|
}[] | undefined;
|
|
@@ -2515,37 +2515,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2515
2515
|
locator: z.ZodOptional<z.ZodString>;
|
|
2516
2516
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
2517
2517
|
}, "strict", z.ZodTypeAny, {
|
|
2518
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2518
2519
|
id: string;
|
|
2519
2520
|
label: string;
|
|
2520
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2521
2521
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2522
2522
|
locator?: string | undefined;
|
|
2523
2523
|
}, {
|
|
2524
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2524
2525
|
id: string;
|
|
2525
2526
|
label: string;
|
|
2526
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2527
2527
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2528
2528
|
locator?: string | undefined;
|
|
2529
2529
|
}>, "many">>;
|
|
2530
2530
|
}, "strict", z.ZodTypeAny, {
|
|
2531
|
-
summary: string;
|
|
2532
2531
|
kind: "mission_completed";
|
|
2532
|
+
summary: string;
|
|
2533
2533
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2534
2534
|
evidence: {
|
|
2535
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2535
2536
|
id: string;
|
|
2536
2537
|
label: string;
|
|
2537
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2538
2538
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2539
2539
|
locator?: string | undefined;
|
|
2540
2540
|
}[];
|
|
2541
2541
|
}, {
|
|
2542
|
-
summary: string;
|
|
2543
2542
|
kind: "mission_completed";
|
|
2543
|
+
summary: string;
|
|
2544
2544
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2545
2545
|
evidence?: {
|
|
2546
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2546
2547
|
id: string;
|
|
2547
2548
|
label: string;
|
|
2548
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2549
2549
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2550
2550
|
locator?: string | undefined;
|
|
2551
2551
|
}[] | undefined;
|
|
@@ -2553,38 +2553,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2553
2553
|
kind: "mission_started";
|
|
2554
2554
|
title: string;
|
|
2555
2555
|
evidence: {
|
|
2556
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2556
2557
|
id: string;
|
|
2557
2558
|
label: string;
|
|
2558
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2559
2559
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2560
2560
|
locator?: string | undefined;
|
|
2561
2561
|
}[];
|
|
2562
2562
|
objective: string;
|
|
2563
2563
|
runMode: "replay" | "fixture" | "live";
|
|
2564
2564
|
} | {
|
|
2565
|
-
label: string;
|
|
2566
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2567
2565
|
kind: "agent_status";
|
|
2566
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2568
2567
|
role: string;
|
|
2568
|
+
label: string;
|
|
2569
2569
|
agentId: string;
|
|
2570
2570
|
sessionId: string;
|
|
2571
2571
|
evidence: {
|
|
2572
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2572
2573
|
id: string;
|
|
2573
2574
|
label: string;
|
|
2574
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2575
2575
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2576
2576
|
locator?: string | undefined;
|
|
2577
2577
|
}[];
|
|
2578
2578
|
detail?: string | undefined;
|
|
2579
2579
|
} | {
|
|
2580
|
-
summary: string;
|
|
2581
2580
|
kind: "agent_output";
|
|
2581
|
+
summary: string;
|
|
2582
2582
|
agentId: string;
|
|
2583
2583
|
sessionId: string;
|
|
2584
2584
|
evidence: {
|
|
2585
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2585
2586
|
id: string;
|
|
2586
2587
|
label: string;
|
|
2587
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2588
2588
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2589
2589
|
locator?: string | undefined;
|
|
2590
2590
|
}[];
|
|
@@ -2595,9 +2595,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2595
2595
|
statement: string;
|
|
2596
2596
|
sessionId: string;
|
|
2597
2597
|
evidence: {
|
|
2598
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2598
2599
|
id: string;
|
|
2599
2600
|
label: string;
|
|
2600
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2601
2601
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2602
2602
|
locator?: string | undefined;
|
|
2603
2603
|
}[];
|
|
@@ -2605,12 +2605,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2605
2605
|
decisionId: string;
|
|
2606
2606
|
confidence?: number | undefined;
|
|
2607
2607
|
} | {
|
|
2608
|
-
summary: string;
|
|
2609
2608
|
kind: "conflict_detected";
|
|
2609
|
+
summary: string;
|
|
2610
2610
|
evidence: {
|
|
2611
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2611
2612
|
id: string;
|
|
2612
2613
|
label: string;
|
|
2613
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2614
2614
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2615
2615
|
locator?: string | undefined;
|
|
2616
2616
|
}[];
|
|
@@ -2618,14 +2618,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2618
2618
|
decisionIds: string[];
|
|
2619
2619
|
agentIds: string[];
|
|
2620
2620
|
} | {
|
|
2621
|
+
kind: "test_result";
|
|
2621
2622
|
summary: string;
|
|
2622
2623
|
status: "error" | "failed" | "passed";
|
|
2623
|
-
kind: "test_result";
|
|
2624
2624
|
command: string;
|
|
2625
2625
|
evidence: {
|
|
2626
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2626
2627
|
id: string;
|
|
2627
2628
|
label: string;
|
|
2628
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2629
2629
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2630
2630
|
locator?: string | undefined;
|
|
2631
2631
|
}[];
|
|
@@ -2638,9 +2638,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2638
2638
|
rationale: string;
|
|
2639
2639
|
statement: string;
|
|
2640
2640
|
evidence: {
|
|
2641
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2641
2642
|
id: string;
|
|
2642
2643
|
label: string;
|
|
2643
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2644
2644
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2645
2645
|
locator?: string | undefined;
|
|
2646
2646
|
}[];
|
|
@@ -2652,25 +2652,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2652
2652
|
} | {
|
|
2653
2653
|
kind: "correction_approved";
|
|
2654
2654
|
evidence: {
|
|
2655
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2655
2656
|
id: string;
|
|
2656
2657
|
label: string;
|
|
2657
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2658
2658
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2659
2659
|
locator?: string | undefined;
|
|
2660
2660
|
}[];
|
|
2661
2661
|
correctionId: string;
|
|
2662
2662
|
approvedBy: {
|
|
2663
|
+
kind: "agent" | "human";
|
|
2663
2664
|
id: string;
|
|
2664
2665
|
label: string;
|
|
2665
|
-
kind: "agent" | "human";
|
|
2666
2666
|
};
|
|
2667
2667
|
note?: string | undefined;
|
|
2668
2668
|
} | {
|
|
2669
2669
|
kind: "decision_superseded";
|
|
2670
2670
|
evidence: {
|
|
2671
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2671
2672
|
id: string;
|
|
2672
2673
|
label: string;
|
|
2673
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2674
2674
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2675
2675
|
locator?: string | undefined;
|
|
2676
2676
|
}[];
|
|
@@ -2683,9 +2683,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2683
2683
|
agentId: string;
|
|
2684
2684
|
sessionId: string;
|
|
2685
2685
|
evidence: {
|
|
2686
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2686
2687
|
id: string;
|
|
2687
2688
|
label: string;
|
|
2688
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2689
2689
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2690
2690
|
locator?: string | undefined;
|
|
2691
2691
|
}[];
|
|
@@ -2697,9 +2697,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2697
2697
|
agentId: string;
|
|
2698
2698
|
sessionId: string;
|
|
2699
2699
|
evidence: {
|
|
2700
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2700
2701
|
id: string;
|
|
2701
2702
|
label: string;
|
|
2702
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2703
2703
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2704
2704
|
locator?: string | undefined;
|
|
2705
2705
|
}[];
|
|
@@ -2708,13 +2708,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2708
2708
|
recallReceiptId: string;
|
|
2709
2709
|
staleDecisionAbsent: boolean;
|
|
2710
2710
|
} | {
|
|
2711
|
-
summary: string;
|
|
2712
2711
|
kind: "mission_completed";
|
|
2712
|
+
summary: string;
|
|
2713
2713
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2714
2714
|
evidence: {
|
|
2715
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2715
2716
|
id: string;
|
|
2716
2717
|
label: string;
|
|
2717
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2718
2718
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2719
2719
|
locator?: string | undefined;
|
|
2720
2720
|
}[];
|
|
@@ -2724,37 +2724,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2724
2724
|
objective: string;
|
|
2725
2725
|
runMode: "replay" | "fixture" | "live";
|
|
2726
2726
|
evidence?: {
|
|
2727
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2727
2728
|
id: string;
|
|
2728
2729
|
label: string;
|
|
2729
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2730
2730
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2731
2731
|
locator?: string | undefined;
|
|
2732
2732
|
}[] | undefined;
|
|
2733
2733
|
} | {
|
|
2734
|
-
label: string;
|
|
2735
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2736
2734
|
kind: "agent_status";
|
|
2735
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2737
2736
|
role: string;
|
|
2737
|
+
label: string;
|
|
2738
2738
|
agentId: string;
|
|
2739
2739
|
sessionId: string;
|
|
2740
2740
|
detail?: string | undefined;
|
|
2741
2741
|
evidence?: {
|
|
2742
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2742
2743
|
id: string;
|
|
2743
2744
|
label: string;
|
|
2744
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2745
2745
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2746
2746
|
locator?: string | undefined;
|
|
2747
2747
|
}[] | undefined;
|
|
2748
2748
|
} | {
|
|
2749
|
-
summary: string;
|
|
2750
2749
|
kind: "agent_output";
|
|
2750
|
+
summary: string;
|
|
2751
2751
|
agentId: string;
|
|
2752
2752
|
sessionId: string;
|
|
2753
2753
|
outputId: string;
|
|
2754
2754
|
evidence?: {
|
|
2755
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2755
2756
|
id: string;
|
|
2756
2757
|
label: string;
|
|
2757
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2758
2758
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2759
2759
|
locator?: string | undefined;
|
|
2760
2760
|
}[] | undefined;
|
|
@@ -2767,37 +2767,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2767
2767
|
decisionId: string;
|
|
2768
2768
|
confidence?: number | undefined;
|
|
2769
2769
|
evidence?: {
|
|
2770
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2770
2771
|
id: string;
|
|
2771
2772
|
label: string;
|
|
2772
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2773
2773
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2774
2774
|
locator?: string | undefined;
|
|
2775
2775
|
}[] | undefined;
|
|
2776
2776
|
} | {
|
|
2777
|
-
summary: string;
|
|
2778
2777
|
kind: "conflict_detected";
|
|
2778
|
+
summary: string;
|
|
2779
2779
|
conflictId: string;
|
|
2780
2780
|
decisionIds: string[];
|
|
2781
2781
|
agentIds: string[];
|
|
2782
2782
|
evidence?: {
|
|
2783
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2783
2784
|
id: string;
|
|
2784
2785
|
label: string;
|
|
2785
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2786
2786
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2787
2787
|
locator?: string | undefined;
|
|
2788
2788
|
}[] | undefined;
|
|
2789
2789
|
} | {
|
|
2790
|
+
kind: "test_result";
|
|
2790
2791
|
summary: string;
|
|
2791
2792
|
status: "error" | "failed" | "passed";
|
|
2792
|
-
kind: "test_result";
|
|
2793
2793
|
command: string;
|
|
2794
2794
|
decisionId: string;
|
|
2795
2795
|
testId: string;
|
|
2796
2796
|
durationMs?: number | undefined;
|
|
2797
2797
|
evidence?: {
|
|
2798
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2798
2799
|
id: string;
|
|
2799
2800
|
label: string;
|
|
2800
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2801
2801
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2802
2802
|
locator?: string | undefined;
|
|
2803
2803
|
}[] | undefined;
|
|
@@ -2812,9 +2812,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2812
2812
|
supersedesDecisionIds: string[];
|
|
2813
2813
|
proposedBy: string;
|
|
2814
2814
|
evidence?: {
|
|
2815
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2815
2816
|
id: string;
|
|
2816
2817
|
label: string;
|
|
2817
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2818
2818
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2819
2819
|
locator?: string | undefined;
|
|
2820
2820
|
}[] | undefined;
|
|
@@ -2822,15 +2822,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2822
2822
|
kind: "correction_approved";
|
|
2823
2823
|
correctionId: string;
|
|
2824
2824
|
approvedBy: {
|
|
2825
|
+
kind: "agent" | "human";
|
|
2825
2826
|
id: string;
|
|
2826
2827
|
label: string;
|
|
2827
|
-
kind: "agent" | "human";
|
|
2828
2828
|
};
|
|
2829
2829
|
note?: string | undefined;
|
|
2830
2830
|
evidence?: {
|
|
2831
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2831
2832
|
id: string;
|
|
2832
2833
|
label: string;
|
|
2833
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2834
2834
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2835
2835
|
locator?: string | undefined;
|
|
2836
2836
|
}[] | undefined;
|
|
@@ -2840,9 +2840,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2840
2840
|
correctionId: string;
|
|
2841
2841
|
replacementDecisionId: string;
|
|
2842
2842
|
evidence?: {
|
|
2843
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2843
2844
|
id: string;
|
|
2844
2845
|
label: string;
|
|
2845
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2846
2846
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2847
2847
|
locator?: string | undefined;
|
|
2848
2848
|
}[] | undefined;
|
|
@@ -2855,9 +2855,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2855
2855
|
recallReceiptId: string;
|
|
2856
2856
|
capturedAtAction: boolean;
|
|
2857
2857
|
evidence?: {
|
|
2858
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2858
2859
|
id: string;
|
|
2859
2860
|
label: string;
|
|
2860
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2861
2861
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2862
2862
|
locator?: string | undefined;
|
|
2863
2863
|
}[] | undefined;
|
|
@@ -2870,20 +2870,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2870
2870
|
recallReceiptId: string;
|
|
2871
2871
|
staleDecisionAbsent: boolean;
|
|
2872
2872
|
evidence?: {
|
|
2873
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2873
2874
|
id: string;
|
|
2874
2875
|
label: string;
|
|
2875
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2876
2876
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2877
2877
|
locator?: string | undefined;
|
|
2878
2878
|
}[] | undefined;
|
|
2879
2879
|
} | {
|
|
2880
|
-
summary: string;
|
|
2881
2880
|
kind: "mission_completed";
|
|
2881
|
+
summary: string;
|
|
2882
2882
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
2883
2883
|
evidence?: {
|
|
2884
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2884
2885
|
id: string;
|
|
2885
2886
|
label: string;
|
|
2886
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2887
2887
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2888
2888
|
locator?: string | undefined;
|
|
2889
2889
|
}[] | undefined;
|
|
@@ -2893,38 +2893,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2893
2893
|
kind: "mission_started";
|
|
2894
2894
|
title: string;
|
|
2895
2895
|
evidence: {
|
|
2896
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2896
2897
|
id: string;
|
|
2897
2898
|
label: string;
|
|
2898
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2899
2899
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2900
2900
|
locator?: string | undefined;
|
|
2901
2901
|
}[];
|
|
2902
2902
|
objective: string;
|
|
2903
2903
|
runMode: "replay" | "fixture" | "live";
|
|
2904
2904
|
} | {
|
|
2905
|
-
label: string;
|
|
2906
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2907
2905
|
kind: "agent_status";
|
|
2906
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
2908
2907
|
role: string;
|
|
2908
|
+
label: string;
|
|
2909
2909
|
agentId: string;
|
|
2910
2910
|
sessionId: string;
|
|
2911
2911
|
evidence: {
|
|
2912
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2912
2913
|
id: string;
|
|
2913
2914
|
label: string;
|
|
2914
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2915
2915
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2916
2916
|
locator?: string | undefined;
|
|
2917
2917
|
}[];
|
|
2918
2918
|
detail?: string | undefined;
|
|
2919
2919
|
} | {
|
|
2920
|
-
summary: string;
|
|
2921
2920
|
kind: "agent_output";
|
|
2921
|
+
summary: string;
|
|
2922
2922
|
agentId: string;
|
|
2923
2923
|
sessionId: string;
|
|
2924
2924
|
evidence: {
|
|
2925
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2925
2926
|
id: string;
|
|
2926
2927
|
label: string;
|
|
2927
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2928
2928
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2929
2929
|
locator?: string | undefined;
|
|
2930
2930
|
}[];
|
|
@@ -2935,9 +2935,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2935
2935
|
statement: string;
|
|
2936
2936
|
sessionId: string;
|
|
2937
2937
|
evidence: {
|
|
2938
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2938
2939
|
id: string;
|
|
2939
2940
|
label: string;
|
|
2940
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2941
2941
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2942
2942
|
locator?: string | undefined;
|
|
2943
2943
|
}[];
|
|
@@ -2945,12 +2945,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2945
2945
|
decisionId: string;
|
|
2946
2946
|
confidence?: number | undefined;
|
|
2947
2947
|
} | {
|
|
2948
|
-
summary: string;
|
|
2949
2948
|
kind: "conflict_detected";
|
|
2949
|
+
summary: string;
|
|
2950
2950
|
evidence: {
|
|
2951
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2951
2952
|
id: string;
|
|
2952
2953
|
label: string;
|
|
2953
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2954
2954
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2955
2955
|
locator?: string | undefined;
|
|
2956
2956
|
}[];
|
|
@@ -2958,14 +2958,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2958
2958
|
decisionIds: string[];
|
|
2959
2959
|
agentIds: string[];
|
|
2960
2960
|
} | {
|
|
2961
|
+
kind: "test_result";
|
|
2961
2962
|
summary: string;
|
|
2962
2963
|
status: "error" | "failed" | "passed";
|
|
2963
|
-
kind: "test_result";
|
|
2964
2964
|
command: string;
|
|
2965
2965
|
evidence: {
|
|
2966
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2966
2967
|
id: string;
|
|
2967
2968
|
label: string;
|
|
2968
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2969
2969
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2970
2970
|
locator?: string | undefined;
|
|
2971
2971
|
}[];
|
|
@@ -2978,9 +2978,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2978
2978
|
rationale: string;
|
|
2979
2979
|
statement: string;
|
|
2980
2980
|
evidence: {
|
|
2981
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2981
2982
|
id: string;
|
|
2982
2983
|
label: string;
|
|
2983
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2984
2984
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2985
2985
|
locator?: string | undefined;
|
|
2986
2986
|
}[];
|
|
@@ -2992,25 +2992,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
2992
2992
|
} | {
|
|
2993
2993
|
kind: "correction_approved";
|
|
2994
2994
|
evidence: {
|
|
2995
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2995
2996
|
id: string;
|
|
2996
2997
|
label: string;
|
|
2997
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
2998
2998
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
2999
2999
|
locator?: string | undefined;
|
|
3000
3000
|
}[];
|
|
3001
3001
|
correctionId: string;
|
|
3002
3002
|
approvedBy: {
|
|
3003
|
+
kind: "agent" | "human";
|
|
3003
3004
|
id: string;
|
|
3004
3005
|
label: string;
|
|
3005
|
-
kind: "agent" | "human";
|
|
3006
3006
|
};
|
|
3007
3007
|
note?: string | undefined;
|
|
3008
3008
|
} | {
|
|
3009
3009
|
kind: "decision_superseded";
|
|
3010
3010
|
evidence: {
|
|
3011
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3011
3012
|
id: string;
|
|
3012
3013
|
label: string;
|
|
3013
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3014
3014
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3015
3015
|
locator?: string | undefined;
|
|
3016
3016
|
}[];
|
|
@@ -3023,9 +3023,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3023
3023
|
agentId: string;
|
|
3024
3024
|
sessionId: string;
|
|
3025
3025
|
evidence: {
|
|
3026
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3026
3027
|
id: string;
|
|
3027
3028
|
label: string;
|
|
3028
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3029
3029
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3030
3030
|
locator?: string | undefined;
|
|
3031
3031
|
}[];
|
|
@@ -3037,9 +3037,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3037
3037
|
agentId: string;
|
|
3038
3038
|
sessionId: string;
|
|
3039
3039
|
evidence: {
|
|
3040
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3040
3041
|
id: string;
|
|
3041
3042
|
label: string;
|
|
3042
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3043
3043
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3044
3044
|
locator?: string | undefined;
|
|
3045
3045
|
}[];
|
|
@@ -3048,13 +3048,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3048
3048
|
recallReceiptId: string;
|
|
3049
3049
|
staleDecisionAbsent: boolean;
|
|
3050
3050
|
} | {
|
|
3051
|
-
summary: string;
|
|
3052
3051
|
kind: "mission_completed";
|
|
3052
|
+
summary: string;
|
|
3053
3053
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3054
3054
|
evidence: {
|
|
3055
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3055
3056
|
id: string;
|
|
3056
3057
|
label: string;
|
|
3057
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3058
3058
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3059
3059
|
locator?: string | undefined;
|
|
3060
3060
|
}[];
|
|
@@ -3068,37 +3068,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3068
3068
|
objective: string;
|
|
3069
3069
|
runMode: "replay" | "fixture" | "live";
|
|
3070
3070
|
evidence?: {
|
|
3071
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3071
3072
|
id: string;
|
|
3072
3073
|
label: string;
|
|
3073
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3074
3074
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3075
3075
|
locator?: string | undefined;
|
|
3076
3076
|
}[] | undefined;
|
|
3077
3077
|
} | {
|
|
3078
|
-
label: string;
|
|
3079
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3080
3078
|
kind: "agent_status";
|
|
3079
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3081
3080
|
role: string;
|
|
3081
|
+
label: string;
|
|
3082
3082
|
agentId: string;
|
|
3083
3083
|
sessionId: string;
|
|
3084
3084
|
detail?: string | undefined;
|
|
3085
3085
|
evidence?: {
|
|
3086
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3086
3087
|
id: string;
|
|
3087
3088
|
label: string;
|
|
3088
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3089
3089
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3090
3090
|
locator?: string | undefined;
|
|
3091
3091
|
}[] | undefined;
|
|
3092
3092
|
} | {
|
|
3093
|
-
summary: string;
|
|
3094
3093
|
kind: "agent_output";
|
|
3094
|
+
summary: string;
|
|
3095
3095
|
agentId: string;
|
|
3096
3096
|
sessionId: string;
|
|
3097
3097
|
outputId: string;
|
|
3098
3098
|
evidence?: {
|
|
3099
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3099
3100
|
id: string;
|
|
3100
3101
|
label: string;
|
|
3101
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3102
3102
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3103
3103
|
locator?: string | undefined;
|
|
3104
3104
|
}[] | undefined;
|
|
@@ -3111,37 +3111,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3111
3111
|
decisionId: string;
|
|
3112
3112
|
confidence?: number | undefined;
|
|
3113
3113
|
evidence?: {
|
|
3114
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3114
3115
|
id: string;
|
|
3115
3116
|
label: string;
|
|
3116
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3117
3117
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3118
3118
|
locator?: string | undefined;
|
|
3119
3119
|
}[] | undefined;
|
|
3120
3120
|
} | {
|
|
3121
|
-
summary: string;
|
|
3122
3121
|
kind: "conflict_detected";
|
|
3122
|
+
summary: string;
|
|
3123
3123
|
conflictId: string;
|
|
3124
3124
|
decisionIds: string[];
|
|
3125
3125
|
agentIds: string[];
|
|
3126
3126
|
evidence?: {
|
|
3127
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3127
3128
|
id: string;
|
|
3128
3129
|
label: string;
|
|
3129
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3130
3130
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3131
3131
|
locator?: string | undefined;
|
|
3132
3132
|
}[] | undefined;
|
|
3133
3133
|
} | {
|
|
3134
|
+
kind: "test_result";
|
|
3134
3135
|
summary: string;
|
|
3135
3136
|
status: "error" | "failed" | "passed";
|
|
3136
|
-
kind: "test_result";
|
|
3137
3137
|
command: string;
|
|
3138
3138
|
decisionId: string;
|
|
3139
3139
|
testId: string;
|
|
3140
3140
|
durationMs?: number | undefined;
|
|
3141
3141
|
evidence?: {
|
|
3142
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3142
3143
|
id: string;
|
|
3143
3144
|
label: string;
|
|
3144
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3145
3145
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3146
3146
|
locator?: string | undefined;
|
|
3147
3147
|
}[] | undefined;
|
|
@@ -3156,9 +3156,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3156
3156
|
supersedesDecisionIds: string[];
|
|
3157
3157
|
proposedBy: string;
|
|
3158
3158
|
evidence?: {
|
|
3159
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3159
3160
|
id: string;
|
|
3160
3161
|
label: string;
|
|
3161
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3162
3162
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3163
3163
|
locator?: string | undefined;
|
|
3164
3164
|
}[] | undefined;
|
|
@@ -3166,15 +3166,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3166
3166
|
kind: "correction_approved";
|
|
3167
3167
|
correctionId: string;
|
|
3168
3168
|
approvedBy: {
|
|
3169
|
+
kind: "agent" | "human";
|
|
3169
3170
|
id: string;
|
|
3170
3171
|
label: string;
|
|
3171
|
-
kind: "agent" | "human";
|
|
3172
3172
|
};
|
|
3173
3173
|
note?: string | undefined;
|
|
3174
3174
|
evidence?: {
|
|
3175
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3175
3176
|
id: string;
|
|
3176
3177
|
label: string;
|
|
3177
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3178
3178
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3179
3179
|
locator?: string | undefined;
|
|
3180
3180
|
}[] | undefined;
|
|
@@ -3184,9 +3184,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3184
3184
|
correctionId: string;
|
|
3185
3185
|
replacementDecisionId: string;
|
|
3186
3186
|
evidence?: {
|
|
3187
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3187
3188
|
id: string;
|
|
3188
3189
|
label: string;
|
|
3189
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3190
3190
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3191
3191
|
locator?: string | undefined;
|
|
3192
3192
|
}[] | undefined;
|
|
@@ -3199,9 +3199,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3199
3199
|
recallReceiptId: string;
|
|
3200
3200
|
capturedAtAction: boolean;
|
|
3201
3201
|
evidence?: {
|
|
3202
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3202
3203
|
id: string;
|
|
3203
3204
|
label: string;
|
|
3204
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3205
3205
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3206
3206
|
locator?: string | undefined;
|
|
3207
3207
|
}[] | undefined;
|
|
@@ -3214,20 +3214,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
|
|
|
3214
3214
|
recallReceiptId: string;
|
|
3215
3215
|
staleDecisionAbsent: boolean;
|
|
3216
3216
|
evidence?: {
|
|
3217
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3217
3218
|
id: string;
|
|
3218
3219
|
label: string;
|
|
3219
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3220
3220
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3221
3221
|
locator?: string | undefined;
|
|
3222
3222
|
}[] | undefined;
|
|
3223
3223
|
} | {
|
|
3224
|
-
summary: string;
|
|
3225
3224
|
kind: "mission_completed";
|
|
3225
|
+
summary: string;
|
|
3226
3226
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3227
3227
|
evidence?: {
|
|
3228
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3228
3229
|
id: string;
|
|
3229
3230
|
label: string;
|
|
3230
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3231
3231
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3232
3232
|
locator?: string | undefined;
|
|
3233
3233
|
}[] | undefined;
|
|
@@ -3257,15 +3257,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3257
3257
|
locator: z.ZodOptional<z.ZodString>;
|
|
3258
3258
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3259
3259
|
}, "strict", z.ZodTypeAny, {
|
|
3260
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3260
3261
|
id: string;
|
|
3261
3262
|
label: string;
|
|
3262
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3263
3263
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3264
3264
|
locator?: string | undefined;
|
|
3265
3265
|
}, {
|
|
3266
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3266
3267
|
id: string;
|
|
3267
3268
|
label: string;
|
|
3268
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3269
3269
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3270
3270
|
locator?: string | undefined;
|
|
3271
3271
|
}>, "many">>;
|
|
@@ -3273,9 +3273,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3273
3273
|
kind: "mission_started";
|
|
3274
3274
|
title: string;
|
|
3275
3275
|
evidence: {
|
|
3276
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3276
3277
|
id: string;
|
|
3277
3278
|
label: string;
|
|
3278
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3279
3279
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3280
3280
|
locator?: string | undefined;
|
|
3281
3281
|
}[];
|
|
@@ -3287,9 +3287,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3287
3287
|
objective: string;
|
|
3288
3288
|
runMode: "replay" | "fixture" | "live";
|
|
3289
3289
|
evidence?: {
|
|
3290
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3290
3291
|
id: string;
|
|
3291
3292
|
label: string;
|
|
3292
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3293
3293
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3294
3294
|
locator?: string | undefined;
|
|
3295
3295
|
}[] | undefined;
|
|
@@ -3305,15 +3305,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3305
3305
|
locator: z.ZodOptional<z.ZodString>;
|
|
3306
3306
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3307
3307
|
}, "strict", z.ZodTypeAny, {
|
|
3308
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3308
3309
|
id: string;
|
|
3309
3310
|
label: string;
|
|
3310
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3311
3311
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3312
3312
|
locator?: string | undefined;
|
|
3313
3313
|
}, {
|
|
3314
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3314
3315
|
id: string;
|
|
3315
3316
|
label: string;
|
|
3316
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3317
3317
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3318
3318
|
locator?: string | undefined;
|
|
3319
3319
|
}>, "many">>;
|
|
@@ -3321,32 +3321,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3321
3321
|
sessionId: z.ZodString;
|
|
3322
3322
|
kind: z.ZodLiteral<"agent_status">;
|
|
3323
3323
|
}, "strict", z.ZodTypeAny, {
|
|
3324
|
-
label: string;
|
|
3325
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3326
3324
|
kind: "agent_status";
|
|
3325
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3327
3326
|
role: string;
|
|
3327
|
+
label: string;
|
|
3328
3328
|
agentId: string;
|
|
3329
3329
|
sessionId: string;
|
|
3330
3330
|
evidence: {
|
|
3331
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3331
3332
|
id: string;
|
|
3332
3333
|
label: string;
|
|
3333
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3334
3334
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3335
3335
|
locator?: string | undefined;
|
|
3336
3336
|
}[];
|
|
3337
3337
|
detail?: string | undefined;
|
|
3338
3338
|
}, {
|
|
3339
|
-
label: string;
|
|
3340
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3341
3339
|
kind: "agent_status";
|
|
3340
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3342
3341
|
role: string;
|
|
3342
|
+
label: string;
|
|
3343
3343
|
agentId: string;
|
|
3344
3344
|
sessionId: string;
|
|
3345
3345
|
detail?: string | undefined;
|
|
3346
3346
|
evidence?: {
|
|
3347
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3347
3348
|
id: string;
|
|
3348
3349
|
label: string;
|
|
3349
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3350
3350
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3351
3351
|
locator?: string | undefined;
|
|
3352
3352
|
}[] | undefined;
|
|
@@ -3360,15 +3360,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3360
3360
|
locator: z.ZodOptional<z.ZodString>;
|
|
3361
3361
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3362
3362
|
}, "strict", z.ZodTypeAny, {
|
|
3363
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3363
3364
|
id: string;
|
|
3364
3365
|
label: string;
|
|
3365
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3366
3366
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3367
3367
|
locator?: string | undefined;
|
|
3368
3368
|
}, {
|
|
3369
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3369
3370
|
id: string;
|
|
3370
3371
|
label: string;
|
|
3371
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3372
3372
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3373
3373
|
locator?: string | undefined;
|
|
3374
3374
|
}>, "many">>;
|
|
@@ -3376,28 +3376,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3376
3376
|
sessionId: z.ZodString;
|
|
3377
3377
|
kind: z.ZodLiteral<"agent_output">;
|
|
3378
3378
|
}, "strict", z.ZodTypeAny, {
|
|
3379
|
-
summary: string;
|
|
3380
3379
|
kind: "agent_output";
|
|
3380
|
+
summary: string;
|
|
3381
3381
|
agentId: string;
|
|
3382
3382
|
sessionId: string;
|
|
3383
3383
|
evidence: {
|
|
3384
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3384
3385
|
id: string;
|
|
3385
3386
|
label: string;
|
|
3386
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3387
3387
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3388
3388
|
locator?: string | undefined;
|
|
3389
3389
|
}[];
|
|
3390
3390
|
outputId: string;
|
|
3391
3391
|
}, {
|
|
3392
|
-
summary: string;
|
|
3393
3392
|
kind: "agent_output";
|
|
3393
|
+
summary: string;
|
|
3394
3394
|
agentId: string;
|
|
3395
3395
|
sessionId: string;
|
|
3396
3396
|
outputId: string;
|
|
3397
3397
|
evidence?: {
|
|
3398
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3398
3399
|
id: string;
|
|
3399
3400
|
label: string;
|
|
3400
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3401
3401
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3402
3402
|
locator?: string | undefined;
|
|
3403
3403
|
}[] | undefined;
|
|
@@ -3413,15 +3413,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3413
3413
|
locator: z.ZodOptional<z.ZodString>;
|
|
3414
3414
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3415
3415
|
}, "strict", z.ZodTypeAny, {
|
|
3416
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3416
3417
|
id: string;
|
|
3417
3418
|
label: string;
|
|
3418
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3419
3419
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3420
3420
|
locator?: string | undefined;
|
|
3421
3421
|
}, {
|
|
3422
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3422
3423
|
id: string;
|
|
3423
3424
|
label: string;
|
|
3424
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3425
3425
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3426
3426
|
locator?: string | undefined;
|
|
3427
3427
|
}>, "many">>;
|
|
@@ -3434,9 +3434,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3434
3434
|
statement: string;
|
|
3435
3435
|
sessionId: string;
|
|
3436
3436
|
evidence: {
|
|
3437
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3437
3438
|
id: string;
|
|
3438
3439
|
label: string;
|
|
3439
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3440
3440
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3441
3441
|
locator?: string | undefined;
|
|
3442
3442
|
}[];
|
|
@@ -3452,9 +3452,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3452
3452
|
decisionId: string;
|
|
3453
3453
|
confidence?: number | undefined;
|
|
3454
3454
|
evidence?: {
|
|
3455
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3455
3456
|
id: string;
|
|
3456
3457
|
label: string;
|
|
3457
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3458
3458
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3459
3459
|
locator?: string | undefined;
|
|
3460
3460
|
}[] | undefined;
|
|
@@ -3471,25 +3471,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3471
3471
|
locator: z.ZodOptional<z.ZodString>;
|
|
3472
3472
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3473
3473
|
}, "strict", z.ZodTypeAny, {
|
|
3474
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3474
3475
|
id: string;
|
|
3475
3476
|
label: string;
|
|
3476
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3477
3477
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3478
3478
|
locator?: string | undefined;
|
|
3479
3479
|
}, {
|
|
3480
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3480
3481
|
id: string;
|
|
3481
3482
|
label: string;
|
|
3482
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3483
3483
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3484
3484
|
locator?: string | undefined;
|
|
3485
3485
|
}>, "many">>;
|
|
3486
3486
|
}, "strict", z.ZodTypeAny, {
|
|
3487
|
-
summary: string;
|
|
3488
3487
|
kind: "conflict_detected";
|
|
3488
|
+
summary: string;
|
|
3489
3489
|
evidence: {
|
|
3490
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3490
3491
|
id: string;
|
|
3491
3492
|
label: string;
|
|
3492
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3493
3493
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3494
3494
|
locator?: string | undefined;
|
|
3495
3495
|
}[];
|
|
@@ -3497,15 +3497,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3497
3497
|
decisionIds: string[];
|
|
3498
3498
|
agentIds: string[];
|
|
3499
3499
|
}, {
|
|
3500
|
-
summary: string;
|
|
3501
3500
|
kind: "conflict_detected";
|
|
3501
|
+
summary: string;
|
|
3502
3502
|
conflictId: string;
|
|
3503
3503
|
decisionIds: string[];
|
|
3504
3504
|
agentIds: string[];
|
|
3505
3505
|
evidence?: {
|
|
3506
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3506
3507
|
id: string;
|
|
3507
3508
|
label: string;
|
|
3508
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3509
3509
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3510
3510
|
locator?: string | undefined;
|
|
3511
3511
|
}[] | undefined;
|
|
@@ -3525,27 +3525,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3525
3525
|
locator: z.ZodOptional<z.ZodString>;
|
|
3526
3526
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3527
3527
|
}, "strict", z.ZodTypeAny, {
|
|
3528
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3528
3529
|
id: string;
|
|
3529
3530
|
label: string;
|
|
3530
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3531
3531
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3532
3532
|
locator?: string | undefined;
|
|
3533
3533
|
}, {
|
|
3534
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3534
3535
|
id: string;
|
|
3535
3536
|
label: string;
|
|
3536
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3537
3537
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3538
3538
|
locator?: string | undefined;
|
|
3539
3539
|
}>, "many">>;
|
|
3540
3540
|
}, "strict", z.ZodTypeAny, {
|
|
3541
|
+
kind: "test_result";
|
|
3541
3542
|
summary: string;
|
|
3542
3543
|
status: "error" | "failed" | "passed";
|
|
3543
|
-
kind: "test_result";
|
|
3544
3544
|
command: string;
|
|
3545
3545
|
evidence: {
|
|
3546
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3546
3547
|
id: string;
|
|
3547
3548
|
label: string;
|
|
3548
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3549
3549
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3550
3550
|
locator?: string | undefined;
|
|
3551
3551
|
}[];
|
|
@@ -3554,17 +3554,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3554
3554
|
durationMs?: number | undefined;
|
|
3555
3555
|
correctionId?: string | undefined;
|
|
3556
3556
|
}, {
|
|
3557
|
+
kind: "test_result";
|
|
3557
3558
|
summary: string;
|
|
3558
3559
|
status: "error" | "failed" | "passed";
|
|
3559
|
-
kind: "test_result";
|
|
3560
3560
|
command: string;
|
|
3561
3561
|
decisionId: string;
|
|
3562
3562
|
testId: string;
|
|
3563
3563
|
durationMs?: number | undefined;
|
|
3564
3564
|
evidence?: {
|
|
3565
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3565
3566
|
id: string;
|
|
3566
3567
|
label: string;
|
|
3567
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3568
3568
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3569
3569
|
locator?: string | undefined;
|
|
3570
3570
|
}[] | undefined;
|
|
@@ -3585,15 +3585,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3585
3585
|
locator: z.ZodOptional<z.ZodString>;
|
|
3586
3586
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3587
3587
|
}, "strict", z.ZodTypeAny, {
|
|
3588
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3588
3589
|
id: string;
|
|
3589
3590
|
label: string;
|
|
3590
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3591
3591
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3592
3592
|
locator?: string | undefined;
|
|
3593
3593
|
}, {
|
|
3594
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3594
3595
|
id: string;
|
|
3595
3596
|
label: string;
|
|
3596
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3597
3597
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3598
3598
|
locator?: string | undefined;
|
|
3599
3599
|
}>, "many">>;
|
|
@@ -3602,9 +3602,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3602
3602
|
rationale: string;
|
|
3603
3603
|
statement: string;
|
|
3604
3604
|
evidence: {
|
|
3605
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3605
3606
|
id: string;
|
|
3606
3607
|
label: string;
|
|
3607
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3608
3608
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3609
3609
|
locator?: string | undefined;
|
|
3610
3610
|
}[];
|
|
@@ -3623,9 +3623,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3623
3623
|
supersedesDecisionIds: string[];
|
|
3624
3624
|
proposedBy: string;
|
|
3625
3625
|
evidence?: {
|
|
3626
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3626
3627
|
id: string;
|
|
3627
3628
|
label: string;
|
|
3628
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3629
3629
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3630
3630
|
locator?: string | undefined;
|
|
3631
3631
|
}[] | undefined;
|
|
@@ -3637,13 +3637,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3637
3637
|
id: z.ZodString;
|
|
3638
3638
|
label: z.ZodString;
|
|
3639
3639
|
}, "strict", z.ZodTypeAny, {
|
|
3640
|
+
kind: "agent" | "human";
|
|
3640
3641
|
id: string;
|
|
3641
3642
|
label: string;
|
|
3642
|
-
kind: "agent" | "human";
|
|
3643
3643
|
}, {
|
|
3644
|
+
kind: "agent" | "human";
|
|
3644
3645
|
id: string;
|
|
3645
3646
|
label: string;
|
|
3646
|
-
kind: "agent" | "human";
|
|
3647
3647
|
}>;
|
|
3648
3648
|
note: z.ZodOptional<z.ZodString>;
|
|
3649
3649
|
evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3653,47 +3653,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3653
3653
|
locator: z.ZodOptional<z.ZodString>;
|
|
3654
3654
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3655
3655
|
}, "strict", z.ZodTypeAny, {
|
|
3656
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3656
3657
|
id: string;
|
|
3657
3658
|
label: string;
|
|
3658
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3659
3659
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3660
3660
|
locator?: string | undefined;
|
|
3661
3661
|
}, {
|
|
3662
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3662
3663
|
id: string;
|
|
3663
3664
|
label: string;
|
|
3664
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3665
3665
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3666
3666
|
locator?: string | undefined;
|
|
3667
3667
|
}>, "many">>;
|
|
3668
3668
|
}, "strict", z.ZodTypeAny, {
|
|
3669
3669
|
kind: "correction_approved";
|
|
3670
3670
|
evidence: {
|
|
3671
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3671
3672
|
id: string;
|
|
3672
3673
|
label: string;
|
|
3673
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3674
3674
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3675
3675
|
locator?: string | undefined;
|
|
3676
3676
|
}[];
|
|
3677
3677
|
correctionId: string;
|
|
3678
3678
|
approvedBy: {
|
|
3679
|
+
kind: "agent" | "human";
|
|
3679
3680
|
id: string;
|
|
3680
3681
|
label: string;
|
|
3681
|
-
kind: "agent" | "human";
|
|
3682
3682
|
};
|
|
3683
3683
|
note?: string | undefined;
|
|
3684
3684
|
}, {
|
|
3685
3685
|
kind: "correction_approved";
|
|
3686
3686
|
correctionId: string;
|
|
3687
3687
|
approvedBy: {
|
|
3688
|
+
kind: "agent" | "human";
|
|
3688
3689
|
id: string;
|
|
3689
3690
|
label: string;
|
|
3690
|
-
kind: "agent" | "human";
|
|
3691
3691
|
};
|
|
3692
3692
|
note?: string | undefined;
|
|
3693
3693
|
evidence?: {
|
|
3694
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3694
3695
|
id: string;
|
|
3695
3696
|
label: string;
|
|
3696
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3697
3697
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3698
3698
|
locator?: string | undefined;
|
|
3699
3699
|
}[] | undefined;
|
|
@@ -3709,24 +3709,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3709
3709
|
locator: z.ZodOptional<z.ZodString>;
|
|
3710
3710
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3711
3711
|
}, "strict", z.ZodTypeAny, {
|
|
3712
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3712
3713
|
id: string;
|
|
3713
3714
|
label: string;
|
|
3714
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3715
3715
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3716
3716
|
locator?: string | undefined;
|
|
3717
3717
|
}, {
|
|
3718
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3718
3719
|
id: string;
|
|
3719
3720
|
label: string;
|
|
3720
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3721
3721
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3722
3722
|
locator?: string | undefined;
|
|
3723
3723
|
}>, "many">>;
|
|
3724
3724
|
}, "strict", z.ZodTypeAny, {
|
|
3725
3725
|
kind: "decision_superseded";
|
|
3726
3726
|
evidence: {
|
|
3727
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3727
3728
|
id: string;
|
|
3728
3729
|
label: string;
|
|
3729
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3730
3730
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3731
3731
|
locator?: string | undefined;
|
|
3732
3732
|
}[];
|
|
@@ -3739,9 +3739,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3739
3739
|
correctionId: string;
|
|
3740
3740
|
replacementDecisionId: string;
|
|
3741
3741
|
evidence?: {
|
|
3742
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3742
3743
|
id: string;
|
|
3743
3744
|
label: string;
|
|
3744
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3745
3745
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3746
3746
|
locator?: string | undefined;
|
|
3747
3747
|
}[] | undefined;
|
|
@@ -3757,15 +3757,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3757
3757
|
locator: z.ZodOptional<z.ZodString>;
|
|
3758
3758
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3759
3759
|
}, "strict", z.ZodTypeAny, {
|
|
3760
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3760
3761
|
id: string;
|
|
3761
3762
|
label: string;
|
|
3762
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3763
3763
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3764
3764
|
locator?: string | undefined;
|
|
3765
3765
|
}, {
|
|
3766
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3766
3767
|
id: string;
|
|
3767
3768
|
label: string;
|
|
3768
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3769
3769
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3770
3770
|
locator?: string | undefined;
|
|
3771
3771
|
}>, "many">>;
|
|
@@ -3778,9 +3778,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3778
3778
|
agentId: string;
|
|
3779
3779
|
sessionId: string;
|
|
3780
3780
|
evidence: {
|
|
3781
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3781
3782
|
id: string;
|
|
3782
3783
|
label: string;
|
|
3783
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3784
3784
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3785
3785
|
locator?: string | undefined;
|
|
3786
3786
|
}[];
|
|
@@ -3796,9 +3796,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3796
3796
|
recallReceiptId: string;
|
|
3797
3797
|
capturedAtAction: boolean;
|
|
3798
3798
|
evidence?: {
|
|
3799
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3799
3800
|
id: string;
|
|
3800
3801
|
label: string;
|
|
3801
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3802
3802
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3803
3803
|
locator?: string | undefined;
|
|
3804
3804
|
}[] | undefined;
|
|
@@ -3814,15 +3814,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3814
3814
|
locator: z.ZodOptional<z.ZodString>;
|
|
3815
3815
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3816
3816
|
}, "strict", z.ZodTypeAny, {
|
|
3817
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3817
3818
|
id: string;
|
|
3818
3819
|
label: string;
|
|
3819
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3820
3820
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3821
3821
|
locator?: string | undefined;
|
|
3822
3822
|
}, {
|
|
3823
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3823
3824
|
id: string;
|
|
3824
3825
|
label: string;
|
|
3825
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3826
3826
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3827
3827
|
locator?: string | undefined;
|
|
3828
3828
|
}>, "many">>;
|
|
@@ -3834,9 +3834,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3834
3834
|
agentId: string;
|
|
3835
3835
|
sessionId: string;
|
|
3836
3836
|
evidence: {
|
|
3837
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3837
3838
|
id: string;
|
|
3838
3839
|
label: string;
|
|
3839
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3840
3840
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3841
3841
|
locator?: string | undefined;
|
|
3842
3842
|
}[];
|
|
@@ -3853,9 +3853,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3853
3853
|
recallReceiptId: string;
|
|
3854
3854
|
staleDecisionAbsent: boolean;
|
|
3855
3855
|
evidence?: {
|
|
3856
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3856
3857
|
id: string;
|
|
3857
3858
|
label: string;
|
|
3858
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3859
3859
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3860
3860
|
locator?: string | undefined;
|
|
3861
3861
|
}[] | undefined;
|
|
@@ -3870,37 +3870,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3870
3870
|
locator: z.ZodOptional<z.ZodString>;
|
|
3871
3871
|
capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
|
|
3872
3872
|
}, "strict", z.ZodTypeAny, {
|
|
3873
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3873
3874
|
id: string;
|
|
3874
3875
|
label: string;
|
|
3875
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3876
3876
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3877
3877
|
locator?: string | undefined;
|
|
3878
3878
|
}, {
|
|
3879
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3879
3880
|
id: string;
|
|
3880
3881
|
label: string;
|
|
3881
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3882
3882
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3883
3883
|
locator?: string | undefined;
|
|
3884
3884
|
}>, "many">>;
|
|
3885
3885
|
}, "strict", z.ZodTypeAny, {
|
|
3886
|
-
summary: string;
|
|
3887
3886
|
kind: "mission_completed";
|
|
3887
|
+
summary: string;
|
|
3888
3888
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3889
3889
|
evidence: {
|
|
3890
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3890
3891
|
id: string;
|
|
3891
3892
|
label: string;
|
|
3892
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3893
3893
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3894
3894
|
locator?: string | undefined;
|
|
3895
3895
|
}[];
|
|
3896
3896
|
}, {
|
|
3897
|
-
summary: string;
|
|
3898
3897
|
kind: "mission_completed";
|
|
3898
|
+
summary: string;
|
|
3899
3899
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
3900
3900
|
evidence?: {
|
|
3901
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3901
3902
|
id: string;
|
|
3902
3903
|
label: string;
|
|
3903
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3904
3904
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3905
3905
|
locator?: string | undefined;
|
|
3906
3906
|
}[] | undefined;
|
|
@@ -3908,38 +3908,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3908
3908
|
kind: "mission_started";
|
|
3909
3909
|
title: string;
|
|
3910
3910
|
evidence: {
|
|
3911
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3911
3912
|
id: string;
|
|
3912
3913
|
label: string;
|
|
3913
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3914
3914
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3915
3915
|
locator?: string | undefined;
|
|
3916
3916
|
}[];
|
|
3917
3917
|
objective: string;
|
|
3918
3918
|
runMode: "replay" | "fixture" | "live";
|
|
3919
3919
|
} | {
|
|
3920
|
-
label: string;
|
|
3921
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3922
3920
|
kind: "agent_status";
|
|
3921
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
3923
3922
|
role: string;
|
|
3923
|
+
label: string;
|
|
3924
3924
|
agentId: string;
|
|
3925
3925
|
sessionId: string;
|
|
3926
3926
|
evidence: {
|
|
3927
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3927
3928
|
id: string;
|
|
3928
3929
|
label: string;
|
|
3929
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3930
3930
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3931
3931
|
locator?: string | undefined;
|
|
3932
3932
|
}[];
|
|
3933
3933
|
detail?: string | undefined;
|
|
3934
3934
|
} | {
|
|
3935
|
-
summary: string;
|
|
3936
3935
|
kind: "agent_output";
|
|
3936
|
+
summary: string;
|
|
3937
3937
|
agentId: string;
|
|
3938
3938
|
sessionId: string;
|
|
3939
3939
|
evidence: {
|
|
3940
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3940
3941
|
id: string;
|
|
3941
3942
|
label: string;
|
|
3942
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3943
3943
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3944
3944
|
locator?: string | undefined;
|
|
3945
3945
|
}[];
|
|
@@ -3950,9 +3950,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3950
3950
|
statement: string;
|
|
3951
3951
|
sessionId: string;
|
|
3952
3952
|
evidence: {
|
|
3953
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3953
3954
|
id: string;
|
|
3954
3955
|
label: string;
|
|
3955
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3956
3956
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3957
3957
|
locator?: string | undefined;
|
|
3958
3958
|
}[];
|
|
@@ -3960,12 +3960,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3960
3960
|
decisionId: string;
|
|
3961
3961
|
confidence?: number | undefined;
|
|
3962
3962
|
} | {
|
|
3963
|
-
summary: string;
|
|
3964
3963
|
kind: "conflict_detected";
|
|
3964
|
+
summary: string;
|
|
3965
3965
|
evidence: {
|
|
3966
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3966
3967
|
id: string;
|
|
3967
3968
|
label: string;
|
|
3968
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3969
3969
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3970
3970
|
locator?: string | undefined;
|
|
3971
3971
|
}[];
|
|
@@ -3973,14 +3973,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3973
3973
|
decisionIds: string[];
|
|
3974
3974
|
agentIds: string[];
|
|
3975
3975
|
} | {
|
|
3976
|
+
kind: "test_result";
|
|
3976
3977
|
summary: string;
|
|
3977
3978
|
status: "error" | "failed" | "passed";
|
|
3978
|
-
kind: "test_result";
|
|
3979
3979
|
command: string;
|
|
3980
3980
|
evidence: {
|
|
3981
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3981
3982
|
id: string;
|
|
3982
3983
|
label: string;
|
|
3983
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3984
3984
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
3985
3985
|
locator?: string | undefined;
|
|
3986
3986
|
}[];
|
|
@@ -3993,9 +3993,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
3993
3993
|
rationale: string;
|
|
3994
3994
|
statement: string;
|
|
3995
3995
|
evidence: {
|
|
3996
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3996
3997
|
id: string;
|
|
3997
3998
|
label: string;
|
|
3998
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
3999
3999
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4000
4000
|
locator?: string | undefined;
|
|
4001
4001
|
}[];
|
|
@@ -4007,25 +4007,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4007
4007
|
} | {
|
|
4008
4008
|
kind: "correction_approved";
|
|
4009
4009
|
evidence: {
|
|
4010
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4010
4011
|
id: string;
|
|
4011
4012
|
label: string;
|
|
4012
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4013
4013
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4014
4014
|
locator?: string | undefined;
|
|
4015
4015
|
}[];
|
|
4016
4016
|
correctionId: string;
|
|
4017
4017
|
approvedBy: {
|
|
4018
|
+
kind: "agent" | "human";
|
|
4018
4019
|
id: string;
|
|
4019
4020
|
label: string;
|
|
4020
|
-
kind: "agent" | "human";
|
|
4021
4021
|
};
|
|
4022
4022
|
note?: string | undefined;
|
|
4023
4023
|
} | {
|
|
4024
4024
|
kind: "decision_superseded";
|
|
4025
4025
|
evidence: {
|
|
4026
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4026
4027
|
id: string;
|
|
4027
4028
|
label: string;
|
|
4028
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4029
4029
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4030
4030
|
locator?: string | undefined;
|
|
4031
4031
|
}[];
|
|
@@ -4038,9 +4038,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4038
4038
|
agentId: string;
|
|
4039
4039
|
sessionId: string;
|
|
4040
4040
|
evidence: {
|
|
4041
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4041
4042
|
id: string;
|
|
4042
4043
|
label: string;
|
|
4043
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4044
4044
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4045
4045
|
locator?: string | undefined;
|
|
4046
4046
|
}[];
|
|
@@ -4052,9 +4052,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4052
4052
|
agentId: string;
|
|
4053
4053
|
sessionId: string;
|
|
4054
4054
|
evidence: {
|
|
4055
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4055
4056
|
id: string;
|
|
4056
4057
|
label: string;
|
|
4057
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4058
4058
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4059
4059
|
locator?: string | undefined;
|
|
4060
4060
|
}[];
|
|
@@ -4063,13 +4063,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4063
4063
|
recallReceiptId: string;
|
|
4064
4064
|
staleDecisionAbsent: boolean;
|
|
4065
4065
|
} | {
|
|
4066
|
-
summary: string;
|
|
4067
4066
|
kind: "mission_completed";
|
|
4067
|
+
summary: string;
|
|
4068
4068
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4069
4069
|
evidence: {
|
|
4070
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4070
4071
|
id: string;
|
|
4071
4072
|
label: string;
|
|
4072
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4073
4073
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4074
4074
|
locator?: string | undefined;
|
|
4075
4075
|
}[];
|
|
@@ -4079,37 +4079,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4079
4079
|
objective: string;
|
|
4080
4080
|
runMode: "replay" | "fixture" | "live";
|
|
4081
4081
|
evidence?: {
|
|
4082
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4082
4083
|
id: string;
|
|
4083
4084
|
label: string;
|
|
4084
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4085
4085
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4086
4086
|
locator?: string | undefined;
|
|
4087
4087
|
}[] | undefined;
|
|
4088
4088
|
} | {
|
|
4089
|
-
label: string;
|
|
4090
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4091
4089
|
kind: "agent_status";
|
|
4090
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4092
4091
|
role: string;
|
|
4092
|
+
label: string;
|
|
4093
4093
|
agentId: string;
|
|
4094
4094
|
sessionId: string;
|
|
4095
4095
|
detail?: string | undefined;
|
|
4096
4096
|
evidence?: {
|
|
4097
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4097
4098
|
id: string;
|
|
4098
4099
|
label: string;
|
|
4099
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4100
4100
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4101
4101
|
locator?: string | undefined;
|
|
4102
4102
|
}[] | undefined;
|
|
4103
4103
|
} | {
|
|
4104
|
-
summary: string;
|
|
4105
4104
|
kind: "agent_output";
|
|
4105
|
+
summary: string;
|
|
4106
4106
|
agentId: string;
|
|
4107
4107
|
sessionId: string;
|
|
4108
4108
|
outputId: string;
|
|
4109
4109
|
evidence?: {
|
|
4110
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4110
4111
|
id: string;
|
|
4111
4112
|
label: string;
|
|
4112
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4113
4113
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4114
4114
|
locator?: string | undefined;
|
|
4115
4115
|
}[] | undefined;
|
|
@@ -4122,37 +4122,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4122
4122
|
decisionId: string;
|
|
4123
4123
|
confidence?: number | undefined;
|
|
4124
4124
|
evidence?: {
|
|
4125
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4125
4126
|
id: string;
|
|
4126
4127
|
label: string;
|
|
4127
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4128
4128
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4129
4129
|
locator?: string | undefined;
|
|
4130
4130
|
}[] | undefined;
|
|
4131
4131
|
} | {
|
|
4132
|
-
summary: string;
|
|
4133
4132
|
kind: "conflict_detected";
|
|
4133
|
+
summary: string;
|
|
4134
4134
|
conflictId: string;
|
|
4135
4135
|
decisionIds: string[];
|
|
4136
4136
|
agentIds: string[];
|
|
4137
4137
|
evidence?: {
|
|
4138
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4138
4139
|
id: string;
|
|
4139
4140
|
label: string;
|
|
4140
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4141
4141
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4142
4142
|
locator?: string | undefined;
|
|
4143
4143
|
}[] | undefined;
|
|
4144
4144
|
} | {
|
|
4145
|
+
kind: "test_result";
|
|
4145
4146
|
summary: string;
|
|
4146
4147
|
status: "error" | "failed" | "passed";
|
|
4147
|
-
kind: "test_result";
|
|
4148
4148
|
command: string;
|
|
4149
4149
|
decisionId: string;
|
|
4150
4150
|
testId: string;
|
|
4151
4151
|
durationMs?: number | undefined;
|
|
4152
4152
|
evidence?: {
|
|
4153
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4153
4154
|
id: string;
|
|
4154
4155
|
label: string;
|
|
4155
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4156
4156
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4157
4157
|
locator?: string | undefined;
|
|
4158
4158
|
}[] | undefined;
|
|
@@ -4167,9 +4167,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4167
4167
|
supersedesDecisionIds: string[];
|
|
4168
4168
|
proposedBy: string;
|
|
4169
4169
|
evidence?: {
|
|
4170
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4170
4171
|
id: string;
|
|
4171
4172
|
label: string;
|
|
4172
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4173
4173
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4174
4174
|
locator?: string | undefined;
|
|
4175
4175
|
}[] | undefined;
|
|
@@ -4177,15 +4177,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4177
4177
|
kind: "correction_approved";
|
|
4178
4178
|
correctionId: string;
|
|
4179
4179
|
approvedBy: {
|
|
4180
|
+
kind: "agent" | "human";
|
|
4180
4181
|
id: string;
|
|
4181
4182
|
label: string;
|
|
4182
|
-
kind: "agent" | "human";
|
|
4183
4183
|
};
|
|
4184
4184
|
note?: string | undefined;
|
|
4185
4185
|
evidence?: {
|
|
4186
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4186
4187
|
id: string;
|
|
4187
4188
|
label: string;
|
|
4188
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4189
4189
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4190
4190
|
locator?: string | undefined;
|
|
4191
4191
|
}[] | undefined;
|
|
@@ -4195,9 +4195,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4195
4195
|
correctionId: string;
|
|
4196
4196
|
replacementDecisionId: string;
|
|
4197
4197
|
evidence?: {
|
|
4198
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4198
4199
|
id: string;
|
|
4199
4200
|
label: string;
|
|
4200
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4201
4201
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4202
4202
|
locator?: string | undefined;
|
|
4203
4203
|
}[] | undefined;
|
|
@@ -4210,9 +4210,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4210
4210
|
recallReceiptId: string;
|
|
4211
4211
|
capturedAtAction: boolean;
|
|
4212
4212
|
evidence?: {
|
|
4213
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4213
4214
|
id: string;
|
|
4214
4215
|
label: string;
|
|
4215
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4216
4216
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4217
4217
|
locator?: string | undefined;
|
|
4218
4218
|
}[] | undefined;
|
|
@@ -4225,64 +4225,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4225
4225
|
recallReceiptId: string;
|
|
4226
4226
|
staleDecisionAbsent: boolean;
|
|
4227
4227
|
evidence?: {
|
|
4228
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4228
4229
|
id: string;
|
|
4229
4230
|
label: string;
|
|
4230
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4231
4231
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4232
4232
|
locator?: string | undefined;
|
|
4233
4233
|
}[] | undefined;
|
|
4234
4234
|
} | {
|
|
4235
|
-
summary: string;
|
|
4236
4235
|
kind: "mission_completed";
|
|
4236
|
+
summary: string;
|
|
4237
4237
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4238
4238
|
evidence?: {
|
|
4239
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4239
4240
|
id: string;
|
|
4240
4241
|
label: string;
|
|
4241
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4242
4242
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4243
4243
|
locator?: string | undefined;
|
|
4244
4244
|
}[] | undefined;
|
|
4245
4245
|
}>;
|
|
4246
4246
|
}, "strict", z.ZodTypeAny, {
|
|
4247
|
-
namespace: string;
|
|
4248
4247
|
recordedAt: string;
|
|
4249
4248
|
schemaVersion: "1";
|
|
4250
4249
|
payload: {
|
|
4251
4250
|
kind: "mission_started";
|
|
4252
4251
|
title: string;
|
|
4253
4252
|
evidence: {
|
|
4253
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4254
4254
|
id: string;
|
|
4255
4255
|
label: string;
|
|
4256
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4257
4256
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4258
4257
|
locator?: string | undefined;
|
|
4259
4258
|
}[];
|
|
4260
4259
|
objective: string;
|
|
4261
4260
|
runMode: "replay" | "fixture" | "live";
|
|
4262
4261
|
} | {
|
|
4263
|
-
label: string;
|
|
4264
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4265
4262
|
kind: "agent_status";
|
|
4263
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4266
4264
|
role: string;
|
|
4265
|
+
label: string;
|
|
4267
4266
|
agentId: string;
|
|
4268
4267
|
sessionId: string;
|
|
4269
4268
|
evidence: {
|
|
4269
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4270
4270
|
id: string;
|
|
4271
4271
|
label: string;
|
|
4272
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4273
4272
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4274
4273
|
locator?: string | undefined;
|
|
4275
4274
|
}[];
|
|
4276
4275
|
detail?: string | undefined;
|
|
4277
4276
|
} | {
|
|
4278
|
-
summary: string;
|
|
4279
4277
|
kind: "agent_output";
|
|
4278
|
+
summary: string;
|
|
4280
4279
|
agentId: string;
|
|
4281
4280
|
sessionId: string;
|
|
4282
4281
|
evidence: {
|
|
4282
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4283
4283
|
id: string;
|
|
4284
4284
|
label: string;
|
|
4285
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4286
4285
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4287
4286
|
locator?: string | undefined;
|
|
4288
4287
|
}[];
|
|
@@ -4293,9 +4292,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4293
4292
|
statement: string;
|
|
4294
4293
|
sessionId: string;
|
|
4295
4294
|
evidence: {
|
|
4295
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4296
4296
|
id: string;
|
|
4297
4297
|
label: string;
|
|
4298
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4299
4298
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4300
4299
|
locator?: string | undefined;
|
|
4301
4300
|
}[];
|
|
@@ -4303,12 +4302,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4303
4302
|
decisionId: string;
|
|
4304
4303
|
confidence?: number | undefined;
|
|
4305
4304
|
} | {
|
|
4306
|
-
summary: string;
|
|
4307
4305
|
kind: "conflict_detected";
|
|
4306
|
+
summary: string;
|
|
4308
4307
|
evidence: {
|
|
4308
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4309
4309
|
id: string;
|
|
4310
4310
|
label: string;
|
|
4311
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4312
4311
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4313
4312
|
locator?: string | undefined;
|
|
4314
4313
|
}[];
|
|
@@ -4316,14 +4315,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4316
4315
|
decisionIds: string[];
|
|
4317
4316
|
agentIds: string[];
|
|
4318
4317
|
} | {
|
|
4318
|
+
kind: "test_result";
|
|
4319
4319
|
summary: string;
|
|
4320
4320
|
status: "error" | "failed" | "passed";
|
|
4321
|
-
kind: "test_result";
|
|
4322
4321
|
command: string;
|
|
4323
4322
|
evidence: {
|
|
4323
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4324
4324
|
id: string;
|
|
4325
4325
|
label: string;
|
|
4326
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4327
4326
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4328
4327
|
locator?: string | undefined;
|
|
4329
4328
|
}[];
|
|
@@ -4336,9 +4335,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4336
4335
|
rationale: string;
|
|
4337
4336
|
statement: string;
|
|
4338
4337
|
evidence: {
|
|
4338
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4339
4339
|
id: string;
|
|
4340
4340
|
label: string;
|
|
4341
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4342
4341
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4343
4342
|
locator?: string | undefined;
|
|
4344
4343
|
}[];
|
|
@@ -4350,25 +4349,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4350
4349
|
} | {
|
|
4351
4350
|
kind: "correction_approved";
|
|
4352
4351
|
evidence: {
|
|
4352
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4353
4353
|
id: string;
|
|
4354
4354
|
label: string;
|
|
4355
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4356
4355
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4357
4356
|
locator?: string | undefined;
|
|
4358
4357
|
}[];
|
|
4359
4358
|
correctionId: string;
|
|
4360
4359
|
approvedBy: {
|
|
4360
|
+
kind: "agent" | "human";
|
|
4361
4361
|
id: string;
|
|
4362
4362
|
label: string;
|
|
4363
|
-
kind: "agent" | "human";
|
|
4364
4363
|
};
|
|
4365
4364
|
note?: string | undefined;
|
|
4366
4365
|
} | {
|
|
4367
4366
|
kind: "decision_superseded";
|
|
4368
4367
|
evidence: {
|
|
4368
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4369
4369
|
id: string;
|
|
4370
4370
|
label: string;
|
|
4371
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4372
4371
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4373
4372
|
locator?: string | undefined;
|
|
4374
4373
|
}[];
|
|
@@ -4381,9 +4380,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4381
4380
|
agentId: string;
|
|
4382
4381
|
sessionId: string;
|
|
4383
4382
|
evidence: {
|
|
4383
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4384
4384
|
id: string;
|
|
4385
4385
|
label: string;
|
|
4386
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4387
4386
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4388
4387
|
locator?: string | undefined;
|
|
4389
4388
|
}[];
|
|
@@ -4395,9 +4394,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4395
4394
|
agentId: string;
|
|
4396
4395
|
sessionId: string;
|
|
4397
4396
|
evidence: {
|
|
4397
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4398
4398
|
id: string;
|
|
4399
4399
|
label: string;
|
|
4400
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4401
4400
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4402
4401
|
locator?: string | undefined;
|
|
4403
4402
|
}[];
|
|
@@ -4406,24 +4405,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4406
4405
|
recallReceiptId: string;
|
|
4407
4406
|
staleDecisionAbsent: boolean;
|
|
4408
4407
|
} | {
|
|
4409
|
-
summary: string;
|
|
4410
4408
|
kind: "mission_completed";
|
|
4409
|
+
summary: string;
|
|
4411
4410
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4412
4411
|
evidence: {
|
|
4412
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4413
4413
|
id: string;
|
|
4414
4414
|
label: string;
|
|
4415
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4416
4415
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4417
4416
|
locator?: string | undefined;
|
|
4418
4417
|
}[];
|
|
4419
4418
|
};
|
|
4419
|
+
namespace: string;
|
|
4420
4420
|
eventId: string;
|
|
4421
4421
|
occurredAt: string;
|
|
4422
4422
|
missionId: string;
|
|
4423
4423
|
authenticatedPrincipal?: string | undefined;
|
|
4424
4424
|
idempotencyKey?: string | undefined;
|
|
4425
4425
|
}, {
|
|
4426
|
-
namespace: string;
|
|
4427
4426
|
recordedAt: string;
|
|
4428
4427
|
schemaVersion: "1";
|
|
4429
4428
|
payload: {
|
|
@@ -4432,37 +4431,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4432
4431
|
objective: string;
|
|
4433
4432
|
runMode: "replay" | "fixture" | "live";
|
|
4434
4433
|
evidence?: {
|
|
4434
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4435
4435
|
id: string;
|
|
4436
4436
|
label: string;
|
|
4437
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4438
4437
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4439
4438
|
locator?: string | undefined;
|
|
4440
4439
|
}[] | undefined;
|
|
4441
4440
|
} | {
|
|
4442
|
-
label: string;
|
|
4443
|
-
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4444
4441
|
kind: "agent_status";
|
|
4442
|
+
status: "failed" | "complete" | "blocked" | "working" | "idle";
|
|
4445
4443
|
role: string;
|
|
4444
|
+
label: string;
|
|
4446
4445
|
agentId: string;
|
|
4447
4446
|
sessionId: string;
|
|
4448
4447
|
detail?: string | undefined;
|
|
4449
4448
|
evidence?: {
|
|
4449
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4450
4450
|
id: string;
|
|
4451
4451
|
label: string;
|
|
4452
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4453
4452
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4454
4453
|
locator?: string | undefined;
|
|
4455
4454
|
}[] | undefined;
|
|
4456
4455
|
} | {
|
|
4457
|
-
summary: string;
|
|
4458
4456
|
kind: "agent_output";
|
|
4457
|
+
summary: string;
|
|
4459
4458
|
agentId: string;
|
|
4460
4459
|
sessionId: string;
|
|
4461
4460
|
outputId: string;
|
|
4462
4461
|
evidence?: {
|
|
4462
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4463
4463
|
id: string;
|
|
4464
4464
|
label: string;
|
|
4465
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4466
4465
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4467
4466
|
locator?: string | undefined;
|
|
4468
4467
|
}[] | undefined;
|
|
@@ -4475,37 +4474,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4475
4474
|
decisionId: string;
|
|
4476
4475
|
confidence?: number | undefined;
|
|
4477
4476
|
evidence?: {
|
|
4477
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4478
4478
|
id: string;
|
|
4479
4479
|
label: string;
|
|
4480
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4481
4480
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4482
4481
|
locator?: string | undefined;
|
|
4483
4482
|
}[] | undefined;
|
|
4484
4483
|
} | {
|
|
4485
|
-
summary: string;
|
|
4486
4484
|
kind: "conflict_detected";
|
|
4485
|
+
summary: string;
|
|
4487
4486
|
conflictId: string;
|
|
4488
4487
|
decisionIds: string[];
|
|
4489
4488
|
agentIds: string[];
|
|
4490
4489
|
evidence?: {
|
|
4490
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4491
4491
|
id: string;
|
|
4492
4492
|
label: string;
|
|
4493
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4494
4493
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4495
4494
|
locator?: string | undefined;
|
|
4496
4495
|
}[] | undefined;
|
|
4497
4496
|
} | {
|
|
4497
|
+
kind: "test_result";
|
|
4498
4498
|
summary: string;
|
|
4499
4499
|
status: "error" | "failed" | "passed";
|
|
4500
|
-
kind: "test_result";
|
|
4501
4500
|
command: string;
|
|
4502
4501
|
decisionId: string;
|
|
4503
4502
|
testId: string;
|
|
4504
4503
|
durationMs?: number | undefined;
|
|
4505
4504
|
evidence?: {
|
|
4505
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4506
4506
|
id: string;
|
|
4507
4507
|
label: string;
|
|
4508
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4509
4508
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4510
4509
|
locator?: string | undefined;
|
|
4511
4510
|
}[] | undefined;
|
|
@@ -4520,9 +4519,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4520
4519
|
supersedesDecisionIds: string[];
|
|
4521
4520
|
proposedBy: string;
|
|
4522
4521
|
evidence?: {
|
|
4522
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4523
4523
|
id: string;
|
|
4524
4524
|
label: string;
|
|
4525
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4526
4525
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4527
4526
|
locator?: string | undefined;
|
|
4528
4527
|
}[] | undefined;
|
|
@@ -4530,15 +4529,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4530
4529
|
kind: "correction_approved";
|
|
4531
4530
|
correctionId: string;
|
|
4532
4531
|
approvedBy: {
|
|
4532
|
+
kind: "agent" | "human";
|
|
4533
4533
|
id: string;
|
|
4534
4534
|
label: string;
|
|
4535
|
-
kind: "agent" | "human";
|
|
4536
4535
|
};
|
|
4537
4536
|
note?: string | undefined;
|
|
4538
4537
|
evidence?: {
|
|
4538
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4539
4539
|
id: string;
|
|
4540
4540
|
label: string;
|
|
4541
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4542
4541
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4543
4542
|
locator?: string | undefined;
|
|
4544
4543
|
}[] | undefined;
|
|
@@ -4548,9 +4547,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4548
4547
|
correctionId: string;
|
|
4549
4548
|
replacementDecisionId: string;
|
|
4550
4549
|
evidence?: {
|
|
4550
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4551
4551
|
id: string;
|
|
4552
4552
|
label: string;
|
|
4553
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4554
4553
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4555
4554
|
locator?: string | undefined;
|
|
4556
4555
|
}[] | undefined;
|
|
@@ -4563,9 +4562,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4563
4562
|
recallReceiptId: string;
|
|
4564
4563
|
capturedAtAction: boolean;
|
|
4565
4564
|
evidence?: {
|
|
4565
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4566
4566
|
id: string;
|
|
4567
4567
|
label: string;
|
|
4568
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4569
4568
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4570
4569
|
locator?: string | undefined;
|
|
4571
4570
|
}[] | undefined;
|
|
@@ -4578,24 +4577,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
|
|
|
4578
4577
|
recallReceiptId: string;
|
|
4579
4578
|
staleDecisionAbsent: boolean;
|
|
4580
4579
|
evidence?: {
|
|
4580
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4581
4581
|
id: string;
|
|
4582
4582
|
label: string;
|
|
4583
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4584
4583
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4585
4584
|
locator?: string | undefined;
|
|
4586
4585
|
}[] | undefined;
|
|
4587
4586
|
} | {
|
|
4588
|
-
summary: string;
|
|
4589
4587
|
kind: "mission_completed";
|
|
4588
|
+
summary: string;
|
|
4590
4589
|
outcome: "failed" | "recovered" | "inconclusive";
|
|
4591
4590
|
evidence?: {
|
|
4591
|
+
kind: "source" | "correction" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4592
4592
|
id: string;
|
|
4593
4593
|
label: string;
|
|
4594
|
-
kind: "correction" | "source" | "memory" | "commit" | "recall_audit" | "test" | "agent_output" | "approval";
|
|
4595
4594
|
capture: "at_action" | "historical_lookup" | "fixture";
|
|
4596
4595
|
locator?: string | undefined;
|
|
4597
4596
|
}[] | undefined;
|
|
4598
4597
|
};
|
|
4598
|
+
namespace: string;
|
|
4599
4599
|
eventId: string;
|
|
4600
4600
|
occurredAt: string;
|
|
4601
4601
|
missionId: string;
|