@shivaedev/work-fleet 0.2.0 → 0.3.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 (502) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/README.md +60 -18
  3. package/dist/DispatchRequest.d.ts +13 -0
  4. package/dist/DispatchRequest.d.ts.map +1 -0
  5. package/dist/DispatchRequest.js +12 -0
  6. package/dist/DispatchRequest.js.map +1 -0
  7. package/dist/admit.d.ts +11 -0
  8. package/dist/admit.d.ts.map +1 -1
  9. package/dist/attention.d.ts +1 -0
  10. package/dist/attention.d.ts.map +1 -1
  11. package/dist/attention.js +4 -0
  12. package/dist/attention.js.map +1 -1
  13. package/dist/board/fleetField.d.ts +1 -0
  14. package/dist/board/fleetField.d.ts.map +1 -1
  15. package/dist/board/fleetField.js +4 -0
  16. package/dist/board/fleetField.js.map +1 -1
  17. package/dist/board/markdown.d.ts.map +1 -1
  18. package/dist/board/markdown.js +7 -2
  19. package/dist/board/markdown.js.map +1 -1
  20. package/dist/board/publish.d.ts +2 -0
  21. package/dist/board/publish.d.ts.map +1 -1
  22. package/dist/board/publishReport.d.ts +1 -0
  23. package/dist/board/publishReport.d.ts.map +1 -1
  24. package/dist/board/readPass.d.ts +1 -0
  25. package/dist/board/readPass.d.ts.map +1 -1
  26. package/dist/cli.js +13 -6
  27. package/dist/cli.js.map +1 -1
  28. package/dist/engine/abandonStalled.d.ts +1171 -1004
  29. package/dist/engine/abandonStalled.d.ts.map +1 -1
  30. package/dist/engine/admissionOrder.d.ts +1091 -0
  31. package/dist/engine/admissionOrder.d.ts.map +1 -0
  32. package/dist/engine/admissionOrder.js +15 -0
  33. package/dist/engine/admissionOrder.js.map +1 -0
  34. package/dist/engine/applyResolution.d.ts +20 -0
  35. package/dist/engine/applyResolution.d.ts.map +1 -1
  36. package/dist/engine/approveBrief.d.ts +31 -0
  37. package/dist/engine/approveBrief.d.ts.map +1 -1
  38. package/dist/engine/authorizeResolution.d.ts +1160 -1003
  39. package/dist/engine/authorizeResolution.d.ts.map +1 -1
  40. package/dist/engine/boardBrief.d.ts +32 -0
  41. package/dist/engine/boardBrief.d.ts.map +1 -1
  42. package/dist/engine/capacityRetry.d.ts +3488 -3007
  43. package/dist/engine/capacityRetry.d.ts.map +1 -1
  44. package/dist/engine/closeDecisions.d.ts +20 -0
  45. package/dist/engine/closeDecisions.d.ts.map +1 -1
  46. package/dist/engine/completeBoardWork.d.ts +20 -0
  47. package/dist/engine/completeBoardWork.d.ts.map +1 -1
  48. package/dist/engine/completeReport.d.ts +21 -0
  49. package/dist/engine/completeReport.d.ts.map +1 -1
  50. package/dist/engine/continueCommand.d.ts +10 -0
  51. package/dist/engine/continueCommand.d.ts.map +1 -1
  52. package/dist/engine/continueWorker.d.ts +20 -0
  53. package/dist/engine/continueWorker.d.ts.map +1 -1
  54. package/dist/engine/deliverPendingAnswers.d.ts +1085 -898
  55. package/dist/engine/deliverPendingAnswers.d.ts.map +1 -1
  56. package/dist/engine/dispatchCommand.d.ts +14 -1
  57. package/dist/engine/dispatchCommand.d.ts.map +1 -1
  58. package/dist/engine/dispatchCommand.js +25 -5
  59. package/dist/engine/dispatchCommand.js.map +1 -1
  60. package/dist/engine/ensureDecisionOwner.d.ts +20 -0
  61. package/dist/engine/ensureDecisionOwner.d.ts.map +1 -1
  62. package/dist/engine/ensurePublication.d.ts +20 -0
  63. package/dist/engine/ensurePublication.d.ts.map +1 -1
  64. package/dist/engine/failureContext.d.ts +1 -0
  65. package/dist/engine/failureContext.d.ts.map +1 -1
  66. package/dist/engine/failureContext.js.map +1 -1
  67. package/dist/engine/failureMessage.js +11 -1
  68. package/dist/engine/failureMessage.js.map +1 -1
  69. package/dist/engine/health.d.ts +10 -0
  70. package/dist/engine/health.d.ts.map +1 -1
  71. package/dist/engine/inspectRenewal.d.ts +21 -0
  72. package/dist/engine/inspectRenewal.d.ts.map +1 -1
  73. package/dist/engine/launchInput.d.ts +10 -0
  74. package/dist/engine/launchInput.d.ts.map +1 -1
  75. package/dist/engine/launchReceipt.d.ts +10 -0
  76. package/dist/engine/launchReceipt.d.ts.map +1 -1
  77. package/dist/engine/localOnlyCriteria.d.ts +1 -0
  78. package/dist/engine/localOnlyCriteria.d.ts.map +1 -1
  79. package/dist/engine/localOnlyCriteria.js +5 -1
  80. package/dist/engine/localOnlyCriteria.js.map +1 -1
  81. package/dist/engine/makeAdopt.d.ts +21 -0
  82. package/dist/engine/makeAdopt.d.ts.map +1 -1
  83. package/dist/engine/makeAdvance.d.ts +10 -0
  84. package/dist/engine/makeAdvance.d.ts.map +1 -1
  85. package/dist/engine/makeDeliver.d.ts +20 -0
  86. package/dist/engine/makeDeliver.d.ts.map +1 -1
  87. package/dist/engine/makeHuman.d.ts +20 -0
  88. package/dist/engine/makeHuman.d.ts.map +1 -1
  89. package/dist/engine/makeLaunch.d.ts +20 -0
  90. package/dist/engine/makeLaunch.d.ts.map +1 -1
  91. package/dist/engine/makeLaunch.js +4 -13
  92. package/dist/engine/makeLaunch.js.map +1 -1
  93. package/dist/engine/makeObserve.d.ts +20 -0
  94. package/dist/engine/makeObserve.d.ts.map +1 -1
  95. package/dist/engine/makeReview.d.ts +21 -0
  96. package/dist/engine/makeReview.d.ts.map +1 -1
  97. package/dist/engine/makeState.d.ts +1164 -1010
  98. package/dist/engine/makeState.d.ts.map +1 -1
  99. package/dist/engine/makeState.js +19 -11
  100. package/dist/engine/makeState.js.map +1 -1
  101. package/dist/engine/makeValidate.d.ts +21 -0
  102. package/dist/engine/makeValidate.d.ts.map +1 -1
  103. package/dist/engine/mergeReadiness.d.ts +1425 -1764
  104. package/dist/engine/mergeReadiness.d.ts.map +1 -1
  105. package/dist/engine/mergeReadiness.js +3 -4
  106. package/dist/engine/mergeReadiness.js.map +1 -1
  107. package/dist/engine/observeDeliveryFailure.d.ts +1170 -1003
  108. package/dist/engine/observeDeliveryFailure.d.ts.map +1 -1
  109. package/dist/engine/observeRenewal.d.ts +33 -0
  110. package/dist/engine/observeRenewal.d.ts.map +1 -1
  111. package/dist/engine/obtainReview.d.ts +11 -0
  112. package/dist/engine/obtainReview.d.ts.map +1 -1
  113. package/dist/engine/obtainReview.js +2 -1
  114. package/dist/engine/obtainReview.js.map +1 -1
  115. package/dist/engine/operationRecord.d.ts +1898 -1779
  116. package/dist/engine/operationRecord.d.ts.map +1 -1
  117. package/dist/engine/persistTerminalReceipts.d.ts +20 -0
  118. package/dist/engine/persistTerminalReceipts.d.ts.map +1 -1
  119. package/dist/engine/prepareCommand.d.ts +10 -0
  120. package/dist/engine/prepareCommand.d.ts.map +1 -1
  121. package/dist/engine/prepareCommand.js +1 -1
  122. package/dist/engine/prepareCommand.js.map +1 -1
  123. package/dist/engine/queueAnswerCommand.d.ts +10 -0
  124. package/dist/engine/queueAnswerCommand.d.ts.map +1 -1
  125. package/dist/engine/readOrContinueReview.d.ts +11 -0
  126. package/dist/engine/readOrContinueReview.d.ts.map +1 -1
  127. package/dist/engine/readOrContinueReview.js +2 -1
  128. package/dist/engine/readOrContinueReview.js.map +1 -1
  129. package/dist/engine/readResolution.d.ts +1 -0
  130. package/dist/engine/readResolution.d.ts.map +1 -1
  131. package/dist/engine/readRetry.d.ts +2344 -2010
  132. package/dist/engine/readRetry.d.ts.map +1 -1
  133. package/dist/engine/readRetry.js +20 -1
  134. package/dist/engine/readRetry.js.map +1 -1
  135. package/dist/engine/reassignCommand.d.ts +10 -0
  136. package/dist/engine/reassignCommand.d.ts.map +1 -1
  137. package/dist/engine/reconcileAttempt.d.ts +12 -1
  138. package/dist/engine/reconcileAttempt.d.ts.map +1 -1
  139. package/dist/engine/reconcileAttempt.js +2 -1
  140. package/dist/engine/reconcileAttempt.js.map +1 -1
  141. package/dist/engine/reconcileCommand.d.ts +10 -0
  142. package/dist/engine/reconcileCommand.d.ts.map +1 -1
  143. package/dist/engine/recordResponseCommand.d.ts +551 -0
  144. package/dist/engine/recordResponseCommand.d.ts.map +1 -0
  145. package/dist/engine/recordResponseCommand.js +30 -0
  146. package/dist/engine/recordResponseCommand.js.map +1 -0
  147. package/dist/engine/recoverStall.d.ts +1172 -1004
  148. package/dist/engine/recoverStall.d.ts.map +1 -1
  149. package/dist/engine/recoverStall.js +1 -1
  150. package/dist/engine/recoverStall.js.map +1 -1
  151. package/dist/engine/recoverUnobservable.d.ts +1172 -1004
  152. package/dist/engine/recoverUnobservable.d.ts.map +1 -1
  153. package/dist/engine/refreshBrief.d.ts +2344 -2009
  154. package/dist/engine/refreshBrief.d.ts.map +1 -1
  155. package/dist/engine/refreshReviewResult.d.ts +21 -0
  156. package/dist/engine/refreshReviewResult.d.ts.map +1 -1
  157. package/dist/engine/releaseClosedPreparation.d.ts +1171 -1003
  158. package/dist/engine/releaseClosedPreparation.d.ts.map +1 -1
  159. package/dist/engine/releaseExecution.d.ts +1170 -1003
  160. package/dist/engine/releaseExecution.d.ts.map +1 -1
  161. package/dist/engine/releaseFinishedWork.d.ts +10 -0
  162. package/dist/engine/releaseFinishedWork.d.ts.map +1 -1
  163. package/dist/engine/repository.d.ts +1115 -1003
  164. package/dist/engine/repository.d.ts.map +1 -1
  165. package/dist/engine/repository.js +12 -12
  166. package/dist/engine/repository.js.map +1 -1
  167. package/dist/engine/requestConflictRepair.d.ts +1170 -1003
  168. package/dist/engine/requestConflictRepair.d.ts.map +1 -1
  169. package/dist/engine/requestRework.d.ts +20 -0
  170. package/dist/engine/requestRework.d.ts.map +1 -1
  171. package/dist/engine/resolveCommand.d.ts +10 -0
  172. package/dist/engine/resolveCommand.d.ts.map +1 -1
  173. package/dist/engine/resolveExecution.d.ts +1170 -1003
  174. package/dist/engine/resolveExecution.d.ts.map +1 -1
  175. package/dist/engine/resumeAttempt.d.ts +1171 -1003
  176. package/dist/engine/resumeAttempt.d.ts.map +1 -1
  177. package/dist/engine/retireUnacknowledged.d.ts +20 -0
  178. package/dist/engine/retireUnacknowledged.d.ts.map +1 -1
  179. package/dist/engine/retryTerminal.d.ts +1160 -1003
  180. package/dist/engine/retryTerminal.d.ts.map +1 -1
  181. package/dist/engine/saveLaunch.d.ts +10598 -0
  182. package/dist/engine/saveLaunch.d.ts.map +1 -0
  183. package/dist/engine/saveLaunch.js +30 -0
  184. package/dist/engine/saveLaunch.js.map +1 -0
  185. package/dist/engine/scheduler.d.ts +21 -1
  186. package/dist/engine/scheduler.d.ts.map +1 -1
  187. package/dist/engine/scheduler.js +3 -5
  188. package/dist/engine/scheduler.js.map +1 -1
  189. package/dist/engine/sessionCleanup.d.ts +20 -0
  190. package/dist/engine/sessionCleanup.d.ts.map +1 -1
  191. package/dist/engine/settleMergedDelivery.d.ts +1170 -1003
  192. package/dist/engine/settleMergedDelivery.d.ts.map +1 -1
  193. package/dist/engine/steerBrief.d.ts +1075 -898
  194. package/dist/engine/steerBrief.d.ts.map +1 -1
  195. package/dist/engine/submissionFailure.d.ts +1150 -1003
  196. package/dist/engine/submissionFailure.d.ts.map +1 -1
  197. package/dist/engine/submitLaunch.d.ts +1160 -1003
  198. package/dist/engine/submitLaunch.d.ts.map +1 -1
  199. package/dist/engine/views.d.ts.map +1 -1
  200. package/dist/engine/views.js +4 -0
  201. package/dist/engine/views.js.map +1 -1
  202. package/dist/engine/workerReport.d.ts +30 -0
  203. package/dist/engine/workerReport.d.ts.map +1 -1
  204. package/dist/fleet.d.ts +2716 -983
  205. package/dist/fleet.d.ts.map +1 -1
  206. package/dist/fleet.js +4 -0
  207. package/dist/fleet.js.map +1 -1
  208. package/dist/host/actionCommands.d.ts.map +1 -1
  209. package/dist/host/actionCommands.js +7 -6
  210. package/dist/host/actionCommands.js.map +1 -1
  211. package/dist/host/admission.d.ts +24 -1
  212. package/dist/host/admission.d.ts.map +1 -1
  213. package/dist/host/admission.js +2 -2
  214. package/dist/host/admission.js.map +1 -1
  215. package/dist/host/answerWork.d.ts +12 -2
  216. package/dist/host/answerWork.d.ts.map +1 -1
  217. package/dist/host/answerWork.js +19 -23
  218. package/dist/host/answerWork.js.map +1 -1
  219. package/dist/host/commands.d.ts +28 -4
  220. package/dist/host/commands.d.ts.map +1 -1
  221. package/dist/host/commands.js +19 -5
  222. package/dist/host/commands.js.map +1 -1
  223. package/dist/host/config.d.ts +77 -1
  224. package/dist/host/config.d.ts.map +1 -1
  225. package/dist/host/config.js +37 -9
  226. package/dist/host/config.js.map +1 -1
  227. package/dist/host/configSettings.d.ts +486 -0
  228. package/dist/host/configSettings.d.ts.map +1 -0
  229. package/dist/host/configSettings.js +113 -0
  230. package/dist/host/configSettings.js.map +1 -0
  231. package/dist/host/daemon.d.ts +302 -607
  232. package/dist/host/daemon.d.ts.map +1 -1
  233. package/dist/host/daemon.js +2 -1
  234. package/dist/host/daemon.js.map +1 -1
  235. package/dist/host/daemonClient.d.ts +300 -605
  236. package/dist/host/daemonClient.d.ts.map +1 -1
  237. package/dist/host/daemonClient.js +28 -7
  238. package/dist/host/daemonClient.js.map +1 -1
  239. package/dist/host/daemonContract.d.ts +882 -1987
  240. package/dist/host/daemonContract.d.ts.map +1 -1
  241. package/dist/host/daemonContract.js +12 -4
  242. package/dist/host/daemonContract.js.map +1 -1
  243. package/dist/host/daemonDiagnostics.d.ts.map +1 -1
  244. package/dist/host/daemonDiagnostics.js +9 -3
  245. package/dist/host/daemonDiagnostics.js.map +1 -1
  246. package/dist/host/daemonHandlers.d.ts +2 -1
  247. package/dist/host/daemonHandlers.d.ts.map +1 -1
  248. package/dist/host/daemonHandlers.js +20 -7
  249. package/dist/host/daemonHandlers.js.map +1 -1
  250. package/dist/host/daemonSnapshots.d.ts.map +1 -1
  251. package/dist/host/daemonSnapshots.js +21 -1
  252. package/dist/host/daemonSnapshots.js.map +1 -1
  253. package/dist/host/dispatchRequests.d.ts +30 -0
  254. package/dist/host/dispatchRequests.d.ts.map +1 -0
  255. package/dist/host/dispatchRequests.js +40 -0
  256. package/dist/host/dispatchRequests.js.map +1 -0
  257. package/dist/host/follow.js +1 -1
  258. package/dist/host/follow.js.map +1 -1
  259. package/dist/host/followState.d.ts.map +1 -1
  260. package/dist/host/followState.js +5 -4
  261. package/dist/host/followState.js.map +1 -1
  262. package/dist/host/github.d.ts +5 -6
  263. package/dist/host/github.d.ts.map +1 -1
  264. package/dist/host/github.js +3 -4
  265. package/dist/host/github.js.map +1 -1
  266. package/dist/host/githubApi.d.ts +15 -0
  267. package/dist/host/githubApi.d.ts.map +1 -0
  268. package/dist/host/githubApi.js +117 -0
  269. package/dist/host/githubApi.js.map +1 -0
  270. package/dist/host/githubChecks.d.ts +13 -3
  271. package/dist/host/githubChecks.d.ts.map +1 -1
  272. package/dist/host/githubChecks.js +5 -5
  273. package/dist/host/githubChecks.js.map +1 -1
  274. package/dist/host/githubDelivery.d.ts +13 -1
  275. package/dist/host/githubDelivery.d.ts.map +1 -1
  276. package/dist/host/githubDelivery.js +39 -6
  277. package/dist/host/githubDelivery.js.map +1 -1
  278. package/dist/host/githubRateLimit.d.ts +23 -0
  279. package/dist/host/githubRateLimit.d.ts.map +1 -0
  280. package/dist/host/githubRateLimit.js +70 -0
  281. package/dist/host/githubRateLimit.js.map +1 -0
  282. package/dist/host/githubRequiredChecks.d.ts +1 -2
  283. package/dist/host/githubRequiredChecks.d.ts.map +1 -1
  284. package/dist/host/githubRequiredChecks.js +2 -2
  285. package/dist/host/githubRequiredChecks.js.map +1 -1
  286. package/dist/host/githubResponse.d.ts +10 -0
  287. package/dist/host/githubResponse.d.ts.map +1 -0
  288. package/dist/host/githubResponse.js +29 -0
  289. package/dist/host/githubResponse.js.map +1 -0
  290. package/dist/host/githubResult.d.ts +3 -2
  291. package/dist/host/githubResult.d.ts.map +1 -1
  292. package/dist/host/githubResult.js +9 -12
  293. package/dist/host/githubResult.js.map +1 -1
  294. package/dist/host/githubTransport.d.ts +13 -0
  295. package/dist/host/githubTransport.d.ts.map +1 -0
  296. package/dist/host/{githubRead.js → githubTransport.js} +9 -10
  297. package/dist/host/githubTransport.js.map +1 -0
  298. package/dist/host/integrations.d.ts +6 -0
  299. package/dist/host/integrations.d.ts.map +1 -0
  300. package/dist/host/integrations.js +34 -0
  301. package/dist/host/integrations.js.map +1 -0
  302. package/dist/host/liveConfig.d.ts +21 -0
  303. package/dist/host/liveConfig.d.ts.map +1 -0
  304. package/dist/host/liveConfig.js +74 -0
  305. package/dist/host/liveConfig.js.map +1 -0
  306. package/dist/host/providers.d.ts.map +1 -1
  307. package/dist/host/providers.js +2 -2
  308. package/dist/host/providers.js.map +1 -1
  309. package/dist/host/readWaitStates.d.ts.map +1 -1
  310. package/dist/host/readWaitStates.js +8 -18
  311. package/dist/host/readWaitStates.js.map +1 -1
  312. package/dist/host/reassignWork.d.ts +10 -0
  313. package/dist/host/reassignWork.d.ts.map +1 -1
  314. package/dist/host/recordDecisionResponse.d.ts +1 -0
  315. package/dist/host/recordDecisionResponse.d.ts.map +1 -1
  316. package/dist/host/releaseWork.d.ts +24 -3
  317. package/dist/host/releaseWork.d.ts.map +1 -1
  318. package/dist/host/releaseWork.js +11 -7
  319. package/dist/host/releaseWork.js.map +1 -1
  320. package/dist/host/renderStatus.d.ts +2 -2
  321. package/dist/host/renderStatus.d.ts.map +1 -1
  322. package/dist/host/renderStatus.js +8 -2
  323. package/dist/host/renderStatus.js.map +1 -1
  324. package/dist/host/reportBoard.d.ts +1 -1
  325. package/dist/host/reportBoard.d.ts.map +1 -1
  326. package/dist/host/reportBoard.js +6 -3
  327. package/dist/host/reportBoard.js.map +1 -1
  328. package/dist/host/reportPublication.d.ts +2 -1
  329. package/dist/host/reportPublication.d.ts.map +1 -1
  330. package/dist/host/reportPublication.js +5 -2
  331. package/dist/host/reportPublication.js.map +1 -1
  332. package/dist/host/runtime.d.ts +8 -6
  333. package/dist/host/runtime.d.ts.map +1 -1
  334. package/dist/host/runtime.js +37 -46
  335. package/dist/host/runtime.js.map +1 -1
  336. package/dist/host/snapshotStream.d.ts.map +1 -1
  337. package/dist/host/snapshotStream.js +4 -1
  338. package/dist/host/snapshotStream.js.map +1 -1
  339. package/dist/host/status.d.ts +22 -2
  340. package/dist/host/status.d.ts.map +1 -1
  341. package/dist/host/status.js +19 -5
  342. package/dist/host/status.js.map +1 -1
  343. package/dist/host/statusLayer.d.ts +3 -3
  344. package/dist/host/statusLayer.d.ts.map +1 -1
  345. package/dist/host/statusLayer.js +13 -3
  346. package/dist/host/statusLayer.js.map +1 -1
  347. package/dist/host/waitOutcome.d.ts.map +1 -1
  348. package/dist/host/waitOutcome.js +5 -2
  349. package/dist/host/waitOutcome.js.map +1 -1
  350. package/dist/model.d.ts +39 -0
  351. package/dist/model.d.ts.map +1 -1
  352. package/dist/model.js +5 -0
  353. package/dist/model.js.map +1 -1
  354. package/dist/operations.d.ts +270 -0
  355. package/dist/operations.d.ts.map +1 -1
  356. package/dist/packageInfo.d.ts +1 -1
  357. package/dist/packageInfo.js +1 -1
  358. package/dist/policy.d.ts +7 -0
  359. package/dist/policy.d.ts.map +1 -1
  360. package/dist/policy.js +2 -0
  361. package/dist/policy.js.map +1 -1
  362. package/dist/providers/codexCloud.d.ts +2 -0
  363. package/dist/providers/codexCloud.d.ts.map +1 -1
  364. package/dist/providers/codexCloud.js +2 -1
  365. package/dist/providers/codexCloud.js.map +1 -1
  366. package/dist/qualifyDependencies.d.ts +10 -0
  367. package/dist/qualifyDependencies.d.ts.map +1 -1
  368. package/dist/scheduling/admission.d.ts +1635 -0
  369. package/dist/scheduling/admission.d.ts.map +1 -0
  370. package/dist/scheduling/admission.js +11 -0
  371. package/dist/scheduling/admission.js.map +1 -0
  372. package/dist/scheduling/areas.d.ts +30 -0
  373. package/dist/scheduling/areas.d.ts.map +1 -1
  374. package/dist/scheduling/backPressure.d.ts +1637 -0
  375. package/dist/scheduling/backPressure.d.ts.map +1 -0
  376. package/dist/scheduling/backPressure.js +44 -0
  377. package/dist/scheduling/backPressure.js.map +1 -0
  378. package/dist/storage/FleetStoreOptions.d.ts +2 -2
  379. package/dist/storage/FleetStoreOptions.d.ts.map +1 -1
  380. package/dist/storage/addShapeColumns.d.ts +5 -0
  381. package/dist/storage/addShapeColumns.d.ts.map +1 -0
  382. package/dist/storage/addShapeColumns.js +24 -0
  383. package/dist/storage/addShapeColumns.js.map +1 -0
  384. package/dist/storage/dispatchStore.d.ts +47 -0
  385. package/dist/storage/dispatchStore.d.ts.map +1 -0
  386. package/dist/storage/dispatchStore.js +89 -0
  387. package/dist/storage/dispatchStore.js.map +1 -0
  388. package/dist/storage/errors.d.ts +2 -1
  389. package/dist/storage/errors.d.ts.map +1 -1
  390. package/dist/storage/errors.js +2 -1
  391. package/dist/storage/errors.js.map +1 -1
  392. package/dist/storage/fleetMigrations.d.ts +1 -1
  393. package/dist/storage/fleetMigrations.d.ts.map +1 -1
  394. package/dist/storage/fleetMigrations.js +24 -17
  395. package/dist/storage/fleetMigrations.js.map +1 -1
  396. package/dist/storage/listedRecords.d.ts +9 -0
  397. package/dist/storage/listedRecords.d.ts.map +1 -0
  398. package/dist/storage/listedRecords.js +40 -0
  399. package/dist/storage/listedRecords.js.map +1 -0
  400. package/dist/storage/makePostgresFleetStore.d.ts +2 -6
  401. package/dist/storage/makePostgresFleetStore.d.ts.map +1 -1
  402. package/dist/storage/makePostgresFleetStore.js +4 -10
  403. package/dist/storage/makePostgresFleetStore.js.map +1 -1
  404. package/dist/storage/model.d.ts +9 -0
  405. package/dist/storage/model.d.ts.map +1 -1
  406. package/dist/storage/model.js.map +1 -1
  407. package/dist/storage/shapeV14.d.ts +808 -0
  408. package/dist/storage/shapeV14.d.ts.map +1 -0
  409. package/dist/storage/shapeV14.js +18 -0
  410. package/dist/storage/shapeV14.js.map +1 -0
  411. package/package.json +6 -6
  412. package/src/DispatchRequest.ts +13 -0
  413. package/src/attention.ts +5 -0
  414. package/src/board/fleetField.ts +5 -0
  415. package/src/board/markdown.ts +7 -2
  416. package/src/cli.ts +24 -10
  417. package/src/engine/admissionOrder.ts +25 -0
  418. package/src/engine/dispatchCommand.ts +29 -5
  419. package/src/engine/failureContext.ts +1 -0
  420. package/src/engine/failureMessage.ts +12 -1
  421. package/src/engine/localOnlyCriteria.ts +6 -1
  422. package/src/engine/makeLaunch.ts +4 -17
  423. package/src/engine/makeState.ts +30 -26
  424. package/src/engine/mergeReadiness.ts +6 -5
  425. package/src/engine/obtainReview.ts +2 -1
  426. package/src/engine/prepareCommand.ts +1 -1
  427. package/src/engine/readOrContinueReview.ts +2 -1
  428. package/src/engine/readRetry.ts +23 -1
  429. package/src/engine/reconcileAttempt.ts +2 -1
  430. package/src/engine/recordResponseCommand.ts +38 -0
  431. package/src/engine/recoverStall.ts +1 -1
  432. package/src/engine/repository.ts +17 -16
  433. package/src/engine/saveLaunch.ts +45 -0
  434. package/src/engine/scheduler.ts +4 -6
  435. package/src/engine/views.ts +5 -0
  436. package/src/fleet.ts +4 -0
  437. package/src/host/actionCommands.ts +22 -7
  438. package/src/host/admission.ts +3 -3
  439. package/src/host/answerWork.ts +28 -27
  440. package/src/host/commands.ts +29 -8
  441. package/src/host/config.ts +46 -9
  442. package/src/host/configSettings.ts +124 -0
  443. package/src/host/daemon.ts +2 -1
  444. package/src/host/daemonClient.ts +42 -7
  445. package/src/host/daemonContract.ts +12 -4
  446. package/src/host/daemonDiagnostics.ts +11 -3
  447. package/src/host/daemonHandlers.ts +24 -7
  448. package/src/host/daemonSnapshots.ts +24 -1
  449. package/src/host/dispatchRequests.ts +53 -0
  450. package/src/host/follow.ts +1 -1
  451. package/src/host/followState.ts +6 -6
  452. package/src/host/github.ts +8 -6
  453. package/src/host/githubApi.ts +142 -0
  454. package/src/host/githubChecks.ts +6 -5
  455. package/src/host/githubDelivery.ts +47 -10
  456. package/src/host/githubRateLimit.ts +91 -0
  457. package/src/host/githubRequiredChecks.ts +2 -2
  458. package/src/host/githubResponse.ts +37 -0
  459. package/src/host/githubResult.ts +15 -17
  460. package/src/host/githubTransport.ts +31 -0
  461. package/src/host/integrations.ts +40 -0
  462. package/src/host/liveConfig.ts +134 -0
  463. package/src/host/providers.ts +4 -2
  464. package/src/host/readWaitStates.ts +8 -20
  465. package/src/host/releaseWork.ts +12 -9
  466. package/src/host/renderStatus.ts +10 -3
  467. package/src/host/reportBoard.ts +6 -3
  468. package/src/host/reportPublication.ts +6 -4
  469. package/src/host/runtime.ts +48 -56
  470. package/src/host/snapshotStream.ts +6 -1
  471. package/src/host/status.ts +24 -7
  472. package/src/host/statusLayer.ts +21 -5
  473. package/src/host/waitOutcome.ts +5 -2
  474. package/src/model.ts +6 -0
  475. package/src/packageInfo.ts +1 -1
  476. package/src/policy.ts +7 -0
  477. package/src/providers/codexCloud.ts +2 -1
  478. package/src/scheduling/admission.ts +19 -0
  479. package/src/scheduling/backPressure.ts +55 -0
  480. package/src/storage/FleetStoreOptions.ts +7 -2
  481. package/src/storage/addShapeColumns.ts +24 -0
  482. package/src/storage/dispatchStore.ts +104 -0
  483. package/src/storage/errors.ts +2 -1
  484. package/src/storage/fleetMigrations.ts +24 -17
  485. package/src/storage/listedRecords.ts +53 -0
  486. package/src/storage/makePostgresFleetStore.ts +4 -10
  487. package/src/storage/model.ts +7 -0
  488. package/src/storage/shapeV14.ts +19 -0
  489. package/dist/host/githubRead.d.ts +0 -5
  490. package/dist/host/githubRead.d.ts.map +0 -1
  491. package/dist/host/githubRead.js.map +0 -1
  492. package/dist/host/recordPayloads.d.ts +0 -4
  493. package/dist/host/recordPayloads.d.ts.map +0 -1
  494. package/dist/host/recordPayloads.js +0 -21
  495. package/dist/host/recordPayloads.js.map +0 -1
  496. package/dist/storage/migrateFleet.d.ts +0 -3
  497. package/dist/storage/migrateFleet.d.ts.map +0 -1
  498. package/dist/storage/migrateFleet.js +0 -11
  499. package/dist/storage/migrateFleet.js.map +0 -1
  500. package/src/host/githubRead.ts +0 -20
  501. package/src/host/recordPayloads.ts +0 -24
  502. package/src/storage/migrateFleet.ts +0 -11
