@claudexor/schema 3.1.2 → 3.3.7-rc.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 (291) hide show
  1. package/dist/agent-capabilities.d.ts +157 -129
  2. package/dist/agent-capabilities.d.ts.map +1 -1
  3. package/dist/agent-capabilities.js +3 -1
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/apply-eligibility.d.ts +472 -273
  6. package/dist/apply-eligibility.d.ts.map +1 -1
  7. package/dist/apply-eligibility.js +25 -1
  8. package/dist/apply-eligibility.js.map +1 -1
  9. package/dist/attachment.d.ts +17 -17
  10. package/dist/attachment.d.ts.map +1 -1
  11. package/dist/attachment.js +1 -1
  12. package/dist/attachment.js.map +1 -1
  13. package/dist/auth.d.ts +475 -475
  14. package/dist/auth.d.ts.map +1 -1
  15. package/dist/auth.js +1 -1
  16. package/dist/auth.js.map +1 -1
  17. package/dist/budget.d.ts +59 -59
  18. package/dist/budget.d.ts.map +1 -1
  19. package/dist/budget.js +1 -1
  20. package/dist/budget.js.map +1 -1
  21. package/dist/config.d.ts +320 -316
  22. package/dist/config.d.ts.map +1 -1
  23. package/dist/config.js +26 -19
  24. package/dist/config.js.map +1 -1
  25. package/dist/context.d.ts +38 -38
  26. package/dist/context.d.ts.map +1 -1
  27. package/dist/context.js +1 -1
  28. package/dist/context.js.map +1 -1
  29. package/dist/control-auth-route.d.ts +46 -0
  30. package/dist/control-auth-route.d.ts.map +1 -0
  31. package/dist/control-auth-route.js +24 -0
  32. package/dist/control-auth-route.js.map +1 -0
  33. package/dist/control-gc.d.ts +15 -15
  34. package/dist/control-gc.d.ts.map +1 -1
  35. package/dist/control-gc.js +1 -1
  36. package/dist/control-gc.js.map +1 -1
  37. package/dist/control-harness-list.d.ts +896 -0
  38. package/dist/control-harness-list.d.ts.map +1 -0
  39. package/dist/control-harness-list.js +13 -0
  40. package/dist/control-harness-list.js.map +1 -0
  41. package/dist/control-operation-responses.d.ts +644 -629
  42. package/dist/control-operation-responses.d.ts.map +1 -1
  43. package/dist/control-operation-responses.js +5 -1
  44. package/dist/control-operation-responses.js.map +1 -1
  45. package/dist/control-run-detail.d.ts +2229 -1569
  46. package/dist/control-run-detail.d.ts.map +1 -1
  47. package/dist/control-run-detail.js +46 -2
  48. package/dist/control-run-detail.js.map +1 -1
  49. package/dist/control-run-failure.d.ts +57 -0
  50. package/dist/control-run-failure.d.ts.map +1 -0
  51. package/dist/control-run-failure.js +89 -0
  52. package/dist/control-run-failure.js.map +1 -0
  53. package/dist/control-run-retry.d.ts +16 -16
  54. package/dist/control-run-retry.d.ts.map +1 -1
  55. package/dist/control-run-retry.js +1 -1
  56. package/dist/control-run-retry.js.map +1 -1
  57. package/dist/control-run-scope.d.ts +19 -2
  58. package/dist/control-run-scope.d.ts.map +1 -1
  59. package/dist/control-run-scope.js +22 -1
  60. package/dist/control-run-scope.js.map +1 -1
  61. package/dist/control-secret.d.ts +7 -7
  62. package/dist/control-secret.d.ts.map +1 -1
  63. package/dist/control-secret.js +1 -1
  64. package/dist/control-secret.js.map +1 -1
  65. package/dist/control-thread-apply.d.ts +65 -65
  66. package/dist/control-thread-apply.d.ts.map +1 -1
  67. package/dist/control-thread-apply.js +1 -1
  68. package/dist/control-thread-apply.js.map +1 -1
  69. package/dist/control-trust.d.ts +23 -23
  70. package/dist/control-trust.d.ts.map +1 -1
  71. package/dist/control-trust.js +1 -1
  72. package/dist/control-trust.js.map +1 -1
  73. package/dist/control.d.ts +1551 -2385
  74. package/dist/control.d.ts.map +1 -1
  75. package/dist/control.js +29 -107
  76. package/dist/control.js.map +1 -1
  77. package/dist/credential-profile-snapshot.d.ts +3206 -0
  78. package/dist/credential-profile-snapshot.d.ts.map +1 -0
  79. package/dist/credential-profile-snapshot.js +28 -0
  80. package/dist/credential-profile-snapshot.js.map +1 -0
  81. package/dist/credential-profile.d.ts +170 -107
  82. package/dist/credential-profile.d.ts.map +1 -1
  83. package/dist/credential-profile.js +24 -7
  84. package/dist/credential-profile.js.map +1 -1
  85. package/dist/decision.d.ts +121 -121
  86. package/dist/decision.d.ts.map +1 -1
  87. package/dist/decision.js +2 -1
  88. package/dist/decision.js.map +1 -1
  89. package/dist/deep-scan.d.ts +5 -5
  90. package/dist/deep-scan.d.ts.map +1 -1
  91. package/dist/deep-scan.js +1 -1
  92. package/dist/deep-scan.js.map +1 -1
  93. package/dist/delegation.d.ts +13 -13
  94. package/dist/delegation.d.ts.map +1 -1
  95. package/dist/delegation.js +1 -1
  96. package/dist/delegation.js.map +1 -1
  97. package/dist/delivery.d.ts +32 -32
  98. package/dist/delivery.d.ts.map +1 -1
  99. package/dist/delivery.js +1 -1
  100. package/dist/delivery.js.map +1 -1
  101. package/dist/effort.d.ts +1 -1
  102. package/dist/effort.d.ts.map +1 -1
  103. package/dist/effort.js +1 -1
  104. package/dist/effort.js.map +1 -1
  105. package/dist/events.d.ts +55 -35
  106. package/dist/events.d.ts.map +1 -1
  107. package/dist/events.js +20 -1
  108. package/dist/events.js.map +1 -1
  109. package/dist/gate.d.ts +7 -7
  110. package/dist/gate.d.ts.map +1 -1
  111. package/dist/gate.js +1 -1
  112. package/dist/gate.js.map +1 -1
  113. package/dist/git-capability.d.ts +23 -0
  114. package/dist/git-capability.d.ts.map +1 -0
  115. package/dist/git-capability.js +15 -0
  116. package/dist/git-capability.js.map +1 -0
  117. package/dist/harness-confinement.d.ts +64 -0
  118. package/dist/harness-confinement.d.ts.map +1 -0
  119. package/dist/harness-confinement.js +64 -0
  120. package/dist/harness-confinement.js.map +1 -0
  121. package/dist/harness.d.ts +428 -408
  122. package/dist/harness.d.ts.map +1 -1
  123. package/dist/harness.js +15 -26
  124. package/dist/harness.js.map +1 -1
  125. package/dist/index.d.ts +8 -0
  126. package/dist/index.d.ts.map +1 -1
  127. package/dist/index.js +8 -0
  128. package/dist/index.js.map +1 -1
  129. package/dist/interaction.d.ts +10 -0
  130. package/dist/interaction.d.ts.map +1 -0
  131. package/dist/interaction.js +2 -0
  132. package/dist/interaction.js.map +1 -0
  133. package/dist/operation.d.ts +113 -113
  134. package/dist/operation.d.ts.map +1 -1
  135. package/dist/operation.js +1 -1
  136. package/dist/operation.js.map +1 -1
  137. package/dist/output-schema-dialect.d.ts +1 -1
  138. package/dist/output-schema-dialect.d.ts.map +1 -1
  139. package/dist/output-schema-dialect.js +1 -1
  140. package/dist/output-schema-dialect.js.map +1 -1
  141. package/dist/output-schema.d.ts +2 -2
  142. package/dist/output-schema.js +2 -2
  143. package/dist/plan.d.ts +29 -29
  144. package/dist/plan.d.ts.map +1 -1
  145. package/dist/plan.js +2 -2
  146. package/dist/plan.js.map +1 -1
  147. package/dist/primitives.d.ts +1 -1
  148. package/dist/primitives.d.ts.map +1 -1
  149. package/dist/primitives.js +1 -1
  150. package/dist/primitives.js.map +1 -1
  151. package/dist/problem.d.ts +6 -6
  152. package/dist/problem.d.ts.map +1 -1
  153. package/dist/problem.js +1 -1
  154. package/dist/problem.js.map +1 -1
  155. package/dist/project.d.ts +87 -25
  156. package/dist/project.d.ts.map +1 -1
  157. package/dist/project.js +21 -1
  158. package/dist/project.js.map +1 -1
  159. package/dist/quota.d.ts +51 -51
  160. package/dist/quota.d.ts.map +1 -1
  161. package/dist/quota.js +6 -1
  162. package/dist/quota.js.map +1 -1
  163. package/dist/raw.d.ts +16 -16
  164. package/dist/raw.d.ts.map +1 -1
  165. package/dist/raw.js +1 -1
  166. package/dist/raw.js.map +1 -1
  167. package/dist/readiness.d.ts +242 -242
  168. package/dist/readiness.d.ts.map +1 -1
  169. package/dist/readiness.js +1 -1
  170. package/dist/readiness.js.map +1 -1
  171. package/dist/recovery.d.ts +106 -106
  172. package/dist/recovery.d.ts.map +1 -1
  173. package/dist/recovery.js +1 -1
  174. package/dist/recovery.js.map +1 -1
  175. package/dist/request-requirements.d.ts +9 -9
  176. package/dist/request-requirements.d.ts.map +1 -1
  177. package/dist/request-requirements.js +1 -1
  178. package/dist/request-requirements.js.map +1 -1
  179. package/dist/review.d.ts +29 -29
  180. package/dist/review.d.ts.map +1 -1
  181. package/dist/review.js +1 -1
  182. package/dist/review.js.map +1 -1
  183. package/dist/route.d.ts +11 -11
  184. package/dist/route.d.ts.map +1 -1
  185. package/dist/route.js +1 -1
  186. package/dist/route.js.map +1 -1
  187. package/dist/run-applicability.d.ts +764 -0
  188. package/dist/run-applicability.d.ts.map +1 -0
  189. package/dist/run-applicability.js +56 -0
  190. package/dist/run-applicability.js.map +1 -0
  191. package/dist/run-facts.d.ts +628 -0
  192. package/dist/run-facts.d.ts.map +1 -0
  193. package/dist/run-facts.js +429 -0
  194. package/dist/run-facts.js.map +1 -0
  195. package/dist/run-strategy.d.ts +40 -0
  196. package/dist/run-strategy.d.ts.map +1 -1
  197. package/dist/run-strategy.js +68 -1
  198. package/dist/run-strategy.js.map +1 -1
  199. package/dist/setup-device-code-envelope.d.ts +67 -0
  200. package/dist/setup-device-code-envelope.d.ts.map +1 -0
  201. package/dist/setup-device-code-envelope.js +25 -0
  202. package/dist/setup-device-code-envelope.js.map +1 -0
  203. package/dist/setup-login-protocol.d.ts +6 -0
  204. package/dist/setup-login-protocol.d.ts.map +1 -0
  205. package/dist/setup-login-protocol.js +12 -0
  206. package/dist/setup-login-protocol.js.map +1 -0
  207. package/dist/setup-transport.d.ts +12 -0
  208. package/dist/setup-transport.d.ts.map +1 -0
  209. package/dist/setup-transport.js +22 -0
  210. package/dist/setup-transport.js.map +1 -0
  211. package/dist/setup.d.ts +12572 -3749
  212. package/dist/setup.d.ts.map +1 -1
  213. package/dist/setup.js +34 -38
  214. package/dist/setup.js.map +1 -1
  215. package/dist/status-projection.d.ts +7 -5
  216. package/dist/status-projection.d.ts.map +1 -1
  217. package/dist/status-projection.js +11 -6
  218. package/dist/status-projection.js.map +1 -1
  219. package/dist/surface-run-controls.d.ts.map +1 -1
  220. package/dist/surface-run-controls.js +10 -1
  221. package/dist/surface-run-controls.js.map +1 -1
  222. package/dist/task.d.ts +303 -303
  223. package/dist/task.d.ts.map +1 -1
  224. package/dist/task.js +1 -1
  225. package/dist/task.js.map +1 -1
  226. package/dist/telemetry.d.ts +1157 -633
  227. package/dist/telemetry.d.ts.map +1 -1
  228. package/dist/telemetry.js +7 -4
  229. package/dist/telemetry.js.map +1 -1
  230. package/dist/thread.d.ts +133 -84
  231. package/dist/thread.d.ts.map +1 -1
  232. package/dist/thread.js +21 -2
  233. package/dist/thread.js.map +1 -1
  234. package/dist/tool-ref.d.ts +7 -7
  235. package/dist/tool-ref.d.ts.map +1 -1
  236. package/dist/tool-ref.js +1 -1
  237. package/dist/tool-ref.js.map +1 -1
  238. package/dist/work-report.d.ts +28 -28
  239. package/dist/work-report.d.ts.map +1 -1
  240. package/dist/work-report.js +3 -3
  241. package/dist/work-report.js.map +1 -1
  242. package/dist/workproduct.d.ts +6 -9
  243. package/dist/workproduct.d.ts.map +1 -1
  244. package/dist/workproduct.js +1 -2
  245. package/dist/workproduct.js.map +1 -1
  246. package/dist/workspace.d.ts +13 -13
  247. package/dist/workspace.d.ts.map +1 -1
  248. package/dist/workspace.js +1 -1
  249. package/dist/workspace.js.map +1 -1
  250. package/generated/AgentCapabilityCatalog.schema.json +41 -0
  251. package/generated/ControlCredentialProfileCreateResponse.schema.json +10 -1
  252. package/generated/ControlCredentialProfileUpdateResponse.schema.json +10 -1
  253. package/generated/ControlCredentialProfilesQueryResponse.schema.json +1343 -0
  254. package/generated/ControlCredentialProfilesResponse.schema.json +20 -3
  255. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +1322 -0
  256. package/generated/ControlDirectoryEntry.schema.json +36 -0
  257. package/generated/ControlDirectoryListing.schema.json +77 -0
  258. package/generated/ControlHarnessListResponse.schema.json +41 -1
  259. package/generated/ControlQuotaResponse.schema.json +2 -1
  260. package/generated/ControlRunAgainDraft.schema.json +12 -2
  261. package/generated/ControlRunApplicabilityResponse.schema.json +217 -0
  262. package/generated/ControlRunDetail.schema.json +494 -69
  263. package/generated/ControlRunListResponse.schema.json +30 -4
  264. package/generated/ControlRunStartRequest.schema.json +12 -2
  265. package/generated/ControlRunSummary.schema.json +30 -4
  266. package/generated/ControlSettingsSnapshot.schema.json +12 -3
  267. package/generated/ControlSettingsUpdateRequest.schema.json +12 -3
  268. package/generated/ControlSetupJob.schema.json +9 -0
  269. package/generated/ControlSetupJobCreateRequest.schema.json +9 -0
  270. package/generated/ControlSetupJobEvent.schema.json +858 -758
  271. package/generated/ControlSetupJobListResponse.schema.json +9 -0
  272. package/generated/ControlSetupJobSnapshot.schema.json +811 -736
  273. package/generated/ControlThreadCreateRequest.schema.json +5 -0
  274. package/generated/ControlThreadDetail.schema.json +31 -1
  275. package/generated/ControlThreadTurnRequest.schema.json +5 -24
  276. package/generated/CredentialProfileStatus.schema.json +10 -1
  277. package/generated/DecisionRecord.schema.json +2 -1
  278. package/generated/GitCapability.schema.json +46 -0
  279. package/generated/GlobalConfig.schema.json +13 -4
  280. package/generated/HarnessEvent.schema.json +2 -1
  281. package/generated/HarnessManifest.schema.json +1 -1
  282. package/generated/HarnessStatusDto.schema.json +1 -1
  283. package/generated/McpRunHandleResult.schema.json +182 -1
  284. package/generated/McpRunToolResult.schema.json +182 -1
  285. package/generated/OutputReadyPayload.schema.json +44 -0
  286. package/generated/RunFacts.schema.json +569 -0
  287. package/generated/RunFailure.schema.json +19 -2
  288. package/generated/RunTelemetry.schema.json +492 -2
  289. package/generated/ThreadTurn.schema.json +29 -0
  290. package/generated/WorkProduct.schema.json +0 -4
  291. package/package.json +3 -3
