@remnic/core 9.52.1 → 9.52.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -893,15 +893,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
893
893
  locator: z.ZodOptional<z.ZodString>;
894
894
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
895
895
  }, "strict", z.ZodTypeAny, {
896
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
897
- label: string;
898
896
  id: string;
897
+ label: string;
898
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
899
899
  capture: "at_action" | "historical_lookup" | "fixture";
900
900
  locator?: string | undefined;
901
901
  }, {
902
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
903
- label: string;
904
902
  id: string;
903
+ label: string;
904
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
905
905
  capture: "at_action" | "historical_lookup" | "fixture";
906
906
  locator?: string | undefined;
907
907
  }>;
@@ -918,15 +918,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
918
918
  locator: z.ZodOptional<z.ZodString>;
919
919
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
920
920
  }, "strict", z.ZodTypeAny, {
921
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
922
- label: string;
923
921
  id: string;
922
+ label: string;
923
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
924
924
  capture: "at_action" | "historical_lookup" | "fixture";
925
925
  locator?: string | undefined;
926
926
  }, {
927
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
928
- label: string;
929
927
  id: string;
928
+ label: string;
929
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
930
930
  capture: "at_action" | "historical_lookup" | "fixture";
931
931
  locator?: string | undefined;
932
932
  }>, "many">>;
@@ -934,9 +934,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
934
934
  kind: "mission_started";
935
935
  title: string;
936
936
  evidence: {
937
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
938
- label: string;
939
937
  id: string;
938
+ label: string;
939
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
940
940
  capture: "at_action" | "historical_lookup" | "fixture";
941
941
  locator?: string | undefined;
942
942
  }[];
@@ -948,9 +948,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
948
948
  objective: string;
949
949
  runMode: "replay" | "fixture" | "live";
950
950
  evidence?: {
951
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
952
- label: string;
953
951
  id: string;
952
+ label: string;
953
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
954
954
  capture: "at_action" | "historical_lookup" | "fixture";
955
955
  locator?: string | undefined;
956
956
  }[] | undefined;
@@ -966,15 +966,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
966
966
  locator: z.ZodOptional<z.ZodString>;
967
967
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
968
968
  }, "strict", z.ZodTypeAny, {
969
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
970
- label: string;
971
969
  id: string;
970
+ label: string;
971
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
972
972
  capture: "at_action" | "historical_lookup" | "fixture";
973
973
  locator?: string | undefined;
974
974
  }, {
975
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
976
- label: string;
977
975
  id: string;
976
+ label: string;
977
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
978
978
  capture: "at_action" | "historical_lookup" | "fixture";
979
979
  locator?: string | undefined;
980
980
  }>, "many">>;
@@ -982,32 +982,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
982
982
  sessionId: z.ZodString;
983
983
  kind: z.ZodLiteral<"agent_status">;
984
984
  }, "strict", z.ZodTypeAny, {
985
- kind: "agent_status";
986
- status: "failed" | "blocked" | "working" | "complete" | "idle";
987
985
  label: string;
986
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
987
+ kind: "agent_status";
988
988
  role: string;
989
989
  agentId: string;
990
990
  sessionId: string;
991
991
  evidence: {
992
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
993
- label: string;
994
992
  id: string;
993
+ label: string;
994
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
995
995
  capture: "at_action" | "historical_lookup" | "fixture";
996
996
  locator?: string | undefined;
997
997
  }[];
998
998
  detail?: string | undefined;
999
999
  }, {
1000
- kind: "agent_status";
1001
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1002
1000
  label: string;
1001
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1002
+ kind: "agent_status";
1003
1003
  role: string;
1004
1004
  agentId: string;
1005
1005
  sessionId: string;
1006
1006
  detail?: string | undefined;
1007
1007
  evidence?: {
1008
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1009
- label: string;
1010
1008
  id: string;
1009
+ label: string;
1010
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1011
1011
  capture: "at_action" | "historical_lookup" | "fixture";
1012
1012
  locator?: string | undefined;
1013
1013
  }[] | undefined;
@@ -1021,15 +1021,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1021
1021
  locator: z.ZodOptional<z.ZodString>;
1022
1022
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1023
1023
  }, "strict", z.ZodTypeAny, {
1024
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1025
- label: string;
1026
1024
  id: string;
1025
+ label: string;
1026
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1027
1027
  capture: "at_action" | "historical_lookup" | "fixture";
1028
1028
  locator?: string | undefined;
1029
1029
  }, {
1030
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1031
- label: string;
1032
1030
  id: string;
1031
+ label: string;
1032
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1033
1033
  capture: "at_action" | "historical_lookup" | "fixture";
1034
1034
  locator?: string | undefined;
1035
1035
  }>, "many">>;
@@ -1037,28 +1037,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1037
1037
  sessionId: z.ZodString;
1038
1038
  kind: z.ZodLiteral<"agent_output">;
1039
1039
  }, "strict", z.ZodTypeAny, {
1040
- kind: "agent_output";
1041
1040
  summary: string;
1041
+ kind: "agent_output";
1042
1042
  agentId: string;
1043
1043
  sessionId: string;
1044
1044
  evidence: {
1045
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1046
- label: string;
1047
1045
  id: string;
1046
+ label: string;
1047
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1048
1048
  capture: "at_action" | "historical_lookup" | "fixture";
1049
1049
  locator?: string | undefined;
1050
1050
  }[];
1051
1051
  outputId: string;
1052
1052
  }, {
1053
- kind: "agent_output";
1054
1053
  summary: string;
1054
+ kind: "agent_output";
1055
1055
  agentId: string;
1056
1056
  sessionId: string;
1057
1057
  outputId: string;
1058
1058
  evidence?: {
1059
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1060
- label: string;
1061
1059
  id: string;
1060
+ label: string;
1061
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1062
1062
  capture: "at_action" | "historical_lookup" | "fixture";
1063
1063
  locator?: string | undefined;
1064
1064
  }[] | undefined;
@@ -1074,15 +1074,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1074
1074
  locator: z.ZodOptional<z.ZodString>;
1075
1075
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1076
1076
  }, "strict", z.ZodTypeAny, {
1077
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1078
- label: string;
1079
1077
  id: string;
1078
+ label: string;
1079
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1080
1080
  capture: "at_action" | "historical_lookup" | "fixture";
1081
1081
  locator?: string | undefined;
1082
1082
  }, {
1083
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1084
- label: string;
1085
1083
  id: string;
1084
+ label: string;
1085
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1086
1086
  capture: "at_action" | "historical_lookup" | "fixture";
1087
1087
  locator?: string | undefined;
1088
1088
  }>, "many">>;
@@ -1095,9 +1095,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1095
1095
  statement: string;
1096
1096
  sessionId: string;
1097
1097
  evidence: {
1098
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1099
- label: string;
1100
1098
  id: string;
1099
+ label: string;
1100
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1101
1101
  capture: "at_action" | "historical_lookup" | "fixture";
1102
1102
  locator?: string | undefined;
1103
1103
  }[];
@@ -1113,9 +1113,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1113
1113
  decisionId: string;
1114
1114
  confidence?: number | undefined;
1115
1115
  evidence?: {
1116
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1117
- label: string;
1118
1116
  id: string;
1117
+ label: string;
1118
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1119
1119
  capture: "at_action" | "historical_lookup" | "fixture";
1120
1120
  locator?: string | undefined;
1121
1121
  }[] | undefined;
@@ -1132,25 +1132,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1132
1132
  locator: z.ZodOptional<z.ZodString>;
1133
1133
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1134
1134
  }, "strict", z.ZodTypeAny, {
1135
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1136
- label: string;
1137
1135
  id: string;
1136
+ label: string;
1137
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1138
1138
  capture: "at_action" | "historical_lookup" | "fixture";
1139
1139
  locator?: string | undefined;
1140
1140
  }, {
1141
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1142
- label: string;
1143
1141
  id: string;
1142
+ label: string;
1143
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1144
1144
  capture: "at_action" | "historical_lookup" | "fixture";
1145
1145
  locator?: string | undefined;
1146
1146
  }>, "many">>;
1147
1147
  }, "strict", z.ZodTypeAny, {
1148
- kind: "conflict_detected";
1149
1148
  summary: string;
1149
+ kind: "conflict_detected";
1150
1150
  evidence: {
1151
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1152
- label: string;
1153
1151
  id: string;
1152
+ label: string;
1153
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1154
1154
  capture: "at_action" | "historical_lookup" | "fixture";
1155
1155
  locator?: string | undefined;
1156
1156
  }[];
@@ -1158,15 +1158,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1158
1158
  decisionIds: string[];
1159
1159
  agentIds: string[];
1160
1160
  }, {
1161
- kind: "conflict_detected";
1162
1161
  summary: string;
1162
+ kind: "conflict_detected";
1163
1163
  conflictId: string;
1164
1164
  decisionIds: string[];
1165
1165
  agentIds: string[];
1166
1166
  evidence?: {
1167
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1168
- label: string;
1169
1167
  id: string;
1168
+ label: string;
1169
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1170
1170
  capture: "at_action" | "historical_lookup" | "fixture";
1171
1171
  locator?: string | undefined;
1172
1172
  }[] | undefined;
@@ -1186,27 +1186,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1186
1186
  locator: z.ZodOptional<z.ZodString>;
1187
1187
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1188
1188
  }, "strict", z.ZodTypeAny, {
1189
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1190
- label: string;
1191
1189
  id: string;
1190
+ label: string;
1191
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1192
1192
  capture: "at_action" | "historical_lookup" | "fixture";
1193
1193
  locator?: string | undefined;
1194
1194
  }, {
1195
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1196
- label: string;
1197
1195
  id: string;
1196
+ label: string;
1197
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1198
1198
  capture: "at_action" | "historical_lookup" | "fixture";
1199
1199
  locator?: string | undefined;
1200
1200
  }>, "many">>;
1201
1201
  }, "strict", z.ZodTypeAny, {
1202
- kind: "test_result";
1203
1202
  summary: string;
1204
1203
  status: "error" | "failed" | "passed";
1204
+ kind: "test_result";
1205
1205
  command: string;
1206
1206
  evidence: {
1207
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1208
- label: string;
1209
1207
  id: string;
1208
+ label: string;
1209
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1210
1210
  capture: "at_action" | "historical_lookup" | "fixture";
1211
1211
  locator?: string | undefined;
1212
1212
  }[];
@@ -1215,17 +1215,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1215
1215
  durationMs?: number | undefined;
1216
1216
  correctionId?: string | undefined;
1217
1217
  }, {
1218
- kind: "test_result";
1219
1218
  summary: string;
1220
1219
  status: "error" | "failed" | "passed";
1220
+ kind: "test_result";
1221
1221
  command: string;
1222
1222
  decisionId: string;
1223
1223
  testId: string;
1224
1224
  durationMs?: number | undefined;
1225
1225
  evidence?: {
1226
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1227
- label: string;
1228
1226
  id: string;
1227
+ label: string;
1228
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1229
1229
  capture: "at_action" | "historical_lookup" | "fixture";
1230
1230
  locator?: string | undefined;
1231
1231
  }[] | undefined;
@@ -1246,15 +1246,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1246
1246
  locator: z.ZodOptional<z.ZodString>;
1247
1247
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1248
1248
  }, "strict", z.ZodTypeAny, {
1249
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1250
- label: string;
1251
1249
  id: string;
1250
+ label: string;
1251
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1252
1252
  capture: "at_action" | "historical_lookup" | "fixture";
1253
1253
  locator?: string | undefined;
1254
1254
  }, {
1255
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1256
- label: string;
1257
1255
  id: string;
1256
+ label: string;
1257
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1258
1258
  capture: "at_action" | "historical_lookup" | "fixture";
1259
1259
  locator?: string | undefined;
1260
1260
  }>, "many">>;
@@ -1263,9 +1263,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1263
1263
  rationale: string;
1264
1264
  statement: string;
1265
1265
  evidence: {
1266
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1267
- label: string;
1268
1266
  id: string;
1267
+ label: string;
1268
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1269
1269
  capture: "at_action" | "historical_lookup" | "fixture";
1270
1270
  locator?: string | undefined;
1271
1271
  }[];
@@ -1284,9 +1284,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1284
1284
  supersedesDecisionIds: string[];
1285
1285
  proposedBy: string;
1286
1286
  evidence?: {
1287
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1288
- label: string;
1289
1287
  id: string;
1288
+ label: string;
1289
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1290
1290
  capture: "at_action" | "historical_lookup" | "fixture";
1291
1291
  locator?: string | undefined;
1292
1292
  }[] | undefined;
@@ -1298,13 +1298,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1298
1298
  id: z.ZodString;
1299
1299
  label: z.ZodString;
1300
1300
  }, "strict", z.ZodTypeAny, {
1301
- kind: "agent" | "human";
1302
- label: string;
1303
1301
  id: string;
1304
- }, {
1305
- kind: "agent" | "human";
1306
1302
  label: string;
1303
+ kind: "agent" | "human";
1304
+ }, {
1307
1305
  id: string;
1306
+ label: string;
1307
+ kind: "agent" | "human";
1308
1308
  }>;
1309
1309
  note: z.ZodOptional<z.ZodString>;
1310
1310
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1314,47 +1314,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1314
1314
  locator: z.ZodOptional<z.ZodString>;
1315
1315
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1316
1316
  }, "strict", z.ZodTypeAny, {
1317
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1318
- label: string;
1319
1317
  id: string;
1318
+ label: string;
1319
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1320
1320
  capture: "at_action" | "historical_lookup" | "fixture";
1321
1321
  locator?: string | undefined;
1322
1322
  }, {
1323
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1324
- label: string;
1325
1323
  id: string;
1324
+ label: string;
1325
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1326
1326
  capture: "at_action" | "historical_lookup" | "fixture";
1327
1327
  locator?: string | undefined;
1328
1328
  }>, "many">>;
1329
1329
  }, "strict", z.ZodTypeAny, {
1330
1330
  kind: "correction_approved";
1331
1331
  evidence: {
1332
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1333
- label: string;
1334
1332
  id: string;
1333
+ label: string;
1334
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1335
1335
  capture: "at_action" | "historical_lookup" | "fixture";
1336
1336
  locator?: string | undefined;
1337
1337
  }[];
1338
1338
  correctionId: string;
1339
1339
  approvedBy: {
1340
- kind: "agent" | "human";
1341
- label: string;
1342
1340
  id: string;
1341
+ label: string;
1342
+ kind: "agent" | "human";
1343
1343
  };
1344
1344
  note?: string | undefined;
1345
1345
  }, {
1346
1346
  kind: "correction_approved";
1347
1347
  correctionId: string;
1348
1348
  approvedBy: {
1349
- kind: "agent" | "human";
1350
- label: string;
1351
1349
  id: string;
1350
+ label: string;
1351
+ kind: "agent" | "human";
1352
1352
  };
1353
1353
  note?: string | undefined;
1354
1354
  evidence?: {
1355
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1356
- label: string;
1357
1355
  id: string;
1356
+ label: string;
1357
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1358
1358
  capture: "at_action" | "historical_lookup" | "fixture";
1359
1359
  locator?: string | undefined;
1360
1360
  }[] | undefined;
@@ -1370,24 +1370,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1370
1370
  locator: z.ZodOptional<z.ZodString>;
1371
1371
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1372
1372
  }, "strict", z.ZodTypeAny, {
1373
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1374
- label: string;
1375
1373
  id: string;
1374
+ label: string;
1375
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1376
1376
  capture: "at_action" | "historical_lookup" | "fixture";
1377
1377
  locator?: string | undefined;
1378
1378
  }, {
1379
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1380
- label: string;
1381
1379
  id: string;
1380
+ label: string;
1381
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1382
1382
  capture: "at_action" | "historical_lookup" | "fixture";
1383
1383
  locator?: string | undefined;
1384
1384
  }>, "many">>;
