@shivaedev/work-fleet 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (311) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +2 -2
  3. package/dist/admit.d.ts +54 -0
  4. package/dist/admit.d.ts.map +1 -1
  5. package/dist/engine/abandonStalled.d.ts +9807 -0
  6. package/dist/engine/abandonStalled.d.ts.map +1 -0
  7. package/dist/engine/abandonStalled.js +55 -0
  8. package/dist/engine/abandonStalled.js.map +1 -0
  9. package/dist/engine/applyResolution.d.ts +108 -0
  10. package/dist/engine/applyResolution.d.ts.map +1 -1
  11. package/dist/engine/applyResolution.js +3 -0
  12. package/dist/engine/applyResolution.js.map +1 -1
  13. package/dist/engine/approveBrief.d.ts +164 -2
  14. package/dist/engine/approveBrief.d.ts.map +1 -1
  15. package/dist/engine/approveBrief.js +7 -5
  16. package/dist/engine/approveBrief.js.map +1 -1
  17. package/dist/engine/authorizeResolution.d.ts +942 -24
  18. package/dist/engine/authorizeResolution.d.ts.map +1 -1
  19. package/dist/engine/boardBrief.d.ts +162 -0
  20. package/dist/engine/boardBrief.d.ts.map +1 -1
  21. package/dist/engine/capacityRetry.d.ts +2883 -75
  22. package/dist/engine/capacityRetry.d.ts.map +1 -1
  23. package/dist/engine/closeDecisions.d.ts +108 -0
  24. package/dist/engine/closeDecisions.d.ts.map +1 -1
  25. package/dist/engine/completeBoardWork.d.ts +108 -0
  26. package/dist/engine/completeBoardWork.d.ts.map +1 -1
  27. package/dist/engine/completeReport.d.ts +108 -0
  28. package/dist/engine/completeReport.d.ts.map +1 -1
  29. package/dist/engine/continueCommand.d.ts +54 -0
  30. package/dist/engine/continueCommand.d.ts.map +1 -1
  31. package/dist/engine/continueWorker.d.ts +108 -0
  32. package/dist/engine/continueWorker.d.ts.map +1 -1
  33. package/dist/engine/deliverPendingAnswers.d.ts +1104 -24
  34. package/dist/engine/deliverPendingAnswers.d.ts.map +1 -1
  35. package/dist/engine/dispatchCommand.d.ts +54 -0
  36. package/dist/engine/dispatchCommand.d.ts.map +1 -1
  37. package/dist/engine/ensureDecisionOwner.d.ts +108 -0
  38. package/dist/engine/ensureDecisionOwner.d.ts.map +1 -1
  39. package/dist/engine/ensurePublication.d.ts +108 -0
  40. package/dist/engine/ensurePublication.d.ts.map +1 -1
  41. package/dist/engine/inspectRenewal.d.ts +108 -0
  42. package/dist/engine/inspectRenewal.d.ts.map +1 -1
  43. package/dist/engine/launchInput.d.ts +54 -0
  44. package/dist/engine/launchInput.d.ts.map +1 -1
  45. package/dist/engine/launchReceipt.d.ts +54 -0
  46. package/dist/engine/launchReceipt.d.ts.map +1 -1
  47. package/dist/engine/makeAdopt.d.ts +108 -0
  48. package/dist/engine/makeAdopt.d.ts.map +1 -1
  49. package/dist/engine/makeAdvance.d.ts +54 -0
  50. package/dist/engine/makeAdvance.d.ts.map +1 -1
  51. package/dist/engine/makeDeliver.d.ts +108 -0
  52. package/dist/engine/makeDeliver.d.ts.map +1 -1
  53. package/dist/engine/makeHuman.d.ts +108 -0
  54. package/dist/engine/makeHuman.d.ts.map +1 -1
  55. package/dist/engine/makeLaunch.d.ts +108 -0
  56. package/dist/engine/makeLaunch.d.ts.map +1 -1
  57. package/dist/engine/makeObserve.d.ts +108 -0
  58. package/dist/engine/makeObserve.d.ts.map +1 -1
  59. package/dist/engine/makeReview.d.ts +108 -0
  60. package/dist/engine/makeReview.d.ts.map +1 -1
  61. package/dist/engine/makeState.d.ts +888 -24
  62. package/dist/engine/makeState.d.ts.map +1 -1
  63. package/dist/engine/makeValidate.d.ts +108 -0
  64. package/dist/engine/makeValidate.d.ts.map +1 -1
  65. package/dist/engine/mergeReadiness.d.ts +1212 -24
  66. package/dist/engine/mergeReadiness.d.ts.map +1 -1
  67. package/dist/engine/observeDeliveryFailure.d.ts +996 -24
  68. package/dist/engine/observeDeliveryFailure.d.ts.map +1 -1
  69. package/dist/engine/observeRenewal.d.ts +189 -0
  70. package/dist/engine/observeRenewal.d.ts.map +1 -1
  71. package/dist/engine/observedAttempt.d.ts.map +1 -1
  72. package/dist/engine/observedAttempt.js +3 -0
  73. package/dist/engine/observedAttempt.js.map +1 -1
  74. package/dist/engine/obtainReview.d.ts +54 -0
  75. package/dist/engine/obtainReview.d.ts.map +1 -1
  76. package/dist/engine/operationRecord.d.ts +726 -24
  77. package/dist/engine/operationRecord.d.ts.map +1 -1
  78. package/dist/engine/persistTerminalReceipts.d.ts +108 -0
  79. package/dist/engine/persistTerminalReceipts.d.ts.map +1 -1
  80. package/dist/engine/prepareCommand.d.ts +54 -0
  81. package/dist/engine/prepareCommand.d.ts.map +1 -1
  82. package/dist/engine/prepareCommand.js +19 -0
  83. package/dist/engine/prepareCommand.js.map +1 -1
  84. package/dist/engine/queueAnswerCommand.d.ts +54 -0
  85. package/dist/engine/queueAnswerCommand.d.ts.map +1 -1
  86. package/dist/engine/readOrContinueReview.d.ts +54 -0
  87. package/dist/engine/readOrContinueReview.d.ts.map +1 -1
  88. package/dist/engine/readRetry.d.ts +1995 -51
  89. package/dist/engine/readRetry.d.ts.map +1 -1
  90. package/dist/engine/reassignCommand.d.ts +54 -0
  91. package/dist/engine/reassignCommand.d.ts.map +1 -1
  92. package/dist/engine/reconcileAttempt.d.ts +81 -0
  93. package/dist/engine/reconcileAttempt.d.ts.map +1 -1
  94. package/dist/engine/reconcileCommand.d.ts +54 -0
  95. package/dist/engine/reconcileCommand.d.ts.map +1 -1
  96. package/dist/engine/recoverStall.d.ts +1023 -24
  97. package/dist/engine/recoverStall.d.ts.map +1 -1
  98. package/dist/engine/recoverStall.js +5 -1
  99. package/dist/engine/recoverStall.js.map +1 -1
  100. package/dist/engine/recoverUnobservable.d.ts +1023 -24
  101. package/dist/engine/recoverUnobservable.d.ts.map +1 -1
  102. package/dist/engine/refreshBrief.d.ts +1997 -53
  103. package/dist/engine/refreshBrief.d.ts.map +1 -1
  104. package/dist/engine/refreshReviewResult.d.ts +108 -0
  105. package/dist/engine/refreshReviewResult.d.ts.map +1 -1
  106. package/dist/engine/releaseClosedPreparation.d.ts +996 -24
  107. package/dist/engine/releaseClosedPreparation.d.ts.map +1 -1
  108. package/dist/engine/releaseExecution.d.ts +996 -24
  109. package/dist/engine/releaseExecution.d.ts.map +1 -1
  110. package/dist/engine/releaseFinishedWork.d.ts +54 -0
  111. package/dist/engine/releaseFinishedWork.d.ts.map +1 -1
  112. package/dist/engine/repository.d.ts +672 -24
  113. package/dist/engine/repository.d.ts.map +1 -1
  114. package/dist/engine/repository.js +1 -0
  115. package/dist/engine/repository.js.map +1 -1
  116. package/dist/engine/requestConflictRepair.d.ts +996 -24
  117. package/dist/engine/requestConflictRepair.d.ts.map +1 -1
  118. package/dist/engine/requestRework.d.ts +108 -0
  119. package/dist/engine/requestRework.d.ts.map +1 -1
  120. package/dist/engine/resolveCommand.d.ts +54 -0
  121. package/dist/engine/resolveCommand.d.ts.map +1 -1
  122. package/dist/engine/resolveExecution.d.ts +996 -24
  123. package/dist/engine/resolveExecution.d.ts.map +1 -1
  124. package/dist/engine/resolveExecution.js +3 -1
  125. package/dist/engine/resolveExecution.js.map +1 -1
  126. package/dist/engine/resumeAttempt.d.ts +1023 -24
  127. package/dist/engine/resumeAttempt.d.ts.map +1 -1
  128. package/dist/engine/retireUnacknowledged.d.ts +108 -0
  129. package/dist/engine/retireUnacknowledged.d.ts.map +1 -1
  130. package/dist/engine/retryTerminal.d.ts +942 -24
  131. package/dist/engine/retryTerminal.d.ts.map +1 -1
  132. package/dist/engine/scheduler.d.ts +108 -0
  133. package/dist/engine/scheduler.d.ts.map +1 -1
  134. package/dist/engine/sessionCleanup.d.ts +108 -0
  135. package/dist/engine/sessionCleanup.d.ts.map +1 -1
  136. package/dist/engine/sessionCleanup.js +3 -1
  137. package/dist/engine/sessionCleanup.js.map +1 -1
  138. package/dist/engine/sessionStatus.d.ts.map +1 -1
  139. package/dist/engine/sessionStatus.js +3 -0
  140. package/dist/engine/sessionStatus.js.map +1 -1
  141. package/dist/engine/settleMergedDelivery.d.ts +996 -24
  142. package/dist/engine/settleMergedDelivery.d.ts.map +1 -1
  143. package/dist/engine/steerBrief.d.ts +10340 -0
  144. package/dist/engine/steerBrief.d.ts.map +1 -0
  145. package/dist/engine/steerBrief.js +42 -0
  146. package/dist/engine/steerBrief.js.map +1 -0
  147. package/dist/engine/submissionFailure.d.ts +888 -24
  148. package/dist/engine/submissionFailure.d.ts.map +1 -1
  149. package/dist/engine/submitLaunch.d.ts +942 -24
  150. package/dist/engine/submitLaunch.d.ts.map +1 -1
  151. package/dist/engine/views.js +1 -0
  152. package/dist/engine/views.js.map +1 -1
  153. package/dist/engine/workerReport.d.ts +162 -0
  154. package/dist/engine/workerReport.d.ts.map +1 -1
  155. package/dist/fleet.d.ts +540 -0
  156. package/dist/fleet.d.ts.map +1 -1
  157. package/dist/host/admission.d.ts +108 -0
  158. package/dist/host/admission.d.ts.map +1 -1
  159. package/dist/host/admission.js +2 -1
  160. package/dist/host/admission.js.map +1 -1
  161. package/dist/host/answerWork.d.ts +54 -0
  162. package/dist/host/answerWork.d.ts.map +1 -1
  163. package/dist/host/commands.d.ts +108 -0
  164. package/dist/host/commands.d.ts.map +1 -1
  165. package/dist/host/daemon.d.ts +1465 -865
  166. package/dist/host/daemon.d.ts.map +1 -1
  167. package/dist/host/daemonClient.d.ts +691 -91
  168. package/dist/host/daemonClient.d.ts.map +1 -1
  169. package/dist/host/daemonContract.d.ts +984 -0
  170. package/dist/host/daemonContract.d.ts.map +1 -1
  171. package/dist/host/readWaitStates.d.ts.map +1 -1
  172. package/dist/host/readWaitStates.js +13 -4
  173. package/dist/host/readWaitStates.js.map +1 -1
  174. package/dist/host/reassignWork.d.ts +54 -0
  175. package/dist/host/reassignWork.d.ts.map +1 -1
  176. package/dist/host/recordPayloads.d.ts.map +1 -1
  177. package/dist/host/recordPayloads.js +8 -3
  178. package/dist/host/recordPayloads.js.map +1 -1
  179. package/dist/host/releaseWork.d.ts +108 -0
  180. package/dist/host/releaseWork.d.ts.map +1 -1
  181. package/dist/host/status.d.ts +30 -0
  182. package/dist/host/status.d.ts.map +1 -1
  183. package/dist/model.d.ts +144 -0
  184. package/dist/model.d.ts.map +1 -1
  185. package/dist/model.js +14 -1
  186. package/dist/model.js.map +1 -1
  187. package/dist/operations.d.ts +1224 -0
  188. package/dist/operations.d.ts.map +1 -1
  189. package/dist/packageInfo.d.ts +1 -1
  190. package/dist/packageInfo.js +1 -1
  191. package/dist/prompt/briefEdit.d.ts +2 -0
  192. package/dist/prompt/briefEdit.d.ts.map +1 -0
  193. package/dist/prompt/briefEdit.js +41 -0
  194. package/dist/prompt/briefEdit.js.map +1 -0
  195. package/dist/prompt/worker.d.ts.map +1 -1
  196. package/dist/prompt/worker.js +11 -2
  197. package/dist/prompt/worker.js.map +1 -1
  198. package/dist/qualifyDependencies.d.ts +54 -0
  199. package/dist/qualifyDependencies.d.ts.map +1 -1
  200. package/dist/scheduling/areas.d.ts +162 -0
  201. package/dist/scheduling/areas.d.ts.map +1 -1
  202. package/dist/storage/attemptV12.d.ts +108 -0
  203. package/dist/storage/attemptV12.d.ts.map +1 -0
  204. package/dist/storage/attemptV12.js +94 -0
  205. package/dist/storage/attemptV12.js.map +1 -0
  206. package/dist/storage/createCollections.d.ts +5 -0
  207. package/dist/storage/createCollections.d.ts.map +1 -0
  208. package/dist/storage/createCollections.js +21 -0
  209. package/dist/storage/createCollections.js.map +1 -0
  210. package/dist/storage/cycleV12.d.ts +287 -0
  211. package/dist/storage/cycleV12.d.ts.map +1 -0
  212. package/dist/storage/cycleV12.js +124 -0
  213. package/dist/storage/cycleV12.js.map +1 -0
  214. package/dist/storage/fleetMigrations.d.ts +0 -39
  215. package/dist/storage/fleetMigrations.d.ts.map +1 -1
  216. package/dist/storage/fleetMigrations.js +3 -9
  217. package/dist/storage/fleetMigrations.js.map +1 -1
  218. package/dist/storage/legacyColumns.d.ts +40 -0
  219. package/dist/storage/legacyColumns.d.ts.map +1 -0
  220. package/dist/storage/legacyColumns.js +12 -0
  221. package/dist/storage/legacyColumns.js.map +1 -0
  222. package/dist/storage/makeForeignReservations.d.ts +15 -0
  223. package/dist/storage/makeForeignReservations.d.ts.map +1 -0
  224. package/dist/storage/makeForeignReservations.js +34 -0
  225. package/dist/storage/makeForeignReservations.js.map +1 -0
  226. package/dist/storage/makePostgresFleetStore.d.ts +36 -16
  227. package/dist/storage/makePostgresFleetStore.d.ts.map +1 -1
  228. package/dist/storage/makePostgresFleetStore.js +24 -32
  229. package/dist/storage/makePostgresFleetStore.js.map +1 -1
  230. package/dist/storage/model.d.ts +53 -59
  231. package/dist/storage/model.d.ts.map +1 -1
  232. package/dist/storage/model.js +18 -60
  233. package/dist/storage/model.js.map +1 -1
  234. package/dist/storage/operationEntries.d.ts +6 -5
  235. package/dist/storage/operationEntries.d.ts.map +1 -1
  236. package/dist/storage/operationEntries.js +12 -15
  237. package/dist/storage/operationEntries.js.map +1 -1
  238. package/dist/storage/preparationV12.d.ts +44 -0
  239. package/dist/storage/preparationV12.d.ts.map +1 -0
  240. package/dist/storage/preparationV12.js +30 -0
  241. package/dist/storage/preparationV12.js.map +1 -0
  242. package/dist/storage/readRecords.d.ts +4 -0
  243. package/dist/storage/readRecords.d.ts.map +1 -0
  244. package/dist/storage/readRecords.js +10 -0
  245. package/dist/storage/readRecords.js.map +1 -0
  246. package/dist/storage/recordChildren.d.ts +11 -0
  247. package/dist/storage/recordChildren.d.ts.map +1 -0
  248. package/dist/storage/recordChildren.js +105 -0
  249. package/dist/storage/recordChildren.js.map +1 -0
  250. package/dist/storage/recordShape.d.ts +23 -0
  251. package/dist/storage/recordShape.d.ts.map +1 -0
  252. package/dist/storage/recordShape.js +112 -0
  253. package/dist/storage/recordShape.js.map +1 -0
  254. package/dist/storage/recordValue.d.ts +9 -6
  255. package/dist/storage/recordValue.d.ts.map +1 -1
  256. package/dist/storage/recordValue.js +42 -32
  257. package/dist/storage/recordValue.js.map +1 -1
  258. package/dist/storage/shapeV12.d.ts +794 -0
  259. package/dist/storage/shapeV12.d.ts.map +1 -0
  260. package/dist/storage/shapeV12.js +10 -0
  261. package/dist/storage/shapeV12.js.map +1 -0
  262. package/dist/storage/textRecordValue.d.ts +3 -0
  263. package/dist/storage/textRecordValue.d.ts.map +1 -0
  264. package/dist/storage/textRecordValue.js +13 -0
  265. package/dist/storage/textRecordValue.js.map +1 -0
  266. package/dist/storage/typedDecisionsV12.d.ts +103 -0
  267. package/dist/storage/typedDecisionsV12.d.ts.map +1 -0
  268. package/dist/storage/typedDecisionsV12.js +97 -0
  269. package/dist/storage/typedDecisionsV12.js.map +1 -0
  270. package/dist/storage/typedTables.d.ts +4 -0
  271. package/dist/storage/typedTables.d.ts.map +1 -0
  272. package/dist/storage/typedTables.js +39 -0
  273. package/dist/storage/typedTables.js.map +1 -0
  274. package/package.json +8 -8
  275. package/src/engine/abandonStalled.ts +63 -0
  276. package/src/engine/applyResolution.ts +3 -0
  277. package/src/engine/approveBrief.ts +34 -32
  278. package/src/engine/observedAttempt.ts +3 -0
  279. package/src/engine/prepareCommand.ts +21 -0
  280. package/src/engine/recoverStall.ts +6 -2
  281. package/src/engine/repository.ts +1 -0
  282. package/src/engine/resolveExecution.ts +3 -1
  283. package/src/engine/sessionCleanup.ts +3 -1
  284. package/src/engine/sessionStatus.ts +5 -0
  285. package/src/engine/steerBrief.ts +54 -0
  286. package/src/engine/views.ts +1 -0
  287. package/src/host/admission.ts +2 -1
  288. package/src/host/readWaitStates.ts +12 -11
  289. package/src/host/recordPayloads.ts +11 -3
  290. package/src/model.ts +20 -1
  291. package/src/packageInfo.ts +1 -1
  292. package/src/prompt/briefEdit.ts +44 -0
  293. package/src/prompt/worker.ts +11 -2
  294. package/src/storage/attemptV12.ts +95 -0
  295. package/src/storage/createCollections.ts +21 -0
  296. package/src/storage/cycleV12.ts +125 -0
  297. package/src/storage/fleetMigrations.ts +3 -10
  298. package/src/storage/legacyColumns.ts +12 -0
  299. package/src/storage/makeForeignReservations.ts +41 -0
  300. package/src/storage/makePostgresFleetStore.ts +30 -43
  301. package/src/storage/model.ts +19 -69
  302. package/src/storage/operationEntries.ts +12 -22
  303. package/src/storage/preparationV12.ts +31 -0
  304. package/src/storage/readRecords.ts +12 -0
  305. package/src/storage/recordChildren.ts +131 -0
  306. package/src/storage/recordShape.ts +137 -0
  307. package/src/storage/recordValue.ts +47 -34
  308. package/src/storage/shapeV12.ts +11 -0
  309. package/src/storage/textRecordValue.ts +16 -0
  310. package/src/storage/typedDecisionsV12.ts +100 -0
  311. package/src/storage/typedTables.ts +39 -0
