@remnic/core 9.50.1 → 9.50.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/access-admin-ops-surface.js +3 -3
  2. package/dist/access-authorization-probe.js +4 -4
  3. package/dist/access-boundary.js +3 -3
  4. package/dist/access-cli.js +13 -13
  5. package/dist/access-extraction-force-flush.js +3 -3
  6. package/dist/access-http-query.js +3 -3
  7. package/dist/access-http.js +9 -9
  8. package/dist/access-identity-continuity-surface.js +3 -3
  9. package/dist/access-lcm-surface.js +3 -3
  10. package/dist/access-mcp.js +7 -7
  11. package/dist/access-namespace-preflight.js +3 -3
  12. package/dist/access-observe-write-surface.js +3 -3
  13. package/dist/access-operations-batch.js +4 -4
  14. package/dist/access-operations.d.ts +3 -3
  15. package/dist/access-operations.js +6 -6
  16. package/dist/access-recall-concurrency.js +3 -3
  17. package/dist/access-recall-response.js +3 -3
  18. package/dist/access-recall-surface.js +3 -3
  19. package/dist/access-schema.d.ts +88 -88
  20. package/dist/access-service.js +3 -3
  21. package/dist/{chunk-UWIDGVQM.js → chunk-5C2HNJMO.js} +3 -3
  22. package/dist/{chunk-X4IDNPOS.js → chunk-HAEU3ZW7.js} +2 -2
  23. package/dist/{chunk-NZ6UDRUA.js → chunk-IK6X5QPO.js} +5 -5
  24. package/dist/{chunk-P7ADRREJ.js → chunk-KDG2KTWW.js} +3 -3
  25. package/dist/{chunk-IB25FBMX.js → chunk-LEJPSMKM.js} +2 -2
  26. package/dist/{chunk-ZDAYWJV6.js → chunk-NO37MR45.js} +3 -3
  27. package/dist/{chunk-ZCO5F5FW.js → chunk-PLKFO2HJ.js} +2 -2
  28. package/dist/{chunk-LOW66JRO.js → chunk-PYKKWQZ2.js} +2 -2
  29. package/dist/{chunk-T6RATUV2.js → chunk-QW3WFHKU.js} +2 -2
  30. package/dist/{chunk-PNRA7FAD.js → chunk-RZRUV6N2.js} +104 -62
  31. package/dist/chunk-RZRUV6N2.js.map +1 -0
  32. package/dist/{chunk-D73B6HMN.js → chunk-S3AYIQCU.js} +2 -2
  33. package/dist/{chunk-HS4M6BZM.js → chunk-TQFHQPWD.js} +5 -5
  34. package/dist/{chunk-JFNRA7YJ.js → chunk-V7X767RT.js} +4 -4
  35. package/dist/cli.js +10 -10
  36. package/dist/connectors/index.d.ts +1 -0
  37. package/dist/connectors/index.js +1 -1
  38. package/dist/external-wiki-access.js +4 -4
  39. package/dist/extraction.js +4 -4
  40. package/dist/index.d.ts +674 -674
  41. package/dist/index.js +13 -13
  42. package/dist/orchestrator.js +13 -13
  43. package/dist/schemas.d.ts +116 -116
  44. package/dist/shared-context/manager.d.ts +8 -8
  45. package/dist/source-agent-qualifier.js +3 -3
  46. package/dist/transfer/types.d.ts +66 -66
  47. package/package.json +2 -2
  48. package/src/connectors/index.ts +40 -112
  49. package/src/runtime/daemon-health.ts +53 -0
  50. package/src/runtime/http-transport.ts +25 -0
  51. package/dist/chunk-PNRA7FAD.js.map +0 -1
  52. /package/dist/{chunk-UWIDGVQM.js.map → chunk-5C2HNJMO.js.map} +0 -0
  53. /package/dist/{chunk-X4IDNPOS.js.map → chunk-HAEU3ZW7.js.map} +0 -0
  54. /package/dist/{chunk-NZ6UDRUA.js.map → chunk-IK6X5QPO.js.map} +0 -0
  55. /package/dist/{chunk-P7ADRREJ.js.map → chunk-KDG2KTWW.js.map} +0 -0
  56. /package/dist/{chunk-IB25FBMX.js.map → chunk-LEJPSMKM.js.map} +0 -0
  57. /package/dist/{chunk-ZDAYWJV6.js.map → chunk-NO37MR45.js.map} +0 -0
  58. /package/dist/{chunk-ZCO5F5FW.js.map → chunk-PLKFO2HJ.js.map} +0 -0
  59. /package/dist/{chunk-LOW66JRO.js.map → chunk-PYKKWQZ2.js.map} +0 -0
  60. /package/dist/{chunk-T6RATUV2.js.map → chunk-QW3WFHKU.js.map} +0 -0
  61. /package/dist/{chunk-D73B6HMN.js.map → chunk-S3AYIQCU.js.map} +0 -0
  62. /package/dist/{chunk-HS4M6BZM.js.map → chunk-TQFHQPWD.js.map} +0 -0
  63. /package/dist/{chunk-JFNRA7YJ.js.map → chunk-V7X767RT.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -890,15 +890,15 @@ declare const RelayEvidenceRefSchema: z.ZodObject<{
890
890
  locator: z.ZodOptional<z.ZodString>;
891
891
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
892
892
  }, "strict", z.ZodTypeAny, {
893
- id: string;
893
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
894
894
  label: string;
895
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
895
+ id: string;
896
896
  capture: "at_action" | "historical_lookup" | "fixture";
897
897
  locator?: string | undefined;
898
898
  }, {
899
- id: string;
899
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
900
900
  label: string;
901
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
901
+ id: string;
902
902
  capture: "at_action" | "historical_lookup" | "fixture";
903
903
  locator?: string | undefined;
904
904
  }>;
@@ -915,15 +915,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
915
915
  locator: z.ZodOptional<z.ZodString>;
916
916
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
917
917
  }, "strict", z.ZodTypeAny, {
918
- id: string;
918
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
919
919
  label: string;
920
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
920
+ id: string;
921
921
  capture: "at_action" | "historical_lookup" | "fixture";
922
922
  locator?: string | undefined;
923
923
  }, {
924
- id: string;
924
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
925
925
  label: string;
926
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
926
+ id: string;
927
927
  capture: "at_action" | "historical_lookup" | "fixture";
928
928
  locator?: string | undefined;
929
929
  }>, "many">>;
@@ -931,9 +931,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
931
931
  kind: "mission_started";
932
932
  title: string;
933
933
  evidence: {
934
- id: string;
934
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
935
935
  label: string;
936
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
936
+ id: string;
937
937
  capture: "at_action" | "historical_lookup" | "fixture";
938
938
  locator?: string | undefined;
939
939
  }[];
@@ -945,9 +945,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
945
945
  objective: string;
946
946
  runMode: "replay" | "fixture" | "live";
947
947
  evidence?: {
948
- id: string;
948
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
949
949
  label: string;
950
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
950
+ id: string;
951
951
  capture: "at_action" | "historical_lookup" | "fixture";
952
952
  locator?: string | undefined;
953
953
  }[] | undefined;
@@ -963,15 +963,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
963
963
  locator: z.ZodOptional<z.ZodString>;
964
964
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
965
965
  }, "strict", z.ZodTypeAny, {
966
- id: string;
966
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
967
967
  label: string;
968
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
968
+ id: string;
969
969
  capture: "at_action" | "historical_lookup" | "fixture";
970
970
  locator?: string | undefined;
971
971
  }, {
972
- id: string;
972
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
973
973
  label: string;
974
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
974
+ id: string;
975
975
  capture: "at_action" | "historical_lookup" | "fixture";
976
976
  locator?: string | undefined;
977
977
  }>, "many">>;
@@ -979,32 +979,32 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
979
979
  sessionId: z.ZodString;
980
980
  kind: z.ZodLiteral<"agent_status">;
981
981
  }, "strict", z.ZodTypeAny, {
982
- label: string;
983
- status: "failed" | "blocked" | "working" | "complete" | "idle";
984
982
  kind: "agent_status";
983
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
984
+ label: string;
985
985
  role: string;
986
986
  agentId: string;
987
987
  sessionId: string;
988
988
  evidence: {
989
- id: string;
989
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
990
990
  label: string;
991
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
991
+ id: string;
992
992
  capture: "at_action" | "historical_lookup" | "fixture";
993
993
  locator?: string | undefined;
994
994
  }[];
995
995
  detail?: string | undefined;
996
996
  }, {
997
- label: string;
998
- status: "failed" | "blocked" | "working" | "complete" | "idle";
999
997
  kind: "agent_status";
998
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
999
+ label: string;
1000
1000
  role: string;
1001
1001
  agentId: string;
1002
1002
  sessionId: string;
1003
1003
  detail?: string | undefined;
1004
1004
  evidence?: {
1005
- id: string;
1005
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1006
1006
  label: string;
1007
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1007
+ id: string;
1008
1008
  capture: "at_action" | "historical_lookup" | "fixture";
1009
1009
  locator?: string | undefined;
1010
1010
  }[] | undefined;
@@ -1018,15 +1018,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1018
1018
  locator: z.ZodOptional<z.ZodString>;
1019
1019
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1020
1020
  }, "strict", z.ZodTypeAny, {
1021
- id: string;
1021
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1022
1022
  label: string;
1023
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1023
+ id: string;
1024
1024
  capture: "at_action" | "historical_lookup" | "fixture";
1025
1025
  locator?: string | undefined;
1026
1026
  }, {
1027
- id: string;
1027
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1028
1028
  label: string;
1029
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1029
+ id: string;
1030
1030
  capture: "at_action" | "historical_lookup" | "fixture";
1031
1031
  locator?: string | undefined;
1032
1032
  }>, "many">>;
@@ -1034,28 +1034,28 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1034
1034
  sessionId: z.ZodString;
1035
1035
  kind: z.ZodLiteral<"agent_output">;
1036
1036
  }, "strict", z.ZodTypeAny, {
1037
- summary: string;
1038
1037
  kind: "agent_output";
1038
+ summary: string;
1039
1039
  agentId: string;
1040
1040
  sessionId: string;
1041
1041
  evidence: {
1042
- id: string;
1042
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1043
1043
  label: string;
1044
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1044
+ id: string;
1045
1045
  capture: "at_action" | "historical_lookup" | "fixture";
1046
1046
  locator?: string | undefined;
1047
1047
  }[];
1048
1048
  outputId: string;
1049
1049
  }, {
1050
- summary: string;
1051
1050
  kind: "agent_output";
1051
+ summary: string;
1052
1052
  agentId: string;
1053
1053
  sessionId: string;
1054
1054
  outputId: string;
1055
1055
  evidence?: {
1056
- id: string;
1056
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1057
1057
  label: string;
1058
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1058
+ id: string;
1059
1059
  capture: "at_action" | "historical_lookup" | "fixture";
1060
1060
  locator?: string | undefined;
1061
1061
  }[] | undefined;
@@ -1071,15 +1071,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1071
1071
  locator: z.ZodOptional<z.ZodString>;
1072
1072
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1073
1073
  }, "strict", z.ZodTypeAny, {
1074
- id: string;
1074
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1075
1075
  label: string;
1076
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1076
+ id: string;
1077
1077
  capture: "at_action" | "historical_lookup" | "fixture";
1078
1078
  locator?: string | undefined;
1079
1079
  }, {
1080
- id: string;
1080
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1081
1081
  label: string;
1082
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1082
+ id: string;
1083
1083
  capture: "at_action" | "historical_lookup" | "fixture";
1084
1084
  locator?: string | undefined;
1085
1085
  }>, "many">>;
@@ -1092,9 +1092,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1092
1092
  statement: string;
1093
1093
  sessionId: string;
1094
1094
  evidence: {
1095
- id: string;
1095
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1096
1096
  label: string;
1097
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1097
+ id: string;
1098
1098
  capture: "at_action" | "historical_lookup" | "fixture";
1099
1099
  locator?: string | undefined;
1100
1100
  }[];
@@ -1110,9 +1110,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1110
1110
  decisionId: string;
1111
1111
  confidence?: number | undefined;
1112
1112
  evidence?: {
1113
- id: string;
1113
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1114
1114
  label: string;
1115
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1115
+ id: string;
1116
1116
  capture: "at_action" | "historical_lookup" | "fixture";
1117
1117
  locator?: string | undefined;
1118
1118
  }[] | undefined;
@@ -1129,25 +1129,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1129
1129
  locator: z.ZodOptional<z.ZodString>;
1130
1130
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1131
1131
  }, "strict", z.ZodTypeAny, {
1132
- id: string;
1132
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1133
1133
  label: string;
1134
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1134
+ id: string;
1135
1135
  capture: "at_action" | "historical_lookup" | "fixture";
1136
1136
  locator?: string | undefined;
1137
1137
  }, {
1138
- id: string;
1138
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1139
1139
  label: string;
1140
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1140
+ id: string;
1141
1141
  capture: "at_action" | "historical_lookup" | "fixture";
1142
1142
  locator?: string | undefined;
1143
1143
  }>, "many">>;
1144
1144
  }, "strict", z.ZodTypeAny, {
1145
- summary: string;
1146
1145
  kind: "conflict_detected";
1146
+ summary: string;
1147
1147
  evidence: {
1148
- id: string;
1148
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1149
1149
  label: string;
1150
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1150
+ id: string;
1151
1151
  capture: "at_action" | "historical_lookup" | "fixture";
1152
1152
  locator?: string | undefined;
1153
1153
  }[];
@@ -1155,15 +1155,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1155
1155
  decisionIds: string[];
1156
1156
  agentIds: string[];
1157
1157
  }, {
1158
- summary: string;
1159
1158
  kind: "conflict_detected";
1159
+ summary: string;
1160
1160
  conflictId: string;
1161
1161
  decisionIds: string[];
1162
1162
  agentIds: string[];
1163
1163
  evidence?: {
1164
- id: string;
1164
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1165
1165
  label: string;
1166
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1166
+ id: string;
1167
1167
  capture: "at_action" | "historical_lookup" | "fixture";
1168
1168
  locator?: string | undefined;
1169
1169
  }[] | undefined;
@@ -1183,27 +1183,27 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1183
1183
  locator: z.ZodOptional<z.ZodString>;
1184
1184
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1185
1185
  }, "strict", z.ZodTypeAny, {
1186
- id: string;
1186
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1187
1187
  label: string;
1188
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1188
+ id: string;
1189
1189
  capture: "at_action" | "historical_lookup" | "fixture";
1190
1190
  locator?: string | undefined;
1191
1191
  }, {
1192
- id: string;
1192
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1193
1193
  label: string;
1194
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1194
+ id: string;
1195
1195
  capture: "at_action" | "historical_lookup" | "fixture";
1196
1196
  locator?: string | undefined;
1197
1197
  }>, "many">>;
1198
1198
  }, "strict", z.ZodTypeAny, {
1199
+ kind: "test_result";
1199
1200
  summary: string;
1200
1201
  status: "error" | "failed" | "passed";
1201
- kind: "test_result";
1202
1202
  command: string;
1203
1203
  evidence: {
1204
- id: string;
1204
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1205
1205
  label: string;
1206
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1206
+ id: string;
1207
1207
  capture: "at_action" | "historical_lookup" | "fixture";
1208
1208
  locator?: string | undefined;
1209
1209
  }[];
@@ -1212,17 +1212,17 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1212
1212
  durationMs?: number | undefined;
1213
1213
  correctionId?: string | undefined;
1214
1214
  }, {
1215
+ kind: "test_result";
1215
1216
  summary: string;
1216
1217
  status: "error" | "failed" | "passed";
1217
- kind: "test_result";
1218
1218
  command: string;
1219
1219
  decisionId: string;
1220
1220
  testId: string;
1221
1221
  durationMs?: number | undefined;
1222
1222
  evidence?: {
1223
- id: string;
1223
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1224
1224
  label: string;
1225
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1225
+ id: string;
1226
1226
  capture: "at_action" | "historical_lookup" | "fixture";
1227
1227
  locator?: string | undefined;
1228
1228
  }[] | undefined;
@@ -1243,15 +1243,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1243
1243
  locator: z.ZodOptional<z.ZodString>;
1244
1244
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1245
1245
  }, "strict", z.ZodTypeAny, {
1246
- id: string;
1246
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1247
1247
  label: string;
1248
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1248
+ id: string;
1249
1249
  capture: "at_action" | "historical_lookup" | "fixture";
1250
1250
  locator?: string | undefined;
1251
1251
  }, {
1252
- id: string;
1252
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1253
1253
  label: string;
1254
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1254
+ id: string;
1255
1255
  capture: "at_action" | "historical_lookup" | "fixture";
1256
1256
  locator?: string | undefined;
1257
1257
  }>, "many">>;