1385
1385
  }, "strict", z.ZodTypeAny, {
1386
1386
  kind: "decision_superseded";
1387
1387
  evidence: {
1388
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1389
- label: string;
1390
1388
  id: string;
1389
+ label: string;
1390
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1391
1391
  capture: "at_action" | "historical_lookup" | "fixture";
1392
1392
  locator?: string | undefined;
1393
1393
  }[];
@@ -1400,9 +1400,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1400
1400
  correctionId: string;
1401
1401
  replacementDecisionId: string;
1402
1402
  evidence?: {
1403
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1404
- label: string;
1405
1403
  id: string;
1404
+ label: string;
1405
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1406
1406
  capture: "at_action" | "historical_lookup" | "fixture";
1407
1407
  locator?: string | undefined;
1408
1408
  }[] | undefined;
@@ -1418,15 +1418,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1418
1418
  locator: z.ZodOptional<z.ZodString>;
1419
1419
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1420
1420
  }, "strict", z.ZodTypeAny, {
1421
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1422
- label: string;
1423
1421
  id: string;
1422
+ label: string;
1423
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1424
1424
  capture: "at_action" | "historical_lookup" | "fixture";
1425
1425
  locator?: string | undefined;
1426
1426
  }, {
1427
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1428
- label: string;
1429
1427
  id: string;
1428
+ label: string;
1429
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1430
1430
  capture: "at_action" | "historical_lookup" | "fixture";
1431
1431
  locator?: string | undefined;
1432
1432
  }>, "many">>;
@@ -1439,9 +1439,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1439
1439
  agentId: string;
1440
1440
  sessionId: string;
1441
1441
  evidence: {
1442
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1443
- label: string;
1444
1442
  id: string;
1443
+ label: string;
1444
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1445
1445
  capture: "at_action" | "historical_lookup" | "fixture";
1446
1446
  locator?: string | undefined;
1447
1447
  }[];
@@ -1457,9 +1457,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1457
1457
  recallReceiptId: string;
1458
1458
  capturedAtAction: boolean;
1459
1459
  evidence?: {
1460
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1461
- label: string;
1462
1460
  id: string;
1461
+ label: string;
1462
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1463
1463
  capture: "at_action" | "historical_lookup" | "fixture";
1464
1464
  locator?: string | undefined;
1465
1465
  }[] | undefined;
@@ -1475,15 +1475,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1475
1475
  locator: z.ZodOptional<z.ZodString>;
1476
1476
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1477
1477
  }, "strict", z.ZodTypeAny, {
1478
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1479
- label: string;
1480
1478
  id: string;
1479
+ label: string;
1480
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1481
1481
  capture: "at_action" | "historical_lookup" | "fixture";
1482
1482
  locator?: string | undefined;
1483
1483
  }, {
1484
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1485
- label: string;
1486
1484
  id: string;
1485
+ label: string;
1486
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1487
1487
  capture: "at_action" | "historical_lookup" | "fixture";
1488
1488
  locator?: string | undefined;
1489
1489
  }>, "many">>;
@@ -1495,9 +1495,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1495
1495
  agentId: string;
1496
1496
  sessionId: string;
1497
1497
  evidence: {
1498
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1499
- label: string;
1500
1498
  id: string;
1499
+ label: string;
1500
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1501
1501
  capture: "at_action" | "historical_lookup" | "fixture";
1502
1502
  locator?: string | undefined;
1503
1503
  }[];
@@ -1514,9 +1514,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1514
1514
  recallReceiptId: string;
1515
1515
  staleDecisionAbsent: boolean;
1516
1516
  evidence?: {
1517
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1518
- label: string;
1519
1517
  id: string;
1518
+ label: string;
1519
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1520
1520
  capture: "at_action" | "historical_lookup" | "fixture";
1521
1521
  locator?: string | undefined;
1522
1522
  }[] | undefined;
@@ -1531,37 +1531,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1531
1531
  locator: z.ZodOptional<z.ZodString>;
1532
1532
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1533
1533
  }, "strict", z.ZodTypeAny, {
1534
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1535
- label: string;
1536
1534
  id: string;
1535
+ label: string;
1536
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1537
1537
  capture: "at_action" | "historical_lookup" | "fixture";
1538
1538
  locator?: string | undefined;
1539
1539
  }, {
1540
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1541
- label: string;
1542
1540
  id: string;
1541
+ label: string;
1542
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1543
1543
  capture: "at_action" | "historical_lookup" | "fixture";
1544
1544
  locator?: string | undefined;
1545
1545
  }>, "many">>;
1546
1546
  }, "strict", z.ZodTypeAny, {
1547
- kind: "mission_completed";
1548
1547
  summary: string;
1548
+ kind: "mission_completed";
1549
1549
  outcome: "failed" | "recovered" | "inconclusive";
1550
1550
  evidence: {
1551
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1552
- label: string;
1553
1551
  id: string;
1552
+ label: string;
1553
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1554
1554
  capture: "at_action" | "historical_lookup" | "fixture";
1555
1555
  locator?: string | undefined;
1556
1556
  }[];
1557
1557
  }, {
1558
- kind: "mission_completed";
1559
1558
  summary: string;
1559
+ kind: "mission_completed";
1560
1560
  outcome: "failed" | "recovered" | "inconclusive";
1561
1561
  evidence?: {
1562
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1563
- label: string;
1564
1562
  id: string;
1563
+ label: string;
1564
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1565
1565
  capture: "at_action" | "historical_lookup" | "fixture";
1566
1566
  locator?: string | undefined;
1567
1567
  }[] | undefined;
@@ -1569,38 +1569,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1569
1569
  kind: "mission_started";
1570
1570
  title: string;
1571
1571
  evidence: {
1572
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1573
- label: string;
1574
1572
  id: string;
1573
+ label: string;
1574
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1575
1575
  capture: "at_action" | "historical_lookup" | "fixture";
1576
1576
  locator?: string | undefined;
1577
1577
  }[];
1578
1578
  objective: string;
1579
1579
  runMode: "replay" | "fixture" | "live";
1580
1580
  } | {
1581
- kind: "agent_status";
1582
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1583
1581
  label: string;
1582
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1583
+ kind: "agent_status";
1584
1584
  role: string;
1585
1585
  agentId: string;
1586
1586
  sessionId: string;
1587
1587
  evidence: {
1588
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1589
- label: string;
1590
1588
  id: string;
1589
+ label: string;
1590
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1591
1591
  capture: "at_action" | "historical_lookup" | "fixture";
1592
1592
  locator?: string | undefined;
1593
1593
  }[];
1594
1594
  detail?: string | undefined;
1595
1595
  } | {
1596
- kind: "agent_output";
1597
1596
  summary: string;
1597
+ kind: "agent_output";
1598
1598
  agentId: string;
1599
1599
  sessionId: string;
1600
1600
  evidence: {
1601
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1602
- label: string;
1603
1601
  id: string;
1602
+ label: string;
1603
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1604
1604
  capture: "at_action" | "historical_lookup" | "fixture";
1605
1605
  locator?: string | undefined;
1606
1606
  }[];
@@ -1611,9 +1611,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1611
1611
  statement: string;
1612
1612
  sessionId: string;
1613
1613
  evidence: {
1614
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1615
- label: string;
1616
1614
  id: string;
1615
+ label: string;
1616
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1617
1617
  capture: "at_action" | "historical_lookup" | "fixture";
1618
1618
  locator?: string | undefined;
1619
1619
  }[];
@@ -1621,12 +1621,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1621
1621
  decisionId: string;
1622
1622
  confidence?: number | undefined;
1623
1623
  } | {
1624
- kind: "conflict_detected";
1625
1624
  summary: string;
1625
+ kind: "conflict_detected";
1626
1626
  evidence: {
1627
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1628
- label: string;
1629
1627
  id: string;
1628
+ label: string;
1629
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1630
1630
  capture: "at_action" | "historical_lookup" | "fixture";
1631
1631
  locator?: string | undefined;
1632
1632
  }[];
@@ -1634,14 +1634,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1634
1634
  decisionIds: string[];
1635
1635
  agentIds: string[];
1636
1636
  } | {
1637
- kind: "test_result";
1638
1637
  summary: string;
1639
1638
  status: "error" | "failed" | "passed";
1639
+ kind: "test_result";
1640
1640
  command: string;
1641
1641
  evidence: {
1642
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1643
- label: string;
1644
1642
  id: string;
1643
+ label: string;
1644
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1645
1645
  capture: "at_action" | "historical_lookup" | "fixture";
1646
1646
  locator?: string | undefined;
1647
1647
  }[];
@@ -1654,9 +1654,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1654
1654
  rationale: string;
1655
1655
  statement: string;
1656
1656
  evidence: {
1657
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1658
- label: string;
1659
1657
  id: string;
1658
+ label: string;
1659
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1660
1660
  capture: "at_action" | "historical_lookup" | "fixture";
1661
1661
  locator?: string | undefined;
1662
1662
  }[];
@@ -1668,25 +1668,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1668
1668
  } | {
1669
1669
  kind: "correction_approved";
1670
1670
  evidence: {
1671
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1672
- label: string;
1673
1671
  id: string;
1672
+ label: string;
1673
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1674
1674
  capture: "at_action" | "historical_lookup" | "fixture";
1675
1675
  locator?: string | undefined;
1676
1676
  }[];
1677
1677
  correctionId: string;
1678
1678
  approvedBy: {
1679
- kind: "agent" | "human";
1680
- label: string;
1681
1679
  id: string;
1680
+ label: string;
1681
+ kind: "agent" | "human";
1682
1682
  };
1683
1683
  note?: string | undefined;
1684
1684
  } | {
1685
1685
  kind: "decision_superseded";
1686
1686
  evidence: {
1687
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1688
- label: string;
1689
1687
  id: string;
1688
+ label: string;
1689
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1690
1690
  capture: "at_action" | "historical_lookup" | "fixture";
1691
1691
  locator?: string | undefined;
1692
1692
  }[];
@@ -1699,9 +1699,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1699
1699
  agentId: string;
1700
1700
  sessionId: string;
1701
1701
  evidence: {
1702
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1703
- label: string;
1704
1702
  id: string;
1703
+ label: string;
1704
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1705
1705
  capture: "at_action" | "historical_lookup" | "fixture";
1706
1706
  locator?: string | undefined;
1707
1707
  }[];
@@ -1713,9 +1713,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1713
1713
  agentId: string;
1714
1714
  sessionId: string;
1715
1715
  evidence: {
1716
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1717
- label: string;
1718
1716
  id: string;
1717
+ label: string;
1718
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1719
1719
  capture: "at_action" | "historical_lookup" | "fixture";
1720
1720
  locator?: string | undefined;
1721
1721
  }[];
@@ -1724,13 +1724,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1724
1724
  recallReceiptId: string;
1725
1725
  staleDecisionAbsent: boolean;
1726
1726
  } | {
1727
- kind: "mission_completed";
1728
1727
  summary: string;
1728
+ kind: "mission_completed";
1729
1729
  outcome: "failed" | "recovered" | "inconclusive";
1730
1730
  evidence: {
1731
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1732
- label: string;
1733
1731
  id: string;
1732
+ label: string;
1733
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1734
1734
  capture: "at_action" | "historical_lookup" | "fixture";
1735
1735
  locator?: string | undefined;
1736
1736
  }[];
@@ -1740,37 +1740,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1740
1740
  objective: string;
1741
1741
  runMode: "replay" | "fixture" | "live";
1742
1742
  evidence?: {
1743
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1744
- label: string;
1745
1743
  id: string;
1744
+ label: string;
1745
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1746
1746
  capture: "at_action" | "historical_lookup" | "fixture";
1747
1747
  locator?: string | undefined;
1748
1748
  }[] | undefined;
1749
1749
  } | {
1750
- kind: "agent_status";
1751
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1752
1750
  label: string;
1751
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1752
+ kind: "agent_status";
1753
1753
  role: string;
1754
1754
  agentId: string;
1755
1755
  sessionId: string;
1756
1756
  detail?: string | undefined;
1757
1757
  evidence?: {
1758
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1759
- label: string;
1760
1758
  id: string;
1759
+ label: string;
1760
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1761
1761
  capture: "at_action" | "historical_lookup" | "fixture";
1762
1762
  locator?: string | undefined;
1763
1763
  }[] | undefined;
1764
1764
  } | {
1765
- kind: "agent_output";
1766
1765
  summary: string;
1766
+ kind: "agent_output";
1767
1767
  agentId: string;
1768
1768
  sessionId: string;
1769
1769
  outputId: string;
1770
1770
  evidence?: {
1771
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1772
- label: string;
1773
1771
  id: string;
1772
+ label: string;
1773
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1774
1774
  capture: "at_action" | "historical_lookup" | "fixture";
1775
1775
  locator?: string | undefined;
1776
1776
  }[] | undefined;
@@ -1783,37 +1783,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1783
1783
  decisionId: string;
1784
1784
  confidence?: number | undefined;
1785
1785
  evidence?: {
1786
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1787
- label: string;
1788
1786
  id: string;
1787
+ label: string;
1788
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1789
1789
  capture: "at_action" | "historical_lookup" | "fixture";
1790
1790
  locator?: string | undefined;
1791
1791
  }[] | undefined;
1792
1792
  } | {
1793
- kind: "conflict_detected";
1794
1793
  summary: string;
1794
+ kind: "conflict_detected";
1795
1795
  conflictId: string;
1796
1796
  decisionIds: string[];
1797
1797
  agentIds: string[];
1798
1798
  evidence?: {
1799
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1800
- label: string;
1801
1799
  id: string;
1800
+ label: string;
1801
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1802
1802
  capture: "at_action" | "historical_lookup" | "fixture";
1803
1803
  locator?: string | undefined;
1804
1804
  }[] | undefined;
1805
1805
  } | {
1806
- kind: "test_result";
1807
1806
  summary: string;
1808
1807
  status: "error" | "failed" | "passed";
1808
+ kind: "test_result";
1809
1809
  command: string;
1810
1810
  decisionId: string;
1811
1811
  testId: string;
1812
1812
  durationMs?: number | undefined;
1813
1813
  evidence?: {
1814
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1815
- label: string;
1816
1814
  id: string;
1815
+ label: string;
1816
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1817
1817
  capture: "at_action" | "historical_lookup" | "fixture";
1818
1818
  locator?: string | undefined;
1819
1819
  }[] | undefined;
@@ -1828,9 +1828,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1828
1828
  supersedesDecisionIds: string[];
1829
1829
  proposedBy: string;
1830
1830
  evidence?: {
1831
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1832
- label: string;
1833
1831
  id: string;
1832
+ label: string;
1833
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1834
1834
  capture: "at_action" | "historical_lookup" | "fixture";
1835
1835
  locator?: string | undefined;
1836
1836
  }[] | undefined;
@@ -1838,15 +1838,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1838
1838
  kind: "correction_approved";
1839
1839
  correctionId: string;
1840
1840
  approvedBy: {
1841
- kind: "agent" | "human";
1842
- label: string;
1843
1841
  id: string;
1842
+ label: string;
1843
+ kind: "agent" | "human";
1844
1844
  };
1845
1845
  note?: string | undefined;
1846
1846
  evidence?: {
1847
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1848
- label: string;
1849
1847
  id: string;
1848
+ label: string;
1849
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1850
1850
  capture: "at_action" | "historical_lookup" | "fixture";
1851
1851
  locator?: string | undefined;
1852
1852
  }[] | undefined;
@@ -1856,9 +1856,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1856
1856
  correctionId: string;
1857
1857
  replacementDecisionId: string;
1858
1858
  evidence?: {
1859
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1860
- label: string;
1861
1859
  id: string;
1860
+ label: string;
1861
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1862
1862
  capture: "at_action" | "historical_lookup" | "fixture";
1863
1863
  locator?: string | undefined;
1864
1864
  }[] | undefined;
@@ -1871,9 +1871,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1871
1871
  recallReceiptId: string;
1872
1872
  capturedAtAction: boolean;
1873
1873
  evidence?: {
1874
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1875
- label: string;
1876
1874
  id: string;
1875
+ label: string;
1876
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1877
1877
  capture: "at_action" | "historical_lookup" | "fixture";
1878
1878
  locator?: string | undefined;
1879
1879
  }[] | undefined;
@@ -1886,20 +1886,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1886
1886
  recallReceiptId: string;
1887
1887
  staleDecisionAbsent: boolean;
1888
1888
  evidence?: {
1889
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1890
- label: string;
1891
1889
  id: string;
1890
+ label: string;
1891
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1892
1892
  capture: "at_action" | "historical_lookup" | "fixture";
1893
1893
  locator?: string | undefined;
1894
1894
  }[] | undefined;
1895
1895
  } | {
1896
- kind: "mission_completed";
1897
1896
  summary: string;
1897
+ kind: "mission_completed";
1898
1898
  outcome: "failed" | "recovered" | "inconclusive";
1899
1899
  evidence?: {
1900
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1901
- label: string;
1902
1900
  id: string;
1901
+ label: string;
1902
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1903
1903
  capture: "at_action" | "historical_lookup" | "fixture";
1904
1904
  locator?: string | undefined;
1905
1905
  }[] | undefined;
@@ -1920,15 +1920,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1920
1920
  locator: z.ZodOptional<z.ZodString>;
1921
1921
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1922
1922
  }, "strict", z.ZodTypeAny, {
1923
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1924
- label: string;
1925
1923
  id: string;
1924
+ label: string;
1925
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1926
1926
  capture: "at_action" | "historical_lookup" | "fixture";
1927
1927
  locator?: string | undefined;
1928
1928
  }, {
1929
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1930
- label: string;
1931
1929
  id: string;
1930
+ label: string;
1931
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1932
1932
  capture: "at_action" | "historical_lookup" | "fixture";
1933
1933
  locator?: string | undefined;
1934
1934
  }>, "many">>;
