@astrosheep/keiyaku 4.6.27 → 4.6.28

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 (285) hide show
  1. package/README.md +76 -35
  2. package/build/plugins/claude/.claude-plugin/plugin.json +1 -1
  3. package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +39 -4
  4. package/build/plugins/claude/skills/keiyaku-akuma/references/automation.md +4 -7
  5. package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +1 -1
  6. package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +39 -15
  7. package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +42 -22
  8. package/build/plugins/codex/.codex-plugin/plugin.json +1 -1
  9. package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +39 -4
  10. package/build/plugins/codex/skills/keiyaku-akuma/references/automation.md +4 -7
  11. package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +1 -1
  12. package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +39 -15
  13. package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +42 -22
  14. package/build/plugins/opencode/package.json +1 -1
  15. package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +39 -4
  16. package/build/plugins/opencode/skills/keiyaku-akuma/references/automation.md +4 -7
  17. package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +1 -1
  18. package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +39 -15
  19. package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +42 -22
  20. package/build/plugins/pi/README.md +7 -12
  21. package/build/plugins/pi/akuma-tools.ts +3 -18
  22. package/build/skills/keiyaku-akuma/SKILL.md +39 -4
  23. package/build/skills/keiyaku-akuma/references/automation.md +4 -7
  24. package/build/skills/keiyaku-babysit/SKILL.md +1 -1
  25. package/build/skills/keiyaku-bind/SKILL.md +39 -15
  26. package/build/skills/keiyaku-workflow/SKILL.md +42 -22
  27. package/build/src/akuma/akuma-call.d.ts +15 -18
  28. package/build/src/akuma/akuma-call.js +55 -112
  29. package/build/src/akuma/akuma-errors.d.ts +0 -5
  30. package/build/src/akuma/akuma-errors.js +0 -9
  31. package/build/src/akuma/akuma-instance.d.ts +0 -2
  32. package/build/src/akuma/akuma-instance.js +18 -14
  33. package/build/src/akuma/akuma-observe.js +0 -1
  34. package/build/src/akuma/akuma-owner.js +0 -1
  35. package/build/src/akuma/akuma.d.ts +10 -26
  36. package/build/src/akuma/akuma.js +0 -2
  37. package/build/src/akuma/archetype.d.ts +0 -2
  38. package/build/src/akuma/archetype.js +3 -9
  39. package/build/src/akuma/body-launch.d.ts +12 -4
  40. package/build/src/akuma/body.d.ts +2 -5
  41. package/build/src/akuma/body.js +5 -49
  42. package/build/src/akuma/call-initial-tell.d.ts +39 -147
  43. package/build/src/akuma/call-initial-tell.js +0 -48
  44. package/build/src/akuma/caller.d.ts +0 -4
  45. package/build/src/akuma/custody.js +1 -57
  46. package/build/src/akuma/heart/facts.d.ts +0 -39
  47. package/build/src/akuma/heart/facts.js +0 -1
  48. package/build/src/akuma/heart/index.d.ts +1 -2
  49. package/build/src/akuma/heart/index.js +0 -1
  50. package/build/src/akuma/heart/schema.js +0 -26
  51. package/build/src/akuma/heart/soul.d.ts +2 -2
  52. package/build/src/akuma/heart/soul.js +2 -4
  53. package/build/src/akuma/identity.d.ts +0 -1
  54. package/build/src/akuma/identity.js +0 -2
  55. package/build/src/akuma/in-process-body.d.ts +1 -1
  56. package/build/src/akuma/index.d.ts +0 -2
  57. package/build/src/akuma/index.js +0 -1
  58. package/build/src/akuma/projection.d.ts +23 -23
  59. package/build/src/akuma/provider.d.ts +0 -5
  60. package/build/src/akuma/provider.js +0 -1
  61. package/build/src/akuma/providers/acp/core.js +1 -1
  62. package/build/src/akuma/providers/claude/index.js +1 -2
  63. package/build/src/akuma/providers/codex-app-server/index.js +1 -1
  64. package/build/src/akuma/providers/execution-environment.d.ts +1 -3
  65. package/build/src/akuma/providers/execution-environment.js +1 -7
  66. package/build/src/akuma/providers/opencode-sdk/index.js +0 -1
  67. package/build/src/akuma/providers/opencode-sdk/session.d.ts +0 -1
  68. package/build/src/akuma/providers/opencode-sdk/session.js +4 -4
  69. package/build/src/akuma/providers/paseo/index.js +2 -9
  70. package/build/src/akuma/providers/pi/index.js +8 -14
  71. package/build/src/akuma/publication.d.ts +24 -59
  72. package/build/src/akuma/publication.js +29 -64
  73. package/build/src/akuma/selection-observation.d.ts +47 -2036
  74. package/build/src/akuma/selection-observation.js +1 -59
  75. package/build/src/akuma/turn-drive.d.ts +0 -8
  76. package/build/src/akuma/turn-drive.js +19 -103
  77. package/build/src/akuma-body.js +3 -6
  78. package/build/src/body-host.d.ts +8 -2
  79. package/build/src/body-host.js +30 -4
  80. package/build/src/cli/commands/akuma-grammar.d.ts +0 -2
  81. package/build/src/cli/commands/akuma-grammar.js +10 -33
  82. package/build/src/cli/commands/akuma.js +31 -49
  83. package/build/src/cli/commands/contract-grammar.d.ts +7 -1
  84. package/build/src/cli/commands/contract-grammar.js +15 -0
  85. package/build/src/cli/commands/contract-help.d.ts +13 -1
  86. package/build/src/cli/commands/contract-help.js +47 -16
  87. package/build/src/cli/commands/contract.js +27 -26
  88. package/build/src/cli/commands/debt.js +3 -3
  89. package/build/src/cli/commands/whoami.d.ts +0 -2
  90. package/build/src/cli/commands/whoami.js +0 -5
  91. package/build/src/cli/coordinates.js +15 -0
  92. package/build/src/cli/delivery-identity.d.ts +3 -0
  93. package/build/src/cli/delivery-identity.js +23 -0
  94. package/build/src/cli/parse.js +1 -0
  95. package/build/src/cli/render/akuma-activity.d.ts +0 -1
  96. package/build/src/cli/render/akuma-activity.js +1 -4
  97. package/build/src/cli/render/catalog.js +7 -1
  98. package/build/src/cli/render/contract-history.js +16 -38
  99. package/build/src/cli/render/contract-observation.d.ts +23 -10
  100. package/build/src/cli/render/contract-observation.js +9 -6
  101. package/build/src/cli/render/contract-wait.d.ts +2 -0
  102. package/build/src/cli/render/contract-wait.js +18 -0
  103. package/build/src/cli/render/contract.d.ts +2 -2
  104. package/build/src/cli/render/contract.js +57 -39
  105. package/build/src/cli/render/delivery-preview.js +13 -26
  106. package/build/src/cli/render/execution-progress.js +9 -9
  107. package/build/src/cli/render/kanshi.js +4 -11
  108. package/build/src/cli/render/receipt.d.ts +18 -0
  109. package/build/src/cli/render/receipt.js +34 -10
  110. package/build/src/cli/render/reconcile.js +3 -0
  111. package/build/src/cli/render/refusal.js +28 -6
  112. package/build/src/cli/render/whoami.js +1 -4
  113. package/build/src/cli/runtime.d.ts +0 -2
  114. package/build/src/cli/runtime.js +3 -7
  115. package/build/src/cli/selectors.d.ts +1 -2
  116. package/build/src/cli/selectors.js +2 -5
  117. package/build/src/contract-guidance.js +4 -2
  118. package/build/src/contract-worktree.d.ts +3 -3
  119. package/build/src/core/facts/codec.js +38 -5
  120. package/build/src/core/facts/fold.js +1 -0
  121. package/build/src/core/facts/gate.d.ts +10 -4
  122. package/build/src/core/facts/gate.js +56 -39
  123. package/build/src/core/facts/observation.d.ts +7 -1
  124. package/build/src/core/facts/observation.js +15 -0
  125. package/build/src/core/facts/offer.d.ts +2 -2
  126. package/build/src/core/facts/types.d.ts +17 -1
  127. package/build/src/core/facts/types.js +6 -0
  128. package/build/src/core/verbs/amend.js +8 -0
  129. package/build/src/core/verbs/bind.d.ts +3 -1
  130. package/build/src/core/verbs/bind.js +9 -1
  131. package/build/src/core/verbs/deliver.d.ts +2 -1
  132. package/build/src/core/verbs/deliver.js +4 -1
  133. package/build/src/core/verbs/placement.d.ts +2 -1
  134. package/build/src/core/verbs/placement.js +7 -4
  135. package/build/src/core/verbs/reintegrate.d.ts +2 -1
  136. package/build/src/core/verbs/reintegrate.js +4 -1
  137. package/build/src/debt/board.d.ts +10 -10
  138. package/build/src/debt/created-observation.d.ts +3 -3
  139. package/build/src/debt/document.d.ts +1 -1
  140. package/build/src/debt/index.d.ts +2 -24
  141. package/build/src/debt/index.js +11 -71
  142. package/build/src/debt/operation-types.d.ts +44 -3
  143. package/build/src/git/admission.js +18 -6
  144. package/build/src/git/integration.d.ts +4 -4
  145. package/build/src/git/integration.js +7 -1
  146. package/build/src/git/observe.d.ts +6 -4
  147. package/build/src/git/observe.js +18 -17
  148. package/build/src/git/reconcile.d.ts +20 -8
  149. package/build/src/git/reconcile.js +94 -45
  150. package/build/src/git/repository.d.ts +3 -1
  151. package/build/src/git/repository.js +26 -4
  152. package/build/src/git/scratch.d.ts +1 -1
  153. package/build/src/git/scratch.js +19 -18
  154. package/build/src/git/target-placement.d.ts +33 -7
  155. package/build/src/git/target-placement.js +67 -18
  156. package/build/src/git/target.d.ts +32 -0
  157. package/build/src/git/target.js +84 -0
  158. package/build/src/git/terminal-reconcile.d.ts +1 -1
  159. package/build/src/git/terminal-reconcile.js +34 -6
  160. package/build/src/index.d.ts +9 -7
  161. package/build/src/index.js +1 -1
  162. package/build/src/library/address.d.ts +1 -20
  163. package/build/src/library/address.js +3 -24
  164. package/build/src/library/akuma-creation.d.ts +2 -5
  165. package/build/src/library/akuma-creation.js +60 -44
  166. package/build/src/library/akumas.d.ts +3 -9
  167. package/build/src/library/akumas.js +12 -25
  168. package/build/src/library/bind.d.ts +21 -9
  169. package/build/src/library/bind.js +5 -1
  170. package/build/src/library/continuation.d.ts +130 -155
  171. package/build/src/library/continuation.js +1 -4
  172. package/build/src/library/contract-composition.d.ts +4 -9
  173. package/build/src/library/contract-composition.js +8 -12
  174. package/build/src/library/contract-creation.d.ts +1 -3
  175. package/build/src/library/contract-creation.js +2 -3
  176. package/build/src/library/contract-execution.d.ts +3 -5
  177. package/build/src/library/contract-execution.js +55 -96
  178. package/build/src/library/contract-outcomes.d.ts +2 -1
  179. package/build/src/library/contract-types.d.ts +5 -0
  180. package/build/src/library/contract-wait.d.ts +35 -0
  181. package/build/src/library/contract-wait.js +141 -0
  182. package/build/src/library/delivery.d.ts +13 -525
  183. package/build/src/library/delivery.js +1 -12
  184. package/build/src/library/input.js +2 -1
  185. package/build/src/library/invocation.d.ts +5 -1
  186. package/build/src/library/invocation.js +9 -2
  187. package/build/src/library/keiyaku.d.ts +7 -6
  188. package/build/src/library/keiyaku.js +12 -7
  189. package/build/src/library/outcome.d.ts +461 -12586
  190. package/build/src/library/outcome.js +15 -234
  191. package/build/src/library/reconcile.d.ts +12 -0
  192. package/build/src/library/reconcile.js +1 -0
  193. package/build/src/library/refusal.d.ts +251 -34
  194. package/build/src/library/refusal.js +10 -5
  195. package/build/src/library/selection.d.ts +9 -35
  196. package/build/src/library/selection.js +59 -129
  197. package/build/src/plugin/akuma-signals.d.ts +2 -2
  198. package/build/src/plugin/akuma-signals.js +2 -2
  199. package/build/src/plugin/public.d.ts +0 -7
  200. package/build/src/plugin/runtime.d.ts +2 -2
  201. package/build/src/plugin/runtime.js +4 -3
  202. package/build/src/protocol/attempt.js +7 -3
  203. package/build/src/protocol/bind.d.ts +18 -4
  204. package/build/src/protocol/bind.js +102 -35
  205. package/build/src/protocol/completion.d.ts +18 -331
  206. package/build/src/protocol/completion.js +17 -130
  207. package/build/src/protocol/deliver.d.ts +3 -3
  208. package/build/src/protocol/deliver.js +64 -74
  209. package/build/src/protocol/delivery-preview.d.ts +85 -28
  210. package/build/src/protocol/delivery-preview.js +34 -22
  211. package/build/src/protocol/execution-observation.d.ts +12 -9
  212. package/build/src/protocol/execution-observation.js +0 -1
  213. package/build/src/protocol/intent.d.ts +20 -50
  214. package/build/src/protocol/intent.js +37 -44
  215. package/build/src/protocol/operations.d.ts +299 -19
  216. package/build/src/protocol/operations.js +68 -27
  217. package/build/src/protocol/outcome.d.ts +1 -1
  218. package/build/src/protocol/placement.d.ts +2 -2
  219. package/build/src/protocol/placement.js +4 -3
  220. package/build/src/protocol/progress.d.ts +35 -2
  221. package/build/src/protocol/progress.js +12 -1
  222. package/build/src/protocol/read/observation.js +15 -4
  223. package/build/src/protocol/read/status.d.ts +9 -14
  224. package/build/src/protocol/read/status.js +15 -22
  225. package/build/src/protocol/reintegrate.d.ts +4 -3
  226. package/build/src/protocol/reintegrate.js +21 -5
  227. package/build/src/protocol/review.d.ts +9 -15
  228. package/build/src/protocol/review.js +2 -6
  229. package/build/src/protocol/run.d.ts +1 -1
  230. package/build/src/protocol/verify.d.ts +51 -0
  231. package/build/src/protocol/verify.js +128 -0
  232. package/build/src/verification/declaration.d.ts +5 -1
  233. package/build/src/verification/declaration.js +19 -2
  234. package/build/src/verification/execution.d.ts +5 -2
  235. package/build/src/verification/execution.js +48 -53
  236. package/build/src/verification/observation.d.ts +10 -6
  237. package/build/src/verification/observation.js +5 -2
  238. package/package.json +3 -3
  239. package/plugins/paseo/plugin/index.server.ts +3 -0
  240. package/plugins/paseo/plugin/server/attach.ts +42 -0
  241. package/plugins/paseo/plugin/server/mirror-identity.ts +51 -0
  242. package/plugins/paseo/plugin/server/model.ts +26 -0
  243. package/plugins/paseo/plugin/server/provider.ts +4 -6
  244. package/plugins/paseo/plugin/server/reopen.ts +4 -39
  245. package/plugins/pi/README.md +7 -12
  246. package/plugins/pi/akuma-tools.ts +3 -18
  247. package/skills/keiyaku-akuma/SKILL.md +39 -4
  248. package/skills/keiyaku-akuma/references/automation.md +4 -7
  249. package/skills/keiyaku-babysit/SKILL.md +1 -1
  250. package/skills/keiyaku-bind/SKILL.md +39 -15
  251. package/skills/keiyaku-workflow/SKILL.md +42 -22
  252. package/build/src/akuma/allowed.d.ts +0 -23
  253. package/build/src/akuma/allowed.js +0 -63
  254. package/build/src/akuma/call-request.d.ts +0 -308
  255. package/build/src/akuma/call-request.js +0 -175
  256. package/build/src/akuma/heart/request-authority.d.ts +0 -16
  257. package/build/src/akuma/heart/request-authority.js +0 -140
  258. package/build/src/akuma/heart/request-rows.d.ts +0 -18
  259. package/build/src/akuma/heart/request-rows.js +0 -107
  260. package/build/src/akuma/request-lifecycle.d.ts +0 -42
  261. package/build/src/akuma/request-lifecycle.js +0 -197
  262. package/build/src/akuma/request-observation.d.ts +0 -45
  263. package/build/src/akuma/request-observation.js +0 -162
  264. package/build/src/akuma/request-rendezvous.d.ts +0 -32
  265. package/build/src/akuma/request-rendezvous.js +0 -189
  266. package/build/src/akuma/request-serve.d.ts +0 -16
  267. package/build/src/akuma/request-serve.js +0 -188
  268. package/build/src/akuma/request-wire.d.ts +0 -143
  269. package/build/src/akuma/request-wire.js +0 -146
  270. package/build/src/akuma/requests.d.ts +0 -20
  271. package/build/src/akuma/requests.js +0 -72
  272. package/build/src/akuma/selection-owner-port.d.ts +0 -14
  273. package/build/src/akuma/selection-owner-port.js +0 -54
  274. package/build/src/akuma/selection-request.d.ts +0 -305
  275. package/build/src/akuma/selection-request.js +0 -307
  276. package/build/src/body-requests.d.ts +0 -13
  277. package/build/src/body-requests.js +0 -131
  278. package/build/src/cli/square-identity.d.ts +0 -10
  279. package/build/src/cli/square-identity.js +0 -130
  280. package/build/src/debt/mutation-result.d.ts +0 -981
  281. package/build/src/debt/mutation-result.js +0 -109
  282. package/build/src/debt/mutation.d.ts +0 -424
  283. package/build/src/debt/mutation.js +0 -223
  284. package/build/src/library/contract-operations.d.ts +0 -382
  285. package/build/src/library/contract-operations.js +0 -300
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  import type { DecideInput, OfferDecision } from "../core/decide.js";
3
- import type { ActorId, ContractId, ContractState, DeliverData, DocumentKey, JournalEntry, SnapshotId } from "../core/facts/types.js";
3
+ import type { ActorId, ContractId, ContractState, DeliverData, DocumentKey, SnapshotId } from "../core/facts/types.js";
4
4
  import type { IntegrationPreparationRefusal } from "../git/integration.js";
