@astrosheep/keiyaku 4.6.3 → 4.6.6

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 (193) hide show
  1. package/build/integrations/marketplace/plugins/keiyaku/skills/keiyaku-akuma/SKILL.md +47 -11
  2. package/build/integrations/marketplace/plugins/keiyaku/skills/keiyaku-akuma/references/automation.md +2 -2
  3. package/build/integrations/marketplace/plugins/keiyaku/skills/keiyaku-babysit/SKILL.md +1 -1
  4. package/build/integrations/marketplace/plugins/keiyaku/skills/keiyaku-bind/SKILL.md +8 -9
  5. package/build/integrations/marketplace/plugins/keiyaku/skills/keiyaku-workflow/SKILL.md +37 -25
  6. package/build/src/akuma/akuma-observe.d.ts +18 -15
  7. package/build/src/akuma/akuma-observe.js +75 -16
  8. package/build/src/akuma/akuma-wait.d.ts +4 -3
  9. package/build/src/akuma/akuma-wait.js +75 -53
  10. package/build/src/akuma/akuma.d.ts +6 -4
  11. package/build/src/akuma/akuma.js +4 -0
  12. package/build/src/akuma/call-initial-tell.d.ts +2 -2
  13. package/build/src/akuma/call-initial-tell.js +1 -1
  14. package/build/src/akuma/call-request.d.ts +2 -2
  15. package/build/src/akuma/heart/index.d.ts +7 -2
  16. package/build/src/akuma/heart/index.js +50 -5
  17. package/build/src/akuma/heart/tells.d.ts +33 -2
  18. package/build/src/akuma/heart/tells.js +24 -18
  19. package/build/src/akuma/heart/timeline.d.ts +23 -1
  20. package/build/src/akuma/heart/timeline.js +28 -21
  21. package/build/src/akuma/projection.d.ts +10 -10
  22. package/build/src/akuma/providers/pi/index.js +72 -39
  23. package/build/src/akuma/selection-observation.d.ts +20 -20
  24. package/build/src/akuma-body.js +1 -0
  25. package/build/src/alias/index.d.ts +0 -1
  26. package/build/src/alias/index.js +0 -4
  27. package/build/src/body/amend.d.ts +0 -4
  28. package/build/src/body/amend.js +0 -3
  29. package/build/src/body/region.d.ts +0 -1
  30. package/build/src/body/region.js +0 -3
  31. package/build/src/body/verification.d.ts +0 -1
  32. package/build/src/cli/commands/akuma-grammar.js +23 -66
  33. package/build/src/cli/commands/akuma.js +17 -30
  34. package/build/src/cli/commands/contract-grammar.d.ts +14 -1
  35. package/build/src/cli/commands/contract-grammar.js +54 -21
  36. package/build/src/cli/commands/contract-help.d.ts +9 -8
  37. package/build/src/cli/commands/contract-help.js +14 -7
  38. package/build/src/cli/commands/contract.js +57 -117
  39. package/build/src/cli/commands/install.d.ts +5 -5
  40. package/build/src/cli/commands/install.js +1 -4
  41. package/build/src/cli/commands/task-grammar.js +10 -66
  42. package/build/src/cli/commands/task.d.ts +0 -1
  43. package/build/src/cli/commands/task.js +34 -53
  44. package/build/src/cli/coordinates.d.ts +1 -2
  45. package/build/src/cli/coordinates.js +1 -4
  46. package/build/src/cli/parse.d.ts +2 -3
  47. package/build/src/cli/parse.js +24 -66
  48. package/build/src/cli/render/akuma.d.ts +3 -16
  49. package/build/src/cli/render/akuma.js +1 -13
  50. package/build/src/cli/render/audit.js +1 -1
  51. package/build/src/cli/render/contract.js +34 -32
  52. package/build/src/cli/render/kanshi-akuma.d.ts +8 -2
  53. package/build/src/cli/render/kanshi-akuma.js +14 -7
  54. package/build/src/cli/render/kanshi.d.ts +3 -1
  55. package/build/src/cli/render/kanshi.js +44 -32
  56. package/build/src/cli/render/receipt.js +6 -1
  57. package/build/src/cli/render/task.d.ts +1 -1
  58. package/build/src/cli/render/task.js +3 -27
  59. package/build/src/cli/render/terminal.d.ts +6 -2
  60. package/build/src/cli/render/terminal.js +8 -2
  61. package/build/src/cli/runtime.js +3 -16
  62. package/build/src/cli/scan.d.ts +26 -0
  63. package/build/src/cli/scan.js +82 -0
  64. package/build/src/cli/streams.d.ts +5 -0
  65. package/build/src/cli/streams.js +11 -0
  66. package/build/src/contract-worktree.js +38 -21
  67. package/build/src/core/facts/codec.d.ts +1 -2
  68. package/build/src/core/facts/codec.js +5 -11
  69. package/build/src/core/facts/types.d.ts +16 -2
  70. package/build/src/core/facts/types.js +15 -0
  71. package/build/src/core/verbs/abandon.js +3 -9
  72. package/build/src/core/verbs/amend.js +2 -9
  73. package/build/src/core/verbs/arc.js +6 -13
  74. package/build/src/core/verbs/attestation.js +2 -9
  75. package/build/src/core/verbs/bind.js +2 -9
  76. package/build/src/core/verbs/deliver.js +2 -9
  77. package/build/src/core/verbs/placement.d.ts +1 -1
  78. package/build/src/core/verbs/placement.js +2 -9
  79. package/build/src/core/verbs/reintegrate.d.ts +1 -1
  80. package/build/src/core/verbs/reintegrate.js +2 -9
  81. package/build/src/dispatch/index.d.ts +2 -2
  82. package/build/src/dispatch/index.js +33 -11
  83. package/build/src/git/hooks.d.ts +2 -4
  84. package/build/src/git/hooks.js +0 -12
  85. package/build/src/git/integration.d.ts +5 -3
  86. package/build/src/git/integration.js +36 -25
  87. package/build/src/git/nuke.js +4 -4
  88. package/build/src/git/observe.d.ts +4 -4
  89. package/build/src/git/observe.js +5 -5
  90. package/build/src/git/process.d.ts +1 -4
  91. package/build/src/git/process.js +1 -11
  92. package/build/src/git/read-observation.js +1 -1
  93. package/build/src/git/reconcile.d.ts +1 -1
  94. package/build/src/git/reconcile.js +15 -13
  95. package/build/src/git/repository.d.ts +2 -6
  96. package/build/src/git/repository.js +18 -31
  97. package/build/src/git/scratch.d.ts +6 -6
  98. package/build/src/git/scratch.js +110 -46
  99. package/build/src/git/target-placement.d.ts +5 -5
  100. package/build/src/git/target-placement.js +18 -33
  101. package/build/src/git/tender.d.ts +6 -2
  102. package/build/src/git/tender.js +19 -12
  103. package/build/src/git/terminal-reconcile.js +24 -13
  104. package/build/src/git/terminal-seal.d.ts +2 -5
  105. package/build/src/git/terminal-seal.js +5 -3
  106. package/build/src/git/workspace.d.ts +17 -13
  107. package/build/src/git/workspace.js +58 -41
  108. package/build/src/kanshi/index.d.ts +2 -2
  109. package/build/src/kanshi/index.js +1 -1
  110. package/build/src/kanshi/read.d.ts +8 -1
  111. package/build/src/kanshi/read.js +72 -7
  112. package/build/src/kanshi/report.d.ts +12 -0
  113. package/build/src/library/akuma-creation.d.ts +4 -4
  114. package/build/src/library/bind.d.ts +1 -63
  115. package/build/src/library/bind.js +3 -9
  116. package/build/src/library/contract-creation.js +2 -30
  117. package/build/src/library/contract-execution.d.ts +0 -1
  118. package/build/src/library/contract-execution.js +9 -34
  119. package/build/src/library/contract-operations.d.ts +5 -1
  120. package/build/src/library/contract-operations.js +7 -3
  121. package/build/src/library/contract-types.d.ts +1 -1
  122. package/build/src/library/delivery.d.ts +91 -93
  123. package/build/src/library/delivery.js +2 -1
  124. package/build/src/library/input.d.ts +0 -2
  125. package/build/src/library/input.js +0 -4
  126. package/build/src/library/invocation.d.ts +0 -1
  127. package/build/src/library/invocation.js +3 -25
  128. package/build/src/library/outcome.d.ts +651 -602
  129. package/build/src/library/outcome.js +4 -4
  130. package/build/src/library/reconcile.d.ts +6 -0
  131. package/build/src/library/reconcile.js +31 -1
  132. package/build/src/library/repo.d.ts +0 -1
  133. package/build/src/library/selection.d.ts +1 -10
  134. package/build/src/library/selection.js +14 -15
  135. package/build/src/protocol/abandon.d.ts +1 -1
  136. package/build/src/protocol/abandon.js +3 -10
  137. package/build/src/protocol/amend.js +2 -5
  138. package/build/src/protocol/arc.d.ts +1 -1
  139. package/build/src/protocol/arc.js +2 -9
  140. package/build/src/protocol/attempt.d.ts +3 -20
  141. package/build/src/protocol/attempt.js +6 -5
  142. package/build/src/protocol/audit.d.ts +1 -0
  143. package/build/src/protocol/audit.js +10 -11
  144. package/build/src/protocol/completion.d.ts +129 -55
  145. package/build/src/protocol/completion.js +62 -73
  146. package/build/src/protocol/deliver.d.ts +7 -5
  147. package/build/src/protocol/deliver.js +74 -44
  148. package/build/src/protocol/execution-observation.d.ts +2 -4
  149. package/build/src/protocol/execution-observation.js +3 -7
  150. package/build/src/protocol/intent.d.ts +1 -1
  151. package/build/src/protocol/intent.js +1 -0
  152. package/build/src/protocol/operations.d.ts +24 -12
  153. package/build/src/protocol/operations.js +36 -15
  154. package/build/src/protocol/placement.d.ts +2 -1
  155. package/build/src/protocol/placement.js +21 -5
  156. package/build/src/protocol/progress.d.ts +1 -1
  157. package/build/src/protocol/read/status.js +58 -41
  158. package/build/src/protocol/reintegrate.d.ts +1 -1
  159. package/build/src/protocol/reintegrate.js +10 -19
  160. package/build/src/protocol/review.d.ts +3 -28
  161. package/build/src/protocol/review.js +10 -37
  162. package/build/src/protocol/run.d.ts +19 -7
  163. package/build/src/protocol/run.js +19 -9
  164. package/build/src/runtime/proc/windows-launch.exe +0 -0
  165. package/build/src/settlement/holder.d.ts +2 -4
  166. package/build/src/settlement/holder.js +3 -6
  167. package/build/src/task/board.d.ts +6 -0
  168. package/build/src/task/board.js +30 -1
  169. package/build/src/task/catalog.js +1 -4
  170. package/build/src/task/compose.d.ts +0 -1
  171. package/build/src/task/compose.js +0 -1
  172. package/build/src/task/context.d.ts +0 -1
  173. package/build/src/task/context.js +0 -3
  174. package/build/src/task/created-observation.d.ts +5 -1
  175. package/build/src/task/created-observation.js +12 -5
  176. package/build/src/task/index.d.ts +1 -1
  177. package/build/src/task/index.js +7 -6
  178. package/build/src/task/input.d.ts +0 -6
  179. package/build/src/task/input.js +2 -14
  180. package/build/src/task/mutation.d.ts +3 -4
  181. package/build/src/task/mutation.js +11 -39
  182. package/build/src/task/operations.d.ts +2 -7
  183. package/build/src/task/operations.js +37 -49
  184. package/build/src/task/query.d.ts +0 -1
  185. package/build/src/task/query.js +1 -4
  186. package/build/src/task/store.d.ts +0 -2
  187. package/build/src/task/store.js +27 -11
  188. package/build/src/verification/declaration.js +3 -2
  189. package/build/src/verification/execution.d.ts +3 -2
  190. package/build/src/verification/execution.js +10 -6
  191. package/build/src/workspace-place.d.ts +0 -1
  192. package/build/src/workspace-place.js +0 -11
  193. package/package.json +7 -3