@@ -1936,9 +1936,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1936
1936
  kind: "mission_started";
1937
1937
  title: string;
1938
1938
  evidence: {
1939
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1940
- label: string;
1941
1939
  id: string;
1940
+ label: string;
1941
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1942
1942
  capture: "at_action" | "historical_lookup" | "fixture";
1943
1943
  locator?: string | undefined;
1944
1944
  }[];
@@ -1950,9 +1950,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1950
1950
  objective: string;
1951
1951
  runMode: "replay" | "fixture" | "live";
1952
1952
  evidence?: {
1953
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1954
- label: string;
1955
1953
  id: string;
1954
+ label: string;
1955
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1956
1956
  capture: "at_action" | "historical_lookup" | "fixture";
1957
1957
  locator?: string | undefined;
1958
1958
  }[] | undefined;
@@ -1968,15 +1968,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1968
1968
  locator: z.ZodOptional<z.ZodString>;
1969
1969
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1970
1970
  }, "strict", z.ZodTypeAny, {
1971
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1972
- label: string;
1973
1971
  id: string;
1972
+ label: string;
1973
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1974
1974
  capture: "at_action" | "historical_lookup" | "fixture";
1975
1975
  locator?: string | undefined;
1976
1976
  }, {
1977
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1978
- label: string;
1979
1977
  id: string;
1978
+ label: string;
1979
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1980
1980
  capture: "at_action" | "historical_lookup" | "fixture";
1981
1981
  locator?: string | undefined;
1982
1982
  }>, "many">>;
@@ -1984,32 +1984,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1984
1984
  sessionId: z.ZodString;
1985
1985
  kind: z.ZodLiteral<"agent_status">;
1986
1986
  }, "strict", z.ZodTypeAny, {
1987
- kind: "agent_status";
1988
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1989
1987
  label: string;
1988
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1989
+ kind: "agent_status";
1990
1990
  role: string;
1991
1991
  agentId: string;
1992
1992
  sessionId: string;
1993
1993
  evidence: {
1994
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1995
- label: string;
1996
1994
  id: string;
1995
+ label: string;
1996
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1997
1997
  capture: "at_action" | "historical_lookup" | "fixture";
1998
1998
  locator?: string | undefined;
1999
1999
  }[];
2000
2000
  detail?: string | undefined;
2001
2001
  }, {
2002
- kind: "agent_status";
2003
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2004
2002
  label: string;
2003
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2004
+ kind: "agent_status";
2005
2005
  role: string;
2006
2006
  agentId: string;
2007
2007
  sessionId: string;
2008
2008
  detail?: string | undefined;
2009
2009
  evidence?: {
2010
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2011
- label: string;
2012
2010
  id: string;
2011
+ label: string;
2012
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2013
2013
  capture: "at_action" | "historical_lookup" | "fixture";
2014
2014
  locator?: string | undefined;
2015
2015
  }[] | undefined;
@@ -2023,15 +2023,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2023
2023
  locator: z.ZodOptional<z.ZodString>;
2024
2024
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2025
2025
  }, "strict", z.ZodTypeAny, {
2026
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2027
- label: string;
2028
2026
  id: string;
2027
+ label: string;
2028
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2029
2029
  capture: "at_action" | "historical_lookup" | "fixture";
2030
2030
  locator?: string | undefined;
2031
2031
  }, {
2032
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2033
- label: string;
2034
2032
  id: string;
2033
+ label: string;
2034
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2035
2035
  capture: "at_action" | "historical_lookup" | "fixture";
2036
2036
  locator?: string | undefined;
2037
2037
  }>, "many">>;
@@ -2039,28 +2039,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2039
2039
  sessionId: z.ZodString;
2040
2040
  kind: z.ZodLiteral<"agent_output">;
2041
2041
  }, "strict", z.ZodTypeAny, {
2042
- kind: "agent_output";
2043
2042
  summary: string;
2043
+ kind: "agent_output";
2044
2044
  agentId: string;
2045
2045
  sessionId: string;
2046
2046
  evidence: {
2047
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2048
- label: string;
2049
2047
  id: string;
2048
+ label: string;
2049
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2050
2050
  capture: "at_action" | "historical_lookup" | "fixture";
2051
2051
  locator?: string | undefined;
2052
2052
  }[];
2053
2053
  outputId: string;
2054
2054
  }, {
2055
- kind: "agent_output";
2056
2055
  summary: string;
2056
+ kind: "agent_output";
2057
2057
  agentId: string;
2058
2058
  sessionId: string;
2059
2059
  outputId: string;
2060
2060
  evidence?: {
2061
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2062
- label: string;
2063
2061
  id: string;
2062
+ label: string;
2063
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2064
2064
  capture: "at_action" | "historical_lookup" | "fixture";
2065
2065
  locator?: string | undefined;
2066
2066
  }[] | undefined;
@@ -2076,15 +2076,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2076
2076
  locator: z.ZodOptional<z.ZodString>;
2077
2077
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2078
2078
  }, "strict", z.ZodTypeAny, {
2079
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2080
- label: string;
2081
2079
  id: string;
2080
+ label: string;
2081
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2082
2082
  capture: "at_action" | "historical_lookup" | "fixture";
2083
2083
  locator?: string | undefined;
2084
2084
  }, {
2085
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2086
- label: string;
2087
2085
  id: string;
2086
+ label: string;
2087
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2088
2088
  capture: "at_action" | "historical_lookup" | "fixture";
2089
2089
  locator?: string | undefined;
2090
2090
  }>, "many">>;
@@ -2097,9 +2097,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2097
2097
  statement: string;
2098
2098
  sessionId: string;
2099
2099
  evidence: {
2100
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2101
- label: string;
2102
2100
  id: string;
2101
+ label: string;
2102
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2103
2103
  capture: "at_action" | "historical_lookup" | "fixture";
2104
2104
  locator?: string | undefined;
2105
2105
  }[];
@@ -2115,9 +2115,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2115
2115
  decisionId: string;
2116
2116
  confidence?: number | undefined;
2117
2117
  evidence?: {
2118
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2119
- label: string;
2120
2118
  id: string;
2119
+ label: string;
2120
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2121
2121
  capture: "at_action" | "historical_lookup" | "fixture";
2122
2122
  locator?: string | undefined;
2123
2123
  }[] | undefined;
@@ -2134,25 +2134,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2134
2134
  locator: z.ZodOptional<z.ZodString>;
2135
2135
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2136
2136
  }, "strict", z.ZodTypeAny, {
2137
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2138
- label: string;
2139
2137
  id: string;
2138
+ label: string;
2139
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2140
2140
  capture: "at_action" | "historical_lookup" | "fixture";
2141
2141
  locator?: string | undefined;
2142
2142
  }, {
2143
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2144
- label: string;
2145
2143
  id: string;
2144
+ label: string;
2145
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2146
2146
  capture: "at_action" | "historical_lookup" | "fixture";
2147
2147
  locator?: string | undefined;
2148
2148
  }>, "many">>;
2149
2149
  }, "strict", z.ZodTypeAny, {
2150
- kind: "conflict_detected";
2151
2150
  summary: string;
2151
+ kind: "conflict_detected";
2152
2152
  evidence: {
2153
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2154
- label: string;
2155
2153
  id: string;
2154
+ label: string;
2155
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2156
2156
  capture: "at_action" | "historical_lookup" | "fixture";
2157
2157
  locator?: string | undefined;
2158
2158
  }[];
@@ -2160,15 +2160,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2160
2160
  decisionIds: string[];
2161
2161
  agentIds: string[];
2162
2162
  }, {
2163
- kind: "conflict_detected";
2164
2163
  summary: string;
2164
+ kind: "conflict_detected";
2165
2165
  conflictId: string;
2166
2166
  decisionIds: string[];
2167
2167
  agentIds: string[];
2168
2168
  evidence?: {
2169
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2170
- label: string;
2171
2169
  id: string;
2170
+ label: string;
2171
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2172
2172
  capture: "at_action" | "historical_lookup" | "fixture";
2173
2173
  locator?: string | undefined;
2174
2174
  }[] | undefined;
@@ -2188,27 +2188,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2188
2188
  locator: z.ZodOptional<z.ZodString>;
2189
2189
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2190
2190
  }, "strict", z.ZodTypeAny, {
2191
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2192
- label: string;
2193
2191
  id: string;
2192
+ label: string;
2193
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2194
2194
  capture: "at_action" | "historical_lookup" | "fixture";
2195
2195
  locator?: string | undefined;
2196
2196
  }, {
2197
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2198
- label: string;
2199
2197
  id: string;
2198
+ label: string;
2199
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2200
2200
  capture: "at_action" | "historical_lookup" | "fixture";
2201
2201
  locator?: string | undefined;
2202
2202
  }>, "many">>;
2203
2203
  }, "strict", z.ZodTypeAny, {
2204
- kind: "test_result";
2205
2204
  summary: string;
2206
2205
  status: "error" | "failed" | "passed";
2206
+ kind: "test_result";
2207
2207
  command: string;
2208
2208
  evidence: {
2209
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2210
- label: string;
2211
2209
  id: string;
2210
+ label: string;
2211
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2212
2212
  capture: "at_action" | "historical_lookup" | "fixture";
2213
2213
  locator?: string | undefined;
2214
2214
  }[];
@@ -2217,17 +2217,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2217
2217
  durationMs?: number | undefined;
2218
2218
  correctionId?: string | undefined;
2219
2219
  }, {
2220
- kind: "test_result";
2221
2220
  summary: string;
2222
2221
  status: "error" | "failed" | "passed";
2222
+ kind: "test_result";
2223
2223
  command: string;
2224
2224
  decisionId: string;
2225
2225
  testId: string;
2226
2226
  durationMs?: number | undefined;
2227
2227
  evidence?: {
2228
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2229
- label: string;
2230
2228
  id: string;
2229
+ label: string;
2230
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2231
2231
  capture: "at_action" | "historical_lookup" | "fixture";
2232
2232
  locator?: string | undefined;
2233
2233
  }[] | undefined;
@@ -2248,15 +2248,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2248
2248
  locator: z.ZodOptional<z.ZodString>;
2249
2249
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2250
2250
  }, "strict", z.ZodTypeAny, {
2251
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2252
- label: string;
2253
2251
  id: string;
2252
+ label: string;
2253
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2254
2254
  capture: "at_action" | "historical_lookup" | "fixture";
2255
2255
  locator?: string | undefined;
2256
2256
  }, {
2257
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2258
- label: string;
2259
2257
  id: string;
2258
+ label: string;
2259
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2260
2260
  capture: "at_action" | "historical_lookup" | "fixture";
2261
2261
  locator?: string | undefined;
2262
2262
  }>, "many">>;
@@ -2265,9 +2265,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2265
2265
  rationale: string;
2266
2266
  statement: string;
2267
2267
  evidence: {
2268
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2269
- label: string;
2270
2268
  id: string;
2269
+ label: string;
2270
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2271
2271
  capture: "at_action" | "historical_lookup" | "fixture";
2272
2272
  locator?: string | undefined;
2273
2273
  }[];
@@ -2286,9 +2286,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2286
2286
  supersedesDecisionIds: string[];
2287
2287
  proposedBy: string;
2288
2288
  evidence?: {
2289
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2290
- label: string;
2291
2289
  id: string;
2290
+ label: string;
2291
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2292
2292
  capture: "at_action" | "historical_lookup" | "fixture";
2293
2293
  locator?: string | undefined;
2294
2294
  }[] | undefined;
@@ -2300,13 +2300,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2300
2300
  id: z.ZodString;
2301
2301
  label: z.ZodString;
2302
2302
  }, "strict", z.ZodTypeAny, {
2303
- kind: "agent" | "human";
2304
- label: string;
2305
2303
  id: string;
2306
- }, {
2307
- kind: "agent" | "human";
2308
2304
  label: string;
2305
+ kind: "agent" | "human";
2306
+ }, {
2309
2307
  id: string;
2308
+ label: string;
2309
+ kind: "agent" | "human";
2310
2310
  }>;
2311
2311
  note: z.ZodOptional<z.ZodString>;
2312
2312
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2316,47 +2316,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2316
2316
  locator: z.ZodOptional<z.ZodString>;
