@cat-factory/orchestration 0.313.2 → 0.314.1

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 (119) hide show
  1. package/dist/container/dependencies.d.ts +10 -1
  2. package/dist/container/dependencies.d.ts.map +1 -1
  3. package/dist/container/execution-service.d.ts.map +1 -1
  4. package/dist/container/execution-service.js +1 -0
  5. package/dist/container/execution-service.js.map +1 -1
  6. package/dist/container/runtime.d.ts +1 -0
  7. package/dist/container/runtime.d.ts.map +1 -1
  8. package/dist/container/runtime.js +5 -1
  9. package/dist/container/runtime.js.map +1 -1
  10. package/dist/container.d.ts +8 -1
  11. package/dist/container.d.ts.map +1 -1
  12. package/dist/container.js +2 -1
  13. package/dist/container.js.map +1 -1
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +5 -0
  17. package/dist/index.js.map +1 -1
  18. package/dist/modules/debug/RunDebugService.d.ts.map +1 -1
  19. package/dist/modules/debug/RunDebugService.js +20 -2
  20. package/dist/modules/debug/RunDebugService.js.map +1 -1
  21. package/dist/modules/debug/llmReporting.logic.d.ts +24 -0
  22. package/dist/modules/debug/llmReporting.logic.d.ts.map +1 -0
  23. package/dist/modules/debug/llmReporting.logic.js +35 -0
  24. package/dist/modules/debug/llmReporting.logic.js.map +1 -0
  25. package/dist/modules/execution/AgentDispatchController.d.ts +7 -0
  26. package/dist/modules/execution/AgentDispatchController.d.ts.map +1 -1
  27. package/dist/modules/execution/AgentDispatchController.js +40 -24
  28. package/dist/modules/execution/AgentDispatchController.js.map +1 -1
  29. package/dist/modules/execution/DeployFixController.d.ts +9 -0
  30. package/dist/modules/execution/DeployFixController.d.ts.map +1 -1
  31. package/dist/modules/execution/DeployFixController.js +10 -10
  32. package/dist/modules/execution/DeployFixController.js.map +1 -1
  33. package/dist/modules/execution/DeployerStepController.d.ts.map +1 -1
  34. package/dist/modules/execution/DeployerStepController.js +4 -3
  35. package/dist/modules/execution/DeployerStepController.js.map +1 -1
  36. package/dist/modules/execution/ExecutionService.d.ts +7 -0
  37. package/dist/modules/execution/ExecutionService.d.ts.map +1 -1
  38. package/dist/modules/execution/ExecutionService.js +17 -0
  39. package/dist/modules/execution/ExecutionService.js.map +1 -1
  40. package/dist/modules/execution/ExecutionServiceDependencies.d.ts +8 -1
  41. package/dist/modules/execution/ExecutionServiceDependencies.d.ts.map +1 -1
  42. package/dist/modules/execution/GateHelperDispatcher.d.ts +8 -0
  43. package/dist/modules/execution/GateHelperDispatcher.d.ts.map +1 -1
  44. package/dist/modules/execution/GateHelperDispatcher.js +9 -5
  45. package/dist/modules/execution/GateHelperDispatcher.js.map +1 -1
  46. package/dist/modules/execution/GateStepController.d.ts.map +1 -1
  47. package/dist/modules/execution/GateStepController.js +9 -3
  48. package/dist/modules/execution/GateStepController.js.map +1 -1
  49. package/dist/modules/execution/HumanTestController.d.ts +7 -0
  50. package/dist/modules/execution/HumanTestController.d.ts.map +1 -1
  51. package/dist/modules/execution/HumanTestController.js +20 -8
  52. package/dist/modules/execution/HumanTestController.js.map +1 -1
  53. package/dist/modules/execution/OneShotStepController.d.ts +1 -1
  54. package/dist/modules/execution/OneShotStepController.js +1 -1
  55. package/dist/modules/execution/PollCompletionController.d.ts +22 -3
  56. package/dist/modules/execution/PollCompletionController.d.ts.map +1 -1
  57. package/dist/modules/execution/PollCompletionController.js +78 -8
  58. package/dist/modules/execution/PollCompletionController.js.map +1 -1
  59. package/dist/modules/execution/PollRunningController.d.ts +22 -7
  60. package/dist/modules/execution/PollRunningController.d.ts.map +1 -1
  61. package/dist/modules/execution/PollRunningController.js +64 -13
  62. package/dist/modules/execution/PollRunningController.js.map +1 -1
  63. package/dist/modules/execution/RalphController.d.ts +7 -0
  64. package/dist/modules/execution/RalphController.d.ts.map +1 -1
  65. package/dist/modules/execution/RalphController.js +12 -8
  66. package/dist/modules/execution/RalphController.js.map +1 -1
  67. package/dist/modules/execution/RunDispatcher.d.ts.map +1 -1
  68. package/dist/modules/execution/RunDispatcher.js +19 -6
  69. package/dist/modules/execution/RunDispatcher.js.map +1 -1
  70. package/dist/modules/execution/RunDispatcherDependencies.d.ts +16 -1
  71. package/dist/modules/execution/RunDispatcherDependencies.d.ts.map +1 -1
  72. package/dist/modules/execution/RunDispatcherDependencies.js.map +1 -1
  73. package/dist/modules/execution/RunStateMachine.d.ts.map +1 -1
  74. package/dist/modules/execution/RunStateMachine.js +21 -2
  75. package/dist/modules/execution/RunStateMachine.js.map +1 -1
  76. package/dist/modules/execution/StepGraph.d.ts.map +1 -1
  77. package/dist/modules/execution/StepGraph.js +7 -0
  78. package/dist/modules/execution/StepGraph.js.map +1 -1
  79. package/dist/modules/execution/TesterController.d.ts +7 -0
  80. package/dist/modules/execution/TesterController.d.ts.map +1 -1
  81. package/dist/modules/execution/TesterController.js +24 -18
  82. package/dist/modules/execution/TesterController.js.map +1 -1
  83. package/dist/modules/execution/VisualConfirmationController.d.ts +7 -0
  84. package/dist/modules/execution/VisualConfirmationController.d.ts.map +1 -1
  85. package/dist/modules/execution/VisualConfirmationController.js +20 -8
  86. package/dist/modules/execution/VisualConfirmationController.js.map +1 -1
  87. package/dist/modules/execution/advance.d.ts +14 -0
  88. package/dist/modules/execution/advance.d.ts.map +1 -1
  89. package/dist/modules/execution/awaitingJob.logic.d.ts +30 -0
  90. package/dist/modules/execution/awaitingJob.logic.d.ts.map +1 -0
  91. package/dist/modules/execution/awaitingJob.logic.js +62 -0
  92. package/dist/modules/execution/awaitingJob.logic.js.map +1 -0
  93. package/dist/modules/execution/delegation.logic.d.ts +93 -0
  94. package/dist/modules/execution/delegation.logic.d.ts.map +1 -0
  95. package/dist/modules/execution/delegation.logic.js +97 -0
  96. package/dist/modules/execution/delegation.logic.js.map +1 -0
  97. package/dist/modules/execution/deployer-family.d.ts.map +1 -1
  98. package/dist/modules/execution/deployer-family.js +1 -0
  99. package/dist/modules/execution/deployer-family.js.map +1 -1
  100. package/dist/modules/execution/drive.d.ts.map +1 -1
  101. package/dist/modules/execution/drive.js +6 -1
  102. package/dist/modules/execution/drive.js.map +1 -1
  103. package/dist/modules/execution/gate-window-controllers.d.ts +7 -0
  104. package/dist/modules/execution/gate-window-controllers.d.ts.map +1 -1
  105. package/dist/modules/execution/gate-window-controllers.js +5 -1
  106. package/dist/modules/execution/gate-window-controllers.js.map +1 -1
  107. package/dist/modules/execution/job.logic.d.ts +38 -2
  108. package/dist/modules/execution/job.logic.d.ts.map +1 -1
  109. package/dist/modules/execution/job.logic.js +34 -0
  110. package/dist/modules/execution/job.logic.js.map +1 -1
  111. package/dist/modules/execution/step-fold.logic.d.ts +218 -2
  112. package/dist/modules/execution/step-fold.logic.d.ts.map +1 -1
  113. package/dist/modules/execution/step-fold.logic.js +413 -3
  114. package/dist/modules/execution/step-fold.logic.js.map +1 -1
  115. package/dist/validation/validateRegistrations.d.ts +11 -1
  116. package/dist/validation/validateRegistrations.d.ts.map +1 -1
  117. package/dist/validation/validateRegistrations.js +86 -1
  118. package/dist/validation/validateRegistrations.js.map +1 -1
  119. package/package.json +12 -12