@@ -285,7 +285,7 @@ declare const invocationEffectSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [
285
285
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
286
286
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
287
287
  leak: z.ZodObject<{
288
- path: z.ZodString;
288
+ path: z.ZodOptional<z.ZodString>;
289
289
  diagnostic: z.ZodString;
290
290
  }, z.core.$strict>;
291
291
  }, z.core.$strict>, z.ZodObject<{
@@ -453,108 +453,99 @@ export declare const reviewSchema: z.ZodObject<{
453
453
  filesChanged: z.ZodNumber;
454
454
  insertions: z.ZodNumber;
455
455
  }, z.core.$strict>>;
456
- verification: z.ZodOptional<z.ZodObject<{
457
- mode: z.ZodEnum<{
458
- reused: "reused";
459
- ran: "ran";
460
- }>;
461
- verdict: z.ZodEnum<{
462
- satisfied: "satisfied";
463
- unsatisfied: "unsatisfied";
464
- }>;
465
- }, z.core.$strict>>;
466
456
  }, z.core.$strict>>;
467
- verification: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
468
- refusal: z.ZodUnion<readonly [z.ZodObject<{
469
- kind: z.ZodEnum<{
470
- terminal: "terminal";
471
- "contract-missing": "contract-missing";
472
- }>;
473
- contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
474
- }, z.core.$strict>, z.ZodObject<{
475
- kind: z.ZodLiteral<"verification-declaration-invalid">;
476
- contractId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
477
- }, z.core.$strict>]>;
478
- }, z.core.$strict>, z.ZodObject<{
479
- retry: z.ZodUnion<readonly [z.ZodObject<{
480
- kind: z.ZodEnum<{
481
- exhausted: "exhausted";
482
- collision: "collision";
483
- }>;
484
- }, z.core.$strict>, z.ZodObject<{
485
- kind: z.ZodLiteral<"publication-failed">;
486
- diagnostic: z.ZodString;
487
- }, z.core.$strict>]>;
488
- }, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
489
- stdout: z.ZodOptional<z.ZodString>;
490
- stderr: z.ZodOptional<z.ZodString>;
491
- truncated: z.ZodOptional<z.ZodLiteral<true>>;
492
- failure: z.ZodEnum<{
493
- cancelled: "cancelled";
494
- "unknown-exit": "unknown-exit";
457
+ verification: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
458
+ snapshot: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
459
+ verdict: z.ZodEnum<{
460
+ satisfied: "satisfied";
461
+ unsatisfied: "unsatisfied";
495
462
  }>;
463
+ summary: z.ZodOptional<z.ZodString>;
464
+ kind: z.ZodLiteral<"ran">;
465
+ entry: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").EntryUlid, string>>>;
496
466
  }, z.core.$strict>, z.ZodObject<{
497
- stdout: z.ZodOptional<z.ZodString>;
498
- stderr: z.ZodOptional<z.ZodString>;
499
- truncated: z.ZodOptional<z.ZodLiteral<true>>;
500
- failure: z.ZodEnum<{
501
- "spawn-error": "spawn-error";
502
- "candidate-unavailable": "candidate-unavailable";
467
+ snapshot: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
468
+ verdict: z.ZodEnum<{
469
+ satisfied: "satisfied";
470
+ unsatisfied: "unsatisfied";
503
471
  }>;
504
- diagnostic: z.ZodString;
505
- }, z.core.$strict>, z.ZodObject<{
506
- stdout: z.ZodOptional<z.ZodString>;
507
- stderr: z.ZodOptional<z.ZodString>;
508
- truncated: z.ZodOptional<z.ZodLiteral<true>>;
509
- failure: z.ZodLiteral<"environment-failure">;
510
- diagnostic: z.ZodString;
472
+ entry: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").EntryUlid, string>>;
473
+ summary: z.ZodOptional<z.ZodString>;
474
+ kind: z.ZodLiteral<"reused">;
511
475
  }, z.core.$strict>, z.ZodObject<{
512
- stdout: z.ZodOptional<z.ZodString>;
513
- stderr: z.ZodOptional<z.ZodString>;
514
- truncated: z.ZodOptional<z.ZodLiteral<true>>;
515
- failure: z.ZodLiteral<"environment-failure">;
516
- name: z.ZodString;
517
- detail: z.ZodUnion<readonly [z.ZodObject<{
518
- kind: z.ZodLiteral<"exit">;
519
- code: z.ZodNumber;
520
- stdout: z.ZodString;
521
- stderr: z.ZodString;
522
- truncated: z.ZodBoolean;
476
+ kind: z.ZodLiteral<"stopped">;
477
+ stop: z.ZodUnion<readonly [z.ZodObject<{
478
+ refusal: z.ZodUnion<readonly [z.ZodObject<{
479
+ kind: z.ZodEnum<{
480
+ terminal: "terminal";
481
+ "contract-missing": "contract-missing";
482
+ }>;
483
+ contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
484
+ }, z.core.$strict>, z.ZodObject<{
485
+ kind: z.ZodLiteral<"verification-declaration-invalid">;
486
+ contractId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>>;
487
+ }, z.core.$strict>]>;
523
488
  }, z.core.$strict>, z.ZodObject<{
489
+ retry: z.ZodUnion<readonly [z.ZodObject<{
490
+ kind: z.ZodEnum<{
491
+ exhausted: "exhausted";
492
+ collision: "collision";
493
+ }>;
494
+ }, z.core.$strict>, z.ZodObject<{
495
+ kind: z.ZodLiteral<"publication-failed">;
496
+ diagnostic: z.ZodString;
497
+ }, z.core.$strict>]>;
498
+ }, z.core.$strict>, z.ZodUnion<readonly [z.ZodObject<{
524
499
  stdout: z.ZodOptional<z.ZodString>;
525
500
  stderr: z.ZodOptional<z.ZodString>;
526
- truncated: z.ZodOptional<z.ZodBoolean>;
527
- kind: z.ZodLiteral<"timeout">;
501
+ truncated: z.ZodOptional<z.ZodLiteral<true>>;
502
+ failure: z.ZodEnum<{
503
+ cancelled: "cancelled";
504
+ "unknown-exit": "unknown-exit";
505
+ }>;
528
506
  }, z.core.$strict>, z.ZodObject<{
529
507
  stdout: z.ZodOptional<z.ZodString>;
530
508
  stderr: z.ZodOptional<z.ZodString>;
531
- truncated: z.ZodOptional<z.ZodBoolean>;
532
- kind: z.ZodLiteral<"unknown-exit">;
509
+ truncated: z.ZodOptional<z.ZodLiteral<true>>;
510
+ failure: z.ZodEnum<{
511
+ "spawn-error": "spawn-error";
512
+ "candidate-unavailable": "candidate-unavailable";
513
+ }>;
514
+ diagnostic: z.ZodString;
533
515
  }, z.core.$strict>, z.ZodObject<{
534
- kind: z.ZodLiteral<"spawn-error">;
516
+ stdout: z.ZodOptional<z.ZodString>;
517
+ stderr: z.ZodOptional<z.ZodString>;
518
+ truncated: z.ZodOptional<z.ZodLiteral<true>>;
519
+ failure: z.ZodLiteral<"environment-failure">;
535
520
  diagnostic: z.ZodString;
536
- }, z.core.$strict>]>;
537
- }, z.core.$strict>]>]>>;
538
- verificationReuse: z.ZodOptional<z.ZodObject<{
539
- entry: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").EntryUlid, string>>;
540
- verdict: z.ZodEnum<{
541
- satisfied: "satisfied";
542
- unsatisfied: "unsatisfied";
543
- }>;
544
- summary: z.ZodOptional<z.ZodString>;
545
- }, z.core.$strict>>;
546
- verificationSubject: z.ZodOptional<z.ZodObject<{
547
- mode: z.ZodEnum<{
548
- reused: "reused";
549
- ran: "ran";
550
- }>;
551
- verdict: z.ZodEnum<{
552
- satisfied: "satisfied";
553
- unsatisfied: "unsatisfied";
554
- }>;
555
- snapshot: z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>;
556
- }, z.core.$strict>>;
557
- verificationSummary: z.ZodOptional<z.ZodString>;
521
+ }, z.core.$strict>, z.ZodObject<{
522
+ stdout: z.ZodOptional<z.ZodString>;
523
+ stderr: z.ZodOptional<z.ZodString>;
524
+ truncated: z.ZodOptional<z.ZodLiteral<true>>;
525
+ failure: z.ZodLiteral<"environment-failure">;
526
+ name: z.ZodString;
527
+ detail: z.ZodUnion<readonly [z.ZodObject<{
528
+ kind: z.ZodLiteral<"exit">;
529
+ code: z.ZodNumber;
530
+ stdout: z.ZodString;
531
+ stderr: z.ZodString;
532
+ truncated: z.ZodBoolean;
533
+ }, z.core.$strict>, z.ZodObject<{
534
+ stdout: z.ZodOptional<z.ZodString>;
535
+ stderr: z.ZodOptional<z.ZodString>;
536
+ truncated: z.ZodOptional<z.ZodBoolean>;
537
+ kind: z.ZodLiteral<"timeout">;
538
+ }, z.core.$strict>, z.ZodObject<{
539
+ stdout: z.ZodOptional<z.ZodString>;
540
+ stderr: z.ZodOptional<z.ZodString>;
541
+ truncated: z.ZodOptional<z.ZodBoolean>;
542
+ kind: z.ZodLiteral<"unknown-exit">;
543
+ }, z.core.$strict>, z.ZodObject<{
544
+ kind: z.ZodLiteral<"spawn-error">;
545
+ diagnostic: z.ZodString;
546
+ }, z.core.$strict>]>;
547
+ }, z.core.$strict>]>]>;
548
+ }, z.core.$strict>], "kind">>;
558
549
  placement: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
