@astrosheep/keiyaku 4.6.2 → 4.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/README.md +93 -45
  2. package/build/integrations/marketplace/plugins/keiyaku/skills/keiyaku-bind/SKILL.md +3 -2
  3. package/build/src/akuma/providers/pi/events.js +3 -2
  4. package/build/src/body/render.d.ts +9 -1
  5. package/build/src/body/render.js +11 -0
  6. package/build/src/cli/commands/akuma-grammar.js +12 -3
  7. package/build/src/cli/commands/akuma.js +6 -0
  8. package/build/src/cli/commands/contract-grammar.js +7 -0
  9. package/build/src/cli/commands/contract-help.d.ts +1 -1
  10. package/build/src/cli/commands/contract-help.js +21 -9
  11. package/build/src/cli/commands/contract.js +3 -1
  12. package/build/src/cli/commands/task-grammar.js +9 -7
  13. package/build/src/cli/parse.js +5 -0
  14. package/build/src/cli/render/akuma-activity.d.ts +26 -6
  15. package/build/src/cli/render/akuma-activity.js +128 -118
  16. package/build/src/cli/render/akuma-tool.js +1 -1
  17. package/build/src/cli/render/audit.js +4 -6
  18. package/build/src/cli/render/catalog.js +7 -4
  19. package/build/src/cli/render/contract-history.js +8 -18
  20. package/build/src/cli/render/contract.js +5 -10
  21. package/build/src/cli/render/kanshi-akuma.js +1 -1
  22. package/build/src/cli/render/kanshi.js +24 -30
  23. package/build/src/cli/render/receipt.d.ts +1 -2
  24. package/build/src/cli/render/receipt.js +1 -6
  25. package/build/src/cli/render/refusal.js +2 -1
  26. package/build/src/cli/render/task.js +2 -1
  27. package/build/src/core/facts/codec.js +0 -6
  28. package/build/src/core/facts/fold.js +0 -7
  29. package/build/src/core/facts/types.d.ts +1 -4
  30. package/build/src/core/verbs/deliver.js +2 -14
  31. package/build/src/library/bind.d.ts +20 -20
  32. package/build/src/library/bind.js +2 -1
  33. package/build/src/library/contract-composition.d.ts +5 -2
  34. package/build/src/library/contract-composition.js +5 -3
  35. package/build/src/library/contract-creation.d.ts +7 -1
  36. package/build/src/library/contract-creation.js +19 -9
  37. package/build/src/library/contract-execution.d.ts +1 -0
  38. package/build/src/library/contract-execution.js +12 -4
  39. package/build/src/library/contract-settings.d.ts +2 -2
  40. package/build/src/library/contract-settings.js +21 -12
  41. package/build/src/library/outcome.d.ts +476 -652
  42. package/build/src/library/refusal.d.ts +2 -2
  43. package/build/src/protocol/bind.d.ts +1 -1
  44. package/build/src/protocol/deliver.js +1 -1
  45. package/build/src/protocol/execution-observation.d.ts +0 -8
  46. package/build/src/protocol/intent.js +2 -2
  47. package/build/src/protocol/operations.d.ts +1 -1
  48. package/build/src/protocol/read/status.d.ts +1 -1
  49. package/build/src/protocol/read/status.js +0 -2
  50. package/build/src/runtime/proc/windows-launch.exe +0 -0
  51. package/build/src/world.d.ts +1 -0
  52. package/build/src/world.js +14 -0
  53. package/package.json +3 -3
@@ -987,14 +987,6 @@ declare function acceptedOutcomeSchema<Operation extends ContractVerb, Value>(op
987
987
  gates: readonly import("../core/facts/types.js").Gate[];
988
988
  after: readonly ContractId[];
989
989
  }>;
990
- }> | Readonly<{
991
- v: 1;
992
- kind: "bound";
993
- contract: ContractId;
994
- entry: import("../core/facts/types.js").EntryUlid;
995
- at: string;
996
- actor?: import("../core/facts/types.js").ActorId;
997
- data: Readonly<Record<string, never>>;
998
990
  }> | Readonly<{
999
991
  v: 1;
1000
992
  kind: "deliver";
@@ -1363,14 +1355,6 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
1363
1355
  gates: readonly import("../core/facts/types.js").Gate[];
1364
1356
  after: readonly ContractId[];
1365
1357
  }>;