@@ -1260,9 +1260,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1260
1260
  rationale: string;
1261
1261
  statement: string;
1262
1262
  evidence: {
1263
- id: string;
1263
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1264
1264
  label: string;
1265
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1265
+ id: string;
1266
1266
  capture: "at_action" | "historical_lookup" | "fixture";
1267
1267
  locator?: string | undefined;
1268
1268
  }[];
@@ -1281,9 +1281,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1281
1281
  supersedesDecisionIds: string[];
1282
1282
  proposedBy: string;
1283
1283
  evidence?: {
1284
- id: string;
1284
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1285
1285
  label: string;
1286
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1286
+ id: string;
1287
1287
  capture: "at_action" | "historical_lookup" | "fixture";
1288
1288
  locator?: string | undefined;
1289
1289
  }[] | undefined;
@@ -1295,13 +1295,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1295
1295
  id: z.ZodString;
1296
1296
  label: z.ZodString;
1297
1297
  }, "strict", z.ZodTypeAny, {
1298
- id: string;
1299
- label: string;
1300
1298
  kind: "agent" | "human";
1301
- }, {
1302
- id: string;
1303
1299
  label: string;
1300
+ id: string;
1301
+ }, {
1304
1302
  kind: "agent" | "human";
1303
+ label: string;
1304
+ id: string;
1305
1305
  }>;
1306
1306
  note: z.ZodOptional<z.ZodString>;
1307
1307
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1311,47 +1311,47 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1311
1311
  locator: z.ZodOptional<z.ZodString>;
1312
1312
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1313
1313
  }, "strict", z.ZodTypeAny, {
1314
- id: string;
1314
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1315
1315
  label: string;
1316
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1316
+ id: string;
1317
1317
  capture: "at_action" | "historical_lookup" | "fixture";
1318
1318
  locator?: string | undefined;
1319
1319
  }, {
1320
- id: string;
1320
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1321
1321
  label: string;
1322
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1322
+ id: string;
1323
1323
  capture: "at_action" | "historical_lookup" | "fixture";
1324
1324
  locator?: string | undefined;
1325
1325
  }>, "many">>;
1326
1326
  }, "strict", z.ZodTypeAny, {
1327
1327
  kind: "correction_approved";
1328
1328
  evidence: {
1329
- id: string;
1329
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1330
1330
  label: string;
1331
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1331
+ id: string;
1332
1332
  capture: "at_action" | "historical_lookup" | "fixture";
1333
1333
  locator?: string | undefined;
1334
1334
  }[];
1335
1335
  correctionId: string;
1336
1336
  approvedBy: {
1337
- id: string;
1338
- label: string;
1339
1337
  kind: "agent" | "human";
1338
+ label: string;
1339
+ id: string;
1340
1340
  };
1341
1341
  note?: string | undefined;
1342
1342
  }, {
1343
1343
  kind: "correction_approved";
1344
1344
  correctionId: string;
1345
1345
  approvedBy: {
1346
- id: string;
1347
- label: string;
1348
1346
  kind: "agent" | "human";
1347
+ label: string;
1348
+ id: string;
1349
1349
  };
1350
1350
  note?: string | undefined;
1351
1351
  evidence?: {
1352
- id: string;
1352
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1353
1353
  label: string;
1354
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1354
+ id: string;
1355
1355
  capture: "at_action" | "historical_lookup" | "fixture";
1356
1356
  locator?: string | undefined;
1357
1357
  }[] | undefined;
@@ -1367,24 +1367,24 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1367
1367
  locator: z.ZodOptional<z.ZodString>;
1368
1368
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1369
1369
  }, "strict", z.ZodTypeAny, {
1370
- id: string;
1370
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1371
1371
  label: string;
1372
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1372
+ id: string;
1373
1373
  capture: "at_action" | "historical_lookup" | "fixture";
1374
1374
  locator?: string | undefined;
1375
1375
  }, {
1376
- id: string;
1376
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1377
1377
  label: string;
1378
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1378
+ id: string;
1379
1379
  capture: "at_action" | "historical_lookup" | "fixture";
1380
1380
  locator?: string | undefined;
1381
1381
  }>, "many">>;
1382
1382
  }, "strict", z.ZodTypeAny, {
1383
1383
  kind: "decision_superseded";
1384
1384
  evidence: {
1385
- id: string;
1385
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1386
1386
  label: string;
1387
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1387
+ id: string;
1388
1388
  capture: "at_action" | "historical_lookup" | "fixture";
1389
1389
  locator?: string | undefined;
1390
1390
  }[];
@@ -1397,9 +1397,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1397
1397
  correctionId: string;
1398
1398
  replacementDecisionId: string;
1399
1399
  evidence?: {
1400
- id: string;
1400
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1401
1401
  label: string;
1402
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1402
+ id: string;
1403
1403
  capture: "at_action" | "historical_lookup" | "fixture";
1404
1404
  locator?: string | undefined;
1405
1405
  }[] | undefined;
@@ -1415,15 +1415,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1415
1415
  locator: z.ZodOptional<z.ZodString>;
1416
1416
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1417
1417
  }, "strict", z.ZodTypeAny, {
1418
- id: string;
1418
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1419
1419
  label: string;
1420
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1420
+ id: string;
1421
1421
  capture: "at_action" | "historical_lookup" | "fixture";
1422
1422
  locator?: string | undefined;
1423
1423
  }, {
1424
- id: string;
1424
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1425
1425
  label: string;
1426
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1426
+ id: string;
1427
1427
  capture: "at_action" | "historical_lookup" | "fixture";
1428
1428
  locator?: string | undefined;
1429
1429
  }>, "many">>;
@@ -1436,9 +1436,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1436
1436
  agentId: string;
1437
1437
  sessionId: string;
1438
1438
  evidence: {
1439
- id: string;
1439
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1440
1440
  label: string;
1441
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1441
+ id: string;
1442
1442
  capture: "at_action" | "historical_lookup" | "fixture";
1443
1443
  locator?: string | undefined;
1444
1444
  }[];
@@ -1454,9 +1454,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1454
1454
  recallReceiptId: string;
1455
1455
  capturedAtAction: boolean;
1456
1456
  evidence?: {
1457
- id: string;
1457
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1458
1458
  label: string;
1459
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1459
+ id: string;
1460
1460
  capture: "at_action" | "historical_lookup" | "fixture";
1461
1461
  locator?: string | undefined;
1462
1462
  }[] | undefined;
@@ -1472,15 +1472,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1472
1472
  locator: z.ZodOptional<z.ZodString>;
1473
1473
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1474
1474
  }, "strict", z.ZodTypeAny, {
1475
- id: string;
1475
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1476
1476
  label: string;
1477
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1477
+ id: string;
1478
1478
  capture: "at_action" | "historical_lookup" | "fixture";
1479
1479
  locator?: string | undefined;
1480
1480
  }, {
1481
- id: string;
1481
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1482
1482
  label: string;
1483
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1483
+ id: string;
1484
1484
  capture: "at_action" | "historical_lookup" | "fixture";
1485
1485
  locator?: string | undefined;
1486
1486
  }>, "many">>;
@@ -1492,9 +1492,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1492
1492
  agentId: string;
1493
1493
  sessionId: string;
1494
1494
  evidence: {
1495
- id: string;
1495
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1496
1496
  label: string;
1497
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1497
+ id: string;
1498
1498
  capture: "at_action" | "historical_lookup" | "fixture";
1499
1499
  locator?: string | undefined;
1500
1500
  }[];
@@ -1511,9 +1511,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1511
1511
  recallReceiptId: string;
1512
1512
  staleDecisionAbsent: boolean;
1513
1513
  evidence?: {
1514
- id: string;
1514
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1515
1515
  label: string;
1516
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1516
+ id: string;
1517
1517
  capture: "at_action" | "historical_lookup" | "fixture";
1518
1518
  locator?: string | undefined;
1519
1519
  }[] | undefined;
@@ -1528,37 +1528,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1528
1528
  locator: z.ZodOptional<z.ZodString>;
1529
1529
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1530
1530
  }, "strict", z.ZodTypeAny, {
1531
- id: string;
1531
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1532
1532
  label: string;
1533
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1533
+ id: string;
1534
1534
  capture: "at_action" | "historical_lookup" | "fixture";
1535
1535
  locator?: string | undefined;
1536
1536
  }, {
1537
- id: string;
1537
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1538
1538
  label: string;
1539
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1539
+ id: string;
1540
1540
  capture: "at_action" | "historical_lookup" | "fixture";
1541
1541
  locator?: string | undefined;
1542
1542
  }>, "many">>;
