@astrosheep/keiyaku 4.6.8 → 4.6.9

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 (253) hide show
  1. package/README.md +40 -14
  2. package/build/plugins/claude/.claude-plugin/plugin.json +1 -1
  3. package/build/plugins/claude/skills/keiyaku/SKILL.md +5 -6
  4. package/build/plugins/claude/skills/keiyaku-akuma/SKILL.md +1 -1
  5. package/build/plugins/claude/skills/keiyaku-akuma/references/automation.md +8 -8
  6. package/build/plugins/claude/skills/keiyaku-babysit/SKILL.md +1 -1
  7. package/build/plugins/claude/skills/keiyaku-bind/SKILL.md +9 -9
  8. package/build/plugins/claude/skills/keiyaku-debt/SKILL.md +91 -0
  9. package/build/plugins/claude/skills/keiyaku-workflow/SKILL.md +2 -2
  10. package/build/plugins/codex/.codex-plugin/plugin.json +1 -1
  11. package/build/plugins/codex/skills/keiyaku/SKILL.md +5 -6
  12. package/build/plugins/codex/skills/keiyaku-akuma/SKILL.md +1 -1
  13. package/build/plugins/codex/skills/keiyaku-akuma/references/automation.md +8 -8
  14. package/build/plugins/codex/skills/keiyaku-babysit/SKILL.md +1 -1
  15. package/build/plugins/codex/skills/keiyaku-bind/SKILL.md +9 -9
  16. package/build/plugins/codex/skills/keiyaku-debt/SKILL.md +91 -0
  17. package/build/plugins/codex/skills/keiyaku-workflow/SKILL.md +2 -2
  18. package/build/plugins/opencode/index.js +1 -1
  19. package/build/plugins/opencode/skills/keiyaku/SKILL.md +5 -6
  20. package/build/plugins/opencode/skills/keiyaku-akuma/SKILL.md +1 -1
  21. package/build/plugins/opencode/skills/keiyaku-akuma/references/automation.md +8 -8
  22. package/build/plugins/opencode/skills/keiyaku-babysit/SKILL.md +1 -1
  23. package/build/plugins/opencode/skills/keiyaku-bind/SKILL.md +9 -9
  24. package/build/plugins/opencode/skills/keiyaku-debt/SKILL.md +91 -0
  25. package/build/plugins/opencode/skills/keiyaku-workflow/SKILL.md +2 -2
  26. package/build/skills/keiyaku/SKILL.md +5 -6
  27. package/build/skills/keiyaku-akuma/SKILL.md +1 -1
  28. package/build/skills/keiyaku-akuma/references/automation.md +8 -8
  29. package/build/skills/keiyaku-babysit/SKILL.md +1 -1
  30. package/build/skills/keiyaku-bind/SKILL.md +9 -9
  31. package/build/skills/keiyaku-debt/SKILL.md +91 -0
  32. package/build/skills/keiyaku-workflow/SKILL.md +2 -2
  33. package/build/src/akuma/akuma-instance.d.ts +2 -0
  34. package/build/src/akuma/akuma-instance.js +10 -0
  35. package/build/src/akuma/akuma-observe.d.ts +33 -8
  36. package/build/src/akuma/akuma-observe.js +88 -64
  37. package/build/src/akuma/akuma-owner.d.ts +11 -2
  38. package/build/src/akuma/akuma-owner.js +45 -35
  39. package/build/src/akuma/akuma-selection-execution.js +9 -1
  40. package/build/src/akuma/akuma-stream.d.ts +22 -0
  41. package/build/src/akuma/akuma-stream.js +116 -0
  42. package/build/src/akuma/akuma-wait.d.ts +1 -40
  43. package/build/src/akuma/akuma-wait.js +23 -84
  44. package/build/src/akuma/akuma.d.ts +17 -11
  45. package/build/src/akuma/akuma.js +2 -0
  46. package/build/src/akuma/allowed.d.ts +7 -12
  47. package/build/src/akuma/allowed.js +13 -4
  48. package/build/src/akuma/body-supervisor.d.ts +5 -5
  49. package/build/src/akuma/body-supervisor.js +22 -20
  50. package/build/src/akuma/body.js +28 -1
  51. package/build/src/akuma/call-request.d.ts +12 -22
  52. package/build/src/akuma/heart/activity-schema.d.ts +12 -0
  53. package/build/src/akuma/heart/activity-schema.js +6 -0
  54. package/build/src/akuma/heart/index.d.ts +59 -2
  55. package/build/src/akuma/heart/index.js +87 -8
  56. package/build/src/akuma/heart/rows.js +5 -3
  57. package/build/src/akuma/heart/soul.d.ts +9 -0
  58. package/build/src/akuma/heart/soul.js +29 -0
  59. package/build/src/akuma/heart/storage.d.ts +15 -0
  60. package/build/src/akuma/heart/storage.js +55 -0
  61. package/build/src/akuma/heart/timeline.d.ts +7 -0
  62. package/build/src/akuma/heart/timeline.js +10 -0
  63. package/build/src/akuma/index.d.ts +1 -0
  64. package/build/src/akuma/projection.d.ts +25 -0
  65. package/build/src/akuma/projection.js +24 -7
  66. package/build/src/akuma/provider-recipe.d.ts +11 -0
  67. package/build/src/akuma/provider-recipe.js +23 -0
  68. package/build/src/akuma/provider.d.ts +25 -0
  69. package/build/src/akuma/provider.js +99 -7
  70. package/build/src/akuma/providers/acp/events.js +25 -2
  71. package/build/src/akuma/providers/claude/events.js +76 -10
  72. package/build/src/akuma/providers/claude/index.js +2 -5
  73. package/build/src/akuma/providers/codex-app-server/events.js +17 -2
  74. package/build/src/akuma/providers/codex-app-server/index.js +15 -9
  75. package/build/src/akuma/providers/decode.d.ts +8 -0
  76. package/build/src/akuma/providers/decode.js +21 -0
  77. package/build/src/akuma/providers/grok-build/index.js +10 -26
  78. package/build/src/akuma/providers/opencode-sdk/event-stream.d.ts +3 -3
  79. package/build/src/akuma/providers/opencode-sdk/event-stream.js +2 -25
  80. package/build/src/akuma/providers/opencode-sdk/events.d.ts +7 -43
  81. package/build/src/akuma/providers/opencode-sdk/events.js +147 -284
  82. package/build/src/akuma/providers/opencode-sdk/index.js +267 -421
  83. package/build/src/akuma/providers/opencode-sdk/native-http.d.ts +9 -0
  84. package/build/src/akuma/providers/opencode-sdk/native-http.js +69 -0
  85. package/build/src/akuma/providers/opencode-sdk/session.d.ts +42 -36
  86. package/build/src/akuma/providers/opencode-sdk/session.js +75 -82
  87. package/build/src/akuma/providers/paseo/events.d.ts +8 -0
  88. package/build/src/akuma/providers/paseo/events.js +58 -11
  89. package/build/src/akuma/providers/paseo/index.js +11 -7
  90. package/build/src/akuma/providers/pi/events.d.ts +2 -0
  91. package/build/src/akuma/providers/pi/events.js +32 -24
  92. package/build/src/akuma/providers/pi/index.js +21 -35
  93. package/build/src/akuma/request-lifecycle.d.ts +1 -2
  94. package/build/src/akuma/request-lifecycle.js +2 -8
  95. package/build/src/akuma/request-rendezvous.js +38 -55
  96. package/build/src/akuma/request-serve.d.ts +1 -1
  97. package/build/src/akuma/request-serve.js +77 -113
  98. package/build/src/akuma/selection-observation.d.ts +57 -51
  99. package/build/src/akuma/selection-observation.js +3 -3
  100. package/build/src/akuma/turn-drive.d.ts +3 -0
  101. package/build/src/akuma/turn-drive.js +26 -5
  102. package/build/src/akuma-body.js +12 -22
  103. package/build/src/cli/akuma-caller.js +10 -0
  104. package/build/src/cli/commands/akuma-grammar.js +3 -4
  105. package/build/src/cli/commands/akuma.js +13 -51
  106. package/build/src/cli/commands/contract-grammar.d.ts +7 -6
  107. package/build/src/cli/commands/contract-grammar.js +27 -32
  108. package/build/src/cli/commands/contract-help.d.ts +16 -7
  109. package/build/src/cli/commands/contract-help.js +20 -11
  110. package/build/src/cli/commands/contract.js +11 -11
  111. package/build/src/cli/commands/debt-grammar.d.ts +19 -0
  112. package/build/src/cli/commands/debt-grammar.js +323 -0
  113. package/build/src/cli/commands/debt-query.d.ts +5 -0
  114. package/build/src/cli/commands/{task-query.js → debt-query.js} +9 -9
  115. package/build/src/cli/commands/{task.d.ts → debt.d.ts} +2 -2
  116. package/build/src/cli/commands/{task.js → debt.js} +83 -143
  117. package/build/src/cli/coordinates.d.ts +1 -1
  118. package/build/src/cli/coordinates.js +1 -1
  119. package/build/src/cli/parse.d.ts +4 -4
  120. package/build/src/cli/parse.js +17 -16
  121. package/build/src/cli/render/akuma-activity.d.ts +11 -83
  122. package/build/src/cli/render/akuma-activity.js +20 -382
  123. package/build/src/cli/render/catalog.d.ts +2 -2
  124. package/build/src/cli/render/catalog.js +5 -5
  125. package/build/src/cli/render/contract.js +2 -2
  126. package/build/src/cli/render/debt.d.ts +28 -0
  127. package/build/src/cli/render/{task.js → debt.js} +51 -112
  128. package/build/src/cli/render/kanshi.js +28 -28
  129. package/build/src/cli/render/marks.d.ts +5 -5
  130. package/build/src/cli/render/marks.js +4 -10
  131. package/build/src/cli/render/nuke.js +1 -1
  132. package/build/src/cli/runtime.js +3 -3
  133. package/build/src/cli/scan.d.ts +1 -1
  134. package/build/src/cli/usage.d.ts +1 -1
  135. package/build/src/cli/usage.js +4 -4
  136. package/build/src/contract-worktree.js +3 -3
  137. package/build/src/debt/board.d.ts +160 -0
  138. package/build/src/{task → debt}/board.js +89 -89
  139. package/build/src/debt/catalog.d.ts +11 -0
  140. package/build/src/debt/catalog.js +59 -0
  141. package/build/src/{task → debt}/context.d.ts +1 -1
  142. package/build/src/{task → debt}/context.js +1 -1
  143. package/build/src/{task → debt}/created-observation.d.ts +6 -10
  144. package/build/src/{task → debt}/created-observation.js +7 -7
  145. package/build/src/debt/document.d.ts +37 -0
  146. package/build/src/{task → debt}/document.js +37 -37
  147. package/build/src/debt/identity.d.ts +21 -0
  148. package/build/src/{task → debt}/identity.js +35 -35
  149. package/build/src/debt/index.d.ts +111 -0
  150. package/build/src/debt/index.js +203 -0
  151. package/build/src/{task → debt}/input.d.ts +8 -8
  152. package/build/src/{task → debt}/input.js +21 -21
  153. package/build/src/debt/lifecycle-operations.d.ts +6 -0
  154. package/build/src/{task → debt}/lifecycle-operations.js +27 -31
  155. package/build/src/debt/mutation-result.d.ts +981 -0
  156. package/build/src/debt/mutation-result.js +109 -0
  157. package/build/src/debt/mutation.d.ts +424 -0
  158. package/build/src/debt/mutation.js +223 -0
  159. package/build/src/debt/operation-types.d.ts +71 -0
  160. package/build/src/debt/operations.d.ts +28 -0
  161. package/build/src/{task → debt}/operations.js +59 -60
  162. package/build/src/debt/query.d.ts +76 -0
  163. package/build/src/{task → debt}/query.js +55 -55
  164. package/build/src/{task → debt}/store.d.ts +13 -13
  165. package/build/src/{task → debt}/store.js +58 -49
  166. package/build/src/debt/view.d.ts +4 -0
  167. package/build/src/debt/view.js +7 -0
  168. package/build/src/identity/coordinates.d.ts +1 -1
  169. package/build/src/index.d.ts +13 -13
  170. package/build/src/index.js +9 -9
  171. package/build/src/kanshi/index.d.ts +1 -1
  172. package/build/src/kanshi/read.js +33 -33
  173. package/build/src/kanshi/report.d.ts +7 -7
  174. package/build/src/kanshi/select.js +4 -4
  175. package/build/src/library/akumas.d.ts +2 -3
  176. package/build/src/library/bind.d.ts +3 -3
  177. package/build/src/library/bind.js +5 -5
  178. package/build/src/library/contract-creation.js +5 -5
  179. package/build/src/library/contract-execution.js +4 -4
  180. package/build/src/library/contract-types.d.ts +2 -2
  181. package/build/src/library/input.d.ts +2 -2
  182. package/build/src/library/input.js +5 -5
  183. package/build/src/library/invocation.js +2 -2
  184. package/build/src/library/nuke.js +3 -3
  185. package/build/src/library/outcome.d.ts +126 -126
  186. package/build/src/library/outcome.js +3 -3
  187. package/build/src/library/selection.d.ts +1 -4
  188. package/build/src/library/selection.js +11 -62
  189. package/build/src/plugin/public.d.ts +5 -0
  190. package/build/src/plugin/runtime.js +3 -1
  191. package/build/src/runtime/proc/windows-launch.exe +0 -0
  192. package/build/src/settlement/fence.d.ts +3 -3
  193. package/build/src/settlement/fence.js +4 -4
  194. package/build/src/settlement/holder.d.ts +16 -16
  195. package/build/src/settlement/holder.js +69 -63
  196. package/build/src/settlement/settle.d.ts +5 -5
  197. package/build/src/settlement/settle.js +53 -53
  198. package/package.json +12 -6
  199. package/plugins/paseo/plugin/index.server.ts +17 -0
  200. package/plugins/paseo/plugin/paseo-plugin.json +4 -0
  201. package/plugins/paseo/plugin/server/attach.ts +52 -0
  202. package/plugins/paseo/plugin/server/keiyaku.ts +44 -0
  203. package/plugins/paseo/plugin/server/message.ts +60 -0
  204. package/plugins/paseo/plugin/server/mirror.ts +193 -0
  205. package/plugins/paseo/plugin/server/model.ts +14 -0
  206. package/plugins/paseo/plugin/server/provider.ts +276 -0
  207. package/plugins/paseo/plugin/server/sdk-worker.ts +237 -0
  208. package/plugins/paseo/plugin/server/sdk.ts +289 -0
  209. package/plugins/paseo/plugin/server/stop.ts +26 -0
  210. package/plugins/paseo/plugin/server/transport.ts +35 -0
  211. package/plugins/paseo/plugin/shared/attach-rpc.ts +10 -0
  212. package/plugins/paseo/plugin/shared/refresh-rpc.ts +6 -0
  213. package/plugins/paseo/plugin/tsconfig.json +6 -0
  214. package/skills/keiyaku/SKILL.md +5 -6
  215. package/skills/keiyaku-akuma/SKILL.md +1 -1
  216. package/skills/keiyaku-akuma/references/automation.md +8 -8
  217. package/skills/keiyaku-babysit/SKILL.md +1 -1
  218. package/skills/keiyaku-bind/SKILL.md +9 -9
  219. package/skills/keiyaku-debt/SKILL.md +91 -0
  220. package/skills/keiyaku-workflow/SKILL.md +2 -2
  221. package/build/plugins/claude/skills/keiyaku-task/SKILL.md +0 -104
  222. package/build/plugins/codex/skills/keiyaku-task/SKILL.md +0 -104
  223. package/build/plugins/opencode/skills/keiyaku-task/SKILL.md +0 -104
  224. package/build/skills/keiyaku-task/SKILL.md +0 -104
  225. package/build/src/cli/commands/task-grammar.d.ts +0 -19
  226. package/build/src/cli/commands/task-grammar.js +0 -384
  227. package/build/src/cli/commands/task-query.d.ts +0 -5
  228. package/build/src/cli/render/task.d.ts +0 -39
  229. package/build/src/task/board.d.ts +0 -168
  230. package/build/src/task/catalog.d.ts +0 -11
  231. package/build/src/task/catalog.js +0 -59
  232. package/build/src/task/compose-language.d.ts +0 -57
  233. package/build/src/task/compose-language.js +0 -364
  234. package/build/src/task/compose-parser.d.ts +0 -32
  235. package/build/src/task/compose-parser.js +0 -180
  236. package/build/src/task/compose.d.ts +0 -16
  237. package/build/src/task/compose.js +0 -189
  238. package/build/src/task/document.d.ts +0 -39
  239. package/build/src/task/identity.d.ts +0 -21
  240. package/build/src/task/index.d.ts +0 -138
  241. package/build/src/task/index.js +0 -269
  242. package/build/src/task/lifecycle-operations.d.ts +0 -6
  243. package/build/src/task/mutation-result.d.ts +0 -1726
  244. package/build/src/task/mutation-result.js +0 -198
  245. package/build/src/task/mutation.d.ts +0 -590
  246. package/build/src/task/mutation.js +0 -262
  247. package/build/src/task/operation-types.d.ts +0 -71
  248. package/build/src/task/operations.d.ts +0 -28
  249. package/build/src/task/query.d.ts +0 -76
  250. package/build/src/task/view.d.ts +0 -4
  251. package/build/src/task/view.js +0 -7
  252. package/skills/keiyaku-task/SKILL.md +0 -104
  253. /package/build/src/{task → debt}/operation-types.js +0 -0