2317
2317
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2318
2318
  }, "strict", z.ZodTypeAny, {
2319
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2320
- label: string;
2321
2319
  id: string;
2320
+ label: string;
2321
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2322
2322
  capture: "at_action" | "historical_lookup" | "fixture";
2323
2323
  locator?: string | undefined;
2324
2324
  }, {
2325
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2326
- label: string;
2327
2325
  id: string;
2326
+ label: string;
2327
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2328
2328
  capture: "at_action" | "historical_lookup" | "fixture";
2329
2329
  locator?: string | undefined;
2330
2330
  }>, "many">>;
2331
2331
  }, "strict", z.ZodTypeAny, {
2332
2332
  kind: "correction_approved";
2333
2333
  evidence: {
2334
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2335
- label: string;
2336
2334
  id: string;
2335
+ label: string;
2336
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2337
2337
  capture: "at_action" | "historical_lookup" | "fixture";
2338
2338
  locator?: string | undefined;
2339
2339
  }[];
2340
2340
  correctionId: string;
2341
2341
  approvedBy: {
2342
- kind: "agent" | "human";
2343
- label: string;
2344
2342
  id: string;
2343
+ label: string;
2344
+ kind: "agent" | "human";
2345
2345
  };
2346
2346
  note?: string | undefined;
2347
2347
  }, {
2348
2348
  kind: "correction_approved";
2349
2349
  correctionId: string;
2350
2350
  approvedBy: {
2351
- kind: "agent" | "human";
2352
- label: string;
2353
2351
  id: string;
2352
+ label: string;
2353
+ kind: "agent" | "human";
2354
2354
  };
2355
2355
  note?: string | undefined;
2356
2356
  evidence?: {
2357
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2358
- label: string;
2359
2357
  id: string;
2358
+ label: string;
2359
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2360
2360
  capture: "at_action" | "historical_lookup" | "fixture";
2361
2361
  locator?: string | undefined;
2362
2362
  }[] | undefined;
@@ -2372,24 +2372,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2372
2372
  locator: z.ZodOptional<z.ZodString>;
2373
2373
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2374
2374
  }, "strict", z.ZodTypeAny, {
2375
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2376
- label: string;
2377
2375
  id: string;
2376
+ label: string;
2377
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2378
2378
  capture: "at_action" | "historical_lookup" | "fixture";
2379
2379
  locator?: string | undefined;
2380
2380
  }, {
2381
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2382
- label: string;
2383
2381
  id: string;
2382
+ label: string;
2383
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2384
2384
  capture: "at_action" | "historical_lookup" | "fixture";
2385
2385
  locator?: string | undefined;
2386
2386
  }>, "many">>;
2387
2387
  }, "strict", z.ZodTypeAny, {
2388
2388
  kind: "decision_superseded";
2389
2389
  evidence: {
2390
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2391
- label: string;
2392
2390
  id: string;
2391
+ label: string;
2392
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2393
2393
  capture: "at_action" | "historical_lookup" | "fixture";
2394
2394
  locator?: string | undefined;
2395
2395
  }[];
@@ -2402,9 +2402,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2402
2402
  correctionId: string;
2403
2403
  replacementDecisionId: string;
2404
2404
  evidence?: {
2405
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2406
- label: string;
2407
2405
  id: string;
2406
+ label: string;
2407
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2408
2408
  capture: "at_action" | "historical_lookup" | "fixture";
2409
2409
  locator?: string | undefined;
2410
2410
  }[] | undefined;
@@ -2420,15 +2420,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2420
2420
  locator: z.ZodOptional<z.ZodString>;
2421
2421
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2422
2422
  }, "strict", z.ZodTypeAny, {
2423
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2424
- label: string;
2425
2423
  id: string;
2424
+ label: string;
2425
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2426
2426
  capture: "at_action" | "historical_lookup" | "fixture";
2427
2427
  locator?: string | undefined;
2428
2428
  }, {
2429
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2430
- label: string;
2431
2429
  id: string;
2430
+ label: string;
2431
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2432
2432
  capture: "at_action" | "historical_lookup" | "fixture";
2433
2433
  locator?: string | undefined;
2434
2434
  }>, "many">>;
@@ -2441,9 +2441,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2441
2441
  agentId: string;
2442
2442
  sessionId: string;
2443
2443
  evidence: {
2444
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2445
- label: string;
2446
2444
  id: string;
2445
+ label: string;
2446
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2447
2447
  capture: "at_action" | "historical_lookup" | "fixture";
2448
2448
  locator?: string | undefined;
2449
2449
  }[];
@@ -2459,9 +2459,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2459
2459
  recallReceiptId: string;
2460
2460
  capturedAtAction: boolean;
2461
2461
  evidence?: {
2462
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2463
- label: string;
2464
2462
  id: string;
2463
+ label: string;
2464
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2465
2465
  capture: "at_action" | "historical_lookup" | "fixture";
2466
2466
  locator?: string | undefined;
2467
2467
  }[] | undefined;
@@ -2477,15 +2477,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2477
2477
  locator: z.ZodOptional<z.ZodString>;
2478
2478
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2479
2479
  }, "strict", z.ZodTypeAny, {
2480
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2481
- label: string;
2482
2480
  id: string;
2481
+ label: string;
2482
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2483
2483
  capture: "at_action" | "historical_lookup" | "fixture";
2484
2484
  locator?: string | undefined;
2485
2485
  }, {
2486
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2487
- label: string;
2488
2486
  id: string;
2487
+ label: string;
2488
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2489
2489
  capture: "at_action" | "historical_lookup" | "fixture";
2490
2490
  locator?: string | undefined;
2491
2491
  }>, "many">>;
@@ -2497,9 +2497,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2497
2497
  agentId: string;
2498
2498
  sessionId: string;
2499
2499
  evidence: {
2500
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2501
- label: string;
2502
2500
  id: string;
2501
+ label: string;
2502
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2503
2503
  capture: "at_action" | "historical_lookup" | "fixture";
2504
2504
  locator?: string | undefined;
2505
2505
  }[];
@@ -2516,9 +2516,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2516
2516
  recallReceiptId: string;
2517
2517
  staleDecisionAbsent: boolean;
2518
2518
  evidence?: {
2519
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2520
- label: string;
2521
2519
  id: string;
2520
+ label: string;
2521
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2522
2522
  capture: "at_action" | "historical_lookup" | "fixture";
2523
2523
  locator?: string | undefined;
2524
2524
  }[] | undefined;
@@ -2533,37 +2533,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2533
2533
  locator: z.ZodOptional<z.ZodString>;
2534
2534
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2535
2535
  }, "strict", z.ZodTypeAny, {
2536
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2537
- label: string;
2538
2536
  id: string;
2537
+ label: string;
2538
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2539
2539
  capture: "at_action" | "historical_lookup" | "fixture";
2540
2540
  locator?: string | undefined;
2541
2541
  }, {
2542
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2543
- label: string;
2544
2542
  id: string;
2543
+ label: string;
2544
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2545
2545
  capture: "at_action" | "historical_lookup" | "fixture";
2546
2546
  locator?: string | undefined;
2547
2547
  }>, "many">>;