1543
1543
  }, "strict", z.ZodTypeAny, {
1544
- summary: string;
1545
1544
  kind: "mission_completed";
1545
+ summary: string;
1546
1546
  outcome: "failed" | "recovered" | "inconclusive";
1547
1547
  evidence: {
1548
- id: string;
1548
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1549
1549
  label: string;
1550
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1550
+ id: string;
1551
1551
  capture: "at_action" | "historical_lookup" | "fixture";
1552
1552
  locator?: string | undefined;
1553
1553
  }[];
1554
1554
  }, {
1555
- summary: string;
1556
1555
  kind: "mission_completed";
1556
+ summary: string;
1557
1557
  outcome: "failed" | "recovered" | "inconclusive";
1558
1558
  evidence?: {
1559
- id: string;
1559
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1560
1560
  label: string;
1561
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1561
+ id: string;
1562
1562
  capture: "at_action" | "historical_lookup" | "fixture";
1563
1563
  locator?: string | undefined;
1564
1564
  }[] | undefined;
@@ -1566,38 +1566,38 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1566
1566
  kind: "mission_started";
1567
1567
  title: string;
1568
1568
  evidence: {
1569
- id: string;
1569
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1570
1570
  label: string;
1571
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1571
+ id: string;
1572
1572
  capture: "at_action" | "historical_lookup" | "fixture";
1573
1573
  locator?: string | undefined;
1574
1574
  }[];
1575
1575
  objective: string;
1576
1576
  runMode: "replay" | "fixture" | "live";
1577
1577
  } | {
1578
- label: string;
1579
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1580
1578
  kind: "agent_status";
1579
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1580
+ label: string;
1581
1581
  role: string;
1582
1582
  agentId: string;
1583
1583
  sessionId: string;
1584
1584
  evidence: {
1585
- id: string;
1585
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1586
1586
  label: string;
1587
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1587
+ id: string;
1588
1588
  capture: "at_action" | "historical_lookup" | "fixture";
1589
1589
  locator?: string | undefined;
1590
1590
  }[];
1591
1591
  detail?: string | undefined;
1592
1592
  } | {
1593
- summary: string;
1594
1593
  kind: "agent_output";
1594
+ summary: string;
1595
1595
  agentId: string;
1596
1596
  sessionId: string;
1597
1597
  evidence: {
1598
- id: string;
1598
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1599
1599
  label: string;
1600
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1600
+ id: string;
1601
1601
  capture: "at_action" | "historical_lookup" | "fixture";
1602
1602
  locator?: string | undefined;
1603
1603
  }[];
@@ -1608,9 +1608,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1608
1608
  statement: string;
1609
1609
  sessionId: string;
1610
1610
  evidence: {
1611
- id: string;
1611
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1612
1612
  label: string;
1613
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1613
+ id: string;
1614
1614
  capture: "at_action" | "historical_lookup" | "fixture";
1615
1615
  locator?: string | undefined;
1616
1616
  }[];
@@ -1618,12 +1618,12 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1618
1618
  decisionId: string;
1619
1619
  confidence?: number | undefined;
1620
1620
  } | {
1621
- summary: string;
1622
1621
  kind: "conflict_detected";
1622
+ summary: string;
1623
1623
  evidence: {
1624
- id: string;
1624
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1625
1625
  label: string;
1626
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1626
+ id: string;
1627
1627
  capture: "at_action" | "historical_lookup" | "fixture";
1628
1628
  locator?: string | undefined;
1629
1629
  }[];
@@ -1631,14 +1631,14 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1631
1631
  decisionIds: string[];
1632
1632
  agentIds: string[];
1633
1633
  } | {
1634
+ kind: "test_result";
1634
1635
  summary: string;
1635
1636
  status: "error" | "failed" | "passed";
1636
- kind: "test_result";
1637
1637
  command: string;
1638
1638
  evidence: {
1639
- id: string;
1639
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1640
1640
  label: string;
1641
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1641
+ id: string;
1642
1642
  capture: "at_action" | "historical_lookup" | "fixture";
1643
1643
  locator?: string | undefined;
1644
1644
  }[];
@@ -1651,9 +1651,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1651
1651
  rationale: string;
1652
1652
  statement: string;
1653
1653
  evidence: {
1654
- id: string;
1654
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1655
1655
  label: string;
1656
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1656
+ id: string;
1657
1657
  capture: "at_action" | "historical_lookup" | "fixture";
1658
1658
  locator?: string | undefined;
1659
1659
  }[];
@@ -1665,25 +1665,25 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1665
1665
  } | {
1666
1666
  kind: "correction_approved";
1667
1667
  evidence: {
1668
- id: string;
1668
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1669
1669
  label: string;
1670
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1670
+ id: string;
1671
1671
  capture: "at_action" | "historical_lookup" | "fixture";
1672
1672
  locator?: string | undefined;
1673
1673
  }[];
1674
1674
  correctionId: string;
1675
1675
  approvedBy: {
1676
- id: string;
1677
- label: string;
1678
1676
  kind: "agent" | "human";
1677
+ label: string;
1678
+ id: string;
1679
1679
  };
1680
1680
  note?: string | undefined;
1681
1681
  } | {
1682
1682
  kind: "decision_superseded";
1683
1683
  evidence: {
1684
- id: string;
1684
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1685
1685
  label: string;
1686
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1686
+ id: string;
1687
1687
  capture: "at_action" | "historical_lookup" | "fixture";
1688
1688
  locator?: string | undefined;
1689
1689
  }[];
@@ -1696,9 +1696,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1696
1696
  agentId: string;
1697
1697
  sessionId: string;
1698
1698
  evidence: {
1699
- id: string;
1699
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1700
1700
  label: string;
1701
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1701
+ id: string;
1702
1702
  capture: "at_action" | "historical_lookup" | "fixture";
1703
1703
  locator?: string | undefined;
1704
1704
  }[];
@@ -1710,9 +1710,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1710
1710
  agentId: string;
1711
1711
  sessionId: string;
1712
1712
  evidence: {
1713
- id: string;
1713
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1714
1714
  label: string;
1715
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1715
+ id: string;
1716
1716
  capture: "at_action" | "historical_lookup" | "fixture";
1717
1717
  locator?: string | undefined;
1718
1718
  }[];
@@ -1721,13 +1721,13 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1721
1721
  recallReceiptId: string;
1722
1722
  staleDecisionAbsent: boolean;
1723
1723
  } | {
1724
- summary: string;
1725
1724
  kind: "mission_completed";
1725
+ summary: string;
1726
1726
  outcome: "failed" | "recovered" | "inconclusive";
1727
1727
  evidence: {
1728
- id: string;
1728
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1729
1729
  label: string;
1730
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1730
+ id: string;
1731
1731
  capture: "at_action" | "historical_lookup" | "fixture";
1732
1732
  locator?: string | undefined;
1733
1733
  }[];
@@ -1737,37 +1737,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1737
1737
  objective: string;
1738
1738
  runMode: "replay" | "fixture" | "live";
1739
1739
  evidence?: {
1740
- id: string;
1740
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1741
1741
  label: string;
1742
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1742
+ id: string;
1743
1743
  capture: "at_action" | "historical_lookup" | "fixture";
1744
1744
  locator?: string | undefined;
1745
1745
  }[] | undefined;
1746
1746
  } | {
1747
- label: string;
1748
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1749
1747
  kind: "agent_status";
1748
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1749
+ label: string;
1750
1750
  role: string;
1751
1751
  agentId: string;
1752
1752
  sessionId: string;
1753
1753
  detail?: string | undefined;
1754
1754
  evidence?: {
1755
- id: string;
1755
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1756
1756
  label: string;
1757
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1757
+ id: string;
1758
1758
  capture: "at_action" | "historical_lookup" | "fixture";
1759
1759
  locator?: string | undefined;
1760
1760
  }[] | undefined;
1761
1761
  } | {
1762
- summary: string;
1763
1762
  kind: "agent_output";
1763
+ summary: string;
1764
1764
  agentId: string;
1765
1765
  sessionId: string;
1766
1766
  outputId: string;
1767
1767
  evidence?: {
1768
- id: string;
1768
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1769
1769
  label: string;
1770
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1770
+ id: string;
1771
1771
  capture: "at_action" | "historical_lookup" | "fixture";
1772
1772
  locator?: string | undefined;
1773
1773
  }[] | undefined;
@@ -1780,37 +1780,37 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1780
1780
  decisionId: string;
1781
1781
  confidence?: number | undefined;
1782
1782
  evidence?: {
1783
- id: string;
1783
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1784
1784
  label: string;
1785
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1785
+ id: string;
1786
1786
  capture: "at_action" | "historical_lookup" | "fixture";
1787
1787
  locator?: string | undefined;
1788
1788
  }[] | undefined;
1789
1789
  } | {
1790
- summary: string;
1791
1790
  kind: "conflict_detected";
1791
+ summary: string;
1792
1792
  conflictId: string;
1793
1793
  decisionIds: string[];
1794
1794
  agentIds: string[];
1795
1795
  evidence?: {
1796
- id: string;
1796
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1797
1797
  label: string;
1798
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1798
+ id: string;
1799
1799
  capture: "at_action" | "historical_lookup" | "fixture";
1800
1800
  locator?: string | undefined;
1801
1801
  }[] | undefined;
1802
1802
  } | {
1803
+ kind: "test_result";
1803
1804
  summary: string;
1804
1805
  status: "error" | "failed" | "passed";
1805
- kind: "test_result";
1806
1806
  command: string;
1807
1807
  decisionId: string;
1808
1808
  testId: string;
1809
1809
  durationMs?: number | undefined;
1810
1810
  evidence?: {
1811
- id: string;
1811
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1812
1812
  label: string;
1813
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1813
+ id: string;
1814
1814
  capture: "at_action" | "historical_lookup" | "fixture";
1815
1815
  locator?: string | undefined;
1816
1816
  }[] | undefined;
@@ -1825,9 +1825,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1825
1825
  supersedesDecisionIds: string[];
1826
1826
  proposedBy: string;
1827
1827
  evidence?: {
1828
- id: string;
1828
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1829
1829
  label: string;
1830
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1830
+ id: string;
1831
1831
  capture: "at_action" | "historical_lookup" | "fixture";
1832
1832
  locator?: string | undefined;
1833
1833
  }[] | undefined;
@@ -1835,15 +1835,15 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1835
1835
  kind: "correction_approved";
1836
1836
  correctionId: string;
1837
1837
  approvedBy: {
1838
- id: string;
1839
- label: string;
1840
1838
  kind: "agent" | "human";
1839
+ label: string;
1840
+ id: string;
1841
1841
  };
1842
1842
  note?: string | undefined;
1843
1843
  evidence?: {
1844
- id: string;
1844
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1845
1845
  label: string;
1846
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1846
+ id: string;
1847
1847
  capture: "at_action" | "historical_lookup" | "fixture";
1848
1848
  locator?: string | undefined;
1849
1849
  }[] | undefined;
@@ -1853,9 +1853,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1853
1853
  correctionId: string;
1854
1854
  replacementDecisionId: string;
1855
1855
  evidence?: {
1856
- id: string;
1856
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1857
1857
  label: string;
1858
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1858
+ id: string;
1859
1859
  capture: "at_action" | "historical_lookup" | "fixture";
1860
1860
  locator?: string | undefined;
1861
1861
  }[] | undefined;
@@ -1868,9 +1868,9 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1868
1868
  recallReceiptId: string;
1869
1869
  capturedAtAction: boolean;
1870
1870
  evidence?: {
1871
- id: string;
1871
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1872
1872
  label: string;
1873
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1873
+ id: string;
1874
1874
  capture: "at_action" | "historical_lookup" | "fixture";
1875
1875
  locator?: string | undefined;
1876
1876
  }[] | undefined;
@@ -1883,20 +1883,20 @@ declare const RelayMissionPayloadSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"k
1883
1883
  recallReceiptId: string;
1884
1884
  staleDecisionAbsent: boolean;
1885
1885
  evidence?: {
1886
- id: string;
1886
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1887
1887
  label: string;
1888
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1888
+ id: string;
1889
1889
  capture: "at_action" | "historical_lookup" | "fixture";
1890
1890
  locator?: string | undefined;
1891
1891
  }[] | undefined;
1892
1892
  } | {
1893
- summary: string;
1894
1893
  kind: "mission_completed";
1894
+ summary: string;
1895
1895
  outcome: "failed" | "recovered" | "inconclusive";
1896
1896
  evidence?: {
1897
- id: string;
1897
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1898
1898
  label: string;
1899
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1899
+ id: string;
1900
1900
  capture: "at_action" | "historical_lookup" | "fixture";
1901
1901
  locator?: string | undefined;
1902
1902
  }[] | undefined;
@@ -1917,15 +1917,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1917
1917
  locator: z.ZodOptional<z.ZodString>;
1918
1918
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1919
1919
  }, "strict", z.ZodTypeAny, {
1920
- id: string;
1920
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1921
1921
  label: string;
1922
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1922
+ id: string;
1923
1923
  capture: "at_action" | "historical_lookup" | "fixture";
1924
1924
  locator?: string | undefined;
1925
1925
  }, {
1926
- id: string;
1926
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1927
1927
  label: string;
1928
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1928
+ id: string;
1929
1929
  capture: "at_action" | "historical_lookup" | "fixture";
1930
1930
  locator?: string | undefined;
1931
1931
  }>, "many">>;
@@ -1933,9 +1933,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1933
1933
  kind: "mission_started";
1934
1934
  title: string;
1935
1935
  evidence: {
1936
- id: string;
1936
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1937
1937
  label: string;
1938
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1938
+ id: string;
1939
1939
  capture: "at_action" | "historical_lookup" | "fixture";
1940
1940
  locator?: string | undefined;
1941
1941
  }[];
@@ -1947,9 +1947,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1947
1947
  objective: string;
1948
1948
  runMode: "replay" | "fixture" | "live";
1949
1949
  evidence?: {
1950
- id: string;
1950
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1951
1951
  label: string;
1952
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1952
+ id: string;
1953
1953
  capture: "at_action" | "historical_lookup" | "fixture";
1954
1954
  locator?: string | undefined;
1955
1955
  }[] | undefined;
@@ -1965,15 +1965,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1965
1965
  locator: z.ZodOptional<z.ZodString>;
1966
1966
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
1967
1967
  }, "strict", z.ZodTypeAny, {
1968
- id: string;
1968
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1969
1969
  label: string;
1970
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1970
+ id: string;
1971
1971
  capture: "at_action" | "historical_lookup" | "fixture";
1972
1972
  locator?: string | undefined;
1973
1973
  }, {
1974
- id: string;
1974
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1975
1975
  label: string;
1976
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1976
+ id: string;
1977
1977
  capture: "at_action" | "historical_lookup" | "fixture";
1978
1978
  locator?: string | undefined;
1979
1979
  }>, "many">>;
@@ -1981,32 +1981,32 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
1981
1981
  sessionId: z.ZodString;
1982
1982
  kind: z.ZodLiteral<"agent_status">;
1983
1983
  }, "strict", z.ZodTypeAny, {
1984
- label: string;
1985
- status: "failed" | "blocked" | "working" | "complete" | "idle";
1986
1984
  kind: "agent_status";
1985
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
1986
+ label: string;
1987
1987
  role: string;
1988
1988
  agentId: string;
1989
1989
  sessionId: string;
1990
1990
  evidence: {
1991
- id: string;
1991
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1992
1992
  label: string;
1993
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
1993
+ id: string;
1994
1994
  capture: "at_action" | "historical_lookup" | "fixture";
1995
1995
  locator?: string | undefined;
1996
1996
  }[];
1997
1997
  detail?: string | undefined;
1998
1998
  }, {
1999
- label: string;
2000
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2001
1999
  kind: "agent_status";
2000
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2001
+ label: string;
2002
2002
  role: string;
2003
2003
  agentId: string;
2004
2004
  sessionId: string;
2005
2005
  detail?: string | undefined;
2006
2006
  evidence?: {
2007
- id: string;
2007
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2008
2008
  label: string;
2009
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2009
+ id: string;
2010
2010
  capture: "at_action" | "historical_lookup" | "fixture";
2011
2011
  locator?: string | undefined;
2012
2012
  }[] | undefined;
@@ -2020,15 +2020,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2020
2020
  locator: z.ZodOptional<z.ZodString>;
2021
2021
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2022
2022
  }, "strict", z.ZodTypeAny, {
2023
- id: string;
2023
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2024
2024
  label: string;
2025
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2025
+ id: string;
2026
2026
  capture: "at_action" | "historical_lookup" | "fixture";
2027
2027
  locator?: string | undefined;
2028
2028
  }, {
2029
- id: string;
2029
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2030
2030
  label: string;
2031
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2031
+ id: string;
2032
2032
  capture: "at_action" | "historical_lookup" | "fixture";
2033
2033
  locator?: string | undefined;
2034
2034
  }>, "many">>;
@@ -2036,28 +2036,28 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2036
2036
  sessionId: z.ZodString;
2037
2037
  kind: z.ZodLiteral<"agent_output">;
2038
2038
  }, "strict", z.ZodTypeAny, {
2039
- summary: string;
2040
2039
  kind: "agent_output";
2040
+ summary: string;
2041
2041
  agentId: string;
2042
2042
  sessionId: string;
2043
2043
  evidence: {
2044
- id: string;
2044
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2045
2045
  label: string;
2046
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2046
+ id: string;
2047
2047
  capture: "at_action" | "historical_lookup" | "fixture";
2048
2048
  locator?: string | undefined;
2049
2049
  }[];
2050
2050
  outputId: string;
2051
2051
  }, {
2052
- summary: string;
2053
2052
  kind: "agent_output";
2053
+ summary: string;
2054
2054
  agentId: string;
2055
2055
  sessionId: string;
2056
2056
  outputId: string;
2057
2057
  evidence?: {
2058
- id: string;
2058
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2059
2059
  label: string;
2060
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2060
+ id: string;
2061
2061
  capture: "at_action" | "historical_lookup" | "fixture";
2062
2062
  locator?: string | undefined;
2063
2063
  }[] | undefined;
@@ -2073,15 +2073,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2073
2073
  locator: z.ZodOptional<z.ZodString>;
2074
2074
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2075
2075
  }, "strict", z.ZodTypeAny, {
2076
- id: string;
2076
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2077
2077
  label: string;
2078
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2078
+ id: string;
2079
2079
  capture: "at_action" | "historical_lookup" | "fixture";
2080
2080
  locator?: string | undefined;
2081
2081
  }, {
2082
- id: string;
2082
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2083
2083
  label: string;
2084
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2084
+ id: string;
2085
2085
  capture: "at_action" | "historical_lookup" | "fixture";
2086
2086
  locator?: string | undefined;
2087
2087
  }>, "many">>;
@@ -2094,9 +2094,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2094
2094
  statement: string;
2095
2095
  sessionId: string;
2096
2096
  evidence: {
2097
- id: string;
2097
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2098
2098
  label: string;
2099
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2099
+ id: string;
2100
2100
  capture: "at_action" | "historical_lookup" | "fixture";
2101
2101
  locator?: string | undefined;
2102
2102
  }[];
@@ -2112,9 +2112,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2112
2112
  decisionId: string;
2113
2113
  confidence?: number | undefined;
2114
2114
  evidence?: {
2115
- id: string;
2115
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2116
2116
  label: string;
2117
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2117
+ id: string;
2118
2118
  capture: "at_action" | "historical_lookup" | "fixture";
2119
2119
  locator?: string | undefined;
2120
2120
  }[] | undefined;
@@ -2131,25 +2131,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2131
2131
  locator: z.ZodOptional<z.ZodString>;
2132
2132
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2133
2133
  }, "strict", z.ZodTypeAny, {
2134
- id: string;
2134
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2135
2135
  label: string;
2136
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2136
+ id: string;
2137
2137
  capture: "at_action" | "historical_lookup" | "fixture";
2138
2138
  locator?: string | undefined;
2139
2139
  }, {
2140
- id: string;
2140
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2141
2141
  label: string;
2142
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2142
+ id: string;
2143
2143
  capture: "at_action" | "historical_lookup" | "fixture";
2144
2144
  locator?: string | undefined;
2145
2145
  }>, "many">>;
2146
2146
  }, "strict", z.ZodTypeAny, {
2147
- summary: string;
2148
2147
  kind: "conflict_detected";
2148
+ summary: string;
2149
2149
  evidence: {
2150
- id: string;
2150
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2151
2151
  label: string;
2152
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2152
+ id: string;
2153
2153
  capture: "at_action" | "historical_lookup" | "fixture";
2154
2154
  locator?: string | undefined;
2155
2155
  }[];
@@ -2157,15 +2157,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2157
2157
  decisionIds: string[];
2158
2158
  agentIds: string[];
2159
2159
  }, {
2160
- summary: string;
2161
2160
  kind: "conflict_detected";
2161
+ summary: string;
2162
2162
  conflictId: string;
2163
2163
  decisionIds: string[];
2164
2164
  agentIds: string[];
2165
2165
  evidence?: {
2166
- id: string;
2166
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2167
2167
  label: string;
2168
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2168
+ id: string;
2169
2169
  capture: "at_action" | "historical_lookup" | "fixture";
2170
2170
  locator?: string | undefined;
2171
2171
  }[] | undefined;
@@ -2185,27 +2185,27 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2185
2185
  locator: z.ZodOptional<z.ZodString>;
2186
2186
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2187
2187
  }, "strict", z.ZodTypeAny, {
2188
- id: string;
2188
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2189
2189
  label: string;
2190
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2190
+ id: string;
2191
2191
  capture: "at_action" | "historical_lookup" | "fixture";
2192
2192
  locator?: string | undefined;
2193
2193
  }, {
2194
- id: string;
2194
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2195
2195
  label: string;
2196
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2196
+ id: string;
2197
2197
  capture: "at_action" | "historical_lookup" | "fixture";
2198
2198
  locator?: string | undefined;
2199
2199
  }>, "many">>;