@@ -72,7 +72,7 @@ export type ReconciliationEffect = z.infer<typeof reconciliationEffectSchema>;
72
72
  export type ReconciliationLag = z.infer<typeof reconciliationLagSchema>;
73
73
  declare const resetOwnerSchema: z.ZodEnum<{
74
74
  world: "world";
75
- task: "task";
75
+ debt: "debt";
76
76
  akuma: "akuma";
77
77
  git: "git";
78
78
  }>;
@@ -227,8 +227,8 @@ declare const invocationEffectSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [
227
227
  kind: z.ZodLiteral<"settlement-action">;
228
228
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
229
229
  action: z.ZodObject<{
230
- kind: z.ZodLiteral<"task">;
231
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
230
+ kind: z.ZodLiteral<"debt">;
231
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
232
232
  action: z.ZodLiteral<"done">;
233
233
  }, z.core.$strict>;
234
234
  }, z.core.$strict>, z.ZodObject<{
@@ -237,11 +237,11 @@ declare const invocationEffectSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [
237
237
  lag: z.ZodObject<{
238
238
  kind: z.ZodLiteral<"settlement-failed">;
239
239
  surface: z.ZodEnum<{
240
- task: "task";
241
- "task-holder": "task-holder";
240
+ debt: "debt";
241
+ "debt-holder": "debt-holder";
242
242
  }>;
243
243
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
244
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
244
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
245
245
  path: z.ZodOptional<z.ZodString>;
246
246
  diagnostic: z.ZodString;
247
247
  }, z.core.$strict>;
@@ -324,7 +324,7 @@ declare const invocationEffectSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [
324
324
  world: z.ZodString;
325
325
  owner: z.ZodEnum<{
326
326
  world: "world";
327
- task: "task";
327
+ debt: "debt";
328
328
  akuma: "akuma";
329
329
  git: "git";
330
330
  }>;
@@ -334,7 +334,7 @@ declare const invocationEffectSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [
334
334
  world: z.ZodString;
335
335
  owner: z.ZodEnum<{
336
336
  world: "world";
337
- task: "task";
337
+ debt: "debt";
338
338
  akuma: "akuma";
339
339
  git: "git";
340
340
  }>;
@@ -1206,8 +1206,8 @@ declare function acceptedOutcomeSchema<Operation extends ContractVerb, Value>(op
1206
1206
  kind: z.ZodLiteral<"settlement-action">;
1207
1207
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
1208
1208
  action: z.ZodObject<{
1209
- kind: z.ZodLiteral<"task">;
1210
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
1209
+ kind: z.ZodLiteral<"debt">;
1210
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
1211
1211
  action: z.ZodLiteral<"done">;
1212
1212
  }, z.core.$strict>;
1213
1213
  }, z.core.$strict>, z.ZodObject<{
@@ -1216,11 +1216,11 @@ declare function acceptedOutcomeSchema<Operation extends ContractVerb, Value>(op
1216
1216
  lag: z.ZodObject<{
1217
1217
  kind: z.ZodLiteral<"settlement-failed">;
1218
1218
  surface: z.ZodEnum<{
1219
- task: "task";
1220
- "task-holder": "task-holder";
1219
+ debt: "debt";
1220
+ "debt-holder": "debt-holder";
1221
1221
  }>;
1222
1222
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
1223
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
1223
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
1224
1224
  path: z.ZodOptional<z.ZodString>;
1225
1225
  diagnostic: z.ZodString;
1226
1226
  }, z.core.$strict>;
@@ -1575,8 +1575,8 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
1575
1575
  kind: z.ZodLiteral<"settlement-action">;
1576
1576
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
1577
1577
  action: z.ZodObject<{
1578
- kind: z.ZodLiteral<"task">;
1579
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
1578
+ kind: z.ZodLiteral<"debt">;
1579
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
1580
1580
  action: z.ZodLiteral<"done">;
1581
1581
  }, z.core.$strict>;
1582
1582
  }, z.core.$strict>, z.ZodObject<{
@@ -1585,11 +1585,11 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
1585
1585
  lag: z.ZodObject<{
1586
1586
  kind: z.ZodLiteral<"settlement-failed">;
1587
1587
  surface: z.ZodEnum<{
1588
- task: "task";
1589
- "task-holder": "task-holder";
1588
+ debt: "debt";
1589
+ "debt-holder": "debt-holder";
1590
1590
  }>;
1591
1591
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
1592
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
1592
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
1593
1593
  path: z.ZodOptional<z.ZodString>;
1594
1594
  diagnostic: z.ZodString;
1595
1595
  }, z.core.$strict>;
@@ -1946,8 +1946,8 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
1946
1946
  kind: "settlement-action";
1947
1947
  contract: ContractId;
1948
1948
  action: {
1949
- kind: "task";
1950
- taskId: `task/${string}`;
1949
+ kind: "debt";
1950
+ debtId: `debt/${string}`;
1951
1951
  action: "done";
1952
1952
  };
1953
1953
  } | {
@@ -1955,10 +1955,10 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
1955
1955
  contract: ContractId;
1956
1956
  lag: {
1957
1957
  kind: "settlement-failed";
1958
- surface: "task" | "task-holder";
1958
+ surface: "debt" | "debt-holder";
1959
1959
  contractId: ContractId;
1960
1960
  diagnostic: string;
1961
- taskId?: `task/${string}` | undefined;
1961
+ debtId?: `debt/${string}` | undefined;
1962
1962
  path?: string | undefined;
1963
1963
  };
1964
1964
  } | {
@@ -2247,8 +2247,8 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
2247
2247
  kind: "settlement-action";
2248
2248
  contract: ContractId;
2249
2249
  action: {
2250
- kind: "task";
2251
- taskId: `task/${string}`;
2250
+ kind: "debt";
2251
+ debtId: `debt/${string}`;
2252
2252
  action: "done";
2253
2253
  };
2254
2254
  } | {
@@ -2256,10 +2256,10 @@ declare function refusedOutcomeSchema<Operation extends ContractVerb, Refusal>(o
2256
2256
  contract: ContractId;
2257
2257
  lag: {
2258
2258
  kind: "settlement-failed";
2259
- surface: "task" | "task-holder";
2259
+ surface: "debt" | "debt-holder";
2260
2260
  contractId: ContractId;
2261
2261
  diagnostic: string;
2262
- taskId?: `task/${string}` | undefined;
2262
+ debtId?: `debt/${string}` | undefined;
2263
2263
  path?: string | undefined;
2264
2264
  };
2265
2265
  } | {
@@ -2542,8 +2542,8 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2542
2542
  kind: z.ZodLiteral<"settlement-action">;
2543
2543
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
2544
2544
  action: z.ZodObject<{
2545
- kind: z.ZodLiteral<"task">;
2546
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
2545
+ kind: z.ZodLiteral<"debt">;
2546
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
2547
2547
  action: z.ZodLiteral<"done">;
2548
2548
  }, z.core.$strict>;
2549
2549
  }, z.core.$strict>, z.ZodObject<{
@@ -2552,11 +2552,11 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2552
2552
  lag: z.ZodObject<{
2553
2553
  kind: z.ZodLiteral<"settlement-failed">;
2554
2554
  surface: z.ZodEnum<{
2555
- task: "task";
2556
- "task-holder": "task-holder";
2555
+ debt: "debt";
2556
+ "debt-holder": "debt-holder";
2557
2557
  }>;
2558
2558
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
2559
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
2559
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
2560
2560
  path: z.ZodOptional<z.ZodString>;
2561
2561
  diagnostic: z.ZodString;
2562
2562
  }, z.core.$strict>;
@@ -2913,8 +2913,8 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2913
2913
  kind: "settlement-action";
2914
2914
  contract: ContractId;
2915
2915
  action: {
2916
- kind: "task";
2917
- taskId: `task/${string}`;
2916
+ kind: "debt";
2917
+ debtId: `debt/${string}`;
2918
2918
  action: "done";
2919
2919
  };
2920
2920
  } | {
@@ -2922,10 +2922,10 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
2922
2922
  contract: ContractId;
2923
2923
  lag: {
2924
2924
  kind: "settlement-failed";
2925
- surface: "task" | "task-holder";
2925
+ surface: "debt" | "debt-holder";
2926
2926
  contractId: ContractId;
2927
2927
  diagnostic: string;
2928
- taskId?: `task/${string}` | undefined;
2928
+ debtId?: `debt/${string}` | undefined;
2929
2929
  path?: string | undefined;
2930
2930
  };
2931
2931
  } | {
@@ -3214,8 +3214,8 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
3214
3214
  kind: "settlement-action";
3215
3215
  contract: ContractId;
3216
3216
  action: {
3217
- kind: "task";
3218
- taskId: `task/${string}`;
3217
+ kind: "debt";
3218
+ debtId: `debt/${string}`;
3219
3219
  action: "done";
3220
3220
  };
3221
3221
  } | {
@@ -3223,10 +3223,10 @@ declare function retryOutcomeSchema<Operation extends ContractVerb>(operation: O
3223
3223
  contract: ContractId;
3224
3224
  lag: {
3225
3225
  kind: "settlement-failed";
3226
- surface: "task" | "task-holder";
3226
+ surface: "debt" | "debt-holder";
3227
3227
  contractId: ContractId;
3228
3228
  diagnostic: string;
3229
- taskId?: `task/${string}` | undefined;
3229
+ debtId?: `debt/${string}` | undefined;
3230
3230
  path?: string | undefined;
3231
3231
  };
3232
3232
  } | {
@@ -3508,8 +3508,8 @@ declare const handoffOutcomeSchema: z.ZodObject<{
3508
3508
  kind: z.ZodLiteral<"settlement-action">;
3509
3509
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
3510
3510
  action: z.ZodObject<{
3511
- kind: z.ZodLiteral<"task">;
3512
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
3511
+ kind: z.ZodLiteral<"debt">;
3512
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
3513
3513
  action: z.ZodLiteral<"done">;
3514
3514
  }, z.core.$strict>;
3515
3515
  }, z.core.$strict>, z.ZodObject<{
@@ -3518,11 +3518,11 @@ declare const handoffOutcomeSchema: z.ZodObject<{
3518
3518
  lag: z.ZodObject<{
3519
3519
  kind: z.ZodLiteral<"settlement-failed">;
3520
3520
  surface: z.ZodEnum<{
3521
- task: "task";
3522
- "task-holder": "task-holder";
3521
+ debt: "debt";
3522
+ "debt-holder": "debt-holder";
3523
3523
  }>;
3524
3524
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
3525
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
3525
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
3526
3526
  path: z.ZodOptional<z.ZodString>;
3527
3527
  diagnostic: z.ZodString;
3528
3528
  }, z.core.$strict>;
@@ -3639,7 +3639,7 @@ export declare function outcomeSchema<Operation extends ContractVerb, Value>(ope
3639
3639
  declare const resetCountsSchema: z.ZodObject<{
3640
3640
  refs: z.ZodNumber;
3641
3641
  worktrees: z.ZodNumber;
3642
- tasks: z.ZodNumber;
3642
+ debts: z.ZodNumber;
3643
3643
  }, z.core.$strict>;
3644
3644
  declare const resetOutcomeSchema: z.ZodUnion<readonly [z.ZodObject<{
3645
3645
  operation: z.ZodLiteral<"nuke">;
@@ -3648,7 +3648,7 @@ declare const resetOutcomeSchema: z.ZodUnion<readonly [z.ZodObject<{
3648
3648
  world: z.ZodString;
3649
3649
  owner: z.ZodEnum<{
3650
3650
  world: "world";
3651
- task: "task";
3651
+ debt: "debt";
3652
3652
  akuma: "akuma";
3653
3653
  git: "git";
3654
3654
  }>;
@@ -3658,7 +3658,7 @@ declare const resetOutcomeSchema: z.ZodUnion<readonly [z.ZodObject<{
3658
3658
  world: z.ZodString;
3659
3659
  owner: z.ZodEnum<{
3660
3660
  world: "world";
3661
- task: "task";
3661
+ debt: "debt";
3662
3662
  akuma: "akuma";
3663
3663
  git: "git";
3664
3664
  }>;
@@ -3683,7 +3683,7 @@ declare const resetOutcomeSchema: z.ZodUnion<readonly [z.ZodObject<{
3683
3683
  removed: z.ZodObject<{
3684
3684
  refs: z.ZodNumber;
3685
3685
  worktrees: z.ZodNumber;
3686
- tasks: z.ZodNumber;
3686
+ debts: z.ZodNumber;
3687
3687
  }, z.core.$strict>;
3688
3688
  }, z.core.$strict>;
3689
3689
  }, z.core.$strict>, z.ZodObject<{
@@ -3693,7 +3693,7 @@ declare const resetOutcomeSchema: z.ZodUnion<readonly [z.ZodObject<{
3693
3693
  world: z.ZodString;
3694
3694
  owner: z.ZodEnum<{
3695
3695
  world: "world";
3696
- task: "task";
3696
+ debt: "debt";
3697
3697
  akuma: "akuma";
3698
3698
  git: "git";
3699
3699
  }>;
@@ -3703,7 +3703,7 @@ declare const resetOutcomeSchema: z.ZodUnion<readonly [z.ZodObject<{
3703
3703
  world: z.ZodString;
3704
3704
  owner: z.ZodEnum<{
3705
3705
  world: "world";
3706
- task: "task";
3706
+ debt: "debt";
3707
3707
  akuma: "akuma";
3708
3708
  git: "git";
3709
3709
  }>;
@@ -3989,8 +3989,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
3989
3989
  kind: z.ZodLiteral<"settlement-action">;
3990
3990
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
3991
3991
  action: z.ZodObject<{
3992
- kind: z.ZodLiteral<"task">;
3993
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
3992
+ kind: z.ZodLiteral<"debt">;
3993
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
3994
3994
  action: z.ZodLiteral<"done">;
3995
3995
  }, z.core.$strict>;
3996
3996
  }, z.core.$strict>, z.ZodObject<{
@@ -3999,11 +3999,11 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
3999
3999
  lag: z.ZodObject<{
4000
4000
  kind: z.ZodLiteral<"settlement-failed">;
4001
4001
  surface: z.ZodEnum<{
4002
- task: "task";
4003
- "task-holder": "task-holder";
4002
+ debt: "debt";
4003
+ "debt-holder": "debt-holder";
4004
4004
  }>;
4005
4005
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
4006
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
4006
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
4007
4007
  path: z.ZodOptional<z.ZodString>;
4008
4008
  diagnostic: z.ZodString;
4009
4009
  }, z.core.$strict>;
@@ -4391,8 +4391,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4391
4391
  kind: z.ZodLiteral<"settlement-action">;
4392
4392
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
4393
4393
  action: z.ZodObject<{
4394
- kind: z.ZodLiteral<"task">;
4395
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
4394
+ kind: z.ZodLiteral<"debt">;
4395
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
4396
4396
  action: z.ZodLiteral<"done">;
4397
4397
  }, z.core.$strict>;
4398
4398
  }, z.core.$strict>, z.ZodObject<{
@@ -4401,11 +4401,11 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4401
4401
  lag: z.ZodObject<{
4402
4402
  kind: z.ZodLiteral<"settlement-failed">;
4403
4403
  surface: z.ZodEnum<{
4404
- task: "task";
4405
- "task-holder": "task-holder";
4404
+ debt: "debt";
4405
+ "debt-holder": "debt-holder";
4406
4406
  }>;
4407
4407
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
4408
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
4408
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
4409
4409
  path: z.ZodOptional<z.ZodString>;
4410
4410
  diagnostic: z.ZodString;
4411
4411
  }, z.core.$strict>;
@@ -4787,8 +4787,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4787
4787
  kind: z.ZodLiteral<"settlement-action">;
4788
4788
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
4789
4789
  action: z.ZodObject<{
4790
- kind: z.ZodLiteral<"task">;
4791
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
4790
+ kind: z.ZodLiteral<"debt">;
4791
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
4792
4792
  action: z.ZodLiteral<"done">;
4793
4793
  }, z.core.$strict>;
4794
4794
  }, z.core.$strict>, z.ZodObject<{
@@ -4797,11 +4797,11 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
4797
4797
  lag: z.ZodObject<{
4798
4798
  kind: z.ZodLiteral<"settlement-failed">;
4799
4799
  surface: z.ZodEnum<{
4800
- task: "task";
4801
- "task-holder": "task-holder";
4800
+ debt: "debt";
4801
+ "debt-holder": "debt-holder";
4802
4802
  }>;
4803
4803
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
4804
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
4804
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
4805
4805
  path: z.ZodOptional<z.ZodString>;
4806
4806
  diagnostic: z.ZodString;
4807
4807
  }, z.core.$strict>;
@@ -5951,8 +5951,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5951
5951
  kind: z.ZodLiteral<"settlement-action">;
5952
5952
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
5953
5953
  action: z.ZodObject<{
5954
- kind: z.ZodLiteral<"task">;
5955
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
5954
+ kind: z.ZodLiteral<"debt">;
5955
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
5956
5956
  action: z.ZodLiteral<"done">;
5957
5957
  }, z.core.$strict>;
5958
5958
  }, z.core.$strict>, z.ZodObject<{
@@ -5961,11 +5961,11 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
5961
5961
  lag: z.ZodObject<{
5962
5962
  kind: z.ZodLiteral<"settlement-failed">;
5963
5963
  surface: z.ZodEnum<{
5964
- task: "task";
5965
- "task-holder": "task-holder";
5964
+ debt: "debt";
5965
+ "debt-holder": "debt-holder";
5966
5966
  }>;
5967
5967
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
5968
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
5968
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
5969
5969
  path: z.ZodOptional<z.ZodString>;
5970
5970
  diagnostic: z.ZodString;
5971
5971
  }, z.core.$strict>;
@@ -7093,8 +7093,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7093
7093
  kind: z.ZodLiteral<"settlement-action">;
7094
7094
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
7095
7095
  action: z.ZodObject<{
7096
- kind: z.ZodLiteral<"task">;
7097
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
7096
+ kind: z.ZodLiteral<"debt">;
7097
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
7098
7098
  action: z.ZodLiteral<"done">;
7099
7099
  }, z.core.$strict>;
7100
7100
  }, z.core.$strict>, z.ZodObject<{
@@ -7103,11 +7103,11 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7103
7103
  lag: z.ZodObject<{
7104
7104
  kind: z.ZodLiteral<"settlement-failed">;
7105
7105
  surface: z.ZodEnum<{
7106
- task: "task";
7107
- "task-holder": "task-holder";
7106
+ debt: "debt";
7107
+ "debt-holder": "debt-holder";
7108
7108
  }>;
7109
7109
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
7110
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
7110
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
7111
7111
  path: z.ZodOptional<z.ZodString>;
7112
7112
  diagnostic: z.ZodString;
7113
7113
  }, z.core.$strict>;
@@ -7871,8 +7871,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7871
7871
  kind: z.ZodLiteral<"settlement-action">;
7872
7872
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
7873
7873
  action: z.ZodObject<{
7874
- kind: z.ZodLiteral<"task">;
7875
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
7874
+ kind: z.ZodLiteral<"debt">;
7875
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
7876
7876
  action: z.ZodLiteral<"done">;
7877
7877
  }, z.core.$strict>;
7878
7878
  }, z.core.$strict>, z.ZodObject<{
@@ -7881,11 +7881,11 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
7881
7881
  lag: z.ZodObject<{
7882
7882
  kind: z.ZodLiteral<"settlement-failed">;
7883
7883
  surface: z.ZodEnum<{
7884
- task: "task";
7885
- "task-holder": "task-holder";
7884
+ debt: "debt";
7885
+ "debt-holder": "debt-holder";
7886
7886
  }>;
7887
7887
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
7888
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
7888
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
7889
7889
  path: z.ZodOptional<z.ZodString>;
7890
7890
  diagnostic: z.ZodString;
7891
7891
  }, z.core.$strict>;
@@ -8237,8 +8237,8 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
8237
8237
  kind: z.ZodLiteral<"settlement-action">;
8238
8238
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
8239
8239
  action: z.ZodObject<{
8240
- kind: z.ZodLiteral<"task">;
8241
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
8240
+ kind: z.ZodLiteral<"debt">;
8241
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
8242
8242
  action: z.ZodLiteral<"done">;
8243
8243
  }, z.core.$strict>;
8244
8244
  }, z.core.$strict>, z.ZodObject<{
@@ -8247,11 +8247,11 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
8247
8247
  lag: z.ZodObject<{
8248
8248
  kind: z.ZodLiteral<"settlement-failed">;
8249
8249
  surface: z.ZodEnum<{
8250
- task: "task";
8251
- "task-holder": "task-holder";
8250
+ debt: "debt";
8251
+ "debt-holder": "debt-holder";
8252
8252
  }>;
8253
8253
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
8254
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
8254
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
8255
8255
  path: z.ZodOptional<z.ZodString>;
8256
8256
  diagnostic: z.ZodString;
8257
8257
  }, z.core.$strict>;
@@ -8354,7 +8354,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
8354
8354
  world: z.ZodString;
8355
8355
  owner: z.ZodEnum<{
8356
8356
  world: "world";
8357
- task: "task";
8357
+ debt: "debt";
8358
8358
  akuma: "akuma";
8359
8359
  git: "git";
8360
8360
  }>;
@@ -8364,7 +8364,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
8364
8364
  world: z.ZodString;
8365
8365
  owner: z.ZodEnum<{
8366
8366
  world: "world";
8367
- task: "task";
8367
+ debt: "debt";
8368
8368
  akuma: "akuma";
8369
8369
  git: "git";
8370
8370
  }>;
@@ -8388,7 +8388,7 @@ declare const partialOutcomeEnvelopeSchema: z.ZodUnion<readonly [z.ZodUnion<read
8388
8388
  removed: z.ZodObject<{
8389
8389
  refs: z.ZodNumber;
8390
8390
  worktrees: z.ZodNumber;
8391
- tasks: z.ZodNumber;
8391
+ debts: z.ZodNumber;
8392
8392
  }, z.core.$strict>;
8393
8393
  }, z.core.$strict>>;
8394
8394
  }, z.core.$strict>]>;
@@ -8660,8 +8660,8 @@ declare const failureWireSchema: z.ZodObject<{
8660
8660
  kind: z.ZodLiteral<"settlement-action">;
8661
8661
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
8662
8662
  action: z.ZodObject<{
8663
- kind: z.ZodLiteral<"task">;
8664
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
8663
+ kind: z.ZodLiteral<"debt">;
8664
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
8665
8665
  action: z.ZodLiteral<"done">;
8666
8666
  }, z.core.$strict>;
8667
8667
  }, z.core.$strict>, z.ZodObject<{
@@ -8670,11 +8670,11 @@ declare const failureWireSchema: z.ZodObject<{
8670
8670
  lag: z.ZodObject<{
8671
8671
  kind: z.ZodLiteral<"settlement-failed">;
8672
8672
  surface: z.ZodEnum<{
8673
- task: "task";
8674
- "task-holder": "task-holder";
8673
+ debt: "debt";
8674
+ "debt-holder": "debt-holder";
8675
8675
  }>;
8676
8676
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
8677
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
8677
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
8678
8678
  path: z.ZodOptional<z.ZodString>;
8679
8679
  diagnostic: z.ZodString;
8680
8680
  }, z.core.$strict>;
@@ -9062,8 +9062,8 @@ declare const failureWireSchema: z.ZodObject<{
9062
9062
  kind: z.ZodLiteral<"settlement-action">;
9063
9063
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
9064
9064
  action: z.ZodObject<{
9065
- kind: z.ZodLiteral<"task">;
9066
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
9065
+ kind: z.ZodLiteral<"debt">;
9066
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
9067
9067
  action: z.ZodLiteral<"done">;
9068
9068
  }, z.core.$strict>;
9069
9069
  }, z.core.$strict>, z.ZodObject<{
@@ -9072,11 +9072,11 @@ declare const failureWireSchema: z.ZodObject<{
9072
9072
  lag: z.ZodObject<{
9073
9073
  kind: z.ZodLiteral<"settlement-failed">;
9074
9074
  surface: z.ZodEnum<{
9075
- task: "task";
9076
- "task-holder": "task-holder";
9075
+ debt: "debt";
9076
+ "debt-holder": "debt-holder";
9077
9077
  }>;
9078
9078
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
9079
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
9079
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
9080
9080
  path: z.ZodOptional<z.ZodString>;
9081
9081
  diagnostic: z.ZodString;
9082
9082
  }, z.core.$strict>;
@@ -9458,8 +9458,8 @@ declare const failureWireSchema: z.ZodObject<{
9458
9458
  kind: z.ZodLiteral<"settlement-action">;
9459
9459
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
9460
9460
  action: z.ZodObject<{
9461
- kind: z.ZodLiteral<"task">;
9462
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
9461
+ kind: z.ZodLiteral<"debt">;
9462
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
9463
9463
  action: z.ZodLiteral<"done">;
9464
9464
  }, z.core.$strict>;
9465
9465
  }, z.core.$strict>, z.ZodObject<{
@@ -9468,11 +9468,11 @@ declare const failureWireSchema: z.ZodObject<{
9468
9468
  lag: z.ZodObject<{
9469
9469
  kind: z.ZodLiteral<"settlement-failed">;
9470
9470
  surface: z.ZodEnum<{
9471
- task: "task";
9472
- "task-holder": "task-holder";
9471
+ debt: "debt";
9472
+ "debt-holder": "debt-holder";
9473
9473
  }>;
9474
9474
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
9475
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
9475
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
9476
9476
  path: z.ZodOptional<z.ZodString>;
9477
9477
  diagnostic: z.ZodString;
9478
9478
  }, z.core.$strict>;
@@ -10622,8 +10622,8 @@ declare const failureWireSchema: z.ZodObject<{
10622
10622
  kind: z.ZodLiteral<"settlement-action">;
10623
10623
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
10624
10624
  action: z.ZodObject<{
10625
- kind: z.ZodLiteral<"task">;
10626
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
10625
+ kind: z.ZodLiteral<"debt">;
10626
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
10627
10627
  action: z.ZodLiteral<"done">;
10628
10628
  }, z.core.$strict>;
10629
10629
  }, z.core.$strict>, z.ZodObject<{
@@ -10632,11 +10632,11 @@ declare const failureWireSchema: z.ZodObject<{
10632
10632
  lag: z.ZodObject<{
10633
10633
  kind: z.ZodLiteral<"settlement-failed">;
10634
10634
  surface: z.ZodEnum<{
10635
- task: "task";
10636
- "task-holder": "task-holder";
10635
+ debt: "debt";
10636
+ "debt-holder": "debt-holder";
10637
10637
  }>;
10638
10638
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
10639
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
10639
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
10640
10640
  path: z.ZodOptional<z.ZodString>;
10641
10641
  diagnostic: z.ZodString;
10642
10642
  }, z.core.$strict>;
@@ -11764,8 +11764,8 @@ declare const failureWireSchema: z.ZodObject<{
11764
11764
  kind: z.ZodLiteral<"settlement-action">;
11765
11765
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
11766
11766
  action: z.ZodObject<{
11767
- kind: z.ZodLiteral<"task">;
11768
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
11767
+ kind: z.ZodLiteral<"debt">;
11768
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
11769
11769
  action: z.ZodLiteral<"done">;
11770
11770
  }, z.core.$strict>;
11771
11771
  }, z.core.$strict>, z.ZodObject<{
@@ -11774,11 +11774,11 @@ declare const failureWireSchema: z.ZodObject<{
11774
11774
  lag: z.ZodObject<{
11775
11775
  kind: z.ZodLiteral<"settlement-failed">;
11776
11776
  surface: z.ZodEnum<{
11777
- task: "task";
11778
- "task-holder": "task-holder";
11777
+ debt: "debt";
11778
+ "debt-holder": "debt-holder";
11779
11779
  }>;
11780
11780
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
11781
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
11781
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
11782
11782
  path: z.ZodOptional<z.ZodString>;
11783
11783
  diagnostic: z.ZodString;
11784
11784
  }, z.core.$strict>;
@@ -12542,8 +12542,8 @@ declare const failureWireSchema: z.ZodObject<{
12542
12542
  kind: z.ZodLiteral<"settlement-action">;
12543
12543
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
12544
12544
  action: z.ZodObject<{
12545
- kind: z.ZodLiteral<"task">;
12546
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
12545
+ kind: z.ZodLiteral<"debt">;
12546
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
12547
12547
  action: z.ZodLiteral<"done">;
12548
12548
  }, z.core.$strict>;
12549
12549
  }, z.core.$strict>, z.ZodObject<{
@@ -12552,11 +12552,11 @@ declare const failureWireSchema: z.ZodObject<{
12552
12552
  lag: z.ZodObject<{
12553
12553
  kind: z.ZodLiteral<"settlement-failed">;
12554
12554
  surface: z.ZodEnum<{
12555
- task: "task";
12556
- "task-holder": "task-holder";
12555
+ debt: "debt";
12556
+ "debt-holder": "debt-holder";
12557
12557
  }>;
12558
12558
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
12559
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
12559
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
12560
12560
  path: z.ZodOptional<z.ZodString>;
12561
12561
  diagnostic: z.ZodString;
12562
12562
  }, z.core.$strict>;
@@ -12908,8 +12908,8 @@ declare const failureWireSchema: z.ZodObject<{
12908
12908
  kind: z.ZodLiteral<"settlement-action">;
12909
12909
  contract: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
12910
12910
  action: z.ZodObject<{
12911
- kind: z.ZodLiteral<"task">;
12912
- taskId: z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>;
12911
+ kind: z.ZodLiteral<"debt">;
12912
+ debtId: z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>;
12913
12913
  action: z.ZodLiteral<"done">;
12914
12914
  }, z.core.$strict>;
12915
12915
  }, z.core.$strict>, z.ZodObject<{
@@ -12918,11 +12918,11 @@ declare const failureWireSchema: z.ZodObject<{
12918
12918
  lag: z.ZodObject<{
12919
12919
  kind: z.ZodLiteral<"settlement-failed">;
12920
12920
  surface: z.ZodEnum<{
12921
- task: "task";
12922
- "task-holder": "task-holder";
12921
+ debt: "debt";
12922
+ "debt-holder": "debt-holder";
12923
12923
  }>;
12924
12924
  contractId: z.ZodPipe<z.ZodString, z.ZodTransform<ContractId, string>>;
12925
- taskId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`task/${string}`, string>>>;
12925
+ debtId: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<`debt/${string}`, string>>>;
12926
12926
  path: z.ZodOptional<z.ZodString>;
12927
12927
  diagnostic: z.ZodString;
12928
12928
  }, z.core.$strict>;
@@ -13025,7 +13025,7 @@ declare const failureWireSchema: z.ZodObject<{
13025
13025
  world: z.ZodString;
13026
13026
  owner: z.ZodEnum<{
13027
13027
  world: "world";
13028
- task: "task";
13028
+ debt: "debt";
13029
13029
  akuma: "akuma";
13030
13030
  git: "git";
13031
13031
  }>;
@@ -13035,7 +13035,7 @@ declare const failureWireSchema: z.ZodObject<{
13035
13035
  world: z.ZodString;
13036
13036
  owner: z.ZodEnum<{
13037
13037
  world: "world";
13038
- task: "task";
13038
+ debt: "debt";
13039
13039
  akuma: "akuma";
13040
13040
  git: "git";
13041
13041
  }>;
@@ -13059,7 +13059,7 @@ declare const failureWireSchema: z.ZodObject<{
13059
13059
  removed: z.ZodObject<{
13060
13060
  refs: z.ZodNumber;
13061
13061
  worktrees: z.ZodNumber;
13062
- tasks: z.ZodNumber;
13062
+ debts: z.ZodNumber;
13063
13063
  }, z.core.$strict>;
13064
13064
  }, z.core.$strict>>;
13065
13065
  }, z.core.$strict>]>>;