5
5
  import type { GitRepository } from "../git/process.js";
6
6
  import { type GitDecodeChannel } from "../git/read-observation.js";
@@ -8,7 +8,8 @@ import type { WorktreeLeak } from "../git/scratch.js";
8
8
  import type { VerificationDeclarationPreparation } from "../verification/declaration.js";
9
9
  import type { AcceptedAdmission, DecidedOfferResult } from "./attempt.js";
10
10
  import { type IntentAdmissionOptions } from "./intent.js";
11
- import type { VerificationCleanupFailure, VerificationResult } from "./intent.js";
11
+ import type { VerificationResult } from "./intent.js";
12
+ import type { VerificationCleanupFailure } from "./progress.js";
12
13
  import { type AcceptedProtocolStep, type IntentOutcome as ProtocolIntentOutcome } from "./outcome.js";
13
14
  import type { PlacementProtocolResult } from "./placement.js";
14
15
  import type { ProtocolProgress } from "./progress.js";
@@ -31,7 +32,6 @@ export declare const deliverDataSchema: z.ZodObject<{
31
32
  requireBranchesToBeUpToDate: z.ZodBoolean;
32
33
  }, z.core.$strict>;
33
34
  }, z.core.$strict>;
34
- export declare function recordedIntegrationSnapshots(journal: readonly JournalEntry[]): readonly SnapshotId[];
35
35
  export declare const verdictSchema: z.ZodEnum<{
36
36
  satisfied: "satisfied";
37
37
  unsatisfied: "unsatisfied";
@@ -45,6 +45,9 @@ export declare const activeContractRefusalSchema: z.ZodObject<{
45
45
  }, z.core.$strict>;
46
46
  export declare const bindRefusalSchema: z.ZodObject<{
47
47
  kind: z.ZodEnum<{
48
+ "target-contract-missing": "target-contract-missing";
49
+ "target-contract-terminal": "target-contract-terminal";
50
+ "target-contract-self": "target-contract-self";
48
51
  "contract-exists": "contract-exists";
49
52
  "invalid-after": "invalid-after";
50
53
  "unknown-prerequisite": "unknown-prerequisite";
@@ -65,6 +68,9 @@ export declare const deliverRefusalSchema: z.ZodObject<{
65
68
  kind: z.ZodEnum<{
66
69
  terminal: "terminal";
67
70
  "contract-missing": "contract-missing";
71
+ "target-contract-missing": "target-contract-missing";
72
+ "target-contract-terminal": "target-contract-terminal";
73
+ "target-contract-self": "target-contract-self";
68
74
  "document-moved": "document-moved";
69
75
  }>;
70
76
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
@@ -79,8 +85,85 @@ export declare const candidateContentChangeSchema: z.ZodObject<{
79
85
  previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
80
86
  currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
81
87
  }, z.core.$strict>;
88
+ export declare const gateCurrentSchema: z.ZodUnion<readonly [z.ZodObject<{
89
+ kind: z.ZodLiteral<"missing">;
90
+ }, z.core.$strict>, z.ZodObject<{
91
+ kind: z.ZodLiteral<"attested">;
92
+ verdict: z.ZodEnum<{
93
+ satisfied: "satisfied";
94
+ unsatisfied: "unsatisfied";
95
+ }>;
96
+ at: z.ZodString;
97
+ summary: z.ZodOptional<z.ZodString>;
98
+ }, z.core.$strict>, z.ZodObject<{
99
+ kind: z.ZodLiteral<"stale">;
100
+ priorVerdict: z.ZodEnum<{
101
+ satisfied: "satisfied";
102
+ unsatisfied: "unsatisfied";
103
+ }>;
104
+ reason: z.ZodOptional<z.ZodObject<{
105
+ kind: z.ZodLiteral<"candidate-content-changed">;
106
+ target: z.ZodOptional<z.ZodString>;
107
+ previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
108
+ currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
109
+ }, z.core.$strict>>;
110
+ }, z.core.$strict>]>;
111
+ export declare const requirementIdSchema: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
112
+ export declare const requirementReportSchema: z.ZodObject<{
113
+ requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
114
+ current: z.ZodUnion<readonly [z.ZodObject<{
115
+ kind: z.ZodLiteral<"missing">;
116
+ }, z.core.$strict>, z.ZodObject<{
117
+ kind: z.ZodLiteral<"attested">;
118
+ verdict: z.ZodEnum<{
119
+ satisfied: "satisfied";
120
+ unsatisfied: "unsatisfied";
121
+ }>;
122
+ at: z.ZodString;
123
+ summary: z.ZodOptional<z.ZodString>;
124
+ }, z.core.$strict>, z.ZodObject<{
125
+ kind: z.ZodLiteral<"stale">;
126
+ priorVerdict: z.ZodEnum<{
127
+ satisfied: "satisfied";
128
+ unsatisfied: "unsatisfied";
129
+ }>;
130
+ reason: z.ZodOptional<z.ZodObject<{
131
+ kind: z.ZodLiteral<"candidate-content-changed">;
132
+ target: z.ZodOptional<z.ZodString>;
133
+ previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
134
+ currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
135
+ }, z.core.$strict>>;
136
+ }, z.core.$strict>]>;
137
+ }, z.core.$strict>;
82
138
  export declare const gateReportSchema: z.ZodObject<{
83
139
  gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
140
+ requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
141
+ requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
142
+ current: z.ZodUnion<readonly [z.ZodObject<{
143
+ kind: z.ZodLiteral<"missing">;
144
+ }, z.core.$strict>, z.ZodObject<{
145
+ kind: z.ZodLiteral<"attested">;
146
+ verdict: z.ZodEnum<{
147
+ satisfied: "satisfied";
148
+ unsatisfied: "unsatisfied";
149
+ }>;
150
+ at: z.ZodString;
151
+ summary: z.ZodOptional<z.ZodString>;
152
+ }, z.core.$strict>, z.ZodObject<{
153
+ kind: z.ZodLiteral<"stale">;
154
+ priorVerdict: z.ZodEnum<{
155
+ satisfied: "satisfied";
156
+ unsatisfied: "unsatisfied";
157
+ }>;
158
+ reason: z.ZodOptional<z.ZodObject<{
159
+ kind: z.ZodLiteral<"candidate-content-changed">;
160
+ target: z.ZodOptional<z.ZodString>;
161
+ previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
162
+ currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
163
+ }, z.core.$strict>>;
164
+ }, z.core.$strict>]>;
165
+ }, z.core.$strict>>>;
166
+ satisfied: z.ZodBoolean;
84
167
  current: z.ZodUnion<readonly [z.ZodObject<{
85
168
  kind: z.ZodLiteral<"missing">;
86
169
  }, z.core.$strict>, z.ZodObject<{
@@ -105,7 +188,35 @@ export declare const gateReportSchema: z.ZodObject<{
105
188
  }, z.core.$strict>>;
106
189
  }, z.core.$strict>]>;
107
190
  }, z.core.$strict>;
191
+ export declare const verifyRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
192
+ kind: z.ZodLiteral<"verification-not-selected">;
193
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
194
+ }, z.core.$strict>, z.ZodObject<{
195
+ kind: z.ZodLiteral<"verification-index-out-of-range">;
196
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
197
+ index: z.ZodNumber;
198
+ total: z.ZodNumber;
199
+ }, z.core.$strict>]>;
108
200
  export declare const placementRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
201
+ kind: z.ZodEnum<{
202
+ "target-contract-missing": "target-contract-missing";
203
+ "target-contract-terminal": "target-contract-terminal";
204
+ "target-contract-self": "target-contract-self";
205
+ }>;
206
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
207
+ }, z.core.$strict>, z.ZodObject<{
208
+ kind: z.ZodLiteral<"target-workspace-unavailable">;
209
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
210
+ reason: z.ZodEnum<{
211
+ missing: "missing";
212
+ replaced: "replaced";
213
+ unappointed: "unappointed";
214
+ association: "association";
215
+ attached: "attached";
216
+ uncommitted: "uncommitted";
217
+ operation: "operation";
218
+ }>;
219
+ }, z.core.$strict>, z.ZodObject<{
109
220
  kind: z.ZodEnum<{
110
221
  terminal: "terminal";
111
222
  "contract-missing": "contract-missing";
@@ -117,6 +228,33 @@ export declare const placementRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
117
228
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
118
229
  unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
119
230
  gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
231
+ requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
232
+ requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
233
+ current: z.ZodUnion<readonly [z.ZodObject<{
234
+ kind: z.ZodLiteral<"missing">;
235
+ }, z.core.$strict>, z.ZodObject<{
236
+ kind: z.ZodLiteral<"attested">;
237
+ verdict: z.ZodEnum<{
238
+ satisfied: "satisfied";
239
+ unsatisfied: "unsatisfied";
240
+ }>;
241
+ at: z.ZodString;
242
+ summary: z.ZodOptional<z.ZodString>;
243
+ }, z.core.$strict>, z.ZodObject<{
244
+ kind: z.ZodLiteral<"stale">;
245
+ priorVerdict: z.ZodEnum<{
246
+ satisfied: "satisfied";
247
+ unsatisfied: "unsatisfied";
248
+ }>;
249
+ reason: z.ZodOptional<z.ZodObject<{
250
+ kind: z.ZodLiteral<"candidate-content-changed">;
251
+ target: z.ZodOptional<z.ZodString>;
252
+ previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
253
+ currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
254
+ }, z.core.$strict>>;
255
+ }, z.core.$strict>]>;
256
+ }, z.core.$strict>>>;
257
+ satisfied: z.ZodBoolean;
120
258
  current: z.ZodUnion<readonly [z.ZodObject<{
121
259
  kind: z.ZodLiteral<"missing">;
122
260
  }, z.core.$strict>, z.ZodObject<{
@@ -148,9 +286,9 @@ export declare const placementRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
148
286
  unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
149
287
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
150
288
  state: z.ZodEnum<{
289
+ active: "active";
151
290
  abandoned: "abandoned";
152
291
  missing: "missing";
153
- active: "active";
154
292
  }>;
155
293
  }, z.core.$strict>>>;
156
294
  }, z.core.$strict>]>;