@@ -14,6 +14,7 @@ export declare const observeDeliveryFailure: (state: {
14
14
  readonly readDecision: (decision: import("../board/schema.ts").BoardDecision) => Effect.Effect<import("../board/schema.ts").BoardDecisionReading, import("#policy.ts").BoardFailure>;
15
15
  readonly report: (work: import("#policy.ts").BoardWork, observation: import("../session/schema.ts").SessionObservation) => Effect.Effect<import("../board/schema.ts").BoardReport, import("#policy.ts").BoardFailure>;
16
16
  };
17
+ current: Effect.Effect<import("#policy.ts").FleetConfiguration, never, never>;
17
18
  decision: (stored: Versioned<{
18
19
  readonly admissionReady?: boolean | undefined;
19
20
  readonly areas?: readonly string[] | undefined;
@@ -50,6 +51,7 @@ export declare const observeDeliveryFailure: (state: {
50
51
  readonly observationRetries?: number | undefined;
51
52
  readonly operationId: string;
52
53
  readonly output?: string | undefined;
54
+ readonly overLimit?: boolean | undefined;
53
55
  readonly progress?: {
54
56
  readonly at: number;
55
57
  readonly signature: string;
@@ -120,6 +122,7 @@ export declare const observeDeliveryFailure: (state: {
120
122
  readonly context: string;
121
123
  readonly deliverable?: "report" | undefined;
122
124
  readonly dependsOn: readonly string[];
125
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
123
126
  readonly revision: string;
124
127
  readonly sourcePath: string;
125
128
  readonly status?: string | undefined;
@@ -145,6 +148,9 @@ export declare const observeDeliveryFailure: (state: {
145
148
  readonly decisionAcknowledged?: boolean | undefined;
146
149
  readonly decisionPublished?: boolean | undefined;
147
150
  readonly deliverable?: "report" | undefined;
151
+ readonly dispatchNow?: {
152
+ readonly ignoreAreas: boolean;
153
+ } | undefined;
148
154
  readonly integrationRetry?: {
149
155
  readonly error: string;
150
156
  readonly failures: number;
@@ -315,6 +321,7 @@ export declare const observeDeliveryFailure: (state: {
315
321
  readonly observationRetries?: number | undefined;
316
322
  readonly operationId: string;
317
323
  readonly output?: string | undefined;
324
+ readonly overLimit?: boolean | undefined;
318
325
  readonly progress?: {
319
326
  readonly at: number;
320
327
  readonly signature: string;
@@ -385,6 +392,7 @@ export declare const observeDeliveryFailure: (state: {
385
392
  readonly context: string;
386
393
  readonly deliverable?: "report" | undefined;
387
394
  readonly dependsOn: readonly string[];
395
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
388
396
  readonly revision: string;
389
397
  readonly sourcePath: string;
390
398
  readonly status?: string | undefined;
@@ -410,6 +418,9 @@ export declare const observeDeliveryFailure: (state: {
410
418
  readonly decisionAcknowledged?: boolean | undefined;
411
419
  readonly decisionPublished?: boolean | undefined;
412
420
  readonly deliverable?: "report" | undefined;
421
+ readonly dispatchNow?: {
422
+ readonly ignoreAreas: boolean;
423
+ } | undefined;
413
424
  readonly integrationRetry?: {
414
425
  readonly error: string;
415
426
  readonly failures: number;
@@ -556,6 +567,7 @@ export declare const observeDeliveryFailure: (state: {
556
567
  readonly context: string;
557
568
  readonly deliverable?: "report" | undefined;
558
569
  readonly dependsOn: readonly string[];
570
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
559
571
  readonly revision: string;
560
572
  readonly sourcePath: string;
561
573
  readonly status?: string | undefined;
@@ -597,6 +609,7 @@ export declare const observeDeliveryFailure: (state: {
597
609
  readonly observationRetries?: number | undefined;
598
610
  readonly operationId: string;
599
611
  readonly output?: string | undefined;
612
+ readonly overLimit?: boolean | undefined;
600
613
  readonly progress?: {
601
614
  readonly at: number;
602
615
  readonly signature: string;
@@ -667,6 +680,7 @@ export declare const observeDeliveryFailure: (state: {
667
680
  readonly context: string;
668
681
  readonly deliverable?: "report" | undefined;
669
682
  readonly dependsOn: readonly string[];
683
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
670
684
  readonly revision: string;
671
685
  readonly sourcePath: string;
672
686
  readonly status?: string | undefined;
@@ -692,6 +706,9 @@ export declare const observeDeliveryFailure: (state: {
692
706
  readonly decisionAcknowledged?: boolean | undefined;
693
707
  readonly decisionPublished?: boolean | undefined;
694
708
  readonly deliverable?: "report" | undefined;
709
+ readonly dispatchNow?: {
710
+ readonly ignoreAreas: boolean;
711
+ } | undefined;
695
712
  readonly integrationRetry?: {
696
713
  readonly error: string;
697
714
  readonly failures: number;
@@ -862,6 +879,7 @@ export declare const observeDeliveryFailure: (state: {
862
879
  readonly observationRetries?: number | undefined;
863
880
  readonly operationId: string;
864
881
  readonly output?: string | undefined;
882
+ readonly overLimit?: boolean | undefined;
865
883
  readonly progress?: {
866
884
  readonly at: number;
867
885
  readonly signature: string;
@@ -932,6 +950,7 @@ export declare const observeDeliveryFailure: (state: {
932
950
  readonly context: string;
933
951
  readonly deliverable?: "report" | undefined;
934
952
  readonly dependsOn: readonly string[];
953
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
935
954
  readonly revision: string;
936
955
  readonly sourcePath: string;
937
956
  readonly status?: string | undefined;
@@ -957,6 +976,9 @@ export declare const observeDeliveryFailure: (state: {
957
976
  readonly decisionAcknowledged?: boolean | undefined;
958
977
  readonly decisionPublished?: boolean | undefined;
959
978
  readonly deliverable?: "report" | undefined;
979
+ readonly dispatchNow?: {
980
+ readonly ignoreAreas: boolean;
981
+ } | undefined;
960
982
  readonly integrationRetry?: {
961
983
  readonly error: string;
962
984
  readonly failures: number;
@@ -1142,6 +1164,7 @@ export declare const observeDeliveryFailure: (state: {
1142
1164
  readonly observationRetries?: number | undefined;
1143
1165
  readonly operationId: string;
1144
1166
  readonly output?: string | undefined;
1167
+ readonly overLimit?: boolean | undefined;
1145
1168
  readonly progress?: {
1146
1169
  readonly at: number;
1147
1170
  readonly signature: string;
@@ -1212,6 +1235,7 @@ export declare const observeDeliveryFailure: (state: {
1212
1235
  readonly context: string;
1213
1236
  readonly deliverable?: "report" | undefined;
1214
1237
  readonly dependsOn: readonly string[];
1238
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
1215
1239
  readonly revision: string;
1216
1240
  readonly sourcePath: string;
1217
1241
  readonly status?: string | undefined;
@@ -1237,6 +1261,9 @@ export declare const observeDeliveryFailure: (state: {
1237
1261
  readonly decisionAcknowledged?: boolean | undefined;
1238
1262
  readonly decisionPublished?: boolean | undefined;
1239
1263
  readonly deliverable?: "report" | undefined;
1264
+ readonly dispatchNow?: {
1265
+ readonly ignoreAreas: boolean;
1266
+ } | undefined;
1240
1267
  readonly integrationRetry?: {
1241
1268
  readonly error: string;
1242
1269
  readonly failures: number;
@@ -1407,6 +1434,7 @@ export declare const observeDeliveryFailure: (state: {
1407
1434
  readonly observationRetries?: number | undefined;
1408
1435
  readonly operationId: string;
1409
1436
  readonly output?: string | undefined;
1437
+ readonly overLimit?: boolean | undefined;
1410
1438
  readonly progress?: {
1411
1439
  readonly at: number;
1412
1440
  readonly signature: string;
@@ -1477,6 +1505,7 @@ export declare const observeDeliveryFailure: (state: {
1477
1505
  readonly context: string;
1478
1506
  readonly deliverable?: "report" | undefined;
1479
1507
  readonly dependsOn: readonly string[];
1508
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
1480
1509
  readonly revision: string;
1481
1510
  readonly sourcePath: string;
1482
1511
  readonly status?: string | undefined;
@@ -1502,6 +1531,9 @@ export declare const observeDeliveryFailure: (state: {
1502
1531
  readonly decisionAcknowledged?: boolean | undefined;
1503
1532
  readonly decisionPublished?: boolean | undefined;
1504
1533
  readonly deliverable?: "report" | undefined;
1534
+ readonly dispatchNow?: {
1535
+ readonly ignoreAreas: boolean;
1536
+ } | undefined;
1505
1537
  readonly integrationRetry?: {
1506
1538
  readonly error: string;
1507
1539
  readonly failures: number;
@@ -1646,14 +1678,7 @@ export declare const observeDeliveryFailure: (state: {
1646
1678
  reportInspection: import("effect/Option").Option<{
1647
1679
  readonly check: (work: import("#policy.ts").BoardWork) => Effect.Effect<void, FleetError>;
1648
1680
  }>;
1649
- save: (stored: Versioned<FleetRecord>, value: FleetRecord, admission?: {
1650
- readonly role: import("#model.ts").Attempt["role"];
1651
- readonly quota: {
1652
- readonly available?: number;
1653
- readonly observedAt: number;
1654
- readonly expiresAt: number;
1655
- };
1656
- }) => Effect.Effect<{
1681
+ save: (stored: Versioned<FleetRecord>, value: FleetRecord, admission?: import("#engine/makeState.ts").LaunchAdmission) => Effect.Effect<{
1657
1682
  value: {
1658
1683
  readonly admissionReady?: boolean | undefined;
1659
1684
  readonly areas?: readonly string[] | undefined;
@@ -1690,6 +1715,7 @@ export declare const observeDeliveryFailure: (state: {
1690
1715
  readonly observationRetries?: number | undefined;
1691
1716
  readonly operationId: string;
1692
1717
  readonly output?: string | undefined;
1718
+ readonly overLimit?: boolean | undefined;
1693
1719
  readonly progress?: {
1694
1720
  readonly at: number;
1695
1721
  readonly signature: string;
@@ -1760,6 +1786,7 @@ export declare const observeDeliveryFailure: (state: {
1760
1786
  readonly context: string;
1761
1787
  readonly deliverable?: "report" | undefined;
1762
1788
  readonly dependsOn: readonly string[];
1789
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
1763
1790
  readonly revision: string;
1764
1791
  readonly sourcePath: string;
1765
1792
  readonly status?: string | undefined;
@@ -1785,6 +1812,9 @@ export declare const observeDeliveryFailure: (state: {
1785
1812
  readonly decisionAcknowledged?: boolean | undefined;
1786
1813
  readonly decisionPublished?: boolean | undefined;
1787
1814
  readonly deliverable?: "report" | undefined;
1815
+ readonly dispatchNow?: {
1816
+ readonly ignoreAreas: boolean;
1817
+ } | undefined;
1788
1818
  readonly integrationRetry?: {
1789
1819
  readonly error: string;
1790
1820
  readonly failures: number;
@@ -1955,6 +1985,7 @@ export declare const observeDeliveryFailure: (state: {
1955
1985
  readonly observationRetries?: number | undefined;
1956
1986
  readonly operationId: string;
1957
1987
  readonly output?: string | undefined;
1988
+ readonly overLimit?: boolean | undefined;
1958
1989
  readonly progress?: {
1959
1990
  readonly at: number;
1960
1991
  readonly signature: string;
@@ -2025,6 +2056,7 @@ export declare const observeDeliveryFailure: (state: {
2025
2056
  readonly context: string;
2026
2057
  readonly deliverable?: "report" | undefined;
2027
2058
  readonly dependsOn: readonly string[];
2059
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
2028
2060
  readonly revision: string;
2029
2061
  readonly sourcePath: string;
2030
2062
  readonly status?: string | undefined;
@@ -2050,6 +2082,9 @@ export declare const observeDeliveryFailure: (state: {
2050
2082
  readonly decisionAcknowledged?: boolean | undefined;
2051
2083
  readonly decisionPublished?: boolean | undefined;
2052
2084
  readonly deliverable?: "report" | undefined;
2085
+ readonly dispatchNow?: {
2086
+ readonly ignoreAreas: boolean;
2087
+ } | undefined;
2053
2088
  readonly integrationRetry?: {
2054
2089
  readonly error: string;
2055
2090
  readonly failures: number;
@@ -2316,6 +2351,7 @@ export declare const observeDeliveryFailure: (state: {
2316
2351
  readonly observationRetries?: number | undefined;
2317
2352
  readonly operationId: string;
2318
2353
  readonly output?: string | undefined;
2354
+ readonly overLimit?: boolean | undefined;
2319
2355
  readonly progress?: {
2320
2356
  readonly at: number;
2321
2357
  readonly signature: string;
@@ -2386,6 +2422,7 @@ export declare const observeDeliveryFailure: (state: {
2386
2422
  readonly context: string;
2387
2423
  readonly deliverable?: "report" | undefined;
2388
2424
  readonly dependsOn: readonly string[];
2425
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
2389
2426
  readonly revision: string;
2390
2427
  readonly sourcePath: string;
2391
2428
  readonly status?: string | undefined;
@@ -2411,6 +2448,9 @@ export declare const observeDeliveryFailure: (state: {
2411
2448
  readonly decisionAcknowledged?: boolean | undefined;
2412
2449
  readonly decisionPublished?: boolean | undefined;
2413
2450
  readonly deliverable?: "report" | undefined;
2451
+ readonly dispatchNow?: {
2452
+ readonly ignoreAreas: boolean;
2453
+ } | undefined;
2414
2454
  readonly integrationRetry?: {
2415
2455
  readonly error: string;
2416
2456
  readonly failures: number;
@@ -2581,6 +2621,7 @@ export declare const observeDeliveryFailure: (state: {
2581
2621
  readonly observationRetries?: number | undefined;
2582
2622
  readonly operationId: string;
2583
2623
  readonly output?: string | undefined;
2624
+ readonly overLimit?: boolean | undefined;
2584
2625
  readonly progress?: {
2585
2626
  readonly at: number;
2586
2627
  readonly signature: string;
@@ -2651,6 +2692,7 @@ export declare const observeDeliveryFailure: (state: {
2651
2692
  readonly context: string;
2652
2693
  readonly deliverable?: "report" | undefined;
2653
2694
  readonly dependsOn: readonly string[];
2695
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
2654
2696
  readonly revision: string;
2655
2697
  readonly sourcePath: string;
2656
2698
  readonly status?: string | undefined;
@@ -2676,6 +2718,9 @@ export declare const observeDeliveryFailure: (state: {
2676
2718
  readonly decisionAcknowledged?: boolean | undefined;
2677
2719
  readonly decisionPublished?: boolean | undefined;
2678
2720
  readonly deliverable?: "report" | undefined;
2721
+ readonly dispatchNow?: {
2722
+ readonly ignoreAreas: boolean;
2723
+ } | undefined;
2679
2724
  readonly integrationRetry?: {
2680
2725
  readonly error: string;
2681
2726
  readonly failures: number;
@@ -2850,6 +2895,7 @@ export declare const observeDeliveryFailure: (state: {
2850
2895
  readonly observationRetries?: number | undefined;
2851
2896
  readonly operationId: string;
2852
2897
  readonly output?: string | undefined;
2898
+ readonly overLimit?: boolean | undefined;
2853
2899
  readonly progress?: {
2854
2900
  readonly at: number;
2855
2901
  readonly signature: string;
@@ -2920,6 +2966,7 @@ export declare const observeDeliveryFailure: (state: {
2920
2966
  readonly context: string;
2921
2967
  readonly deliverable?: "report" | undefined;
2922
2968
  readonly dependsOn: readonly string[];
2969
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
2923
2970
  readonly revision: string;
2924
2971
  readonly sourcePath: string;
2925
2972
  readonly status?: string | undefined;
@@ -2945,6 +2992,9 @@ export declare const observeDeliveryFailure: (state: {
2945
2992
  readonly decisionAcknowledged?: boolean | undefined;
2946
2993
  readonly decisionPublished?: boolean | undefined;
2947
2994
  readonly deliverable?: "report" | undefined;
2995
+ readonly dispatchNow?: {
2996
+ readonly ignoreAreas: boolean;
2997
+ } | undefined;
2948
2998
  readonly integrationRetry?: {
2949
2999
  readonly error: string;
2950
3000
  readonly failures: number;
@@ -3115,6 +3165,7 @@ export declare const observeDeliveryFailure: (state: {
3115
3165
  readonly observationRetries?: number | undefined;
3116
3166
  readonly operationId: string;
3117
3167
  readonly output?: string | undefined;
3168
+ readonly overLimit?: boolean | undefined;
3118
3169
  readonly progress?: {
3119
3170
  readonly at: number;
3120
3171
  readonly signature: string;
@@ -3185,6 +3236,7 @@ export declare const observeDeliveryFailure: (state: {
3185
3236
  readonly context: string;
3186
3237
  readonly deliverable?: "report" | undefined;
3187
3238
  readonly dependsOn: readonly string[];
3239
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
3188
3240
  readonly revision: string;
3189
3241
  readonly sourcePath: string;
3190
3242
  readonly status?: string | undefined;
@@ -3210,6 +3262,9 @@ export declare const observeDeliveryFailure: (state: {
3210
3262
  readonly decisionAcknowledged?: boolean | undefined;
3211
3263
  readonly decisionPublished?: boolean | undefined;
3212
3264
  readonly deliverable?: "report" | undefined;
3265
+ readonly dispatchNow?: {
3266
+ readonly ignoreAreas: boolean;
3267
+ } | undefined;
3213
3268
  readonly integrationRetry?: {
3214
3269
  readonly error: string;
3215
3270
  readonly failures: number;
@@ -3351,7 +3406,6 @@ export declare const observeDeliveryFailure: (state: {
3351
3406
  version: number;
3352
3407
  }, 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>;
3353
3408
  hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
3354
- initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
3355
3409
  insert: (record: {
3356
3410
  readonly admissionReady?: boolean | undefined;
3357
3411
  readonly areas?: readonly string[] | undefined;
@@ -3388,6 +3442,7 @@ export declare const observeDeliveryFailure: (state: {
3388
3442
  readonly observationRetries?: number | undefined;
3389
3443
  readonly operationId: string;
3390
3444
  readonly output?: string | undefined;
3445
+ readonly overLimit?: boolean | undefined;
3391
3446
  readonly progress?: {
3392
3447
  readonly at: number;
3393
3448
  readonly signature: string;
@@ -3458,6 +3513,7 @@ export declare const observeDeliveryFailure: (state: {
3458
3513
  readonly context: string;
3459
3514
  readonly deliverable?: "report" | undefined;
3460
3515
  readonly dependsOn: readonly string[];
3516
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
3461
3517
  readonly revision: string;
3462
3518
  readonly sourcePath: string;
3463
3519
  readonly status?: string | undefined;
@@ -3483,6 +3539,9 @@ export declare const observeDeliveryFailure: (state: {
3483
3539
  readonly decisionAcknowledged?: boolean | undefined;
3484
3540
  readonly decisionPublished?: boolean | undefined;
3485
3541
  readonly deliverable?: "report" | undefined;
3542
+ readonly dispatchNow?: {
3543
+ readonly ignoreAreas: boolean;
3544
+ } | undefined;
3486
3545
  readonly integrationRetry?: {
3487
3546
  readonly error: string;
3488
3547
  readonly failures: number;
@@ -3653,6 +3712,7 @@ export declare const observeDeliveryFailure: (state: {
3653
3712
  readonly observationRetries?: number | undefined;
3654
3713
  readonly operationId: string;
3655
3714
  readonly output?: string | undefined;
3715
+ readonly overLimit?: boolean | undefined;
3656
3716
  readonly progress?: {
3657
3717
  readonly at: number;
3658
3718
  readonly signature: string;
@@ -3723,6 +3783,7 @@ export declare const observeDeliveryFailure: (state: {
3723
3783
  readonly context: string;
3724
3784
  readonly deliverable?: "report" | undefined;
3725
3785
  readonly dependsOn: readonly string[];
3786
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
3726
3787
  readonly revision: string;
3727
3788
  readonly sourcePath: string;
3728
3789
  readonly status?: string | undefined;
@@ -3748,6 +3809,9 @@ export declare const observeDeliveryFailure: (state: {
3748
3809
  readonly decisionAcknowledged?: boolean | undefined;
3749
3810
  readonly decisionPublished?: boolean | undefined;
3750
3811
  readonly deliverable?: "report" | undefined;
3812
+ readonly dispatchNow?: {
3813
+ readonly ignoreAreas: boolean;
3814
+ } | undefined;
3751
3815
  readonly integrationRetry?: {
3752
3816
  readonly error: string;
3753
3817
  readonly failures: number;
@@ -3922,6 +3986,7 @@ export declare const observeDeliveryFailure: (state: {
3922
3986
  readonly observationRetries?: number | undefined;
3923
3987
  readonly operationId: string;
3924
3988
  readonly output?: string | undefined;
3989
+ readonly overLimit?: boolean | undefined;
3925
3990
  readonly progress?: {
3926
3991
  readonly at: number;
3927
3992
  readonly signature: string;
@@ -3992,6 +4057,7 @@ export declare const observeDeliveryFailure: (state: {
3992
4057
  readonly context: string;
3993
4058
  readonly deliverable?: "report" | undefined;
3994
4059
  readonly dependsOn: readonly string[];
4060
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
3995
4061
  readonly revision: string;
3996
4062
  readonly sourcePath: string;
3997
4063
  readonly status?: string | undefined;
@@ -4017,6 +4083,9 @@ export declare const observeDeliveryFailure: (state: {
4017
4083
  readonly decisionAcknowledged?: boolean | undefined;
4018
4084
  readonly decisionPublished?: boolean | undefined;
4019
4085
  readonly deliverable?: "report" | undefined;
4086
+ readonly dispatchNow?: {
4087
+ readonly ignoreAreas: boolean;
4088
+ } | undefined;
4020
4089
  readonly integrationRetry?: {
4021
4090
  readonly error: string;
4022
4091
  readonly failures: number;
@@ -4187,6 +4256,7 @@ export declare const observeDeliveryFailure: (state: {
4187
4256
  readonly observationRetries?: number | undefined;
4188
4257
  readonly operationId: string;
4189
4258
  readonly output?: string | undefined;
4259
+ readonly overLimit?: boolean | undefined;
4190
4260
  readonly progress?: {
4191
4261
  readonly at: number;
4192
4262
  readonly signature: string;
@@ -4257,6 +4327,7 @@ export declare const observeDeliveryFailure: (state: {
4257
4327
  readonly context: string;
4258
4328
  readonly deliverable?: "report" | undefined;
4259
4329
  readonly dependsOn: readonly string[];
4330
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
4260
4331
  readonly revision: string;
4261
4332
  readonly sourcePath: string;
4262
4333
  readonly status?: string | undefined;
@@ -4282,6 +4353,9 @@ export declare const observeDeliveryFailure: (state: {
4282
4353
  readonly decisionAcknowledged?: boolean | undefined;
4283
4354
  readonly decisionPublished?: boolean | undefined;
4284
4355
  readonly deliverable?: "report" | undefined;
4356
+ readonly dispatchNow?: {
4357
+ readonly ignoreAreas: boolean;
4358
+ } | undefined;
4285
4359
  readonly integrationRetry?: {
4286
4360
  readonly error: string;
4287
4361
  readonly failures: number;
@@ -4422,543 +4496,550 @@ export declare const observeDeliveryFailure: (state: {
4422
4496
  };
4423
4497
  version: number;
4424
4498
  }, 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>;
4425
- list: () => Effect.Effect<{
4426
- value: {
4427
- readonly admissionReady?: boolean | undefined;
4428
- readonly areas?: readonly string[] | undefined;
4429
- readonly attempts: readonly {
4430
- readonly abandoned?: {
4431
- readonly at: number;
4432
- readonly interruptError?: string | undefined;
4433
- readonly observation?: {
4434
- readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4435
- readonly error?: string | undefined;
4436
- readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4437
- readonly output: string;
4438
- readonly progress?: readonly {
4439
- readonly id: string;
4440
- readonly status?: string | undefined;
4441
- }[] | undefined;
4442
- readonly provisioning: "ready" | "unknown";
4443
- readonly receipt: {
4444
- readonly sessionId: string;
4445
- readonly turnId: string;
4446
- };
4447
- readonly turnMissing?: boolean | undefined;
4448
- } | undefined;
4449
- readonly observationError?: string | undefined;
4450
- } | undefined;
4451
- readonly briefSteers?: readonly {
4499
+ list: () => Effect.Effect<Versioned<{
4500
+ readonly admissionReady?: boolean | undefined;
4501
+ readonly areas?: readonly string[] | undefined;
4502
+ readonly attempts: readonly {
4503
+ readonly abandoned?: {
4504
+ readonly at: number;
4505
+ readonly interruptError?: string | undefined;
4506
+ readonly observation?: {
4507
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4452
4508
  readonly error?: string | undefined;
4453
- readonly requestedAt: number;
4454
- readonly revision: string;
4455
- readonly steeredAt?: number | undefined;
4456
- }[] | undefined;
4457
- readonly checkFailures?: readonly string[] | undefined;
4458
- readonly missingSince?: number | undefined;
4459
- readonly observationRetries?: number | undefined;
4460
- readonly operationId: string;
4461
- readonly output?: string | undefined;
4462
- readonly progress?: {
4463
- readonly at: number;
4464
- readonly signature: string;
4465
- } | undefined;
4466
- readonly prompt?: string | undefined;
4467
- readonly providerFailures?: number | undefined;
4468
- readonly readRetry?: {
4469
- readonly error: string;
4470
- readonly failures: number;
4471
- readonly retryAt: number;
4472
- } | undefined;
4473
- readonly receipt?: {
4474
- readonly sessionId: string;
4475
- readonly turnId: string;
4476
- } | undefined;
4477
- readonly reviewHead?: string | undefined;
4478
- readonly reviewRevision?: string | undefined;
4479
- readonly role: "repair" | "reviewer" | "worker";
4480
- readonly sessionCleanupComplete?: boolean | undefined;
4481
- readonly sessionId?: string | undefined;
4482
- readonly sessionUnusable?: boolean | undefined;
4483
- readonly settings?: {
4484
- readonly effort?: string | undefined;
4485
- readonly model?: string | undefined;
4486
- readonly serviceTier?: string | undefined;
4487
- } | undefined;
4488
- readonly stallRecovery?: {
4489
- readonly count: number;
4490
- readonly interruptedAt?: number | undefined;
4491
- readonly interruptRequestedAt?: number | undefined;
4492
- readonly lastActionAt: number;
4493
- readonly steeredAt?: number | undefined;
4509
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4510
+ readonly output: string;
4511
+ readonly progress?: readonly {
4512
+ readonly id: string;
4513
+ readonly status?: string | undefined;
4514
+ }[] | undefined;
4515
+ readonly provisioning: "ready" | "unknown";
4516
+ readonly receipt: {
4517
+ readonly sessionId: string;
4518
+ readonly turnId: string;
4519
+ };
4520
+ readonly turnMissing?: boolean | undefined;
4494
4521
  } | undefined;
4495
- readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
4496
- readonly submissionTimedOut?: boolean | undefined;
4497
- readonly submissionUncertain?: boolean | undefined;
4498
- readonly submittedAt: number;
4499
- readonly terminalReceipts?: readonly {
4500
- readonly sessionId: string;
4501
- readonly turnId: string;
4502
- }[] | undefined;
4503
- }[];
4504
- readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
4505
- readonly blocker?: string | undefined;
4506
- readonly boardContext?: string | undefined;
4507
- readonly boardRevision: string;
4508
- readonly boardSourcePath?: string | undefined;
4509
- readonly checks?: {
4510
- readonly evidence: readonly string[];
4511
- readonly failedChecks?: readonly string[] | undefined;
4512
- readonly head: string;
4513
- readonly passed: boolean;
4514
- readonly pending?: boolean | undefined;
4515
- readonly repairPrompt?: string | undefined;
4522
+ readonly observationError?: string | undefined;
4516
4523
  } | undefined;
4517
- readonly completedAt?: number | undefined;
4518
- readonly conflictRepairs?: readonly string[] | undefined;
4519
- readonly cwd: string;
4520
- readonly decision?: {
4521
- readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
4522
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4523
- readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
4524
- readonly id: string;
4525
- readonly links: readonly string[];
4526
- readonly publicationWork?: {
4527
- readonly approved: boolean;
4528
- readonly areas?: readonly string[] | undefined;
4529
- readonly context: string;
4530
- readonly deliverable?: "report" | undefined;
4531
- readonly dependsOn: readonly string[];
4532
- readonly revision: string;
4533
- readonly sourcePath: string;
4534
- readonly status?: string | undefined;
4535
- readonly workId: string;
4536
- } | undefined;
4537
- readonly published?: {
4538
- readonly itemId: string;
4539
- readonly questionId: string;
4540
- readonly request: string;
4541
- readonly revision: string;
4542
- readonly sourcePath: string;
4543
- readonly workId: string;
4544
- readonly workRevision: string;
4545
- readonly workSourcePath: string;
4546
- } | undefined;
4547
- readonly reason: string;
4548
- readonly recommendation: string;
4549
- readonly worker?: {
4550
- readonly sessionId: string;
4551
- readonly turnId: string;
4552
- } | undefined;
4524
+ readonly briefSteers?: readonly {
4525
+ readonly error?: string | undefined;
4526
+ readonly requestedAt: number;
4527
+ readonly revision: string;
4528
+ readonly steeredAt?: number | undefined;
4529
+ }[] | undefined;
4530
+ readonly checkFailures?: readonly string[] | undefined;
4531
+ readonly missingSince?: number | undefined;
4532
+ readonly observationRetries?: number | undefined;
4533
+ readonly operationId: string;
4534
+ readonly output?: string | undefined;
4535
+ readonly overLimit?: boolean | undefined;
4536
+ readonly progress?: {
4537
+ readonly at: number;
4538
+ readonly signature: string;
4553
4539
  } | undefined;
4554
- readonly decisionAcknowledged?: boolean | undefined;
4555
- readonly decisionPublished?: boolean | undefined;
4556
- readonly deliverable?: "report" | undefined;
4557
- readonly integrationRetry?: {
4540
+ readonly prompt?: string | undefined;
4541
+ readonly providerFailures?: number | undefined;
4542
+ readonly readRetry?: {
4558
4543
  readonly error: string;
4559
4544
  readonly failures: number;
4560
4545
  readonly retryAt: number;
4561
4546
  } | undefined;
4562
- readonly launch?: {
4547
+ readonly receipt?: {
4548
+ readonly sessionId: string;
4549
+ readonly turnId: string;
4550
+ } | undefined;
4551
+ readonly reviewHead?: string | undefined;
4552
+ readonly reviewRevision?: string | undefined;
4553
+ readonly role: "repair" | "reviewer" | "worker";
4554
+ readonly sessionCleanupComplete?: boolean | undefined;
4555
+ readonly sessionId?: string | undefined;
4556
+ readonly sessionUnusable?: boolean | undefined;
4557
+ readonly settings?: {
4563
4558
  readonly effort?: string | undefined;
4564
4559
  readonly model?: string | undefined;
4565
4560
  readonly serviceTier?: string | undefined;
4566
4561
  } | undefined;
4567
- readonly launchRetry?: {
4568
- readonly prompt?: string | undefined;
4569
- readonly rejectedAt: number;
4570
- readonly rejections: number;
4571
- readonly retryAt: number;
4562
+ readonly stallRecovery?: {
4563
+ readonly count: number;
4564
+ readonly interruptedAt?: number | undefined;
4565
+ readonly interruptRequestedAt?: number | undefined;
4566
+ readonly lastActionAt: number;
4567
+ readonly steeredAt?: number | undefined;
4572
4568
  } | undefined;
4573
- readonly mergeAreasReleased?: boolean | undefined;
4574
- readonly mergeReadyAt?: number | undefined;
4575
- readonly mergeReadyHead?: string | undefined;
4576
- readonly outcome?: {
4577
- readonly head: string;
4569
+ readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
4570
+ readonly submissionTimedOut?: boolean | undefined;
4571
+ readonly submissionUncertain?: boolean | undefined;
4572
+ readonly submittedAt: number;
4573
+ readonly terminalReceipts?: readonly {
4574
+ readonly sessionId: string;
4575
+ readonly turnId: string;
4576
+ }[] | undefined;
4577
+ }[];
4578
+ readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
4579
+ readonly blocker?: string | undefined;
4580
+ readonly boardContext?: string | undefined;
4581
+ readonly boardRevision: string;
4582
+ readonly boardSourcePath?: string | undefined;
4583
+ readonly checks?: {
4584
+ readonly evidence: readonly string[];
4585
+ readonly failedChecks?: readonly string[] | undefined;
4586
+ readonly head: string;
4587
+ readonly passed: boolean;
4588
+ readonly pending?: boolean | undefined;
4589
+ readonly repairPrompt?: string | undefined;
4590
+ } | undefined;
4591
+ readonly completedAt?: number | undefined;
4592
+ readonly conflictRepairs?: readonly string[] | undefined;
4593
+ readonly cwd: string;
4594
+ readonly decision?: {
4595
+ readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
4596
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4597
+ readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
4598
+ readonly id: string;
4599
+ readonly links: readonly string[];
4600
+ readonly publicationWork?: {
4601
+ readonly approved: boolean;
4602
+ readonly areas?: readonly string[] | undefined;
4603
+ readonly context: string;
4604
+ readonly deliverable?: "report" | undefined;
4605
+ readonly dependsOn: readonly string[];
4606
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
4578
4607
  readonly revision: string;
4579
- readonly url: string;
4580
- } | {
4581
- readonly evidence: readonly string[];
4608
+ readonly sourcePath: string;
4609
+ readonly status?: string | undefined;
4610
+ readonly workId: string;
4582
4611
  } | undefined;
4583
- readonly pendingAnswers?: readonly string[] | undefined;
4584
- readonly preparation: {
4585
- readonly baselinePaths: readonly string[];
4586
- readonly baseRevision: string;
4587
- readonly configuration: readonly {
4588
- readonly path: string;
4589
- readonly relevantKeys: readonly string[];
4590
- }[];
4591
- readonly contextComplete: boolean;
4592
- readonly dependencyPaths: readonly string[];
4593
- readonly observedAt: number;
4594
- readonly ownedPaths: readonly string[];
4595
- readonly qualityPaths: readonly string[];
4596
- readonly setupPaths: readonly string[];
4597
- readonly sourcePaths: readonly string[];
4598
- readonly validation: readonly {
4599
- readonly command: string;
4600
- readonly revision: string;
4601
- }[];
4602
- };
4603
- readonly prompt: string;
4604
- readonly releaseReason?: string | undefined;
4605
- readonly report?: {
4612
+ readonly published?: {
4606
4613
  readonly itemId: string;
4607
- readonly receipt: {
4608
- readonly sessionId: string;
4609
- readonly turnId: string;
4610
- };
4614
+ readonly questionId: string;
4615
+ readonly request: string;
4611
4616
  readonly revision: string;
4612
4617
  readonly sourcePath: string;
4618
+ readonly workId: string;
4613
4619
  readonly workRevision: string;
4620
+ readonly workSourcePath: string;
4614
4621
  } | undefined;
4615
- readonly responses?: readonly {
4616
- readonly action?: "continue" | "release" | "retry" | undefined;
4617
- readonly boardAcknowledged?: boolean | undefined;
4618
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4619
- readonly decisionId: string;
4620
- readonly processedAt: number;
4621
- readonly published?: {
4622
- readonly itemId: string;
4623
- readonly questionId: string;
4624
- readonly request: string;
4625
- readonly revision: string;
4626
- readonly sourcePath: string;
4627
- readonly workId: string;
4628
- readonly workRevision: string;
4629
- readonly workSourcePath: string;
4630
- } | undefined;
4622
+ readonly reason: string;
4623
+ readonly recommendation: string;
4624
+ readonly worker?: {
4625
+ readonly sessionId: string;
4626
+ readonly turnId: string;
4627
+ } | undefined;
4628
+ } | undefined;
4629
+ readonly decisionAcknowledged?: boolean | undefined;
4630
+ readonly decisionPublished?: boolean | undefined;
4631
+ readonly deliverable?: "report" | undefined;
4632
+ readonly dispatchNow?: {
4633
+ readonly ignoreAreas: boolean;
4634
+ } | undefined;
4635
+ readonly integrationRetry?: {
4636
+ readonly error: string;
4637
+ readonly failures: number;
4638
+ readonly retryAt: number;
4639
+ } | undefined;
4640
+ readonly launch?: {
4641
+ readonly effort?: string | undefined;
4642
+ readonly model?: string | undefined;
4643
+ readonly serviceTier?: string | undefined;
4644
+ } | undefined;
4645
+ readonly launchRetry?: {
4646
+ readonly prompt?: string | undefined;
4647
+ readonly rejectedAt: number;
4648
+ readonly rejections: number;
4649
+ readonly retryAt: number;
4650
+ } | undefined;
4651
+ readonly mergeAreasReleased?: boolean | undefined;
4652
+ readonly mergeReadyAt?: number | undefined;
4653
+ readonly mergeReadyHead?: string | undefined;
4654
+ readonly outcome?: {
4655
+ readonly head: string;
4656
+ readonly revision: string;
4657
+ readonly url: string;
4658
+ } | {
4659
+ readonly evidence: readonly string[];
4660
+ } | undefined;
4661
+ readonly pendingAnswers?: readonly string[] | undefined;
4662
+ readonly preparation: {
4663
+ readonly baselinePaths: readonly string[];
4664
+ readonly baseRevision: string;
4665
+ readonly configuration: readonly {
4666
+ readonly path: string;
4667
+ readonly relevantKeys: readonly string[];
4668
+ }[];
4669
+ readonly contextComplete: boolean;
4670
+ readonly dependencyPaths: readonly string[];
4671
+ readonly observedAt: number;
4672
+ readonly ownedPaths: readonly string[];
4673
+ readonly qualityPaths: readonly string[];
4674
+ readonly setupPaths: readonly string[];
4675
+ readonly sourcePaths: readonly string[];
4676
+ readonly validation: readonly {
4677
+ readonly command: string;
4678
+ readonly revision: string;
4679
+ }[];
4680
+ };
4681
+ readonly prompt: string;
4682
+ readonly releaseReason?: string | undefined;
4683
+ readonly report?: {
4684
+ readonly itemId: string;
4685
+ readonly receipt: {
4686
+ readonly sessionId: string;
4687
+ readonly turnId: string;
4688
+ };
4689
+ readonly revision: string;
4690
+ readonly sourcePath: string;
4691
+ readonly workRevision: string;
4692
+ } | undefined;
4693
+ readonly responses?: readonly {
4694
+ readonly action?: "continue" | "release" | "retry" | undefined;
4695
+ readonly boardAcknowledged?: boolean | undefined;
4696
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4697
+ readonly decisionId: string;
4698
+ readonly processedAt: number;
4699
+ readonly published?: {
4700
+ readonly itemId: string;
4631
4701
  readonly questionId: string;
4632
- readonly questionRevision: string;
4633
- readonly responseId: string;
4634
- readonly type: "answer" | "clarify" | "not_now";
4635
- }[] | undefined;
4636
- readonly result?: {
4637
- readonly head: string;
4638
- readonly kind: "change";
4639
- readonly paths: readonly string[];
4640
- readonly pr: string;
4641
- readonly prNumber?: number | undefined;
4642
- } | {
4643
- readonly evidence: readonly string[];
4644
- readonly head: string;
4645
- readonly kind: "no-change";
4702
+ readonly request: string;
4703
+ readonly revision: string;
4704
+ readonly sourcePath: string;
4705
+ readonly workId: string;
4706
+ readonly workRevision: string;
4707
+ readonly workSourcePath: string;
4646
4708
  } | undefined;
4647
- readonly resultObservations?: readonly ({
4648
- readonly head: string;
4649
- readonly kind: "change";
4650
- readonly paths: readonly string[];
4651
- readonly pr: string;
4652
- readonly prNumber?: number | undefined;
4653
- } | {
4654
- readonly evidence: readonly string[];
4655
- readonly head: string;
4656
- readonly kind: "no-change";
4657
- })[] | undefined;
4658
- readonly review?: {
4659
- readonly evidence: readonly string[];
4660
- readonly findings?: readonly string[] | undefined;
4661
- readonly head: string;
4662
- readonly receipt: {
4663
- readonly sessionId: string;
4664
- readonly turnId: string;
4665
- };
4666
- readonly repairPrompt: string;
4667
- readonly verdict: "approved" | "changes";
4709
+ readonly questionId: string;
4710
+ readonly questionRevision: string;
4711
+ readonly responseId: string;
4712
+ readonly type: "answer" | "clarify" | "not_now";
4713
+ }[] | undefined;
4714
+ readonly result?: {
4715
+ readonly head: string;
4716
+ readonly kind: "change";
4717
+ readonly paths: readonly string[];
4718
+ readonly pr: string;
4719
+ readonly prNumber?: number | undefined;
4720
+ } | {
4721
+ readonly evidence: readonly string[];
4722
+ readonly head: string;
4723
+ readonly kind: "no-change";
4724
+ } | undefined;
4725
+ readonly resultObservations?: readonly ({
4726
+ readonly head: string;
4727
+ readonly kind: "change";
4728
+ readonly paths: readonly string[];
4729
+ readonly pr: string;
4730
+ readonly prNumber?: number | undefined;
4731
+ } | {
4732
+ readonly evidence: readonly string[];
4733
+ readonly head: string;
4734
+ readonly kind: "no-change";
4735
+ })[] | undefined;
4736
+ readonly review?: {
4737
+ readonly evidence: readonly string[];
4738
+ readonly findings?: readonly string[] | undefined;
4739
+ readonly head: string;
4740
+ readonly receipt: {
4741
+ readonly sessionId: string;
4742
+ readonly turnId: string;
4743
+ };
4744
+ readonly repairPrompt: string;
4745
+ readonly verdict: "approved" | "changes";
4746
+ } | undefined;
4747
+ readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
4748
+ readonly stageEnteredAt?: number | undefined;
4749
+ readonly supersededDecisions?: readonly {
4750
+ readonly boardAcknowledged?: boolean | undefined;
4751
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4752
+ readonly published: {
4753
+ readonly itemId: string;
4754
+ readonly questionId: string;
4755
+ readonly request: string;
4756
+ readonly revision: string;
4757
+ readonly sourcePath: string;
4758
+ readonly workId: string;
4759
+ readonly workRevision: string;
4760
+ readonly workSourcePath: string;
4761
+ };
4762
+ readonly reassignedTo?: {
4763
+ readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
4764
+ readonly decisionId: string;
4668
4765
  } | undefined;
4669
- readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
4670
- readonly stageEnteredAt?: number | undefined;
4671
- readonly supersededDecisions?: readonly {
4672
- readonly boardAcknowledged?: boolean | undefined;
4673
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4674
- readonly published: {
4675
- readonly itemId: string;
4676
- readonly questionId: string;
4677
- readonly request: string;
4678
- readonly revision: string;
4679
- readonly sourcePath: string;
4680
- readonly workId: string;
4681
- readonly workRevision: string;
4682
- readonly workSourcePath: string;
4683
- };
4684
- readonly reassignedTo?: {
4685
- readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
4686
- readonly decisionId: string;
4687
- } | undefined;
4688
- readonly supersededAt: number;
4689
- }[] | undefined;
4690
- readonly updatedAt?: number | undefined;
4691
- readonly history?: readonly {
4692
- readonly admissionReady?: boolean | undefined;
4693
- readonly areas?: readonly string[] | undefined;
4694
- readonly attempts: readonly {
4695
- readonly abandoned?: {
4696
- readonly at: number;
4697
- readonly interruptError?: string | undefined;
4698
- readonly observation?: {
4699
- readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4700
- readonly error?: string | undefined;
4701
- readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4702
- readonly output: string;
4703
- readonly progress?: readonly {
4704
- readonly id: string;
4705
- readonly status?: string | undefined;
4706
- }[] | undefined;
4707
- readonly provisioning: "ready" | "unknown";
4708
- readonly receipt: {
4709
- readonly sessionId: string;
4710
- readonly turnId: string;
4711
- };
4712
- readonly turnMissing?: boolean | undefined;
4713
- } | undefined;
4714
- readonly observationError?: string | undefined;
4715
- } | undefined;
4716
- readonly briefSteers?: readonly {
4766
+ readonly supersededAt: number;
4767
+ }[] | undefined;
4768
+ readonly updatedAt?: number | undefined;
4769
+ readonly history?: readonly {
4770
+ readonly admissionReady?: boolean | undefined;
4771
+ readonly areas?: readonly string[] | undefined;
4772
+ readonly attempts: readonly {
4773
+ readonly abandoned?: {
4774
+ readonly at: number;
4775
+ readonly interruptError?: string | undefined;
4776
+ readonly observation?: {
4777
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
4717
4778
  readonly error?: string | undefined;
4718
- readonly requestedAt: number;
4719
- readonly revision: string;
4720
- readonly steeredAt?: number | undefined;
4721
- }[] | undefined;
4722
- readonly checkFailures?: readonly string[] | undefined;
4723
- readonly missingSince?: number | undefined;
4724
- readonly observationRetries?: number | undefined;
4725
- readonly operationId: string;
4726
- readonly output?: string | undefined;
4727
- readonly progress?: {
4728
- readonly at: number;
4729
- readonly signature: string;
4730
- } | undefined;
4731
- readonly prompt?: string | undefined;
4732
- readonly providerFailures?: number | undefined;
4733
- readonly readRetry?: {
4734
- readonly error: string;
4735
- readonly failures: number;
4736
- readonly retryAt: number;
4737
- } | undefined;
4738
- readonly receipt?: {
4739
- readonly sessionId: string;
4740
- readonly turnId: string;
4741
- } | undefined;
4742
- readonly reviewHead?: string | undefined;
4743
- readonly reviewRevision?: string | undefined;
4744
- readonly role: "repair" | "reviewer" | "worker";
4745
- readonly sessionCleanupComplete?: boolean | undefined;
4746
- readonly sessionId?: string | undefined;
4747
- readonly sessionUnusable?: boolean | undefined;
4748
- readonly settings?: {
4749
- readonly effort?: string | undefined;
4750
- readonly model?: string | undefined;
4751
- readonly serviceTier?: string | undefined;
4752
- } | undefined;
4753
- readonly stallRecovery?: {
4754
- readonly count: number;
4755
- readonly interruptedAt?: number | undefined;
4756
- readonly interruptRequestedAt?: number | undefined;
4757
- readonly lastActionAt: number;
4758
- readonly steeredAt?: number | undefined;
4779
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
4780
+ readonly output: string;
4781
+ readonly progress?: readonly {
4782
+ readonly id: string;
4783
+ readonly status?: string | undefined;
4784
+ }[] | undefined;
4785
+ readonly provisioning: "ready" | "unknown";
4786
+ readonly receipt: {
4787
+ readonly sessionId: string;
4788
+ readonly turnId: string;
4789
+ };
4790
+ readonly turnMissing?: boolean | undefined;
4759
4791
  } | undefined;
4760
- readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
4761
- readonly submissionTimedOut?: boolean | undefined;
4762
- readonly submissionUncertain?: boolean | undefined;
4763
- readonly submittedAt: number;
4764
- readonly terminalReceipts?: readonly {
4765
- readonly sessionId: string;
4766
- readonly turnId: string;
4767
- }[] | undefined;
4768
- }[];
4769
- readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
4770
- readonly blocker?: string | undefined;
4771
- readonly boardContext?: string | undefined;
4772
- readonly boardRevision: string;
4773
- readonly boardSourcePath?: string | undefined;
4774
- readonly checks?: {
4775
- readonly evidence: readonly string[];
4776
- readonly failedChecks?: readonly string[] | undefined;
4777
- readonly head: string;
4778
- readonly passed: boolean;
4779
- readonly pending?: boolean | undefined;
4780
- readonly repairPrompt?: string | undefined;
4792
+ readonly observationError?: string | undefined;
4781
4793
  } | undefined;
4782
- readonly completedAt?: number | undefined;
4783
- readonly conflictRepairs?: readonly string[] | undefined;
4784
- readonly cwd: string;
4785
- readonly decision?: {
4786
- readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
4787
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4788
- readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
4789
- readonly id: string;
4790
- readonly links: readonly string[];
4791
- readonly publicationWork?: {
4792
- readonly approved: boolean;
4793
- readonly areas?: readonly string[] | undefined;
4794
- readonly context: string;
4795
- readonly deliverable?: "report" | undefined;
4796
- readonly dependsOn: readonly string[];
4797
- readonly revision: string;
4798
- readonly sourcePath: string;
4799
- readonly status?: string | undefined;
4800
- readonly workId: string;
4801
- } | undefined;
4802
- readonly published?: {
4803
- readonly itemId: string;
4804
- readonly questionId: string;
4805
- readonly request: string;
4806
- readonly revision: string;
4807
- readonly sourcePath: string;
4808
- readonly workId: string;
4809
- readonly workRevision: string;
4810
- readonly workSourcePath: string;
4811
- } | undefined;
4812
- readonly reason: string;
4813
- readonly recommendation: string;
4814
- readonly worker?: {
4815
- readonly sessionId: string;
4816
- readonly turnId: string;
4817
- } | undefined;
4794
+ readonly briefSteers?: readonly {
4795
+ readonly error?: string | undefined;
4796
+ readonly requestedAt: number;
4797
+ readonly revision: string;
4798
+ readonly steeredAt?: number | undefined;
4799
+ }[] | undefined;
4800
+ readonly checkFailures?: readonly string[] | undefined;
4801
+ readonly missingSince?: number | undefined;
4802
+ readonly observationRetries?: number | undefined;
4803
+ readonly operationId: string;
4804
+ readonly output?: string | undefined;
4805
+ readonly overLimit?: boolean | undefined;
4806
+ readonly progress?: {
4807
+ readonly at: number;
4808
+ readonly signature: string;
4818
4809
  } | undefined;
4819
- readonly decisionAcknowledged?: boolean | undefined;
4820
- readonly decisionPublished?: boolean | undefined;
4821
- readonly deliverable?: "report" | undefined;
4822
- readonly integrationRetry?: {
4810
+ readonly prompt?: string | undefined;
4811
+ readonly providerFailures?: number | undefined;
4812
+ readonly readRetry?: {
4823
4813
  readonly error: string;
4824
4814
  readonly failures: number;
4825
4815
  readonly retryAt: number;
4826
4816
  } | undefined;
4827
- readonly launch?: {
4828
- readonly effort?: string | undefined;
4829
- readonly model?: string | undefined;
4830
- readonly serviceTier?: string | undefined;
4817
+ readonly receipt?: {
4818
+ readonly sessionId: string;
4819
+ readonly turnId: string;
4820
+ } | undefined;
4821
+ readonly reviewHead?: string | undefined;
4822
+ readonly reviewRevision?: string | undefined;
4823
+ readonly role: "repair" | "reviewer" | "worker";
4824
+ readonly sessionCleanupComplete?: boolean | undefined;
4825
+ readonly sessionId?: string | undefined;
4826
+ readonly sessionUnusable?: boolean | undefined;
4827
+ readonly settings?: {
4828
+ readonly effort?: string | undefined;
4829
+ readonly model?: string | undefined;
4830
+ readonly serviceTier?: string | undefined;
4831
+ } | undefined;
4832
+ readonly stallRecovery?: {
4833
+ readonly count: number;
4834
+ readonly interruptedAt?: number | undefined;
4835
+ readonly interruptRequestedAt?: number | undefined;
4836
+ readonly lastActionAt: number;
4837
+ readonly steeredAt?: number | undefined;
4838
+ } | undefined;
4839
+ readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
4840
+ readonly submissionTimedOut?: boolean | undefined;
4841
+ readonly submissionUncertain?: boolean | undefined;
4842
+ readonly submittedAt: number;
4843
+ readonly terminalReceipts?: readonly {
4844
+ readonly sessionId: string;
4845
+ readonly turnId: string;
4846
+ }[] | undefined;
4847
+ }[];
4848
+ readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
4849
+ readonly blocker?: string | undefined;
4850
+ readonly boardContext?: string | undefined;
4851
+ readonly boardRevision: string;
4852
+ readonly boardSourcePath?: string | undefined;
4853
+ readonly checks?: {
4854
+ readonly evidence: readonly string[];
4855
+ readonly failedChecks?: readonly string[] | undefined;
4856
+ readonly head: string;
4857
+ readonly passed: boolean;
4858
+ readonly pending?: boolean | undefined;
4859
+ readonly repairPrompt?: string | undefined;
4860
+ } | undefined;
4861
+ readonly completedAt?: number | undefined;
4862
+ readonly conflictRepairs?: readonly string[] | undefined;
4863
+ readonly cwd: string;
4864
+ readonly decision?: {
4865
+ readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
4866
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4867
+ readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
4868
+ readonly id: string;
4869
+ readonly links: readonly string[];
4870
+ readonly publicationWork?: {
4871
+ readonly approved: boolean;
4872
+ readonly areas?: readonly string[] | undefined;
4873
+ readonly context: string;
4874
+ readonly deliverable?: "report" | undefined;
4875
+ readonly dependsOn: readonly string[];
4876
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
4877
+ readonly revision: string;
4878
+ readonly sourcePath: string;
4879
+ readonly status?: string | undefined;
4880
+ readonly workId: string;
4881
+ } | undefined;
4882
+ readonly published?: {
4883
+ readonly itemId: string;
4884
+ readonly questionId: string;
4885
+ readonly request: string;
4886
+ readonly revision: string;
4887
+ readonly sourcePath: string;
4888
+ readonly workId: string;
4889
+ readonly workRevision: string;
4890
+ readonly workSourcePath: string;
4831
4891
  } | undefined;
4832
- readonly launchRetry?: {
4833
- readonly prompt?: string | undefined;
4834
- readonly rejectedAt: number;
4835
- readonly rejections: number;
4836
- readonly retryAt: number;
4892
+ readonly reason: string;
4893
+ readonly recommendation: string;
4894
+ readonly worker?: {
4895
+ readonly sessionId: string;
4896
+ readonly turnId: string;
4837
4897
  } | undefined;
4838
- readonly mergeAreasReleased?: boolean | undefined;
4839
- readonly mergeReadyAt?: number | undefined;
4840
- readonly mergeReadyHead?: string | undefined;
4841
- readonly outcome?: {
4842
- readonly head: string;
4898
+ } | undefined;
4899
+ readonly decisionAcknowledged?: boolean | undefined;
4900
+ readonly decisionPublished?: boolean | undefined;
4901
+ readonly deliverable?: "report" | undefined;
4902
+ readonly dispatchNow?: {
4903
+ readonly ignoreAreas: boolean;
4904
+ } | undefined;
4905
+ readonly integrationRetry?: {
4906
+ readonly error: string;
4907
+ readonly failures: number;
4908
+ readonly retryAt: number;
4909
+ } | undefined;
4910
+ readonly launch?: {
4911
+ readonly effort?: string | undefined;
4912
+ readonly model?: string | undefined;
4913
+ readonly serviceTier?: string | undefined;
4914
+ } | undefined;
4915
+ readonly launchRetry?: {
4916
+ readonly prompt?: string | undefined;
4917
+ readonly rejectedAt: number;
4918
+ readonly rejections: number;
4919
+ readonly retryAt: number;
4920
+ } | undefined;
4921
+ readonly mergeAreasReleased?: boolean | undefined;
4922
+ readonly mergeReadyAt?: number | undefined;
4923
+ readonly mergeReadyHead?: string | undefined;
4924
+ readonly outcome?: {
4925
+ readonly head: string;
4926
+ readonly revision: string;
4927
+ readonly url: string;
4928
+ } | {
4929
+ readonly evidence: readonly string[];
4930
+ } | undefined;
4931
+ readonly pendingAnswers?: readonly string[] | undefined;
4932
+ readonly preparation: {
4933
+ readonly baselinePaths: readonly string[];
4934
+ readonly baseRevision: string;
4935
+ readonly configuration: readonly {
4936
+ readonly path: string;
4937
+ readonly relevantKeys: readonly string[];
4938
+ }[];
4939
+ readonly contextComplete: boolean;
4940
+ readonly dependencyPaths: readonly string[];
4941
+ readonly observedAt: number;
4942
+ readonly ownedPaths: readonly string[];
4943
+ readonly qualityPaths: readonly string[];
4944
+ readonly setupPaths: readonly string[];
4945
+ readonly sourcePaths: readonly string[];
4946
+ readonly validation: readonly {
4947
+ readonly command: string;
4843
4948
  readonly revision: string;
4844
- readonly url: string;
4845
- } | {
4846
- readonly evidence: readonly string[];
4847
- } | undefined;
4848
- readonly pendingAnswers?: readonly string[] | undefined;
4849
- readonly preparation: {
4850
- readonly baselinePaths: readonly string[];
4851
- readonly baseRevision: string;
4852
- readonly configuration: readonly {
4853
- readonly path: string;
4854
- readonly relevantKeys: readonly string[];
4855
- }[];
4856
- readonly contextComplete: boolean;
4857
- readonly dependencyPaths: readonly string[];
4858
- readonly observedAt: number;
4859
- readonly ownedPaths: readonly string[];
4860
- readonly qualityPaths: readonly string[];
4861
- readonly setupPaths: readonly string[];
4862
- readonly sourcePaths: readonly string[];
4863
- readonly validation: readonly {
4864
- readonly command: string;
4865
- readonly revision: string;
4866
- }[];
4949
+ }[];
4950
+ };
4951
+ readonly prompt: string;
4952
+ readonly releaseReason?: string | undefined;
4953
+ readonly report?: {
4954
+ readonly itemId: string;
4955
+ readonly receipt: {
4956
+ readonly sessionId: string;
4957
+ readonly turnId: string;
4867
4958
  };
4868
- readonly prompt: string;
4869
- readonly releaseReason?: string | undefined;
4870
- readonly report?: {
4959
+ readonly revision: string;
4960
+ readonly sourcePath: string;
4961
+ readonly workRevision: string;
4962
+ } | undefined;
4963
+ readonly responses?: readonly {
4964
+ readonly action?: "continue" | "release" | "retry" | undefined;
4965
+ readonly boardAcknowledged?: boolean | undefined;
4966
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4967
+ readonly decisionId: string;
4968
+ readonly processedAt: number;
4969
+ readonly published?: {
4871
4970
  readonly itemId: string;
4872
- readonly receipt: {
4873
- readonly sessionId: string;
4874
- readonly turnId: string;
4875
- };
4971
+ readonly questionId: string;
4972
+ readonly request: string;
4876
4973
  readonly revision: string;
4877
4974
  readonly sourcePath: string;
4975
+ readonly workId: string;
4878
4976
  readonly workRevision: string;
4977
+ readonly workSourcePath: string;
4879
4978
  } | undefined;
4880
- readonly responses?: readonly {
4881
- readonly action?: "continue" | "release" | "retry" | undefined;
4882
- readonly boardAcknowledged?: boolean | undefined;
4883
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4884
- readonly decisionId: string;
4885
- readonly processedAt: number;
4886
- readonly published?: {
4887
- readonly itemId: string;
4888
- readonly questionId: string;
4889
- readonly request: string;
4890
- readonly revision: string;
4891
- readonly sourcePath: string;
4892
- readonly workId: string;
4893
- readonly workRevision: string;
4894
- readonly workSourcePath: string;
4895
- } | undefined;
4896
- readonly questionId: string;
4897
- readonly questionRevision: string;
4898
- readonly responseId: string;
4899
- readonly type: "answer" | "clarify" | "not_now";
4900
- }[] | undefined;
4901
- readonly result?: {
4902
- readonly head: string;
4903
- readonly kind: "change";
4904
- readonly paths: readonly string[];
4905
- readonly pr: string;
4906
- readonly prNumber?: number | undefined;
4907
- } | {
4908
- readonly evidence: readonly string[];
4909
- readonly head: string;
4910
- readonly kind: "no-change";
4911
- } | undefined;
4912
- readonly resultObservations?: readonly ({
4913
- readonly head: string;
4914
- readonly kind: "change";
4915
- readonly paths: readonly string[];
4916
- readonly pr: string;
4917
- readonly prNumber?: number | undefined;
4918
- } | {
4919
- readonly evidence: readonly string[];
4920
- readonly head: string;
4921
- readonly kind: "no-change";
4922
- })[] | undefined;
4923
- readonly review?: {
4924
- readonly evidence: readonly string[];
4925
- readonly findings?: readonly string[] | undefined;
4926
- readonly head: string;
4927
- readonly receipt: {
4928
- readonly sessionId: string;
4929
- readonly turnId: string;
4930
- };
4931
- readonly repairPrompt: string;
4932
- readonly verdict: "approved" | "changes";
4933
- } | undefined;
4934
- readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
4935
- readonly stageEnteredAt?: number | undefined;
4936
- readonly supersededDecisions?: readonly {
4937
- readonly boardAcknowledged?: boolean | undefined;
4938
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
4939
- readonly published: {
4940
- readonly itemId: string;
4941
- readonly questionId: string;
4942
- readonly request: string;
4943
- readonly revision: string;
4944
- readonly sourcePath: string;
4945
- readonly workId: string;
4946
- readonly workRevision: string;
4947
- readonly workSourcePath: string;
4948
- };
4949
- readonly reassignedTo?: {
4950
- readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
4951
- readonly decisionId: string;
4952
- } | undefined;
4953
- readonly supersededAt: number;
4954
- }[] | undefined;
4955
- readonly updatedAt?: number | undefined;
4956
- readonly archivedAt: number;
4979
+ readonly questionId: string;
4980
+ readonly questionRevision: string;
4981
+ readonly responseId: string;
4982
+ readonly type: "answer" | "clarify" | "not_now";
4983
+ }[] | undefined;
4984
+ readonly result?: {
4985
+ readonly head: string;
4986
+ readonly kind: "change";
4987
+ readonly paths: readonly string[];
4988
+ readonly pr: string;
4989
+ readonly prNumber?: number | undefined;
4990
+ } | {
4991
+ readonly evidence: readonly string[];
4992
+ readonly head: string;
4993
+ readonly kind: "no-change";
4994
+ } | undefined;
4995
+ readonly resultObservations?: readonly ({
4996
+ readonly head: string;
4997
+ readonly kind: "change";
4998
+ readonly paths: readonly string[];
4999
+ readonly pr: string;
5000
+ readonly prNumber?: number | undefined;
5001
+ } | {
5002
+ readonly evidence: readonly string[];
5003
+ readonly head: string;
5004
+ readonly kind: "no-change";
5005
+ })[] | undefined;
5006
+ readonly review?: {
5007
+ readonly evidence: readonly string[];
5008
+ readonly findings?: readonly string[] | undefined;
5009
+ readonly head: string;
5010
+ readonly receipt: {
5011
+ readonly sessionId: string;
5012
+ readonly turnId: string;
5013
+ };
5014
+ readonly repairPrompt: string;
5015
+ readonly verdict: "approved" | "changes";
5016
+ } | undefined;
5017
+ readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
5018
+ readonly stageEnteredAt?: number | undefined;
5019
+ readonly supersededDecisions?: readonly {
5020
+ readonly boardAcknowledged?: boolean | undefined;
5021
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
5022
+ readonly published: {
5023
+ readonly itemId: string;
5024
+ readonly questionId: string;
5025
+ readonly request: string;
5026
+ readonly revision: string;
5027
+ readonly sourcePath: string;
5028
+ readonly workId: string;
5029
+ readonly workRevision: string;
5030
+ readonly workSourcePath: string;
5031
+ };
5032
+ readonly reassignedTo?: {
5033
+ readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
5034
+ readonly decisionId: string;
5035
+ } | undefined;
5036
+ readonly supersededAt: number;
4957
5037
  }[] | undefined;
4958
- readonly workId: string;
4959
- };
4960
- version: number;
4961
- }[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
5038
+ readonly updatedAt?: number | undefined;
5039
+ readonly archivedAt: number;
5040
+ }[] | undefined;
5041
+ readonly workId: string;
5042
+ }>[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
4962
5043
  load: (workId: string) => Effect.Effect<{
4963
5044
  value: {
4964
5045
  readonly admissionReady?: boolean | undefined;
@@ -4996,6 +5077,7 @@ export declare const observeDeliveryFailure: (state: {
4996
5077
  readonly observationRetries?: number | undefined;
4997
5078
  readonly operationId: string;
4998
5079
  readonly output?: string | undefined;
5080
+ readonly overLimit?: boolean | undefined;
4999
5081
  readonly progress?: {
5000
5082
  readonly at: number;
5001
5083
  readonly signature: string;
@@ -5066,6 +5148,7 @@ export declare const observeDeliveryFailure: (state: {
5066
5148
  readonly context: string;
5067
5149
  readonly deliverable?: "report" | undefined;
5068
5150
  readonly dependsOn: readonly string[];
5151
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
5069
5152
  readonly revision: string;
5070
5153
  readonly sourcePath: string;
5071
5154
  readonly status?: string | undefined;
@@ -5091,6 +5174,9 @@ export declare const observeDeliveryFailure: (state: {
5091
5174
  readonly decisionAcknowledged?: boolean | undefined;
5092
5175
  readonly decisionPublished?: boolean | undefined;
5093
5176
  readonly deliverable?: "report" | undefined;
5177
+ readonly dispatchNow?: {
5178
+ readonly ignoreAreas: boolean;
5179
+ } | undefined;
5094
5180
  readonly integrationRetry?: {
5095
5181
  readonly error: string;
5096
5182
  readonly failures: number;
@@ -5261,6 +5347,7 @@ export declare const observeDeliveryFailure: (state: {
5261
5347
  readonly observationRetries?: number | undefined;
5262
5348
  readonly operationId: string;
5263
5349
  readonly output?: string | undefined;
5350
+ readonly overLimit?: boolean | undefined;
5264
5351
  readonly progress?: {
5265
5352
  readonly at: number;
5266
5353
  readonly signature: string;
@@ -5331,6 +5418,7 @@ export declare const observeDeliveryFailure: (state: {
5331
5418
  readonly context: string;
5332
5419
  readonly deliverable?: "report" | undefined;
5333
5420
  readonly dependsOn: readonly string[];
5421
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
5334
5422
  readonly revision: string;
5335
5423
  readonly sourcePath: string;
5336
5424
  readonly status?: string | undefined;
@@ -5356,6 +5444,9 @@ export declare const observeDeliveryFailure: (state: {
5356
5444
  readonly decisionAcknowledged?: boolean | undefined;
5357
5445
  readonly decisionPublished?: boolean | undefined;
5358
5446
  readonly deliverable?: "report" | undefined;
5447
+ readonly dispatchNow?: {
5448
+ readonly ignoreAreas: boolean;
5449
+ } | undefined;
5359
5450
  readonly integrationRetry?: {
5360
5451
  readonly error: string;
5361
5452
  readonly failures: number;
@@ -5500,7 +5591,7 @@ export declare const observeDeliveryFailure: (state: {
5500
5591
  readonly workId: string;
5501
5592
  readonly version: number;
5502
5593
  }[], import("effect/sql/SqlError").SqlError, never>;
5503
- }, "initialize" | "operationEntries"> & Partial<Pick<{
5594
+ }, "operationEntries"> & Partial<Pick<{
5504
5595
  foreignReservations: () => Effect.Effect<Pick<{
5505
5596
  readonly backlog: boolean;
5506
5597
  readonly executing: boolean;
@@ -5547,6 +5638,7 @@ export declare const observeDeliveryFailure: (state: {
5547
5638
  readonly observationRetries?: number | undefined;
5548
5639
  readonly operationId: string;
5549
5640
  readonly output?: string | undefined;
5641
+ readonly overLimit?: boolean | undefined;
5550
5642
  readonly progress?: {
5551
5643
  readonly at: number;
5552
5644
  readonly signature: string;
@@ -5617,6 +5709,7 @@ export declare const observeDeliveryFailure: (state: {
5617
5709
  readonly context: string;
5618
5710
  readonly deliverable?: "report" | undefined;
5619
5711
  readonly dependsOn: readonly string[];
5712
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
5620
5713
  readonly revision: string;
5621
5714
  readonly sourcePath: string;
5622
5715
  readonly status?: string | undefined;
@@ -5642,6 +5735,9 @@ export declare const observeDeliveryFailure: (state: {
5642
5735
  readonly decisionAcknowledged?: boolean | undefined;
5643
5736
  readonly decisionPublished?: boolean | undefined;
5644
5737
  readonly deliverable?: "report" | undefined;
5738
+ readonly dispatchNow?: {
5739
+ readonly ignoreAreas: boolean;
5740
+ } | undefined;
5645
5741
  readonly integrationRetry?: {
5646
5742
  readonly error: string;
5647
5743
  readonly failures: number;
@@ -5812,6 +5908,7 @@ export declare const observeDeliveryFailure: (state: {
5812
5908
  readonly observationRetries?: number | undefined;
5813
5909
  readonly operationId: string;
5814
5910
  readonly output?: string | undefined;
5911
+ readonly overLimit?: boolean | undefined;
5815
5912
  readonly progress?: {
5816
5913
  readonly at: number;
5817
5914
  readonly signature: string;
@@ -5882,6 +5979,7 @@ export declare const observeDeliveryFailure: (state: {
5882
5979
  readonly context: string;
5883
5980
  readonly deliverable?: "report" | undefined;
5884
5981
  readonly dependsOn: readonly string[];
5982
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
5885
5983
  readonly revision: string;
5886
5984
  readonly sourcePath: string;
5887
5985
  readonly status?: string | undefined;
@@ -5907,6 +6005,9 @@ export declare const observeDeliveryFailure: (state: {
5907
6005
  readonly decisionAcknowledged?: boolean | undefined;
5908
6006
  readonly decisionPublished?: boolean | undefined;
5909
6007
  readonly deliverable?: "report" | undefined;
6008
+ readonly dispatchNow?: {
6009
+ readonly ignoreAreas: boolean;
6010
+ } | undefined;
5910
6011
  readonly integrationRetry?: {
5911
6012
  readonly error: string;
5912
6013
  readonly failures: number;
@@ -6081,6 +6182,7 @@ export declare const observeDeliveryFailure: (state: {
6081
6182
  readonly observationRetries?: number | undefined;
6082
6183
  readonly operationId: string;
6083
6184
  readonly output?: string | undefined;
6185
+ readonly overLimit?: boolean | undefined;
6084
6186
  readonly progress?: {
6085
6187
  readonly at: number;
6086
6188
  readonly signature: string;
@@ -6151,6 +6253,7 @@ export declare const observeDeliveryFailure: (state: {
6151
6253
  readonly context: string;
6152
6254
  readonly deliverable?: "report" | undefined;
6153
6255
  readonly dependsOn: readonly string[];
6256
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
6154
6257
  readonly revision: string;
6155
6258
  readonly sourcePath: string;
6156
6259
  readonly status?: string | undefined;
@@ -6176,6 +6279,9 @@ export declare const observeDeliveryFailure: (state: {
6176
6279
  readonly decisionAcknowledged?: boolean | undefined;
6177
6280
  readonly decisionPublished?: boolean | undefined;
6178
6281
  readonly deliverable?: "report" | undefined;
6282
+ readonly dispatchNow?: {
6283
+ readonly ignoreAreas: boolean;
6284
+ } | undefined;
6179
6285
  readonly integrationRetry?: {
6180
6286
  readonly error: string;
6181
6287
  readonly failures: number;
@@ -6346,6 +6452,7 @@ export declare const observeDeliveryFailure: (state: {
6346
6452
  readonly observationRetries?: number | undefined;
6347
6453
  readonly operationId: string;
6348
6454
  readonly output?: string | undefined;
6455
+ readonly overLimit?: boolean | undefined;
6349
6456
  readonly progress?: {
6350
6457
  readonly at: number;
6351
6458
  readonly signature: string;
@@ -6416,6 +6523,7 @@ export declare const observeDeliveryFailure: (state: {
6416
6523
  readonly context: string;
6417
6524
  readonly deliverable?: "report" | undefined;
6418
6525
  readonly dependsOn: readonly string[];
6526
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
6419
6527
  readonly revision: string;
6420
6528
  readonly sourcePath: string;
6421
6529
  readonly status?: string | undefined;
@@ -6441,6 +6549,9 @@ export declare const observeDeliveryFailure: (state: {
6441
6549
  readonly decisionAcknowledged?: boolean | undefined;
6442
6550
  readonly decisionPublished?: boolean | undefined;
6443
6551
  readonly deliverable?: "report" | undefined;
6552
+ readonly dispatchNow?: {
6553
+ readonly ignoreAreas: boolean;
6554
+ } | undefined;
6444
6555
  readonly integrationRetry?: {
6445
6556
  readonly error: string;
6446
6557
  readonly failures: number;
@@ -6582,7 +6693,6 @@ export declare const observeDeliveryFailure: (state: {
6582
6693
  version: number;
6583
6694
  }, 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>;
6584
6695
  hasLaunchRetry: () => Effect.Effect<boolean, import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
6585
- initialize: () => Effect.Effect<readonly (readonly [id: number, name: string])[], import("effect/sql/Migrator").MigrationError | import("effect/sql/SqlError").SqlError, never>;
6586
6696
  insert: (record: {
6587
6697
  readonly admissionReady?: boolean | undefined;
6588
6698
  readonly areas?: readonly string[] | undefined;
@@ -6619,6 +6729,7 @@ export declare const observeDeliveryFailure: (state: {
6619
6729
  readonly observationRetries?: number | undefined;
6620
6730
  readonly operationId: string;
6621
6731
  readonly output?: string | undefined;
6732
+ readonly overLimit?: boolean | undefined;
6622
6733
  readonly progress?: {
6623
6734
  readonly at: number;
6624
6735
  readonly signature: string;
@@ -6689,6 +6800,7 @@ export declare const observeDeliveryFailure: (state: {
6689
6800
  readonly context: string;
6690
6801
  readonly deliverable?: "report" | undefined;
6691
6802
  readonly dependsOn: readonly string[];
6803
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
6692
6804
  readonly revision: string;
6693
6805
  readonly sourcePath: string;
6694
6806
  readonly status?: string | undefined;
@@ -6714,6 +6826,9 @@ export declare const observeDeliveryFailure: (state: {
6714
6826
  readonly decisionAcknowledged?: boolean | undefined;
6715
6827
  readonly decisionPublished?: boolean | undefined;
6716
6828
  readonly deliverable?: "report" | undefined;
6829
+ readonly dispatchNow?: {
6830
+ readonly ignoreAreas: boolean;
6831
+ } | undefined;
6717
6832
  readonly integrationRetry?: {
6718
6833
  readonly error: string;
6719
6834
  readonly failures: number;
@@ -6884,6 +6999,7 @@ export declare const observeDeliveryFailure: (state: {
6884
6999
  readonly observationRetries?: number | undefined;
6885
7000
  readonly operationId: string;
6886
7001
  readonly output?: string | undefined;
7002
+ readonly overLimit?: boolean | undefined;
6887
7003
  readonly progress?: {
6888
7004
  readonly at: number;
6889
7005
  readonly signature: string;
@@ -6954,6 +7070,7 @@ export declare const observeDeliveryFailure: (state: {
6954
7070
  readonly context: string;
6955
7071
  readonly deliverable?: "report" | undefined;
6956
7072
  readonly dependsOn: readonly string[];
7073
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
6957
7074
  readonly revision: string;
6958
7075
  readonly sourcePath: string;
6959
7076
  readonly status?: string | undefined;
@@ -6979,6 +7096,9 @@ export declare const observeDeliveryFailure: (state: {
6979
7096
  readonly decisionAcknowledged?: boolean | undefined;
6980
7097
  readonly decisionPublished?: boolean | undefined;
6981
7098
  readonly deliverable?: "report" | undefined;
7099
+ readonly dispatchNow?: {
7100
+ readonly ignoreAreas: boolean;
7101
+ } | undefined;
6982
7102
  readonly integrationRetry?: {
6983
7103
  readonly error: string;
6984
7104
  readonly failures: number;
@@ -7153,6 +7273,7 @@ export declare const observeDeliveryFailure: (state: {
7153
7273
  readonly observationRetries?: number | undefined;
7154
7274
  readonly operationId: string;
7155
7275
  readonly output?: string | undefined;
7276
+ readonly overLimit?: boolean | undefined;
7156
7277
  readonly progress?: {
7157
7278
  readonly at: number;
7158
7279
  readonly signature: string;
@@ -7223,6 +7344,7 @@ export declare const observeDeliveryFailure: (state: {
7223
7344
  readonly context: string;
7224
7345
  readonly deliverable?: "report" | undefined;
7225
7346
  readonly dependsOn: readonly string[];
7347
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
7226
7348
  readonly revision: string;
7227
7349
  readonly sourcePath: string;
7228
7350
  readonly status?: string | undefined;
@@ -7248,6 +7370,9 @@ export declare const observeDeliveryFailure: (state: {
7248
7370
  readonly decisionAcknowledged?: boolean | undefined;
7249
7371
  readonly decisionPublished?: boolean | undefined;
7250
7372
  readonly deliverable?: "report" | undefined;
7373
+ readonly dispatchNow?: {
7374
+ readonly ignoreAreas: boolean;
7375
+ } | undefined;
7251
7376
  readonly integrationRetry?: {
7252
7377
  readonly error: string;
7253
7378
  readonly failures: number;
@@ -7418,6 +7543,7 @@ export declare const observeDeliveryFailure: (state: {
7418
7543
  readonly observationRetries?: number | undefined;
7419
7544
  readonly operationId: string;
7420
7545
  readonly output?: string | undefined;
7546
+ readonly overLimit?: boolean | undefined;
7421
7547
  readonly progress?: {
7422
7548
  readonly at: number;
7423
7549
  readonly signature: string;
@@ -7488,6 +7614,7 @@ export declare const observeDeliveryFailure: (state: {
7488
7614
  readonly context: string;
7489
7615
  readonly deliverable?: "report" | undefined;
7490
7616
  readonly dependsOn: readonly string[];
7617
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
7491
7618
  readonly revision: string;
7492
7619
  readonly sourcePath: string;
7493
7620
  readonly status?: string | undefined;
@@ -7513,6 +7640,9 @@ export declare const observeDeliveryFailure: (state: {
7513
7640
  readonly decisionAcknowledged?: boolean | undefined;
7514
7641
  readonly decisionPublished?: boolean | undefined;
7515
7642
  readonly deliverable?: "report" | undefined;
7643
+ readonly dispatchNow?: {
7644
+ readonly ignoreAreas: boolean;
7645
+ } | undefined;
7516
7646
  readonly integrationRetry?: {
7517
7647
  readonly error: string;
7518
7648
  readonly failures: number;
@@ -7653,543 +7783,550 @@ export declare const observeDeliveryFailure: (state: {
7653
7783
  };
7654
7784
  version: number;
7655
7785
  }, 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>;
7656
- list: () => Effect.Effect<{
7657
- value: {
7658
- readonly admissionReady?: boolean | undefined;
7659
- readonly areas?: readonly string[] | undefined;
7660
- readonly attempts: readonly {
7661
- readonly abandoned?: {
7662
- readonly at: number;
7663
- readonly interruptError?: string | undefined;
7664
- readonly observation?: {
7665
- readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7666
- readonly error?: string | undefined;
7667
- readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7668
- readonly output: string;
7669
- readonly progress?: readonly {
7670
- readonly id: string;
7671
- readonly status?: string | undefined;
7672
- }[] | undefined;
7673
- readonly provisioning: "ready" | "unknown";
7674
- readonly receipt: {
7675
- readonly sessionId: string;
7676
- readonly turnId: string;
7677
- };
7678
- readonly turnMissing?: boolean | undefined;
7679
- } | undefined;
7680
- readonly observationError?: string | undefined;
7681
- } | undefined;
7682
- readonly briefSteers?: readonly {
7786
+ list: () => Effect.Effect<Versioned<{
7787
+ readonly admissionReady?: boolean | undefined;
7788
+ readonly areas?: readonly string[] | undefined;
7789
+ readonly attempts: readonly {
7790
+ readonly abandoned?: {
7791
+ readonly at: number;
7792
+ readonly interruptError?: string | undefined;
7793
+ readonly observation?: {
7794
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7683
7795
  readonly error?: string | undefined;
7684
- readonly requestedAt: number;
7685
- readonly revision: string;
7686
- readonly steeredAt?: number | undefined;
7687
- }[] | undefined;
7688
- readonly checkFailures?: readonly string[] | undefined;
7689
- readonly missingSince?: number | undefined;
7690
- readonly observationRetries?: number | undefined;
7691
- readonly operationId: string;
7692
- readonly output?: string | undefined;
7693
- readonly progress?: {
7694
- readonly at: number;
7695
- readonly signature: string;
7696
- } | undefined;
7697
- readonly prompt?: string | undefined;
7698
- readonly providerFailures?: number | undefined;
7699
- readonly readRetry?: {
7700
- readonly error: string;
7701
- readonly failures: number;
7702
- readonly retryAt: number;
7703
- } | undefined;
7704
- readonly receipt?: {
7705
- readonly sessionId: string;
7706
- readonly turnId: string;
7707
- } | undefined;
7708
- readonly reviewHead?: string | undefined;
7709
- readonly reviewRevision?: string | undefined;
7710
- readonly role: "repair" | "reviewer" | "worker";
7711
- readonly sessionCleanupComplete?: boolean | undefined;
7712
- readonly sessionId?: string | undefined;
7713
- readonly sessionUnusable?: boolean | undefined;
7714
- readonly settings?: {
7715
- readonly effort?: string | undefined;
7716
- readonly model?: string | undefined;
7717
- readonly serviceTier?: string | undefined;
7718
- } | undefined;
7719
- readonly stallRecovery?: {
7720
- readonly count: number;
7721
- readonly interruptedAt?: number | undefined;
7722
- readonly interruptRequestedAt?: number | undefined;
7723
- readonly lastActionAt: number;
7724
- readonly steeredAt?: number | undefined;
7796
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7797
+ readonly output: string;
7798
+ readonly progress?: readonly {
7799
+ readonly id: string;
7800
+ readonly status?: string | undefined;
7801
+ }[] | undefined;
7802
+ readonly provisioning: "ready" | "unknown";
7803
+ readonly receipt: {
7804
+ readonly sessionId: string;
7805
+ readonly turnId: string;
7806
+ };
7807
+ readonly turnMissing?: boolean | undefined;
7725
7808
  } | undefined;
7726
- readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
7727
- readonly submissionTimedOut?: boolean | undefined;
7728
- readonly submissionUncertain?: boolean | undefined;
7729
- readonly submittedAt: number;
7730
- readonly terminalReceipts?: readonly {
7731
- readonly sessionId: string;
7732
- readonly turnId: string;
7733
- }[] | undefined;
7734
- }[];
7735
- readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
7736
- readonly blocker?: string | undefined;
7737
- readonly boardContext?: string | undefined;
7738
- readonly boardRevision: string;
7739
- readonly boardSourcePath?: string | undefined;
7740
- readonly checks?: {
7741
- readonly evidence: readonly string[];
7742
- readonly failedChecks?: readonly string[] | undefined;
7743
- readonly head: string;
7744
- readonly passed: boolean;
7745
- readonly pending?: boolean | undefined;
7746
- readonly repairPrompt?: string | undefined;
7809
+ readonly observationError?: string | undefined;
7747
7810
  } | undefined;
7748
- readonly completedAt?: number | undefined;
7749
- readonly conflictRepairs?: readonly string[] | undefined;
7750
- readonly cwd: string;
7751
- readonly decision?: {
7752
- readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
7753
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
7754
- readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
7755
- readonly id: string;
7756
- readonly links: readonly string[];
7757
- readonly publicationWork?: {
7758
- readonly approved: boolean;
7759
- readonly areas?: readonly string[] | undefined;
7760
- readonly context: string;
7761
- readonly deliverable?: "report" | undefined;
7762
- readonly dependsOn: readonly string[];
7763
- readonly revision: string;
7764
- readonly sourcePath: string;
7765
- readonly status?: string | undefined;
7766
- readonly workId: string;
7767
- } | undefined;
7768
- readonly published?: {
7769
- readonly itemId: string;
7770
- readonly questionId: string;
7771
- readonly request: string;
7772
- readonly revision: string;
7773
- readonly sourcePath: string;
7774
- readonly workId: string;
7775
- readonly workRevision: string;
7776
- readonly workSourcePath: string;
7777
- } | undefined;
7778
- readonly reason: string;
7779
- readonly recommendation: string;
7780
- readonly worker?: {
7781
- readonly sessionId: string;
7782
- readonly turnId: string;
7783
- } | undefined;
7811
+ readonly briefSteers?: readonly {
7812
+ readonly error?: string | undefined;
7813
+ readonly requestedAt: number;
7814
+ readonly revision: string;
7815
+ readonly steeredAt?: number | undefined;
7816
+ }[] | undefined;
7817
+ readonly checkFailures?: readonly string[] | undefined;
7818
+ readonly missingSince?: number | undefined;
7819
+ readonly observationRetries?: number | undefined;
7820
+ readonly operationId: string;
7821
+ readonly output?: string | undefined;
7822
+ readonly overLimit?: boolean | undefined;
7823
+ readonly progress?: {
7824
+ readonly at: number;
7825
+ readonly signature: string;
7784
7826
  } | undefined;
7785
- readonly decisionAcknowledged?: boolean | undefined;
7786
- readonly decisionPublished?: boolean | undefined;
7787
- readonly deliverable?: "report" | undefined;
7788
- readonly integrationRetry?: {
7827
+ readonly prompt?: string | undefined;
7828
+ readonly providerFailures?: number | undefined;
7829
+ readonly readRetry?: {
7789
7830
  readonly error: string;
7790
7831
  readonly failures: number;
7791
7832
  readonly retryAt: number;
7792
7833
  } | undefined;
7793
- readonly launch?: {
7794
- readonly effort?: string | undefined;
7795
- readonly model?: string | undefined;
7796
- readonly serviceTier?: string | undefined;
7834
+ readonly receipt?: {
7835
+ readonly sessionId: string;
7836
+ readonly turnId: string;
7837
+ } | undefined;
7838
+ readonly reviewHead?: string | undefined;
7839
+ readonly reviewRevision?: string | undefined;
7840
+ readonly role: "repair" | "reviewer" | "worker";
7841
+ readonly sessionCleanupComplete?: boolean | undefined;
7842
+ readonly sessionId?: string | undefined;
7843
+ readonly sessionUnusable?: boolean | undefined;
7844
+ readonly settings?: {
7845
+ readonly effort?: string | undefined;
7846
+ readonly model?: string | undefined;
7847
+ readonly serviceTier?: string | undefined;
7848
+ } | undefined;
7849
+ readonly stallRecovery?: {
7850
+ readonly count: number;
7851
+ readonly interruptedAt?: number | undefined;
7852
+ readonly interruptRequestedAt?: number | undefined;
7853
+ readonly lastActionAt: number;
7854
+ readonly steeredAt?: number | undefined;
7855
+ } | undefined;
7856
+ readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
7857
+ readonly submissionTimedOut?: boolean | undefined;
7858
+ readonly submissionUncertain?: boolean | undefined;
7859
+ readonly submittedAt: number;
7860
+ readonly terminalReceipts?: readonly {
7861
+ readonly sessionId: string;
7862
+ readonly turnId: string;
7863
+ }[] | undefined;
7864
+ }[];
7865
+ readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
7866
+ readonly blocker?: string | undefined;
7867
+ readonly boardContext?: string | undefined;
7868
+ readonly boardRevision: string;
7869
+ readonly boardSourcePath?: string | undefined;
7870
+ readonly checks?: {
7871
+ readonly evidence: readonly string[];
7872
+ readonly failedChecks?: readonly string[] | undefined;
7873
+ readonly head: string;
7874
+ readonly passed: boolean;
7875
+ readonly pending?: boolean | undefined;
7876
+ readonly repairPrompt?: string | undefined;
7877
+ } | undefined;
7878
+ readonly completedAt?: number | undefined;
7879
+ readonly conflictRepairs?: readonly string[] | undefined;
7880
+ readonly cwd: string;
7881
+ readonly decision?: {
7882
+ readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
7883
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
7884
+ readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
7885
+ readonly id: string;
7886
+ readonly links: readonly string[];
7887
+ readonly publicationWork?: {
7888
+ readonly approved: boolean;
7889
+ readonly areas?: readonly string[] | undefined;
7890
+ readonly context: string;
7891
+ readonly deliverable?: "report" | undefined;
7892
+ readonly dependsOn: readonly string[];
7893
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
7894
+ readonly revision: string;
7895
+ readonly sourcePath: string;
7896
+ readonly status?: string | undefined;
7897
+ readonly workId: string;
7898
+ } | undefined;
7899
+ readonly published?: {
7900
+ readonly itemId: string;
7901
+ readonly questionId: string;
7902
+ readonly request: string;
7903
+ readonly revision: string;
7904
+ readonly sourcePath: string;
7905
+ readonly workId: string;
7906
+ readonly workRevision: string;
7907
+ readonly workSourcePath: string;
7797
7908
  } | undefined;
7798
- readonly launchRetry?: {
7799
- readonly prompt?: string | undefined;
7800
- readonly rejectedAt: number;
7801
- readonly rejections: number;
7802
- readonly retryAt: number;
7909
+ readonly reason: string;
7910
+ readonly recommendation: string;
7911
+ readonly worker?: {
7912
+ readonly sessionId: string;
7913
+ readonly turnId: string;
7803
7914
  } | undefined;
7804
- readonly mergeAreasReleased?: boolean | undefined;
7805
- readonly mergeReadyAt?: number | undefined;
7806
- readonly mergeReadyHead?: string | undefined;
7807
- readonly outcome?: {
7808
- readonly head: string;
7915
+ } | undefined;
7916
+ readonly decisionAcknowledged?: boolean | undefined;
7917
+ readonly decisionPublished?: boolean | undefined;
7918
+ readonly deliverable?: "report" | undefined;
7919
+ readonly dispatchNow?: {
7920
+ readonly ignoreAreas: boolean;
7921
+ } | undefined;
7922
+ readonly integrationRetry?: {
7923
+ readonly error: string;
7924
+ readonly failures: number;
7925
+ readonly retryAt: number;
7926
+ } | undefined;
7927
+ readonly launch?: {
7928
+ readonly effort?: string | undefined;
7929
+ readonly model?: string | undefined;
7930
+ readonly serviceTier?: string | undefined;
7931
+ } | undefined;
7932
+ readonly launchRetry?: {
7933
+ readonly prompt?: string | undefined;
7934
+ readonly rejectedAt: number;
7935
+ readonly rejections: number;
7936
+ readonly retryAt: number;
7937
+ } | undefined;
7938
+ readonly mergeAreasReleased?: boolean | undefined;
7939
+ readonly mergeReadyAt?: number | undefined;
7940
+ readonly mergeReadyHead?: string | undefined;
7941
+ readonly outcome?: {
7942
+ readonly head: string;
7943
+ readonly revision: string;
7944
+ readonly url: string;
7945
+ } | {
7946
+ readonly evidence: readonly string[];
7947
+ } | undefined;
7948
+ readonly pendingAnswers?: readonly string[] | undefined;
7949
+ readonly preparation: {
7950
+ readonly baselinePaths: readonly string[];
7951
+ readonly baseRevision: string;
7952
+ readonly configuration: readonly {
7953
+ readonly path: string;
7954
+ readonly relevantKeys: readonly string[];
7955
+ }[];
7956
+ readonly contextComplete: boolean;
7957
+ readonly dependencyPaths: readonly string[];
7958
+ readonly observedAt: number;
7959
+ readonly ownedPaths: readonly string[];
7960
+ readonly qualityPaths: readonly string[];
7961
+ readonly setupPaths: readonly string[];
7962
+ readonly sourcePaths: readonly string[];
7963
+ readonly validation: readonly {
7964
+ readonly command: string;
7809
7965
  readonly revision: string;
7810
- readonly url: string;
7811
- } | {
7812
- readonly evidence: readonly string[];
7813
- } | undefined;
7814
- readonly pendingAnswers?: readonly string[] | undefined;
7815
- readonly preparation: {
7816
- readonly baselinePaths: readonly string[];
7817
- readonly baseRevision: string;
7818
- readonly configuration: readonly {
7819
- readonly path: string;
7820
- readonly relevantKeys: readonly string[];
7821
- }[];
7822
- readonly contextComplete: boolean;
7823
- readonly dependencyPaths: readonly string[];
7824
- readonly observedAt: number;
7825
- readonly ownedPaths: readonly string[];
7826
- readonly qualityPaths: readonly string[];
7827
- readonly setupPaths: readonly string[];
7828
- readonly sourcePaths: readonly string[];
7829
- readonly validation: readonly {
7830
- readonly command: string;
7831
- readonly revision: string;
7832
- }[];
7966
+ }[];
7967
+ };
7968
+ readonly prompt: string;
7969
+ readonly releaseReason?: string | undefined;
7970
+ readonly report?: {
7971
+ readonly itemId: string;
7972
+ readonly receipt: {
7973
+ readonly sessionId: string;
7974
+ readonly turnId: string;
7833
7975
  };
7834
- readonly prompt: string;
7835
- readonly releaseReason?: string | undefined;
7836
- readonly report?: {
7976
+ readonly revision: string;
7977
+ readonly sourcePath: string;
7978
+ readonly workRevision: string;
7979
+ } | undefined;
7980
+ readonly responses?: readonly {
7981
+ readonly action?: "continue" | "release" | "retry" | undefined;
7982
+ readonly boardAcknowledged?: boolean | undefined;
7983
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
7984
+ readonly decisionId: string;
7985
+ readonly processedAt: number;
7986
+ readonly published?: {
7837
7987
  readonly itemId: string;
7838
- readonly receipt: {
7839
- readonly sessionId: string;
7840
- readonly turnId: string;
7841
- };
7988
+ readonly questionId: string;
7989
+ readonly request: string;
7842
7990
  readonly revision: string;
7843
7991
  readonly sourcePath: string;
7992
+ readonly workId: string;
7844
7993
  readonly workRevision: string;
7994
+ readonly workSourcePath: string;
7845
7995
  } | undefined;
7846
- readonly responses?: readonly {
7847
- readonly action?: "continue" | "release" | "retry" | undefined;
7848
- readonly boardAcknowledged?: boolean | undefined;
7849
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
7850
- readonly decisionId: string;
7851
- readonly processedAt: number;
7852
- readonly published?: {
7853
- readonly itemId: string;
7854
- readonly questionId: string;
7855
- readonly request: string;
7856
- readonly revision: string;
7857
- readonly sourcePath: string;
7858
- readonly workId: string;
7859
- readonly workRevision: string;
7860
- readonly workSourcePath: string;
7861
- } | undefined;
7862
- readonly questionId: string;
7863
- readonly questionRevision: string;
7864
- readonly responseId: string;
7865
- readonly type: "answer" | "clarify" | "not_now";
7866
- }[] | undefined;
7867
- readonly result?: {
7868
- readonly head: string;
7869
- readonly kind: "change";
7870
- readonly paths: readonly string[];
7871
- readonly pr: string;
7872
- readonly prNumber?: number | undefined;
7873
- } | {
7874
- readonly evidence: readonly string[];
7875
- readonly head: string;
7876
- readonly kind: "no-change";
7877
- } | undefined;
7878
- readonly resultObservations?: readonly ({
7879
- readonly head: string;
7880
- readonly kind: "change";
7881
- readonly paths: readonly string[];
7882
- readonly pr: string;
7883
- readonly prNumber?: number | undefined;
7884
- } | {
7885
- readonly evidence: readonly string[];
7886
- readonly head: string;
7887
- readonly kind: "no-change";
7888
- })[] | undefined;
7889
- readonly review?: {
7890
- readonly evidence: readonly string[];
7891
- readonly findings?: readonly string[] | undefined;
7892
- readonly head: string;
7893
- readonly receipt: {
7894
- readonly sessionId: string;
7895
- readonly turnId: string;
7896
- };
7897
- readonly repairPrompt: string;
7898
- readonly verdict: "approved" | "changes";
7899
- } | undefined;
7900
- readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
7901
- readonly stageEnteredAt?: number | undefined;
7902
- readonly supersededDecisions?: readonly {
7903
- readonly boardAcknowledged?: boolean | undefined;
7904
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
7905
- readonly published: {
7906
- readonly itemId: string;
7907
- readonly questionId: string;
7908
- readonly request: string;
7909
- readonly revision: string;
7910
- readonly sourcePath: string;
7911
- readonly workId: string;
7912
- readonly workRevision: string;
7913
- readonly workSourcePath: string;
7914
- };
7915
- readonly reassignedTo?: {
7916
- readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
7917
- readonly decisionId: string;
7918
- } | undefined;
7919
- readonly supersededAt: number;
7920
- }[] | undefined;
7921
- readonly updatedAt?: number | undefined;
7922
- readonly history?: readonly {
7923
- readonly admissionReady?: boolean | undefined;
7924
- readonly areas?: readonly string[] | undefined;
7925
- readonly attempts: readonly {
7926
- readonly abandoned?: {
7927
- readonly at: number;
7928
- readonly interruptError?: string | undefined;
7929
- readonly observation?: {
7930
- readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7931
- readonly error?: string | undefined;
7932
- readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
7933
- readonly output: string;
7934
- readonly progress?: readonly {
7935
- readonly id: string;
7936
- readonly status?: string | undefined;
7937
- }[] | undefined;
7938
- readonly provisioning: "ready" | "unknown";
7939
- readonly receipt: {
7940
- readonly sessionId: string;
7941
- readonly turnId: string;
7942
- };
7943
- readonly turnMissing?: boolean | undefined;
7944
- } | undefined;
7945
- readonly observationError?: string | undefined;
7946
- } | undefined;
7947
- readonly briefSteers?: readonly {
7996
+ readonly questionId: string;
7997
+ readonly questionRevision: string;
7998
+ readonly responseId: string;
7999
+ readonly type: "answer" | "clarify" | "not_now";
8000
+ }[] | undefined;
8001
+ readonly result?: {
8002
+ readonly head: string;
8003
+ readonly kind: "change";
8004
+ readonly paths: readonly string[];
8005
+ readonly pr: string;
8006
+ readonly prNumber?: number | undefined;
8007
+ } | {
8008
+ readonly evidence: readonly string[];
8009
+ readonly head: string;
8010
+ readonly kind: "no-change";
8011
+ } | undefined;
8012
+ readonly resultObservations?: readonly ({
8013
+ readonly head: string;
8014
+ readonly kind: "change";
8015
+ readonly paths: readonly string[];
8016
+ readonly pr: string;
8017
+ readonly prNumber?: number | undefined;
8018
+ } | {
8019
+ readonly evidence: readonly string[];
8020
+ readonly head: string;
8021
+ readonly kind: "no-change";
8022
+ })[] | undefined;
8023
+ readonly review?: {
8024
+ readonly evidence: readonly string[];
8025
+ readonly findings?: readonly string[] | undefined;
8026
+ readonly head: string;
8027
+ readonly receipt: {
8028
+ readonly sessionId: string;
8029
+ readonly turnId: string;
8030
+ };
8031
+ readonly repairPrompt: string;
8032
+ readonly verdict: "approved" | "changes";
8033
+ } | undefined;
8034
+ readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
8035
+ readonly stageEnteredAt?: number | undefined;
8036
+ readonly supersededDecisions?: readonly {
8037
+ readonly boardAcknowledged?: boolean | undefined;
8038
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
8039
+ readonly published: {
8040
+ readonly itemId: string;
8041
+ readonly questionId: string;
8042
+ readonly request: string;
8043
+ readonly revision: string;
8044
+ readonly sourcePath: string;
8045
+ readonly workId: string;
8046
+ readonly workRevision: string;
8047
+ readonly workSourcePath: string;
8048
+ };
8049
+ readonly reassignedTo?: {
8050
+ readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
8051
+ readonly decisionId: string;
8052
+ } | undefined;
8053
+ readonly supersededAt: number;
8054
+ }[] | undefined;
8055
+ readonly updatedAt?: number | undefined;
8056
+ readonly history?: readonly {
8057
+ readonly admissionReady?: boolean | undefined;
8058
+ readonly areas?: readonly string[] | undefined;
8059
+ readonly attempts: readonly {
8060
+ readonly abandoned?: {
8061
+ readonly at: number;
8062
+ readonly interruptError?: string | undefined;
8063
+ readonly observation?: {
8064
+ readonly capacity?: "flexUnavailable" | "rateLimitExceeded" | "serverOverloaded" | undefined;
7948
8065
  readonly error?: string | undefined;
7949
- readonly requestedAt: number;
7950
- readonly revision: string;
7951
- readonly steeredAt?: number | undefined;
7952
- }[] | undefined;
7953
- readonly checkFailures?: readonly string[] | undefined;
7954
- readonly missingSince?: number | undefined;
7955
- readonly observationRetries?: number | undefined;
7956
- readonly operationId: string;
7957
- readonly output?: string | undefined;
7958
- readonly progress?: {
7959
- readonly at: number;
7960
- readonly signature: string;
7961
- } | undefined;
7962
- readonly prompt?: string | undefined;
7963
- readonly providerFailures?: number | undefined;
7964
- readonly readRetry?: {
7965
- readonly error: string;
7966
- readonly failures: number;
7967
- readonly retryAt: number;
7968
- } | undefined;
7969
- readonly receipt?: {
7970
- readonly sessionId: string;
7971
- readonly turnId: string;
7972
- } | undefined;
7973
- readonly reviewHead?: string | undefined;
7974
- readonly reviewRevision?: string | undefined;
7975
- readonly role: "repair" | "reviewer" | "worker";
7976
- readonly sessionCleanupComplete?: boolean | undefined;
7977
- readonly sessionId?: string | undefined;
7978
- readonly sessionUnusable?: boolean | undefined;
7979
- readonly settings?: {
7980
- readonly effort?: string | undefined;
7981
- readonly model?: string | undefined;
7982
- readonly serviceTier?: string | undefined;
7983
- } | undefined;
7984
- readonly stallRecovery?: {
7985
- readonly count: number;
7986
- readonly interruptedAt?: number | undefined;
7987
- readonly interruptRequestedAt?: number | undefined;
7988
- readonly lastActionAt: number;
7989
- readonly steeredAt?: number | undefined;
8066
+ readonly execution: "accepted" | "completed" | "failed" | "interrupted" | "running";
8067
+ readonly output: string;
8068
+ readonly progress?: readonly {
8069
+ readonly id: string;
8070
+ readonly status?: string | undefined;
8071
+ }[] | undefined;
8072
+ readonly provisioning: "ready" | "unknown";
8073
+ readonly receipt: {
8074
+ readonly sessionId: string;
8075
+ readonly turnId: string;
8076
+ };
8077
+ readonly turnMissing?: boolean | undefined;
7990
8078
  } | undefined;
7991
- readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
7992
- readonly submissionTimedOut?: boolean | undefined;
7993
- readonly submissionUncertain?: boolean | undefined;
7994
- readonly submittedAt: number;
7995
- readonly terminalReceipts?: readonly {
7996
- readonly sessionId: string;
7997
- readonly turnId: string;
7998
- }[] | undefined;
7999
- }[];
8000
- readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
8001
- readonly blocker?: string | undefined;
8002
- readonly boardContext?: string | undefined;
8003
- readonly boardRevision: string;
8004
- readonly boardSourcePath?: string | undefined;
8005
- readonly checks?: {
8006
- readonly evidence: readonly string[];
8007
- readonly failedChecks?: readonly string[] | undefined;
8008
- readonly head: string;
8009
- readonly passed: boolean;
8010
- readonly pending?: boolean | undefined;
8011
- readonly repairPrompt?: string | undefined;
8079
+ readonly observationError?: string | undefined;
8012
8080
  } | undefined;
8013
- readonly completedAt?: number | undefined;
8014
- readonly conflictRepairs?: readonly string[] | undefined;
8015
- readonly cwd: string;
8016
- readonly decision?: {
8017
- readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
8018
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
8019
- readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
8020
- readonly id: string;
8021
- readonly links: readonly string[];
8022
- readonly publicationWork?: {
8023
- readonly approved: boolean;
8024
- readonly areas?: readonly string[] | undefined;
8025
- readonly context: string;
8026
- readonly deliverable?: "report" | undefined;
8027
- readonly dependsOn: readonly string[];
8028
- readonly revision: string;
8029
- readonly sourcePath: string;
8030
- readonly status?: string | undefined;
8031
- readonly workId: string;
8032
- } | undefined;
8033
- readonly published?: {
8034
- readonly itemId: string;
8035
- readonly questionId: string;
8036
- readonly request: string;
8037
- readonly revision: string;
8038
- readonly sourcePath: string;
8039
- readonly workId: string;
8040
- readonly workRevision: string;
8041
- readonly workSourcePath: string;
8042
- } | undefined;
8043
- readonly reason: string;
8044
- readonly recommendation: string;
8045
- readonly worker?: {
8046
- readonly sessionId: string;
8047
- readonly turnId: string;
8048
- } | undefined;
8081
+ readonly briefSteers?: readonly {
8082
+ readonly error?: string | undefined;
8083
+ readonly requestedAt: number;
8084
+ readonly revision: string;
8085
+ readonly steeredAt?: number | undefined;
8086
+ }[] | undefined;
8087
+ readonly checkFailures?: readonly string[] | undefined;
8088
+ readonly missingSince?: number | undefined;
8089
+ readonly observationRetries?: number | undefined;
8090
+ readonly operationId: string;
8091
+ readonly output?: string | undefined;
8092
+ readonly overLimit?: boolean | undefined;
8093
+ readonly progress?: {
8094
+ readonly at: number;
8095
+ readonly signature: string;
8049
8096
  } | undefined;
8050
- readonly decisionAcknowledged?: boolean | undefined;
8051
- readonly decisionPublished?: boolean | undefined;
8052
- readonly deliverable?: "report" | undefined;
8053
- readonly integrationRetry?: {
8097
+ readonly prompt?: string | undefined;
8098
+ readonly providerFailures?: number | undefined;
8099
+ readonly readRetry?: {
8054
8100
  readonly error: string;
8055
8101
  readonly failures: number;
8056
8102
  readonly retryAt: number;
8057
8103
  } | undefined;
8058
- readonly launch?: {
8104
+ readonly receipt?: {
8105
+ readonly sessionId: string;
8106
+ readonly turnId: string;
8107
+ } | undefined;
8108
+ readonly reviewHead?: string | undefined;
8109
+ readonly reviewRevision?: string | undefined;
8110
+ readonly role: "repair" | "reviewer" | "worker";
8111
+ readonly sessionCleanupComplete?: boolean | undefined;
8112
+ readonly sessionId?: string | undefined;
8113
+ readonly sessionUnusable?: boolean | undefined;
8114
+ readonly settings?: {
8059
8115
  readonly effort?: string | undefined;
8060
8116
  readonly model?: string | undefined;
8061
8117
  readonly serviceTier?: string | undefined;
8062
8118
  } | undefined;
8063
- readonly launchRetry?: {
8064
- readonly prompt?: string | undefined;
8065
- readonly rejectedAt: number;
8066
- readonly rejections: number;
8067
- readonly retryAt: number;
8119
+ readonly stallRecovery?: {
8120
+ readonly count: number;
8121
+ readonly interruptedAt?: number | undefined;
8122
+ readonly interruptRequestedAt?: number | undefined;
8123
+ readonly lastActionAt: number;
8124
+ readonly steeredAt?: number | undefined;
8068
8125
  } | undefined;
8069
- readonly mergeAreasReleased?: boolean | undefined;
8070
- readonly mergeReadyAt?: number | undefined;
8071
- readonly mergeReadyHead?: string | undefined;
8072
- readonly outcome?: {
8073
- readonly head: string;
8126
+ readonly status: "accepted" | "completed" | "failed" | "interrupted" | "running" | "submitting";
8127
+ readonly submissionTimedOut?: boolean | undefined;
8128
+ readonly submissionUncertain?: boolean | undefined;
8129
+ readonly submittedAt: number;
8130
+ readonly terminalReceipts?: readonly {
8131
+ readonly sessionId: string;
8132
+ readonly turnId: string;
8133
+ }[] | undefined;
8134
+ }[];
8135
+ readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
8136
+ readonly blocker?: string | undefined;
8137
+ readonly boardContext?: string | undefined;
8138
+ readonly boardRevision: string;
8139
+ readonly boardSourcePath?: string | undefined;
8140
+ readonly checks?: {
8141
+ readonly evidence: readonly string[];
8142
+ readonly failedChecks?: readonly string[] | undefined;
8143
+ readonly head: string;
8144
+ readonly passed: boolean;
8145
+ readonly pending?: boolean | undefined;
8146
+ readonly repairPrompt?: string | undefined;
8147
+ } | undefined;
8148
+ readonly completedAt?: number | undefined;
8149
+ readonly conflictRepairs?: readonly string[] | undefined;
8150
+ readonly cwd: string;
8151
+ readonly decision?: {
8152
+ readonly attentionOwner?: "automation" | "maintainer" | "orchestrator" | undefined;
8153
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
8154
+ readonly code?: "approval-required" | "board-failure" | "checks-repair-exhausted" | "checks-result-invalid" | "delivery-head-mismatch" | "delivery-pr-required" | "duplicate-turns" | "empty-report" | "fleet-denied" | "fleet-integration" | "fleet-invalid" | "fleet-missing" | "fleet-stale" | "foreign-pr" | "incomplete-context" | "incomplete-observation" | "integration-failure" | "no-change-checks-unconfigured" | "not-ancestor" | "pr-conflicting" | "pr-head-moved" | "provider-quota-unavailable" | "relevant-change" | "report-published" | "report-too-large" | "result-identity-changed" | "reviewed-pr-ready" | "reviewer-terminal" | "session-active-turn" | "session-active-turn-exhausted" | "session-ambiguous" | "session-persistence" | "session-protocol" | "session-queue-full" | "session-rejected" | "session-stalled" | "session-turn-missing" | "session-unavailable" | "worker-question" | "worker-receipt-missing" | "worker-report-head-invalid" | "worker-report-head-moved" | "worker-report-merged-head-mismatch" | "worker-report-pr-invalid" | "worker-terminal" | undefined;
8155
+ readonly id: string;
8156
+ readonly links: readonly string[];
8157
+ readonly publicationWork?: {
8158
+ readonly approved: boolean;
8159
+ readonly areas?: readonly string[] | undefined;
8160
+ readonly context: string;
8161
+ readonly deliverable?: "report" | undefined;
8162
+ readonly dependsOn: readonly string[];
8163
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
8164
+ readonly revision: string;
8165
+ readonly sourcePath: string;
8166
+ readonly status?: string | undefined;
8167
+ readonly workId: string;
8168
+ } | undefined;
8169
+ readonly published?: {
8170
+ readonly itemId: string;
8171
+ readonly questionId: string;
8172
+ readonly request: string;
8074
8173
  readonly revision: string;
8075
- readonly url: string;
8076
- } | {
8077
- readonly evidence: readonly string[];
8174
+ readonly sourcePath: string;
8175
+ readonly workId: string;
8176
+ readonly workRevision: string;
8177
+ readonly workSourcePath: string;
8078
8178
  } | undefined;
8079
- readonly pendingAnswers?: readonly string[] | undefined;
8080
- readonly preparation: {
8081
- readonly baselinePaths: readonly string[];
8082
- readonly baseRevision: string;
8083
- readonly configuration: readonly {
8084
- readonly path: string;
8085
- readonly relevantKeys: readonly string[];
8086
- }[];
8087
- readonly contextComplete: boolean;
8088
- readonly dependencyPaths: readonly string[];
8089
- readonly observedAt: number;
8090
- readonly ownedPaths: readonly string[];
8091
- readonly qualityPaths: readonly string[];
8092
- readonly setupPaths: readonly string[];
8093
- readonly sourcePaths: readonly string[];
8094
- readonly validation: readonly {
8095
- readonly command: string;
8096
- readonly revision: string;
8097
- }[];
8179
+ readonly reason: string;
8180
+ readonly recommendation: string;
8181
+ readonly worker?: {
8182
+ readonly sessionId: string;
8183
+ readonly turnId: string;
8184
+ } | undefined;
8185
+ } | undefined;
8186
+ readonly decisionAcknowledged?: boolean | undefined;
8187
+ readonly decisionPublished?: boolean | undefined;
8188
+ readonly deliverable?: "report" | undefined;
8189
+ readonly dispatchNow?: {
8190
+ readonly ignoreAreas: boolean;
8191
+ } | undefined;
8192
+ readonly integrationRetry?: {
8193
+ readonly error: string;
8194
+ readonly failures: number;
8195
+ readonly retryAt: number;
8196
+ } | undefined;
8197
+ readonly launch?: {
8198
+ readonly effort?: string | undefined;
8199
+ readonly model?: string | undefined;
8200
+ readonly serviceTier?: string | undefined;
8201
+ } | undefined;
8202
+ readonly launchRetry?: {
8203
+ readonly prompt?: string | undefined;
8204
+ readonly rejectedAt: number;
8205
+ readonly rejections: number;
8206
+ readonly retryAt: number;
8207
+ } | undefined;
8208
+ readonly mergeAreasReleased?: boolean | undefined;
8209
+ readonly mergeReadyAt?: number | undefined;
8210
+ readonly mergeReadyHead?: string | undefined;
8211
+ readonly outcome?: {
8212
+ readonly head: string;
8213
+ readonly revision: string;
8214
+ readonly url: string;
8215
+ } | {
8216
+ readonly evidence: readonly string[];
8217
+ } | undefined;
8218
+ readonly pendingAnswers?: readonly string[] | undefined;
8219
+ readonly preparation: {
8220
+ readonly baselinePaths: readonly string[];
8221
+ readonly baseRevision: string;
8222
+ readonly configuration: readonly {
8223
+ readonly path: string;
8224
+ readonly relevantKeys: readonly string[];
8225
+ }[];
8226
+ readonly contextComplete: boolean;
8227
+ readonly dependencyPaths: readonly string[];
8228
+ readonly observedAt: number;
8229
+ readonly ownedPaths: readonly string[];
8230
+ readonly qualityPaths: readonly string[];
8231
+ readonly setupPaths: readonly string[];
8232
+ readonly sourcePaths: readonly string[];
8233
+ readonly validation: readonly {
8234
+ readonly command: string;
8235
+ readonly revision: string;
8236
+ }[];
8237
+ };
8238
+ readonly prompt: string;
8239
+ readonly releaseReason?: string | undefined;
8240
+ readonly report?: {
8241
+ readonly itemId: string;
8242
+ readonly receipt: {
8243
+ readonly sessionId: string;
8244
+ readonly turnId: string;
8098
8245
  };
8099
- readonly prompt: string;
8100
- readonly releaseReason?: string | undefined;
8101
- readonly report?: {
8246
+ readonly revision: string;
8247
+ readonly sourcePath: string;
8248
+ readonly workRevision: string;
8249
+ } | undefined;
8250
+ readonly responses?: readonly {
8251
+ readonly action?: "continue" | "release" | "retry" | undefined;
8252
+ readonly boardAcknowledged?: boolean | undefined;
8253
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
8254
+ readonly decisionId: string;
8255
+ readonly processedAt: number;
8256
+ readonly published?: {
8102
8257
  readonly itemId: string;
8103
- readonly receipt: {
8104
- readonly sessionId: string;
8105
- readonly turnId: string;
8106
- };
8258
+ readonly questionId: string;
8259
+ readonly request: string;
8107
8260
  readonly revision: string;
8108
8261
  readonly sourcePath: string;
8262
+ readonly workId: string;
8109
8263
  readonly workRevision: string;
8264
+ readonly workSourcePath: string;
8110
8265
  } | undefined;
8111
- readonly responses?: readonly {
8112
- readonly action?: "continue" | "release" | "retry" | undefined;
8113
- readonly boardAcknowledged?: boolean | undefined;
8114
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
8115
- readonly decisionId: string;
8116
- readonly processedAt: number;
8117
- readonly published?: {
8118
- readonly itemId: string;
8119
- readonly questionId: string;
8120
- readonly request: string;
8121
- readonly revision: string;
8122
- readonly sourcePath: string;
8123
- readonly workId: string;
8124
- readonly workRevision: string;
8125
- readonly workSourcePath: string;
8126
- } | undefined;
8266
+ readonly questionId: string;
8267
+ readonly questionRevision: string;
8268
+ readonly responseId: string;
8269
+ readonly type: "answer" | "clarify" | "not_now";
8270
+ }[] | undefined;
8271
+ readonly result?: {
8272
+ readonly head: string;
8273
+ readonly kind: "change";
8274
+ readonly paths: readonly string[];
8275
+ readonly pr: string;
8276
+ readonly prNumber?: number | undefined;
8277
+ } | {
8278
+ readonly evidence: readonly string[];
8279
+ readonly head: string;
8280
+ readonly kind: "no-change";
8281
+ } | undefined;
8282
+ readonly resultObservations?: readonly ({
8283
+ readonly head: string;
8284
+ readonly kind: "change";
8285
+ readonly paths: readonly string[];
8286
+ readonly pr: string;
8287
+ readonly prNumber?: number | undefined;
8288
+ } | {
8289
+ readonly evidence: readonly string[];
8290
+ readonly head: string;
8291
+ readonly kind: "no-change";
8292
+ })[] | undefined;
8293
+ readonly review?: {
8294
+ readonly evidence: readonly string[];
8295
+ readonly findings?: readonly string[] | undefined;
8296
+ readonly head: string;
8297
+ readonly receipt: {
8298
+ readonly sessionId: string;
8299
+ readonly turnId: string;
8300
+ };
8301
+ readonly repairPrompt: string;
8302
+ readonly verdict: "approved" | "changes";
8303
+ } | undefined;
8304
+ readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
8305
+ readonly stageEnteredAt?: number | undefined;
8306
+ readonly supersededDecisions?: readonly {
8307
+ readonly boardAcknowledged?: boolean | undefined;
8308
+ readonly boardAcknowledgementDisposition?: "superseded" | undefined;
8309
+ readonly published: {
8310
+ readonly itemId: string;
8127
8311
  readonly questionId: string;
8128
- readonly questionRevision: string;
8129
- readonly responseId: string;
8130
- readonly type: "answer" | "clarify" | "not_now";
8131
- }[] | undefined;
8132
- readonly result?: {
8133
- readonly head: string;
8134
- readonly kind: "change";
8135
- readonly paths: readonly string[];
8136
- readonly pr: string;
8137
- readonly prNumber?: number | undefined;
8138
- } | {
8139
- readonly evidence: readonly string[];
8140
- readonly head: string;
8141
- readonly kind: "no-change";
8142
- } | undefined;
8143
- readonly resultObservations?: readonly ({
8144
- readonly head: string;
8145
- readonly kind: "change";
8146
- readonly paths: readonly string[];
8147
- readonly pr: string;
8148
- readonly prNumber?: number | undefined;
8149
- } | {
8150
- readonly evidence: readonly string[];
8151
- readonly head: string;
8152
- readonly kind: "no-change";
8153
- })[] | undefined;
8154
- readonly review?: {
8155
- readonly evidence: readonly string[];
8156
- readonly findings?: readonly string[] | undefined;
8157
- readonly head: string;
8158
- readonly receipt: {
8159
- readonly sessionId: string;
8160
- readonly turnId: string;
8161
- };
8162
- readonly repairPrompt: string;
8163
- readonly verdict: "approved" | "changes";
8312
+ readonly request: string;
8313
+ readonly revision: string;
8314
+ readonly sourcePath: string;
8315
+ readonly workId: string;
8316
+ readonly workRevision: string;
8317
+ readonly workSourcePath: string;
8318
+ };
8319
+ readonly reassignedTo?: {
8320
+ readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
8321
+ readonly decisionId: string;
8164
8322
  } | undefined;
8165
- readonly stage: "adopting" | "completed" | "delivering" | "executing" | "needs-human" | "prepared" | "released" | "repairing" | "reviewing" | "validating";
8166
- readonly stageEnteredAt?: number | undefined;
8167
- readonly supersededDecisions?: readonly {
8168
- readonly boardAcknowledged?: boolean | undefined;
8169
- readonly boardAcknowledgementDisposition?: "superseded" | undefined;
8170
- readonly published: {
8171
- readonly itemId: string;
8172
- readonly questionId: string;
8173
- readonly request: string;
8174
- readonly revision: string;
8175
- readonly sourcePath: string;
8176
- readonly workId: string;
8177
- readonly workRevision: string;
8178
- readonly workSourcePath: string;
8179
- };
8180
- readonly reassignedTo?: {
8181
- readonly attentionOwner: "automation" | "maintainer" | "orchestrator";
8182
- readonly decisionId: string;
8183
- } | undefined;
8184
- readonly supersededAt: number;
8185
- }[] | undefined;
8186
- readonly updatedAt?: number | undefined;
8187
- readonly archivedAt: number;
8323
+ readonly supersededAt: number;
8188
8324
  }[] | undefined;
8189
- readonly workId: string;
8190
- };
8191
- version: number;
8192
- }[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
8325
+ readonly updatedAt?: number | undefined;
8326
+ readonly archivedAt: number;
8327
+ }[] | undefined;
8328
+ readonly workId: string;
8329
+ }>[], import("effect/Schema").SchemaError | import("effect/sql/SqlError").SqlError, never>;
8193
8330
  load: (workId: string) => Effect.Effect<{
8194
8331
  value: {
8195
8332
  readonly admissionReady?: boolean | undefined;
@@ -8227,6 +8364,7 @@ export declare const observeDeliveryFailure: (state: {
8227
8364
  readonly observationRetries?: number | undefined;
8228
8365
  readonly operationId: string;
8229
8366
  readonly output?: string | undefined;
8367
+ readonly overLimit?: boolean | undefined;
8230
8368
  readonly progress?: {
8231
8369
  readonly at: number;
8232
8370
  readonly signature: string;
@@ -8297,6 +8435,7 @@ export declare const observeDeliveryFailure: (state: {
8297
8435
  readonly context: string;
8298
8436
  readonly deliverable?: "report" | undefined;
8299
8437
  readonly dependsOn: readonly string[];
8438
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
8300
8439
  readonly revision: string;
8301
8440
  readonly sourcePath: string;
8302
8441
  readonly status?: string | undefined;
@@ -8322,6 +8461,9 @@ export declare const observeDeliveryFailure: (state: {
8322
8461
  readonly decisionAcknowledged?: boolean | undefined;
8323
8462
  readonly decisionPublished?: boolean | undefined;
8324
8463
  readonly deliverable?: "report" | undefined;
8464
+ readonly dispatchNow?: {
8465
+ readonly ignoreAreas: boolean;
8466
+ } | undefined;
8325
8467
  readonly integrationRetry?: {
8326
8468
  readonly error: string;
8327
8469
  readonly failures: number;
@@ -8492,6 +8634,7 @@ export declare const observeDeliveryFailure: (state: {
8492
8634
  readonly observationRetries?: number | undefined;
8493
8635
  readonly operationId: string;
8494
8636
  readonly output?: string | undefined;
8637
+ readonly overLimit?: boolean | undefined;
8495
8638
  readonly progress?: {
8496
8639
  readonly at: number;
8497
8640
  readonly signature: string;
@@ -8562,6 +8705,7 @@ export declare const observeDeliveryFailure: (state: {
8562
8705
  readonly context: string;
8563
8706
  readonly deliverable?: "report" | undefined;
8564
8707
  readonly dependsOn: readonly string[];
8708
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
8565
8709
  readonly revision: string;
8566
8710
  readonly sourcePath: string;
8567
8711
  readonly status?: string | undefined;
@@ -8587,6 +8731,9 @@ export declare const observeDeliveryFailure: (state: {
8587
8731
  readonly decisionAcknowledged?: boolean | undefined;
8588
8732
  readonly decisionPublished?: boolean | undefined;
8589
8733
  readonly deliverable?: "report" | undefined;
8734
+ readonly dispatchNow?: {
8735
+ readonly ignoreAreas: boolean;
8736
+ } | undefined;
8590
8737
  readonly integrationRetry?: {
8591
8738
  readonly error: string;
8592
8739
  readonly failures: number;
@@ -8768,6 +8915,7 @@ export declare const observeDeliveryFailure: (state: {
8768
8915
  readonly observationRetries?: number | undefined;
8769
8916
  readonly operationId: string;
8770
8917
  readonly output?: string | undefined;
8918
+ readonly overLimit?: boolean | undefined;
8771
8919
  readonly progress?: {
8772
8920
  readonly at: number;
8773
8921
  readonly signature: string;
@@ -8838,6 +8986,7 @@ export declare const observeDeliveryFailure: (state: {
8838
8986
  readonly context: string;
8839
8987
  readonly deliverable?: "report" | undefined;
8840
8988
  readonly dependsOn: readonly string[];
8989
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
8841
8990
  readonly revision: string;
8842
8991
  readonly sourcePath: string;
8843
8992
  readonly status?: string | undefined;
@@ -8863,6 +9012,9 @@ export declare const observeDeliveryFailure: (state: {
8863
9012
  readonly decisionAcknowledged?: boolean | undefined;
8864
9013
  readonly decisionPublished?: boolean | undefined;
8865
9014
  readonly deliverable?: "report" | undefined;
9015
+ readonly dispatchNow?: {
9016
+ readonly ignoreAreas: boolean;
9017
+ } | undefined;
8866
9018
  readonly integrationRetry?: {
8867
9019
  readonly error: string;
8868
9020
  readonly failures: number;
@@ -9033,6 +9185,7 @@ export declare const observeDeliveryFailure: (state: {
9033
9185
  readonly observationRetries?: number | undefined;
9034
9186
  readonly operationId: string;
9035
9187
  readonly output?: string | undefined;
9188
+ readonly overLimit?: boolean | undefined;
9036
9189
  readonly progress?: {
9037
9190
  readonly at: number;
9038
9191
  readonly signature: string;
@@ -9103,6 +9256,7 @@ export declare const observeDeliveryFailure: (state: {
9103
9256
  readonly context: string;
9104
9257
  readonly deliverable?: "report" | undefined;
9105
9258
  readonly dependsOn: readonly string[];
9259
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
9106
9260
  readonly revision: string;
9107
9261
  readonly sourcePath: string;
9108
9262
  readonly status?: string | undefined;
@@ -9128,6 +9282,9 @@ export declare const observeDeliveryFailure: (state: {
9128
9282
  readonly decisionAcknowledged?: boolean | undefined;
9129
9283
  readonly decisionPublished?: boolean | undefined;
9130
9284
  readonly deliverable?: "report" | undefined;
9285
+ readonly dispatchNow?: {
9286
+ readonly ignoreAreas: boolean;
9287
+ } | undefined;
9131
9288
  readonly integrationRetry?: {
9132
9289
  readonly error: string;
9133
9290
  readonly failures: number;
@@ -9307,6 +9464,7 @@ export declare const observeDeliveryFailure: (state: {
9307
9464
  readonly observationRetries?: number | undefined;
9308
9465
  readonly operationId: string;
9309
9466
  readonly output?: string | undefined;
9467
+ readonly overLimit?: boolean | undefined;
9310
9468
  readonly progress?: {
9311
9469
  readonly at: number;
9312
9470
  readonly signature: string;
@@ -9377,6 +9535,7 @@ export declare const observeDeliveryFailure: (state: {
9377
9535
  readonly context: string;
9378
9536
  readonly deliverable?: "report" | undefined;
9379
9537
  readonly dependsOn: readonly string[];
9538
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
9380
9539
  readonly revision: string;
9381
9540
  readonly sourcePath: string;
9382
9541
  readonly status?: string | undefined;
@@ -9402,6 +9561,9 @@ export declare const observeDeliveryFailure: (state: {
9402
9561
  readonly decisionAcknowledged?: boolean | undefined;
9403
9562
  readonly decisionPublished?: boolean | undefined;
9404
9563
  readonly deliverable?: "report" | undefined;
9564
+ readonly dispatchNow?: {
9565
+ readonly ignoreAreas: boolean;
9566
+ } | undefined;
9405
9567
  readonly integrationRetry?: {
9406
9568
  readonly error: string;
9407
9569
  readonly failures: number;
@@ -9572,6 +9734,7 @@ export declare const observeDeliveryFailure: (state: {
9572
9734
  readonly observationRetries?: number | undefined;
9573
9735
  readonly operationId: string;
9574
9736
  readonly output?: string | undefined;
9737
+ readonly overLimit?: boolean | undefined;
9575
9738
  readonly progress?: {
9576
9739
  readonly at: number;
9577
9740
  readonly signature: string;
@@ -9642,6 +9805,7 @@ export declare const observeDeliveryFailure: (state: {
9642
9805
  readonly context: string;
9643
9806
  readonly deliverable?: "report" | undefined;
9644
9807
  readonly dependsOn: readonly string[];
9808
+ readonly priority?: "high" | "normal" | "urgent" | undefined;
9645
9809
  readonly revision: string;
9646
9810
  readonly sourcePath: string;
9647
9811
  readonly status?: string | undefined;
@@ -9667,6 +9831,9 @@ export declare const observeDeliveryFailure: (state: {
9667
9831
  readonly decisionAcknowledged?: boolean | undefined;
9668
9832
  readonly decisionPublished?: boolean | undefined;
9669
9833
  readonly deliverable?: "report" | undefined;
9834
+ readonly dispatchNow?: {
9835
+ readonly ignoreAreas: boolean;
9836
+ } | undefined;
9670
9837
  readonly integrationRetry?: {
9671
9838
  readonly error: string;
9672
9839
  readonly failures: number;