2548
2548
  }, "strict", z.ZodTypeAny, {
2549
- kind: "mission_completed";
2550
2549
  summary: string;
2550
+ kind: "mission_completed";
2551
2551
  outcome: "failed" | "recovered" | "inconclusive";
2552
2552
  evidence: {
2553
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2554
- label: string;
2555
2553
  id: string;
2554
+ label: string;
2555
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2556
2556
  capture: "at_action" | "historical_lookup" | "fixture";
2557
2557
  locator?: string | undefined;
2558
2558
  }[];
2559
2559
  }, {
2560
- kind: "mission_completed";
2561
2560
  summary: string;
2561
+ kind: "mission_completed";
2562
2562
  outcome: "failed" | "recovered" | "inconclusive";
2563
2563
  evidence?: {
2564
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2565
- label: string;
2566
2564
  id: string;
2565
+ label: string;
2566
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2567
2567
  capture: "at_action" | "historical_lookup" | "fixture";
2568
2568
  locator?: string | undefined;
2569
2569
  }[] | undefined;
@@ -2571,38 +2571,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2571
2571
  kind: "mission_started";
2572
2572
  title: string;
2573
2573
  evidence: {
2574
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2575
- label: string;
2576
2574
  id: string;
2575
+ label: string;
2576
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2577
2577
  capture: "at_action" | "historical_lookup" | "fixture";
2578
2578
  locator?: string | undefined;
2579
2579
  }[];
2580
2580
  objective: string;
2581
2581
  runMode: "replay" | "fixture" | "live";
2582
2582
  } | {
2583
- kind: "agent_status";
2584
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2585
2583
  label: string;
2584
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2585
+ kind: "agent_status";
2586
2586
  role: string;
2587
2587
  agentId: string;
2588
2588
  sessionId: string;
2589
2589
  evidence: {
2590
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2591
- label: string;
2592
2590
  id: string;
2591
+ label: string;
2592
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2593
2593
  capture: "at_action" | "historical_lookup" | "fixture";
2594
2594
  locator?: string | undefined;
2595
2595
  }[];
2596
2596
  detail?: string | undefined;
2597
2597
  } | {
2598
- kind: "agent_output";
2599
2598
  summary: string;
2599
+ kind: "agent_output";
2600
2600
  agentId: string;
2601
2601
  sessionId: string;
2602
2602
  evidence: {
2603
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2604
- label: string;
2605
2603
  id: string;
2604
+ label: string;
2605
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2606
2606
  capture: "at_action" | "historical_lookup" | "fixture";
2607
2607
  locator?: string | undefined;
2608
2608
  }[];
@@ -2613,9 +2613,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2613
2613
  statement: string;
2614
2614
  sessionId: string;
2615
2615
  evidence: {
2616
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2617
- label: string;
2618
2616
  id: string;
2617
+ label: string;
2618
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2619
2619
  capture: "at_action" | "historical_lookup" | "fixture";
2620
2620
  locator?: string | undefined;
2621
2621
  }[];
@@ -2623,12 +2623,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2623
2623
  decisionId: string;
2624
2624
  confidence?: number | undefined;
2625
2625
  } | {
2626
- kind: "conflict_detected";
2627
2626
  summary: string;
2627
+ kind: "conflict_detected";
2628
2628
  evidence: {
2629
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2630
- label: string;
2631
2629
  id: string;
2630
+ label: string;
2631
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2632
2632
  capture: "at_action" | "historical_lookup" | "fixture";
2633
2633
  locator?: string | undefined;
2634
2634
  }[];
@@ -2636,14 +2636,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2636
2636
  decisionIds: string[];
2637
2637
  agentIds: string[];
2638
2638
  } | {
2639
- kind: "test_result";
2640
2639
  summary: string;
2641
2640
  status: "error" | "failed" | "passed";
2641
+ kind: "test_result";
2642
2642
  command: string;
2643
2643
  evidence: {
2644
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2645
- label: string;
2646
2644
  id: string;
2645
+ label: string;
2646
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2647
2647
  capture: "at_action" | "historical_lookup" | "fixture";
2648
2648
  locator?: string | undefined;
2649
2649
  }[];
@@ -2656,9 +2656,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2656
2656
  rationale: string;
2657
2657
  statement: string;
2658
2658
  evidence: {
2659
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2660
- label: string;
2661
2659
  id: string;
2660
+ label: string;
2661
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2662
2662
  capture: "at_action" | "historical_lookup" | "fixture";
2663
2663
  locator?: string | undefined;
2664
2664
  }[];
@@ -2670,25 +2670,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2670
2670
  } | {
2671
2671
  kind: "correction_approved";
2672
2672
  evidence: {
2673
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2674
- label: string;
2675
2673
  id: string;
2674
+ label: string;
2675
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2676
2676
  capture: "at_action" | "historical_lookup" | "fixture";
2677
2677
  locator?: string | undefined;
2678
2678
  }[];
2679
2679
  correctionId: string;
2680
2680
  approvedBy: {
2681
- kind: "agent" | "human";
2682
- label: string;
2683
2681
  id: string;
2682
+ label: string;
2683
+ kind: "agent" | "human";
2684
2684
  };
2685
2685
  note?: string | undefined;
2686
2686
  } | {
2687
2687
  kind: "decision_superseded";
2688
2688
  evidence: {
2689
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2690
- label: string;
2691
2689
  id: string;
2690
+ label: string;
2691
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2692
2692
  capture: "at_action" | "historical_lookup" | "fixture";
2693
2693
  locator?: string | undefined;
2694
2694
  }[];
@@ -2701,9 +2701,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2701
2701
  agentId: string;
2702
2702
  sessionId: string;
2703
2703
  evidence: {
2704
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2705
- label: string;
2706
2704
  id: string;
2705
+ label: string;
2706
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2707
2707
  capture: "at_action" | "historical_lookup" | "fixture";
2708
2708
  locator?: string | undefined;
2709
2709
  }[];
@@ -2715,9 +2715,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2715
2715
  agentId: string;
2716
2716
  sessionId: string;
2717
2717
  evidence: {
2718
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2719
- label: string;
2720
2718
  id: string;
2719
+ label: string;
2720
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2721
2721
  capture: "at_action" | "historical_lookup" | "fixture";
2722
2722
  locator?: string | undefined;
2723
2723
  }[];
@@ -2726,13 +2726,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2726
2726
  recallReceiptId: string;
2727
2727
  staleDecisionAbsent: boolean;
2728
2728
  } | {
2729
- kind: "mission_completed";
2730
2729
  summary: string;
2730
+ kind: "mission_completed";
2731
2731
  outcome: "failed" | "recovered" | "inconclusive";
2732
2732
  evidence: {
2733
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2734
- label: string;
2735
2733
  id: string;
2734
+ label: string;
2735
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2736
2736
  capture: "at_action" | "historical_lookup" | "fixture";
2737
2737
  locator?: string | undefined;
2738
2738
  }[];
@@ -2742,37 +2742,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2742
2742
  objective: string;
2743
2743
  runMode: "replay" | "fixture" | "live";
2744
2744
  evidence?: {
2745
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2746
- label: string;
2747
2745
  id: string;
2746
+ label: string;
2747
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2748
2748
  capture: "at_action" | "historical_lookup" | "fixture";
2749
2749
  locator?: string | undefined;
2750
2750
  }[] | undefined;
2751
2751
  } | {
2752
- kind: "agent_status";
2753
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2754
2752
  label: string;
2753
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2754
+ kind: "agent_status";
2755
2755
  role: string;
2756
2756
  agentId: string;
2757
2757
  sessionId: string;
2758
2758
  detail?: string | undefined;
2759
2759
  evidence?: {
2760
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2761
- label: string;
2762
2760
  id: string;
2761
+ label: string;
2762
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2763
2763
  capture: "at_action" | "historical_lookup" | "fixture";
2764
2764
  locator?: string | undefined;
2765
2765
  }[] | undefined;
2766
2766
  } | {
2767
- kind: "agent_output";
2768
2767
  summary: string;
2768
+ kind: "agent_output";
2769
2769
  agentId: string;
2770
2770
  sessionId: string;
2771
2771
  outputId: string;
2772
2772
  evidence?: {
2773
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2774
- label: string;
2775
2773
  id: string;
2774
+ label: string;
2775
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2776
2776
  capture: "at_action" | "historical_lookup" | "fixture";
2777
2777
  locator?: string | undefined;
2778
2778
  }[] | undefined;
@@ -2785,37 +2785,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2785
2785
  decisionId: string;
2786
2786
  confidence?: number | undefined;
2787
2787
  evidence?: {
2788
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2789
- label: string;
2790
2788
  id: string;
2789
+ label: string;
2790
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2791
2791
  capture: "at_action" | "historical_lookup" | "fixture";
2792
2792
  locator?: string | undefined;
2793
2793
  }[] | undefined;
2794
2794
  } | {
2795
- kind: "conflict_detected";
2796
2795
  summary: string;
2796
+ kind: "conflict_detected";
2797
2797
  conflictId: string;
2798
2798
  decisionIds: string[];
2799
2799
  agentIds: string[];
2800
2800
  evidence?: {
2801
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2802
- label: string;
2803
2801
  id: string;
2802
+ label: string;
2803
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2804
2804
  capture: "at_action" | "historical_lookup" | "fixture";
2805
2805
  locator?: string | undefined;
2806
2806
  }[] | undefined;
2807
2807
  } | {
2808
- kind: "test_result";
2809
2808
  summary: string;
2810
2809
  status: "error" | "failed" | "passed";
2810
+ kind: "test_result";
2811
2811
  command: string;
2812
2812
  decisionId: string;
2813
2813
  testId: string;
2814
2814
  durationMs?: number | undefined;
2815
2815
  evidence?: {
2816
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2817
- label: string;
2818
2816
  id: string;
2817
+ label: string;
2818
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2819
2819
  capture: "at_action" | "historical_lookup" | "fixture";
2820
2820
  locator?: string | undefined;
2821
2821
  }[] | undefined;
@@ -2830,9 +2830,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2830
2830
  supersedesDecisionIds: string[];
2831
2831
  proposedBy: string;
2832
2832
  evidence?: {
2833
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2834
- label: string;
2835
2833
  id: string;
2834
+ label: string;
2835
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2836
2836
  capture: "at_action" | "historical_lookup" | "fixture";
2837
2837
  locator?: string | undefined;
2838
2838
  }[] | undefined;
@@ -2840,15 +2840,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2840
2840
  kind: "correction_approved";
2841
2841
  correctionId: string;
2842
2842
  approvedBy: {
2843
- kind: "agent" | "human";
2844
- label: string;
2845
2843
  id: string;
2844
+ label: string;
2845
+ kind: "agent" | "human";
2846
2846
  };
2847
2847
  note?: string | undefined;
2848
2848
  evidence?: {
2849
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2850
- label: string;
2851
2849
  id: string;
2850
+ label: string;
2851
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2852
2852
  capture: "at_action" | "historical_lookup" | "fixture";
2853
2853
  locator?: string | undefined;
2854
2854
  }[] | undefined;
@@ -2858,9 +2858,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2858
2858
  correctionId: string;
2859
2859
  replacementDecisionId: string;
2860
2860
  evidence?: {
2861
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2862
- label: string;
2863
2861
  id: string;
2862
+ label: string;
2863
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2864
2864
  capture: "at_action" | "historical_lookup" | "fixture";
2865
2865
  locator?: string | undefined;
2866
2866
  }[] | undefined;
@@ -2873,9 +2873,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2873
2873
  recallReceiptId: string;
2874
2874
  capturedAtAction: boolean;
2875
2875
  evidence?: {
2876
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2877
- label: string;
2878
2876
  id: string;
2877
+ label: string;
2878
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2879
2879
  capture: "at_action" | "historical_lookup" | "fixture";
2880
2880
  locator?: string | undefined;
2881
2881
  }[] | undefined;
@@ -2888,20 +2888,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2888
2888
  recallReceiptId: string;
2889
2889
  staleDecisionAbsent: boolean;
2890
2890
  evidence?: {
2891
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2892
- label: string;
2893
2891
  id: string;
2892
+ label: string;
2893
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2894
2894
  capture: "at_action" | "historical_lookup" | "fixture";
2895
2895
  locator?: string | undefined;
2896
2896
  }[] | undefined;
2897
2897
  } | {
2898
- kind: "mission_completed";
2899
2898
  summary: string;
2899
+ kind: "mission_completed";
2900
2900
  outcome: "failed" | "recovered" | "inconclusive";
2901
2901
  evidence?: {
2902
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2903
- label: string;
2904
2902
  id: string;
2903
+ label: string;
2904
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2905
2905
  capture: "at_action" | "historical_lookup" | "fixture";
2906
2906
  locator?: string | undefined;
2907
2907
  }[] | undefined;
@@ -2911,38 +2911,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2911
2911
  kind: "mission_started";
2912
2912
  title: string;
2913
2913
  evidence: {
2914
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2915
- label: string;
2916
2914
  id: string;
2915
+ label: string;
2916
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2917
2917
  capture: "at_action" | "historical_lookup" | "fixture";
2918
2918
  locator?: string | undefined;
2919
2919
  }[];
2920
2920
  objective: string;
2921
2921
  runMode: "replay" | "fixture" | "live";
2922
2922
  } | {
2923
- kind: "agent_status";
2924
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2925
2923
  label: string;
2924
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2925
+ kind: "agent_status";
2926
2926
  role: string;
2927
2927
  agentId: string;
2928
2928
  sessionId: string;
2929
2929
  evidence: {
2930
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2931
- label: string;
2932
2930
  id: string;
2931
+ label: string;
2932
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2933
2933
  capture: "at_action" | "historical_lookup" | "fixture";
2934
2934
  locator?: string | undefined;
2935
2935
  }[];
2936
2936
  detail?: string | undefined;
2937
2937
  } | {
2938
- kind: "agent_output";
2939
2938
  summary: string;
2939
+ kind: "agent_output";
2940
2940
  agentId: string;
2941
2941
  sessionId: string;
2942
2942
  evidence: {
2943
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2944
- label: string;
2945
2943
  id: string;
2944
+ label: string;
2945
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2946
2946
  capture: "at_action" | "historical_lookup" | "fixture";
2947
2947
  locator?: string | undefined;
2948
2948
  }[];
@@ -2953,9 +2953,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2953
2953
  statement: string;
2954
2954
  sessionId: string;
2955
2955
  evidence: {
2956
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2957
- label: string;
2958
2956
  id: string;
2957
+ label: string;
2958
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2959
2959
  capture: "at_action" | "historical_lookup" | "fixture";
2960
2960
  locator?: string | undefined;
2961
2961
  }[];
@@ -2963,12 +2963,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2963
2963
  decisionId: string;
2964
2964
  confidence?: number | undefined;
2965
2965
  } | {
2966
- kind: "conflict_detected";
2967
2966
  summary: string;
2967
+ kind: "conflict_detected";
2968
2968
  evidence: {
2969
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2970
- label: string;
2971
2969
  id: string;
2970
+ label: string;
2971
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2972
2972
  capture: "at_action" | "historical_lookup" | "fixture";
2973
2973
  locator?: string | undefined;
2974
2974
  }[];
@@ -2976,14 +2976,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2976
2976
  decisionIds: string[];
2977
2977
  agentIds: string[];
2978
2978
  } | {
2979
- kind: "test_result";
2980
2979
  summary: string;
2981
2980
  status: "error" | "failed" | "passed";
2981
+ kind: "test_result";
2982
2982
  command: string;
2983
2983
  evidence: {
2984
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2985
- label: string;
2986
2984
  id: string;
2985
+ label: string;
2986
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2987
2987
  capture: "at_action" | "historical_lookup" | "fixture";
2988
2988
  locator?: string | undefined;
2989
2989
  }[];
@@ -2996,9 +2996,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2996
2996
  rationale: string;
2997
2997
  statement: string;
2998
2998
  evidence: {
2999
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3000
- label: string;
3001
2999
  id: string;
3000
+ label: string;
3001
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3002
3002
  capture: "at_action" | "historical_lookup" | "fixture";
3003
3003
  locator?: string | undefined;
3004
3004
  }[];
@@ -3010,25 +3010,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3010
3010
  } | {
3011
3011
  kind: "correction_approved";
3012
3012
  evidence: {
3013
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3014
- label: string;
3015
3013
  id: string;
3014
+ label: string;
3015
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3016
3016
  capture: "at_action" | "historical_lookup" | "fixture";
3017
3017
  locator?: string | undefined;
3018
3018
  }[];
3019
3019
  correctionId: string;
3020
3020
  approvedBy: {
3021
- kind: "agent" | "human";
3022
- label: string;
3023
3021
  id: string;
3022
+ label: string;
3023
+ kind: "agent" | "human";
3024
3024
  };
3025
3025
  note?: string | undefined;
3026
3026
  } | {
3027
3027
  kind: "decision_superseded";
3028
3028
  evidence: {
3029
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3030
- label: string;
3031
3029
  id: string;
3030
+ label: string;
3031
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3032
3032
  capture: "at_action" | "historical_lookup" | "fixture";
3033
3033
  locator?: string | undefined;
3034
3034
  }[];
@@ -3041,9 +3041,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3041
3041
  agentId: string;
3042
3042
  sessionId: string;
3043
3043
  evidence: {
3044
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3045
- label: string;
3046
3044
  id: string;
3045
+ label: string;
3046
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3047
3047
  capture: "at_action" | "historical_lookup" | "fixture";
3048
3048
  locator?: string | undefined;
3049
3049
  }[];
@@ -3055,9 +3055,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3055
3055
  agentId: string;
3056
3056
  sessionId: string;
3057
3057
  evidence: {
3058
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3059
- label: string;
3060
3058
  id: string;
3059
+ label: string;
3060
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3061
3061
  capture: "at_action" | "historical_lookup" | "fixture";
3062
3062
  locator?: string | undefined;
3063
3063
  }[];
@@ -3066,13 +3066,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3066
3066
  recallReceiptId: string;
3067
3067
  staleDecisionAbsent: boolean;
3068
3068
  } | {
3069
- kind: "mission_completed";
3070
3069
  summary: string;
3070
+ kind: "mission_completed";
3071
3071
  outcome: "failed" | "recovered" | "inconclusive";
3072
3072
  evidence: {
3073
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3074
- label: string;
3075
3073
  id: string;
3074
+ label: string;
3075
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3076
3076
  capture: "at_action" | "historical_lookup" | "fixture";
3077
3077
  locator?: string | undefined;
3078
3078
  }[];
@@ -3086,37 +3086,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3086
3086
  objective: string;
3087
3087
  runMode: "replay" | "fixture" | "live";
3088
3088
  evidence?: {
3089
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3090
- label: string;
3091
3089
  id: string;
3090
+ label: string;
3091
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3092
3092
  capture: "at_action" | "historical_lookup" | "fixture";
3093
3093
  locator?: string | undefined;
3094
3094
  }[] | undefined;
3095
3095
  } | {
3096
- kind: "agent_status";
3097
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3098
3096
  label: string;
3097
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3098
+ kind: "agent_status";
3099
3099
  role: string;
3100
3100
  agentId: string;
3101
3101
  sessionId: string;
3102
3102
  detail?: string | undefined;
3103
3103
  evidence?: {
3104
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3105
- label: string;
3106
3104
  id: string;
3105
+ label: string;
3106
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3107
3107
  capture: "at_action" | "historical_lookup" | "fixture";
3108
3108
  locator?: string | undefined;
3109
3109
  }[] | undefined;
3110
3110
  } | {
3111
- kind: "agent_output";
3112
3111
  summary: string;
3112
+ kind: "agent_output";
3113
3113
  agentId: string;
3114
3114
  sessionId: string;
3115
3115
  outputId: string;
3116
3116
  evidence?: {
3117
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3118
- label: string;
3119
3117
  id: string;
3118
+ label: string;
3119
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3120
3120
  capture: "at_action" | "historical_lookup" | "fixture";
3121
3121
  locator?: string | undefined;
3122
3122
  }[] | undefined;
@@ -3129,37 +3129,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3129
3129
  decisionId: string;
3130
3130
  confidence?: number | undefined;
3131
3131
  evidence?: {
3132
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3133
- label: string;
3134
3132
  id: string;
3133
+ label: string;
3134
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3135
3135
  capture: "at_action" | "historical_lookup" | "fixture";
3136
3136
  locator?: string | undefined;
3137
3137
  }[] | undefined;
3138
3138
  } | {
3139
- kind: "conflict_detected";
3140
3139
  summary: string;
3140
+ kind: "conflict_detected";
3141
3141
  conflictId: string;
3142
3142
  decisionIds: string[];
3143
3143
  agentIds: string[];
3144
3144
  evidence?: {
3145
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3146
- label: string;
3147
3145
  id: string;
3146
+ label: string;
3147
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3148
3148
  capture: "at_action" | "historical_lookup" | "fixture";
3149
3149
  locator?: string | undefined;
3150
3150
  }[] | undefined;
3151
3151
  } | {
3152
- kind: "test_result";
3153
3152
  summary: string;
3154
3153
  status: "error" | "failed" | "passed";
3154
+ kind: "test_result";
3155
3155
  command: string;
3156
3156
  decisionId: string;
3157
3157
  testId: string;
3158
3158
  durationMs?: number | undefined;
3159
3159
  evidence?: {
3160
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3161
- label: string;
3162
3160
  id: string;
3161
+ label: string;
3162
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3163
3163
  capture: "at_action" | "historical_lookup" | "fixture";
3164
3164
  locator?: string | undefined;
3165
3165
  }[] | undefined;
@@ -3174,9 +3174,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3174
3174
  supersedesDecisionIds: string[];
3175
3175
  proposedBy: string;
3176
3176
  evidence?: {
3177
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3178
- label: string;
3179
3177
  id: string;
3178
+ label: string;
3179
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3180
3180
  capture: "at_action" | "historical_lookup" | "fixture";
3181
3181
  locator?: string | undefined;
3182
3182
  }[] | undefined;
@@ -3184,15 +3184,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3184
3184
  kind: "correction_approved";
3185
3185
  correctionId: string;
3186
3186
  approvedBy: {
3187
- kind: "agent" | "human";
3188
- label: string;
3189
3187
  id: string;
3188
+ label: string;
3189
+ kind: "agent" | "human";
3190
3190
  };
3191
3191
  note?: string | undefined;
3192
3192
  evidence?: {
3193
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3194
- label: string;
3195
3193
  id: string;
3194
+ label: string;
3195
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3196
3196
  capture: "at_action" | "historical_lookup" | "fixture";
3197
3197
  locator?: string | undefined;
3198
3198
  }[] | undefined;
@@ -3202,9 +3202,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3202
3202
  correctionId: string;
3203
3203
  replacementDecisionId: string;
3204
3204
  evidence?: {
3205
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3206
- label: string;
3207
3205
  id: string;
3206
+ label: string;
3207
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3208
3208
  capture: "at_action" | "historical_lookup" | "fixture";
3209
3209
  locator?: string | undefined;
3210
3210
  }[] | undefined;
@@ -3217,9 +3217,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3217
3217
  recallReceiptId: string;
3218
3218
  capturedAtAction: boolean;
3219
3219
  evidence?: {
3220
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3221
- label: string;
3222
3220
  id: string;
3221
+ label: string;
3222
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3223
3223
  capture: "at_action" | "historical_lookup" | "fixture";
3224
3224
  locator?: string | undefined;
3225
3225
  }[] | undefined;
@@ -3232,20 +3232,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3232
3232
  recallReceiptId: string;
3233
3233
  staleDecisionAbsent: boolean;
3234
3234
  evidence?: {
3235
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3236
- label: string;
3237
3235
  id: string;
3236
+ label: string;
3237
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3238
3238
  capture: "at_action" | "historical_lookup" | "fixture";
3239
3239
  locator?: string | undefined;
3240
3240
  }[] | undefined;
3241
3241
  } | {
3242
- kind: "mission_completed";
3243
3242
  summary: string;
3243
+ kind: "mission_completed";
3244
3244
  outcome: "failed" | "recovered" | "inconclusive";
3245
3245
  evidence?: {
3246
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3247
- label: string;
3248
3246
  id: string;
3247
+ label: string;
3248
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3249
3249
  capture: "at_action" | "historical_lookup" | "fixture";
3250
3250
  locator?: string | undefined;
3251
3251
  }[] | undefined;
@@ -3275,15 +3275,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3275
3275
  locator: z.ZodOptional<z.ZodString>;
3276
3276
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3277
3277
  }, "strict", z.ZodTypeAny, {
3278
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3279
- label: string;
3280
3278
  id: string;
3279
+ label: string;
3280
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3281
3281
  capture: "at_action" | "historical_lookup" | "fixture";
3282
3282
  locator?: string | undefined;
3283
3283
  }, {
3284
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3285
- label: string;
3286
3284
  id: string;
3285
+ label: string;
3286
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3287
3287
  capture: "at_action" | "historical_lookup" | "fixture";
3288
3288
  locator?: string | undefined;
3289
3289
  }>, "many">>;