2200
2200
  }, "strict", z.ZodTypeAny, {
2201
+ kind: "test_result";
2201
2202
  summary: string;
2202
2203
  status: "error" | "failed" | "passed";
2203
- kind: "test_result";
2204
2204
  command: string;
2205
2205
  evidence: {
2206
- id: string;
2206
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2207
2207
  label: string;
2208
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2208
+ id: string;
2209
2209
  capture: "at_action" | "historical_lookup" | "fixture";
2210
2210
  locator?: string | undefined;
2211
2211
  }[];
@@ -2214,17 +2214,17 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2214
2214
  durationMs?: number | undefined;
2215
2215
  correctionId?: string | undefined;
2216
2216
  }, {
2217
+ kind: "test_result";
2217
2218
  summary: string;
2218
2219
  status: "error" | "failed" | "passed";
2219
- kind: "test_result";
2220
2220
  command: string;
2221
2221
  decisionId: string;
2222
2222
  testId: string;
2223
2223
  durationMs?: number | undefined;
2224
2224
  evidence?: {
2225
- id: string;
2225
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2226
2226
  label: string;
2227
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2227
+ id: string;
2228
2228
  capture: "at_action" | "historical_lookup" | "fixture";
2229
2229
  locator?: string | undefined;
2230
2230
  }[] | undefined;
@@ -2245,15 +2245,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2245
2245
  locator: z.ZodOptional<z.ZodString>;
2246
2246
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2247
2247
  }, "strict", z.ZodTypeAny, {
2248
- id: string;
2248
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2249
2249
  label: string;
2250
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2250
+ id: string;
2251
2251
  capture: "at_action" | "historical_lookup" | "fixture";
2252
2252
  locator?: string | undefined;
2253
2253
  }, {
2254
- id: string;
2254
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2255
2255
  label: string;
2256
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2256
+ id: string;
2257
2257
  capture: "at_action" | "historical_lookup" | "fixture";
2258
2258
  locator?: string | undefined;
2259
2259
  }>, "many">>;
@@ -2262,9 +2262,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2262
2262
  rationale: string;
2263
2263
  statement: string;
2264
2264
  evidence: {
2265
- id: string;
2265
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2266
2266
  label: string;
2267
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2267
+ id: string;
2268
2268
  capture: "at_action" | "historical_lookup" | "fixture";
2269
2269
  locator?: string | undefined;
2270
2270
  }[];
@@ -2283,9 +2283,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2283
2283
  supersedesDecisionIds: string[];
2284
2284
  proposedBy: string;
2285
2285
  evidence?: {
2286
- id: string;
2286
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2287
2287
  label: string;
2288
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2288
+ id: string;
2289
2289
  capture: "at_action" | "historical_lookup" | "fixture";
2290
2290
  locator?: string | undefined;
2291
2291
  }[] | undefined;
@@ -2297,13 +2297,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2297
2297
  id: z.ZodString;
2298
2298
  label: z.ZodString;
2299
2299
  }, "strict", z.ZodTypeAny, {
2300
- id: string;
2301
- label: string;
2302
2300
  kind: "agent" | "human";
2303
- }, {
2304
- id: string;
2305
2301
  label: string;
2302
+ id: string;
2303
+ }, {
2306
2304
  kind: "agent" | "human";
2305
+ label: string;
2306
+ id: string;
2307
2307
  }>;
2308
2308
  note: z.ZodOptional<z.ZodString>;
2309
2309
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -2313,47 +2313,47 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2313
2313
  locator: z.ZodOptional<z.ZodString>;
2314
2314
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2315
2315
  }, "strict", z.ZodTypeAny, {
2316
- id: string;
2316
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2317
2317
  label: string;
2318
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2318
+ id: string;
2319
2319
  capture: "at_action" | "historical_lookup" | "fixture";
2320
2320
  locator?: string | undefined;
2321
2321
  }, {
2322
- id: string;
2322
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2323
2323
  label: string;
2324
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2324
+ id: string;
2325
2325
  capture: "at_action" | "historical_lookup" | "fixture";
2326
2326
  locator?: string | undefined;
2327
2327
  }>, "many">>;
2328
2328
  }, "strict", z.ZodTypeAny, {
2329
2329
  kind: "correction_approved";
2330
2330
  evidence: {
2331
- id: string;
2331
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2332
2332
  label: string;
2333
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2333
+ id: string;
2334
2334
  capture: "at_action" | "historical_lookup" | "fixture";
2335
2335
  locator?: string | undefined;
2336
2336
  }[];
2337
2337
  correctionId: string;
2338
2338
  approvedBy: {
2339
- id: string;
2340
- label: string;
2341
2339
  kind: "agent" | "human";
2340
+ label: string;
2341
+ id: string;
2342
2342
  };
2343
2343
  note?: string | undefined;
2344
2344
  }, {
2345
2345
  kind: "correction_approved";
2346
2346
  correctionId: string;
2347
2347
  approvedBy: {
2348
- id: string;
2349
- label: string;
2350
2348
  kind: "agent" | "human";
2349
+ label: string;
2350
+ id: string;
2351
2351
  };
2352
2352
  note?: string | undefined;
2353
2353
  evidence?: {
2354
- id: string;
2354
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2355
2355
  label: string;
2356
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2356
+ id: string;
2357
2357
  capture: "at_action" | "historical_lookup" | "fixture";
2358
2358
  locator?: string | undefined;
2359
2359
  }[] | undefined;
@@ -2369,24 +2369,24 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2369
2369
  locator: z.ZodOptional<z.ZodString>;
2370
2370
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2371
2371
  }, "strict", z.ZodTypeAny, {
2372
- id: string;
2372
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2373
2373
  label: string;
2374
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2374
+ id: string;
2375
2375
  capture: "at_action" | "historical_lookup" | "fixture";
2376
2376
  locator?: string | undefined;
2377
2377
  }, {
2378
- id: string;
2378
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2379
2379
  label: string;
2380
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2380
+ id: string;
2381
2381
  capture: "at_action" | "historical_lookup" | "fixture";
2382
2382
  locator?: string | undefined;
2383
2383
  }>, "many">>;
2384
2384
  }, "strict", z.ZodTypeAny, {
2385
2385
  kind: "decision_superseded";
2386
2386
  evidence: {
2387
- id: string;
2387
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2388
2388
  label: string;
2389
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2389
+ id: string;
2390
2390
  capture: "at_action" | "historical_lookup" | "fixture";
2391
2391
  locator?: string | undefined;
2392
2392
  }[];
@@ -2399,9 +2399,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2399
2399
  correctionId: string;
2400
2400
  replacementDecisionId: string;
2401
2401
  evidence?: {
2402
- id: string;
2402
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2403
2403
  label: string;
2404
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2404
+ id: string;
2405
2405
  capture: "at_action" | "historical_lookup" | "fixture";
2406
2406
  locator?: string | undefined;
2407
2407
  }[] | undefined;
@@ -2417,15 +2417,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2417
2417
  locator: z.ZodOptional<z.ZodString>;
2418
2418
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2419
2419
  }, "strict", z.ZodTypeAny, {
2420
- id: string;
2420
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2421
2421
  label: string;
2422
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2422
+ id: string;
2423
2423
  capture: "at_action" | "historical_lookup" | "fixture";
2424
2424
  locator?: string | undefined;
2425
2425
  }, {
2426
- id: string;
2426
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2427
2427
  label: string;
2428
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2428
+ id: string;
2429
2429
  capture: "at_action" | "historical_lookup" | "fixture";
2430
2430
  locator?: string | undefined;
2431
2431
  }>, "many">>;
@@ -2438,9 +2438,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2438
2438
  agentId: string;
2439
2439
  sessionId: string;
2440
2440
  evidence: {
2441
- id: string;
2441
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2442
2442
  label: string;
2443
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2443
+ id: string;
2444
2444
  capture: "at_action" | "historical_lookup" | "fixture";
2445
2445
  locator?: string | undefined;
2446
2446
  }[];
@@ -2456,9 +2456,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2456
2456
  recallReceiptId: string;
2457
2457
  capturedAtAction: boolean;
2458
2458
  evidence?: {
2459
- id: string;
2459
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2460
2460
  label: string;
2461
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2461
+ id: string;
2462
2462
  capture: "at_action" | "historical_lookup" | "fixture";
2463
2463
  locator?: string | undefined;
2464
2464
  }[] | undefined;
@@ -2474,15 +2474,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2474
2474
  locator: z.ZodOptional<z.ZodString>;
2475
2475
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2476
2476
  }, "strict", z.ZodTypeAny, {
2477
- id: string;
2477
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2478
2478
  label: string;
2479
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2479
+ id: string;
2480
2480
  capture: "at_action" | "historical_lookup" | "fixture";
2481
2481
  locator?: string | undefined;
2482
2482
  }, {
2483
- id: string;
2483
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2484
2484
  label: string;
2485
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2485
+ id: string;
2486
2486
  capture: "at_action" | "historical_lookup" | "fixture";
2487
2487
  locator?: string | undefined;
2488
2488
  }>, "many">>;
@@ -2494,9 +2494,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2494
2494
  agentId: string;
2495
2495
  sessionId: string;
2496
2496
  evidence: {
2497
- id: string;
2497
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2498
2498
  label: string;
2499
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2499
+ id: string;
2500
2500
  capture: "at_action" | "historical_lookup" | "fixture";
2501
2501
  locator?: string | undefined;
2502
2502
  }[];
@@ -2513,9 +2513,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2513
2513
  recallReceiptId: string;
2514
2514
  staleDecisionAbsent: boolean;
2515
2515
  evidence?: {
2516
- id: string;
2516
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2517
2517
  label: string;
2518
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2518
+ id: string;
2519
2519
  capture: "at_action" | "historical_lookup" | "fixture";
2520
2520
  locator?: string | undefined;
2521
2521
  }[] | undefined;
@@ -2530,37 +2530,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2530
2530
  locator: z.ZodOptional<z.ZodString>;
2531
2531
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
2532
2532
  }, "strict", z.ZodTypeAny, {
2533
- id: string;
2533
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2534
2534
  label: string;
2535
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2535
+ id: string;
2536
2536
  capture: "at_action" | "historical_lookup" | "fixture";
2537
2537
  locator?: string | undefined;
2538
2538
  }, {
2539
- id: string;
2539
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2540
2540
  label: string;
2541
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2541
+ id: string;
2542
2542
  capture: "at_action" | "historical_lookup" | "fixture";
2543
2543
  locator?: string | undefined;
2544
2544
  }>, "many">>;