@@ -0,0 +1,628 @@
1
+ import { z } from "zod/v3";
2
+ import { RunOutcomeFacts } from "./decision.js";
3
+ /**
4
+ * Canonical role of one model invocation in a terminal run. In particular,
5
+ * council draft lanes are planners while the synthesis invocation is a merge;
6
+ * reviewer and merge invocations can therefore never inflate planner counts.
7
+ */
8
+ export declare const RunParticipantRole: z.ZodEnum<["planner", "merge", "candidate", "scout", "reducer", "reviewer"]>;
9
+ export type RunParticipantRole = z.infer<typeof RunParticipantRole>;
10
+ export declare const RunParticipantStatus: z.ZodEnum<["success", "success_with_warnings", "blocked", "failed"]>;
11
+ export type RunParticipantStatus = z.infer<typeof RunParticipantStatus>;
12
+ export declare const RunParticipant: z.ZodObject<{
13
+ attempt_id: z.ZodNullable<z.ZodString>;
14
+ harness_id: z.ZodString;
15
+ role: z.ZodEnum<["planner", "merge", "candidate", "scout", "reducer", "reviewer"]>;
16
+ deliverable_present: z.ZodDefault<z.ZodBoolean>;
17
+ status: z.ZodDefault<z.ZodNullable<z.ZodEnum<["success", "success_with_warnings", "blocked", "failed"]>>>;
18
+ }, "strict", z.ZodTypeAny, {
19
+ attempt_id: string | null;
20
+ harness_id: string;
21
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
22
+ deliverable_present: boolean;
23
+ status: "blocked" | "failed" | "success" | "success_with_warnings" | null;
24
+ }, {
25
+ attempt_id: string | null;
26
+ harness_id: string;
27
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
28
+ deliverable_present?: boolean | undefined;
29
+ status?: "blocked" | "failed" | "success" | "success_with_warnings" | null | undefined;
30
+ }>;
31
+ export type RunParticipant = z.infer<typeof RunParticipant>;
32
+ export declare const RunDeliverableFacts: z.ZodObject<{
33
+ present: z.ZodBoolean;
34
+ kind: z.ZodNullable<z.ZodEnum<["answer", "report", "plan", "patch", "structured_output"]>>;
35
+ path: z.ZodNullable<z.ZodString>;
36
+ producer_attempt_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
37
+ }, "strict", z.ZodTypeAny, {
38
+ present: boolean;
39
+ kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
40
+ path: string | null;
41
+ producer_attempt_id: string | null;
42
+ }, {
43
+ present: boolean;
44
+ kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
45
+ path: string | null;
46
+ producer_attempt_id?: string | null | undefined;
47
+ }>;
48
+ export type RunDeliverableFacts = z.infer<typeof RunDeliverableFacts>;
49
+ export declare const RunParticipantsFacts: z.ZodObject<{
50
+ planners: z.ZodNumber;
51
+ attempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
52
+ attempt_id: z.ZodNullable<z.ZodString>;
53
+ harness_id: z.ZodString;
54
+ role: z.ZodEnum<["planner", "merge", "candidate", "scout", "reducer", "reviewer"]>;
55
+ deliverable_present: z.ZodDefault<z.ZodBoolean>;
56
+ status: z.ZodDefault<z.ZodNullable<z.ZodEnum<["success", "success_with_warnings", "blocked", "failed"]>>>;
57
+ }, "strict", z.ZodTypeAny, {
58
+ attempt_id: string | null;
59
+ harness_id: string;
60
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
61
+ deliverable_present: boolean;
62
+ status: "blocked" | "failed" | "success" | "success_with_warnings" | null;
63
+ }, {
64
+ attempt_id: string | null;
65
+ harness_id: string;
66
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
67
+ deliverable_present?: boolean | undefined;
68
+ status?: "blocked" | "failed" | "success" | "success_with_warnings" | null | undefined;
69
+ }>, "many">>;
70
+ }, "strict", z.ZodTypeAny, {
71
+ planners: number;
72
+ attempts: {
73
+ attempt_id: string | null;
74
+ harness_id: string;
75
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
76
+ deliverable_present: boolean;
77
+ status: "blocked" | "failed" | "success" | "success_with_warnings" | null;
78
+ }[];
79
+ }, {
80
+ planners: number;
81
+ attempts?: {
82
+ attempt_id: string | null;
83
+ harness_id: string;
84
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
85
+ deliverable_present?: boolean | undefined;
86
+ status?: "blocked" | "failed" | "success" | "success_with_warnings" | null | undefined;
87
+ }[] | undefined;
88
+ }>;
89
+ export type RunParticipantsFacts = z.infer<typeof RunParticipantsFacts>;
90
+ export declare const RunGateState: z.ZodEnum<["not_configured", "passed", "failed", "skipped"]>;
91
+ export type RunGateState = z.infer<typeof RunGateState>;
92
+ export declare const RunGateFacts: z.ZodObject<{
93
+ configured: z.ZodBoolean;
94
+ required: z.ZodNumber;
95
+ total: z.ZodNumber;
96
+ executed: z.ZodBoolean;
97
+ state: z.ZodEnum<["not_configured", "passed", "failed", "skipped"]>;
98
+ receipt_attempt_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
99
+ }, "strict", z.ZodTypeAny, {
100
+ configured: boolean;
101
+ required: number;
102
+ total: number;
103
+ executed: boolean;
104
+ state: "failed" | "not_configured" | "passed" | "skipped";
105
+ receipt_attempt_id: string | null;
106
+ }, {
107
+ configured: boolean;
108
+ required: number;
109
+ total: number;
110
+ executed: boolean;
111
+ state: "failed" | "not_configured" | "passed" | "skipped";
112
+ receipt_attempt_id?: string | null | undefined;
113
+ }>;
114
+ export type RunGateFacts = z.infer<typeof RunGateFacts>;
115
+ export declare const RunReviewFacts: z.ZodObject<{
116
+ state: z.ZodEnum<["approved", "blocked", "not_run"]>;
117
+ blocker_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
118
+ blockers: z.ZodNumber;
119
+ }, "strict", z.ZodTypeAny, {
120
+ state: "approved" | "blocked" | "not_run";
121
+ blocker_ids: string[];
122
+ blockers: number;
123
+ }, {
124
+ state: "approved" | "blocked" | "not_run";
125
+ blocker_ids?: string[] | undefined;
126
+ blockers: number;
127
+ }>;
128
+ export type RunReviewFacts = z.infer<typeof RunReviewFacts>;
129
+ export declare const RunApplyFacts: z.ZodObject<{
130
+ eligibility: z.ZodDefault<z.ZodNullable<z.ZodObject<{
131
+ eligible: z.ZodBoolean;
132
+ state: z.ZodNullable<z.ZodString>;
133
+ reason: z.ZodNullable<z.ZodString>;
134
+ requiredAction: z.ZodNullable<z.ZodString>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ eligible: boolean;
137
+ state: string | null;
138
+ reason: string | null;
139
+ requiredAction: string | null;
140
+ }, {
141
+ eligible: boolean;
142
+ state: string | null;
143
+ reason: string | null;
144
+ requiredAction: string | null;
145
+ }>>>;
146
+ operator_decision_present: z.ZodDefault<z.ZodBoolean>;
147
+ }, "strict", z.ZodTypeAny, {
148
+ eligibility: {
149
+ eligible: boolean;
150
+ state: string | null;
151
+ reason: string | null;
152
+ requiredAction: string | null;
153
+ } | null;
154
+ operator_decision_present: boolean;
155
+ }, {
156
+ eligibility?: {
157
+ eligible: boolean;
158
+ state: string | null;
159
+ reason: string | null;
160
+ requiredAction: string | null;
161
+ } | null | undefined;
162
+ operator_decision_present?: boolean | undefined;
163
+ }>;
164
+ export type RunApplyFacts = z.infer<typeof RunApplyFacts>;
165
+ export declare const RunPresentationPrimary: z.ZodObject<{
166
+ kind: z.ZodEnum<["answer", "report", "plan", "patch", "structured_output", "diagnostic"]>;
167
+ path: z.ZodEffects<z.ZodString, string, string>;
168
+ }, "strict", z.ZodTypeAny, {
169
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
170
+ path: string;
171
+ }, {
172
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
173
+ path: string;
174
+ }>;
175
+ export type RunPresentationPrimary = z.infer<typeof RunPresentationPrimary>;
176
+ export declare const RunPresentationFacts: z.ZodObject<{
177
+ state: z.ZodEnum<["ready", "diagnostic"]>;
178
+ primary: z.ZodNullable<z.ZodObject<{
179
+ kind: z.ZodEnum<["answer", "report", "plan", "patch", "structured_output", "diagnostic"]>;
180
+ path: z.ZodEffects<z.ZodString, string, string>;
181
+ }, "strict", z.ZodTypeAny, {
182
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
183
+ path: string;
184
+ }, {
185
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
186
+ path: string;
187
+ }>>;
188
+ }, "strict", z.ZodTypeAny, {
189
+ state: "diagnostic" | "ready";
190
+ primary: {
191
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
192
+ path: string;
193
+ } | null;
194
+ }, {
195
+ state: "diagnostic" | "ready";
196
+ primary: {
197
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
198
+ path: string;
199
+ } | null;
200
+ }>;
201
+ export type RunPresentationFacts = z.infer<typeof RunPresentationFacts>;
202
+ /**
203
+ * Immutable terminal RunFacts receipt (GH #29). The orchestrator builds this
204
+ * once from the attempt graph and canonical artifacts, validates its cross-axis
205
+ * invariants, then persists the exact object consumed by machine surfaces.
206
+ */
207
+ export declare const RunFacts: z.ZodObject<{
208
+ schema_version: z.ZodLiteral<2>;
209
+ run_id: z.ZodString;
210
+ task_id: z.ZodString;
211
+ mode: z.ZodEnum<["ask", "plan", "agent"]>;
212
+ outcome: z.ZodObject<{
213
+ lifecycle: z.ZodEnum<["succeeded", "failed", "cancelled", "interrupted"]>;
214
+ noChanges: z.ZodDefault<z.ZodBoolean>;
215
+ checks: z.ZodDefault<z.ZodEnum<["passed", "failed", "not_configured"]>>;
216
+ review: z.ZodDefault<z.ZodEnum<["approved", "blocked", "not_run"]>>;
217
+ reason: z.ZodDefault<z.ZodNullable<z.ZodEnum<["harness_failed", "no_changes", "review_blocked", "checks_failed", "budget_exhausted", "budget_overshoot", "cost_unverifiable", "not_converged", "stuck_no_progress", "wall_clock_exceeded", "user_cancelled", "crash_interrupted", "workspace_unavailable", "input_required", "work_incomplete", "context_capacity_exhausted", "work_report_contract"]>>>;
218
+ work_state: z.ZodOptional<z.ZodObject<{
219
+ state: z.ZodEnum<["completed", "needs_input", "incomplete", "unverified"]>;
220
+ source: z.ZodEnum<["constrained", "validated", "absent"]>;
221
+ required_inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
222
+ kind: z.ZodEnum<["file", "context", "credential", "permission", "decision", "external_dependency"]>;
223
+ locator: z.ZodDefault<z.ZodNullable<z.ZodString>>;
224
+ description: z.ZodString;
225
+ }, "strip", z.ZodTypeAny, {
226
+ kind: "context" | "credential" | "decision" | "external_dependency" | "file" | "permission";
227
+ locator: string | null;
228
+ description: string;
229
+ }, {
230
+ kind: "context" | "credential" | "decision" | "external_dependency" | "file" | "permission";
231
+ locator?: string | null | undefined;
232
+ description: string;
233
+ }>, "many">>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ state: "completed" | "incomplete" | "needs_input" | "unverified";
236
+ source: "absent" | "constrained" | "validated";
237
+ required_inputs?: {
238
+ kind: "context" | "credential" | "decision" | "external_dependency" | "file" | "permission";
239
+ locator: string | null;
240
+ description: string;
241
+ }[] | undefined;
242
+ }, {
243
+ state: "completed" | "incomplete" | "needs_input" | "unverified";
244
+ source: "absent" | "constrained" | "validated";
245
+ required_inputs?: {
246
+ kind: "context" | "credential" | "decision" | "external_dependency" | "file" | "permission";
247
+ locator?: string | null | undefined;
248
+ description: string;
249
+ }[] | undefined;
250
+ }>>;
251
+ }, "strict", z.ZodTypeAny, {
252
+ lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
253
+ noChanges: boolean;
254
+ checks: "failed" | "not_configured" | "passed";
255
+ review: "approved" | "blocked" | "not_run";
256
+ reason: "budget_exhausted" | "budget_overshoot" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "input_required" | "no_changes" | "not_converged" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
257
+ work_state?: {
258
+ state: "completed" | "incomplete" | "needs_input" | "unverified";
259
+ source: "absent" | "constrained" | "validated";
260
+ required_inputs?: {
261
+ kind: "context" | "credential" | "decision" | "external_dependency" | "file" | "permission";
262
+ locator: string | null;
263
+ description: string;
264
+ }[] | undefined;
265
+ } | undefined;
266
+ }, {
267
+ lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
268
+ noChanges?: boolean | undefined;
269
+ checks?: "failed" | "not_configured" | "passed" | undefined;
270
+ review?: "approved" | "blocked" | "not_run" | undefined;
271
+ reason?: "budget_exhausted" | "budget_overshoot" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "input_required" | "no_changes" | "not_converged" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
272
+ work_state?: {
273
+ state: "completed" | "incomplete" | "needs_input" | "unverified";
274
+ source: "absent" | "constrained" | "validated";
275
+ required_inputs?: {
276
+ kind: "context" | "credential" | "decision" | "external_dependency" | "file" | "permission";
277
+ locator?: string | null | undefined;
278
+ description: string;
279
+ }[] | undefined;
280
+ } | undefined;
281
+ }>;
282
+ deliverable: z.ZodObject<{
283
+ present: z.ZodBoolean;
284
+ kind: z.ZodNullable<z.ZodEnum<["answer", "report", "plan", "patch", "structured_output"]>>;
285
+ path: z.ZodNullable<z.ZodString>;
286
+ producer_attempt_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
287
+ }, "strict", z.ZodTypeAny, {
288
+ present: boolean;
289
+ kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
290
+ path: string | null;
291
+ producer_attempt_id: string | null;
292
+ }, {
293
+ present: boolean;
294
+ kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
295
+ path: string | null;
296
+ producer_attempt_id?: string | null | undefined;
297
+ }>;
298
+ presentation: z.ZodOptional<z.ZodObject<{
299
+ state: z.ZodEnum<["ready", "diagnostic"]>;
300
+ primary: z.ZodNullable<z.ZodObject<{
301
+ kind: z.ZodEnum<["answer", "report", "plan", "patch", "structured_output", "diagnostic"]>;
302
+ path: z.ZodEffects<z.ZodString, string, string>;
303
+ }, "strict", z.ZodTypeAny, {
304
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
305
+ path: string;
306
+ }, {
307
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
308
+ path: string;
309
+ }>>;
310
+ }, "strict", z.ZodTypeAny, {
311
+ state: "diagnostic" | "ready";
312
+ primary: {
313
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
314
+ path: string;
315
+ } | null;
316
+ }, {
317
+ state: "diagnostic" | "ready";
318
+ primary: {
319
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
320
+ path: string;
321
+ } | null;
322
+ }>>;
323
+ participants: z.ZodObject<{
324
+ planners: z.ZodNumber;
325
+ attempts: z.ZodDefault<z.ZodArray<z.ZodObject<{
326
+ attempt_id: z.ZodNullable<z.ZodString>;
327
+ harness_id: z.ZodString;
328
+ role: z.ZodEnum<["planner", "merge", "candidate", "scout", "reducer", "reviewer"]>;
329
+ deliverable_present: z.ZodDefault<z.ZodBoolean>;
330
+ status: z.ZodDefault<z.ZodNullable<z.ZodEnum<["success", "success_with_warnings", "blocked", "failed"]>>>;
331
+ }, "strict", z.ZodTypeAny, {
332
+ attempt_id: string | null;
333
+ harness_id: string;
334
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
335
+ deliverable_present: boolean;
336
+ status: "blocked" | "failed" | "success" | "success_with_warnings" | null;
337
+ }, {
338
+ attempt_id: string | null;
339
+ harness_id: string;
340
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
341
+ deliverable_present?: boolean | undefined;
342
+ status?: "blocked" | "failed" | "success" | "success_with_warnings" | null | undefined;
343
+ }>, "many">>;
344
+ }, "strict", z.ZodTypeAny, {
345
+ planners: number;
346
+ attempts: {
347
+ attempt_id: string | null;
348
+ harness_id: string;
349
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
350
+ deliverable_present: boolean;
351
+ status: "blocked" | "failed" | "success" | "success_with_warnings" | null;
352
+ }[];
353
+ }, {
354
+ planners: number;
355
+ attempts?: {
356
+ attempt_id: string | null;
357
+ harness_id: string;
358
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
359
+ deliverable_present?: boolean | undefined;
360
+ status?: "blocked" | "failed" | "success" | "success_with_warnings" | null | undefined;
361
+ }[] | undefined;
362
+ }>;
363
+ gates: z.ZodObject<{
364
+ configured: z.ZodBoolean;
365
+ required: z.ZodNumber;
366
+ total: z.ZodNumber;
367
+ executed: z.ZodBoolean;
368
+ state: z.ZodEnum<["not_configured", "passed", "failed", "skipped"]>;
369
+ receipt_attempt_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
370
+ }, "strict", z.ZodTypeAny, {
371
+ configured: boolean;
372
+ required: number;
373
+ total: number;
374
+ executed: boolean;
375
+ state: "failed" | "not_configured" | "passed" | "skipped";
376
+ receipt_attempt_id: string | null;
377
+ }, {
378
+ configured: boolean;
379
+ required: number;
380
+ total: number;
381
+ executed: boolean;
382
+ state: "failed" | "not_configured" | "passed" | "skipped";
383
+ receipt_attempt_id?: string | null | undefined;
384
+ }>;
385
+ review: z.ZodObject<{
386
+ state: z.ZodEnum<["approved", "blocked", "not_run"]>;
387
+ blocker_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
388
+ blockers: z.ZodNumber;
389
+ }, "strict", z.ZodTypeAny, {
390
+ state: "approved" | "blocked" | "not_run";
391
+ blocker_ids: string[];
392
+ blockers: number;
393
+ }, {
394
+ state: "approved" | "blocked" | "not_run";
395
+ blocker_ids?: string[] | undefined;
396
+ blockers: number;
397
+ }>;
398
+ apply: z.ZodObject<{
399
+ eligibility: z.ZodDefault<z.ZodNullable<z.ZodObject<{
400
+ eligible: z.ZodBoolean;
401
+ state: z.ZodNullable<z.ZodString>;
402
+ reason: z.ZodNullable<z.ZodString>;
403
+ requiredAction: z.ZodNullable<z.ZodString>;
404
+ }, "strip", z.ZodTypeAny, {
405
+ eligible: boolean;
406
+ state: string | null;
407
+ reason: string | null;
408
+ requiredAction: string | null;
409
+ }, {
410
+ eligible: boolean;
411
+ state: string | null;
412
+ reason: string | null;
413
+ requiredAction: string | null;
414
+ }>>>;
415
+ operator_decision_present: z.ZodDefault<z.ZodBoolean>;
416
+ }, "strict", z.ZodTypeAny, {
417
+ eligibility: {
418
+ eligible: boolean;
419
+ state: string | null;
420
+ reason: string | null;
421
+ requiredAction: string | null;
422
+ } | null;
423
+ operator_decision_present: boolean;
424
+ }, {
425
+ eligibility?: {
426
+ eligible: boolean;
427
+ state: string | null;
428
+ reason: string | null;
429
+ requiredAction: string | null;
430
+ } | null | undefined;
431
+ operator_decision_present?: boolean | undefined;
432
+ }>;
433
+ required_actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
434
+ id: z.ZodEnum<["provide_required_input", "complete_incomplete_work", "resolve_review_block", "fix_failed_checks", "record_operator_decision"]>;
435
+ detail: z.ZodString;
436
+ }, "strict", z.ZodTypeAny, {
437
+ id: "complete_incomplete_work" | "fix_failed_checks" | "provide_required_input" | "record_operator_decision" | "resolve_review_block";
438
+ detail: string;
439
+ }, {
440
+ id: "complete_incomplete_work" | "fix_failed_checks" | "provide_required_input" | "record_operator_decision" | "resolve_review_block";
441
+ detail: string;
442
+ }>, "many">>;
443
+ generated_at: z.ZodString;
444
+ }, "strict", z.ZodTypeAny, {
445
+ schema_version: 2;
446
+ run_id: string;
447
+ task_id: string;
448
+ mode: "agent" | "ask" | "plan";
449
+ outcome: {
450
+ lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
451
+ noChanges: boolean;
452
+ checks: "failed" | "not_configured" | "passed";
453
+ review: "approved" | "blocked" | "not_run";
454
+ reason: "budget_exhausted" | "budget_overshoot" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "input_required" | "no_changes" | "not_converged" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null;
455
+ work_state?: {
456
+ state: "completed" | "incomplete" | "needs_input" | "unverified";
457
+ source: "absent" | "constrained" | "validated";
458
+ required_inputs?: {
459
+ kind: "context" | "credential" | "decision" | "external_dependency" | "file" | "permission";
460
+ locator: string | null;
461
+ description: string;
462
+ }[] | undefined;
463
+ } | undefined;
464
+ };
465
+ deliverable: {
466
+ present: boolean;
467
+ kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
468
+ path: string | null;
469
+ producer_attempt_id: string | null;
470
+ };
471
+ presentation?: {
472
+ state: "diagnostic" | "ready";
473
+ primary: {
474
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
475
+ path: string;
476
+ } | null;
477
+ } | undefined;
478
+ participants: {
479
+ planners: number;
480
+ attempts: {
481
+ attempt_id: string | null;
482
+ harness_id: string;
483
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
484
+ deliverable_present: boolean;
485
+ status: "blocked" | "failed" | "success" | "success_with_warnings" | null;
486
+ }[];
487
+ };
488
+ gates: {
489
+ configured: boolean;
490
+ required: number;
491
+ total: number;
492
+ executed: boolean;
493
+ state: "failed" | "not_configured" | "passed" | "skipped";
494
+ receipt_attempt_id: string | null;
495
+ };
496
+ review: {
497
+ state: "approved" | "blocked" | "not_run";
498
+ blocker_ids: string[];
499
+ blockers: number;
500
+ };
501
+ apply: {
502
+ eligibility: {
503
+ eligible: boolean;
504
+ state: string | null;
505
+ reason: string | null;
506
+ requiredAction: string | null;
507
+ } | null;
508
+ operator_decision_present: boolean;
509
+ };
510
+ required_actions: {
511
+ id: "complete_incomplete_work" | "fix_failed_checks" | "provide_required_input" | "record_operator_decision" | "resolve_review_block";
512
+ detail: string;
513
+ }[];
514
+ generated_at: string;
515
+ }, {
516
+ schema_version: 2;
517
+ run_id: string;
518
+ task_id: string;
519
+ mode: "agent" | "ask" | "plan";
520
+ outcome: {
521
+ lifecycle: "cancelled" | "failed" | "interrupted" | "succeeded";
522
+ noChanges?: boolean | undefined;
523
+ checks?: "failed" | "not_configured" | "passed" | undefined;
524
+ review?: "approved" | "blocked" | "not_run" | undefined;
525
+ reason?: "budget_exhausted" | "budget_overshoot" | "checks_failed" | "context_capacity_exhausted" | "cost_unverifiable" | "crash_interrupted" | "harness_failed" | "input_required" | "no_changes" | "not_converged" | "review_blocked" | "stuck_no_progress" | "user_cancelled" | "wall_clock_exceeded" | "work_incomplete" | "work_report_contract" | "workspace_unavailable" | null | undefined;
526
+ work_state?: {
527
+ state: "completed" | "incomplete" | "needs_input" | "unverified";
528
+ source: "absent" | "constrained" | "validated";
529
+ required_inputs?: {
530
+ kind: "context" | "credential" | "decision" | "external_dependency" | "file" | "permission";
531
+ locator?: string | null | undefined;
532
+ description: string;
533
+ }[] | undefined;
534
+ } | undefined;
535
+ };
536
+ deliverable: {
537
+ present: boolean;
538
+ kind: "answer" | "patch" | "plan" | "report" | "structured_output" | null;
539
+ path: string | null;
540
+ producer_attempt_id?: string | null | undefined;
541
+ };
542
+ presentation?: {
543
+ state: "diagnostic" | "ready";
544
+ primary: {
545
+ kind: "answer" | "diagnostic" | "patch" | "plan" | "report" | "structured_output";
546
+ path: string;
547
+ } | null;
548
+ } | undefined;
549
+ participants: {
550
+ planners: number;
551
+ attempts?: {
552
+ attempt_id: string | null;
553
+ harness_id: string;
554
+ role: "candidate" | "merge" | "planner" | "reducer" | "reviewer" | "scout";
555
+ deliverable_present?: boolean | undefined;
556
+ status?: "blocked" | "failed" | "success" | "success_with_warnings" | null | undefined;
557
+ }[] | undefined;
558
+ };
559
+ gates: {
560
+ configured: boolean;
561
+ required: number;
562
+ total: number;
563
+ executed: boolean;
564
+ state: "failed" | "not_configured" | "passed" | "skipped";
565
+ receipt_attempt_id?: string | null | undefined;
566
+ };
567
+ review: {
568
+ state: "approved" | "blocked" | "not_run";
569
+ blocker_ids?: string[] | undefined;
570
+ blockers: number;
571
+ };
572
+ apply: {
573
+ eligibility?: {
574
+ eligible: boolean;
575
+ state: string | null;
576
+ reason: string | null;
577
+ requiredAction: string | null;
578
+ } | null | undefined;
579
+ operator_decision_present?: boolean | undefined;
580
+ };
581
+ required_actions?: {
582
+ id: "complete_incomplete_work" | "fix_failed_checks" | "provide_required_input" | "record_operator_decision" | "resolve_review_block";
583
+ detail: string;
584
+ }[] | undefined;
585
+ generated_at: string;
586
+ }>;
587
+ export type RunFacts = z.infer<typeof RunFacts>;
588
+ /** Identity a canonical receipt must match before any surface may serve it:
589
+ * the daemon/CLI-known run and task ids plus, when the caller holds a settled
590
+ * terminal state, the exact lifecycle. Undefined fields are simply not
591
+ * asserted (e.g. a legacy caller that knows only the run id). */
592
+ export interface ExpectedRunFactsIdentity {
593
+ runId?: string;
594
+ taskId?: string;
595
+ lifecycle?: RunOutcomeFacts["lifecycle"];
596
+ }
597
+ /** Typed refusal for a PRESENT-but-untrustworthy canonical receipt: wrong
598
+ * shape, violated cross-axis invariants, or an identity that contradicts the
599
+ * caller's authority. The pure core carries the stable machine fields
600
+ * (code/retryable/evidenceRefs); each surface adds its own transport mapping
601
+ * (control-api: HTTP 500 + requiredActions; CLI: renderCliFailure exit). */
602
+ export declare class RunFactsInvalidError extends Error {
603
+ readonly code = "run_facts_invalid";
604
+ readonly retryable = false;
605
+ readonly evidenceRefs: string[];
606
+ constructor();
607
+ }
608
+ /**
609
+ * THE shared pure validation owner for reading a canonical receipt back on any
610
+ * surface: wire shape, cross-axis invariants, and identity binding in one
611
+ * place. Filesystem access, root resolution, and transport/error mapping stay
612
+ * with the callers — this function never touches disk.
613
+ */
614
+ export declare function validateRunFactsReceipt(value: unknown, expected?: ExpectedRunFactsIdentity): RunFacts;
615
+ /** Typed invariant refusal raised before a contradictory RunFacts receipt can
616
+ * be persisted. `violations` is stable diagnostic evidence for tests/logs; it
617
+ * is not a surface vocabulary. */
618
+ export declare class RunFactsInvariantError extends Error {
619
+ readonly violations: string[];
620
+ readonly code = "run_facts_invariant";
621
+ constructor(violations: string[]);
622
+ }
623
+ /**
624
+ * Validate both the RunFacts wire shape and the relationships its individual
625
+ * Zod fields cannot express. Returns the parsed/defaulted receipt on success.
626
+ */
627
+ export declare function validateRunFactsInvariants(value: unknown): RunFacts;
628
+ //# sourceMappingURL=run-facts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-facts.d.ts","sourceRoot":"","sources":["../src/run-facts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAC;AAE3B,OAAO,EAAe,eAAe,EAAE,MAA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