@@ -3291,9 +3291,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3291
3291
  kind: "mission_started";
3292
3292
  title: string;
3293
3293
  evidence: {
3294
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3295
- label: string;
3296
3294
  id: string;
3295
+ label: string;
3296
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3297
3297
  capture: "at_action" | "historical_lookup" | "fixture";
3298
3298
  locator?: string | undefined;
3299
3299
  }[];
@@ -3305,9 +3305,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3305
3305
  objective: string;
3306
3306
  runMode: "replay" | "fixture" | "live";
3307
3307
  evidence?: {
3308
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3309
- label: string;
3310
3308
  id: string;
3309
+ label: string;
3310
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3311
3311
  capture: "at_action" | "historical_lookup" | "fixture";
3312
3312
  locator?: string | undefined;
3313
3313
  }[] | undefined;
@@ -3323,15 +3323,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3323
3323
  locator: z.ZodOptional<z.ZodString>;
3324
3324
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3325
3325
  }, "strict", z.ZodTypeAny, {
3326
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3327
- label: string;
3328
3326
  id: string;
3327
+ label: string;
3328
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3329
3329
  capture: "at_action" | "historical_lookup" | "fixture";
3330
3330
  locator?: string | undefined;
3331
3331
  }, {
3332
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3333
- label: string;
3334
3332
  id: string;
3333
+ label: string;
3334
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3335
3335
  capture: "at_action" | "historical_lookup" | "fixture";
3336
3336
  locator?: string | undefined;
3337
3337
  }>, "many">>;
@@ -3339,32 +3339,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3339
3339
  sessionId: z.ZodString;
3340
3340
  kind: z.ZodLiteral<"agent_status">;
3341
3341
  }, "strict", z.ZodTypeAny, {
3342
- kind: "agent_status";
3343
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3344
3342
  label: string;
3343
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3344
+ kind: "agent_status";
3345
3345
  role: string;
3346
3346
  agentId: string;
3347
3347
  sessionId: string;
3348
3348
  evidence: {
3349
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3350
- label: string;
3351
3349
  id: string;
3350
+ label: string;
3351
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3352
3352
  capture: "at_action" | "historical_lookup" | "fixture";
3353
3353
  locator?: string | undefined;
3354
3354
  }[];
3355
3355
  detail?: string | undefined;
3356
3356
  }, {
3357
- kind: "agent_status";
3358
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3359
3357
  label: string;
3358
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3359
+ kind: "agent_status";
3360
3360
  role: string;
3361
3361
  agentId: string;
3362
3362
  sessionId: string;
3363
3363
  detail?: string | undefined;
3364
3364
  evidence?: {
3365
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3366
- label: string;
3367
3365
  id: string;
3366
+ label: string;
3367
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3368
3368
  capture: "at_action" | "historical_lookup" | "fixture";
3369
3369
  locator?: string | undefined;
3370
3370
  }[] | undefined;
@@ -3378,15 +3378,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3378
3378
  locator: z.ZodOptional<z.ZodString>;
3379
3379
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3380
3380
  }, "strict", z.ZodTypeAny, {
3381
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3382
- label: string;
3383
3381
  id: string;
3382
+ label: string;
3383
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3384
3384
  capture: "at_action" | "historical_lookup" | "fixture";
3385
3385
  locator?: string | undefined;
3386
3386
  }, {
3387
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3388
- label: string;
3389
3387
  id: string;
3388
+ label: string;
3389
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3390
3390
  capture: "at_action" | "historical_lookup" | "fixture";
3391
3391
  locator?: string | undefined;
3392
3392
  }>, "many">>;
@@ -3394,28 +3394,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3394
3394
  sessionId: z.ZodString;
3395
3395
  kind: z.ZodLiteral<"agent_output">;
3396
3396
  }, "strict", z.ZodTypeAny, {
3397
- kind: "agent_output";
3398
3397
  summary: string;
3398
+ kind: "agent_output";
3399
3399
  agentId: string;
3400
3400
  sessionId: string;
3401
3401
  evidence: {
3402
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3403
- label: string;
3404
3402
  id: string;
3403
+ label: string;
3404
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3405
3405
  capture: "at_action" | "historical_lookup" | "fixture";
3406
3406
  locator?: string | undefined;
3407
3407
  }[];
3408
3408
  outputId: string;
3409
3409
  }, {
3410
- kind: "agent_output";
3411
3410
  summary: string;
3411
+ kind: "agent_output";
3412
3412
  agentId: string;
3413
3413
  sessionId: string;
3414
3414
  outputId: string;
3415
3415
  evidence?: {
3416
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3417
- label: string;
3418
3416
  id: string;
3417
+ label: string;
3418
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3419
3419
  capture: "at_action" | "historical_lookup" | "fixture";
3420
3420
  locator?: string | undefined;
3421
3421
  }[] | undefined;
@@ -3431,15 +3431,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3431
3431
  locator: z.ZodOptional<z.ZodString>;
3432
3432
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3433
3433
  }, "strict", z.ZodTypeAny, {
3434
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3435
- label: string;
3436
3434
  id: string;
3435
+ label: string;
3436
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3437
3437
  capture: "at_action" | "historical_lookup" | "fixture";
3438
3438
  locator?: string | undefined;
3439
3439
  }, {
3440
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3441
- label: string;
3442
3440
  id: string;
3441
+ label: string;
3442
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3443
3443
  capture: "at_action" | "historical_lookup" | "fixture";
3444
3444
  locator?: string | undefined;
3445
3445
  }>, "many">>;
@@ -3452,9 +3452,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3452
3452
  statement: string;
3453
3453
  sessionId: string;
3454
3454
  evidence: {
3455
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3456
- label: string;
3457
3455
  id: string;
3456
+ label: string;
3457
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3458
3458
  capture: "at_action" | "historical_lookup" | "fixture";
3459
3459
  locator?: string | undefined;
3460
3460
  }[];
@@ -3470,9 +3470,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3470
3470
  decisionId: string;
3471
3471
  confidence?: number | undefined;
3472
3472
  evidence?: {
3473
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3474
- label: string;
3475
3473
  id: string;
3474
+ label: string;
3475
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3476
3476
  capture: "at_action" | "historical_lookup" | "fixture";
3477
3477
  locator?: string | undefined;
3478
3478
  }[] | undefined;
@@ -3489,25 +3489,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3489
3489
  locator: z.ZodOptional<z.ZodString>;
3490
3490
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3491
3491
  }, "strict", z.ZodTypeAny, {
3492
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3493
- label: string;
3494
3492
  id: string;
3493
+ label: string;
3494
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3495
3495
  capture: "at_action" | "historical_lookup" | "fixture";
3496
3496
  locator?: string | undefined;
3497
3497
  }, {
3498
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3499
- label: string;
3500
3498
  id: string;
3499
+ label: string;
3500
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3501
3501
  capture: "at_action" | "historical_lookup" | "fixture";
3502
3502
  locator?: string | undefined;
3503
3503
  }>, "many">>;
3504
3504
  }, "strict", z.ZodTypeAny, {
3505
- kind: "conflict_detected";
3506
3505
  summary: string;
3506
+ kind: "conflict_detected";
3507
3507
  evidence: {
3508
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3509
- label: string;
3510
3508
  id: string;
3509
+ label: string;
3510
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3511
3511
  capture: "at_action" | "historical_lookup" | "fixture";
3512
3512
  locator?: string | undefined;
3513
3513
  }[];
@@ -3515,15 +3515,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3515
3515
  decisionIds: string[];
3516
3516
  agentIds: string[];
3517
3517
  }, {
3518
- kind: "conflict_detected";
3519
3518
  summary: string;
3519
+ kind: "conflict_detected";
3520
3520
  conflictId: string;
3521
3521
  decisionIds: string[];
3522
3522
  agentIds: string[];
3523
3523
  evidence?: {
3524
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3525
- label: string;
3526
3524
  id: string;
3525
+ label: string;
3526
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3527
3527
  capture: "at_action" | "historical_lookup" | "fixture";
3528
3528
  locator?: string | undefined;
3529
3529
  }[] | undefined;
@@ -3543,27 +3543,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3543
3543
  locator: z.ZodOptional<z.ZodString>;
3544
3544
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3545
3545
  }, "strict", z.ZodTypeAny, {
3546
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3547
- label: string;
3548
3546
  id: string;
3547
+ label: string;
3548
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3549
3549
  capture: "at_action" | "historical_lookup" | "fixture";
3550
3550
  locator?: string | undefined;
3551
3551
  }, {
3552
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3553
- label: string;
3554
3552
  id: string;
3553
+ label: string;
3554
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3555
3555
  capture: "at_action" | "historical_lookup" | "fixture";
3556
3556
  locator?: string | undefined;
3557
3557
  }>, "many">>;
3558
3558
  }, "strict", z.ZodTypeAny, {
3559
- kind: "test_result";
3560
3559
  summary: string;
3561
3560
  status: "error" | "failed" | "passed";
3561
+ kind: "test_result";
3562
3562
  command: string;
3563
3563
  evidence: {
3564
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3565
- label: string;
3566
3564
  id: string;
3565
+ label: string;
3566
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3567
3567
  capture: "at_action" | "historical_lookup" | "fixture";
3568
3568
  locator?: string | undefined;
3569
3569
  }[];
@@ -3572,17 +3572,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3572
3572
  durationMs?: number | undefined;
3573
3573
  correctionId?: string | undefined;
3574
3574
  }, {
3575
- kind: "test_result";
3576
3575
  summary: string;
3577
3576
  status: "error" | "failed" | "passed";
3577
+ kind: "test_result";
3578
3578
  command: string;
3579
3579
  decisionId: string;
3580
3580
  testId: string;
3581
3581
  durationMs?: number | undefined;
3582
3582
  evidence?: {
3583
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3584
- label: string;
3585
3583
  id: string;
3584
+ label: string;
3585
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3586
3586
  capture: "at_action" | "historical_lookup" | "fixture";
3587
3587
  locator?: string | undefined;
3588
3588
  }[] | undefined;
@@ -3603,15 +3603,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3603
3603
  locator: z.ZodOptional<z.ZodString>;
3604
3604
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3605
3605
  }, "strict", z.ZodTypeAny, {
3606
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3607
- label: string;
3608
3606
  id: string;
3607
+ label: string;
3608
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3609
3609
  capture: "at_action" | "historical_lookup" | "fixture";
3610
3610
  locator?: string | undefined;
3611
3611
  }, {
3612
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3613
- label: string;
3614
3612
  id: string;
3613
+ label: string;
3614
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3615
3615
  capture: "at_action" | "historical_lookup" | "fixture";
3616
3616
  locator?: string | undefined;
3617
3617
  }>, "many">>;
@@ -3620,9 +3620,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3620
3620
  rationale: string;
3621
3621
  statement: string;
3622
3622
  evidence: {
3623
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3624
- label: string;
3625
3623
  id: string;
3624
+ label: string;
3625
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3626
3626
  capture: "at_action" | "historical_lookup" | "fixture";
3627
3627
  locator?: string | undefined;
3628
3628
  }[];
@@ -3641,9 +3641,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3641
3641
  supersedesDecisionIds: string[];
3642
3642
  proposedBy: string;
3643
3643
  evidence?: {
3644
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3645
- label: string;
3646
3644
  id: string;
3645
+ label: string;
3646
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3647
3647
  capture: "at_action" | "historical_lookup" | "fixture";
3648
3648
  locator?: string | undefined;
3649
3649
  }[] | undefined;
@@ -3655,13 +3655,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3655
3655
  id: z.ZodString;
3656
3656
  label: z.ZodString;
3657
3657
  }, "strict", z.ZodTypeAny, {
3658
- kind: "agent" | "human";
3659
- label: string;
3660
3658
  id: string;
3661
- }, {
3662
- kind: "agent" | "human";
3663
3659
  label: string;
3660
+ kind: "agent" | "human";
3661
+ }, {
3664
3662
  id: string;
3663
+ label: string;
3664
+ kind: "agent" | "human";
3665
3665
  }>;
3666
3666
  note: z.ZodOptional<z.ZodString>;
3667
3667
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3671,47 +3671,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3671
3671
  locator: z.ZodOptional<z.ZodString>;
3672
3672
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3673
3673
  }, "strict", z.ZodTypeAny, {
3674
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3675
- label: string;
3676
3674
  id: string;
3675
+ label: string;
3676
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3677
3677
  capture: "at_action" | "historical_lookup" | "fixture";
3678
3678
  locator?: string | undefined;
3679
3679
  }, {
3680
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3681
- label: string;
3682
3680
  id: string;
3681
+ label: string;
3682
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3683
3683
  capture: "at_action" | "historical_lookup" | "fixture";
3684
3684
  locator?: string | undefined;
3685
3685
  }>, "many">>;
3686
3686
  }, "strict", z.ZodTypeAny, {
3687
3687
  kind: "correction_approved";
3688
3688
  evidence: {
3689
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3690
- label: string;
3691
3689
  id: string;
3690
+ label: string;
3691
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3692
3692
  capture: "at_action" | "historical_lookup" | "fixture";
3693
3693
  locator?: string | undefined;
3694
3694
  }[];
3695
3695
  correctionId: string;
3696
3696
  approvedBy: {
3697
- kind: "agent" | "human";
3698
- label: string;
3699
3697
  id: string;
3698
+ label: string;
3699
+ kind: "agent" | "human";
3700
3700
  };
3701
3701
  note?: string | undefined;
3702
3702
  }, {
3703
3703
  kind: "correction_approved";
3704
3704
  correctionId: string;
3705
3705
  approvedBy: {
3706
- kind: "agent" | "human";
3707
- label: string;
3708
3706
  id: string;
3707
+ label: string;
3708
+ kind: "agent" | "human";
3709
3709
  };
3710
3710
  note?: string | undefined;
3711
3711
  evidence?: {
3712
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3713
- label: string;
3714
3712
  id: string;
3713
+ label: string;
3714
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3715
3715
  capture: "at_action" | "historical_lookup" | "fixture";
3716
3716
  locator?: string | undefined;
3717
3717
  }[] | undefined;
@@ -3727,24 +3727,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3727
3727
  locator: z.ZodOptional<z.ZodString>;
3728
3728
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3729
3729
  }, "strict", z.ZodTypeAny, {
3730
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3731
- label: string;
3732
3730
  id: string;
3731
+ label: string;
3732
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3733
3733
  capture: "at_action" | "historical_lookup" | "fixture";
3734
3734
  locator?: string | undefined;
3735
3735
  }, {
3736
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3737
- label: string;
3738
3736
  id: string;
3737
+ label: string;
3738
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3739
3739
  capture: "at_action" | "historical_lookup" | "fixture";
3740
3740
  locator?: string | undefined;
3741
3741
  }>, "many">>;
