@remnic/core 9.41.0 → 9.43.0

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