559
550
  refusal: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
560
551
  kind: z.ZodEnum<{
@@ -995,6 +986,7 @@ declare function acceptedOutcomeSchema<Operation extends ContractVerb, Value>(op
995
986
  at: string;
996
987
  actor?: import("../core/facts/types.js").ActorId;
997
988
  data: Readonly<{
989
+ note?: string;
998
990
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
999
991
  integration: Readonly<{
1000
992
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -1271,7 +1263,7 @@ declare function acceptedOutcomeSchema<Operation extends ContractVerb, Value>(op
1271
1263
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
1272
1264
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
1273
1265
  leak: z.ZodObject<{
1274
- path: z.ZodString;
1266
+ path: z.ZodOptional<z.ZodString>;
1275
1267
  diagnostic: z.ZodString;
1276
1268
  }, z.core.$strict>;
1277
1269
  }, z.core.$strict>, z.ZodObject<{
@@ -1363,6 +1355,7 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
1363
1355
  at: string;
1364
1356
  actor?: import("../core/facts/types.js").ActorId;
1365
1357
  data: Readonly<{
1358
+ note?: string;
1366
1359
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
1367
1360
  integration: Readonly<{
1368
1361
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -1639,7 +1632,7 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
1639
1632
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
1640
1633
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
1641
1634
  leak: z.ZodObject<{
1642
- path: z.ZodString;
1635
+ path: z.ZodOptional<z.ZodString>;
1643
1636
  diagnostic: z.ZodString;
1644
1637
  }, z.core.$strict>;
1645
1638
  }, z.core.$strict>, z.ZodObject<{
@@ -1727,6 +1720,7 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
1727
1720
  at: string;
1728
1721
  actor?: import("../core/facts/types.js").ActorId;
1729
1722
  data: Readonly<{
1723
+ note?: string;
1730
1724
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
1731
1725
  integration: Readonly<{
1732
1726
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -1895,8 +1889,8 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
1895
1889
  kind: "worktree-leak";
1896
1890
  contractId: ContractId;
1897
1891
  leak: {
1898
- path: string;
1899
1892
  diagnostic: string;
1893
+ path?: string | undefined;
1900
1894
  };
1901
1895
  snapshot?: import("../core/facts/types.js").SnapshotId | undefined;
1902
1896
  } | {
@@ -2027,6 +2021,7 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
2027
2021
  at: string;
2028
2022
  actor?: import("../core/facts/types.js").ActorId;
2029
2023
  data: Readonly<{
2024
+ note?: string;
2030
2025
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
2031
2026
  integration: Readonly<{
2032
2027
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -2195,8 +2190,8 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
2195
2190
  kind: "worktree-leak";
2196
2191
  contractId: ContractId;
2197
2192
  leak: {
2198
- path: string;
2199
2193
  diagnostic: string;
2194
+ path?: string | undefined;
2200
2195
  };
2201
2196
  snapshot?: import("../core/facts/types.js").SnapshotId | undefined;
2202
2197
  } | {
@@ -2327,6 +2322,7 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2327
2322
  at: string;
2328
2323
  actor?: import("../core/facts/types.js").ActorId;
2329
2324
  data: Readonly<{
2325
+ note?: string;
2330
2326
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
2331
2327
  integration: Readonly<{
2332
2328
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -2603,7 +2599,7 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2603
2599
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
2604
2600
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
2605
2601
  leak: z.ZodObject<{
2606
- path: z.ZodString;
2602
+ path: z.ZodOptional<z.ZodString>;
2607
2603
  diagnostic: z.ZodString;
2608
2604
  }, z.core.$strict>;
2609
2605
  }, z.core.$strict>, z.ZodObject<{
@@ -2691,6 +2687,7 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2691
2687
  at: string;
2692
2688
  actor?: import("../core/facts/types.js").ActorId;
2693
2689
  data: Readonly<{
2690
+ note?: string;
2694
2691
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
2695
2692
  integration: Readonly<{
2696
2693
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -2859,8 +2856,8 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2859
2856
  kind: "worktree-leak";
2860
2857
  contractId: ContractId;
2861
2858
  leak: {
2862
- path: string;
2863
2859
  diagnostic: string;
2860
+ path?: string | undefined;
2864
2861
  };
2865
2862
  snapshot?: import("../core/facts/types.js").SnapshotId | undefined;
2866
2863
  } | {
@@ -2991,6 +2988,7 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2991
2988
  at: string;
2992
2989
  actor?: import("../core/facts/types.js").ActorId;
2993
2990
  data: Readonly<{
2991
+ note?: string;
2994
2992
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
2995
2993
  integration: Readonly<{
2996
2994
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -3159,8 +3157,8 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
3159
3157
  kind: "worktree-leak";
3160
3158
  contractId: ContractId;
3161
3159
  leak: {
3162
- path: string;
3163
3160
  diagnostic: string;
3161
+ path?: string | undefined;
3164
3162
  };
3165
3163
  snapshot?: import("../core/facts/types.js").SnapshotId | undefined;
3166
3164
  } | {
@@ -3290,6 +3288,7 @@ declare const handoffOutcomeSchema: z.ZodObject<{
3290
3288
  at: string;
3291
3289
  actor?: import("../core/facts/types.js").ActorId;
3292
3290
  data: Readonly<{
3291
+ note?: string;
3293
3292
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
3294
3293
  integration: Readonly<{
3295
3294
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -3566,7 +3565,7 @@ declare const handoffOutcomeSchema: z.ZodObject<{
3566
3565
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
3567
3566
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
3568
3567
  leak: z.ZodObject<{
3569
- path: z.ZodString;
3568
+ path: z.ZodOptional<z.ZodString>;
3570
3569
  diagnostic: z.ZodString;
3571
3570
  }, z.core.$strict>;
3572
3571
  }, z.core.$strict>, z.ZodObject<{
@@ -3770,6 +3769,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
3770
3769
  at: string;
3771
3770
  actor?: import("../core/facts/types.js").ActorId;
3772
3771
  data: Readonly<{
3772
+ note?: string;
3773
3773
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
3774
3774
  integration: Readonly<{
3775
3775
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -4046,7 +4046,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4046
4046
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
4047
4047
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
4048
4048
  leak: z.ZodObject<{
4049
- path: z.ZodString;
4049
+ path: z.ZodOptional<z.ZodString>;
4050
4050
  diagnostic: z.ZodString;
4051
4051
  }, z.core.$strict>;
4052
4052
  }, z.core.$strict>, z.ZodObject<{
@@ -4171,6 +4171,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4171
4171
  at: string;
4172
4172
  actor?: import("../core/facts/types.js").ActorId;
4173
4173
  data: Readonly<{
4174
+ note?: string;
4174
4175
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
4175
4176
  integration: Readonly<{
4176
4177
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -4447,7 +4448,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4447
4448
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
4448
4449
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
4449
4450
  leak: z.ZodObject<{
4450
- path: z.ZodString;
4451
+ path: z.ZodOptional<z.ZodString>;
4451
4452
  diagnostic: z.ZodString;
4452
4453
  }, z.core.$strict>;
4453
4454
  }, z.core.$strict>, z.ZodObject<{
@@ -4566,6 +4567,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4566
4567
  at: string;
4567
4568
  actor?: import("../core/facts/types.js").ActorId;
4568
4569
  data: Readonly<{
4570
+ note?: string;
4569
4571
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
4570
4572
  integration: Readonly<{
4571
4573
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -4842,7 +4844,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4842
4844
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
4843
4845
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
4844
4846
  leak: z.ZodObject<{
4845
- path: z.ZodString;
4847
+ path: z.ZodOptional<z.ZodString>;
4846
4848
  diagnostic: z.ZodString;
4847
4849
  }, z.core.$strict>;
4848
4850
  }, z.core.$strict>, z.ZodObject<{
@@ -4903,81 +4905,81 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4903
4905
  filesChanged: number;
4904
4906
  insertions: number;
4905
4907
  } | undefined;
4906
- verification?: {
4907
- mode: "reused" | "ran";
4908
- verdict: "satisfied" | "unsatisfied";
4909
- } | undefined;
4910
4908
  } | undefined;
4911
4909
  verification?: {
4912
- refusal: {
4913
- kind: "terminal" | "contract-missing";
4914
- contractId: ContractId;
4915
- } | {
4916
- kind: "verification-declaration-invalid";
4917
- contractId?: ContractId | undefined;
4918
- };
4919
- } | {
4920
- retry: {
4921
- kind: "publication-failed";
4922
- diagnostic: string;
4923
- } | {
4924
- kind: "exhausted" | "collision";
4925
- };
4926
- } | {
4927
- failure: "cancelled" | "unknown-exit";
4928
- stdout?: string | undefined;
4929
- stderr?: string | undefined;
4930
- truncated?: true | undefined;
4931
- } | {
4932
- failure: "spawn-error" | "candidate-unavailable";
4933
- diagnostic: string;
4934
- stdout?: string | undefined;
4935
- stderr?: string | undefined;
4936
- truncated?: true | undefined;
4910
+ snapshot: import("../core/facts/types.js").SnapshotId;
4911
+ verdict: "satisfied" | "unsatisfied";
4912
+ kind: "ran";
4913
+ summary?: string | undefined;
4914
+ entry?: import("../core/facts/types.js").EntryUlid | undefined;
4937
4915
  } | {
4938
- failure: "environment-failure";
4939
- diagnostic: string;
4940
- stdout?: string | undefined;
4941
- stderr?: string | undefined;
4942
- truncated?: true | undefined;
4916
+ snapshot: import("../core/facts/types.js").SnapshotId;
4917
+ verdict: "satisfied" | "unsatisfied";
4918
+ entry: import("../core/facts/types.js").EntryUlid;
4919
+ kind: "reused";
4920
+ summary?: string | undefined;
4943
4921
  } | {
4944
- failure: "environment-failure";
4945
- name: string;
4946
- detail: {
4947
- kind: "exit";
4948
- code: number;
4949
- stdout: string;
4950
- stderr: string;
4951
- truncated: boolean;
4922
+ kind: "stopped";
4923
+ stop: {
4924
+ refusal: {
4925
+ kind: "terminal" | "contract-missing";
4926
+ contractId: ContractId;
4927
+ } | {
4928
+ kind: "verification-declaration-invalid";
4929
+ contractId?: ContractId | undefined;
4930
+ };
4952
4931
  } | {
4953
- kind: "timeout";
4932
+ retry: {
4933
+ kind: "publication-failed";
4934
+ diagnostic: string;
4935
+ } | {
4936
+ kind: "exhausted" | "collision";
4937
+ };
4938
+ } | {
4939
+ failure: "cancelled" | "unknown-exit";
4954
4940
  stdout?: string | undefined;
4955
4941
  stderr?: string | undefined;
4956
- truncated?: boolean | undefined;
4942
+ truncated?: true | undefined;
4957
4943
  } | {
4958
- kind: "unknown-exit";
4944
+ failure: "spawn-error" | "candidate-unavailable";
4945
+ diagnostic: string;
4959
4946
  stdout?: string | undefined;
4960
4947
  stderr?: string | undefined;
4961
- truncated?: boolean | undefined;
4948
+ truncated?: true | undefined;
4962
4949
  } | {
4963
- kind: "spawn-error";
4950
+ failure: "environment-failure";
4964
4951
  diagnostic: string;
4952
+ stdout?: string | undefined;
4953
+ stderr?: string | undefined;
4954
+ truncated?: true | undefined;
4955
+ } | {
4956
+ failure: "environment-failure";
4957
+ name: string;
4958
+ detail: {
4959
+ kind: "exit";
4960
+ code: number;
4961
+ stdout: string;
4962
+ stderr: string;
4963
+ truncated: boolean;
4964
+ } | {
4965
+ kind: "timeout";
4966
+ stdout?: string | undefined;
4967
+ stderr?: string | undefined;
4968
+ truncated?: boolean | undefined;
4969
+ } | {
4970
+ kind: "unknown-exit";
4971
+ stdout?: string | undefined;
4972
+ stderr?: string | undefined;
4973
+ truncated?: boolean | undefined;
4974
+ } | {
4975
+ kind: "spawn-error";
4976
+ diagnostic: string;
4977
+ };
4978
+ stdout?: string | undefined;
4979
+ stderr?: string | undefined;
4980
+ truncated?: true | undefined;
4965
4981
  };
4966
- stdout?: string | undefined;
4967
- stderr?: string | undefined;
4968
- truncated?: true | undefined;
4969
- } | undefined;
4970
- verificationReuse?: {
4971
- entry: import("../core/facts/types.js").EntryUlid;
4972
- verdict: "satisfied" | "unsatisfied";
4973
- summary?: string | undefined;
4974
- } | undefined;
4975
- verificationSubject?: {
4976
- mode: "reused" | "ran";
4977
- verdict: "satisfied" | "unsatisfied";
4978
- snapshot: import("../core/facts/types.js").SnapshotId;
4979
4982
  } | undefined;
4980
- verificationSummary?: string | undefined;
4981
4983
  placement?: {
4982
4984
  refusal: {
4983
4985
  kind: "checkout-not-followable";
@@ -5064,6 +5066,13 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5064
5066
  leading?: {
5065
5067
  kind: "admitted-now" | "already-admitted";
5066
5068
  fact: import("../core/facts/types.js").EntryUlid;
5069
+ reusedIntegration?: import("../core/facts/types.js").SnapshotId | undefined;
5070
+ } | undefined;
5071
+ contentChange?: {
5072
+ kind: "candidate-content-changed";
5073
+ previousChange: import("../core/facts/types.js").ChangeId;
5074
+ currentChange: import("../core/facts/types.js").ChangeId;
5075
+ target?: string | undefined;
5067
5076
  } | undefined;
5068
5077
  continuation?: {
5069
5078
  claimed: readonly ContractId[];
@@ -5274,6 +5283,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5274
5283
  };
5275
5284
  }[];
5276
5285
  } | undefined;
5286
+ note?: string | undefined;
5277
5287
  tenderSnapshot?: import("../core/facts/types.js").SnapshotId | undefined;
5278
5288
  integration?: {
5279
5289
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -5294,81 +5304,81 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5294
5304
  filesChanged: number;
5295
5305
  insertions: number;
5296
5306
  } | undefined;
5297
- verification?: {
5298
- mode: "reused" | "ran";
5299
- verdict: "satisfied" | "unsatisfied";
5300
- } | undefined;
5301
5307
  } | undefined;
5302
5308
  verification?: {
5303
- refusal: {
5304
- kind: "terminal" | "contract-missing";
5305
- contractId: ContractId;
5306
- } | {
5307
- kind: "verification-declaration-invalid";
5308
- contractId?: ContractId | undefined;
5309
- };
5310
- } | {
5311
- retry: {
5312
- kind: "publication-failed";
5313
- diagnostic: string;
5314
- } | {
5315
- kind: "exhausted" | "collision";
5316
- };
5317
- } | {
5318
- failure: "cancelled" | "unknown-exit";
5319
- stdout?: string | undefined;
5320
- stderr?: string | undefined;
5321
- truncated?: true | undefined;
5322
- } | {
5323
- failure: "spawn-error" | "candidate-unavailable";
5324
- diagnostic: string;
5325
- stdout?: string | undefined;
5326
- stderr?: string | undefined;
5327
- truncated?: true | undefined;
5309
+ snapshot: import("../core/facts/types.js").SnapshotId;
5310
+ verdict: "satisfied" | "unsatisfied";
5311
+ kind: "ran";
5312
+ summary?: string | undefined;
5313
+ entry?: import("../core/facts/types.js").EntryUlid | undefined;
5328
5314
  } | {
5329
- failure: "environment-failure";
5330
- diagnostic: string;
5331
- stdout?: string | undefined;
5332
- stderr?: string | undefined;
5333
- truncated?: true | undefined;
5315
+ snapshot: import("../core/facts/types.js").SnapshotId;
5316
+ verdict: "satisfied" | "unsatisfied";
5317
+ entry: import("../core/facts/types.js").EntryUlid;
5318
+ kind: "reused";
5319
+ summary?: string | undefined;
5334
5320
  } | {
5335
- failure: "environment-failure";
5336
- name: string;
5337
- detail: {
5338
- kind: "exit";
5339
- code: number;
5340
- stdout: string;
5341
- stderr: string;
5342
- truncated: boolean;
5321
+ kind: "stopped";
5322
+ stop: {
5323
+ refusal: {
5324
+ kind: "terminal" | "contract-missing";
5325
+ contractId: ContractId;
5326
+ } | {
5327
+ kind: "verification-declaration-invalid";
5328
+ contractId?: ContractId | undefined;
5329
+ };
5343
5330
  } | {
5344
- kind: "timeout";
5331
+ retry: {
5332
+ kind: "publication-failed";
5333
+ diagnostic: string;
5334
+ } | {
5335
+ kind: "exhausted" | "collision";
5336
+ };
5337
+ } | {
5338
+ failure: "cancelled" | "unknown-exit";
5345
5339
  stdout?: string | undefined;
5346
5340
  stderr?: string | undefined;
5347
- truncated?: boolean | undefined;
5341
+ truncated?: true | undefined;
5348
5342
  } | {
5349
- kind: "unknown-exit";
5343
+ failure: "spawn-error" | "candidate-unavailable";
5344
+ diagnostic: string;
5350
5345
  stdout?: string | undefined;
5351
5346
  stderr?: string | undefined;
5352
- truncated?: boolean | undefined;
5347
+ truncated?: true | undefined;
5353
5348
  } | {
5354
- kind: "spawn-error";
5349
+ failure: "environment-failure";
5355
5350
  diagnostic: string;
5351
+ stdout?: string | undefined;
5352
+ stderr?: string | undefined;
5353
+ truncated?: true | undefined;
5354
+ } | {
5355
+ failure: "environment-failure";
5356
+ name: string;
5357
+ detail: {
5358
+ kind: "exit";
5359
+ code: number;
5360
+ stdout: string;
5361
+ stderr: string;
5362
+ truncated: boolean;
5363
+ } | {
5364
+ kind: "timeout";
5365
+ stdout?: string | undefined;
5366
+ stderr?: string | undefined;
5367
+ truncated?: boolean | undefined;
5368
+ } | {
5369
+ kind: "unknown-exit";
5370
+ stdout?: string | undefined;
5371
+ stderr?: string | undefined;
5372
+ truncated?: boolean | undefined;
5373
+ } | {
5374
+ kind: "spawn-error";
5375
+ diagnostic: string;
5376
+ };
5377
+ stdout?: string | undefined;
5378
+ stderr?: string | undefined;
5379
+ truncated?: true | undefined;
5356
5380
  };
5357
- stdout?: string | undefined;
5358
- stderr?: string | undefined;
5359
- truncated?: true | undefined;
5360
5381
  } | undefined;
5361
- verificationReuse?: {
5362
- entry: import("../core/facts/types.js").EntryUlid;
5363
- verdict: "satisfied" | "unsatisfied";
5364
- summary?: string | undefined;
5365
- } | undefined;
5366
- verificationSubject?: {
5367
- mode: "reused" | "ran";
5368
- verdict: "satisfied" | "unsatisfied";
5369
- snapshot: import("../core/facts/types.js").SnapshotId;
5370
- } | undefined;
5371
- verificationSummary?: string | undefined;
5372
5382
  placement?: {
5373
5383
  refusal: {
5374
5384
  kind: "checkout-not-followable";
@@ -5455,6 +5465,13 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5455
5465
  leading?: {
5456
5466
  kind: "admitted-now" | "already-admitted";
5457
5467
  fact: import("../core/facts/types.js").EntryUlid;
5468
+ reusedIntegration?: import("../core/facts/types.js").SnapshotId | undefined;
5469
+ } | undefined;
5470
+ contentChange?: {
5471
+ kind: "candidate-content-changed";
5472
+ previousChange: import("../core/facts/types.js").ChangeId;
5473
+ currentChange: import("../core/facts/types.js").ChangeId;
5474
+ target?: string | undefined;
5458
5475
  } | undefined;
5459
5476
  continuation?: {
5460
5477
  claimed: readonly ContractId[];
@@ -5665,6 +5682,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5665
5682
  };
5666
5683
  }[];
5667
5684
  } | undefined;
5685
+ note?: string | undefined;
5668
5686
  tenderSnapshot?: import("../core/facts/types.js").SnapshotId | undefined;
5669
5687
  integration?: {
5670
5688
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -5713,6 +5731,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5713
5731
  at: string;
5714
5732
  actor?: import("../core/facts/types.js").ActorId;
5715
5733
  data: Readonly<{
5734
+ note?: string;
5716
5735
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
5717
5736
  integration: Readonly<{
5718
5737
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -5989,7 +6008,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5989
6008
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
5990
6009
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
5991
6010
  leak: z.ZodObject<{
5992
- path: z.ZodString;
6011
+ path: z.ZodOptional<z.ZodString>;
5993
6012
  diagnostic: z.ZodString;
5994
6013
  }, z.core.$strict>;
5995
6014
  }, z.core.$strict>, z.ZodObject<{
@@ -6050,81 +6069,81 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6050
6069
  filesChanged: number;
6051
6070
  insertions: number;
6052
6071
  } | undefined;
6053
- verification?: {
6054
- mode: "reused" | "ran";
6055
- verdict: "satisfied" | "unsatisfied";
6056
- } | undefined;
6057
6072
  } | undefined;
6058
6073
  verification?: {
6059
- refusal: {
6060
- kind: "terminal" | "contract-missing";
6061
- contractId: ContractId;
6062
- } | {
6063
- kind: "verification-declaration-invalid";
6064
- contractId?: ContractId | undefined;
6065
- };
6066
- } | {
6067
- retry: {
6068
- kind: "publication-failed";
6069
- diagnostic: string;
6070
- } | {
6071
- kind: "exhausted" | "collision";
6072
- };
6073
- } | {
6074
- failure: "cancelled" | "unknown-exit";
6075
- stdout?: string | undefined;
6076
- stderr?: string | undefined;
6077
- truncated?: true | undefined;
6078
- } | {
6079
- failure: "spawn-error" | "candidate-unavailable";
6080
- diagnostic: string;
6081
- stdout?: string | undefined;
6082
- stderr?: string | undefined;
6083
- truncated?: true | undefined;
6074
+ snapshot: import("../core/facts/types.js").SnapshotId;
6075
+ verdict: "satisfied" | "unsatisfied";
6076
+ kind: "ran";
6077
+ summary?: string | undefined;
6078
+ entry?: import("../core/facts/types.js").EntryUlid | undefined;
6084
6079
  } | {
6085
- failure: "environment-failure";
6086
- diagnostic: string;
6087
- stdout?: string | undefined;
6088
- stderr?: string | undefined;
6089
- truncated?: true | undefined;
6080
+ snapshot: import("../core/facts/types.js").SnapshotId;
6081
+ verdict: "satisfied" | "unsatisfied";
6082
+ entry: import("../core/facts/types.js").EntryUlid;
6083
+ kind: "reused";
6084
+ summary?: string | undefined;
6090
6085
  } | {
6091
- failure: "environment-failure";
6092
- name: string;
6093
- detail: {
6094
- kind: "exit";
6095
- code: number;
6096
- stdout: string;
6097
- stderr: string;
6098
- truncated: boolean;
6086
+ kind: "stopped";
6087
+ stop: {
6088
+ refusal: {
6089
+ kind: "terminal" | "contract-missing";
6090
+ contractId: ContractId;
6091
+ } | {
6092
+ kind: "verification-declaration-invalid";
6093
+ contractId?: ContractId | undefined;
6094
+ };
6099
6095
  } | {
6100
- kind: "timeout";
6096
+ retry: {
6097
+ kind: "publication-failed";
6098
+ diagnostic: string;
6099
+ } | {
6100
+ kind: "exhausted" | "collision";
6101
+ };
6102
+ } | {
6103
+ failure: "cancelled" | "unknown-exit";
6101
6104
  stdout?: string | undefined;
6102
6105
  stderr?: string | undefined;
6103
- truncated?: boolean | undefined;
6106
+ truncated?: true | undefined;
6104
6107
  } | {
6105
- kind: "unknown-exit";
6108
+ failure: "spawn-error" | "candidate-unavailable";
6109
+ diagnostic: string;
6106
6110
  stdout?: string | undefined;
6107
6111
  stderr?: string | undefined;
6108
- truncated?: boolean | undefined;
6112
+ truncated?: true | undefined;
6109
6113
  } | {
6110
- kind: "spawn-error";
6114
+ failure: "environment-failure";
6111
6115
  diagnostic: string;
6116
+ stdout?: string | undefined;
6117
+ stderr?: string | undefined;
6118
+ truncated?: true | undefined;
6119
+ } | {
6120
+ failure: "environment-failure";
6121
+ name: string;
6122
+ detail: {
6123
+ kind: "exit";
6124
+ code: number;
6125
+ stdout: string;
6126
+ stderr: string;
6127
+ truncated: boolean;
6128
+ } | {
6129
+ kind: "timeout";
6130
+ stdout?: string | undefined;
6131
+ stderr?: string | undefined;
6132
+ truncated?: boolean | undefined;
6133
+ } | {
6134
+ kind: "unknown-exit";
6135
+ stdout?: string | undefined;
6136
+ stderr?: string | undefined;
6137
+ truncated?: boolean | undefined;
6138
+ } | {
6139
+ kind: "spawn-error";
6140
+ diagnostic: string;
6141
+ };
6142
+ stdout?: string | undefined;
6143
+ stderr?: string | undefined;
6144
+ truncated?: true | undefined;
6112
6145
  };
6113
- stdout?: string | undefined;
6114
- stderr?: string | undefined;
6115
- truncated?: true | undefined;
6116
- } | undefined;
6117
- verificationReuse?: {
6118
- entry: import("../core/facts/types.js").EntryUlid;
6119
- verdict: "satisfied" | "unsatisfied";
6120
- summary?: string | undefined;
6121
- } | undefined;
6122
- verificationSubject?: {
6123
- mode: "reused" | "ran";
6124
- verdict: "satisfied" | "unsatisfied";
6125
- snapshot: import("../core/facts/types.js").SnapshotId;
6126
6146
  } | undefined;
6127
- verificationSummary?: string | undefined;
6128
6147
  placement?: {
6129
6148
  refusal: {
6130
6149
  kind: "checkout-not-followable";
@@ -6438,81 +6457,81 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6438
6457
  filesChanged: number;
6439
6458
  insertions: number;
6440
6459
  } | undefined;
6441
- verification?: {
6442
- mode: "reused" | "ran";
6443
- verdict: "satisfied" | "unsatisfied";
6444
- } | undefined;
6445
6460
  } | undefined;
6446
6461
  verification?: {
6447
- refusal: {
6448
- kind: "terminal" | "contract-missing";
6449
- contractId: ContractId;
6450
- } | {
6451
- kind: "verification-declaration-invalid";
6452
- contractId?: ContractId | undefined;
6453
- };
6454
- } | {
6455
- retry: {
6456
- kind: "publication-failed";
6457
- diagnostic: string;
6458
- } | {
6459
- kind: "exhausted" | "collision";
6460
- };
6461
- } | {
6462
- failure: "cancelled" | "unknown-exit";
6463
- stdout?: string | undefined;
6464
- stderr?: string | undefined;
6465
- truncated?: true | undefined;
6466
- } | {
6467
- failure: "spawn-error" | "candidate-unavailable";
6468
- diagnostic: string;
6469
- stdout?: string | undefined;
6470
- stderr?: string | undefined;
6471
- truncated?: true | undefined;
6462
+ snapshot: import("../core/facts/types.js").SnapshotId;
6463
+ verdict: "satisfied" | "unsatisfied";
6464
+ kind: "ran";
6465
+ summary?: string | undefined;
6466
+ entry?: import("../core/facts/types.js").EntryUlid | undefined;
6472
6467
  } | {
6473
- failure: "environment-failure";
6474
- diagnostic: string;
6475
- stdout?: string | undefined;
6476
- stderr?: string | undefined;
6477
- truncated?: true | undefined;
6468
+ snapshot: import("../core/facts/types.js").SnapshotId;
6469
+ verdict: "satisfied" | "unsatisfied";
6470
+ entry: import("../core/facts/types.js").EntryUlid;
6471
+ kind: "reused";
6472
+ summary?: string | undefined;
6478
6473
  } | {
6479
- failure: "environment-failure";
6480
- name: string;
6481
- detail: {
6482
- kind: "exit";
6483
- code: number;
6484
- stdout: string;
6485
- stderr: string;
6486
- truncated: boolean;
6474
+ kind: "stopped";
6475
+ stop: {
6476
+ refusal: {
6477
+ kind: "terminal" | "contract-missing";
6478
+ contractId: ContractId;
6479
+ } | {
6480
+ kind: "verification-declaration-invalid";
6481
+ contractId?: ContractId | undefined;
6482
+ };
6487
6483
  } | {
6488
- kind: "timeout";
6484
+ retry: {
6485
+ kind: "publication-failed";
6486
+ diagnostic: string;
6487
+ } | {
6488
+ kind: "exhausted" | "collision";
6489
+ };
6490
+ } | {
6491
+ failure: "cancelled" | "unknown-exit";
6489
6492
  stdout?: string | undefined;
6490
6493
  stderr?: string | undefined;
6491
- truncated?: boolean | undefined;
6494
+ truncated?: true | undefined;
6492
6495
  } | {
6493
- kind: "unknown-exit";
6496
+ failure: "spawn-error" | "candidate-unavailable";
6497
+ diagnostic: string;
6494
6498
  stdout?: string | undefined;
6495
6499
  stderr?: string | undefined;
6496
- truncated?: boolean | undefined;
6500
+ truncated?: true | undefined;
6497
6501
  } | {
6498
- kind: "spawn-error";
6502
+ failure: "environment-failure";
6499
6503
  diagnostic: string;
6504
+ stdout?: string | undefined;
6505
+ stderr?: string | undefined;
6506
+ truncated?: true | undefined;
6507
+ } | {
6508
+ failure: "environment-failure";
6509
+ name: string;
6510
+ detail: {
6511
+ kind: "exit";
6512
+ code: number;
6513
+ stdout: string;
6514
+ stderr: string;
6515
+ truncated: boolean;
6516
+ } | {
6517
+ kind: "timeout";
6518
+ stdout?: string | undefined;
6519
+ stderr?: string | undefined;
6520
+ truncated?: boolean | undefined;
6521
+ } | {
6522
+ kind: "unknown-exit";
6523
+ stdout?: string | undefined;
6524
+ stderr?: string | undefined;
6525
+ truncated?: boolean | undefined;
6526
+ } | {
6527
+ kind: "spawn-error";
6528
+ diagnostic: string;
6529
+ };
6530
+ stdout?: string | undefined;
6531
+ stderr?: string | undefined;
6532
+ truncated?: true | undefined;
6500
6533
  };
6501
- stdout?: string | undefined;
6502
- stderr?: string | undefined;
6503
- truncated?: true | undefined;
6504
6534
  } | undefined;
6505
- verificationReuse?: {
6506
- entry: import("../core/facts/types.js").EntryUlid;
6507
- verdict: "satisfied" | "unsatisfied";
6508
- summary?: string | undefined;
6509
- } | undefined;
6510
- verificationSubject?: {
6511
- mode: "reused" | "ran";
6512
- verdict: "satisfied" | "unsatisfied";
6513
- snapshot: import("../core/facts/types.js").SnapshotId;
6514
- } | undefined;
6515
- verificationSummary?: string | undefined;
6516
6535
  placement?: {
6517
6536
  refusal: {
6518
6537
  kind: "checkout-not-followable";
@@ -6854,6 +6873,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6854
6873
  at: string;
6855
6874
  actor?: import("../core/facts/types.js").ActorId;
6856
6875
  data: Readonly<{
6876
+ note?: string;
6857
6877
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
6858
6878
  integration: Readonly<{
6859
6879
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -7130,7 +7150,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7130
7150
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
7131
7151
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
7132
7152
  leak: z.ZodObject<{
7133
- path: z.ZodString;
7153
+ path: z.ZodOptional<z.ZodString>;
7134
7154
  diagnostic: z.ZodString;
7135
7155
  }, z.core.$strict>;
7136
7156
  }, z.core.$strict>, z.ZodObject<{
@@ -7249,6 +7269,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7249
7269
  policy: {
7250
7270
  requireBranchesToBeUpToDate: boolean;
7251
7271
  };
7272
+ note?: string | undefined;
7252
7273
  };
7253
7274
  scope: {
7254
7275
  filesChanged: number;
@@ -7454,6 +7475,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7454
7475
  policy: {
7455
7476
  requireBranchesToBeUpToDate: boolean;
7456
7477
  };
7478
+ note?: string | undefined;
7457
7479
  };
7458
7480
  scope: {
7459
7481
  filesChanged: number;
@@ -7629,6 +7651,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7629
7651
  at: string;
7630
7652
  actor?: import("../core/facts/types.js").ActorId;
7631
7653
  data: Readonly<{
7654
+ note?: string;
7632
7655
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
7633
7656
  integration: Readonly<{
7634
7657
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -7905,7 +7928,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7905
7928
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
7906
7929
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
7907
7930
  leak: z.ZodObject<{
7908
- path: z.ZodString;
7931
+ path: z.ZodOptional<z.ZodString>;
7909
7932
  diagnostic: z.ZodString;
7910
7933
  }, z.core.$strict>;
7911
7934
  }, z.core.$strict>, z.ZodObject<{
@@ -7994,6 +8017,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7994
8017
  at: string;
7995
8018
  actor?: import("../core/facts/types.js").ActorId;
7996
8019
  data: Readonly<{
8020
+ note?: string;
7997
8021
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
7998
8022
  integration: Readonly<{
7999
8023
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -8270,7 +8294,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
8270
8294
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
8271
8295
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
8272
8296
  leak: z.ZodObject<{
8273
- path: z.ZodString;
8297
+ path: z.ZodOptional<z.ZodString>;
8274
8298
  diagnostic: z.ZodString;
8275
8299
  }, z.core.$strict>;
8276
8300
  }, z.core.$strict>, z.ZodObject<{
@@ -8416,6 +8440,7 @@ declare const failureWireSchema: z.ZodObject<{
8416
8440
  at: string;
8417
8441
  actor?: import("../core/facts/types.js").ActorId;
8418
8442
  data: Readonly<{
8443
+ note?: string;
8419
8444
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
8420
8445
  integration: Readonly<{
8421
8446
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -8692,7 +8717,7 @@ declare const failureWireSchema: z.ZodObject<{
8692
8717
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
8693
8718
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
8694
8719
  leak: z.ZodObject<{
8695
- path: z.ZodString;
8720
+ path: z.ZodOptional<z.ZodString>;
8696
8721
  diagnostic: z.ZodString;
8697
8722
  }, z.core.$strict>;
8698
8723
  }, z.core.$strict>, z.ZodObject<{
@@ -8817,6 +8842,7 @@ declare const failureWireSchema: z.ZodObject<{
8817
8842
  at: string;
8818
8843
  actor?: import("../core/facts/types.js").ActorId;
8819
8844
  data: Readonly<{
8845
+ note?: string;
8820
8846
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
8821
8847
  integration: Readonly<{
8822
8848
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -9093,7 +9119,7 @@ declare const failureWireSchema: z.ZodObject<{
9093
9119
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
9094
9120
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
9095
9121
  leak: z.ZodObject<{
9096
- path: z.ZodString;
9122
+ path: z.ZodOptional<z.ZodString>;
9097
9123
  diagnostic: z.ZodString;
9098
9124
  }, z.core.$strict>;
9099
9125
  }, z.core.$strict>, z.ZodObject<{
@@ -9212,6 +9238,7 @@ declare const failureWireSchema: z.ZodObject<{
9212
9238
  at: string;
9213
9239
  actor?: import("../core/facts/types.js").ActorId;
9214
9240
  data: Readonly<{
9241
+ note?: string;
9215
9242
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
9216
9243
  integration: Readonly<{
9217
9244
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -9488,7 +9515,7 @@ declare const failureWireSchema: z.ZodObject<{
9488
9515
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
9489
9516
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
9490
9517
  leak: z.ZodObject<{
9491
- path: z.ZodString;
9518
+ path: z.ZodOptional<z.ZodString>;
9492
9519
  diagnostic: z.ZodString;
9493
9520
  }, z.core.$strict>;
9494
9521
  }, z.core.$strict>, z.ZodObject<{
@@ -9549,81 +9576,81 @@ declare const failureWireSchema: z.ZodObject<{
9549
9576
  filesChanged: number;
9550
9577
  insertions: number;
9551
9578
  } | undefined;
9552
- verification?: {
9553
- mode: "reused" | "ran";
9554
- verdict: "satisfied" | "unsatisfied";
9555
- } | undefined;
9556
9579
  } | undefined;
9557
9580
  verification?: {
9558
- refusal: {
9559
- kind: "terminal" | "contract-missing";
9560
- contractId: ContractId;
9561
- } | {
9562
- kind: "verification-declaration-invalid";
9563
- contractId?: ContractId | undefined;
9564
- };
9565
- } | {
9566
- retry: {
9567
- kind: "publication-failed";
9568
- diagnostic: string;
9569
- } | {
9570
- kind: "exhausted" | "collision";
9571
- };
9572
- } | {
9573
- failure: "cancelled" | "unknown-exit";
9574
- stdout?: string | undefined;
9575
- stderr?: string | undefined;
9576
- truncated?: true | undefined;
9577
- } | {
9578
- failure: "spawn-error" | "candidate-unavailable";
9579
- diagnostic: string;
9580
- stdout?: string | undefined;
9581
- stderr?: string | undefined;
9582
- truncated?: true | undefined;
9581
+ snapshot: import("../core/facts/types.js").SnapshotId;
9582
+ verdict: "satisfied" | "unsatisfied";
9583
+ kind: "ran";
9584
+ summary?: string | undefined;
9585
+ entry?: import("../core/facts/types.js").EntryUlid | undefined;
9583
9586
  } | {
9584
- failure: "environment-failure";
9585
- diagnostic: string;
9586
- stdout?: string | undefined;
9587
- stderr?: string | undefined;
9588
- truncated?: true | undefined;
9587
+ snapshot: import("../core/facts/types.js").SnapshotId;
9588
+ verdict: "satisfied" | "unsatisfied";
9589
+ entry: import("../core/facts/types.js").EntryUlid;
9590
+ kind: "reused";
9591
+ summary?: string | undefined;
9589
9592
  } | {
9590
- failure: "environment-failure";
9591
- name: string;
9592
- detail: {
9593
- kind: "exit";
9594
- code: number;
9595
- stdout: string;
9596
- stderr: string;
9597
- truncated: boolean;
9593
+ kind: "stopped";
9594
+ stop: {
9595
+ refusal: {
9596
+ kind: "terminal" | "contract-missing";
9597
+ contractId: ContractId;
9598
+ } | {
9599
+ kind: "verification-declaration-invalid";
9600
+ contractId?: ContractId | undefined;
9601
+ };
9598
9602
  } | {
9599
- kind: "timeout";
9603
+ retry: {
9604
+ kind: "publication-failed";
9605
+ diagnostic: string;
9606
+ } | {
9607
+ kind: "exhausted" | "collision";
9608
+ };
9609
+ } | {
9610
+ failure: "cancelled" | "unknown-exit";
9600
9611
  stdout?: string | undefined;
9601
9612
  stderr?: string | undefined;
9602
- truncated?: boolean | undefined;
9613
+ truncated?: true | undefined;
9603
9614
  } | {
9604
- kind: "unknown-exit";
9615
+ failure: "spawn-error" | "candidate-unavailable";
9616
+ diagnostic: string;
9605
9617
  stdout?: string | undefined;
9606
9618
  stderr?: string | undefined;
9607
- truncated?: boolean | undefined;
9619
+ truncated?: true | undefined;
9608
9620
  } | {
9609
- kind: "spawn-error";
9621
+ failure: "environment-failure";
9610
9622
  diagnostic: string;
9623
+ stdout?: string | undefined;
9624
+ stderr?: string | undefined;
9625
+ truncated?: true | undefined;
9626
+ } | {
9627
+ failure: "environment-failure";
9628
+ name: string;
9629
+ detail: {
9630
+ kind: "exit";
9631
+ code: number;
9632
+ stdout: string;
9633
+ stderr: string;
9634
+ truncated: boolean;
9635
+ } | {
9636
+ kind: "timeout";
9637
+ stdout?: string | undefined;
9638
+ stderr?: string | undefined;
9639
+ truncated?: boolean | undefined;
9640
+ } | {
9641
+ kind: "unknown-exit";
9642
+ stdout?: string | undefined;
9643
+ stderr?: string | undefined;
9644
+ truncated?: boolean | undefined;
9645
+ } | {
9646
+ kind: "spawn-error";
9647
+ diagnostic: string;
9648
+ };
9649
+ stdout?: string | undefined;
9650
+ stderr?: string | undefined;
9651
+ truncated?: true | undefined;
9611
9652
  };
9612
- stdout?: string | undefined;
9613
- stderr?: string | undefined;
9614
- truncated?: true | undefined;
9615
9653
  } | undefined;
9616
- verificationReuse?: {
9617
- entry: import("../core/facts/types.js").EntryUlid;
9618
- verdict: "satisfied" | "unsatisfied";
9619
- summary?: string | undefined;
9620
- } | undefined;
9621
- verificationSubject?: {
9622
- mode: "reused" | "ran";
9623
- verdict: "satisfied" | "unsatisfied";
9624
- snapshot: import("../core/facts/types.js").SnapshotId;
9625
- } | undefined;
9626
- verificationSummary?: string | undefined;
9627
9654
  placement?: {
9628
9655
  refusal: {
9629
9656
  kind: "checkout-not-followable";
@@ -9710,6 +9737,13 @@ declare const failureWireSchema: z.ZodObject<{
9710
9737
  leading?: {
9711
9738
  kind: "admitted-now" | "already-admitted";
9712
9739
  fact: import("../core/facts/types.js").EntryUlid;
9740
+ reusedIntegration?: import("../core/facts/types.js").SnapshotId | undefined;
9741
+ } | undefined;
9742
+ contentChange?: {
9743
+ kind: "candidate-content-changed";
9744
+ previousChange: import("../core/facts/types.js").ChangeId;
9745
+ currentChange: import("../core/facts/types.js").ChangeId;
9746
+ target?: string | undefined;
9713
9747
  } | undefined;
9714
9748
  continuation?: {
9715
9749
  claimed: readonly ContractId[];
@@ -9920,6 +9954,7 @@ declare const failureWireSchema: z.ZodObject<{
9920
9954
  };
9921
9955
  }[];
9922
9956
  } | undefined;
9957
+ note?: string | undefined;
9923
9958
  tenderSnapshot?: import("../core/facts/types.js").SnapshotId | undefined;
9924
9959
  integration?: {
9925
9960
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -9940,81 +9975,81 @@ declare const failureWireSchema: z.ZodObject<{
9940
9975
  filesChanged: number;
9941
9976
  insertions: number;
9942
9977
  } | undefined;
9943
- verification?: {
9944
- mode: "reused" | "ran";
9945
- verdict: "satisfied" | "unsatisfied";
9946
- } | undefined;
9947
9978
  } | undefined;
9948
9979
  verification?: {
9949
- refusal: {
9950
- kind: "terminal" | "contract-missing";
9951
- contractId: ContractId;
9952
- } | {
9953
- kind: "verification-declaration-invalid";
9954
- contractId?: ContractId | undefined;
9955
- };
9956
- } | {
9957
- retry: {
9958
- kind: "publication-failed";
9959
- diagnostic: string;
9960
- } | {
9961
- kind: "exhausted" | "collision";
9962
- };
9963
- } | {
9964
- failure: "cancelled" | "unknown-exit";
9965
- stdout?: string | undefined;
9966
- stderr?: string | undefined;
9967
- truncated?: true | undefined;
9968
- } | {
9969
- failure: "spawn-error" | "candidate-unavailable";
9970
- diagnostic: string;
9971
- stdout?: string | undefined;
9972
- stderr?: string | undefined;
9973
- truncated?: true | undefined;
9980
+ snapshot: import("../core/facts/types.js").SnapshotId;
9981
+ verdict: "satisfied" | "unsatisfied";
9982
+ kind: "ran";
9983
+ summary?: string | undefined;
9984
+ entry?: import("../core/facts/types.js").EntryUlid | undefined;
9974
9985
  } | {
9975
- failure: "environment-failure";
9976
- diagnostic: string;
9977
- stdout?: string | undefined;
9978
- stderr?: string | undefined;
9979
- truncated?: true | undefined;
9986
+ snapshot: import("../core/facts/types.js").SnapshotId;
9987
+ verdict: "satisfied" | "unsatisfied";
9988
+ entry: import("../core/facts/types.js").EntryUlid;
9989
+ kind: "reused";
9990
+ summary?: string | undefined;
9980
9991
  } | {
9981
- failure: "environment-failure";
9982
- name: string;
9983
- detail: {
9984
- kind: "exit";
9985
- code: number;
9986
- stdout: string;
9987
- stderr: string;
9988
- truncated: boolean;
9992
+ kind: "stopped";
9993
+ stop: {
9994
+ refusal: {
9995
+ kind: "terminal" | "contract-missing";
9996
+ contractId: ContractId;
9997
+ } | {
9998
+ kind: "verification-declaration-invalid";
9999
+ contractId?: ContractId | undefined;
10000
+ };
9989
10001
  } | {
9990
- kind: "timeout";
10002
+ retry: {
10003
+ kind: "publication-failed";
10004
+ diagnostic: string;
10005
+ } | {
10006
+ kind: "exhausted" | "collision";
10007
+ };
10008
+ } | {
10009
+ failure: "cancelled" | "unknown-exit";
9991
10010
  stdout?: string | undefined;
9992
10011
  stderr?: string | undefined;
9993
- truncated?: boolean | undefined;
10012
+ truncated?: true | undefined;
9994
10013
  } | {
9995
- kind: "unknown-exit";
10014
+ failure: "spawn-error" | "candidate-unavailable";
10015
+ diagnostic: string;
10016
+ stdout?: string | undefined;
10017
+ stderr?: string | undefined;
10018
+ truncated?: true | undefined;
10019
+ } | {
10020
+ failure: "environment-failure";
10021
+ diagnostic: string;
10022
+ stdout?: string | undefined;
10023
+ stderr?: string | undefined;
10024
+ truncated?: true | undefined;
10025
+ } | {
10026
+ failure: "environment-failure";
10027
+ name: string;
10028
+ detail: {
10029
+ kind: "exit";
10030
+ code: number;
10031
+ stdout: string;
10032
+ stderr: string;
10033
+ truncated: boolean;
10034
+ } | {
10035
+ kind: "timeout";
10036
+ stdout?: string | undefined;
10037
+ stderr?: string | undefined;
10038
+ truncated?: boolean | undefined;
10039
+ } | {
10040
+ kind: "unknown-exit";
10041
+ stdout?: string | undefined;
10042
+ stderr?: string | undefined;
10043
+ truncated?: boolean | undefined;
10044
+ } | {
10045
+ kind: "spawn-error";
10046
+ diagnostic: string;
10047
+ };
9996
10048
  stdout?: string | undefined;
9997
10049
  stderr?: string | undefined;
9998
- truncated?: boolean | undefined;
9999
- } | {
10000
- kind: "spawn-error";
10001
- diagnostic: string;
10050
+ truncated?: true | undefined;
10002
10051
  };
10003
- stdout?: string | undefined;
10004
- stderr?: string | undefined;
10005
- truncated?: true | undefined;
10006
- } | undefined;
10007
- verificationReuse?: {
10008
- entry: import("../core/facts/types.js").EntryUlid;
10009
- verdict: "satisfied" | "unsatisfied";
10010
- summary?: string | undefined;
10011
- } | undefined;
10012
- verificationSubject?: {
10013
- mode: "reused" | "ran";
10014
- verdict: "satisfied" | "unsatisfied";
10015
- snapshot: import("../core/facts/types.js").SnapshotId;
10016
10052
  } | undefined;
10017
- verificationSummary?: string | undefined;
10018
10053
  placement?: {
10019
10054
  refusal: {
10020
10055
  kind: "checkout-not-followable";
@@ -10101,6 +10136,13 @@ declare const failureWireSchema: z.ZodObject<{
10101
10136
  leading?: {
10102
10137
  kind: "admitted-now" | "already-admitted";
10103
10138
  fact: import("../core/facts/types.js").EntryUlid;
10139
+ reusedIntegration?: import("../core/facts/types.js").SnapshotId | undefined;
10140
+ } | undefined;
10141
+ contentChange?: {
10142
+ kind: "candidate-content-changed";
10143
+ previousChange: import("../core/facts/types.js").ChangeId;
10144
+ currentChange: import("../core/facts/types.js").ChangeId;
10145
+ target?: string | undefined;
10104
10146
  } | undefined;
10105
10147
  continuation?: {
10106
10148
  claimed: readonly ContractId[];
@@ -10311,6 +10353,7 @@ declare const failureWireSchema: z.ZodObject<{
10311
10353
  };
10312
10354
  }[];
10313
10355
  } | undefined;
10356
+ note?: string | undefined;
10314
10357
  tenderSnapshot?: import("../core/facts/types.js").SnapshotId | undefined;
10315
10358
  integration?: {
10316
10359
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -10359,6 +10402,7 @@ declare const failureWireSchema: z.ZodObject<{
10359
10402
  at: string;
10360
10403
  actor?: import("../core/facts/types.js").ActorId;
10361
10404
  data: Readonly<{
10405
+ note?: string;
10362
10406
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
10363
10407
  integration: Readonly<{
10364
10408
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -10635,7 +10679,7 @@ declare const failureWireSchema: z.ZodObject<{
10635
10679
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
10636
10680
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
10637
10681
  leak: z.ZodObject<{
10638
- path: z.ZodString;
10682
+ path: z.ZodOptional<z.ZodString>;
10639
10683
  diagnostic: z.ZodString;
10640
10684
  }, z.core.$strict>;
10641
10685
  }, z.core.$strict>, z.ZodObject<{
@@ -10696,81 +10740,81 @@ declare const failureWireSchema: z.ZodObject<{
10696
10740
  filesChanged: number;
10697
10741
  insertions: number;
10698
10742
  } | undefined;
10699
- verification?: {
10700
- mode: "reused" | "ran";
10701
- verdict: "satisfied" | "unsatisfied";
10702
- } | undefined;
10703
10743
  } | undefined;
10704
10744
  verification?: {
10705
- refusal: {
10706
- kind: "terminal" | "contract-missing";
10707
- contractId: ContractId;
10708
- } | {
10709
- kind: "verification-declaration-invalid";
10710
- contractId?: ContractId | undefined;
10711
- };
10712
- } | {
10713
- retry: {
10714
- kind: "publication-failed";
10715
- diagnostic: string;
10716
- } | {
10717
- kind: "exhausted" | "collision";
10718
- };
10719
- } | {
10720
- failure: "cancelled" | "unknown-exit";
10721
- stdout?: string | undefined;
10722
- stderr?: string | undefined;
10723
- truncated?: true | undefined;
10724
- } | {
10725
- failure: "spawn-error" | "candidate-unavailable";
10726
- diagnostic: string;
10727
- stdout?: string | undefined;
10728
- stderr?: string | undefined;
10729
- truncated?: true | undefined;
10745
+ snapshot: import("../core/facts/types.js").SnapshotId;
10746
+ verdict: "satisfied" | "unsatisfied";
10747
+ kind: "ran";
10748
+ summary?: string | undefined;
10749
+ entry?: import("../core/facts/types.js").EntryUlid | undefined;
10730
10750
  } | {
10731
- failure: "environment-failure";
10732
- diagnostic: string;
10733
- stdout?: string | undefined;
10734
- stderr?: string | undefined;
10735
- truncated?: true | undefined;
10751
+ snapshot: import("../core/facts/types.js").SnapshotId;
10752
+ verdict: "satisfied" | "unsatisfied";
10753
+ entry: import("../core/facts/types.js").EntryUlid;
10754
+ kind: "reused";
10755
+ summary?: string | undefined;
10736
10756
  } | {
10737
- failure: "environment-failure";
10738
- name: string;
10739
- detail: {
10740
- kind: "exit";
10741
- code: number;
10742
- stdout: string;
10743
- stderr: string;
10744
- truncated: boolean;
10757
+ kind: "stopped";
10758
+ stop: {
10759
+ refusal: {
10760
+ kind: "terminal" | "contract-missing";
10761
+ contractId: ContractId;
10762
+ } | {
10763
+ kind: "verification-declaration-invalid";
10764
+ contractId?: ContractId | undefined;
10765
+ };
10745
10766
  } | {
10746
- kind: "timeout";
10767
+ retry: {
10768
+ kind: "publication-failed";
10769
+ diagnostic: string;
10770
+ } | {
10771
+ kind: "exhausted" | "collision";
10772
+ };
10773
+ } | {
10774
+ failure: "cancelled" | "unknown-exit";
10747
10775
  stdout?: string | undefined;
10748
10776
  stderr?: string | undefined;
10749
- truncated?: boolean | undefined;
10777
+ truncated?: true | undefined;
10750
10778
  } | {
10751
- kind: "unknown-exit";
10779
+ failure: "spawn-error" | "candidate-unavailable";
10780
+ diagnostic: string;
10752
10781
  stdout?: string | undefined;
10753
10782
  stderr?: string | undefined;
10754
- truncated?: boolean | undefined;
10783
+ truncated?: true | undefined;
10755
10784
  } | {
10756
- kind: "spawn-error";
10785
+ failure: "environment-failure";
10757
10786
  diagnostic: string;
10787
+ stdout?: string | undefined;
10788
+ stderr?: string | undefined;
10789
+ truncated?: true | undefined;
10790
+ } | {
10791
+ failure: "environment-failure";
10792
+ name: string;
10793
+ detail: {
10794
+ kind: "exit";
10795
+ code: number;
10796
+ stdout: string;
10797
+ stderr: string;
10798
+ truncated: boolean;
10799
+ } | {
10800
+ kind: "timeout";
10801
+ stdout?: string | undefined;
10802
+ stderr?: string | undefined;
10803
+ truncated?: boolean | undefined;
10804
+ } | {
10805
+ kind: "unknown-exit";
10806
+ stdout?: string | undefined;
10807
+ stderr?: string | undefined;
10808
+ truncated?: boolean | undefined;
10809
+ } | {
10810
+ kind: "spawn-error";
10811
+ diagnostic: string;
10812
+ };
10813
+ stdout?: string | undefined;
10814
+ stderr?: string | undefined;
10815
+ truncated?: true | undefined;
10758
10816
  };
10759
- stdout?: string | undefined;
10760
- stderr?: string | undefined;
10761
- truncated?: true | undefined;
10762
- } | undefined;
10763
- verificationReuse?: {
10764
- entry: import("../core/facts/types.js").EntryUlid;
10765
- verdict: "satisfied" | "unsatisfied";
10766
- summary?: string | undefined;
10767
- } | undefined;
10768
- verificationSubject?: {
10769
- mode: "reused" | "ran";
10770
- verdict: "satisfied" | "unsatisfied";
10771
- snapshot: import("../core/facts/types.js").SnapshotId;
10772
10817
  } | undefined;
10773
- verificationSummary?: string | undefined;
10774
10818
  placement?: {
10775
10819
  refusal: {
10776
10820
  kind: "checkout-not-followable";
@@ -11084,81 +11128,81 @@ declare const failureWireSchema: z.ZodObject<{
11084
11128
  filesChanged: number;
11085
11129
  insertions: number;
11086
11130
  } | undefined;
11087
- verification?: {
11088
- mode: "reused" | "ran";
11089
- verdict: "satisfied" | "unsatisfied";
11090
- } | undefined;
11091
11131
  } | undefined;
11092
11132
  verification?: {
11093
- refusal: {
11094
- kind: "terminal" | "contract-missing";
11095
- contractId: ContractId;
11096
- } | {
11097
- kind: "verification-declaration-invalid";
11098
- contractId?: ContractId | undefined;
11099
- };
11100
- } | {
11101
- retry: {
11102
- kind: "publication-failed";
11103
- diagnostic: string;
11104
- } | {
11105
- kind: "exhausted" | "collision";
11106
- };
11107
- } | {
11108
- failure: "cancelled" | "unknown-exit";
11109
- stdout?: string | undefined;
11110
- stderr?: string | undefined;
11111
- truncated?: true | undefined;
11112
- } | {
11113
- failure: "spawn-error" | "candidate-unavailable";
11114
- diagnostic: string;
11115
- stdout?: string | undefined;
11116
- stderr?: string | undefined;
11117
- truncated?: true | undefined;
11133
+ snapshot: import("../core/facts/types.js").SnapshotId;
11134
+ verdict: "satisfied" | "unsatisfied";
11135
+ kind: "ran";
11136
+ summary?: string | undefined;
11137
+ entry?: import("../core/facts/types.js").EntryUlid | undefined;
11118
11138
  } | {
11119
- failure: "environment-failure";
11120
- diagnostic: string;
11121
- stdout?: string | undefined;
11122
- stderr?: string | undefined;
11123
- truncated?: true | undefined;
11139
+ snapshot: import("../core/facts/types.js").SnapshotId;
11140
+ verdict: "satisfied" | "unsatisfied";
11141
+ entry: import("../core/facts/types.js").EntryUlid;
11142
+ kind: "reused";
11143
+ summary?: string | undefined;
11124
11144
  } | {
11125
- failure: "environment-failure";
11126
- name: string;
11127
- detail: {
11128
- kind: "exit";
11129
- code: number;
11130
- stdout: string;
11131
- stderr: string;
11132
- truncated: boolean;
11145
+ kind: "stopped";
11146
+ stop: {
11147
+ refusal: {
11148
+ kind: "terminal" | "contract-missing";
11149
+ contractId: ContractId;
11150
+ } | {
11151
+ kind: "verification-declaration-invalid";
11152
+ contractId?: ContractId | undefined;
11153
+ };
11133
11154
  } | {
11134
- kind: "timeout";
11155
+ retry: {
11156
+ kind: "publication-failed";
11157
+ diagnostic: string;
11158
+ } | {
11159
+ kind: "exhausted" | "collision";
11160
+ };
11161
+ } | {
11162
+ failure: "cancelled" | "unknown-exit";
11135
11163
  stdout?: string | undefined;
11136
11164
  stderr?: string | undefined;
11137
- truncated?: boolean | undefined;
11165
+ truncated?: true | undefined;
11138
11166
  } | {
11139
- kind: "unknown-exit";
11167
+ failure: "spawn-error" | "candidate-unavailable";
11168
+ diagnostic: string;
11140
11169
  stdout?: string | undefined;
11141
11170
  stderr?: string | undefined;
11142
- truncated?: boolean | undefined;
11171
+ truncated?: true | undefined;
11143
11172
  } | {
11144
- kind: "spawn-error";
11173
+ failure: "environment-failure";
11145
11174
  diagnostic: string;
11175
+ stdout?: string | undefined;
11176
+ stderr?: string | undefined;
11177
+ truncated?: true | undefined;
11178
+ } | {
11179
+ failure: "environment-failure";
11180
+ name: string;
11181
+ detail: {
11182
+ kind: "exit";
11183
+ code: number;
11184
+ stdout: string;
11185
+ stderr: string;
11186
+ truncated: boolean;
11187
+ } | {
11188
+ kind: "timeout";
11189
+ stdout?: string | undefined;
11190
+ stderr?: string | undefined;
11191
+ truncated?: boolean | undefined;
11192
+ } | {
11193
+ kind: "unknown-exit";
11194
+ stdout?: string | undefined;
11195
+ stderr?: string | undefined;
11196
+ truncated?: boolean | undefined;
11197
+ } | {
11198
+ kind: "spawn-error";
11199
+ diagnostic: string;
11200
+ };
11201
+ stdout?: string | undefined;
11202
+ stderr?: string | undefined;
11203
+ truncated?: true | undefined;
11146
11204
  };
11147
- stdout?: string | undefined;
11148
- stderr?: string | undefined;
11149
- truncated?: true | undefined;
11150
- } | undefined;
11151
- verificationReuse?: {
11152
- entry: import("../core/facts/types.js").EntryUlid;
11153
- verdict: "satisfied" | "unsatisfied";
11154
- summary?: string | undefined;
11155
- } | undefined;
11156
- verificationSubject?: {
11157
- mode: "reused" | "ran";
11158
- verdict: "satisfied" | "unsatisfied";
11159
- snapshot: import("../core/facts/types.js").SnapshotId;
11160
11205
  } | undefined;
11161
- verificationSummary?: string | undefined;
11162
11206
  placement?: {
11163
11207
  refusal: {
11164
11208
  kind: "checkout-not-followable";
@@ -11500,6 +11544,7 @@ declare const failureWireSchema: z.ZodObject<{
11500
11544
  at: string;
11501
11545
  actor?: import("../core/facts/types.js").ActorId;
11502
11546
  data: Readonly<{
11547
+ note?: string;
11503
11548
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
11504
11549
  integration: Readonly<{
11505
11550
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -11776,7 +11821,7 @@ declare const failureWireSchema: z.ZodObject<{
11776
11821
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
11777
11822
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
11778
11823
  leak: z.ZodObject<{
11779
- path: z.ZodString;
11824
+ path: z.ZodOptional<z.ZodString>;
11780
11825
  diagnostic: z.ZodString;
11781
11826
  }, z.core.$strict>;
11782
11827
  }, z.core.$strict>, z.ZodObject<{
@@ -11895,6 +11940,7 @@ declare const failureWireSchema: z.ZodObject<{
11895
11940
  policy: {
11896
11941
  requireBranchesToBeUpToDate: boolean;
11897
11942
  };
11943
+ note?: string | undefined;
11898
11944
  };
11899
11945
  scope: {
11900
11946
  filesChanged: number;
@@ -12100,6 +12146,7 @@ declare const failureWireSchema: z.ZodObject<{
12100
12146
  policy: {
12101
12147
  requireBranchesToBeUpToDate: boolean;
12102
12148
  };
12149
+ note?: string | undefined;
12103
12150
  };
12104
12151
  scope: {
12105
12152
  filesChanged: number;
@@ -12275,6 +12322,7 @@ declare const failureWireSchema: z.ZodObject<{
12275
12322
  at: string;
12276
12323
  actor?: import("../core/facts/types.js").ActorId;
12277
12324
  data: Readonly<{
12325
+ note?: string;
12278
12326
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
12279
12327
  integration: Readonly<{
12280
12328
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -12551,7 +12599,7 @@ declare const failureWireSchema: z.ZodObject<{
12551
12599
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
12552
12600
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
12553
12601
  leak: z.ZodObject<{
12554
- path: z.ZodString;
12602
+ path: z.ZodOptional<z.ZodString>;
12555
12603
  diagnostic: z.ZodString;
12556
12604
  }, z.core.$strict>;
12557
12605
  }, z.core.$strict>, z.ZodObject<{
@@ -12640,6 +12688,7 @@ declare const failureWireSchema: z.ZodObject<{
12640
12688
  at: string;
12641
12689
  actor?: import("../core/facts/types.js").ActorId;
12642
12690
  data: Readonly<{
12691
+ note?: string;
12643
12692
  tenderSnapshot: import("../core/facts/types.js").SnapshotId;
12644
12693
  integration: Readonly<{
12645
12694
  predecessor: import("../core/facts/types.js").SnapshotId;
@@ -12916,7 +12965,7 @@ declare const failureWireSchema: z.ZodObject<{
12916
12965
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
12917
12966
  snapshot: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<import("../core/facts/types.js").SnapshotId, string>>>;
12918
12967
  leak: z.ZodObject<{
12919
- path: z.ZodString;
12968
+ path: z.ZodOptional<z.ZodString>;
12920
12969
  diagnostic: z.ZodString;
12921
12970
  }, z.core.$strict>;
12922
12971
  }, z.core.$strict>, z.ZodObject<{