2545
2545
  }, "strict", z.ZodTypeAny, {
2546
- summary: string;
2547
2546
  kind: "mission_completed";
2547
+ summary: string;
2548
2548
  outcome: "failed" | "recovered" | "inconclusive";
2549
2549
  evidence: {
2550
- id: string;
2550
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2551
2551
  label: string;
2552
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2552
+ id: string;
2553
2553
  capture: "at_action" | "historical_lookup" | "fixture";
2554
2554
  locator?: string | undefined;
2555
2555
  }[];
2556
2556
  }, {
2557
- summary: string;
2558
2557
  kind: "mission_completed";
2558
+ summary: string;
2559
2559
  outcome: "failed" | "recovered" | "inconclusive";
2560
2560
  evidence?: {
2561
- id: string;
2561
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2562
2562
  label: string;
2563
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2563
+ id: string;
2564
2564
  capture: "at_action" | "historical_lookup" | "fixture";
2565
2565
  locator?: string | undefined;
2566
2566
  }[] | undefined;
@@ -2568,38 +2568,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2568
2568
  kind: "mission_started";
2569
2569
  title: string;
2570
2570
  evidence: {
2571
- id: string;
2571
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2572
2572
  label: string;
2573
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2573
+ id: string;
2574
2574
  capture: "at_action" | "historical_lookup" | "fixture";
2575
2575
  locator?: string | undefined;
2576
2576
  }[];
2577
2577
  objective: string;
2578
2578
  runMode: "replay" | "fixture" | "live";
2579
2579
  } | {
2580
- label: string;
2581
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2582
2580
  kind: "agent_status";
2581
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2582
+ label: string;
2583
2583
  role: string;
2584
2584
  agentId: string;
2585
2585
  sessionId: string;
2586
2586
  evidence: {
2587
- id: string;
2587
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2588
2588
  label: string;
2589
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2589
+ id: string;
2590
2590
  capture: "at_action" | "historical_lookup" | "fixture";
2591
2591
  locator?: string | undefined;
2592
2592
  }[];
2593
2593
  detail?: string | undefined;
2594
2594
  } | {
2595
- summary: string;
2596
2595
  kind: "agent_output";
2596
+ summary: string;
2597
2597
  agentId: string;
2598
2598
  sessionId: string;
2599
2599
  evidence: {
2600
- id: string;
2600
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2601
2601
  label: string;
2602
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2602
+ id: string;
2603
2603
  capture: "at_action" | "historical_lookup" | "fixture";
2604
2604
  locator?: string | undefined;
2605
2605
  }[];
@@ -2610,9 +2610,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2610
2610
  statement: string;
2611
2611
  sessionId: string;
2612
2612
  evidence: {
2613
- id: string;
2613
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2614
2614
  label: string;
2615
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2615
+ id: string;
2616
2616
  capture: "at_action" | "historical_lookup" | "fixture";
2617
2617
  locator?: string | undefined;
2618
2618
  }[];
@@ -2620,12 +2620,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2620
2620
  decisionId: string;
2621
2621
  confidence?: number | undefined;
2622
2622
  } | {
2623
- summary: string;
2624
2623
  kind: "conflict_detected";
2624
+ summary: string;
2625
2625
  evidence: {
2626
- id: string;
2626
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2627
2627
  label: string;
2628
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2628
+ id: string;
2629
2629
  capture: "at_action" | "historical_lookup" | "fixture";
2630
2630
  locator?: string | undefined;
2631
2631
  }[];
@@ -2633,14 +2633,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2633
2633
  decisionIds: string[];
2634
2634
  agentIds: string[];
2635
2635
  } | {
2636
+ kind: "test_result";
2636
2637
  summary: string;
2637
2638
  status: "error" | "failed" | "passed";
2638
- kind: "test_result";
2639
2639
  command: string;
2640
2640
  evidence: {
2641
- id: string;
2641
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2642
2642
  label: string;
2643
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2643
+ id: string;
2644
2644
  capture: "at_action" | "historical_lookup" | "fixture";
2645
2645
  locator?: string | undefined;
2646
2646
  }[];
@@ -2653,9 +2653,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2653
2653
  rationale: string;
2654
2654
  statement: string;
2655
2655
  evidence: {
2656
- id: string;
2656
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2657
2657
  label: string;
2658
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2658
+ id: string;
2659
2659
  capture: "at_action" | "historical_lookup" | "fixture";
2660
2660
  locator?: string | undefined;
2661
2661
  }[];
@@ -2667,25 +2667,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2667
2667
  } | {
2668
2668
  kind: "correction_approved";
2669
2669
  evidence: {
2670
- id: string;
2670
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2671
2671
  label: string;
2672
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2672
+ id: string;
2673
2673
  capture: "at_action" | "historical_lookup" | "fixture";
2674
2674
  locator?: string | undefined;
2675
2675
  }[];
2676
2676
  correctionId: string;
2677
2677
  approvedBy: {
2678
- id: string;
2679
- label: string;
2680
2678
  kind: "agent" | "human";
2679
+ label: string;
2680
+ id: string;
2681
2681
  };
2682
2682
  note?: string | undefined;
2683
2683
  } | {
2684
2684
  kind: "decision_superseded";
2685
2685
  evidence: {
2686
- id: string;
2686
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2687
2687
  label: string;
2688
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2688
+ id: string;
2689
2689
  capture: "at_action" | "historical_lookup" | "fixture";
2690
2690
  locator?: string | undefined;
2691
2691
  }[];
@@ -2698,9 +2698,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2698
2698
  agentId: string;
2699
2699
  sessionId: string;
2700
2700
  evidence: {
2701
- id: string;
2701
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2702
2702
  label: string;
2703
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2703
+ id: string;
2704
2704
  capture: "at_action" | "historical_lookup" | "fixture";
2705
2705
  locator?: string | undefined;
2706
2706
  }[];
@@ -2712,9 +2712,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2712
2712
  agentId: string;
2713
2713
  sessionId: string;
2714
2714
  evidence: {
2715
- id: string;
2715
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2716
2716
  label: string;
2717
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2717
+ id: string;
2718
2718
  capture: "at_action" | "historical_lookup" | "fixture";
2719
2719
  locator?: string | undefined;
2720
2720
  }[];
@@ -2723,13 +2723,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2723
2723
  recallReceiptId: string;
2724
2724
  staleDecisionAbsent: boolean;
2725
2725
  } | {
2726
- summary: string;
2727
2726
  kind: "mission_completed";
2727
+ summary: string;
2728
2728
  outcome: "failed" | "recovered" | "inconclusive";
2729
2729
  evidence: {
2730
- id: string;
2730
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2731
2731
  label: string;
2732
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2732
+ id: string;
2733
2733
  capture: "at_action" | "historical_lookup" | "fixture";
2734
2734
  locator?: string | undefined;
2735
2735
  }[];
@@ -2739,37 +2739,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2739
2739
  objective: string;
2740
2740
  runMode: "replay" | "fixture" | "live";
2741
2741
  evidence?: {
2742
- id: string;
2742
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2743
2743
  label: string;
2744
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2744
+ id: string;
2745
2745
  capture: "at_action" | "historical_lookup" | "fixture";
2746
2746
  locator?: string | undefined;
2747
2747
  }[] | undefined;
2748
2748
  } | {
2749
- label: string;
2750
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2751
2749
  kind: "agent_status";
2750
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2751
+ label: string;
2752
2752
  role: string;
2753
2753
  agentId: string;
2754
2754
  sessionId: string;
2755
2755
  detail?: string | undefined;
2756
2756
  evidence?: {
2757
- id: string;
2757
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2758
2758
  label: string;
2759
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2759
+ id: string;
2760
2760
  capture: "at_action" | "historical_lookup" | "fixture";
2761
2761
  locator?: string | undefined;
2762
2762
  }[] | undefined;
2763
2763
  } | {
2764
- summary: string;
2765
2764
  kind: "agent_output";
2765
+ summary: string;
2766
2766
  agentId: string;
2767
2767
  sessionId: string;
2768
2768
  outputId: string;
2769
2769
  evidence?: {
2770
- id: string;
2770
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2771
2771
  label: string;
2772
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2772
+ id: string;
2773
2773
  capture: "at_action" | "historical_lookup" | "fixture";
2774
2774
  locator?: string | undefined;
2775
2775
  }[] | undefined;
@@ -2782,37 +2782,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2782
2782
  decisionId: string;
2783
2783
  confidence?: number | undefined;
2784
2784
  evidence?: {
2785
- id: string;
2785
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2786
2786
  label: string;
2787
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2787
+ id: string;
2788
2788
  capture: "at_action" | "historical_lookup" | "fixture";
2789
2789
  locator?: string | undefined;
2790
2790
  }[] | undefined;
2791
2791
  } | {
2792
- summary: string;
2793
2792
  kind: "conflict_detected";
2793
+ summary: string;
2794
2794
  conflictId: string;
2795
2795
  decisionIds: string[];
2796
2796
  agentIds: string[];
2797
2797
  evidence?: {
2798
- id: string;
2798
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2799
2799
  label: string;
2800
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2800
+ id: string;
2801
2801
  capture: "at_action" | "historical_lookup" | "fixture";
2802
2802
  locator?: string | undefined;
2803
2803
  }[] | undefined;
2804
2804
  } | {
2805
+ kind: "test_result";
2805
2806
  summary: string;
2806
2807
  status: "error" | "failed" | "passed";
2807
- kind: "test_result";
2808
2808
  command: string;
2809
2809
  decisionId: string;
2810
2810
  testId: string;
2811
2811
  durationMs?: number | undefined;
2812
2812
  evidence?: {
2813
- id: string;
2813
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2814
2814
  label: string;
2815
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2815
+ id: string;
2816
2816
  capture: "at_action" | "historical_lookup" | "fixture";
2817
2817
  locator?: string | undefined;
2818
2818
  }[] | undefined;
@@ -2827,9 +2827,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2827
2827
  supersedesDecisionIds: string[];
2828
2828
  proposedBy: string;
2829
2829
  evidence?: {
2830
- id: string;
2830
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2831
2831
  label: string;
2832
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2832
+ id: string;
2833
2833
  capture: "at_action" | "historical_lookup" | "fixture";
2834
2834
  locator?: string | undefined;
2835
2835
  }[] | undefined;
@@ -2837,15 +2837,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2837
2837
  kind: "correction_approved";
2838
2838
  correctionId: string;
2839
2839
  approvedBy: {
2840
- id: string;
2841
- label: string;
2842
2840
  kind: "agent" | "human";
2841
+ label: string;
2842
+ id: string;
2843
2843
  };
2844
2844
  note?: string | undefined;
2845
2845
  evidence?: {
2846
- id: string;
2846
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2847
2847
  label: string;
2848
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2848
+ id: string;
2849
2849
  capture: "at_action" | "historical_lookup" | "fixture";
2850
2850
  locator?: string | undefined;
2851
2851
  }[] | undefined;
@@ -2855,9 +2855,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2855
2855
  correctionId: string;
2856
2856
  replacementDecisionId: string;
2857
2857
  evidence?: {
2858
- id: string;
2858
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2859
2859
  label: string;
2860
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2860
+ id: string;
2861
2861
  capture: "at_action" | "historical_lookup" | "fixture";
2862
2862
  locator?: string | undefined;
2863
2863
  }[] | undefined;
@@ -2870,9 +2870,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2870
2870
  recallReceiptId: string;
2871
2871
  capturedAtAction: boolean;
2872
2872
  evidence?: {
2873
- id: string;
2873
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2874
2874
  label: string;
2875
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2875
+ id: string;
2876
2876
  capture: "at_action" | "historical_lookup" | "fixture";
2877
2877
  locator?: string | undefined;
2878
2878
  }[] | undefined;
@@ -2885,20 +2885,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2885
2885
  recallReceiptId: string;
2886
2886
  staleDecisionAbsent: boolean;
2887
2887
  evidence?: {
2888
- id: string;
2888
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2889
2889
  label: string;
2890
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2890
+ id: string;
2891
2891
  capture: "at_action" | "historical_lookup" | "fixture";
2892
2892
  locator?: string | undefined;
2893
2893
  }[] | undefined;
2894
2894
  } | {
2895
- summary: string;
2896
2895
  kind: "mission_completed";
2896
+ summary: string;
2897
2897
  outcome: "failed" | "recovered" | "inconclusive";
2898
2898
  evidence?: {
2899
- id: string;
2899
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2900
2900
  label: string;
2901
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2901
+ id: string;
2902
2902
  capture: "at_action" | "historical_lookup" | "fixture";
2903
2903
  locator?: string | undefined;
2904
2904
  }[] | undefined;
@@ -2908,38 +2908,38 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2908
2908
  kind: "mission_started";
2909
2909
  title: string;
2910
2910
  evidence: {
2911
- id: string;
2911
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2912
2912
  label: string;
2913
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2913
+ id: string;
2914
2914
  capture: "at_action" | "historical_lookup" | "fixture";
2915
2915
  locator?: string | undefined;
2916
2916
  }[];
2917
2917
  objective: string;
2918
2918
  runMode: "replay" | "fixture" | "live";
2919
2919
  } | {
2920
- label: string;
2921
- status: "failed" | "blocked" | "working" | "complete" | "idle";
2922
2920
  kind: "agent_status";
2921
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
2922
+ label: string;
2923
2923
  role: string;
2924
2924
  agentId: string;
2925
2925
  sessionId: string;
2926
2926
  evidence: {
2927
- id: string;
2927
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2928
2928
  label: string;
2929
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2929
+ id: string;
2930
2930
  capture: "at_action" | "historical_lookup" | "fixture";
2931
2931
  locator?: string | undefined;
2932
2932
  }[];
2933
2933
  detail?: string | undefined;
2934
2934
  } | {
2935
- summary: string;
2936
2935
  kind: "agent_output";
2936
+ summary: string;
2937
2937
  agentId: string;
2938
2938
  sessionId: string;
2939
2939
  evidence: {
2940
- id: string;
2940
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2941
2941
  label: string;
2942
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2942
+ id: string;
2943
2943
  capture: "at_action" | "historical_lookup" | "fixture";
2944
2944
  locator?: string | undefined;
2945
2945
  }[];
@@ -2950,9 +2950,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2950
2950
  statement: string;
2951
2951
  sessionId: string;
2952
2952
  evidence: {
2953
- id: string;
2953
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2954
2954
  label: string;
2955
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2955
+ id: string;
2956
2956
  capture: "at_action" | "historical_lookup" | "fixture";
2957
2957
  locator?: string | undefined;
2958
2958
  }[];
@@ -2960,12 +2960,12 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2960
2960
  decisionId: string;
2961
2961
  confidence?: number | undefined;
2962
2962
  } | {
2963
- summary: string;
2964
2963
  kind: "conflict_detected";
2964
+ summary: string;
2965
2965
  evidence: {
2966
- id: string;
2966
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2967
2967
  label: string;
2968
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2968
+ id: string;
2969
2969
  capture: "at_action" | "historical_lookup" | "fixture";
2970
2970
  locator?: string | undefined;
2971
2971
  }[];
@@ -2973,14 +2973,14 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2973
2973
  decisionIds: string[];
2974
2974
  agentIds: string[];
2975
2975
  } | {
2976
+ kind: "test_result";
2976
2977
  summary: string;
2977
2978
  status: "error" | "failed" | "passed";
2978
- kind: "test_result";
2979
2979
  command: string;
2980
2980
  evidence: {
2981
- id: string;
2981
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2982
2982
  label: string;
2983
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2983
+ id: string;
2984
2984
  capture: "at_action" | "historical_lookup" | "fixture";
2985
2985
  locator?: string | undefined;
2986
2986
  }[];
@@ -2993,9 +2993,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
2993
2993
  rationale: string;
2994
2994
  statement: string;
2995
2995
  evidence: {
2996
- id: string;
2996
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2997
2997
  label: string;
2998
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
2998
+ id: string;
2999
2999
  capture: "at_action" | "historical_lookup" | "fixture";
3000
3000
  locator?: string | undefined;
3001
3001
  }[];
@@ -3007,25 +3007,25 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3007
3007
  } | {
3008
3008
  kind: "correction_approved";
3009
3009
  evidence: {
3010
- id: string;
3010
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3011
3011
  label: string;
3012
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3012
+ id: string;
3013
3013
  capture: "at_action" | "historical_lookup" | "fixture";
3014
3014
  locator?: string | undefined;
3015
3015
  }[];
3016
3016
  correctionId: string;
3017
3017
  approvedBy: {
3018
- id: string;
3019
- label: string;
3020
3018
  kind: "agent" | "human";
3019
+ label: string;
3020
+ id: string;
3021
3021
  };
3022
3022
  note?: string | undefined;
3023
3023
  } | {
3024
3024
  kind: "decision_superseded";
3025
3025
  evidence: {
3026
- id: string;
3026
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3027
3027
  label: string;
3028
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3028
+ id: string;
3029
3029
  capture: "at_action" | "historical_lookup" | "fixture";
3030
3030
  locator?: string | undefined;
3031
3031
  }[];
@@ -3038,9 +3038,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3038
3038
  agentId: string;
3039
3039
  sessionId: string;
3040
3040
  evidence: {
3041
- id: string;
3041
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3042
3042
  label: string;
3043
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3043
+ id: string;
3044
3044
  capture: "at_action" | "historical_lookup" | "fixture";
3045
3045
  locator?: string | undefined;
3046
3046
  }[];
@@ -3052,9 +3052,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3052
3052
  agentId: string;
3053
3053
  sessionId: string;
3054
3054
  evidence: {
3055
- id: string;
3055
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3056
3056
  label: string;
3057
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3057
+ id: string;
3058
3058
  capture: "at_action" | "historical_lookup" | "fixture";
3059
3059
  locator?: string | undefined;
3060
3060
  }[];
@@ -3063,13 +3063,13 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3063
3063
  recallReceiptId: string;
3064
3064
  staleDecisionAbsent: boolean;
3065
3065
  } | {
3066
- summary: string;
3067
3066
  kind: "mission_completed";
3067
+ summary: string;
3068
3068
  outcome: "failed" | "recovered" | "inconclusive";
3069
3069
  evidence: {
3070
- id: string;
3070
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3071
3071
  label: string;
3072
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3072
+ id: string;
3073
3073
  capture: "at_action" | "historical_lookup" | "fixture";
3074
3074
  locator?: string | undefined;
3075
3075
  }[];
@@ -3083,37 +3083,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3083
3083
  objective: string;
3084
3084
  runMode: "replay" | "fixture" | "live";
3085
3085
  evidence?: {
3086
- id: string;
3086
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3087
3087
  label: string;
3088
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3088
+ id: string;
3089
3089
  capture: "at_action" | "historical_lookup" | "fixture";
3090
3090
  locator?: string | undefined;
3091
3091
  }[] | undefined;
3092
3092
  } | {
3093
- label: string;
3094
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3095
3093
  kind: "agent_status";
3094
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3095
+ label: string;
3096
3096
  role: string;
3097
3097
  agentId: string;
3098
3098
  sessionId: string;
3099
3099
  detail?: string | undefined;
3100
3100
  evidence?: {
3101
- id: string;
3101
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3102
3102
  label: string;
3103
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3103
+ id: string;
3104
3104
  capture: "at_action" | "historical_lookup" | "fixture";
3105
3105
  locator?: string | undefined;
3106
3106
  }[] | undefined;
3107
3107
  } | {
3108
- summary: string;
3109
3108
  kind: "agent_output";
3109
+ summary: string;
3110
3110
  agentId: string;
3111
3111
  sessionId: string;
3112
3112
  outputId: string;
3113
3113
  evidence?: {
3114
- id: string;
3114
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3115
3115
  label: string;
3116
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3116
+ id: string;
3117
3117
  capture: "at_action" | "historical_lookup" | "fixture";
3118
3118
  locator?: string | undefined;
3119
3119
  }[] | undefined;
@@ -3126,37 +3126,37 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3126
3126
  decisionId: string;
3127
3127
  confidence?: number | undefined;
3128
3128
  evidence?: {
3129
- id: string;
3129
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3130
3130
  label: string;
3131
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3131
+ id: string;
3132
3132
  capture: "at_action" | "historical_lookup" | "fixture";
3133
3133
  locator?: string | undefined;
3134
3134
  }[] | undefined;
3135
3135
  } | {
3136
- summary: string;
3137
3136
  kind: "conflict_detected";
3137
+ summary: string;
3138
3138
  conflictId: string;
3139
3139
  decisionIds: string[];
3140
3140
  agentIds: string[];
3141
3141
  evidence?: {
3142
- id: string;
3142
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3143
3143
  label: string;
3144
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3144
+ id: string;
3145
3145
  capture: "at_action" | "historical_lookup" | "fixture";
3146
3146
  locator?: string | undefined;
3147
3147
  }[] | undefined;
3148
3148
  } | {
3149
+ kind: "test_result";
3149
3150
  summary: string;
3150
3151
  status: "error" | "failed" | "passed";
3151
- kind: "test_result";
3152
3152
  command: string;
3153
3153
  decisionId: string;
3154
3154
  testId: string;
3155
3155
  durationMs?: number | undefined;
3156
3156
  evidence?: {
3157
- id: string;
3157
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3158
3158
  label: string;
3159
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3159
+ id: string;
3160
3160
  capture: "at_action" | "historical_lookup" | "fixture";
3161
3161
  locator?: string | undefined;
3162
3162
  }[] | undefined;
@@ -3171,9 +3171,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3171
3171
  supersedesDecisionIds: string[];
3172
3172
  proposedBy: string;
3173
3173
  evidence?: {
3174
- id: string;
3174
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3175
3175
  label: string;
3176
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3176
+ id: string;
3177
3177
  capture: "at_action" | "historical_lookup" | "fixture";
3178
3178
  locator?: string | undefined;
3179
3179
  }[] | undefined;
@@ -3181,15 +3181,15 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3181
3181
  kind: "correction_approved";
3182
3182
  correctionId: string;
3183
3183
  approvedBy: {
3184
- id: string;
3185
- label: string;
3186
3184
  kind: "agent" | "human";
3185
+ label: string;
3186
+ id: string;
3187
3187
  };
3188
3188
  note?: string | undefined;
3189
3189
  evidence?: {
3190
- id: string;
3190
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3191
3191
  label: string;
3192
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3192
+ id: string;
3193
3193
  capture: "at_action" | "historical_lookup" | "fixture";
3194
3194
  locator?: string | undefined;
3195
3195
  }[] | undefined;
@@ -3199,9 +3199,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3199
3199
  correctionId: string;
3200
3200
  replacementDecisionId: string;
3201
3201
  evidence?: {
3202
- id: string;
3202
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3203
3203
  label: string;
3204
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3204
+ id: string;
3205
3205
  capture: "at_action" | "historical_lookup" | "fixture";
3206
3206
  locator?: string | undefined;
3207
3207
  }[] | undefined;
@@ -3214,9 +3214,9 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3214
3214
  recallReceiptId: string;
3215
3215
  capturedAtAction: boolean;
3216
3216
  evidence?: {
3217
- id: string;
3217
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3218
3218
  label: string;
3219
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3219
+ id: string;
3220
3220
  capture: "at_action" | "historical_lookup" | "fixture";
3221
3221
  locator?: string | undefined;
3222
3222
  }[] | undefined;
@@ -3229,20 +3229,20 @@ declare const RelayMissionEventInputSchema: z.ZodObject<{
3229
3229
  recallReceiptId: string;
3230
3230
  staleDecisionAbsent: boolean;
3231
3231
  evidence?: {
3232
- id: string;
3232
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3233
3233
  label: string;
3234
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3234
+ id: string;
3235
3235
  capture: "at_action" | "historical_lookup" | "fixture";
3236
3236
  locator?: string | undefined;
3237
3237
  }[] | undefined;
3238
3238
  } | {
3239
- summary: string;
3240
3239
  kind: "mission_completed";
3240
+ summary: string;
3241
3241
  outcome: "failed" | "recovered" | "inconclusive";
3242
3242
  evidence?: {
3243
- id: string;
3243
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3244
3244
  label: string;
3245
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3245
+ id: string;
3246
3246
  capture: "at_action" | "historical_lookup" | "fixture";
3247
3247
  locator?: string | undefined;
3248
3248
  }[] | undefined;
@@ -3272,15 +3272,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3272
3272
  locator: z.ZodOptional<z.ZodString>;
3273
3273
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3274
3274
  }, "strict", z.ZodTypeAny, {
3275
- id: string;
3275
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3276
3276
  label: string;
3277
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3277
+ id: string;
3278
3278
  capture: "at_action" | "historical_lookup" | "fixture";
3279
3279
  locator?: string | undefined;
3280
3280
  }, {
3281
- id: string;
3281
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3282
3282
  label: string;
3283
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3283
+ id: string;
3284
3284
  capture: "at_action" | "historical_lookup" | "fixture";
3285
3285
  locator?: string | undefined;
3286
3286
  }>, "many">>;
@@ -3288,9 +3288,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3288
3288
  kind: "mission_started";
3289
3289
  title: string;
3290
3290
  evidence: {
3291
- id: string;
3291
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3292
3292
  label: string;
3293
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3293
+ id: string;
3294
3294
  capture: "at_action" | "historical_lookup" | "fixture";
3295
3295
  locator?: string | undefined;
3296
3296
  }[];
@@ -3302,9 +3302,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3302
3302
  objective: string;
3303
3303
  runMode: "replay" | "fixture" | "live";
3304
3304
  evidence?: {
3305
- id: string;
3305
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3306
3306
  label: string;
3307
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3307
+ id: string;
3308
3308
  capture: "at_action" | "historical_lookup" | "fixture";
3309
3309
  locator?: string | undefined;
3310
3310
  }[] | undefined;
@@ -3320,15 +3320,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3320
3320
  locator: z.ZodOptional<z.ZodString>;
3321
3321
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3322
3322
  }, "strict", z.ZodTypeAny, {
3323
- id: string;
3323
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3324
3324
  label: string;
3325
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3325
+ id: string;
3326
3326
  capture: "at_action" | "historical_lookup" | "fixture";
3327
3327
  locator?: string | undefined;
3328
3328
  }, {
3329
- id: string;
3329
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3330
3330
  label: string;
3331
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3331
+ id: string;
3332
3332
  capture: "at_action" | "historical_lookup" | "fixture";
3333
3333
  locator?: string | undefined;
3334
3334
  }>, "many">>;