@@ -168,6 +306,18 @@ export declare const deliverConflictRefusalSchema: z.ZodObject<{
168
306
  }, z.core.$strict>;
169
307
  export type DeliverConflictRefusal = z.infer<typeof deliverConflictRefusalSchema>;
170
308
  export declare const deliveryPreparationRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
309
+ kind: z.ZodLiteral<"target-workspace-unavailable">;
310
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
311
+ reason: z.ZodEnum<{
312
+ missing: "missing";
313
+ replaced: "replaced";
314
+ unappointed: "unappointed";
315
+ association: "association";
316
+ attached: "attached";
317
+ uncommitted: "uncommitted";
318
+ operation: "operation";
319
+ }>;
320
+ }, z.core.$strict>, z.ZodObject<{
171
321
  kind: z.ZodLiteral<"target-missing">;
172
322
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
173
323
  }, z.core.$strict>, z.ZodObject<{
@@ -193,23 +343,23 @@ export declare const deliveryPreparationRefusalSchema: z.ZodUnion<readonly [z.Zo
193
343
  kind: z.ZodLiteral<"integration-failed">;
194
344
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
195
345
  reason: z.ZodEnum<{
346
+ conflict: "conflict";
196
347
  "not-based-on-target": "not-based-on-target";
197
348
  "unrelated-histories": "unrelated-histories";
198
- conflict: "conflict";
199
349
  }>;
200
350
  targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
201
351
  conflictPaths: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
202
352
  }, z.core.$strict>, z.ZodTransform<{
203
353
  kind: "integration-failed";
204
354
  contractId: ContractId;
205
- reason: "not-based-on-target" | "unrelated-histories" | "conflict";
355
+ reason: "conflict" | "not-based-on-target" | "unrelated-histories";
206
356
  targetHead: SnapshotId;
207
357
  } & {
208
358
  conflictPaths?: readonly string[];
209
359
  }, {
210
360
  kind: "integration-failed";
211
361
  contractId: ContractId;
212
- reason: "not-based-on-target" | "unrelated-histories" | "conflict";
362
+ reason: "conflict" | "not-based-on-target" | "unrelated-histories";
213
363
  targetHead: SnapshotId;
214
364
  conflictPaths?: readonly string[] | undefined;
215
365
  }>>, z.ZodObject<{
@@ -249,6 +399,9 @@ export declare const intentRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
249
399
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
250
400
  }, z.core.$strict>, z.ZodObject<{
251
401
  kind: z.ZodEnum<{
402
+ "target-contract-missing": "target-contract-missing";
403
+ "target-contract-terminal": "target-contract-terminal";
404
+ "target-contract-self": "target-contract-self";
252
405
  "contract-exists": "contract-exists";
253
406
  "invalid-after": "invalid-after";
254
407
  "unknown-prerequisite": "unknown-prerequisite";
@@ -261,10 +414,25 @@ export declare const intentRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
261
414
  kind: z.ZodEnum<{
262
415
  terminal: "terminal";
263
416
  "contract-missing": "contract-missing";
417
+ "target-contract-missing": "target-contract-missing";
418
+ "target-contract-terminal": "target-contract-terminal";
419
+ "target-contract-self": "target-contract-self";
264
420
  "document-moved": "document-moved";
265
421
  }>;
266
422
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
267
423
  }, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
424
+ kind: z.ZodLiteral<"target-workspace-unavailable">;
425
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
426
+ reason: z.ZodEnum<{
427
+ missing: "missing";
428
+ replaced: "replaced";
429
+ unappointed: "unappointed";
430
+ association: "association";
431
+ attached: "attached";
432
+ uncommitted: "uncommitted";
433
+ operation: "operation";
434
+ }>;
435
+ }, z.core.$strict>, z.ZodObject<{
268
436
  kind: z.ZodLiteral<"target-missing">;
269
437
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
270
438
  }, z.core.$strict>, z.ZodObject<{
@@ -290,23 +458,23 @@ export declare const intentRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
290
458
  kind: z.ZodLiteral<"integration-failed">;
291
459
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
292
460
  reason: z.ZodEnum<{
461
+ conflict: "conflict";
293
462
  "not-based-on-target": "not-based-on-target";
294
463
  "unrelated-histories": "unrelated-histories";
295
- conflict: "conflict";
296
464
  }>;
297
465
  targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
298
466
  conflictPaths: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
299
467
  }, z.core.$strict>, z.ZodTransform<{
300
468
  kind: "integration-failed";
301
469
  contractId: ContractId;
302
- reason: "not-based-on-target" | "unrelated-histories" | "conflict";
470
+ reason: "conflict" | "not-based-on-target" | "unrelated-histories";
303
471
  targetHead: SnapshotId;
304
472
  } & {
305
473
  conflictPaths?: readonly string[];
306
474
  }, {
307
475
  kind: "integration-failed";
308
476
  contractId: ContractId;
309
- reason: "not-based-on-target" | "unrelated-histories" | "conflict";
477
+ reason: "conflict" | "not-based-on-target" | "unrelated-histories";
310
478
  targetHead: SnapshotId;
311
479
  conflictPaths?: readonly string[] | undefined;
312
480
  }>>, z.ZodObject<{
@@ -339,6 +507,25 @@ export declare const intentRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
339
507
  staging: z.ZodLiteral<"not-required">;
340
508
  }, z.core.$strict>;
341
509
  }, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