1366
- }> | Readonly<{
1367
- v: 1;
1368
- kind: "bound";
1369
- contract: ContractId;
1370
- entry: import("../core/facts/types.js").EntryUlid;
1371
- at: string;
1372
- actor?: import("../core/facts/types.js").ActorId;
1373
- data: Readonly<Record<string, never>>;
1374
1358
  }> | Readonly<{
1375
1359
  v: 1;
1376
1360
  kind: "deliver";
@@ -1709,14 +1693,6 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
1709
1693
  refusal: z.ZodType<Refusal, unknown, z.core.$ZodTypeInternals<Refusal, unknown>>;
1710
1694
  }, z.core.$strict>, z.ZodTransform<Omit<{
1711
1695
  facts: readonly (Readonly<{
1712
- v: 1;
1713
- kind: "bound";
1714
- contract: ContractId;
1715
- entry: import("../core/facts/types.js").EntryUlid;
1716
- at: string;
1717
- actor?: import("../core/facts/types.js").ActorId;
1718
- data: Readonly<Record<string, never>>;
1719
- }> | Readonly<{
1720
1696
  v: 1;
1721
1697
  kind: "bind";
1722
1698
  contract: ContractId;
@@ -2017,14 +1993,6 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
2017
1993
  readonly contract?: ContractId;
2018
1994
  }, {
2019
1995
  facts: readonly (Readonly<{
2020
- v: 1;
2021
- kind: "bound";
2022
- contract: ContractId;
2023
- entry: import("../core/facts/types.js").EntryUlid;
2024
- at: string;
2025
- actor?: import("../core/facts/types.js").ActorId;
2026
- data: Readonly<Record<string, never>>;
2027
- }> | Readonly<{
2028
1996
  v: 1;
2029
1997
  kind: "bind";
2030
1998
  contract: ContractId;
@@ -2351,14 +2319,6 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2351
2319
  gates: readonly import("../core/facts/types.js").Gate[];
2352
2320
  after: readonly ContractId[];
2353
2321
  }>;
2354
- }> | Readonly<{
2355
- v: 1;
2356
- kind: "bound";
2357
- contract: ContractId;
2358
- entry: import("../core/facts/types.js").EntryUlid;
2359
- at: string;
2360
- actor?: import("../core/facts/types.js").ActorId;
2361
- data: Readonly<Record<string, never>>;
2362
2322
  }> | Readonly<{
2363
2323
  v: 1;
2364
2324
  kind: "deliver";
@@ -2697,14 +2657,6 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2697
2657
  reason: z.ZodType<OperationRetries[Operation]>;
2698
2658
  }, z.core.$strict>, z.ZodTransform<Omit<{
2699
2659
  facts: readonly (Readonly<{
2700
- v: 1;
2701
- kind: "bound";
2702
- contract: ContractId;
2703
- entry: import("../core/facts/types.js").EntryUlid;
2704
- at: string;
2705
- actor?: import("../core/facts/types.js").ActorId;
2706
- data: Readonly<Record<string, never>>;
2707
- }> | Readonly<{
2708
2660
  v: 1;
2709
2661
  kind: "bind";
2710
2662
  contract: ContractId;
@@ -3005,14 +2957,6 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
3005
2957
  readonly contract?: ContractId;
3006
2958
  }, {
3007
2959
  facts: readonly (Readonly<{
3008
- v: 1;
3009
- kind: "bound";
3010
- contract: ContractId;
3011
- entry: import("../core/facts/types.js").EntryUlid;
3012
- at: string;
3013
- actor?: import("../core/facts/types.js").ActorId;
3014
- data: Readonly<Record<string, never>>;
3015
- }> | Readonly<{
3016
2960
  v: 1;
3017
2961
  kind: "bind";
3018
2962
  contract: ContractId;
@@ -3338,14 +3282,6 @@ declare const handoffOutcomeSchema: z.ZodObject<{
3338
3282
  gates: readonly import("../core/facts/types.js").Gate[];
3339
3283
  after: readonly ContractId[];
3340
3284
  }>;
3341
- }> | Readonly<{
3342
- v: 1;
3343
- kind: "bound";
3344
- contract: ContractId;
3345
- entry: import("../core/facts/types.js").EntryUlid;
3346
- at: string;
3347
- actor?: import("../core/facts/types.js").ActorId;
3348
- data: Readonly<Record<string, never>>;
3349
3285
  }> | Readonly<{
3350
3286
  v: 1;
3351
3287
  kind: "deliver";
@@ -3826,14 +3762,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
3826
3762
  gates: readonly import("../core/facts/types.js").Gate[];
3827
3763
  after: readonly ContractId[];
3828
3764
  }>;
3829
- }> | Readonly<{
3830
- v: 1;
3831
- kind: "bound";
3832
- contract: ContractId;
3833
- entry: import("../core/facts/types.js").EntryUlid;
3834
- at: string;
3835
- actor?: import("../core/facts/types.js").ActorId;
3836
- data: Readonly<Record<string, never>>;
3837
3765
  }> | Readonly<{
3838
3766
  v: 1;
3839
3767
  kind: "deliver";
@@ -4235,14 +4163,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4235
4163
  gates: readonly import("../core/facts/types.js").Gate[];
4236
4164
  after: readonly ContractId[];
4237
4165
  }>;
4238
- }> | Readonly<{
4239
- v: 1;
4240
- kind: "bound";
4241
- contract: ContractId;
4242
- entry: import("../core/facts/types.js").EntryUlid;
4243
- at: string;
4244
- actor?: import("../core/facts/types.js").ActorId;
4245
- data: Readonly<Record<string, never>>;
4246
4166
  }> | Readonly<{
4247
4167
  v: 1;
4248
4168
  kind: "deliver";
@@ -4638,14 +4558,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4638
4558
  gates: readonly import("../core/facts/types.js").Gate[];
4639
4559
  after: readonly ContractId[];
4640
4560
  }>;
4641
- }> | Readonly<{
4642
- v: 1;
4643
- kind: "bound";
4644
- contract: ContractId;
4645
- entry: import("../core/facts/types.js").EntryUlid;
4646
- at: string;
4647
- actor?: import("../core/facts/types.js").ActorId;
4648
- data: Readonly<Record<string, never>>;
4649
4561
  }> | Readonly<{
4650
4562
  v: 1;
4651
4563
  kind: "deliver";
@@ -4997,6 +4909,21 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4997
4909
  } | undefined;
4998
4910
  } | undefined;
4999
4911
  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
+ } | {
5000
4927
  failure: "cancelled" | "unknown-exit";
5001
4928
  stdout?: string | undefined;
5002
4929
  stderr?: string | undefined;
@@ -5039,21 +4966,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5039
4966
  stdout?: string | undefined;
5040
4967
  stderr?: string | undefined;
5041
4968
  truncated?: true | undefined;
5042
- } | {
5043
- refusal: {
5044
- kind: "terminal" | "contract-missing";
5045
- contractId: ContractId;
5046
- } | {
5047
- kind: "verification-declaration-invalid";
5048
- contractId?: ContractId | undefined;
5049
- };
5050
- } | {
5051
- retry: {
5052
- kind: "publication-failed";
5053
- diagnostic: string;
5054
- } | {
5055
- kind: "exhausted" | "collision";
5056
- };
5057
4969
  } | undefined;
5058
4970
  verificationReuse?: {
5059
4971
  entry: import("../core/facts/types.js").EntryUlid;
@@ -5067,7 +4979,14 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5067
4979
  } | undefined;
5068
4980
  verificationSummary?: string | undefined;
5069
4981
  placement?: {
5070
- refusal: ({
4982
+ refusal: {
4983
+ kind: "checkout-not-followable";
4984
+ contractId: ContractId;
4985
+ target: string;
4986
+ path: string;
4987
+ reason: "untracked";
4988
+ paths: readonly string[];
4989
+ } | ({
5071
4990
  kind: "integration-failed";
5072
4991
  contractId: ContractId;
5073
4992
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -5079,12 +4998,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5079
4998
  contractId: ContractId;
5080
4999
  requiredGit: "2.38";
5081
5000
  } | {
5082
- kind: "checkout-not-followable";
5001
+ kind: "target-missing";
5083
5002
  contractId: ContractId;
5084
- target: string;
5085
- path: string;
5086
- reason: "untracked";
5087
- paths: readonly string[];
5088
5003
  } | {
5089
5004
  kind: "terminal" | "contract-missing" | "delivery-missing";
5090
5005
  contractId: ContractId;
@@ -5119,9 +5034,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5119
5034
  contractId: ContractId;
5120
5035
  state: "abandoned" | "missing" | "active";
5121
5036
  }[];
5122
- } | {
5123
- kind: "target-missing";
5124
- contractId: ContractId;
5125
5037
  };
5126
5038
  } | {
5127
5039
  retry: {
@@ -5158,6 +5070,21 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5158
5070
  stopped: readonly {
5159
5071
  contractId: ContractId;
5160
5072
  stop: {
5073
+ refusal: {
5074
+ kind: "terminal" | "contract-missing";
5075
+ contractId: ContractId;
5076
+ } | {
5077
+ kind: "verification-declaration-invalid";
5078
+ contractId?: ContractId | undefined;
5079
+ };
5080
+ } | {
5081
+ retry: {
5082
+ kind: "publication-failed";
5083
+ diagnostic: string;
5084
+ } | {
5085
+ kind: "exhausted" | "collision";
5086
+ };
5087
+ } | {
5161
5088
  failure: "cancelled" | "unknown-exit";
5162
5089
  stdout?: string | undefined;
5163
5090
  stderr?: string | undefined;
@@ -5202,21 +5129,13 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5202
5129
  truncated?: true | undefined;
5203
5130
  } | {
5204
5131
  refusal: {
5205
- kind: "terminal" | "contract-missing";
5132
+ kind: "checkout-not-followable";
5206
5133
  contractId: ContractId;
5207
- } | {
5208
- kind: "verification-declaration-invalid";
5209
- contractId?: ContractId | undefined;
5210
- };
5211
- } | {
5212
- retry: {
5213
- kind: "publication-failed";
5214
- diagnostic: string;
5215
- } | {
5216
- kind: "exhausted" | "collision";
5217
- };
5218
- } | {
5219
- refusal: ({
5134
+ target: string;
5135
+ path: string;
5136
+ reason: "untracked";
5137
+ paths: readonly string[];
5138
+ } | ({
5220
5139
  kind: "integration-failed";
5221
5140
  contractId: ContractId;
5222
5141
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -5228,12 +5147,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5228
5147
  contractId: ContractId;
5229
5148
  requiredGit: "2.38";
5230
5149
  } | {
5231
- kind: "checkout-not-followable";
5150
+ kind: "target-missing";
5232
5151
  contractId: ContractId;
5233
- target: string;
5234
- path: string;
5235
- reason: "untracked";
5236
- paths: readonly string[];
5237
5152
  } | {
5238
5153
  kind: "terminal" | "contract-missing" | "delivery-missing";
5239
5154
  contractId: ContractId;
@@ -5268,9 +5183,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5268
5183
  contractId: ContractId;
5269
5184
  state: "abandoned" | "missing" | "active";
5270
5185
  }[];
5271
- } | {
5272
- kind: "target-missing";
5273
- contractId: ContractId;
5274
5186
  };
5275
5187
  } | {
5276
5188
  retry: {
@@ -5388,6 +5300,21 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5388
5300
  } | undefined;
5389
5301
  } | undefined;
5390
5302
  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
+ } | {
5391
5318
  failure: "cancelled" | "unknown-exit";
5392
5319
  stdout?: string | undefined;
5393
5320
  stderr?: string | undefined;
@@ -5430,21 +5357,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5430
5357
  stdout?: string | undefined;
5431
5358
  stderr?: string | undefined;
5432
5359
  truncated?: true | undefined;
5433
- } | {
5434
- refusal: {
5435
- kind: "terminal" | "contract-missing";
5436
- contractId: ContractId;
5437
- } | {
5438
- kind: "verification-declaration-invalid";
5439
- contractId?: ContractId | undefined;
5440
- };
5441
- } | {
5442
- retry: {
5443
- kind: "publication-failed";
5444
- diagnostic: string;
5445
- } | {
5446
- kind: "exhausted" | "collision";
5447
- };
5448
5360
  } | undefined;
5449
5361
  verificationReuse?: {
5450
5362
  entry: import("../core/facts/types.js").EntryUlid;
@@ -5458,7 +5370,14 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5458
5370
  } | undefined;
5459
5371
  verificationSummary?: string | undefined;
5460
5372
  placement?: {
5461
- refusal: ({
5373
+ refusal: {
5374
+ kind: "checkout-not-followable";
5375
+ contractId: ContractId;
5376
+ target: string;
5377
+ path: string;
5378
+ reason: "untracked";
5379
+ paths: readonly string[];
5380
+ } | ({
5462
5381
  kind: "integration-failed";
5463
5382
  contractId: ContractId;
5464
5383
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -5470,12 +5389,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5470
5389
  contractId: ContractId;
5471
5390
  requiredGit: "2.38";
5472
5391
  } | {
5473
- kind: "checkout-not-followable";
5392
+ kind: "target-missing";
5474
5393
  contractId: ContractId;
5475
- target: string;
5476
- path: string;
5477
- reason: "untracked";
5478
- paths: readonly string[];
5479
5394
  } | {
5480
5395
  kind: "terminal" | "contract-missing" | "delivery-missing";
5481
5396
  contractId: ContractId;
@@ -5510,9 +5425,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5510
5425
  contractId: ContractId;
5511
5426
  state: "abandoned" | "missing" | "active";
5512
5427
  }[];
5513
- } | {
5514
- kind: "target-missing";
5515
- contractId: ContractId;
5516
5428
  };
5517
5429
  } | {
5518
5430
  retry: {
@@ -5549,6 +5461,21 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5549
5461
  stopped: readonly {
5550
5462
  contractId: ContractId;
5551
5463
  stop: {
5464
+ refusal: {
5465
+ kind: "terminal" | "contract-missing";
5466
+ contractId: ContractId;
5467
+ } | {
5468
+ kind: "verification-declaration-invalid";
5469
+ contractId?: ContractId | undefined;
5470
+ };
5471
+ } | {
5472
+ retry: {
5473
+ kind: "publication-failed";
5474
+ diagnostic: string;
5475
+ } | {
5476
+ kind: "exhausted" | "collision";
5477
+ };
5478
+ } | {
5552
5479
  failure: "cancelled" | "unknown-exit";
5553
5480
  stdout?: string | undefined;
5554
5481
  stderr?: string | undefined;
@@ -5593,21 +5520,13 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5593
5520
  truncated?: true | undefined;
5594
5521
  } | {
5595
5522
  refusal: {
5596
- kind: "terminal" | "contract-missing";
5523
+ kind: "checkout-not-followable";
5597
5524
  contractId: ContractId;
5598
- } | {
5599
- kind: "verification-declaration-invalid";
5600
- contractId?: ContractId | undefined;
5601
- };
5602
- } | {
5603
- retry: {
5604
- kind: "publication-failed";
5605
- diagnostic: string;
5606
- } | {
5607
- kind: "exhausted" | "collision";
5608
- };
5609
- } | {
5610
- refusal: ({
5525
+ target: string;
5526
+ path: string;
5527
+ reason: "untracked";
5528
+ paths: readonly string[];
5529
+ } | ({
5611
5530
  kind: "integration-failed";
5612
5531
  contractId: ContractId;
5613
5532
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -5619,12 +5538,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5619
5538
  contractId: ContractId;
5620
5539
  requiredGit: "2.38";
5621
5540
  } | {
5622
- kind: "checkout-not-followable";
5541
+ kind: "target-missing";
5623
5542
  contractId: ContractId;
5624
- target: string;
5625
- path: string;
5626
- reason: "untracked";
5627
- paths: readonly string[];
5628
5543
  } | {
5629
5544
  kind: "terminal" | "contract-missing" | "delivery-missing";
5630
5545
  contractId: ContractId;
@@ -5659,9 +5574,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5659
5574
  contractId: ContractId;
5660
5575
  state: "abandoned" | "missing" | "active";
5661
5576
  }[];
5662
- } | {
5663
- kind: "target-missing";
5664
- contractId: ContractId;
5665
5577
  };
5666
5578
  } | {
5667
5579
  retry: {
@@ -5793,14 +5705,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5793
5705
  gates: readonly import("../core/facts/types.js").Gate[];
5794
5706
  after: readonly ContractId[];
5795
5707
  }>;
5796
- }> | Readonly<{
5797
- v: 1;
5798
- kind: "bound";
5799
- contract: ContractId;
5800
- entry: import("../core/facts/types.js").EntryUlid;
5801
- at: string;
5802
- actor?: import("../core/facts/types.js").ActorId;
5803
- data: Readonly<Record<string, never>>;
5804
5708
  }> | Readonly<{
5805
5709
  v: 1;
5806
5710
  kind: "deliver";
@@ -6152,12 +6056,27 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6152
6056
  } | undefined;
6153
6057
  } | undefined;
6154
6058
  verification?: {
6155
- failure: "cancelled" | "unknown-exit";
6156
- stdout?: string | undefined;
6157
- stderr?: string | undefined;
6158
- truncated?: true | undefined;
6159
- } | {
6160
- failure: "spawn-error" | "candidate-unavailable";
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";
6161
6080
  diagnostic: string;
6162
6081
  stdout?: string | undefined;
6163
6082
  stderr?: string | undefined;
@@ -6194,21 +6113,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6194
6113
  stdout?: string | undefined;
6195
6114
  stderr?: string | undefined;
6196
6115
  truncated?: true | undefined;
6197
- } | {
6198
- refusal: {
6199
- kind: "terminal" | "contract-missing";
6200
- contractId: ContractId;
6201
- } | {
6202
- kind: "verification-declaration-invalid";
6203
- contractId?: ContractId | undefined;
6204
- };
6205
- } | {
6206
- retry: {
6207
- kind: "publication-failed";
6208
- diagnostic: string;
6209
- } | {
6210
- kind: "exhausted" | "collision";
6211
- };
6212
6116
  } | undefined;
6213
6117
  verificationReuse?: {
6214
6118
  entry: import("../core/facts/types.js").EntryUlid;
@@ -6222,7 +6126,14 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6222
6126
  } | undefined;
6223
6127
  verificationSummary?: string | undefined;
6224
6128
  placement?: {
6225
- refusal: ({
6129
+ refusal: {
6130
+ kind: "checkout-not-followable";
6131
+ contractId: ContractId;
6132
+ target: string;
6133
+ path: string;
6134
+ reason: "untracked";
6135
+ paths: readonly string[];
6136
+ } | ({
6226
6137
  kind: "integration-failed";
6227
6138
  contractId: ContractId;
6228
6139
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -6234,12 +6145,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6234
6145
  contractId: ContractId;
6235
6146
  requiredGit: "2.38";
6236
6147
  } | {
6237
- kind: "checkout-not-followable";
6148
+ kind: "target-missing";
6238
6149
  contractId: ContractId;
6239
- target: string;
6240
- path: string;
6241
- reason: "untracked";
6242
- paths: readonly string[];
6243
6150
  } | {
6244
6151
  kind: "terminal" | "contract-missing" | "delivery-missing";
6245
6152
  contractId: ContractId;
@@ -6274,9 +6181,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6274
6181
  contractId: ContractId;
6275
6182
  state: "abandoned" | "missing" | "active";
6276
6183
  }[];
6277
- } | {
6278
- kind: "target-missing";
6279
- contractId: ContractId;
6280
6184
  };
6281
6185
  } | {
6282
6186
  retry: {
@@ -6309,6 +6213,21 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6309
6213
  stopped: readonly {
6310
6214
  contractId: ContractId;
6311
6215
  stop: {
6216
+ refusal: {
6217
+ kind: "terminal" | "contract-missing";
6218
+ contractId: ContractId;
6219
+ } | {
6220
+ kind: "verification-declaration-invalid";
6221
+ contractId?: ContractId | undefined;
6222
+ };
6223
+ } | {
6224
+ retry: {
6225
+ kind: "publication-failed";
6226
+ diagnostic: string;
6227
+ } | {
6228
+ kind: "exhausted" | "collision";
6229
+ };
6230
+ } | {
6312
6231
  failure: "cancelled" | "unknown-exit";
6313
6232
  stdout?: string | undefined;
6314
6233
  stderr?: string | undefined;
@@ -6353,21 +6272,13 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6353
6272
  truncated?: true | undefined;
6354
6273
  } | {
6355
6274
  refusal: {
6356
- kind: "terminal" | "contract-missing";
6275
+ kind: "checkout-not-followable";
6357
6276
  contractId: ContractId;
6358
- } | {
6359
- kind: "verification-declaration-invalid";
6360
- contractId?: ContractId | undefined;
6361
- };
6362
- } | {
6363
- retry: {
6364
- kind: "publication-failed";
6365
- diagnostic: string;
6366
- } | {
6367
- kind: "exhausted" | "collision";
6368
- };
6369
- } | {
6370
- refusal: ({
6277
+ target: string;
6278
+ path: string;
6279
+ reason: "untracked";
6280
+ paths: readonly string[];
6281
+ } | ({
6371
6282
  kind: "integration-failed";
6372
6283
  contractId: ContractId;
6373
6284
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -6379,12 +6290,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6379
6290
  contractId: ContractId;
6380
6291
  requiredGit: "2.38";
6381
6292
  } | {
6382
- kind: "checkout-not-followable";
6293
+ kind: "target-missing";
6383
6294
  contractId: ContractId;
6384
- target: string;
6385
- path: string;
6386
- reason: "untracked";
6387
- paths: readonly string[];
6388
6295
  } | {
6389
6296
  kind: "terminal" | "contract-missing" | "delivery-missing";
6390
6297
  contractId: ContractId;
@@ -6419,9 +6326,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6419
6326
  contractId: ContractId;
6420
6327
  state: "abandoned" | "missing" | "active";
6421
6328
  }[];
6422
- } | {
6423
- kind: "target-missing";
6424
- contractId: ContractId;
6425
6329
  };
6426
6330
  } | {
6427
6331
  retry: {
@@ -6540,6 +6444,21 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6540
6444
  } | undefined;
6541
6445
  } | undefined;
6542
6446
  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
+ } | {
6543
6462
  failure: "cancelled" | "unknown-exit";
6544
6463
  stdout?: string | undefined;
6545
6464
  stderr?: string | undefined;
@@ -6582,21 +6501,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6582
6501
  stdout?: string | undefined;
6583
6502
  stderr?: string | undefined;
6584
6503
  truncated?: true | undefined;
6585
- } | {
6586
- refusal: {
6587
- kind: "terminal" | "contract-missing";
6588
- contractId: ContractId;
6589
- } | {
6590
- kind: "verification-declaration-invalid";
6591
- contractId?: ContractId | undefined;
6592
- };
6593
- } | {
6594
- retry: {
6595
- kind: "publication-failed";
6596
- diagnostic: string;
6597
- } | {
6598
- kind: "exhausted" | "collision";
6599
- };
6600
6504
  } | undefined;
6601
6505
  verificationReuse?: {
6602
6506
  entry: import("../core/facts/types.js").EntryUlid;
@@ -6610,7 +6514,14 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6610
6514
  } | undefined;
6611
6515
  verificationSummary?: string | undefined;
6612
6516
  placement?: {
6613
- refusal: ({
6517
+ refusal: {
6518
+ kind: "checkout-not-followable";
6519
+ contractId: ContractId;
6520
+ target: string;
6521
+ path: string;
6522
+ reason: "untracked";
6523
+ paths: readonly string[];
6524
+ } | ({
6614
6525
  kind: "integration-failed";
6615
6526
  contractId: ContractId;
6616
6527
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -6622,12 +6533,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6622
6533
  contractId: ContractId;
6623
6534
  requiredGit: "2.38";
6624
6535
  } | {
6625
- kind: "checkout-not-followable";
6536
+ kind: "target-missing";
6626
6537
  contractId: ContractId;
6627
- target: string;
6628
- path: string;
6629
- reason: "untracked";
6630
- paths: readonly string[];
6631
6538
  } | {
6632
6539
  kind: "terminal" | "contract-missing" | "delivery-missing";
6633
6540
  contractId: ContractId;
@@ -6662,9 +6569,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6662
6569
  contractId: ContractId;
6663
6570
  state: "abandoned" | "missing" | "active";
6664
6571
  }[];
6665
- } | {
6666
- kind: "target-missing";
6667
- contractId: ContractId;
6668
6572
  };
6669
6573
  } | {
6670
6574
  retry: {
@@ -6697,6 +6601,21 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6697
6601
  stopped: readonly {
6698
6602
  contractId: ContractId;
6699
6603
  stop: {
6604
+ refusal: {
6605
+ kind: "terminal" | "contract-missing";
6606
+ contractId: ContractId;
6607
+ } | {
6608
+ kind: "verification-declaration-invalid";
6609
+ contractId?: ContractId | undefined;
6610
+ };
6611
+ } | {
6612
+ retry: {
6613
+ kind: "publication-failed";
6614
+ diagnostic: string;
6615
+ } | {
6616
+ kind: "exhausted" | "collision";
6617
+ };
6618
+ } | {
6700
6619
  failure: "cancelled" | "unknown-exit";
6701
6620
  stdout?: string | undefined;
6702
6621
  stderr?: string | undefined;
@@ -6741,21 +6660,13 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6741
6660
  truncated?: true | undefined;
6742
6661
  } | {
6743
6662
  refusal: {
6744
- kind: "terminal" | "contract-missing";
6663
+ kind: "checkout-not-followable";
6745
6664
  contractId: ContractId;
6746
- } | {
6747
- kind: "verification-declaration-invalid";
6748
- contractId?: ContractId | undefined;
6749
- };
6750
- } | {
6751
- retry: {
6752
- kind: "publication-failed";
6753
- diagnostic: string;
6754
- } | {
6755
- kind: "exhausted" | "collision";
6756
- };
6757
- } | {
6758
- refusal: ({
6665
+ target: string;
6666
+ path: string;
6667
+ reason: "untracked";
6668
+ paths: readonly string[];
6669
+ } | ({
6759
6670
  kind: "integration-failed";
6760
6671
  contractId: ContractId;
6761
6672
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -6767,12 +6678,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6767
6678
  contractId: ContractId;
6768
6679
  requiredGit: "2.38";
6769
6680
  } | {
6770
- kind: "checkout-not-followable";
6681
+ kind: "target-missing";
6771
6682
  contractId: ContractId;
6772
- target: string;
6773
- path: string;
6774
- reason: "untracked";
6775
- paths: readonly string[];
6776
6683
  } | {
6777
6684
  kind: "terminal" | "contract-missing" | "delivery-missing";
6778
6685
  contractId: ContractId;
@@ -6807,9 +6714,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6807
6714
  contractId: ContractId;
6808
6715
  state: "abandoned" | "missing" | "active";
6809
6716
  }[];
6810
- } | {
6811
- kind: "target-missing";
6812
- contractId: ContractId;
6813
6717
  };
6814
6718
  } | {
6815
6719
  retry: {
@@ -6942,14 +6846,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
6942
6846
  gates: readonly import("../core/facts/types.js").Gate[];
6943
6847
  after: readonly ContractId[];
6944
6848
  }>;
6945
- }> | Readonly<{
6946
- v: 1;
6947
- kind: "bound";
6948
- contract: ContractId;
6949
- entry: import("../core/facts/types.js").EntryUlid;
6950
- at: string;
6951
- actor?: import("../core/facts/types.js").ActorId;
6952
- data: Readonly<Record<string, never>>;
6953
6849
  }> | Readonly<{
6954
6850
  v: 1;
6955
6851
  kind: "deliver";
@@ -7289,6 +7185,13 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7289
7185
  candidate?: {
7290
7186
  kind: "blocked";
7291
7187
  refusal: {
7188
+ kind: "checkout-not-followable";
7189
+ contractId: ContractId;
7190
+ target: string;
7191
+ path: string;
7192
+ reason: "untracked";
7193
+ paths: readonly string[];
7194
+ } | {
7292
7195
  kind: "worktree-missing";
7293
7196
  contractId: ContractId;
7294
7197
  } | {
@@ -7318,16 +7221,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7318
7221
  kind: "integration-unsupported";
7319
7222
  contractId: ContractId;
7320
7223
  requiredGit: "2.38";
7321
- } | {
7322
- kind: "checkout-not-followable";
7323
- contractId: ContractId;
7324
- target: string;
7325
- path: string;
7326
- reason: "untracked";
7327
- paths: readonly string[];
7328
- } | {
7329
- kind: "target-missing";
7330
- contractId: ContractId;
7331
7224
  } | {
7332
7225
  kind: "merge-state-present";
7333
7226
  contractId: ContractId;
@@ -7335,6 +7228,9 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7335
7228
  kind: "worktree";
7336
7229
  path: string;
7337
7230
  };
7231
+ } | {
7232
+ kind: "target-missing";
7233
+ contractId: ContractId;
7338
7234
  };
7339
7235
  } | {
7340
7236
  kind: "ready";
@@ -7369,6 +7265,21 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7369
7265
  } | {
7370
7266
  kind: "stopped";
7371
7267
  stop: {
7268
+ refusal: {
7269
+ kind: "terminal" | "contract-missing";
7270
+ contractId: ContractId;
7271
+ } | {
7272
+ kind: "verification-declaration-invalid";
7273
+ contractId?: ContractId | undefined;
7274
+ };
7275
+ } | {
7276
+ retry: {
7277
+ kind: "publication-failed";
7278
+ diagnostic: string;
7279
+ } | {
7280
+ kind: "exhausted" | "collision";
7281
+ };
7282
+ } | {
7372
7283
  failure: "cancelled" | "unknown-exit";
7373
7284
  stdout?: string | undefined;
7374
7285
  stderr?: string | undefined;
@@ -7411,21 +7322,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7411
7322
  stdout?: string | undefined;
7412
7323
  stderr?: string | undefined;
7413
7324
  truncated?: true | undefined;
7414
- } | {
7415
- refusal: {
7416
- kind: "terminal" | "contract-missing";
7417
- contractId: ContractId;
7418
- } | {
7419
- kind: "verification-declaration-invalid";
7420
- contractId?: ContractId | undefined;
7421
- };
7422
- } | {
7423
- retry: {
7424
- kind: "publication-failed";
7425
- diagnostic: string;
7426
- } | {
7427
- kind: "exhausted" | "collision";
7428
- };
7429
7325
  };
7430
7326
  } | {
7431
7327
  kind: "satisfied" | "unsatisfied";
@@ -7494,6 +7390,13 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7494
7390
  candidate?: {
7495
7391
  kind: "blocked";
7496
7392
  refusal: {
7393
+ kind: "checkout-not-followable";
7394
+ contractId: ContractId;
7395
+ target: string;
7396
+ path: string;
7397
+ reason: "untracked";
7398
+ paths: readonly string[];
7399
+ } | {
7497
7400
  kind: "worktree-missing";
7498
7401
  contractId: ContractId;
7499
7402
  } | {
@@ -7523,16 +7426,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7523
7426
  kind: "integration-unsupported";
7524
7427
  contractId: ContractId;
7525
7428
  requiredGit: "2.38";
7526
- } | {
7527
- kind: "checkout-not-followable";
7528
- contractId: ContractId;
7529
- target: string;
7530
- path: string;
7531
- reason: "untracked";
7532
- paths: readonly string[];
7533
- } | {
7534
- kind: "target-missing";
7535
- contractId: ContractId;
7536
7429
  } | {
7537
7430
  kind: "merge-state-present";
7538
7431
  contractId: ContractId;
@@ -7540,6 +7433,9 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7540
7433
  kind: "worktree";
7541
7434
  path: string;
7542
7435
  };
7436
+ } | {
7437
+ kind: "target-missing";
7438
+ contractId: ContractId;
7543
7439
  };
7544
7440
  } | {
7545
7441
  kind: "ready";
@@ -7574,6 +7470,21 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7574
7470
  } | {
7575
7471
  kind: "stopped";
7576
7472
  stop: {
7473
+ refusal: {
7474
+ kind: "terminal" | "contract-missing";
7475
+ contractId: ContractId;
7476
+ } | {
7477
+ kind: "verification-declaration-invalid";
7478
+ contractId?: ContractId | undefined;
7479
+ };
7480
+ } | {
7481
+ retry: {
7482
+ kind: "publication-failed";
7483
+ diagnostic: string;
7484
+ } | {
7485
+ kind: "exhausted" | "collision";
7486
+ };
7487
+ } | {
7577
7488
  failure: "cancelled" | "unknown-exit";
7578
7489
  stdout?: string | undefined;
7579
7490
  stderr?: string | undefined;
@@ -7614,23 +7525,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7614
7525
  diagnostic: string;
7615
7526
  };
7616
7527
  stdout?: string | undefined;
7617
- stderr?: string | undefined;
7618
- truncated?: true | undefined;
7619
- } | {
7620
- refusal: {
7621
- kind: "terminal" | "contract-missing";
7622
- contractId: ContractId;
7623
- } | {
7624
- kind: "verification-declaration-invalid";
7625
- contractId?: ContractId | undefined;
7626
- };
7627
- } | {
7628
- retry: {
7629
- kind: "publication-failed";
7630
- diagnostic: string;
7631
- } | {
7632
- kind: "exhausted" | "collision";
7633
- };
7528
+ stderr?: string | undefined;
7529
+ truncated?: true | undefined;
7634
7530
  };
7635
7531
  } | {
7636
7532
  kind: "satisfied" | "unsatisfied";
@@ -7725,14 +7621,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7725
7621
  gates: readonly import("../core/facts/types.js").Gate[];
7726
7622
  after: readonly ContractId[];
7727
7623
  }>;
7728
- }> | Readonly<{
7729
- v: 1;
7730
- kind: "bound";
7731
- contract: ContractId;
7732
- entry: import("../core/facts/types.js").EntryUlid;
7733
- at: string;
7734
- actor?: import("../core/facts/types.js").ActorId;
7735
- data: Readonly<Record<string, never>>;
7736
7624
  }> | Readonly<{
7737
7625
  v: 1;
7738
7626
  kind: "deliver";
@@ -8098,14 +7986,6 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
8098
7986
  gates: readonly import("../core/facts/types.js").Gate[];
8099
7987
  after: readonly ContractId[];
8100
7988
  }>;
8101
- }> | Readonly<{
8102
- v: 1;
8103
- kind: "bound";
8104
- contract: ContractId;
8105
- entry: import("../core/facts/types.js").EntryUlid;
8106
- at: string;
8107
- actor?: import("../core/facts/types.js").ActorId;
8108
- data: Readonly<Record<string, never>>;
8109
7989
  }> | Readonly<{
8110
7990
  v: 1;
8111
7991
  kind: "deliver";
@@ -8528,14 +8408,6 @@ declare const failureWireSchema: z.ZodObject<{
8528
8408
  gates: readonly import("../core/facts/types.js").Gate[];
8529
8409
  after: readonly ContractId[];
8530
8410
  }>;
8531
- }> | Readonly<{
8532
- v: 1;
8533
- kind: "bound";
8534
- contract: ContractId;
8535
- entry: import("../core/facts/types.js").EntryUlid;
8536
- at: string;
8537
- actor?: import("../core/facts/types.js").ActorId;
8538
- data: Readonly<Record<string, never>>;
8539
8411
  }> | Readonly<{
8540
8412
  v: 1;
8541
8413
  kind: "deliver";
@@ -8937,14 +8809,6 @@ declare const failureWireSchema: z.ZodObject<{
8937
8809
  gates: readonly import("../core/facts/types.js").Gate[];
8938
8810
  after: readonly ContractId[];
8939
8811
  }>;
8940
- }> | Readonly<{
8941
- v: 1;
8942
- kind: "bound";
8943
- contract: ContractId;
8944
- entry: import("../core/facts/types.js").EntryUlid;
8945
- at: string;
8946
- actor?: import("../core/facts/types.js").ActorId;
8947
- data: Readonly<Record<string, never>>;
8948
8812
  }> | Readonly<{
8949
8813
  v: 1;
8950
8814
  kind: "deliver";
@@ -9340,14 +9204,6 @@ declare const failureWireSchema: z.ZodObject<{
9340
9204
  gates: readonly import("../core/facts/types.js").Gate[];
9341
9205
  after: readonly ContractId[];
9342
9206
  }>;
9343
- }> | Readonly<{
9344
- v: 1;
9345
- kind: "bound";
9346
- contract: ContractId;
9347
- entry: import("../core/facts/types.js").EntryUlid;
9348
- at: string;
9349
- actor?: import("../core/facts/types.js").ActorId;
9350
- data: Readonly<Record<string, never>>;
9351
9207
  }> | Readonly<{
9352
9208
  v: 1;
9353
9209
  kind: "deliver";
@@ -9699,6 +9555,21 @@ declare const failureWireSchema: z.ZodObject<{
9699
9555
  } | undefined;
9700
9556
  } | undefined;
9701
9557
  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
+ } | {
9702
9573
  failure: "cancelled" | "unknown-exit";
9703
9574
  stdout?: string | undefined;
9704
9575
  stderr?: string | undefined;
@@ -9741,21 +9612,6 @@ declare const failureWireSchema: z.ZodObject<{
9741
9612
  stdout?: string | undefined;
9742
9613
  stderr?: string | undefined;
9743
9614
  truncated?: true | undefined;
9744
- } | {
9745
- refusal: {
9746
- kind: "terminal" | "contract-missing";
9747
- contractId: ContractId;
9748
- } | {
9749
- kind: "verification-declaration-invalid";
9750
- contractId?: ContractId | undefined;
9751
- };
9752
- } | {
9753
- retry: {
9754
- kind: "publication-failed";
9755
- diagnostic: string;
9756
- } | {
9757
- kind: "exhausted" | "collision";
9758
- };
9759
9615
  } | undefined;
9760
9616
  verificationReuse?: {
9761
9617
  entry: import("../core/facts/types.js").EntryUlid;
@@ -9769,7 +9625,14 @@ declare const failureWireSchema: z.ZodObject<{
9769
9625
  } | undefined;
9770
9626
  verificationSummary?: string | undefined;
9771
9627
  placement?: {
9772
- refusal: ({
9628
+ refusal: {
9629
+ kind: "checkout-not-followable";
9630
+ contractId: ContractId;
9631
+ target: string;
9632
+ path: string;
9633
+ reason: "untracked";
9634
+ paths: readonly string[];
9635
+ } | ({
9773
9636
  kind: "integration-failed";
9774
9637
  contractId: ContractId;
9775
9638
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -9781,12 +9644,8 @@ declare const failureWireSchema: z.ZodObject<{
9781
9644
  contractId: ContractId;
9782
9645
  requiredGit: "2.38";
9783
9646
  } | {
9784
- kind: "checkout-not-followable";
9647
+ kind: "target-missing";
9785
9648
  contractId: ContractId;
9786
- target: string;
9787
- path: string;
9788
- reason: "untracked";
9789
- paths: readonly string[];
9790
9649
  } | {
9791
9650
  kind: "terminal" | "contract-missing" | "delivery-missing";
9792
9651
  contractId: ContractId;
@@ -9821,9 +9680,6 @@ declare const failureWireSchema: z.ZodObject<{
9821
9680
  contractId: ContractId;
9822
9681
  state: "abandoned" | "missing" | "active";
9823
9682
  }[];
9824
- } | {
9825
- kind: "target-missing";
9826
- contractId: ContractId;
9827
9683
  };
9828
9684
  } | {
9829
9685
  retry: {
@@ -9860,6 +9716,21 @@ declare const failureWireSchema: z.ZodObject<{
9860
9716
  stopped: readonly {
9861
9717
  contractId: ContractId;
9862
9718
  stop: {
9719
+ refusal: {
9720
+ kind: "terminal" | "contract-missing";
9721
+ contractId: ContractId;
9722
+ } | {
9723
+ kind: "verification-declaration-invalid";
9724
+ contractId?: ContractId | undefined;
9725
+ };
9726
+ } | {
9727
+ retry: {
9728
+ kind: "publication-failed";
9729
+ diagnostic: string;
9730
+ } | {
9731
+ kind: "exhausted" | "collision";
9732
+ };
9733
+ } | {
9863
9734
  failure: "cancelled" | "unknown-exit";
9864
9735
  stdout?: string | undefined;
9865
9736
  stderr?: string | undefined;
@@ -9904,21 +9775,13 @@ declare const failureWireSchema: z.ZodObject<{
9904
9775
  truncated?: true | undefined;
9905
9776
  } | {
9906
9777
  refusal: {
9907
- kind: "terminal" | "contract-missing";
9778
+ kind: "checkout-not-followable";
9908
9779
  contractId: ContractId;
9909
- } | {
9910
- kind: "verification-declaration-invalid";
9911
- contractId?: ContractId | undefined;
9912
- };
9913
- } | {
9914
- retry: {
9915
- kind: "publication-failed";
9916
- diagnostic: string;
9917
- } | {
9918
- kind: "exhausted" | "collision";
9919
- };
9920
- } | {
9921
- refusal: ({
9780
+ target: string;
9781
+ path: string;
9782
+ reason: "untracked";
9783
+ paths: readonly string[];
9784
+ } | ({
9922
9785
  kind: "integration-failed";
9923
9786
  contractId: ContractId;
9924
9787
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -9930,12 +9793,8 @@ declare const failureWireSchema: z.ZodObject<{
9930
9793
  contractId: ContractId;
9931
9794
  requiredGit: "2.38";
9932
9795
  } | {
9933
- kind: "checkout-not-followable";
9796
+ kind: "target-missing";
9934
9797
  contractId: ContractId;
9935
- target: string;
9936
- path: string;
9937
- reason: "untracked";
9938
- paths: readonly string[];
9939
9798
  } | {
9940
9799
  kind: "terminal" | "contract-missing" | "delivery-missing";
9941
9800
  contractId: ContractId;
@@ -9970,9 +9829,6 @@ declare const failureWireSchema: z.ZodObject<{
9970
9829
  contractId: ContractId;
9971
9830
  state: "abandoned" | "missing" | "active";
9972
9831
  }[];
9973
- } | {
9974
- kind: "target-missing";
9975
- contractId: ContractId;
9976
9832
  };
9977
9833
  } | {
9978
9834
  retry: {
@@ -10090,6 +9946,21 @@ declare const failureWireSchema: z.ZodObject<{
10090
9946
  } | undefined;
10091
9947
  } | undefined;
10092
9948
  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
+ } | {
10093
9964
  failure: "cancelled" | "unknown-exit";
10094
9965
  stdout?: string | undefined;
10095
9966
  stderr?: string | undefined;
@@ -10132,21 +10003,6 @@ declare const failureWireSchema: z.ZodObject<{
10132
10003
  stdout?: string | undefined;
10133
10004
  stderr?: string | undefined;
10134
10005
  truncated?: true | undefined;
10135
- } | {
10136
- refusal: {
10137
- kind: "terminal" | "contract-missing";
10138
- contractId: ContractId;
10139
- } | {
10140
- kind: "verification-declaration-invalid";
10141
- contractId?: ContractId | undefined;
10142
- };
10143
- } | {
10144
- retry: {
10145
- kind: "publication-failed";
10146
- diagnostic: string;
10147
- } | {
10148
- kind: "exhausted" | "collision";
10149
- };
10150
10006
  } | undefined;
10151
10007
  verificationReuse?: {
10152
10008
  entry: import("../core/facts/types.js").EntryUlid;
@@ -10160,7 +10016,14 @@ declare const failureWireSchema: z.ZodObject<{
10160
10016
  } | undefined;
10161
10017
  verificationSummary?: string | undefined;
10162
10018
  placement?: {
10163
- refusal: ({
10019
+ refusal: {
10020
+ kind: "checkout-not-followable";
10021
+ contractId: ContractId;
10022
+ target: string;
10023
+ path: string;
10024
+ reason: "untracked";
10025
+ paths: readonly string[];
10026
+ } | ({
10164
10027
  kind: "integration-failed";
10165
10028
  contractId: ContractId;
10166
10029
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -10172,12 +10035,8 @@ declare const failureWireSchema: z.ZodObject<{
10172
10035
  contractId: ContractId;
10173
10036
  requiredGit: "2.38";
10174
10037
  } | {
10175
- kind: "checkout-not-followable";
10038
+ kind: "target-missing";
10176
10039
  contractId: ContractId;
10177
- target: string;
10178
- path: string;
10179
- reason: "untracked";
10180
- paths: readonly string[];
10181
10040
  } | {
10182
10041
  kind: "terminal" | "contract-missing" | "delivery-missing";
10183
10042
  contractId: ContractId;
@@ -10212,9 +10071,6 @@ declare const failureWireSchema: z.ZodObject<{
10212
10071
  contractId: ContractId;
10213
10072
  state: "abandoned" | "missing" | "active";
10214
10073
  }[];
10215
- } | {
10216
- kind: "target-missing";
10217
- contractId: ContractId;
10218
10074
  };
10219
10075
  } | {
10220
10076
  retry: {
@@ -10251,6 +10107,21 @@ declare const failureWireSchema: z.ZodObject<{
10251
10107
  stopped: readonly {
10252
10108
  contractId: ContractId;
10253
10109
  stop: {
10110
+ refusal: {
10111
+ kind: "terminal" | "contract-missing";
10112
+ contractId: ContractId;
10113
+ } | {
10114
+ kind: "verification-declaration-invalid";
10115
+ contractId?: ContractId | undefined;
10116
+ };
10117
+ } | {
10118
+ retry: {
10119
+ kind: "publication-failed";
10120
+ diagnostic: string;
10121
+ } | {
10122
+ kind: "exhausted" | "collision";
10123
+ };
10124
+ } | {
10254
10125
  failure: "cancelled" | "unknown-exit";
10255
10126
  stdout?: string | undefined;
10256
10127
  stderr?: string | undefined;
@@ -10295,21 +10166,13 @@ declare const failureWireSchema: z.ZodObject<{
10295
10166
  truncated?: true | undefined;
10296
10167
  } | {
10297
10168
  refusal: {
10298
- kind: "terminal" | "contract-missing";
10169
+ kind: "checkout-not-followable";
10299
10170
  contractId: ContractId;
10300
- } | {
10301
- kind: "verification-declaration-invalid";
10302
- contractId?: ContractId | undefined;
10303
- };
10304
- } | {
10305
- retry: {
10306
- kind: "publication-failed";
10307
- diagnostic: string;
10308
- } | {
10309
- kind: "exhausted" | "collision";
10310
- };
10311
- } | {
10312
- refusal: ({
10171
+ target: string;
10172
+ path: string;
10173
+ reason: "untracked";
10174
+ paths: readonly string[];
10175
+ } | ({
10313
10176
  kind: "integration-failed";
10314
10177
  contractId: ContractId;
10315
10178
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -10321,12 +10184,8 @@ declare const failureWireSchema: z.ZodObject<{
10321
10184
  contractId: ContractId;
10322
10185
  requiredGit: "2.38";
10323
10186
  } | {
10324
- kind: "checkout-not-followable";
10187
+ kind: "target-missing";
10325
10188
  contractId: ContractId;
10326
- target: string;
10327
- path: string;
10328
- reason: "untracked";
10329
- paths: readonly string[];
10330
10189
  } | {
10331
10190
  kind: "terminal" | "contract-missing" | "delivery-missing";
10332
10191
  contractId: ContractId;
@@ -10361,9 +10220,6 @@ declare const failureWireSchema: z.ZodObject<{
10361
10220
  contractId: ContractId;
10362
10221
  state: "abandoned" | "missing" | "active";
10363
10222
  }[];
10364
- } | {
10365
- kind: "target-missing";
10366
- contractId: ContractId;
10367
10223
  };
10368
10224
  } | {
10369
10225
  retry: {
@@ -10495,14 +10351,6 @@ declare const failureWireSchema: z.ZodObject<{
10495
10351
  gates: readonly import("../core/facts/types.js").Gate[];
10496
10352
  after: readonly ContractId[];
10497
10353
  }>;
10498
- }> | Readonly<{
10499
- v: 1;
10500
- kind: "bound";
10501
- contract: ContractId;
10502
- entry: import("../core/facts/types.js").EntryUlid;
10503
- at: string;
10504
- actor?: import("../core/facts/types.js").ActorId;
10505
- data: Readonly<Record<string, never>>;
10506
10354
  }> | Readonly<{
10507
10355
  v: 1;
10508
10356
  kind: "deliver";
@@ -10854,6 +10702,21 @@ declare const failureWireSchema: z.ZodObject<{
10854
10702
  } | undefined;
10855
10703
  } | undefined;
10856
10704
  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
+ } | {
10857
10720
  failure: "cancelled" | "unknown-exit";
10858
10721
  stdout?: string | undefined;
10859
10722
  stderr?: string | undefined;
@@ -10896,21 +10759,6 @@ declare const failureWireSchema: z.ZodObject<{
10896
10759
  stdout?: string | undefined;
10897
10760
  stderr?: string | undefined;
10898
10761
  truncated?: true | undefined;
10899
- } | {
10900
- refusal: {
10901
- kind: "terminal" | "contract-missing";
10902
- contractId: ContractId;
10903
- } | {
10904
- kind: "verification-declaration-invalid";
10905
- contractId?: ContractId | undefined;
10906
- };
10907
- } | {
10908
- retry: {
10909
- kind: "publication-failed";
10910
- diagnostic: string;
10911
- } | {
10912
- kind: "exhausted" | "collision";
10913
- };
10914
10762
  } | undefined;
10915
10763
  verificationReuse?: {
10916
10764
  entry: import("../core/facts/types.js").EntryUlid;
@@ -10924,7 +10772,14 @@ declare const failureWireSchema: z.ZodObject<{
10924
10772
  } | undefined;
10925
10773
  verificationSummary?: string | undefined;
10926
10774
  placement?: {
10927
- refusal: ({
10775
+ refusal: {
10776
+ kind: "checkout-not-followable";
10777
+ contractId: ContractId;
10778
+ target: string;
10779
+ path: string;
10780
+ reason: "untracked";
10781
+ paths: readonly string[];
10782
+ } | ({
10928
10783
  kind: "integration-failed";
10929
10784
  contractId: ContractId;
10930
10785
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -10936,12 +10791,8 @@ declare const failureWireSchema: z.ZodObject<{
10936
10791
  contractId: ContractId;
10937
10792
  requiredGit: "2.38";
10938
10793
  } | {
10939
- kind: "checkout-not-followable";
10794
+ kind: "target-missing";
10940
10795
  contractId: ContractId;
10941
- target: string;
10942
- path: string;
10943
- reason: "untracked";
10944
- paths: readonly string[];
10945
10796
  } | {
10946
10797
  kind: "terminal" | "contract-missing" | "delivery-missing";
10947
10798
  contractId: ContractId;
@@ -10976,9 +10827,6 @@ declare const failureWireSchema: z.ZodObject<{
10976
10827
  contractId: ContractId;
10977
10828
  state: "abandoned" | "missing" | "active";
10978
10829
  }[];
10979
- } | {
10980
- kind: "target-missing";
10981
- contractId: ContractId;
10982
10830
  };
10983
10831
  } | {
10984
10832
  retry: {
@@ -11011,6 +10859,21 @@ declare const failureWireSchema: z.ZodObject<{
11011
10859
  stopped: readonly {
11012
10860
  contractId: ContractId;
11013
10861
  stop: {
10862
+ refusal: {
10863
+ kind: "terminal" | "contract-missing";
10864
+ contractId: ContractId;
10865
+ } | {
10866
+ kind: "verification-declaration-invalid";
10867
+ contractId?: ContractId | undefined;
10868
+ };
10869
+ } | {
10870
+ retry: {
10871
+ kind: "publication-failed";
10872
+ diagnostic: string;
10873
+ } | {
10874
+ kind: "exhausted" | "collision";
10875
+ };
10876
+ } | {
11014
10877
  failure: "cancelled" | "unknown-exit";
11015
10878
  stdout?: string | undefined;
11016
10879
  stderr?: string | undefined;
@@ -11055,21 +10918,13 @@ declare const failureWireSchema: z.ZodObject<{
11055
10918
  truncated?: true | undefined;
11056
10919
  } | {
11057
10920
  refusal: {
11058
- kind: "terminal" | "contract-missing";
10921
+ kind: "checkout-not-followable";
11059
10922
  contractId: ContractId;
11060
- } | {
11061
- kind: "verification-declaration-invalid";
11062
- contractId?: ContractId | undefined;
11063
- };
11064
- } | {
11065
- retry: {
11066
- kind: "publication-failed";
11067
- diagnostic: string;
11068
- } | {
11069
- kind: "exhausted" | "collision";
11070
- };
11071
- } | {
11072
- refusal: ({
10923
+ target: string;
10924
+ path: string;
10925
+ reason: "untracked";
10926
+ paths: readonly string[];
10927
+ } | ({
11073
10928
  kind: "integration-failed";
11074
10929
  contractId: ContractId;
11075
10930
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -11081,12 +10936,8 @@ declare const failureWireSchema: z.ZodObject<{
11081
10936
  contractId: ContractId;
11082
10937
  requiredGit: "2.38";
11083
10938
  } | {
11084
- kind: "checkout-not-followable";
10939
+ kind: "target-missing";
11085
10940
  contractId: ContractId;
11086
- target: string;
11087
- path: string;
11088
- reason: "untracked";
11089
- paths: readonly string[];
11090
10941
  } | {
11091
10942
  kind: "terminal" | "contract-missing" | "delivery-missing";
11092
10943
  contractId: ContractId;
@@ -11121,9 +10972,6 @@ declare const failureWireSchema: z.ZodObject<{
11121
10972
  contractId: ContractId;
11122
10973
  state: "abandoned" | "missing" | "active";
11123
10974
  }[];
11124
- } | {
11125
- kind: "target-missing";
11126
- contractId: ContractId;
11127
10975
  };
11128
10976
  } | {
11129
10977
  retry: {
@@ -11242,6 +11090,21 @@ declare const failureWireSchema: z.ZodObject<{
11242
11090
  } | undefined;
11243
11091
  } | undefined;
11244
11092
  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
+ } | {
11245
11108
  failure: "cancelled" | "unknown-exit";
11246
11109
  stdout?: string | undefined;
11247
11110
  stderr?: string | undefined;
@@ -11284,21 +11147,6 @@ declare const failureWireSchema: z.ZodObject<{
11284
11147
  stdout?: string | undefined;
11285
11148
  stderr?: string | undefined;
11286
11149
  truncated?: true | undefined;
11287
- } | {
11288
- refusal: {
11289
- kind: "terminal" | "contract-missing";
11290
- contractId: ContractId;
11291
- } | {
11292
- kind: "verification-declaration-invalid";
11293
- contractId?: ContractId | undefined;
11294
- };
11295
- } | {
11296
- retry: {
11297
- kind: "publication-failed";
11298
- diagnostic: string;
11299
- } | {
11300
- kind: "exhausted" | "collision";
11301
- };
11302
11150
  } | undefined;
11303
11151
  verificationReuse?: {
11304
11152
  entry: import("../core/facts/types.js").EntryUlid;
@@ -11312,7 +11160,14 @@ declare const failureWireSchema: z.ZodObject<{
11312
11160
  } | undefined;
11313
11161
  verificationSummary?: string | undefined;
11314
11162
  placement?: {
11315
- refusal: ({
11163
+ refusal: {
11164
+ kind: "checkout-not-followable";
11165
+ contractId: ContractId;
11166
+ target: string;
11167
+ path: string;
11168
+ reason: "untracked";
11169
+ paths: readonly string[];
11170
+ } | ({
11316
11171
  kind: "integration-failed";
11317
11172
  contractId: ContractId;
11318
11173
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -11324,12 +11179,8 @@ declare const failureWireSchema: z.ZodObject<{
11324
11179
  contractId: ContractId;
11325
11180
  requiredGit: "2.38";
11326
11181
  } | {
11327
- kind: "checkout-not-followable";
11182
+ kind: "target-missing";
11328
11183
  contractId: ContractId;
11329
- target: string;
11330
- path: string;
11331
- reason: "untracked";
11332
- paths: readonly string[];
11333
11184
  } | {
11334
11185
  kind: "terminal" | "contract-missing" | "delivery-missing";
11335
11186
  contractId: ContractId;
@@ -11364,9 +11215,6 @@ declare const failureWireSchema: z.ZodObject<{
11364
11215
  contractId: ContractId;
11365
11216
  state: "abandoned" | "missing" | "active";
11366
11217
  }[];
11367
- } | {
11368
- kind: "target-missing";
11369
- contractId: ContractId;
11370
11218
  };
11371
11219
  } | {
11372
11220
  retry: {
@@ -11399,6 +11247,21 @@ declare const failureWireSchema: z.ZodObject<{
11399
11247
  stopped: readonly {
11400
11248
  contractId: ContractId;
11401
11249
  stop: {
11250
+ refusal: {
11251
+ kind: "terminal" | "contract-missing";
11252
+ contractId: ContractId;
11253
+ } | {
11254
+ kind: "verification-declaration-invalid";
11255
+ contractId?: ContractId | undefined;
11256
+ };
11257
+ } | {
11258
+ retry: {
11259
+ kind: "publication-failed";
11260
+ diagnostic: string;
11261
+ } | {
11262
+ kind: "exhausted" | "collision";
11263
+ };
11264
+ } | {
11402
11265
  failure: "cancelled" | "unknown-exit";
11403
11266
  stdout?: string | undefined;
11404
11267
  stderr?: string | undefined;
@@ -11443,21 +11306,13 @@ declare const failureWireSchema: z.ZodObject<{
11443
11306
  truncated?: true | undefined;
11444
11307
  } | {
11445
11308
  refusal: {
11446
- kind: "terminal" | "contract-missing";
11309
+ kind: "checkout-not-followable";
11447
11310
  contractId: ContractId;
11448
- } | {
11449
- kind: "verification-declaration-invalid";
11450
- contractId?: ContractId | undefined;
11451
- };
11452
- } | {
11453
- retry: {
11454
- kind: "publication-failed";
11455
- diagnostic: string;
11456
- } | {
11457
- kind: "exhausted" | "collision";
11458
- };
11459
- } | {
11460
- refusal: ({
11311
+ target: string;
11312
+ path: string;
11313
+ reason: "untracked";
11314
+ paths: readonly string[];
11315
+ } | ({
11461
11316
  kind: "integration-failed";
11462
11317
  contractId: ContractId;
11463
11318
  reason: "not-based-on-target" | "unrelated-histories" | "conflict";
@@ -11469,12 +11324,8 @@ declare const failureWireSchema: z.ZodObject<{
11469
11324
  contractId: ContractId;
11470
11325
  requiredGit: "2.38";
11471
11326
  } | {
11472
- kind: "checkout-not-followable";
11327
+ kind: "target-missing";
11473
11328
  contractId: ContractId;
11474
- target: string;
11475
- path: string;
11476
- reason: "untracked";
11477
- paths: readonly string[];
11478
11329
  } | {
11479
11330
  kind: "terminal" | "contract-missing" | "delivery-missing";
11480
11331
  contractId: ContractId;
@@ -11509,9 +11360,6 @@ declare const failureWireSchema: z.ZodObject<{
11509
11360
  contractId: ContractId;
11510
11361
  state: "abandoned" | "missing" | "active";
11511
11362
  }[];
11512
- } | {
11513
- kind: "target-missing";
11514
- contractId: ContractId;
11515
11363
  };
11516
11364
  } | {
11517
11365
  retry: {
@@ -11644,14 +11492,6 @@ declare const failureWireSchema: z.ZodObject<{
11644
11492
  gates: readonly import("../core/facts/types.js").Gate[];
11645
11493
  after: readonly ContractId[];
11646
11494
  }>;
11647
- }> | Readonly<{
11648
- v: 1;
11649
- kind: "bound";
11650
- contract: ContractId;
11651
- entry: import("../core/facts/types.js").EntryUlid;
11652
- at: string;
11653
- actor?: import("../core/facts/types.js").ActorId;
11654
- data: Readonly<Record<string, never>>;
11655
11495
  }> | Readonly<{
11656
11496
  v: 1;
11657
11497
  kind: "deliver";
@@ -11991,6 +11831,13 @@ declare const failureWireSchema: z.ZodObject<{
11991
11831
  candidate?: {
11992
11832
  kind: "blocked";
11993
11833
  refusal: {
11834
+ kind: "checkout-not-followable";
11835
+ contractId: ContractId;
11836
+ target: string;
11837
+ path: string;
11838
+ reason: "untracked";
11839
+ paths: readonly string[];
11840
+ } | {
11994
11841
  kind: "worktree-missing";
11995
11842
  contractId: ContractId;
11996
11843
  } | {
@@ -12020,16 +11867,6 @@ declare const failureWireSchema: z.ZodObject<{
12020
11867
  kind: "integration-unsupported";
12021
11868
  contractId: ContractId;
12022
11869
  requiredGit: "2.38";
12023
- } | {
12024
- kind: "checkout-not-followable";
12025
- contractId: ContractId;
12026
- target: string;
12027
- path: string;
12028
- reason: "untracked";
12029
- paths: readonly string[];
12030
- } | {
12031
- kind: "target-missing";
12032
- contractId: ContractId;
12033
11870
  } | {
12034
11871
  kind: "merge-state-present";
12035
11872
  contractId: ContractId;
@@ -12037,6 +11874,9 @@ declare const failureWireSchema: z.ZodObject<{
12037
11874
  kind: "worktree";
12038
11875
  path: string;
12039
11876
  };
11877
+ } | {
11878
+ kind: "target-missing";
11879
+ contractId: ContractId;
12040
11880
  };
12041
11881
  } | {
12042
11882
  kind: "ready";
@@ -12071,6 +11911,21 @@ declare const failureWireSchema: z.ZodObject<{
12071
11911
  } | {
12072
11912
  kind: "stopped";
12073
11913
  stop: {
11914
+ refusal: {
11915
+ kind: "terminal" | "contract-missing";
11916
+ contractId: ContractId;
11917
+ } | {
11918
+ kind: "verification-declaration-invalid";
11919
+ contractId?: ContractId | undefined;
11920
+ };
11921
+ } | {
11922
+ retry: {
11923
+ kind: "publication-failed";
11924
+ diagnostic: string;
11925
+ } | {
11926
+ kind: "exhausted" | "collision";
11927
+ };
11928
+ } | {
12074
11929
  failure: "cancelled" | "unknown-exit";
12075
11930
  stdout?: string | undefined;
12076
11931
  stderr?: string | undefined;
@@ -12113,21 +11968,6 @@ declare const failureWireSchema: z.ZodObject<{
12113
11968
  stdout?: string | undefined;
12114
11969
  stderr?: string | undefined;
12115
11970
  truncated?: true | undefined;
12116
- } | {
12117
- refusal: {
12118
- kind: "terminal" | "contract-missing";
12119
- contractId: ContractId;
12120
- } | {
12121
- kind: "verification-declaration-invalid";
12122
- contractId?: ContractId | undefined;
12123
- };
12124
- } | {
12125
- retry: {
12126
- kind: "publication-failed";
12127
- diagnostic: string;
12128
- } | {
12129
- kind: "exhausted" | "collision";
12130
- };
12131
11971
  };
12132
11972
  } | {
12133
11973
  kind: "satisfied" | "unsatisfied";
@@ -12196,6 +12036,13 @@ declare const failureWireSchema: z.ZodObject<{
12196
12036
  candidate?: {
12197
12037
  kind: "blocked";
12198
12038
  refusal: {
12039
+ kind: "checkout-not-followable";
12040
+ contractId: ContractId;
12041
+ target: string;
12042
+ path: string;
12043
+ reason: "untracked";
12044
+ paths: readonly string[];
12045
+ } | {
12199
12046
  kind: "worktree-missing";
12200
12047
  contractId: ContractId;
12201
12048
  } | {
@@ -12225,16 +12072,6 @@ declare const failureWireSchema: z.ZodObject<{
12225
12072
  kind: "integration-unsupported";
12226
12073
  contractId: ContractId;
12227
12074
  requiredGit: "2.38";
12228
- } | {
12229
- kind: "checkout-not-followable";
12230
- contractId: ContractId;
12231
- target: string;
12232
- path: string;
12233
- reason: "untracked";
12234
- paths: readonly string[];
12235
- } | {
12236
- kind: "target-missing";
12237
- contractId: ContractId;
12238
12075
  } | {
12239
12076
  kind: "merge-state-present";
12240
12077
  contractId: ContractId;
@@ -12242,6 +12079,9 @@ declare const failureWireSchema: z.ZodObject<{
12242
12079
  kind: "worktree";
12243
12080
  path: string;
12244
12081
  };
12082
+ } | {
12083
+ kind: "target-missing";
12084
+ contractId: ContractId;
12245
12085
  };
12246
12086
  } | {
12247
12087
  kind: "ready";
@@ -12276,6 +12116,21 @@ declare const failureWireSchema: z.ZodObject<{
12276
12116
  } | {
12277
12117
  kind: "stopped";
12278
12118
  stop: {
12119
+ refusal: {
12120
+ kind: "terminal" | "contract-missing";
12121
+ contractId: ContractId;
12122
+ } | {
12123
+ kind: "verification-declaration-invalid";
12124
+ contractId?: ContractId | undefined;
12125
+ };
12126
+ } | {
12127
+ retry: {
12128
+ kind: "publication-failed";
12129
+ diagnostic: string;
12130
+ } | {
12131
+ kind: "exhausted" | "collision";
12132
+ };
12133
+ } | {
12279
12134
  failure: "cancelled" | "unknown-exit";
12280
12135
  stdout?: string | undefined;
12281
12136
  stderr?: string | undefined;
@@ -12318,21 +12173,6 @@ declare const failureWireSchema: z.ZodObject<{
12318
12173
  stdout?: string | undefined;
12319
12174
  stderr?: string | undefined;
12320
12175
  truncated?: true | undefined;
12321
- } | {
12322
- refusal: {
12323
- kind: "terminal" | "contract-missing";
12324
- contractId: ContractId;
12325
- } | {
12326
- kind: "verification-declaration-invalid";
12327
- contractId?: ContractId | undefined;
12328
- };
12329
- } | {
12330
- retry: {
12331
- kind: "publication-failed";
12332
- diagnostic: string;
12333
- } | {
12334
- kind: "exhausted" | "collision";
12335
- };
12336
12176
  };
12337
12177
  } | {
12338
12178
  kind: "satisfied" | "unsatisfied";
@@ -12427,14 +12267,6 @@ declare const failureWireSchema: z.ZodObject<{
12427
12267
  gates: readonly import("../core/facts/types.js").Gate[];
12428
12268
  after: readonly ContractId[];
12429
12269
  }>;
12430
- }> | Readonly<{
12431
- v: 1;
12432
- kind: "bound";
12433
- contract: ContractId;
12434
- entry: import("../core/facts/types.js").EntryUlid;
12435
- at: string;
12436
- actor?: import("../core/facts/types.js").ActorId;
12437
- data: Readonly<Record<string, never>>;
12438
12270
  }> | Readonly<{
12439
12271
  v: 1;
12440
12272
  kind: "deliver";
@@ -12800,14 +12632,6 @@ declare const failureWireSchema: z.ZodObject<{
12800
12632
  gates: readonly import("../core/facts/types.js").Gate[];
12801
12633
  after: readonly ContractId[];
12802
12634
  }>;
12803
- }> | Readonly<{
12804
- v: 1;
12805
- kind: "bound";
12806
- contract: ContractId;
12807
- entry: import("../core/facts/types.js").EntryUlid;
12808
- at: string;
12809
- actor?: import("../core/facts/types.js").ActorId;
12810
- data: Readonly<Record<string, never>>;
12811
12635
  }> | Readonly<{
12812
12636
  v: 1;
12813
12637
  kind: "deliver";