3742
3742
  }, "strict", z.ZodTypeAny, {
3743
3743
  kind: "decision_superseded";
3744
3744
  evidence: {
3745
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3746
- label: string;
3747
3745
  id: string;
3746
+ label: string;
3747
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3748
3748
  capture: "at_action" | "historical_lookup" | "fixture";
3749
3749
  locator?: string | undefined;
3750
3750
  }[];
@@ -3757,9 +3757,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3757
3757
  correctionId: string;
3758
3758
  replacementDecisionId: string;
3759
3759
  evidence?: {
3760
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3761
- label: string;
3762
3760
  id: string;
3761
+ label: string;
3762
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3763
3763
  capture: "at_action" | "historical_lookup" | "fixture";
3764
3764
  locator?: string | undefined;
3765
3765
  }[] | undefined;
@@ -3775,15 +3775,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3775
3775
  locator: z.ZodOptional<z.ZodString>;
3776
3776
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3777
3777
  }, "strict", z.ZodTypeAny, {
3778
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3779
- label: string;
3780
3778
  id: string;
3779
+ label: string;
3780
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3781
3781
  capture: "at_action" | "historical_lookup" | "fixture";
3782
3782
  locator?: string | undefined;
3783
3783
  }, {
3784
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3785
- label: string;
3786
3784
  id: string;
3785
+ label: string;
3786
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3787
3787
  capture: "at_action" | "historical_lookup" | "fixture";
3788
3788
  locator?: string | undefined;
3789
3789
  }>, "many">>;
@@ -3796,9 +3796,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3796
3796
  agentId: string;
3797
3797
  sessionId: string;
3798
3798
  evidence: {
3799
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3800
- label: string;
3801
3799
  id: string;
3800
+ label: string;
3801
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3802
3802
  capture: "at_action" | "historical_lookup" | "fixture";
3803
3803
  locator?: string | undefined;
3804
3804
  }[];
@@ -3814,9 +3814,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3814
3814
  recallReceiptId: string;
3815
3815
  capturedAtAction: boolean;
3816
3816
  evidence?: {
3817
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3818
- label: string;
3819
3817
  id: string;
3818
+ label: string;
3819
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3820
3820
  capture: "at_action" | "historical_lookup" | "fixture";
3821
3821
  locator?: string | undefined;
3822
3822
  }[] | undefined;
@@ -3832,15 +3832,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3832
3832
  locator: z.ZodOptional<z.ZodString>;
3833
3833
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3834
3834
  }, "strict", z.ZodTypeAny, {
3835
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3836
- label: string;
3837
3835
  id: string;
3836
+ label: string;
3837
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3838
3838
  capture: "at_action" | "historical_lookup" | "fixture";
3839
3839
  locator?: string | undefined;
3840
3840
  }, {
3841
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3842
- label: string;
3843
3841
  id: string;
3842
+ label: string;
3843
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3844
3844
  capture: "at_action" | "historical_lookup" | "fixture";
3845
3845
  locator?: string | undefined;
3846
3846
  }>, "many">>;
@@ -3852,9 +3852,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3852
3852
  agentId: string;
3853
3853
  sessionId: string;
3854
3854
  evidence: {
3855
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3856
- label: string;
3857
3855
  id: string;
3856
+ label: string;
3857
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3858
3858
  capture: "at_action" | "historical_lookup" | "fixture";
3859
3859
  locator?: string | undefined;
3860
3860
  }[];
@@ -3871,9 +3871,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3871
3871
  recallReceiptId: string;
3872
3872
  staleDecisionAbsent: boolean;
3873
3873
  evidence?: {
3874
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3875
- label: string;
3876
3874
  id: string;
3875
+ label: string;
3876
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3877
3877
  capture: "at_action" | "historical_lookup" | "fixture";
3878
3878
  locator?: string | undefined;
3879
3879
  }[] | undefined;
@@ -3888,37 +3888,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3888
3888
  locator: z.ZodOptional<z.ZodString>;
3889
3889
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3890
3890
  }, "strict", z.ZodTypeAny, {
3891
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3892
- label: string;
3893
3891
  id: string;
3892
+ label: string;
3893
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3894
3894
  capture: "at_action" | "historical_lookup" | "fixture";
3895
3895
  locator?: string | undefined;
3896
3896
  }, {
3897
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3898
- label: string;
3899
3897
  id: string;
3898
+ label: string;
3899
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3900
3900
  capture: "at_action" | "historical_lookup" | "fixture";
3901
3901
  locator?: string | undefined;
3902
3902
  }>, "many">>;
3903
3903
  }, "strict", z.ZodTypeAny, {
3904
- kind: "mission_completed";
3905
3904
  summary: string;
3905
+ kind: "mission_completed";
3906
3906
  outcome: "failed" | "recovered" | "inconclusive";
3907
3907
  evidence: {
3908
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3909
- label: string;
3910
3908
  id: string;
3909
+ label: string;
3910
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3911
3911
  capture: "at_action" | "historical_lookup" | "fixture";
3912
3912
  locator?: string | undefined;
3913
3913
  }[];
3914
3914
  }, {
3915
- kind: "mission_completed";
3916
3915
  summary: string;
3916
+ kind: "mission_completed";
3917
3917
  outcome: "failed" | "recovered" | "inconclusive";
3918
3918
  evidence?: {
3919
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3920
- label: string;
3921
3919
  id: string;
3920
+ label: string;
3921
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3922
3922
  capture: "at_action" | "historical_lookup" | "fixture";
3923
3923
  locator?: string | undefined;
3924
3924
  }[] | undefined;
@@ -3926,38 +3926,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3926
3926
  kind: "mission_started";
3927
3927
  title: string;
3928
3928
  evidence: {
3929
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3930
- label: string;
3931
3929
  id: string;
3930
+ label: string;
3931
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3932
3932
  capture: "at_action" | "historical_lookup" | "fixture";
3933
3933
  locator?: string | undefined;
3934
3934
  }[];
3935
3935
  objective: string;
3936
3936
  runMode: "replay" | "fixture" | "live";
3937
3937
  } | {
3938
- kind: "agent_status";
3939
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3940
3938
  label: string;
3939
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3940
+ kind: "agent_status";
3941
3941
  role: string;
3942
3942
  agentId: string;
3943
3943
  sessionId: string;
3944
3944
  evidence: {
3945
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3946
- label: string;
3947
3945
  id: string;
3946
+ label: string;
3947
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3948
3948
  capture: "at_action" | "historical_lookup" | "fixture";
3949
3949
  locator?: string | undefined;
3950
3950
  }[];
3951
3951
  detail?: string | undefined;
3952
3952
  } | {
3953
- kind: "agent_output";
3954
3953
  summary: string;
3954
+ kind: "agent_output";
3955
3955
  agentId: string;
3956
3956
  sessionId: string;
3957
3957
  evidence: {
3958
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3959
- label: string;
3960
3958
  id: string;
3959
+ label: string;
3960
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3961
3961
  capture: "at_action" | "historical_lookup" | "fixture";
3962
3962
  locator?: string | undefined;
3963
3963
  }[];
@@ -3968,9 +3968,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3968
3968
  statement: string;
3969
3969
  sessionId: string;
3970
3970
  evidence: {
3971
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3972
- label: string;
3973
3971
  id: string;
3972
+ label: string;
3973
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3974
3974
  capture: "at_action" | "historical_lookup" | "fixture";
3975
3975
  locator?: string | undefined;
3976
3976
  }[];
@@ -3978,12 +3978,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3978
3978
  decisionId: string;
3979
3979
  confidence?: number | undefined;
3980
3980
  } | {
3981
- kind: "conflict_detected";
3982
3981
  summary: string;
3982
+ kind: "conflict_detected";
3983
3983
  evidence: {
3984
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3985
- label: string;
3986
3984
  id: string;
3985
+ label: string;
3986
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3987
3987
  capture: "at_action" | "historical_lookup" | "fixture";
3988
3988
  locator?: string | undefined;
3989
3989
  }[];
@@ -3991,14 +3991,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3991
3991
  decisionIds: string[];
3992
3992
  agentIds: string[];
3993
3993
  } | {
3994
- kind: "test_result";
3995
3994
  summary: string;
3996
3995
  status: "error" | "failed" | "passed";
3996
+ kind: "test_result";
3997
3997
  command: string;
3998
3998
  evidence: {
3999
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4000
- label: string;
4001
3999
  id: string;
4000
+ label: string;
4001
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4002
4002
  capture: "at_action" | "historical_lookup" | "fixture";
4003
4003
  locator?: string | undefined;
4004
4004
  }[];
@@ -4011,9 +4011,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4011
4011
  rationale: string;
4012
4012
  statement: string;
4013
4013
  evidence: {
4014
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4015
- label: string;
4016
4014
  id: string;
4015
+ label: string;
4016
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4017
4017
  capture: "at_action" | "historical_lookup" | "fixture";
4018
4018
  locator?: string | undefined;
4019
4019
  }[];
@@ -4025,25 +4025,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4025
4025
  } | {
4026
4026
  kind: "correction_approved";
4027
4027
  evidence: {
4028
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4029
- label: string;
4030
4028
  id: string;
4029
+ label: string;
4030
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4031
4031
  capture: "at_action" | "historical_lookup" | "fixture";
4032
4032
  locator?: string | undefined;
4033
4033
  }[];
4034
4034
  correctionId: string;
4035
4035
  approvedBy: {
4036
- kind: "agent" | "human";
4037
- label: string;
4038
4036
  id: string;
4037
+ label: string;
4038
+ kind: "agent" | "human";
4039
4039
  };
4040
4040
  note?: string | undefined;
4041
4041
  } | {
4042
4042
  kind: "decision_superseded";
4043
4043
  evidence: {
4044
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4045
- label: string;
4046
4044
  id: string;
4045
+ label: string;
4046
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4047
4047
  capture: "at_action" | "historical_lookup" | "fixture";
4048
4048
  locator?: string | undefined;
4049
4049
  }[];
@@ -4056,9 +4056,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4056
4056
  agentId: string;
4057
4057
  sessionId: string;
4058
4058
  evidence: {
4059
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4060
- label: string;
4061
4059
  id: string;
4060
+ label: string;
4061
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4062
4062
  capture: "at_action" | "historical_lookup" | "fixture";
4063
4063
  locator?: string | undefined;
4064
4064
  }[];
@@ -4070,9 +4070,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4070
4070
  agentId: string;
4071
4071
  sessionId: string;
4072
4072
  evidence: {
4073
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4074
- label: string;
4075
4073
  id: string;
4074
+ label: string;
4075
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4076
4076
  capture: "at_action" | "historical_lookup" | "fixture";
4077
4077
  locator?: string | undefined;
4078
4078
  }[];
@@ -4081,13 +4081,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4081
4081
  recallReceiptId: string;
4082
4082
  staleDecisionAbsent: boolean;
4083
4083
  } | {
4084
- kind: "mission_completed";
4085
4084
  summary: string;
4085
+ kind: "mission_completed";
4086
4086
  outcome: "failed" | "recovered" | "inconclusive";
4087
4087
  evidence: {
4088
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4089
- label: string;
4090
4088
  id: string;
4089
+ label: string;
4090
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4091
4091
  capture: "at_action" | "historical_lookup" | "fixture";
4092
4092
  locator?: string | undefined;
4093
4093
  }[];
@@ -4097,37 +4097,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4097
4097
  objective: string;
4098
4098
  runMode: "replay" | "fixture" | "live";
4099
4099
  evidence?: {
4100
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4101
- label: string;
4102
4100
  id: string;
4101
+ label: string;
4102
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4103
4103
  capture: "at_action" | "historical_lookup" | "fixture";
4104
4104
  locator?: string | undefined;
4105
4105
  }[] | undefined;
4106
4106
  } | {
4107
- kind: "agent_status";
4108
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4109
4107
  label: string;
4108
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4109
+ kind: "agent_status";
4110
4110
  role: string;
4111
4111
  agentId: string;
4112
4112
  sessionId: string;
4113
4113
  detail?: string | undefined;
4114
4114
  evidence?: {
4115
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4116
- label: string;
4117
4115
  id: string;
4116
+ label: string;
4117
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4118
4118
  capture: "at_action" | "historical_lookup" | "fixture";
4119
4119
  locator?: string | undefined;
4120
4120
  }[] | undefined;
4121
4121
  } | {
4122
- kind: "agent_output";
4123
4122
  summary: string;
4123
+ kind: "agent_output";
4124
4124
  agentId: string;
4125
4125
  sessionId: string;
4126
4126
  outputId: string;
4127
4127
  evidence?: {
4128
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4129
- label: string;
4130
4128
  id: string;
4129
+ label: string;
4130
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4131
4131
  capture: "at_action" | "historical_lookup" | "fixture";
4132
4132
  locator?: string | undefined;
4133
4133
  }[] | undefined;
@@ -4140,37 +4140,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4140
4140
  decisionId: string;
4141
4141
  confidence?: number | undefined;
4142
4142
  evidence?: {
4143
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4144
- label: string;
4145
4143
  id: string;
4144
+ label: string;
4145
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4146
4146
  capture: "at_action" | "historical_lookup" | "fixture";
4147
4147
  locator?: string | undefined;
4148
4148
  }[] | undefined;
4149
4149
  } | {
4150
- kind: "conflict_detected";
4151
4150
  summary: string;
4151
+ kind: "conflict_detected";
4152
4152
  conflictId: string;
4153
4153
  decisionIds: string[];
4154
4154
  agentIds: string[];
4155
4155
  evidence?: {
4156
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4157
- label: string;
4158
4156
  id: string;
4157
+ label: string;
4158
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4159
4159
  capture: "at_action" | "historical_lookup" | "fixture";
4160
4160
  locator?: string | undefined;
4161
4161
  }[] | undefined;
4162
4162
  } | {
4163
- kind: "test_result";
4164
4163
  summary: string;
4165
4164
  status: "error" | "failed" | "passed";
4165
+ kind: "test_result";
4166
4166
  command: string;
4167
4167
  decisionId: string;
4168
4168
  testId: string;
4169
4169
  durationMs?: number | undefined;
4170
4170
  evidence?: {
4171
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4172
- label: string;
4173
4171
  id: string;
4172
+ label: string;
4173
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4174
4174
  capture: "at_action" | "historical_lookup" | "fixture";
4175
4175
  locator?: string | undefined;
4176
4176
  }[] | undefined;
@@ -4185,9 +4185,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4185
4185
  supersedesDecisionIds: string[];
4186
4186
  proposedBy: string;
4187
4187
  evidence?: {
4188
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4189
- label: string;
4190
4188
  id: string;
4189
+ label: string;
4190
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4191
4191
  capture: "at_action" | "historical_lookup" | "fixture";
4192
4192
  locator?: string | undefined;
4193
4193
  }[] | undefined;
@@ -4195,15 +4195,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4195
4195
  kind: "correction_approved";
4196
4196
  correctionId: string;
4197
4197
  approvedBy: {
4198
- kind: "agent" | "human";
4199
- label: string;
4200
4198
  id: string;
4199
+ label: string;
4200
+ kind: "agent" | "human";
4201
4201
  };
4202
4202
  note?: string | undefined;
4203
4203
  evidence?: {
4204
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4205
- label: string;
4206
4204
  id: string;
4205
+ label: string;
4206
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4207
4207
  capture: "at_action" | "historical_lookup" | "fixture";
4208
4208
  locator?: string | undefined;
4209
4209
  }[] | undefined;
@@ -4213,9 +4213,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4213
4213
  correctionId: string;
4214
4214
  replacementDecisionId: string;
4215
4215
  evidence?: {
4216
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4217
- label: string;
4218
4216
  id: string;
4217
+ label: string;
4218
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4219
4219
  capture: "at_action" | "historical_lookup" | "fixture";
4220
4220
  locator?: string | undefined;
4221
4221
  }[] | undefined;
@@ -4228,9 +4228,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4228
4228
  recallReceiptId: string;
4229
4229
  capturedAtAction: boolean;
4230
4230
  evidence?: {
4231
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4232
- label: string;
4233
4231
  id: string;
4232
+ label: string;
4233
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4234
4234
  capture: "at_action" | "historical_lookup" | "fixture";
4235
4235
  locator?: string | undefined;
4236
4236
  }[] | undefined;
@@ -4243,63 +4243,64 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4243
4243
  recallReceiptId: string;
4244
4244
  staleDecisionAbsent: boolean;
4245
4245
  evidence?: {
4246
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4247
- label: string;
4248
4246
  id: string;
4247
+ label: string;
4248
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4249
4249
  capture: "at_action" | "historical_lookup" | "fixture";
4250
4250
  locator?: string | undefined;
4251
4251
  }[] | undefined;
4252
4252
  } | {
4253
- kind: "mission_completed";
4254
4253
  summary: string;
4254
+ kind: "mission_completed";
4255
4255
  outcome: "failed" | "recovered" | "inconclusive";
4256
4256
  evidence?: {
4257
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4258
- label: string;
4259
4257
  id: string;
4258
+ label: string;
4259
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4260
4260
  capture: "at_action" | "historical_lookup" | "fixture";
4261
4261
  locator?: string | undefined;
4262
4262
  }[] | undefined;
4263
4263
  }>;