510
+ kind: z.ZodEnum<{
511
+ "target-contract-missing": "target-contract-missing";
512
+ "target-contract-terminal": "target-contract-terminal";
513
+ "target-contract-self": "target-contract-self";
514
+ }>;
515
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
516
+ }, z.core.$strict>, z.ZodObject<{
517
+ kind: z.ZodLiteral<"target-workspace-unavailable">;
518
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
519
+ reason: z.ZodEnum<{
520
+ missing: "missing";
521
+ replaced: "replaced";
522
+ unappointed: "unappointed";
523
+ association: "association";
524
+ attached: "attached";
525
+ uncommitted: "uncommitted";
526
+ operation: "operation";
527
+ }>;
528
+ }, z.core.$strict>, z.ZodObject<{
342
529
  kind: z.ZodEnum<{
343
530
  terminal: "terminal";
344
531
  "contract-missing": "contract-missing";
@@ -350,6 +537,33 @@ export declare const intentRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
350
537
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
351
538
  unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
352
539
  gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
540
+ requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
541
+ requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
542
+ current: z.ZodUnion<readonly [z.ZodObject<{
543
+ kind: z.ZodLiteral<"missing">;
544
+ }, z.core.$strict>, z.ZodObject<{
545
+ kind: z.ZodLiteral<"attested">;
546
+ verdict: z.ZodEnum<{
547
+ satisfied: "satisfied";
548
+ unsatisfied: "unsatisfied";
549
+ }>;
550
+ at: z.ZodString;
551
+ summary: z.ZodOptional<z.ZodString>;
552
+ }, z.core.$strict>, z.ZodObject<{
553
+ kind: z.ZodLiteral<"stale">;
554
+ priorVerdict: z.ZodEnum<{
555
+ satisfied: "satisfied";
556
+ unsatisfied: "unsatisfied";
557
+ }>;
558
+ reason: z.ZodOptional<z.ZodObject<{
559
+ kind: z.ZodLiteral<"candidate-content-changed">;
560
+ target: z.ZodOptional<z.ZodString>;
561
+ previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
562
+ currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
563
+ }, z.core.$strict>>;
564
+ }, z.core.$strict>]>;
565
+ }, z.core.$strict>>>;
566
+ satisfied: z.ZodBoolean;
353
567
  current: z.ZodUnion<readonly [z.ZodObject<{
354
568
  kind: z.ZodLiteral<"missing">;
355
569
  }, z.core.$strict>, z.ZodObject<{
@@ -381,21 +595,41 @@ export declare const intentRefusalSchema: z.ZodUnion<readonly [z.ZodObject<{
381
595
  unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
382
596
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
383
597
  state: z.ZodEnum<{
598
+ active: "active";
384
599
  abandoned: "abandoned";
385
600
  missing: "missing";
386
- active: "active";
387
601
  }>;
388
602
  }, z.core.$strict>>>;
389
- }, z.core.$strict>]>, z.ZodObject<{
603
+ }, z.core.$strict>]>, z.ZodUnion<readonly [z.ZodObject<{
390
604
  kind: z.ZodEnum<{
391
605
  "target-missing": "target-missing";
392
606
  "unborn-head": "unborn-head";
393
607
  "invalid-target": "invalid-target";
394
608
  }>;
395
609
  }, z.core.$strict>, z.ZodObject<{
610
+ kind: z.ZodLiteral<"target-workspace-unavailable">;
611
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
612
+ reason: z.ZodEnum<{
613
+ missing: "missing";
614
+ replaced: "replaced";
615
+ unappointed: "unappointed";
616
+ association: "association";
617
+ attached: "attached";
618
+ uncommitted: "uncommitted";
619
+ operation: "operation";
620
+ }>;
621
+ }, z.core.$strict>]>, z.ZodObject<{
396
622
  kind: z.ZodLiteral<"verification-declaration-invalid">;
397
623
  contractId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
398
- }, z.core.$strict>]>;
624
+ }, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
625
+ kind: z.ZodLiteral<"verification-not-selected">;
626
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
627
+ }, z.core.$strict>, z.ZodObject<{
628
+ kind: z.ZodLiteral<"verification-index-out-of-range">;
629
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
630
+ index: z.ZodNumber;
631
+ total: z.ZodNumber;
632
+ }, z.core.$strict>]>]>;
399
633
  type IntentRefusal = z.infer<typeof intentRefusalSchema>;