@@ -1,4 +1,4 @@
1
- import { type AgentJobHandle, type PipelineStep } from '@cat-factory/kernel';
1
+ import { type AgentJobHandle, type DelegationHandle, type PipelineStep, type RunDelegation } from '@cat-factory/kernel';
2
2
  import type { DispatchToolServers } from '@cat-factory/contracts';
3
3
  /**
4
4
  * Rebuild the job handle a settled/running POLL addresses, from the step alone.
@@ -20,7 +20,52 @@ import type { DispatchToolServers } from '@cat-factory/contracts';
20
20
  * - `initiatedByUserId` — the quota-cycle counters' fallback target for a PERSONAL
21
21
  * (individual-usage) run, which leases no pooled token; absent, the target is null.
22
22
  */
23
- export declare function pollHandleFor(step: PipelineStep, workspaceId: string, executionId: string): AgentJobHandle;
23
+ export declare function pollHandleFor(step: PipelineStep, workspaceId: string, executionId: string,
24
+ /**
25
+ * The run's block. A PARAMETER rather than something read off the step, like `workspaceId` and
26
+ * `executionId` beside it, and load-bearing for the same reason they are: the delegated arm
27
+ * re-resolves its executor's credentials on every poll, and a lookup a per-service credential
28
+ * store cannot scope returns nothing, so the step polls for its whole life with an empty bag.
29
+ */
30
+ blockId: string): AgentJobHandle;
31
+ /**
32
+ * The delegation record the step's IN-FLIGHT job belongs to, or undefined when the job in flight is
33
+ * not that record's.
34
+ *
35
+ * The ONE question every reader of `step.delegated` actually has, and asking `if (step.delegated)`
36
+ * instead is the shape that gets it wrong. A step whose own work was delegated can still dispatch a
37
+ * CONTAINER job afterwards (a helper round, a re-run under an overriding kind, a PR-review `fix`
38
+ * resolution), and the delegation record outlives that by design: its attempt log is the evidence
39
+ * for why the step is being re-run, and `resetStepForRerun` clears `jobId` and deliberately not the
40
+ * record. So a bare truthiness test routes that container job's poll to an external system, folds
41
+ * its phase onto external work that finished hours ago, and settles the external record on the
42
+ * container's outcome: three different systems' facts written onto one another.
43
+ *
44
+ * Keyed on the correlation key rather than on the record's status because the status is what the
45
+ * fold is about to CHANGE; the key is what says whose job this is, which is exactly why it is
46
+ * persisted (see `runDelegationSchema.correlationKey`).
47
+ */
48
+ export declare function inFlightDelegation(step: PipelineStep): RunDelegation | undefined;
49
+ /**
50
+ * The job id a re-entering advance may RE-ATTACH to, or undefined when there is nothing to
51
+ * re-attach to and the step must dispatch.
52
+ *
53
+ * Every dispatch site guards on "does this step already hold a job", and `step.jobId` alone is the
54
+ * wrong question for a delegated one. The claim is committed BEFORE `start()` is called, so a
55
+ * process that dies in between (a workerd isolate kill, a pg-boss worker restart, a deploy drain)
56
+ * leaves a job id addressing work that may never have been started. Read as a live handle, the
57
+ * replay skips its whole dispatch block and polls: the executor is asked to recover a run by
58
+ * correlation, answers "not yet" for ever because nothing was ever queued, and the step is failed
59
+ * as a TIMEOUT once the poll budget is spent, hours later and naming the wrong fault.
60
+ *
61
+ * A claim still `starting` is exactly that state and nothing else: {@link stampDelegationDispatch}
62
+ * moves it to `running` the moment the executor answers, and {@link failDelegationDispatch} drops
63
+ * the job id when it throws. So the honest answer is "no live job", and the site re-dispatches
64
+ * under the SAME correlation key (the dispatch epoch has not moved), which is precisely what the
65
+ * port's idempotency requirement is for: `start` recognises its own run, or starts the one that
66
+ * never began.
67
+ */
68
+ export declare function liveJobId(step: PipelineStep): string | undefined;
24
69
  /**
25
70
  * Persist the attribution a DISPATCH knows and the poll site cannot re-derive: the resolved
26
71
  * model, plus (for a subscription-harness job) the leased pool row and the run's initiator,
@@ -143,6 +188,177 @@ export declare function recordInlineToolServers(step: PipelineStep, resolved: Di
143
188
  * that dispatched holds a `string` rather than re-reading the now-optional `step.jobId`.
144
189
  */