@@ -3336,32 +3336,32 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3336
3336
  sessionId: z.ZodString;
3337
3337
  kind: z.ZodLiteral<"agent_status">;
3338
3338
  }, "strict", z.ZodTypeAny, {
3339
- label: string;
3340
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3341
3339
  kind: "agent_status";
3340
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3341
+ label: string;
3342
3342
  role: string;
3343
3343
  agentId: string;
3344
3344
  sessionId: string;
3345
3345
  evidence: {
3346
- id: string;
3346
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3347
3347
  label: string;
3348
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3348
+ id: string;
3349
3349
  capture: "at_action" | "historical_lookup" | "fixture";
3350
3350
  locator?: string | undefined;
3351
3351
  }[];
3352
3352
  detail?: string | undefined;
3353
3353
  }, {
3354
- label: string;
3355
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3356
3354
  kind: "agent_status";
3355
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3356
+ label: string;
3357
3357
  role: string;
3358
3358
  agentId: string;
3359
3359
  sessionId: string;
3360
3360
  detail?: string | undefined;
3361
3361
  evidence?: {
3362
- id: string;
3362
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3363
3363
  label: string;
3364
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3364
+ id: string;
3365
3365
  capture: "at_action" | "historical_lookup" | "fixture";
3366
3366
  locator?: string | undefined;
3367
3367
  }[] | undefined;
@@ -3375,15 +3375,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3375
3375
  locator: z.ZodOptional<z.ZodString>;
3376
3376
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3377
3377
  }, "strict", z.ZodTypeAny, {
3378
- id: string;
3378
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3379
3379
  label: string;
3380
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3380
+ id: string;
3381
3381
  capture: "at_action" | "historical_lookup" | "fixture";
3382
3382
  locator?: string | undefined;
3383
3383
  }, {
3384
- id: string;
3384
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3385
3385
  label: string;
3386
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3386
+ id: string;
3387
3387
  capture: "at_action" | "historical_lookup" | "fixture";
3388
3388
  locator?: string | undefined;
3389
3389
  }>, "many">>;
@@ -3391,28 +3391,28 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3391
3391
  sessionId: z.ZodString;
3392
3392
  kind: z.ZodLiteral<"agent_output">;
3393
3393
  }, "strict", z.ZodTypeAny, {
3394
- summary: string;
3395
3394
  kind: "agent_output";
3395
+ summary: string;
3396
3396
  agentId: string;
3397
3397
  sessionId: string;
3398
3398
  evidence: {
3399
- id: string;
3399
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3400
3400
  label: string;
3401
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3401
+ id: string;
3402
3402
  capture: "at_action" | "historical_lookup" | "fixture";
3403
3403
  locator?: string | undefined;
3404
3404
  }[];
3405
3405
  outputId: string;
3406
3406
  }, {
3407
- summary: string;
3408
3407
  kind: "agent_output";
3408
+ summary: string;
3409
3409
  agentId: string;
3410
3410
  sessionId: string;
3411
3411
  outputId: string;
3412
3412
  evidence?: {
3413
- id: string;
3413
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3414
3414
  label: string;
3415
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3415
+ id: string;
3416
3416
  capture: "at_action" | "historical_lookup" | "fixture";
3417
3417
  locator?: string | undefined;
3418
3418
  }[] | undefined;
@@ -3428,15 +3428,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3428
3428
  locator: z.ZodOptional<z.ZodString>;
3429
3429
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3430
3430
  }, "strict", z.ZodTypeAny, {
3431
- id: string;
3431
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3432
3432
  label: string;
3433
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3433
+ id: string;
3434
3434
  capture: "at_action" | "historical_lookup" | "fixture";
3435
3435
  locator?: string | undefined;
3436
3436
  }, {
3437
- id: string;
3437
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3438
3438
  label: string;
3439
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3439
+ id: string;
3440
3440
  capture: "at_action" | "historical_lookup" | "fixture";
3441
3441
  locator?: string | undefined;
3442
3442
  }>, "many">>;
@@ -3449,9 +3449,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3449
3449
  statement: string;
3450
3450
  sessionId: string;
3451
3451
  evidence: {
3452
- id: string;
3452
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3453
3453
  label: string;
3454
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3454
+ id: string;
3455
3455
  capture: "at_action" | "historical_lookup" | "fixture";
3456
3456
  locator?: string | undefined;
3457
3457
  }[];
@@ -3467,9 +3467,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3467
3467
  decisionId: string;
3468
3468
  confidence?: number | undefined;
3469
3469
  evidence?: {
3470
- id: string;
3470
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3471
3471
  label: string;
3472
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3472
+ id: string;
3473
3473
  capture: "at_action" | "historical_lookup" | "fixture";
3474
3474
  locator?: string | undefined;
3475
3475
  }[] | undefined;
@@ -3486,25 +3486,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3486
3486
  locator: z.ZodOptional<z.ZodString>;
3487
3487
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3488
3488
  }, "strict", z.ZodTypeAny, {
3489
- id: string;
3489
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3490
3490
  label: string;
3491
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3491
+ id: string;
3492
3492
  capture: "at_action" | "historical_lookup" | "fixture";
3493
3493
  locator?: string | undefined;
3494
3494
  }, {
3495
- id: string;
3495
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3496
3496
  label: string;
3497
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3497
+ id: string;
3498
3498
  capture: "at_action" | "historical_lookup" | "fixture";
3499
3499
  locator?: string | undefined;
3500
3500
  }>, "many">>;
3501
3501
  }, "strict", z.ZodTypeAny, {
3502
- summary: string;
3503
3502
  kind: "conflict_detected";
3503
+ summary: string;
3504
3504
  evidence: {
3505
- id: string;
3505
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3506
3506
  label: string;
3507
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3507
+ id: string;
3508
3508
  capture: "at_action" | "historical_lookup" | "fixture";
3509
3509
  locator?: string | undefined;
3510
3510
  }[];
@@ -3512,15 +3512,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3512
3512
  decisionIds: string[];
3513
3513
  agentIds: string[];
3514
3514
  }, {
3515
- summary: string;
3516
3515
  kind: "conflict_detected";
3516
+ summary: string;
3517
3517
  conflictId: string;
3518
3518
  decisionIds: string[];
3519
3519
  agentIds: string[];
3520
3520
  evidence?: {
3521
- id: string;
3521
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3522
3522
  label: string;
3523
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3523
+ id: string;
3524
3524
  capture: "at_action" | "historical_lookup" | "fixture";
3525
3525
  locator?: string | undefined;
3526
3526
  }[] | undefined;
@@ -3540,27 +3540,27 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3540
3540
  locator: z.ZodOptional<z.ZodString>;
3541
3541
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3542
3542
  }, "strict", z.ZodTypeAny, {
3543
- id: string;
3543
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3544
3544
  label: string;
3545
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3545
+ id: string;
3546
3546
  capture: "at_action" | "historical_lookup" | "fixture";
3547
3547
  locator?: string | undefined;
3548
3548
  }, {
3549
- id: string;
3549
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3550
3550
  label: string;
3551
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3551
+ id: string;
3552
3552
  capture: "at_action" | "historical_lookup" | "fixture";
3553
3553
  locator?: string | undefined;
3554
3554
  }>, "many">>;
3555
3555
  }, "strict", z.ZodTypeAny, {
3556
+ kind: "test_result";
3556
3557
  summary: string;
3557
3558
  status: "error" | "failed" | "passed";
3558
- kind: "test_result";
3559
3559
  command: string;
3560
3560
  evidence: {
3561
- id: string;
3561
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3562
3562
  label: string;
3563
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3563
+ id: string;
3564
3564
  capture: "at_action" | "historical_lookup" | "fixture";
3565
3565
  locator?: string | undefined;
3566
3566
  }[];
@@ -3569,17 +3569,17 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3569
3569
  durationMs?: number | undefined;
3570
3570
  correctionId?: string | undefined;
3571
3571
  }, {
3572
+ kind: "test_result";
3572
3573
  summary: string;
3573
3574
  status: "error" | "failed" | "passed";
3574
- kind: "test_result";
3575
3575
  command: string;
3576
3576
  decisionId: string;
3577
3577
  testId: string;
3578
3578
  durationMs?: number | undefined;
3579
3579
  evidence?: {
3580
- id: string;
3580
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3581
3581
  label: string;
3582
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3582
+ id: string;
3583
3583
  capture: "at_action" | "historical_lookup" | "fixture";
3584
3584
  locator?: string | undefined;
3585
3585
  }[] | undefined;
@@ -3600,15 +3600,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3600
3600
  locator: z.ZodOptional<z.ZodString>;
3601
3601
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3602
3602
  }, "strict", z.ZodTypeAny, {
3603
- id: string;
3603
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3604
3604
  label: string;
3605
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3605
+ id: string;
3606
3606
  capture: "at_action" | "historical_lookup" | "fixture";
3607
3607
  locator?: string | undefined;
3608
3608
  }, {
3609
- id: string;
3609
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3610
3610
  label: string;
3611
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3611
+ id: string;
3612
3612
  capture: "at_action" | "historical_lookup" | "fixture";
3613
3613
  locator?: string | undefined;
3614
3614
  }>, "many">>;
@@ -3617,9 +3617,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3617
3617
  rationale: string;
3618
3618
  statement: string;
3619
3619
  evidence: {
3620
- id: string;
3620
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3621
3621
  label: string;
3622
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3622
+ id: string;
3623
3623
  capture: "at_action" | "historical_lookup" | "fixture";
3624
3624
  locator?: string | undefined;
3625
3625
  }[];
@@ -3638,9 +3638,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3638
3638
  supersedesDecisionIds: string[];
3639
3639
  proposedBy: string;
3640
3640
  evidence?: {
3641
- id: string;
3641
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3642
3642
  label: string;
3643
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3643
+ id: string;
3644
3644
  capture: "at_action" | "historical_lookup" | "fixture";
3645
3645
  locator?: string | undefined;
3646
3646
  }[] | undefined;
@@ -3652,13 +3652,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3652
3652
  id: z.ZodString;
3653
3653
  label: z.ZodString;
3654
3654
  }, "strict", z.ZodTypeAny, {
3655
- id: string;
3656
- label: string;
3657
3655
  kind: "agent" | "human";
3658
- }, {
3659
- id: string;
3660
3656
  label: string;
3657
+ id: string;
3658
+ }, {
3661
3659
  kind: "agent" | "human";
3660
+ label: string;
3661
+ id: string;
3662
3662
  }>;
3663
3663
  note: z.ZodOptional<z.ZodString>;
3664
3664
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -3668,47 +3668,47 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3668
3668
  locator: z.ZodOptional<z.ZodString>;
3669
3669
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3670
3670
  }, "strict", z.ZodTypeAny, {
3671
- id: string;
3671
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3672
3672
  label: string;
3673
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3673
+ id: string;
3674
3674
  capture: "at_action" | "historical_lookup" | "fixture";
3675
3675
  locator?: string | undefined;
3676
3676
  }, {
3677
- id: string;
3677
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3678
3678
  label: string;
3679
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3679
+ id: string;
3680
3680
  capture: "at_action" | "historical_lookup" | "fixture";
3681
3681
  locator?: string | undefined;
3682
3682
  }>, "many">>;