400
634
  export type IntentRetry = ProtocolTerminal;
401
635
  export type IntentOutcome<Value, Refusal = IntentRefusal> = ProtocolIntentOutcome<Value, Refusal>;
@@ -439,8 +673,8 @@ export declare const verificationStopSchema: z.ZodUnion<readonly [z.ZodObject<{
439
673
  }, z.core.$strict>, z.ZodObject<{
440
674
  retry: z.ZodUnion<readonly [z.ZodObject<{
441
675
  kind: z.ZodEnum<{
442
- exhausted: "exhausted";
443
676
  collision: "collision";
677
+ exhausted: "exhausted";
444
678
  }>;
445
679
  }, z.core.$strict>, z.ZodObject<{
446
680
  kind: z.ZodLiteral<"publication-failed">;
@@ -499,6 +733,25 @@ export declare const verificationStopSchema: z.ZodUnion<readonly [z.ZodObject<{
499
733
  export type VerificationStop = z.infer<typeof verificationStopSchema>;
500
734
  export declare const placementStopSchema: z.ZodUnion<readonly [z.ZodObject<{
501
735
  refusal: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
736
+ kind: z.ZodEnum<{
737
+ "target-contract-missing": "target-contract-missing";
738
+ "target-contract-terminal": "target-contract-terminal";
739
+ "target-contract-self": "target-contract-self";
740
+ }>;
741
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
742
+ }, z.core.$strict>, z.ZodObject<{
743
+ kind: z.ZodLiteral<"target-workspace-unavailable">;
744
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
745
+ reason: z.ZodEnum<{
746
+ missing: "missing";
747
+ replaced: "replaced";
748
+ unappointed: "unappointed";
749
+ association: "association";
750
+ attached: "attached";
751
+ uncommitted: "uncommitted";
752
+ operation: "operation";
753
+ }>;
754
+ }, z.core.$strict>, z.ZodObject<{
502
755
  kind: z.ZodEnum<{
503
756
  terminal: "terminal";
504
757
  "contract-missing": "contract-missing";
@@ -510,6 +763,33 @@ export declare const placementStopSchema: z.ZodUnion<readonly [z.ZodObject<{
510
763
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
511
764
  unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
512
765
  gate: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").Gate, string>>;
766
+ requirements: z.ZodReadonly<z.ZodArray<z.ZodObject<{
767
+ requirement: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").RequirementId, string>>;
768
+ current: z.ZodUnion<readonly [z.ZodObject<{
769
+ kind: z.ZodLiteral<"missing">;
770
+ }, z.core.$strict>, z.ZodObject<{
771
+ kind: z.ZodLiteral<"attested">;
772
+ verdict: z.ZodEnum<{
773
+ satisfied: "satisfied";
774
+ unsatisfied: "unsatisfied";
775
+ }>;
776
+ at: z.ZodString;
777
+ summary: z.ZodOptional<z.ZodString>;
778
+ }, z.core.$strict>, z.ZodObject<{
779
+ kind: z.ZodLiteral<"stale">;
780
+ priorVerdict: z.ZodEnum<{
781
+ satisfied: "satisfied";
782
+ unsatisfied: "unsatisfied";
783
+ }>;
784
+ reason: z.ZodOptional<z.ZodObject<{
785
+ kind: z.ZodLiteral<"candidate-content-changed">;
786
+ target: z.ZodOptional<z.ZodString>;
787
+ previousChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
788
+ currentChange: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").ChangeId, string>>;
789
+ }, z.core.$strict>>;
790
+ }, z.core.$strict>]>;
791
+ }, z.core.$strict>>>;
792
+ satisfied: z.ZodBoolean;
513
793
  current: z.ZodUnion<readonly [z.ZodObject<{
514
794
  kind: z.ZodLiteral<"missing">;
515
795
  }, z.core.$strict>, z.ZodObject<{
@@ -541,9 +821,9 @@ export declare const placementStopSchema: z.ZodUnion<readonly [z.ZodObject<{
541
821
  unmet: z.ZodReadonly<z.ZodArray<z.ZodObject<{
542
822
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
543
823
  state: z.ZodEnum<{
824
+ active: "active";
544
825
  abandoned: "abandoned";
545
826
  missing: "missing";
546
- active: "active";
547
827
  }>;
548
828
  }, z.core.$strict>>>;
549
829
  }, z.core.$strict>]>, z.ZodObject<{
@@ -557,23 +837,23 @@ export declare const placementStopSchema: z.ZodUnion<readonly [z.ZodObject<{
557
837
  kind: z.ZodLiteral<"integration-failed">;
558
838
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
559
839
  reason: z.ZodEnum<{
840
+ conflict: "conflict";
560
841
  "not-based-on-target": "not-based-on-target";
561
842
  "unrelated-histories": "unrelated-histories";
562
- conflict: "conflict";
563
843
  }>;
564
844
  targetHead: z.ZodPipe<z.ZodString, z.ZodTransform<SnapshotId, string>>;
565
845
  conflictPaths: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
566
846
  }, z.core.$strict>, z.ZodTransform<{
567
847
  kind: "integration-failed";
568
848
  contractId: ContractId;
569
- reason: "not-based-on-target" | "unrelated-histories" | "conflict";
849
+ reason: "conflict" | "not-based-on-target" | "unrelated-histories";
570
850
  targetHead: SnapshotId;
571
851
  } & {
572
852
  conflictPaths?: readonly string[];
573
853
  }, {
574
854
  kind: "integration-failed";
575
855
  contractId: ContractId;
576
- reason: "not-based-on-target" | "unrelated-histories" | "conflict";
856
+ reason: "conflict" | "not-based-on-target" | "unrelated-histories";
577
857
  targetHead: SnapshotId;
578
858
  conflictPaths?: readonly string[] | undefined;
579
859
  }>>, z.ZodObject<{
@@ -587,8 +867,8 @@ export declare const placementStopSchema: z.ZodUnion<readonly [z.ZodObject<{
587
867
  }, z.core.$strict>, z.ZodObject<{
588
868
  retry: z.ZodUnion<readonly [z.ZodObject<{
589
869
  kind: z.ZodEnum<{
590
- exhausted: "exhausted";
591
870
  collision: "collision";
871
+ exhausted: "exhausted";
592
872
  }>;
593
873
  }, z.core.$strict>, z.ZodObject<{
594
874
  kind: z.ZodLiteral<"publication-failed">;