145
190
  export declare function recordDispatchedJob(step: PipelineStep, handle: AgentJobHandle, dispatchedKind: string): string;
191
+ /**
192
+ * Open the delegation record for a dispatch about to happen: the CLAIM, committed BEFORE the
193
+ * external executor is called.
194
+ *
195
+ * This is the whole idempotency story for a delegated step, and the deadliest trap in the flow.
196
+ * Both durable drivers replay, and an executor asked to start twice produces two external runs and
197
+ * two pull requests for one task. So the engine takes the claim-before-effect half of the bargain
198
+ * the port asks the executor for: it writes `starting` with the correlation key as the step's job
199
+ * id, persists it, and only then dispatches. A replay finds the job id, re-attaches instead of
200
+ * dispatching, and the poll asks the executor to recover its own run by that key.
201
+ *
202
+ * The attempt log APPENDS. A re-run's earlier attempts and their URLs are the evidence for why the
203
+ * step is being re-run, and the platform holds nothing else about work that happened elsewhere.
204
+ * It does NOT append when the claim being re-opened is the SAME one, still unanswered: a dispatch
205
+ * that died between the claim and `start()` is re-driven under the same correlation key (see
206
+ * {@link liveJobId}), and the external system was asked once or not at all. Counted as a second
207
+ * attempt, a process that keeps dying would fill the step's evidence log with rounds that never
208
+ * reached anybody's runner.
209
+ */
210
+ export declare function claimDelegation(step: PipelineStep, input: {
211
+ executor: string;
212
+ correlationKey: string;
213
+ startedAt: number;
214
+ poll: {
215
+ intervalMs: number;
216
+ maxDurationMs: number;
217
+ };
218
+ }): void;
219
+ /**
220
+ * Fold a dispatch that THREW onto the step's delegation claim, and drop the handle so the next
221
+ * advance dispatches rather than polls.
222
+ *
223
+ * The handle goes because the claim's job id says "there is an external run to poll", which after
224
+ * a throw is exactly what nobody knows. Cleared, a replayed advance re-dispatches under the SAME
225
+ * correlation key (the failed attempt recorded no dispatch, so the epoch has not moved) and the
226
+ * executor's own idempotency re-attaches to the run if one did start. Left set, the engine polls
227
+ * a job that may never have existed until the budget is spent and reports a timeout instead of
228
+ * the dispatch failure that actually happened.
229
+ *
230
+ * Whether the CLAIM survives is decided by the caller, and the two answers are different facts:
231
+ *
232
+ * - `contacted: false`: the dispatch failed before the executor's system was reached (no repo
233
+ * linked, no executor registered). Nothing is running anywhere, so the record SETTLES as
234
+ * failed, and a teardown that asked the executor to cancel would raise a false alarm about
235
+ * external work that never started.
236
+ * - `contacted: true`: the executor was called and the call threw. The run may be queued, may be
237
+ * running, may not exist; only the executor can tell. The claim stays OPEN so the teardown
238
+ * names it, asks the executor to cancel by correlation key, and records whether that worked.
239
+ * A settled record is invisible to `liveDelegations`, which is how a lost response left a live
240
+ * external run to finish and open a pull request on a task the board reported as failed.
241
+ */
242
+ export declare function failDelegationDispatch(step: PipelineStep, failure: {
243
+ error: string;
244
+ contacted: boolean;
245
+ }): void;
246
+ /**
247
+ * Fold a RUNNING delegated poll onto the step, returning whether anything changed: the delegated
248
+ * sibling of {@link applyContainerRunning}.
249
+ *
250
+ * Separate from it rather than one fold over both, because the two records share no field beyond a
251
+ * status whose vocabularies differ. There is no container id to learn and no address to reach, and
252
+ * the two things that DO arrive late here (the external id and the URL, for a system that returns
253
+ * neither at start) have no counterpart there.
254
+ *
255
+ * The id is folded ONE WAY: a poll that reports none leaves the recorded one standing. An executor
256
+ * recovers its id once, and re-deriving it on every poll is what the fold exists to stop (the
257
+ * bounded correlation scan a busy repository eventually pushes the run off the end of).
258
+ */
259
+ export declare function applyDelegationRunning(step: PipelineStep, update: {
260
+ externalId?: string;
261
+ url?: string;
262
+ phase?: string;
263
+ }): boolean;
264
+ /**
265
+ * Every DELEGATED unit this run still has running somewhere else, as the handles their executors
266
+ * address them by.
267
+ *
268
+ * Read over EVERY step rather than the current one: a run parks on one step at a time, but a
269
+ * delegated step that failed into a retry, or one the run advanced past while its external work
270
+ * was still winding down, is exactly the work a teardown must still name. A record that already
271
+ * settled is excluded, because asking an executor to cancel a finished run is a request it has no
272
+ * good answer to and the record would then claim a cancellation that did not happen.
273
+ */
274
+ export declare function liveDelegations(instance: {
275
+ id: string;
276
+ blockId: string;
277
+ steps: readonly PipelineStep[];
278
+ },
279
+ /**
280
+ * The workspace the run belongs to. A PARAMETER, because an instance does not carry one and the
281
+ * handle requires it: the executor re-resolves its credentials to cancel, and a handle built
282
+ * with a placeholder resolves an empty bag, so every cancel fails on a missing credential and
283
+ * the record then reports work as possibly-still-running that the executor could have stopped.
284
+ * Taken here rather than patched on by the caller so there is nothing to forget.
285
+ */
286
+ workspaceId: string): DelegationHandle[];
287
+ /**
288
+ * Mark every live delegation `cancelled`, recording WHETHER the external work actually stopped.
289
+ *
290
+ * The distinction is the whole point. An executor that declares no `cancel` leaves its run alive:
291
+ * it will finish, open its pull request and bill its tokens long after the platform has recorded
292
+ * this run as stopped. Writing `cancelled` with nothing beside it would render a clean teardown
293
+ * over exactly that, and the person who stopped the run is the one who needs to know to go and
294
+ * stop it themselves.
295
+ *
296
+ * An unreported handle (the executor answered nothing) is treated as NOT cancelled, which is the
297
+ * fail-safe reading: "we asked" and "it stopped" are different facts and only the executor can
298
+ * turn the first into the second.
299
+ */
300
+ export declare function applyDelegationCancellation(instance: {
301
+ steps: readonly PipelineStep[];
302
+ }, report: readonly {
303
+ correlationKey: string;
304
+ cancelled: boolean;
305
+ note?: string;
306
+ }[] | undefined): boolean;
307
+ /**
308
+ * Settle the delegation record on a terminal outcome, recording WHAT happened on the attempt the
309
+ * claim opened.
310
+ *
311
+ * `outcome` is the executor's own words rather than a platform classification, because this record
312
+ * is read by a person deciding whether to go and open the external logs, and "the workflow was
313
+ * cancelled upstream" tells them something `failed` does not.
314
+ */
315
+ export declare function settleDelegation(step: PipelineStep, settlement: {
316
+ status: 'done' | 'failed' | 'cancelled';
317
+ outcome?: string | undefined;
318
+ url?: string | undefined;
319
+ note?: string | undefined;
320
+ /**
321
+ * The branch the work LANDED on, when the executor reported one. The product of a step whose
322
+ * executor pushed without opening a pull request, and recorded here because the platform holds
323
+ * nothing else about it: dropped, such a run settles as done with nothing to show for it.
324
+ */
325
+ branch?: string | undefined;
326
+ }): void;
327
+ /**
328
+ * Settle the step's own DELEGATION on the job that just finished, whichever disposition it
329
+ * reached, or do nothing when the job that finished was not the delegated one.
330
+ *
331
+ * Its own function rather than a guard plus a call at the settle site, because the whole rule is
332
+ * the guard: the record outlives the work it describes (its attempt log is the evidence for a
333
+ * re-run), so a CONTAINER job run later on the same step would overwrite a `failed` or `cancelled`
334
+ * external outcome with `done`, and that record is the entire account of work that happened
335
+ * somewhere else.
336
+ *
337
+ * It takes the whole settled update, and BOTH dispositions, because a step's delegated job is not
338
+ * always its own work: a gate's `ci-fixer`, an `on-call`, a tester's `fixer` and a failed
339
+ * deployer's `deploy-fixer` all ride the same `step.jobId`, and the round they finish is routed
340
+ * away from the completion path entirely (see `SettledHelperRouter`). Settling only the success
341
+ * case, only on that path, left every delegated helper's record reading `running` for ever: the
342
+ * teardown then asks its executor to cancel a run that finished, the spend-gap fold skips it as
343
+ * still in flight, and the step card says "running externally" over a job that is long done.
344
+ *
345
+ * `branch` is folded here because it is the product of an executor that pushed without opening a
346
+ * pull request: a case the port names as legitimate, and one where dropping the branch settles the
347
+ * run as done with nothing to show for it.
348
+ */
349
+ export declare function settleDelegatedJob(step: PipelineStep, update: {
350
+ state: 'done';
351
+ delegated?: {
352
+ url?: string;
353
+ branch?: string;
354
+ };
355
+ } | {
356
+ state: 'failed';
357
+ error: string;
358
+ delegated?: {
359
+ url?: string;
360
+ };
361
+ }): void;
146
362
  export declare function applyContainerRunning(step: PipelineStep, update: {
147
363
  phase?: string;
148
364
  container?: {
@@ -1 +1 @@
1
- {"version":3,"file":"step-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