3683
3683
  }, "strict", z.ZodTypeAny, {
3684
3684
  kind: "correction_approved";
3685
3685
  evidence: {
3686
- id: string;
3686
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3687
3687
  label: string;
3688
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3688
+ id: string;
3689
3689
  capture: "at_action" | "historical_lookup" | "fixture";
3690
3690
  locator?: string | undefined;
3691
3691
  }[];
3692
3692
  correctionId: string;
3693
3693
  approvedBy: {
3694
- id: string;
3695
- label: string;
3696
3694
  kind: "agent" | "human";
3695
+ label: string;
3696
+ id: string;
3697
3697
  };
3698
3698
  note?: string | undefined;
3699
3699
  }, {
3700
3700
  kind: "correction_approved";
3701
3701
  correctionId: string;
3702
3702
  approvedBy: {
3703
- id: string;
3704
- label: string;
3705
3703
  kind: "agent" | "human";
3704
+ label: string;
3705
+ id: string;
3706
3706
  };
3707
3707
  note?: string | undefined;
3708
3708
  evidence?: {
3709
- id: string;
3709
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3710
3710
  label: string;
3711
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3711
+ id: string;
3712
3712
  capture: "at_action" | "historical_lookup" | "fixture";
3713
3713
  locator?: string | undefined;
3714
3714
  }[] | undefined;
@@ -3724,24 +3724,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3724
3724
  locator: z.ZodOptional<z.ZodString>;
3725
3725
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3726
3726
  }, "strict", z.ZodTypeAny, {
3727
- id: string;
3727
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3728
3728
  label: string;
3729
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3729
+ id: string;
3730
3730
  capture: "at_action" | "historical_lookup" | "fixture";
3731
3731
  locator?: string | undefined;
3732
3732
  }, {
3733
- id: string;
3733
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3734
3734
  label: string;
3735
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3735
+ id: string;
3736
3736
  capture: "at_action" | "historical_lookup" | "fixture";
3737
3737
  locator?: string | undefined;
3738
3738
  }>, "many">>;
3739
3739
  }, "strict", z.ZodTypeAny, {
3740
3740
  kind: "decision_superseded";
3741
3741
  evidence: {
3742
- id: string;
3742
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3743
3743
  label: string;
3744
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3744
+ id: string;
3745
3745
  capture: "at_action" | "historical_lookup" | "fixture";
3746
3746
  locator?: string | undefined;
3747
3747
  }[];
@@ -3754,9 +3754,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3754
3754
  correctionId: string;
3755
3755
  replacementDecisionId: string;
3756
3756
  evidence?: {
3757
- id: string;
3757
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3758
3758
  label: string;
3759
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3759
+ id: string;
3760
3760
  capture: "at_action" | "historical_lookup" | "fixture";
3761
3761
  locator?: string | undefined;
3762
3762
  }[] | undefined;
@@ -3772,15 +3772,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3772
3772
  locator: z.ZodOptional<z.ZodString>;
3773
3773
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3774
3774
  }, "strict", z.ZodTypeAny, {
3775
- id: string;
3775
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3776
3776
  label: string;
3777
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3777
+ id: string;
3778
3778
  capture: "at_action" | "historical_lookup" | "fixture";
3779
3779
  locator?: string | undefined;
3780
3780
  }, {
3781
- id: string;
3781
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3782
3782
  label: string;
3783
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3783
+ id: string;
3784
3784
  capture: "at_action" | "historical_lookup" | "fixture";
3785
3785
  locator?: string | undefined;
3786
3786
  }>, "many">>;
@@ -3793,9 +3793,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3793
3793
  agentId: string;
3794
3794
  sessionId: string;
3795
3795
  evidence: {
3796
- id: string;
3796
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3797
3797
  label: string;
3798
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3798
+ id: string;
3799
3799
  capture: "at_action" | "historical_lookup" | "fixture";
3800
3800
  locator?: string | undefined;
3801
3801
  }[];
@@ -3811,9 +3811,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3811
3811
  recallReceiptId: string;
3812
3812
  capturedAtAction: boolean;
3813
3813
  evidence?: {
3814
- id: string;
3814
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3815
3815
  label: string;
3816
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3816
+ id: string;
3817
3817
  capture: "at_action" | "historical_lookup" | "fixture";
3818
3818
  locator?: string | undefined;
3819
3819
  }[] | undefined;
@@ -3829,15 +3829,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3829
3829
  locator: z.ZodOptional<z.ZodString>;
3830
3830
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3831
3831
  }, "strict", z.ZodTypeAny, {
3832
- id: string;
3832
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3833
3833
  label: string;
3834
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3834
+ id: string;
3835
3835
  capture: "at_action" | "historical_lookup" | "fixture";
3836
3836
  locator?: string | undefined;
3837
3837
  }, {
3838
- id: string;
3838
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3839
3839
  label: string;
3840
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3840
+ id: string;
3841
3841
  capture: "at_action" | "historical_lookup" | "fixture";
3842
3842
  locator?: string | undefined;
3843
3843
  }>, "many">>;
@@ -3849,9 +3849,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3849
3849
  agentId: string;
3850
3850
  sessionId: string;
3851
3851
  evidence: {
3852
- id: string;
3852
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3853
3853
  label: string;
3854
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3854
+ id: string;
3855
3855
  capture: "at_action" | "historical_lookup" | "fixture";
3856
3856
  locator?: string | undefined;
3857
3857
  }[];
@@ -3868,9 +3868,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3868
3868
  recallReceiptId: string;
3869
3869
  staleDecisionAbsent: boolean;
3870
3870
  evidence?: {
3871
- id: string;
3871
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3872
3872
  label: string;
3873
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3873
+ id: string;
3874
3874
  capture: "at_action" | "historical_lookup" | "fixture";
3875
3875
  locator?: string | undefined;
3876
3876
  }[] | undefined;
@@ -3885,37 +3885,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3885
3885
  locator: z.ZodOptional<z.ZodString>;
3886
3886
  capture: z.ZodEnum<["at_action", "historical_lookup", "fixture"]>;
3887
3887
  }, "strict", z.ZodTypeAny, {
3888
- id: string;
3888
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3889
3889
  label: string;
3890
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3890
+ id: string;
3891
3891
  capture: "at_action" | "historical_lookup" | "fixture";
3892
3892
  locator?: string | undefined;
3893
3893
  }, {
3894
- id: string;
3894
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3895
3895
  label: string;
3896
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3896
+ id: string;
3897
3897
  capture: "at_action" | "historical_lookup" | "fixture";
3898
3898
  locator?: string | undefined;
3899
3899
  }>, "many">>;
3900
3900
  }, "strict", z.ZodTypeAny, {
3901
- summary: string;
3902
3901
  kind: "mission_completed";
3902
+ summary: string;
3903
3903
  outcome: "failed" | "recovered" | "inconclusive";
3904
3904
  evidence: {
3905
- id: string;
3905
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3906
3906
  label: string;
3907
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3907
+ id: string;
3908
3908
  capture: "at_action" | "historical_lookup" | "fixture";
3909
3909
  locator?: string | undefined;
3910
3910
  }[];
3911
3911
  }, {
3912
- summary: string;
3913
3912
  kind: "mission_completed";
3913
+ summary: string;
3914
3914
  outcome: "failed" | "recovered" | "inconclusive";
3915
3915
  evidence?: {
3916
- id: string;
3916
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3917
3917
  label: string;
3918
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3918
+ id: string;
3919
3919
  capture: "at_action" | "historical_lookup" | "fixture";
3920
3920
  locator?: string | undefined;
3921
3921
  }[] | undefined;
@@ -3923,38 +3923,38 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3923
3923
  kind: "mission_started";
3924
3924
  title: string;
3925
3925
  evidence: {
3926
- id: string;
3926
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3927
3927
  label: string;
3928
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3928
+ id: string;
3929
3929
  capture: "at_action" | "historical_lookup" | "fixture";
3930
3930
  locator?: string | undefined;
3931
3931
  }[];
3932
3932
  objective: string;
3933
3933
  runMode: "replay" | "fixture" | "live";
3934
3934
  } | {
3935
- label: string;
3936
- status: "failed" | "blocked" | "working" | "complete" | "idle";
3937
3935
  kind: "agent_status";
3936
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
3937
+ label: string;
3938
3938
  role: string;
3939
3939
  agentId: string;
3940
3940
  sessionId: string;
3941
3941
  evidence: {
3942
- id: string;
3942
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3943
3943
  label: string;
3944
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3944
+ id: string;
3945
3945
  capture: "at_action" | "historical_lookup" | "fixture";
3946
3946
  locator?: string | undefined;
3947
3947
  }[];
3948
3948
  detail?: string | undefined;
3949
3949
  } | {
3950
- summary: string;
3951
3950
  kind: "agent_output";
3951
+ summary: string;
3952
3952
  agentId: string;
3953
3953
  sessionId: string;
3954
3954
  evidence: {
3955
- id: string;
3955
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3956
3956
  label: string;
3957
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3957
+ id: string;
3958
3958
  capture: "at_action" | "historical_lookup" | "fixture";
3959
3959
  locator?: string | undefined;
3960
3960
  }[];
@@ -3965,9 +3965,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3965
3965
  statement: string;
3966
3966
  sessionId: string;
3967
3967
  evidence: {
3968
- id: string;
3968
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3969
3969
  label: string;
3970
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3970
+ id: string;
3971
3971
  capture: "at_action" | "historical_lookup" | "fixture";
3972
3972
  locator?: string | undefined;
3973
3973
  }[];
@@ -3975,12 +3975,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3975
3975
  decisionId: string;
3976
3976
  confidence?: number | undefined;
3977
3977
  } | {
3978
- summary: string;
3979
3978
  kind: "conflict_detected";
3979
+ summary: string;
3980
3980
  evidence: {
3981
- id: string;
3981
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3982
3982
  label: string;
3983
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3983
+ id: string;
3984
3984
  capture: "at_action" | "historical_lookup" | "fixture";
3985
3985
  locator?: string | undefined;
3986
3986
  }[];
@@ -3988,14 +3988,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
3988
3988
  decisionIds: string[];
3989
3989
  agentIds: string[];
3990
3990
  } | {
3991
+ kind: "test_result";
3991
3992
  summary: string;
3992
3993
  status: "error" | "failed" | "passed";
3993
- kind: "test_result";
3994
3994
  command: string;
3995
3995
  evidence: {
3996
- id: string;
3996
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3997
3997
  label: string;
3998
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
3998
+ id: string;
3999
3999
  capture: "at_action" | "historical_lookup" | "fixture";
4000
4000
  locator?: string | undefined;
4001
4001
  }[];
@@ -4008,9 +4008,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4008
4008
  rationale: string;
4009
4009
  statement: string;
4010
4010
  evidence: {
4011
- id: string;
4011
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4012
4012
  label: string;
4013
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4013
+ id: string;
4014
4014
  capture: "at_action" | "historical_lookup" | "fixture";
4015
4015
  locator?: string | undefined;
4016
4016
  }[];
@@ -4022,25 +4022,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4022
4022
  } | {
4023
4023
  kind: "correction_approved";
4024
4024
  evidence: {
4025
- id: string;
4025
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4026
4026
  label: string;
4027
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4027
+ id: string;
4028
4028
  capture: "at_action" | "historical_lookup" | "fixture";
4029
4029
  locator?: string | undefined;
4030
4030
  }[];
4031
4031
  correctionId: string;
4032
4032
  approvedBy: {
4033
- id: string;
4034
- label: string;
4035
4033
  kind: "agent" | "human";
4034
+ label: string;
4035
+ id: string;
4036
4036
  };
4037
4037
  note?: string | undefined;
4038
4038
  } | {
4039
4039
  kind: "decision_superseded";
4040
4040
  evidence: {
4041
- id: string;
4041
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4042
4042
  label: string;
4043
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4043
+ id: string;
4044
4044
  capture: "at_action" | "historical_lookup" | "fixture";
4045
4045
  locator?: string | undefined;
4046
4046
  }[];
@@ -4053,9 +4053,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4053
4053
  agentId: string;
4054
4054
  sessionId: string;
4055
4055
  evidence: {
4056
- id: string;
4056
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4057
4057
  label: string;
4058
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4058
+ id: string;
4059
4059
  capture: "at_action" | "historical_lookup" | "fixture";
4060
4060
  locator?: string | undefined;
4061
4061
  }[];
@@ -4067,9 +4067,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4067
4067
  agentId: string;
4068
4068
  sessionId: string;
4069
4069
  evidence: {
4070
- id: string;
4070
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4071
4071
  label: string;
4072
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4072
+ id: string;
4073
4073
  capture: "at_action" | "historical_lookup" | "fixture";
4074
4074
  locator?: string | undefined;
4075
4075
  }[];
@@ -4078,13 +4078,13 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4078
4078
  recallReceiptId: string;
4079
4079
  staleDecisionAbsent: boolean;
4080
4080
  } | {
4081
- summary: string;
4082
4081
  kind: "mission_completed";
4082
+ summary: string;
4083
4083
  outcome: "failed" | "recovered" | "inconclusive";
4084
4084
  evidence: {
4085
- id: string;
4085
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4086
4086
  label: string;
4087
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4087
+ id: string;
4088
4088
  capture: "at_action" | "historical_lookup" | "fixture";
4089
4089
  locator?: string | undefined;
4090
4090
  }[];
@@ -4094,37 +4094,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4094
4094
  objective: string;
4095
4095
  runMode: "replay" | "fixture" | "live";
4096
4096
  evidence?: {
4097
- id: string;
4097
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4098
4098
  label: string;
4099
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4099
+ id: string;
4100
4100
  capture: "at_action" | "historical_lookup" | "fixture";
4101
4101
  locator?: string | undefined;
4102
4102
  }[] | undefined;
4103
4103
  } | {
4104
- label: string;
4105
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4106
4104
  kind: "agent_status";
4105
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4106
+ label: string;
4107
4107
  role: string;
4108
4108
  agentId: string;
4109
4109
  sessionId: string;
4110
4110
  detail?: string | undefined;
4111
4111
  evidence?: {
4112
- id: string;
4112
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4113
4113
  label: string;
4114
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4114
+ id: string;
4115
4115
  capture: "at_action" | "historical_lookup" | "fixture";
4116
4116
  locator?: string | undefined;
4117
4117
  }[] | undefined;
4118
4118
  } | {
4119
- summary: string;
4120
4119
  kind: "agent_output";
4120
+ summary: string;
4121
4121
  agentId: string;
4122
4122
  sessionId: string;
4123
4123
  outputId: string;
4124
4124
  evidence?: {
4125
- id: string;
4125
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4126
4126
  label: string;
4127
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4127
+ id: string;
4128
4128
  capture: "at_action" | "historical_lookup" | "fixture";
4129
4129
  locator?: string | undefined;
4130
4130
  }[] | undefined;
@@ -4137,37 +4137,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4137
4137
  decisionId: string;
4138
4138
  confidence?: number | undefined;
4139
4139
  evidence?: {
4140
- id: string;
4140
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4141
4141
  label: string;
4142
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4142
+ id: string;
4143
4143
  capture: "at_action" | "historical_lookup" | "fixture";
4144
4144
  locator?: string | undefined;
4145
4145
  }[] | undefined;
4146
4146
  } | {
4147
- summary: string;
4148
4147
  kind: "conflict_detected";
4148
+ summary: string;
4149
4149
  conflictId: string;
4150
4150
  decisionIds: string[];
4151
4151
  agentIds: string[];
4152
4152
  evidence?: {
4153
- id: string;
4153
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4154
4154
  label: string;
4155
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4155
+ id: string;
4156
4156
  capture: "at_action" | "historical_lookup" | "fixture";
4157
4157
  locator?: string | undefined;
4158
4158
  }[] | undefined;
4159
4159
  } | {
4160
+ kind: "test_result";
4160
4161
  summary: string;
4161
4162
  status: "error" | "failed" | "passed";
4162
- kind: "test_result";
4163
4163
  command: string;
4164
4164
  decisionId: string;
4165
4165
  testId: string;
4166
4166
  durationMs?: number | undefined;
4167
4167
  evidence?: {
4168
- id: string;
4168
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4169
4169
  label: string;
4170
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4170
+ id: string;
4171
4171
  capture: "at_action" | "historical_lookup" | "fixture";
4172
4172
  locator?: string | undefined;
4173
4173
  }[] | undefined;
@@ -4182,9 +4182,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4182
4182
  supersedesDecisionIds: string[];
4183
4183
  proposedBy: string;
4184
4184
  evidence?: {
4185
- id: string;
4185
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4186
4186
  label: string;
4187
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4187
+ id: string;
4188
4188
  capture: "at_action" | "historical_lookup" | "fixture";
4189
4189
  locator?: string | undefined;
4190
4190
  }[] | undefined;
@@ -4192,15 +4192,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4192
4192
  kind: "correction_approved";
4193
4193
  correctionId: string;
4194
4194
  approvedBy: {
4195
- id: string;
4196
- label: string;
4197
4195
  kind: "agent" | "human";
4196
+ label: string;
4197
+ id: string;
4198
4198
  };
4199
4199
  note?: string | undefined;
4200
4200
  evidence?: {
4201
- id: string;
4201
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4202
4202
  label: string;
4203
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4203
+ id: string;
4204
4204
  capture: "at_action" | "historical_lookup" | "fixture";
4205
4205
  locator?: string | undefined;
4206
4206
  }[] | undefined;
@@ -4210,9 +4210,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4210
4210
  correctionId: string;
4211
4211
  replacementDecisionId: string;
4212
4212
  evidence?: {
4213
- id: string;
4213
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4214
4214
  label: string;
4215
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4215
+ id: string;
4216
4216
  capture: "at_action" | "historical_lookup" | "fixture";
4217
4217
  locator?: string | undefined;
4218
4218
  }[] | undefined;
@@ -4225,9 +4225,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4225
4225
  recallReceiptId: string;
4226
4226
  capturedAtAction: boolean;
4227
4227
  evidence?: {
4228
- id: string;
4228
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4229
4229
  label: string;
4230
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4230
+ id: string;
4231
4231
  capture: "at_action" | "historical_lookup" | "fixture";
4232
4232
  locator?: string | undefined;
4233
4233
  }[] | undefined;
@@ -4240,64 +4240,63 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4240
4240
  recallReceiptId: string;
4241
4241
  staleDecisionAbsent: boolean;
4242
4242
  evidence?: {
4243
- id: string;
4243
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4244
4244
  label: string;
4245
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4245
+ id: string;
4246
4246
  capture: "at_action" | "historical_lookup" | "fixture";
4247
4247
  locator?: string | undefined;
4248
4248
  }[] | undefined;
4249
4249
  } | {
4250
- summary: string;
4251
4250
  kind: "mission_completed";
4251
+ summary: string;
4252
4252
  outcome: "failed" | "recovered" | "inconclusive";
4253
4253
  evidence?: {
4254
- id: string;
4254
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4255
4255
  label: string;
4256
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4256
+ id: string;
4257
4257
  capture: "at_action" | "historical_lookup" | "fixture";
4258
4258
  locator?: string | undefined;
4259
4259
  }[] | undefined;
4260
4260
  }>;