4264
4264
  }, "strict", z.ZodTypeAny, {
4265
- schemaVersion: "1";
4265
+ namespace: string;
4266
4266
  recordedAt: string;
4267
+ schemaVersion: "1";
4267
4268
  payload: {
4268
4269
  kind: "mission_started";
4269
4270
  title: string;
4270
4271
  evidence: {
4271
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4272
- label: string;
4273
4272
  id: string;
4273
+ label: string;
4274
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4274
4275
  capture: "at_action" | "historical_lookup" | "fixture";
4275
4276
  locator?: string | undefined;
4276
4277
  }[];
4277
4278
  objective: string;
4278
4279
  runMode: "replay" | "fixture" | "live";
4279
4280
  } | {
4280
- kind: "agent_status";
4281
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4282
4281
  label: string;
4282
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4283
+ kind: "agent_status";
4283
4284
  role: string;
4284
4285
  agentId: string;
4285
4286
  sessionId: string;
4286
4287
  evidence: {
4287
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4288
- label: string;
4289
4288
  id: string;
4289
+ label: string;
4290
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4290
4291
  capture: "at_action" | "historical_lookup" | "fixture";
4291
4292
  locator?: string | undefined;
4292
4293
  }[];
4293
4294
  detail?: string | undefined;
4294
4295
  } | {
4295
- kind: "agent_output";
4296
4296
  summary: string;
4297
+ kind: "agent_output";
4297
4298
  agentId: string;
4298
4299
  sessionId: string;
4299
4300
  evidence: {
4300
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4301
- label: string;
4302
4301
  id: string;
4302
+ label: string;
4303
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4303
4304
  capture: "at_action" | "historical_lookup" | "fixture";
4304
4305
  locator?: string | undefined;
4305
4306
  }[];
@@ -4310,9 +4311,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4310
4311
  statement: string;
4311
4312
  sessionId: string;
4312
4313
  evidence: {
4313
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4314
- label: string;
4315
4314
  id: string;
4315
+ label: string;
4316
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4316
4317
  capture: "at_action" | "historical_lookup" | "fixture";
4317
4318
  locator?: string | undefined;
4318
4319
  }[];
@@ -4320,12 +4321,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4320
4321
  decisionId: string;
4321
4322
  confidence?: number | undefined;
4322
4323
  } | {
4323
- kind: "conflict_detected";
4324
4324
  summary: string;
4325
+ kind: "conflict_detected";
4325
4326
  evidence: {
4326
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4327
- label: string;
4328
4327
  id: string;
4328
+ label: string;
4329
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4329
4330
  capture: "at_action" | "historical_lookup" | "fixture";
4330
4331
  locator?: string | undefined;
4331
4332
  }[];
@@ -4333,14 +4334,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4333
4334
  decisionIds: string[];
4334
4335
  agentIds: string[];
4335
4336
  } | {
4336
- kind: "test_result";
4337
4337
  summary: string;
4338
4338
  status: "error" | "failed" | "passed";
4339
+ kind: "test_result";
4339
4340
  command: string;
4340
4341
  evidence: {
4341
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4342
- label: string;
4343
4342
  id: string;
4343
+ label: string;
4344
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4344
4345
  capture: "at_action" | "historical_lookup" | "fixture";
4345
4346
  locator?: string | undefined;
4346
4347
  }[];
@@ -4353,9 +4354,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4353
4354
  rationale: string;
4354
4355
  statement: string;
4355
4356
  evidence: {
4356
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4357
- label: string;
4358
4357
  id: string;
4358
+ label: string;
4359
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4359
4360
  capture: "at_action" | "historical_lookup" | "fixture";
4360
4361
  locator?: string | undefined;
4361
4362
  }[];
@@ -4367,25 +4368,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4367
4368
  } | {
4368
4369
  kind: "correction_approved";
4369
4370
  evidence: {
4370
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4371
- label: string;
4372
4371
  id: string;
4372
+ label: string;
4373
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4373
4374
  capture: "at_action" | "historical_lookup" | "fixture";
4374
4375
  locator?: string | undefined;
4375
4376
  }[];
4376
4377
  correctionId: string;
4377
4378
  approvedBy: {
4378
- kind: "agent" | "human";
4379
- label: string;
4380
4379
  id: string;
4380
+ label: string;
4381
+ kind: "agent" | "human";
4381
4382
  };
4382
4383
  note?: string | undefined;
4383
4384
  } | {
4384
4385
  kind: "decision_superseded";
4385
4386
  evidence: {
4386
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4387
- label: string;
4388
4387
  id: string;
4388
+ label: string;
4389
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4389
4390
  capture: "at_action" | "historical_lookup" | "fixture";
4390
4391
  locator?: string | undefined;
4391
4392
  }[];
@@ -4398,9 +4399,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4398
4399
  agentId: string;
4399
4400
  sessionId: string;
4400
4401
  evidence: {
4401
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4402
- label: string;
4403
4402
  id: string;
4403
+ label: string;
4404
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4404
4405
  capture: "at_action" | "historical_lookup" | "fixture";
4405
4406
  locator?: string | undefined;
4406
4407
  }[];
@@ -4412,9 +4413,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4412
4413
  agentId: string;
4413
4414
  sessionId: string;
4414
4415
  evidence: {
4415
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4416
- label: string;
4417
4416
  id: string;
4417
+ label: string;
4418
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4418
4419
  capture: "at_action" | "historical_lookup" | "fixture";
4419
4420
  locator?: string | undefined;
4420
4421
  }[];
@@ -4423,63 +4424,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4423
4424
  recallReceiptId: string;
4424
4425
  staleDecisionAbsent: boolean;
4425
4426
  } | {
4426
- kind: "mission_completed";
4427
4427
  summary: string;
4428
+ kind: "mission_completed";
4428
4429
  outcome: "failed" | "recovered" | "inconclusive";
4429
4430
  evidence: {
4430
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4431
- label: string;
4432
4431
  id: string;
4432
+ label: string;
4433
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4433
4434
  capture: "at_action" | "historical_lookup" | "fixture";
4434
4435
  locator?: string | undefined;
4435
4436
  }[];
4436
4437
  };
4437
- namespace: string;
4438
4438
  eventId: string;
4439
4439
  occurredAt: string;
4440
4440
  missionId: string;
4441
4441
  authenticatedPrincipal?: string | undefined;
4442
4442
  idempotencyKey?: string | undefined;
4443
4443
  }, {
4444
- schemaVersion: "1";
4444
+ namespace: string;
4445
4445
  recordedAt: string;
4446
+ schemaVersion: "1";
4446
4447
  payload: {
4447
4448
  kind: "mission_started";
4448
4449
  title: string;
4449
4450
  objective: string;
4450
4451
  runMode: "replay" | "fixture" | "live";
4451
4452
  evidence?: {
4452
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4453
- label: string;
4454
4453
  id: string;
4454
+ label: string;
4455
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4455
4456
  capture: "at_action" | "historical_lookup" | "fixture";
4456
4457
  locator?: string | undefined;
4457
4458
  }[] | undefined;
4458
4459
  } | {
4459
- kind: "agent_status";
4460
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4461
4460
  label: string;
4461
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4462
+ kind: "agent_status";
4462
4463
  role: string;
4463
4464
  agentId: string;
4464
4465
  sessionId: string;
4465
4466
  detail?: string | undefined;
4466
4467
  evidence?: {
4467
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4468
- label: string;
4469
4468
  id: string;
4469
+ label: string;
4470
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4470
4471
  capture: "at_action" | "historical_lookup" | "fixture";
4471
4472
  locator?: string | undefined;
4472
4473
  }[] | undefined;
4473
4474
  } | {
4474
- kind: "agent_output";
4475
4475
  summary: string;
4476
+ kind: "agent_output";
4476
4477
  agentId: string;
4477
4478
  sessionId: string;
4478
4479
  outputId: string;
4479
4480
  evidence?: {
4480
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4481
- label: string;
4482
4481
  id: string;
4482
+ label: string;
4483
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4483
4484
  capture: "at_action" | "historical_lookup" | "fixture";
4484
4485
  locator?: string | undefined;
4485
4486
  }[] | undefined;
@@ -4492,37 +4493,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4492
4493
  decisionId: string;
4493
4494
  confidence?: number | undefined;
4494
4495
  evidence?: {
4495
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4496
- label: string;
4497
4496
  id: string;
4497
+ label: string;
4498
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4498
4499
  capture: "at_action" | "historical_lookup" | "fixture";
4499
4500
  locator?: string | undefined;
4500
4501
  }[] | undefined;
4501
4502
  } | {
4502
- kind: "conflict_detected";
4503
4503
  summary: string;
4504
+ kind: "conflict_detected";
4504
4505
  conflictId: string;
4505
4506
  decisionIds: string[];
4506
4507
  agentIds: string[];
4507
4508
  evidence?: {
4508
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4509
- label: string;
4510
4509
  id: string;
4510
+ label: string;
4511
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4511
4512
  capture: "at_action" | "historical_lookup" | "fixture";
4512
4513
  locator?: string | undefined;
4513
4514
  }[] | undefined;
4514
4515
  } | {
4515
- kind: "test_result";
4516
4516
  summary: string;
4517
4517
  status: "error" | "failed" | "passed";
4518
+ kind: "test_result";
4518
4519
  command: string;
4519
4520
  decisionId: string;
4520
4521
  testId: string;
4521
4522
  durationMs?: number | undefined;
4522
4523
  evidence?: {
4523
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4524
- label: string;
4525
4524
  id: string;
4525
+ label: string;
4526
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4526
4527
  capture: "at_action" | "historical_lookup" | "fixture";
4527
4528
  locator?: string | undefined;
4528
4529
  }[] | undefined;
@@ -4537,9 +4538,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4537
4538
  supersedesDecisionIds: string[];
4538
4539
  proposedBy: string;
4539
4540
  evidence?: {
4540
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4541
- label: string;
4542
4541
  id: string;
4542
+ label: string;
4543
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4543
4544
  capture: "at_action" | "historical_lookup" | "fixture";
4544
4545
  locator?: string | undefined;
4545
4546
  }[] | undefined;
@@ -4547,15 +4548,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4547
4548
  kind: "correction_approved";
4548
4549
  correctionId: string;
4549
4550
  approvedBy: {
4550
- kind: "agent" | "human";
4551
- label: string;
4552
4551
  id: string;
4552
+ label: string;
4553
+ kind: "agent" | "human";
4553
4554
  };
4554
4555
  note?: string | undefined;
4555
4556
  evidence?: {
4556
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4557
- label: string;
4558
4557
  id: string;
4558
+ label: string;
4559
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4559
4560
  capture: "at_action" | "historical_lookup" | "fixture";
4560
4561
  locator?: string | undefined;
4561
4562
  }[] | undefined;
@@ -4565,9 +4566,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4565
4566
  correctionId: string;
4566
4567
  replacementDecisionId: string;
4567
4568
  evidence?: {
4568
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4569
- label: string;
4570
4569
  id: string;
4570
+ label: string;
4571
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4571
4572
  capture: "at_action" | "historical_lookup" | "fixture";
4572
4573
  locator?: string | undefined;
4573
4574
  }[] | undefined;
@@ -4580,9 +4581,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4580
4581
  recallReceiptId: string;
4581
4582
  capturedAtAction: boolean;
4582
4583
  evidence?: {
4583
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4584
- label: string;
4585
4584
  id: string;
4585
+ label: string;
4586
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4586
4587
  capture: "at_action" | "historical_lookup" | "fixture";
4587
4588
  locator?: string | undefined;
4588
4589
  }[] | undefined;
@@ -4595,25 +4596,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4595
4596
  recallReceiptId: string;
4596
4597
  staleDecisionAbsent: boolean;
4597
4598
  evidence?: {
4598
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4599
- label: string;
4600
4599
  id: string;
4600
+ label: string;
4601
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4601
4602
  capture: "at_action" | "historical_lookup" | "fixture";
4602
4603
  locator?: string | undefined;
4603
4604
  }[] | undefined;
4604
4605
  } | {
4605
- kind: "mission_completed";
4606
4606
  summary: string;
4607
+ kind: "mission_completed";
4607
4608
  outcome: "failed" | "recovered" | "inconclusive";
4608
4609
  evidence?: {
4609
- kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4610
- label: string;
4611
4610
  id: string;
4611
+ label: string;
4612
+ kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4612
4613
  capture: "at_action" | "historical_lookup" | "fixture";
4613
4614
  locator?: string | undefined;
4614
4615
  }[] | undefined;
4615
4616
  };
4616
- namespace: string;
4617
4617
  eventId: string;
4618
4618
  occurredAt: string;
4619
4619
  missionId: string;