@@ -18,6 +18,33 @@ export declare const releaseExecution: (state: {
18
18
  readonly admissionReady?: boolean | undefined;
19
19
  readonly areas?: readonly string[] | undefined;
20
20
  readonly attempts: readonly {
21
+ readonly abandoned?: {
22
+ readonly at: number;
23
+ readonly interruptError?: string | undefined;
24
+ readonly observation?: {
25
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
26
+ readonly error?: string | undefined;
27
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
28
+ readonly output: string;
29
+ readonly progress?: readonly {
30
+ readonly id: string;
31
+ readonly status?: string | undefined;
32
+ }[] | undefined;
33
+ readonly provisioning: "ready" | "unknown";
34
+ readonly receipt: {
35
+ readonly sessionId: string;
36
+ readonly turnId: string;
37
+ };
38
+ readonly turnMissing?: boolean | undefined;
39
+ } | undefined;
40
+ readonly observationError?: string | undefined;
41
+ } | undefined;
42
+ readonly briefSteers?: readonly {
43
+ readonly error?: string | undefined;
44
+ readonly requestedAt: number;
45
+ readonly revision: string;
46
+ readonly steeredAt?: number | undefined;
47
+ }[] | undefined;
21
48
  readonly checkFailures?: readonly string[] | undefined;
22
49
  readonly missingSince?: number | undefined;
23
50
  readonly observationRetries?: number | undefined;
@@ -256,6 +283,33 @@ export declare const releaseExecution: (state: {
256
283
  readonly admissionReady?: boolean | undefined;
257
284
  readonly areas?: readonly string[] | undefined;
258
285
  readonly attempts: readonly {
286
+ readonly abandoned?: {
287
+ readonly at: number;
288
+ readonly interruptError?: string | undefined;
289
+ readonly observation?: {
290
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
291
+ readonly error?: string | undefined;
292
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
293
+ readonly output: string;
294
+ readonly progress?: readonly {
295
+ readonly id: string;
296
+ readonly status?: string | undefined;
297
+ }[] | undefined;
298
+ readonly provisioning: "ready" | "unknown";
299
+ readonly receipt: {
300
+ readonly sessionId: string;
301
+ readonly turnId: string;
302
+ };
303
+ readonly turnMissing?: boolean | undefined;
304
+ } | undefined;
305
+ readonly observationError?: string | undefined;
306
+ } | undefined;
307
+ readonly briefSteers?: readonly {
308
+ readonly error?: string | undefined;
309
+ readonly requestedAt: number;
310
+ readonly revision: string;
311
+ readonly steeredAt?: number | undefined;
312
+ }[] | undefined;
259
313
  readonly checkFailures?: readonly string[] | undefined;
260
314
  readonly missingSince?: number | undefined;
261
315
  readonly observationRetries?: number | undefined;
@@ -511,6 +565,33 @@ export declare const releaseExecution: (state: {
511
565
  readonly admissionReady?: boolean | undefined;
512
566
  readonly areas?: readonly string[] | undefined;
513
567
  readonly attempts: readonly {
568
+ readonly abandoned?: {
569
+ readonly at: number;
570
+ readonly interruptError?: string | undefined;
571
+ readonly observation?: {
572
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
573
+ readonly error?: string | undefined;
574
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
575
+ readonly output: string;
576
+ readonly progress?: readonly {
577
+ readonly id: string;
578
+ readonly status?: string | undefined;
579
+ }[] | undefined;
580
+ readonly provisioning: "ready" | "unknown";
581
+ readonly receipt: {
582
+ readonly sessionId: string;
583
+ readonly turnId: string;
584
+ };
585
+ readonly turnMissing?: boolean | undefined;
586
+ } | undefined;
587
+ readonly observationError?: string | undefined;
588
+ } | undefined;
589
+ readonly briefSteers?: readonly {
590
+ readonly error?: string | undefined;
591
+ readonly requestedAt: number;
592
+ readonly revision: string;
593
+ readonly steeredAt?: number | undefined;
594
+ }[] | undefined;
514
595
  readonly checkFailures?: readonly string[] | undefined;
515
596
  readonly missingSince?: number | undefined;
516
597
  readonly observationRetries?: number | undefined;
@@ -749,6 +830,33 @@ export declare const releaseExecution: (state: {
749
830
  readonly admissionReady?: boolean | undefined;
750
831
  readonly areas?: readonly string[] | undefined;
751
832
  readonly attempts: readonly {
833
+ readonly abandoned?: {
834
+ readonly at: number;
835
+ readonly interruptError?: string | undefined;
836
+ readonly observation?: {
837
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
838
+ readonly error?: string | undefined;
839
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
840
+ readonly output: string;
841
+ readonly progress?: readonly {
842
+ readonly id: string;
843
+ readonly status?: string | undefined;
844
+ }[] | undefined;
845
+ readonly provisioning: "ready" | "unknown";
846
+ readonly receipt: {
847
+ readonly sessionId: string;
848
+ readonly turnId: string;
849
+ };
850
+ readonly turnMissing?: boolean | undefined;
851
+ } | undefined;
852
+ readonly observationError?: string | undefined;
853
+ } | undefined;
854
+ readonly briefSteers?: readonly {
855
+ readonly error?: string | undefined;
856
+ readonly requestedAt: number;
857
+ readonly revision: string;
858
+ readonly steeredAt?: number | undefined;
859
+ }[] | undefined;
752
860
  readonly checkFailures?: readonly string[] | undefined;
753
861
  readonly missingSince?: number | undefined;
754
862
  readonly observationRetries?: number | undefined;
@@ -1008,6 +1116,33 @@ export declare const releaseExecution: (state: {
1008
1116
  readonly admissionReady?: boolean | undefined;
1009
1117
  readonly areas?: readonly string[] | undefined;
1010
1118
  readonly attempts: readonly {
1119
+ readonly abandoned?: {
1120
+ readonly at: number;
1121
+ readonly interruptError?: string | undefined;
1122
+ readonly observation?: {
1123
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
1124
+ readonly error?: string | undefined;
1125
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
1126
+ readonly output: string;
1127
+ readonly progress?: readonly {
1128
+ readonly id: string;
1129
+ readonly status?: string | undefined;
1130
+ }[] | undefined;
1131
+ readonly provisioning: "ready" | "unknown";
1132
+ readonly receipt: {
1133
+ readonly sessionId: string;
1134
+ readonly turnId: string;
1135
+ };
1136
+ readonly turnMissing?: boolean | undefined;
1137
+ } | undefined;
1138
+ readonly observationError?: string | undefined;
1139
+ } | undefined;
1140
+ readonly briefSteers?: readonly {
1141
+ readonly error?: string | undefined;
1142
+ readonly requestedAt: number;
1143
+ readonly revision: string;
1144
+ readonly steeredAt?: number | undefined;
1145
+ }[] | undefined;
1011
1146
  readonly checkFailures?: readonly string[] | undefined;
1012
1147
  readonly missingSince?: number | undefined;
1013
1148
  readonly observationRetries?: number | undefined;
@@ -1246,6 +1381,33 @@ export declare const releaseExecution: (state: {
1246
1381
  readonly admissionReady?: boolean | undefined;
1247
1382
  readonly areas?: readonly string[] | undefined;
1248
1383
  readonly attempts: readonly {
1384
+ readonly abandoned?: {
1385
+ readonly at: number;
1386
+ readonly interruptError?: string | undefined;
1387
+ readonly observation?: {
1388
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
1389
+ readonly error?: string | undefined;
1390
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
1391
+ readonly output: string;
1392
+ readonly progress?: readonly {
1393
+ readonly id: string;
1394
+ readonly status?: string | undefined;
1395
+ }[] | undefined;
1396
+ readonly provisioning: "ready" | "unknown";
1397
+ readonly receipt: {
1398
+ readonly sessionId: string;
1399
+ readonly turnId: string;
1400
+ };
1401
+ readonly turnMissing?: boolean | undefined;
1402
+ } | undefined;
1403
+ readonly observationError?: string | undefined;
1404
+ } | undefined;
1405
+ readonly briefSteers?: readonly {
1406
+ readonly error?: string | undefined;
1407
+ readonly requestedAt: number;
1408
+ readonly revision: string;
1409
+ readonly steeredAt?: number | undefined;
1410
+ }[] | undefined;
1249
1411
  readonly checkFailures?: readonly string[] | undefined;
1250
1412
  readonly missingSince?: number | undefined;
1251
1413
  readonly observationRetries?: number | undefined;
@@ -1502,6 +1664,33 @@ export declare const releaseExecution: (state: {
1502
1664
  readonly admissionReady?: boolean | undefined;
1503
1665
  readonly areas?: readonly string[] | undefined;
1504
1666
  readonly attempts: readonly {
1667
+ readonly abandoned?: {
1668
+ readonly at: number;
1669
+ readonly interruptError?: string | undefined;
1670
+ readonly observation?: {
1671
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
1672
+ readonly error?: string | undefined;
1673
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
1674
+ readonly output: string;
1675
+ readonly progress?: readonly {
1676
+ readonly id: string;
1677
+ readonly status?: string | undefined;
1678
+ }[] | undefined;
1679
+ readonly provisioning: "ready" | "unknown";
1680
+ readonly receipt: {
1681
+ readonly sessionId: string;
1682
+ readonly turnId: string;
1683
+ };
1684
+ readonly turnMissing?: boolean | undefined;
1685
+ } | undefined;
1686
+ readonly observationError?: string | undefined;
1687
+ } | undefined;
1688
+ readonly briefSteers?: readonly {
1689
+ readonly error?: string | undefined;
1690
+ readonly requestedAt: number;
1691
+ readonly revision: string;
1692
+ readonly steeredAt?: number | undefined;
1693
+ }[] | undefined;
1505
1694
  readonly checkFailures?: readonly string[] | undefined;
1506
1695
  readonly missingSince?: number | undefined;
1507
1696
  readonly observationRetries?: number | undefined;
@@ -1740,6 +1929,33 @@ export declare const releaseExecution: (state: {
1740
1929
  readonly admissionReady?: boolean | undefined;
1741
1930
  readonly areas?: readonly string[] | undefined;
1742
1931
  readonly attempts: readonly {
1932
+ readonly abandoned?: {
1933
+ readonly at: number;
1934
+ readonly interruptError?: string | undefined;
1935
+ readonly observation?: {
1936
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
1937
+ readonly error?: string | undefined;
1938
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
1939
+ readonly output: string;
1940
+ readonly progress?: readonly {
1941
+ readonly id: string;
1942
+ readonly status?: string | undefined;
1943
+ }[] | undefined;
1944
+ readonly provisioning: "ready" | "unknown";
1945
+ readonly receipt: {
1946
+ readonly sessionId: string;
1947
+ readonly turnId: string;
1948
+ };
1949
+ readonly turnMissing?: boolean | undefined;
1950
+ } | undefined;
1951
+ readonly observationError?: string | undefined;
1952
+ } | undefined;
1953
+ readonly briefSteers?: readonly {
1954
+ readonly error?: string | undefined;
1955
+ readonly requestedAt: number;
1956
+ readonly revision: string;
1957
+ readonly steeredAt?: number | undefined;
1958
+ }[] | undefined;
1743
1959
  readonly checkFailures?: readonly string[] | undefined;
1744
1960
  readonly missingSince?: number | undefined;
1745
1961
  readonly observationRetries?: number | undefined;
@@ -2060,10 +2276,47 @@ export declare const releaseExecution: (state: {
2060
2276
  }, prompt: string) => Effect.Effect<void, SessionFailure, never>;
2061
2277
  }>;
2062
2278
  store: Omit<{
2279
+ foreignReservations: () => Effect.Effect<Pick<{
2280
+ readonly backlog: boolean;
2281
+ readonly executing: boolean;
2282
+ readonly owner: string;
2283
+ }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
2284
+ releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
2285
+ reserveForeign: (owner: string, occupancy?: {
2286
+ readonly executing: boolean;
2287
+ readonly backlog: boolean;
2288
+ }) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
2063
2289
  compareAndSet: (workId: string, expectedVersion: number, record: {
2064
2290
  readonly admissionReady?: boolean | undefined;
2065
2291
  readonly areas?: readonly string[] | undefined;
2066
2292
  readonly attempts: readonly {
2293
+ readonly abandoned?: {
2294
+ readonly at: number;
2295
+ readonly interruptError?: string | undefined;
2296
+ readonly observation?: {
2297
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
2298
+ readonly error?: string | undefined;
2299
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
2300
+ readonly output: string;
2301
+ readonly progress?: readonly {
2302
+ readonly id: string;
2303
+ readonly status?: string | undefined;
2304
+ }[] | undefined;
2305
+ readonly provisioning: "ready" | "unknown";
2306
+ readonly receipt: {
2307
+ readonly sessionId: string;
2308
+ readonly turnId: string;
2309
+ };
2310
+ readonly turnMissing?: boolean | undefined;
2311
+ } | undefined;
2312
+ readonly observationError?: string | undefined;
2313
+ } | undefined;
2314
+ readonly briefSteers?: readonly {
2315
+ readonly error?: string | undefined;
2316
+ readonly requestedAt: number;
2317
+ readonly revision: string;
2318
+ readonly steeredAt?: number | undefined;
2319
+ }[] | undefined;
2067
2320
  readonly checkFailures?: readonly string[] | undefined;
2068
2321
  readonly missingSince?: number | undefined;
2069
2322
  readonly observationRetries?: number | undefined;
@@ -2302,6 +2555,33 @@ export declare const releaseExecution: (state: {
2302
2555
  readonly admissionReady?: boolean | undefined;
2303
2556
  readonly areas?: readonly string[] | undefined;
2304
2557
  readonly attempts: readonly {
2558
+ readonly abandoned?: {
2559
+ readonly at: number;
2560
+ readonly interruptError?: string | undefined;
2561
+ readonly observation?: {
2562
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
2563
+ readonly error?: string | undefined;
2564
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
2565
+ readonly output: string;
2566
+ readonly progress?: readonly {
2567
+ readonly id: string;
2568
+ readonly status?: string | undefined;
2569
+ }[] | undefined;
2570
+ readonly provisioning: "ready" | "unknown";
2571
+ readonly receipt: {
2572
+ readonly sessionId: string;
2573
+ readonly turnId: string;
2574
+ };
2575
+ readonly turnMissing?: boolean | undefined;
2576
+ } | undefined;
2577
+ readonly observationError?: string | undefined;
2578
+ } | undefined;
2579
+ readonly briefSteers?: readonly {
2580
+ readonly error?: string | undefined;
2581
+ readonly requestedAt: number;
2582
+ readonly revision: string;
2583
+ readonly steeredAt?: number | undefined;
2584
+ }[] | undefined;
2305
2585
  readonly checkFailures?: readonly string[] | undefined;
2306
2586
  readonly missingSince?: number | undefined;
2307
2587
  readonly observationRetries?: number | undefined;
@@ -2544,6 +2824,33 @@ export declare const releaseExecution: (state: {
2544
2824
  readonly admissionReady?: boolean | undefined;
2545
2825
  readonly areas?: readonly string[] | undefined;
2546
2826
  readonly attempts: readonly {
2827
+ readonly abandoned?: {
2828
+ readonly at: number;
2829
+ readonly interruptError?: string | undefined;
2830
+ readonly observation?: {
2831
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
2832
+ readonly error?: string | undefined;
2833
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
2834
+ readonly output: string;
2835
+ readonly progress?: readonly {
2836
+ readonly id: string;
2837
+ readonly status?: string | undefined;
2838
+ }[] | undefined;
2839
+ readonly provisioning: "ready" | "unknown";
2840
+ readonly receipt: {
2841
+ readonly sessionId: string;
2842
+ readonly turnId: string;
2843
+ };
2844
+ readonly turnMissing?: boolean | undefined;
2845
+ } | undefined;
2846
+ readonly observationError?: string | undefined;
2847
+ } | undefined;
2848
+ readonly briefSteers?: readonly {
2849
+ readonly error?: string | undefined;
2850
+ readonly requestedAt: number;
2851
+ readonly revision: string;
2852
+ readonly steeredAt?: number | undefined;
2853
+ }[] | undefined;
2547
2854
  readonly checkFailures?: readonly string[] | undefined;
2548
2855
  readonly missingSince?: number | undefined;
2549
2856
  readonly observationRetries?: number | undefined;
@@ -2782,6 +3089,33 @@ export declare const releaseExecution: (state: {
2782
3089
  readonly admissionReady?: boolean | undefined;
2783
3090
  readonly areas?: readonly string[] | undefined;
2784
3091
  readonly attempts: readonly {
3092
+ readonly abandoned?: {
3093
+ readonly at: number;
3094
+ readonly interruptError?: string | undefined;
3095
+ readonly observation?: {
3096
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
3097
+ readonly error?: string | undefined;
3098
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
3099
+ readonly output: string;
3100
+ readonly progress?: readonly {
3101
+ readonly id: string;
3102
+ readonly status?: string | undefined;
3103
+ }[] | undefined;
3104
+ readonly provisioning: "ready" | "unknown";
3105
+ readonly receipt: {
3106
+ readonly sessionId: string;
3107
+ readonly turnId: string;
3108
+ };
3109
+ readonly turnMissing?: boolean | undefined;
3110
+ } | undefined;
3111
+ readonly observationError?: string | undefined;
3112
+ } | undefined;
3113
+ readonly briefSteers?: readonly {
3114
+ readonly error?: string | undefined;
3115
+ readonly requestedAt: number;
3116
+ readonly revision: string;
3117
+ readonly steeredAt?: number | undefined;
3118
+ }[] | undefined;
2785
3119
  readonly checkFailures?: readonly string[] | undefined;
2786
3120
  readonly missingSince?: number | undefined;
2787
3121
  readonly observationRetries?: number | undefined;
@@ -3022,17 +3356,39 @@ export declare const releaseExecution: (state: {
3022
3356
  };
3023
3357
  version: number;
3024
3358
  }, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("../storage/errors.ts").StorageAdmission | import("../storage/errors.ts").StorageCapacity | import("../storage/errors.ts").StorageConflict | import("../storage/errors.ts").StorageQuota, never>;
3025
- foreignReservations: () => Effect.Effect<Pick<{
3026
- readonly backlog: boolean;
3027
- readonly executing: boolean;
3028
- readonly owner: string;
3029
- }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
3030
3359
  hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
3031
3360
  initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
3032
3361
  insert: (record: {
3033
3362
  readonly admissionReady?: boolean | undefined;
3034
3363
  readonly areas?: readonly string[] | undefined;
3035
3364
  readonly attempts: readonly {
3365
+ readonly abandoned?: {
3366
+ readonly at: number;
3367
+ readonly interruptError?: string | undefined;
3368
+ readonly observation?: {
3369
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
3370
+ readonly error?: string | undefined;
3371
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
3372
+ readonly output: string;
3373
+ readonly progress?: readonly {
3374
+ readonly id: string;
3375
+ readonly status?: string | undefined;
3376
+ }[] | undefined;
3377
+ readonly provisioning: "ready" | "unknown";
3378
+ readonly receipt: {
3379
+ readonly sessionId: string;
3380
+ readonly turnId: string;
3381
+ };
3382
+ readonly turnMissing?: boolean | undefined;
3383
+ } | undefined;
3384
+ readonly observationError?: string | undefined;
3385
+ } | undefined;
3386
+ readonly briefSteers?: readonly {
3387
+ readonly error?: string | undefined;
3388
+ readonly requestedAt: number;
3389
+ readonly revision: string;
3390
+ readonly steeredAt?: number | undefined;
3391
+ }[] | undefined;
3036
3392
  readonly checkFailures?: readonly string[] | undefined;
3037
3393
  readonly missingSince?: number | undefined;
3038
3394
  readonly observationRetries?: number | undefined;
@@ -3271,6 +3627,33 @@ export declare const releaseExecution: (state: {
3271
3627
  readonly admissionReady?: boolean | undefined;
3272
3628
  readonly areas?: readonly string[] | undefined;
3273
3629
  readonly attempts: readonly {
3630
+ readonly abandoned?: {
3631
+ readonly at: number;
3632
+ readonly interruptError?: string | undefined;
3633
+ readonly observation?: {
3634
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
3635
+ readonly error?: string | undefined;
3636
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
3637
+ readonly output: string;
3638
+ readonly progress?: readonly {
3639
+ readonly id: string;
3640
+ readonly status?: string | undefined;
3641
+ }[] | undefined;
3642
+ readonly provisioning: "ready" | "unknown";
3643
+ readonly receipt: {
3644
+ readonly sessionId: string;
3645
+ readonly turnId: string;
3646
+ };
3647
+ readonly turnMissing?: boolean | undefined;
3648
+ } | undefined;
3649
+ readonly observationError?: string | undefined;
3650
+ } | undefined;
3651
+ readonly briefSteers?: readonly {
3652
+ readonly error?: string | undefined;
3653
+ readonly requestedAt: number;
3654
+ readonly revision: string;
3655
+ readonly steeredAt?: number | undefined;
3656
+ }[] | undefined;
3274
3657
  readonly checkFailures?: readonly string[] | undefined;
3275
3658
  readonly missingSince?: number | undefined;
3276
3659
  readonly observationRetries?: number | undefined;
@@ -3513,6 +3896,33 @@ export declare const releaseExecution: (state: {
3513
3896
  readonly admissionReady?: boolean | undefined;
3514
3897
  readonly areas?: readonly string[] | undefined;
3515
3898
  readonly attempts: readonly {
3899
+ readonly abandoned?: {
3900
+ readonly at: number;
3901
+ readonly interruptError?: string | undefined;
3902
+ readonly observation?: {
3903
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
3904
+ readonly error?: string | undefined;
3905
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
3906
+ readonly output: string;
3907
+ readonly progress?: readonly {
3908
+ readonly id: string;
3909
+ readonly status?: string | undefined;
3910
+ }[] | undefined;
3911
+ readonly provisioning: "ready" | "unknown";
3912
+ readonly receipt: {
3913
+ readonly sessionId: string;
3914
+ readonly turnId: string;
3915
+ };
3916
+ readonly turnMissing?: boolean | undefined;
3917
+ } | undefined;
3918
+ readonly observationError?: string | undefined;
3919
+ } | undefined;
3920
+ readonly briefSteers?: readonly {
3921
+ readonly error?: string | undefined;
3922
+ readonly requestedAt: number;
3923
+ readonly revision: string;
3924
+ readonly steeredAt?: number | undefined;
3925
+ }[] | undefined;
3516
3926
  readonly checkFailures?: readonly string[] | undefined;
3517
3927
  readonly missingSince?: number | undefined;
3518
3928
  readonly observationRetries?: number | undefined;
@@ -3751,6 +4161,33 @@ export declare const releaseExecution: (state: {
3751
4161
  readonly admissionReady?: boolean | undefined;
3752
4162
  readonly areas?: readonly string[] | undefined;
3753
4163
  readonly attempts: readonly {
4164
+ readonly abandoned?: {
4165
+ readonly at: number;
4166
+ readonly interruptError?: string | undefined;
4167
+ readonly observation?: {
4168
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4169
+ readonly error?: string | undefined;
4170
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4171
+ readonly output: string;
4172
+ readonly progress?: readonly {
4173
+ readonly id: string;
4174
+ readonly status?: string | undefined;
4175
+ }[] | undefined;
4176
+ readonly provisioning: "ready" | "unknown";
4177
+ readonly receipt: {
4178
+ readonly sessionId: string;
4179
+ readonly turnId: string;
4180
+ };
4181
+ readonly turnMissing?: boolean | undefined;
4182
+ } | undefined;
4183
+ readonly observationError?: string | undefined;
4184
+ } | undefined;
4185
+ readonly briefSteers?: readonly {
4186
+ readonly error?: string | undefined;
4187
+ readonly requestedAt: number;
4188
+ readonly revision: string;
4189
+ readonly steeredAt?: number | undefined;
4190
+ }[] | undefined;
3754
4191
  readonly checkFailures?: readonly string[] | undefined;
3755
4192
  readonly missingSince?: number | undefined;
3756
4193
  readonly observationRetries?: number | undefined;
@@ -3996,6 +4433,33 @@ export declare const releaseExecution: (state: {
3996
4433
  readonly admissionReady?: boolean | undefined;
3997
4434
  readonly areas?: readonly string[] | undefined;
3998
4435
  readonly attempts: readonly {
4436
+ readonly abandoned?: {
4437
+ readonly at: number;
4438
+ readonly interruptError?: string | undefined;
4439
+ readonly observation?: {
4440
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4441
+ readonly error?: string | undefined;
4442
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4443
+ readonly output: string;
4444
+ readonly progress?: readonly {
4445
+ readonly id: string;
4446
+ readonly status?: string | undefined;
4447
+ }[] | undefined;
4448
+ readonly provisioning: "ready" | "unknown";
4449
+ readonly receipt: {
4450
+ readonly sessionId: string;
4451
+ readonly turnId: string;
4452
+ };
4453
+ readonly turnMissing?: boolean | undefined;
4454
+ } | undefined;
4455
+ readonly observationError?: string | undefined;
4456
+ } | undefined;
4457
+ readonly briefSteers?: readonly {
4458
+ readonly error?: string | undefined;
4459
+ readonly requestedAt: number;
4460
+ readonly revision: string;
4461
+ readonly steeredAt?: number | undefined;
4462
+ }[] | undefined;
3999
4463
  readonly checkFailures?: readonly string[] | undefined;
4000
4464
  readonly missingSince?: number | undefined;
4001
4465
  readonly observationRetries?: number | undefined;
@@ -4234,6 +4698,33 @@ export declare const releaseExecution: (state: {
4234
4698
  readonly admissionReady?: boolean | undefined;
4235
4699
  readonly areas?: readonly string[] | undefined;
4236
4700
  readonly attempts: readonly {
4701
+ readonly abandoned?: {
4702
+ readonly at: number;
4703
+ readonly interruptError?: string | undefined;
4704
+ readonly observation?: {
4705
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4706
+ readonly error?: string | undefined;
4707
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4708
+ readonly output: string;
4709
+ readonly progress?: readonly {
4710
+ readonly id: string;
4711
+ readonly status?: string | undefined;
4712
+ }[] | undefined;
4713
+ readonly provisioning: "ready" | "unknown";
4714
+ readonly receipt: {
4715
+ readonly sessionId: string;
4716
+ readonly turnId: string;
4717
+ };
4718
+ readonly turnMissing?: boolean | undefined;
4719
+ } | undefined;
4720
+ readonly observationError?: string | undefined;
4721
+ } | undefined;
4722
+ readonly briefSteers?: readonly {
4723
+ readonly error?: string | undefined;
4724
+ readonly requestedAt: number;
4725
+ readonly revision: string;
4726
+ readonly steeredAt?: number | undefined;
4727
+ }[] | undefined;
4237
4728
  readonly checkFailures?: readonly string[] | undefined;
4238
4729
  readonly missingSince?: number | undefined;
4239
4730
  readonly observationRetries?: number | undefined;
@@ -4479,6 +4970,33 @@ export declare const releaseExecution: (state: {
4479
4970
  readonly admissionReady?: boolean | undefined;
4480
4971
  readonly areas?: readonly string[] | undefined;
4481
4972
  readonly attempts: readonly {
4973
+ readonly abandoned?: {
4974
+ readonly at: number;
4975
+ readonly interruptError?: string | undefined;
4976
+ readonly observation?: {
4977
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4978
+ readonly error?: string | undefined;
4979
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4980
+ readonly output: string;
4981
+ readonly progress?: readonly {
4982
+ readonly id: string;
4983
+ readonly status?: string | undefined;
4984
+ }[] | undefined;
4985
+ readonly provisioning: "ready" | "unknown";
4986
+ readonly receipt: {
4987
+ readonly sessionId: string;
4988
+ readonly turnId: string;
4989
+ };
4990
+ readonly turnMissing?: boolean | undefined;
4991
+ } | undefined;
4992
+ readonly observationError?: string | undefined;
4993
+ } | undefined;
4994
+ readonly briefSteers?: readonly {
4995
+ readonly error?: string | undefined;
4996
+ readonly requestedAt: number;
4997
+ readonly revision: string;
4998
+ readonly steeredAt?: number | undefined;
4999
+ }[] | undefined;
4482
5000
  readonly checkFailures?: readonly string[] | undefined;
4483
5001
  readonly missingSince?: number | undefined;
4484
5002
  readonly observationRetries?: number | undefined;
@@ -4717,6 +5235,33 @@ export declare const releaseExecution: (state: {
4717
5235
  readonly admissionReady?: boolean | undefined;
4718
5236
  readonly areas?: readonly string[] | undefined;
4719
5237
  readonly attempts: readonly {
5238
+ readonly abandoned?: {
5239
+ readonly at: number;
5240
+ readonly interruptError?: string | undefined;
5241
+ readonly observation?: {
5242
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
5243
+ readonly error?: string | undefined;
5244
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
5245
+ readonly output: string;
5246
+ readonly progress?: readonly {
5247
+ readonly id: string;
5248
+ readonly status?: string | undefined;
5249
+ }[] | undefined;
5250
+ readonly provisioning: "ready" | "unknown";
5251
+ readonly receipt: {
5252
+ readonly sessionId: string;
5253
+ readonly turnId: string;
5254
+ };
5255
+ readonly turnMissing?: boolean | undefined;
5256
+ } | undefined;
5257
+ readonly observationError?: string | undefined;
5258
+ } | undefined;
5259
+ readonly briefSteers?: readonly {
5260
+ readonly error?: string | undefined;
5261
+ readonly requestedAt: number;
5262
+ readonly revision: string;
5263
+ readonly steeredAt?: number | undefined;
5264
+ }[] | undefined;
4720
5265
  readonly checkFailures?: readonly string[] | undefined;
4721
5266
  readonly missingSince?: number | undefined;
4722
5267
  readonly observationRetries?: number | undefined;
@@ -4957,20 +5502,52 @@ export declare const releaseExecution: (state: {
4957
5502
  };
4958
5503
  version: number;
4959
5504
  } | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
4960
- operationEntries: (operationId: string) => Effect.Effect<{
4961
- version: number;
4962
- workId: string;
4963
- }[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
5505
+ operationEntries: (operationId: string) => Effect.Effect<readonly {
5506
+ readonly workId: string;
5507
+ readonly version: number;
5508
+ }[], import("effect/sql/SqlError").SqlError, never>;
5509
+ }, "initialize" | "operationEntries"> & Partial<Pick<{
5510
+ foreignReservations: () => Effect.Effect<Pick<{
5511
+ readonly backlog: boolean;
5512
+ readonly executing: boolean;
5513
+ readonly owner: string;
5514
+ }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
4964
5515
  releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
4965
5516
  reserveForeign: (owner: string, occupancy?: {
4966
5517
  readonly executing: boolean;
4967
5518
  readonly backlog: boolean;
4968
5519
  }) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
4969
- }, "initialize" | "operationEntries"> & Partial<Pick<{
4970
5520
  compareAndSet: (workId: string, expectedVersion: number, record: {
4971
5521
  readonly admissionReady?: boolean | undefined;
4972
5522
  readonly areas?: readonly string[] | undefined;
4973
5523
  readonly attempts: readonly {
5524
+ readonly abandoned?: {
5525
+ readonly at: number;
5526
+ readonly interruptError?: string | undefined;
5527
+ readonly observation?: {
5528
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
5529
+ readonly error?: string | undefined;
5530
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
5531
+ readonly output: string;
5532
+ readonly progress?: readonly {
5533
+ readonly id: string;
5534
+ readonly status?: string | undefined;
5535
+ }[] | undefined;
5536
+ readonly provisioning: "ready" | "unknown";
5537
+ readonly receipt: {
5538
+ readonly sessionId: string;
5539
+ readonly turnId: string;
5540
+ };
5541
+ readonly turnMissing?: boolean | undefined;
5542
+ } | undefined;
5543
+ readonly observationError?: string | undefined;
5544
+ } | undefined;
5545
+ readonly briefSteers?: readonly {
5546
+ readonly error?: string | undefined;
5547
+ readonly requestedAt: number;
5548
+ readonly revision: string;
5549
+ readonly steeredAt?: number | undefined;
5550
+ }[] | undefined;
4974
5551
  readonly checkFailures?: readonly string[] | undefined;
4975
5552
  readonly missingSince?: number | undefined;
4976
5553
  readonly observationRetries?: number | undefined;
@@ -5209,6 +5786,33 @@ export declare const releaseExecution: (state: {
5209
5786
  readonly admissionReady?: boolean | undefined;
5210
5787
  readonly areas?: readonly string[] | undefined;
5211
5788
  readonly attempts: readonly {
5789
+ readonly abandoned?: {
5790
+ readonly at: number;
5791
+ readonly interruptError?: string | undefined;
5792
+ readonly observation?: {
5793
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
5794
+ readonly error?: string | undefined;
5795
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
5796
+ readonly output: string;
5797
+ readonly progress?: readonly {
5798
+ readonly id: string;
5799
+ readonly status?: string | undefined;
5800
+ }[] | undefined;
5801
+ readonly provisioning: "ready" | "unknown";
5802
+ readonly receipt: {
5803
+ readonly sessionId: string;
5804
+ readonly turnId: string;
5805
+ };
5806
+ readonly turnMissing?: boolean | undefined;
5807
+ } | undefined;
5808
+ readonly observationError?: string | undefined;
5809
+ } | undefined;
5810
+ readonly briefSteers?: readonly {
5811
+ readonly error?: string | undefined;
5812
+ readonly requestedAt: number;
5813
+ readonly revision: string;
5814
+ readonly steeredAt?: number | undefined;
5815
+ }[] | undefined;
5212
5816
  readonly checkFailures?: readonly string[] | undefined;
5213
5817
  readonly missingSince?: number | undefined;
5214
5818
  readonly observationRetries?: number | undefined;
@@ -5451,6 +6055,33 @@ export declare const releaseExecution: (state: {
5451
6055
  readonly admissionReady?: boolean | undefined;
5452
6056
  readonly areas?: readonly string[] | undefined;
5453
6057
  readonly attempts: readonly {
6058
+ readonly abandoned?: {
6059
+ readonly at: number;
6060
+ readonly interruptError?: string | undefined;
6061
+ readonly observation?: {
6062
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
6063
+ readonly error?: string | undefined;
6064
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
6065
+ readonly output: string;
6066
+ readonly progress?: readonly {
6067
+ readonly id: string;
6068
+ readonly status?: string | undefined;
6069
+ }[] | undefined;
6070
+ readonly provisioning: "ready" | "unknown";
6071
+ readonly receipt: {
6072
+ readonly sessionId: string;
6073
+ readonly turnId: string;
6074
+ };
6075
+ readonly turnMissing?: boolean | undefined;
6076
+ } | undefined;
6077
+ readonly observationError?: string | undefined;
6078
+ } | undefined;
6079
+ readonly briefSteers?: readonly {
6080
+ readonly error?: string | undefined;
6081
+ readonly requestedAt: number;
6082
+ readonly revision: string;
6083
+ readonly steeredAt?: number | undefined;
6084
+ }[] | undefined;
5454
6085
  readonly checkFailures?: readonly string[] | undefined;
5455
6086
  readonly missingSince?: number | undefined;
5456
6087
  readonly observationRetries?: number | undefined;
@@ -5689,6 +6320,33 @@ export declare const releaseExecution: (state: {
5689
6320
  readonly admissionReady?: boolean | undefined;
5690
6321
  readonly areas?: readonly string[] | undefined;
5691
6322
  readonly attempts: readonly {
6323
+ readonly abandoned?: {
6324
+ readonly at: number;
6325
+ readonly interruptError?: string | undefined;
6326
+ readonly observation?: {
6327
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
6328
+ readonly error?: string | undefined;
6329
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
6330
+ readonly output: string;
6331
+ readonly progress?: readonly {
6332
+ readonly id: string;
6333
+ readonly status?: string | undefined;
6334
+ }[] | undefined;
6335
+ readonly provisioning: "ready" | "unknown";
6336
+ readonly receipt: {
6337
+ readonly sessionId: string;
6338
+ readonly turnId: string;
6339
+ };
6340
+ readonly turnMissing?: boolean | undefined;
6341
+ } | undefined;
6342
+ readonly observationError?: string | undefined;
6343
+ } | undefined;
6344
+ readonly briefSteers?: readonly {
6345
+ readonly error?: string | undefined;
6346
+ readonly requestedAt: number;
6347
+ readonly revision: string;
6348
+ readonly steeredAt?: number | undefined;
6349
+ }[] | undefined;
5692
6350
  readonly checkFailures?: readonly string[] | undefined;
5693
6351
  readonly missingSince?: number | undefined;
5694
6352
  readonly observationRetries?: number | undefined;
@@ -5929,17 +6587,39 @@ export declare const releaseExecution: (state: {
5929
6587
  };
5930
6588
  version: number;
5931
6589
  }, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError | import("../storage/errors.ts").StorageAdmission | import("../storage/errors.ts").StorageCapacity | import("../storage/errors.ts").StorageConflict | import("../storage/errors.ts").StorageQuota, never>;
5932
- foreignReservations: () => Effect.Effect<Pick<{
5933
- readonly backlog: boolean;
5934
- readonly executing: boolean;
5935
- readonly owner: string;
5936
- }, "backlog" | "executing" | "owner">[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
5937
6590
  hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
5938
6591
  initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
5939
6592
  insert: (record: {
5940
6593
  readonly admissionReady?: boolean | undefined;
5941
6594
  readonly areas?: readonly string[] | undefined;
5942
6595
  readonly attempts: readonly {
6596
+ readonly abandoned?: {
6597
+ readonly at: number;
6598
+ readonly interruptError?: string | undefined;
6599
+ readonly observation?: {
6600
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
6601
+ readonly error?: string | undefined;
6602
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
6603
+ readonly output: string;
6604
+ readonly progress?: readonly {
6605
+ readonly id: string;
6606
+ readonly status?: string | undefined;
6607
+ }[] | undefined;
6608
+ readonly provisioning: "ready" | "unknown";
6609
+ readonly receipt: {
6610
+ readonly sessionId: string;
6611
+ readonly turnId: string;
6612
+ };
6613
+ readonly turnMissing?: boolean | undefined;
6614
+ } | undefined;
6615
+ readonly observationError?: string | undefined;
6616
+ } | undefined;
6617
+ readonly briefSteers?: readonly {
6618
+ readonly error?: string | undefined;
6619
+ readonly requestedAt: number;
6620
+ readonly revision: string;
6621
+ readonly steeredAt?: number | undefined;
6622
+ }[] | undefined;
5943
6623
  readonly checkFailures?: readonly string[] | undefined;
5944
6624
  readonly missingSince?: number | undefined;
5945
6625
  readonly observationRetries?: number | undefined;
@@ -6178,6 +6858,33 @@ export declare const releaseExecution: (state: {
6178
6858
  readonly admissionReady?: boolean | undefined;
6179
6859
  readonly areas?: readonly string[] | undefined;
6180
6860
  readonly attempts: readonly {
6861
+ readonly abandoned?: {
6862
+ readonly at: number;
6863
+ readonly interruptError?: string | undefined;
6864
+ readonly observation?: {
6865
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
6866
+ readonly error?: string | undefined;
6867
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
6868
+ readonly output: string;
6869
+ readonly progress?: readonly {
6870
+ readonly id: string;
6871
+ readonly status?: string | undefined;
6872
+ }[] | undefined;
6873
+ readonly provisioning: "ready" | "unknown";
6874
+ readonly receipt: {
6875
+ readonly sessionId: string;
6876
+ readonly turnId: string;
6877
+ };
6878
+ readonly turnMissing?: boolean | undefined;
6879
+ } | undefined;
6880
+ readonly observationError?: string | undefined;
6881
+ } | undefined;
6882
+ readonly briefSteers?: readonly {
6883
+ readonly error?: string | undefined;
6884
+ readonly requestedAt: number;
6885
+ readonly revision: string;
6886
+ readonly steeredAt?: number | undefined;
6887
+ }[] | undefined;
6181
6888
  readonly checkFailures?: readonly string[] | undefined;
6182
6889
  readonly missingSince?: number | undefined;
6183
6890
  readonly observationRetries?: number | undefined;
@@ -6420,6 +7127,33 @@ export declare const releaseExecution: (state: {
6420
7127
  readonly admissionReady?: boolean | undefined;
6421
7128
  readonly areas?: readonly string[] | undefined;
6422
7129
  readonly attempts: readonly {
7130
+ readonly abandoned?: {
7131
+ readonly at: number;
7132
+ readonly interruptError?: string | undefined;
7133
+ readonly observation?: {
7134
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7135
+ readonly error?: string | undefined;
7136
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7137
+ readonly output: string;
7138
+ readonly progress?: readonly {
7139
+ readonly id: string;
7140
+ readonly status?: string | undefined;
7141
+ }[] | undefined;
7142
+ readonly provisioning: "ready" | "unknown";
7143
+ readonly receipt: {
7144
+ readonly sessionId: string;
7145
+ readonly turnId: string;
7146
+ };
7147
+ readonly turnMissing?: boolean | undefined;
7148
+ } | undefined;
7149
+ readonly observationError?: string | undefined;
7150
+ } | undefined;
7151
+ readonly briefSteers?: readonly {
7152
+ readonly error?: string | undefined;
7153
+ readonly requestedAt: number;
7154
+ readonly revision: string;
7155
+ readonly steeredAt?: number | undefined;
7156
+ }[] | undefined;
6423
7157
  readonly checkFailures?: readonly string[] | undefined;
6424
7158
  readonly missingSince?: number | undefined;
6425
7159
  readonly observationRetries?: number | undefined;
@@ -6658,6 +7392,33 @@ export declare const releaseExecution: (state: {
6658
7392
  readonly admissionReady?: boolean | undefined;
6659
7393
  readonly areas?: readonly string[] | undefined;
6660
7394
  readonly attempts: readonly {
7395
+ readonly abandoned?: {
7396
+ readonly at: number;
7397
+ readonly interruptError?: string | undefined;
7398
+ readonly observation?: {
7399
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7400
+ readonly error?: string | undefined;
7401
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7402
+ readonly output: string;
7403
+ readonly progress?: readonly {
7404
+ readonly id: string;
7405
+ readonly status?: string | undefined;
7406
+ }[] | undefined;
7407
+ readonly provisioning: "ready" | "unknown";
7408
+ readonly receipt: {
7409
+ readonly sessionId: string;
7410
+ readonly turnId: string;
7411
+ };
7412
+ readonly turnMissing?: boolean | undefined;
7413
+ } | undefined;
7414
+ readonly observationError?: string | undefined;
7415
+ } | undefined;
7416
+ readonly briefSteers?: readonly {
7417
+ readonly error?: string | undefined;
7418
+ readonly requestedAt: number;
7419
+ readonly revision: string;
7420
+ readonly steeredAt?: number | undefined;
7421
+ }[] | undefined;
6661
7422
  readonly checkFailures?: readonly string[] | undefined;
6662
7423
  readonly missingSince?: number | undefined;
6663
7424
  readonly observationRetries?: number | undefined;
@@ -6903,6 +7664,33 @@ export declare const releaseExecution: (state: {
6903
7664
  readonly admissionReady?: boolean | undefined;
6904
7665
  readonly areas?: readonly string[] | undefined;
6905
7666
  readonly attempts: readonly {
7667
+ readonly abandoned?: {
7668
+ readonly at: number;
7669
+ readonly interruptError?: string | undefined;
7670
+ readonly observation?: {
7671
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7672
+ readonly error?: string | undefined;
7673
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7674
+ readonly output: string;
7675
+ readonly progress?: readonly {
7676
+ readonly id: string;
7677
+ readonly status?: string | undefined;
7678
+ }[] | undefined;
7679
+ readonly provisioning: "ready" | "unknown";
7680
+ readonly receipt: {
7681
+ readonly sessionId: string;
7682
+ readonly turnId: string;
7683
+ };
7684
+ readonly turnMissing?: boolean | undefined;
7685
+ } | undefined;
7686
+ readonly observationError?: string | undefined;
7687
+ } | undefined;
7688
+ readonly briefSteers?: readonly {
7689
+ readonly error?: string | undefined;
7690
+ readonly requestedAt: number;
7691
+ readonly revision: string;
7692
+ readonly steeredAt?: number | undefined;
7693
+ }[] | undefined;
6906
7694
  readonly checkFailures?: readonly string[] | undefined;
6907
7695
  readonly missingSince?: number | undefined;
6908
7696
  readonly observationRetries?: number | undefined;
@@ -7141,6 +7929,33 @@ export declare const releaseExecution: (state: {
7141
7929
  readonly admissionReady?: boolean | undefined;
7142
7930
  readonly areas?: readonly string[] | undefined;
7143
7931
  readonly attempts: readonly {
7932
+ readonly abandoned?: {
7933
+ readonly at: number;
7934
+ readonly interruptError?: string | undefined;
7935
+ readonly observation?: {
7936
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7937
+ readonly error?: string | undefined;
7938
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7939
+ readonly output: string;
7940
+ readonly progress?: readonly {
7941
+ readonly id: string;
7942
+ readonly status?: string | undefined;
7943
+ }[] | undefined;
7944
+ readonly provisioning: "ready" | "unknown";
7945
+ readonly receipt: {
7946
+ readonly sessionId: string;
7947
+ readonly turnId: string;
7948
+ };
7949
+ readonly turnMissing?: boolean | undefined;
7950
+ } | undefined;
7951
+ readonly observationError?: string | undefined;
7952
+ } | undefined;
7953
+ readonly briefSteers?: readonly {
7954
+ readonly error?: string | undefined;
7955
+ readonly requestedAt: number;
7956
+ readonly revision: string;
7957
+ readonly steeredAt?: number | undefined;
7958
+ }[] | undefined;
7144
7959
  readonly checkFailures?: readonly string[] | undefined;
7145
7960
  readonly missingSince?: number | undefined;
7146
7961
  readonly observationRetries?: number | undefined;
@@ -7386,6 +8201,33 @@ export declare const releaseExecution: (state: {
7386
8201
  readonly admissionReady?: boolean | undefined;
7387
8202
  readonly areas?: readonly string[] | undefined;
7388
8203
  readonly attempts: readonly {
8204
+ readonly abandoned?: {
8205
+ readonly at: number;
8206
+ readonly interruptError?: string | undefined;
8207
+ readonly observation?: {
8208
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
8209
+ readonly error?: string | undefined;
8210
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
8211
+ readonly output: string;
8212
+ readonly progress?: readonly {
8213
+ readonly id: string;
8214
+ readonly status?: string | undefined;
8215
+ }[] | undefined;
8216
+ readonly provisioning: "ready" | "unknown";
8217
+ readonly receipt: {
8218
+ readonly sessionId: string;
8219
+ readonly turnId: string;
8220
+ };
8221
+ readonly turnMissing?: boolean | undefined;
8222
+ } | undefined;
8223
+ readonly observationError?: string | undefined;
8224
+ } | undefined;
8225
+ readonly briefSteers?: readonly {
8226
+ readonly error?: string | undefined;
8227
+ readonly requestedAt: number;
8228
+ readonly revision: string;
8229
+ readonly steeredAt?: number | undefined;
8230
+ }[] | undefined;
7389
8231
  readonly checkFailures?: readonly string[] | undefined;
7390
8232
  readonly missingSince?: number | undefined;
7391
8233
  readonly observationRetries?: number | undefined;
@@ -7624,6 +8466,33 @@ export declare const releaseExecution: (state: {
7624
8466
  readonly admissionReady?: boolean | undefined;
7625
8467
  readonly areas?: readonly string[] | undefined;
7626
8468
  readonly attempts: readonly {
8469
+ readonly abandoned?: {
8470
+ readonly at: number;
8471
+ readonly interruptError?: string | undefined;
8472
+ readonly observation?: {
8473
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
8474
+ readonly error?: string | undefined;
8475
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
8476
+ readonly output: string;
8477
+ readonly progress?: readonly {
8478
+ readonly id: string;
8479
+ readonly status?: string | undefined;
8480
+ }[] | undefined;
8481
+ readonly provisioning: "ready" | "unknown";
8482
+ readonly receipt: {
8483
+ readonly sessionId: string;
8484
+ readonly turnId: string;
8485
+ };
8486
+ readonly turnMissing?: boolean | undefined;
8487
+ } | undefined;
8488
+ readonly observationError?: string | undefined;
8489
+ } | undefined;
8490
+ readonly briefSteers?: readonly {
8491
+ readonly error?: string | undefined;
8492
+ readonly requestedAt: number;
8493
+ readonly revision: string;
8494
+ readonly steeredAt?: number | undefined;
8495
+ }[] | undefined;
7627
8496
  readonly checkFailures?: readonly string[] | undefined;
7628
8497
  readonly missingSince?: number | undefined;
7629
8498
  readonly observationRetries?: number | undefined;
@@ -7864,20 +8733,42 @@ export declare const releaseExecution: (state: {
7864
8733
  };
7865
8734
  version: number;
7866
8735
  } | undefined, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
7867
- operationEntries: (operationId: string) => Effect.Effect<{
7868
- version: number;
7869
- workId: string;
7870
- }[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
7871
- releaseForeign: (owner: string) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
7872
- reserveForeign: (owner: string, occupancy?: {
7873
- readonly executing: boolean;
7874
- readonly backlog: boolean;
7875
- }) => Effect.Effect<void, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
8736
+ operationEntries: (operationId: string) => Effect.Effect<readonly {
8737
+ readonly workId: string;
8738
+ readonly version: number;
8739
+ }[], import("effect/sql/SqlError").SqlError, never>;
7876
8740
  }, "operationEntries">>;
7877
8741
  }, stored: Versioned<{
7878
8742
  readonly admissionReady?: boolean | undefined;
7879
8743
  readonly areas?: readonly string[] | undefined;
7880
8744
  readonly attempts: readonly {
8745
+ readonly abandoned?: {
8746
+ readonly at: number;
8747
+ readonly interruptError?: string | undefined;
8748
+ readonly observation?: {
8749
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
8750
+ readonly error?: string | undefined;
8751
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
8752
+ readonly output: string;
8753
+ readonly progress?: readonly {
8754
+ readonly id: string;
8755
+ readonly status?: string | undefined;
8756
+ }[] | undefined;
8757
+ readonly provisioning: "ready" | "unknown";
8758
+ readonly receipt: {
8759
+ readonly sessionId: string;
8760
+ readonly turnId: string;
8761
+ };
8762
+ readonly turnMissing?: boolean | undefined;
8763
+ } | undefined;
8764
+ readonly observationError?: string | undefined;
8765
+ } | undefined;
8766
+ readonly briefSteers?: readonly {
8767
+ readonly error?: string | undefined;
8768
+ readonly requestedAt: number;
8769
+ readonly revision: string;
8770
+ readonly steeredAt?: number | undefined;
8771
+ }[] | undefined;
7881
8772
  readonly checkFailures?: readonly string[] | undefined;
7882
8773
  readonly missingSince?: number | undefined;
7883
8774
  readonly observationRetries?: number | undefined;
@@ -8116,6 +9007,33 @@ export declare const releaseExecution: (state: {
8116
9007
  readonly admissionReady?: boolean | undefined;
8117
9008
  readonly areas?: readonly string[] | undefined;
8118
9009
  readonly attempts: readonly {
9010
+ readonly abandoned?: {
9011
+ readonly at: number;
9012
+ readonly interruptError?: string | undefined;
9013
+ readonly observation?: {
9014
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
9015
+ readonly error?: string | undefined;
9016
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
9017
+ readonly output: string;
9018
+ readonly progress?: readonly {
9019
+ readonly id: string;
9020
+ readonly status?: string | undefined;
9021
+ }[] | undefined;
9022
+ readonly provisioning: "ready" | "unknown";
9023
+ readonly receipt: {
9024
+ readonly sessionId: string;
9025
+ readonly turnId: string;
9026
+ };
9027
+ readonly turnMissing?: boolean | undefined;
9028
+ } | undefined;
9029
+ readonly observationError?: string | undefined;
9030
+ } | undefined;
9031
+ readonly briefSteers?: readonly {
9032
+ readonly error?: string | undefined;
9033
+ readonly requestedAt: number;
9034
+ readonly revision: string;
9035
+ readonly steeredAt?: number | undefined;
9036
+ }[] | undefined;
8119
9037
  readonly checkFailures?: readonly string[] | undefined;
8120
9038
  readonly missingSince?: number | undefined;
8121
9039
  readonly observationRetries?: number | undefined;
@@ -8357,6 +9275,33 @@ export declare const releaseExecution: (state: {
8357
9275
  readonly admissionReady?: boolean | undefined;
8358
9276
  readonly areas?: readonly string[] | undefined;
8359
9277
  readonly attempts: readonly {
9278
+ readonly abandoned?: {
9279
+ readonly at: number;
9280
+ readonly interruptError?: string | undefined;
9281
+ readonly observation?: {
9282
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
9283
+ readonly error?: string | undefined;
9284
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
9285
+ readonly output: string;
9286
+ readonly progress?: readonly {
9287
+ readonly id: string;
9288
+ readonly status?: string | undefined;
9289
+ }[] | undefined;
9290
+ readonly provisioning: "ready" | "unknown";
9291
+ readonly receipt: {
9292
+ readonly sessionId: string;
9293
+ readonly turnId: string;
9294
+ };
9295
+ readonly turnMissing?: boolean | undefined;
9296
+ } | undefined;
9297
+ readonly observationError?: string | undefined;
9298
+ } | undefined;
9299
+ readonly briefSteers?: readonly {
9300
+ readonly error?: string | undefined;
9301
+ readonly requestedAt: number;
9302
+ readonly revision: string;
9303
+ readonly steeredAt?: number | undefined;
9304
+ }[] | undefined;
8360
9305
  readonly checkFailures?: readonly string[] | undefined;
8361
9306
  readonly missingSince?: number | undefined;
8362
9307
  readonly observationRetries?: number | undefined;
@@ -8595,6 +9540,33 @@ export declare const releaseExecution: (state: {
8595
9540
  readonly admissionReady?: boolean | undefined;
8596
9541
  readonly areas?: readonly string[] | undefined;
8597
9542
  readonly attempts: readonly {
9543
+ readonly abandoned?: {
9544
+ readonly at: number;
9545
+ readonly interruptError?: string | undefined;
9546
+ readonly observation?: {
9547
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
9548
+ readonly error?: string | undefined;
9549
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
9550
+ readonly output: string;
9551
+ readonly progress?: readonly {
9552
+ readonly id: string;
9553
+ readonly status?: string | undefined;
9554
+ }[] | undefined;
9555
+ readonly provisioning: "ready" | "unknown";
9556
+ readonly receipt: {
9557
+ readonly sessionId: string;
9558
+ readonly turnId: string;
9559
+ };
9560
+ readonly turnMissing?: boolean | undefined;
9561
+ } | undefined;
9562
+ readonly observationError?: string | undefined;
9563
+ } | undefined;
9564
+ readonly briefSteers?: readonly {
9565
+ readonly error?: string | undefined;
9566
+ readonly requestedAt: number;
9567
+ readonly revision: string;
9568
+ readonly steeredAt?: number | undefined;
9569
+ }[] | undefined;
8598
9570
  readonly checkFailures?: readonly string[] | undefined;
8599
9571
  readonly missingSince?: number | undefined;
8600
9572
  readonly observationRetries?: number | undefined;