4261
4261
  }, "strict", z.ZodTypeAny, {
4262
- namespace: string;
4263
4262
  recordedAt: string;
4264
4263
  schemaVersion: "1";
4265
4264
  payload: {
4266
4265
  kind: "mission_started";
4267
4266
  title: string;
4268
4267
  evidence: {
4269
- id: string;
4268
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4270
4269
  label: string;
4271
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4270
+ id: string;
4272
4271
  capture: "at_action" | "historical_lookup" | "fixture";
4273
4272
  locator?: string | undefined;
4274
4273
  }[];
4275
4274
  objective: string;
4276
4275
  runMode: "replay" | "fixture" | "live";
4277
4276
  } | {
4278
- label: string;
4279
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4280
4277
  kind: "agent_status";
4278
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4279
+ label: string;
4281
4280
  role: string;
4282
4281
  agentId: string;
4283
4282
  sessionId: string;
4284
4283
  evidence: {
4285
- id: string;
4284
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4286
4285
  label: string;
4287
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4286
+ id: string;
4288
4287
  capture: "at_action" | "historical_lookup" | "fixture";
4289
4288
  locator?: string | undefined;
4290
4289
  }[];
4291
4290
  detail?: string | undefined;
4292
4291
  } | {
4293
- summary: string;
4294
4292
  kind: "agent_output";
4293
+ summary: string;
4295
4294
  agentId: string;
4296
4295
  sessionId: string;
4297
4296
  evidence: {
4298
- id: string;
4297
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4299
4298
  label: string;
4300
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4299
+ id: string;
4301
4300
  capture: "at_action" | "historical_lookup" | "fixture";
4302
4301
  locator?: string | undefined;
4303
4302
  }[];
@@ -4308,9 +4307,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4308
4307
  statement: string;
4309
4308
  sessionId: string;
4310
4309
  evidence: {
4311
- id: string;
4310
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4312
4311
  label: string;
4313
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4312
+ id: string;
4314
4313
  capture: "at_action" | "historical_lookup" | "fixture";
4315
4314
  locator?: string | undefined;
4316
4315
  }[];
@@ -4318,12 +4317,12 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4318
4317
  decisionId: string;
4319
4318
  confidence?: number | undefined;
4320
4319
  } | {
4321
- summary: string;
4322
4320
  kind: "conflict_detected";
4321
+ summary: string;
4323
4322
  evidence: {
4324
- id: string;
4323
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4325
4324
  label: string;
4326
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4325
+ id: string;
4327
4326
  capture: "at_action" | "historical_lookup" | "fixture";
4328
4327
  locator?: string | undefined;
4329
4328
  }[];
@@ -4331,14 +4330,14 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4331
4330
  decisionIds: string[];
4332
4331
  agentIds: string[];
4333
4332
  } | {
4333
+ kind: "test_result";
4334
4334
  summary: string;
4335
4335
  status: "error" | "failed" | "passed";
4336
- kind: "test_result";
4337
4336
  command: string;
4338
4337
  evidence: {
4339
- id: string;
4338
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4340
4339
  label: string;
4341
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4340
+ id: string;
4342
4341
  capture: "at_action" | "historical_lookup" | "fixture";
4343
4342
  locator?: string | undefined;
4344
4343
  }[];
@@ -4351,9 +4350,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4351
4350
  rationale: string;
4352
4351
  statement: string;
4353
4352
  evidence: {
4354
- id: string;
4353
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4355
4354
  label: string;
4356
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4355
+ id: string;
4357
4356
  capture: "at_action" | "historical_lookup" | "fixture";
4358
4357
  locator?: string | undefined;
4359
4358
  }[];
@@ -4365,25 +4364,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4365
4364
  } | {
4366
4365
  kind: "correction_approved";
4367
4366
  evidence: {
4368
- id: string;
4367
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4369
4368
  label: string;
4370
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4369
+ id: string;
4371
4370
  capture: "at_action" | "historical_lookup" | "fixture";
4372
4371
  locator?: string | undefined;
4373
4372
  }[];
4374
4373
  correctionId: string;
4375
4374
  approvedBy: {
4376
- id: string;
4377
- label: string;
4378
4375
  kind: "agent" | "human";
4376
+ label: string;
4377
+ id: string;
4379
4378
  };
4380
4379
  note?: string | undefined;
4381
4380
  } | {
4382
4381
  kind: "decision_superseded";
4383
4382
  evidence: {
4384
- id: string;
4383
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4385
4384
  label: string;
4386
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4385
+ id: string;
4387
4386
  capture: "at_action" | "historical_lookup" | "fixture";
4388
4387
  locator?: string | undefined;
4389
4388
  }[];
@@ -4396,9 +4395,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4396
4395
  agentId: string;
4397
4396
  sessionId: string;
4398
4397
  evidence: {
4399
- id: string;
4398
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4400
4399
  label: string;
4401
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4400
+ id: string;
4402
4401
  capture: "at_action" | "historical_lookup" | "fixture";
4403
4402
  locator?: string | undefined;
4404
4403
  }[];
@@ -4410,9 +4409,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4410
4409
  agentId: string;
4411
4410
  sessionId: string;
4412
4411
  evidence: {
4413
- id: string;
4412
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4414
4413
  label: string;
4415
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4414
+ id: string;
4416
4415
  capture: "at_action" | "historical_lookup" | "fixture";
4417
4416
  locator?: string | undefined;
4418
4417
  }[];
@@ -4421,24 +4420,24 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4421
4420
  recallReceiptId: string;
4422
4421
  staleDecisionAbsent: boolean;
4423
4422
  } | {
4424
- summary: string;
4425
4423
  kind: "mission_completed";
4424
+ summary: string;
4426
4425
  outcome: "failed" | "recovered" | "inconclusive";
4427
4426
  evidence: {
4428
- id: string;
4427
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4429
4428
  label: string;
4430
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4429
+ id: string;
4431
4430
  capture: "at_action" | "historical_lookup" | "fixture";
4432
4431
  locator?: string | undefined;
4433
4432
  }[];
4434
4433
  };
4434
+ namespace: string;
4435
4435
  eventId: string;
4436
4436
  occurredAt: string;
4437
4437
  missionId: string;
4438
4438
  authenticatedPrincipal?: string | undefined;
4439
4439
  idempotencyKey?: string | undefined;
4440
4440
  }, {
4441
- namespace: string;
4442
4441
  recordedAt: string;
4443
4442
  schemaVersion: "1";
4444
4443
  payload: {
@@ -4447,37 +4446,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4447
4446
  objective: string;
4448
4447
  runMode: "replay" | "fixture" | "live";
4449
4448
  evidence?: {
4450
- id: string;
4449
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4451
4450
  label: string;
4452
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4451
+ id: string;
4453
4452
  capture: "at_action" | "historical_lookup" | "fixture";
4454
4453
  locator?: string | undefined;
4455
4454
  }[] | undefined;
4456
4455
  } | {
4457
- label: string;
4458
- status: "failed" | "blocked" | "working" | "complete" | "idle";
4459
4456
  kind: "agent_status";
4457
+ status: "failed" | "blocked" | "working" | "complete" | "idle";
4458
+ label: string;
4460
4459
  role: string;
4461
4460
  agentId: string;
4462
4461
  sessionId: string;
4463
4462
  detail?: string | undefined;
4464
4463
  evidence?: {
4465
- id: string;
4464
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4466
4465
  label: string;
4467
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4466
+ id: string;
4468
4467
  capture: "at_action" | "historical_lookup" | "fixture";
4469
4468
  locator?: string | undefined;
4470
4469
  }[] | undefined;
4471
4470
  } | {
4472
- summary: string;
4473
4471
  kind: "agent_output";
4472
+ summary: string;
4474
4473
  agentId: string;
4475
4474
  sessionId: string;
4476
4475
  outputId: string;
4477
4476
  evidence?: {
4478
- id: string;
4477
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4479
4478
  label: string;
4480
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4479
+ id: string;
4481
4480
  capture: "at_action" | "historical_lookup" | "fixture";
4482
4481
  locator?: string | undefined;
4483
4482
  }[] | undefined;
@@ -4490,37 +4489,37 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4490
4489
  decisionId: string;
4491
4490
  confidence?: number | undefined;
4492
4491
  evidence?: {
4493
- id: string;
4492
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4494
4493
  label: string;
4495
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4494
+ id: string;
4496
4495
  capture: "at_action" | "historical_lookup" | "fixture";
4497
4496
  locator?: string | undefined;
4498
4497
  }[] | undefined;
4499
4498
  } | {
4500
- summary: string;
4501
4499
  kind: "conflict_detected";
4500
+ summary: string;
4502
4501
  conflictId: string;
4503
4502
  decisionIds: string[];
4504
4503
  agentIds: string[];
4505
4504
  evidence?: {
4506
- id: string;
4505
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4507
4506
  label: string;
4508
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4507
+ id: string;
4509
4508
  capture: "at_action" | "historical_lookup" | "fixture";
4510
4509
  locator?: string | undefined;
4511
4510
  }[] | undefined;
4512
4511
  } | {
4512
+ kind: "test_result";
4513
4513
  summary: string;
4514
4514
  status: "error" | "failed" | "passed";
4515
- kind: "test_result";
4516
4515
  command: string;
4517
4516
  decisionId: string;
4518
4517
  testId: string;
4519
4518
  durationMs?: number | undefined;
4520
4519
  evidence?: {
4521
- id: string;
4520
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4522
4521
  label: string;
4523
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4522
+ id: string;
4524
4523
  capture: "at_action" | "historical_lookup" | "fixture";
4525
4524
  locator?: string | undefined;
4526
4525
  }[] | undefined;
@@ -4535,9 +4534,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4535
4534
  supersedesDecisionIds: string[];
4536
4535
  proposedBy: string;
4537
4536
  evidence?: {
4538
- id: string;
4537
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4539
4538
  label: string;
4540
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4539
+ id: string;
4541
4540
  capture: "at_action" | "historical_lookup" | "fixture";
4542
4541
  locator?: string | undefined;
4543
4542
  }[] | undefined;
@@ -4545,15 +4544,15 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4545
4544
  kind: "correction_approved";
4546
4545
  correctionId: string;
4547
4546
  approvedBy: {
4548
- id: string;
4549
- label: string;
4550
4547
  kind: "agent" | "human";
4548
+ label: string;
4549
+ id: string;
4551
4550
  };
4552
4551
  note?: string | undefined;
4553
4552
  evidence?: {
4554
- id: string;
4553
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4555
4554
  label: string;
4556
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4555
+ id: string;
4557
4556
  capture: "at_action" | "historical_lookup" | "fixture";
4558
4557
  locator?: string | undefined;
4559
4558
  }[] | undefined;
@@ -4563,9 +4562,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4563
4562
  correctionId: string;
4564
4563
  replacementDecisionId: string;
4565
4564
  evidence?: {
4566
- id: string;
4565
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4567
4566
  label: string;
4568
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4567
+ id: string;
4569
4568
  capture: "at_action" | "historical_lookup" | "fixture";
4570
4569
  locator?: string | undefined;
4571
4570
  }[] | undefined;
@@ -4578,9 +4577,9 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4578
4577
  recallReceiptId: string;
4579
4578
  capturedAtAction: boolean;
4580
4579
  evidence?: {
4581
- id: string;
4580
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4582
4581
  label: string;
4583
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4582
+ id: string;
4584
4583
  capture: "at_action" | "historical_lookup" | "fixture";
4585
4584
  locator?: string | undefined;
4586
4585
  }[] | undefined;
@@ -4593,24 +4592,25 @@ declare const RelayMissionEventSchema: z.ZodObject<{
4593
4592
  recallReceiptId: string;
4594
4593
  staleDecisionAbsent: boolean;
4595
4594
  evidence?: {
4596
- id: string;
4595
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4597
4596
  label: string;
4598
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4597
+ id: string;
4599
4598
  capture: "at_action" | "historical_lookup" | "fixture";
4600
4599
  locator?: string | undefined;
4601
4600
  }[] | undefined;
4602
4601
  } | {
4603
- summary: string;
4604
4602
  kind: "mission_completed";
4603
+ summary: string;
4605
4604
  outcome: "failed" | "recovered" | "inconclusive";
4606
4605
  evidence?: {
4607
- id: string;
4606
+ kind: "source" | "correction" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4608
4607
  label: string;
4609
- kind: "correction" | "source" | "commit" | "memory" | "recall_audit" | "test" | "agent_output" | "approval";
4608
+ id: string;
4610
4609
  capture: "at_action" | "historical_lookup" | "fixture";
4611
4610
  locator?: string | undefined;
4612
4611
  }[] | undefined;
4613
4612
  };
4613
+ namespace: string;
4614
4614
  eventId: string;
4615
4615
  occurredAt: string;
4616
4616
  missionId: string;