@cat-factory/orchestration 0.133.0 → 0.133.2

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 (41) hide show
  1. package/dist/container/environmentsModule.factory.d.ts +51 -0
  2. package/dist/container/environmentsModule.factory.d.ts.map +1 -0
  3. package/dist/container/environmentsModule.factory.js +102 -0
  4. package/dist/container/environmentsModule.factory.js.map +1 -0
  5. package/dist/container/modules.d.ts.map +1 -1
  6. package/dist/container/modules.js +17 -63
  7. package/dist/container/modules.js.map +1 -1
  8. package/dist/modules/board/BoardService.d.ts +30 -0
  9. package/dist/modules/board/BoardService.d.ts.map +1 -1
  10. package/dist/modules/board/BoardService.js +100 -72
  11. package/dist/modules/board/BoardService.js.map +1 -1
  12. package/dist/modules/execution/CompanionController.d.ts +8 -0
  13. package/dist/modules/execution/CompanionController.d.ts.map +1 -1
  14. package/dist/modules/execution/CompanionController.js +55 -34
  15. package/dist/modules/execution/CompanionController.js.map +1 -1
  16. package/dist/modules/execution/ExecutionService.d.ts.map +1 -1
  17. package/dist/modules/execution/ExecutionService.js +6 -39
  18. package/dist/modules/execution/ExecutionService.js.map +1 -1
  19. package/dist/modules/execution/PollCompletionController.d.ts +68 -0
  20. package/dist/modules/execution/PollCompletionController.d.ts.map +1 -0
  21. package/dist/modules/execution/PollCompletionController.js +139 -0
  22. package/dist/modules/execution/PollCompletionController.js.map +1 -0
  23. package/dist/modules/execution/PrReviewResolutionController.d.ts +15 -0
  24. package/dist/modules/execution/PrReviewResolutionController.d.ts.map +1 -1
  25. package/dist/modules/execution/PrReviewResolutionController.js +40 -29
  26. package/dist/modules/execution/PrReviewResolutionController.js.map +1 -1
  27. package/dist/modules/execution/RunDispatcher.d.ts +2 -0
  28. package/dist/modules/execution/RunDispatcher.d.ts.map +1 -1
  29. package/dist/modules/execution/RunDispatcher.js +24 -90
  30. package/dist/modules/execution/RunDispatcher.js.map +1 -1
  31. package/dist/modules/execution/reentrancy.logic.d.ts +13 -0
  32. package/dist/modules/execution/reentrancy.logic.d.ts.map +1 -0
  33. package/dist/modules/execution/reentrancy.logic.js +44 -0
  34. package/dist/modules/execution/reentrancy.logic.js.map +1 -0
  35. package/dist/modules/pipelines/PipelineService.d.ts.map +1 -1
  36. package/dist/modules/pipelines/PipelineService.js +24 -15
  37. package/dist/modules/pipelines/PipelineService.js.map +1 -1
  38. package/dist/validation/validateRegistrations.d.ts.map +1 -1
  39. package/dist/validation/validateRegistrations.js +81 -50
  40. package/dist/validation/validateRegistrations.js.map +1 -1
  41. package/package.json +11 -11
@@ -81,6 +81,21 @@ export function collectRegistrationProblems(opts) {
81
81
  }
82
82
  // 3. Coherence (warn): a kind with postOps that has an agent step which is NOT structured
83
83
  // output likely can't feed those post-ops from `result.custom`. Heuristic, so a warning.
84
+ problems.push(...checkPostOpsStructuredOutput(agentKinds, registry));
85
+ // 4. Pipeline kinds (only when a built-in catalog is supplied — see option doc).
86
+ problems.push(...checkPipelineKinds(opts, registeredKindIds, gateKinds, builtInHelperKinds));
87
+ // 5. Custom task types (only when a task-type registry is supplied).
88
+ problems.push(...checkCustomTaskTypes(opts));
89
+ return problems;
90
+ }
91
+ /**
92
+ * Section 3 of {@link collectRegistrationProblems}: a coherence WARNING for a kind that declares
93
+ * postOps but whose agent step is not structured output — those post-ops read `result.custom` and
94
+ * would see nothing. Heuristic, hence a warning. Split out to keep the collector under the
95
+ * complexity ceiling.
96
+ */
97
+ function checkPostOpsStructuredOutput(agentKinds, registry) {
98
+ const problems = [];
84
99
  for (const def of agentKinds) {
85
100
  const hasPostOps = (def.postOps?.length ?? 0) > 0;
86
101
  const declaresStructured = def.agent?.output?.kind === 'structured' || registry.structuredOutput(def.kind) !== undefined;
@@ -94,64 +109,80 @@ export function collectRegistrationProblems(opts) {
94
109
  });
95
110
  }
96
111
  }
97
- // 4. Pipeline kinds (only when a built-in catalog is supplied — see option doc).
98
- if (opts.knownAgentKinds) {
99
- const known = opts.knownAgentKinds;
100
- for (const pipeline of opts.pipelineRegistry?.registered() ?? []) {
101
- for (const agentKind of pipeline.agentKinds) {
102
- const ok = known.has(agentKind) ||
103
- registeredKindIds.has(agentKind) ||
104
- gateKinds.has(agentKind) ||
105
- builtInHelperKinds.has(agentKind);
106
- if (!ok) {
107
- problems.push({
108
- severity: 'error',
109
- code: 'pipeline_unknown_kind',
110
- message: `Pipeline "${pipeline.id}" references agent kind "${agentKind}", which is not a ` +
111
- `known built-in, a registered kind, or a registered gate.`,
112
- });
113
- }
114
- }
115
- }
116
- }
117
- // 5. Custom task types (only when a task-type registry is supplied). Each registration must
118
- // carry a NAMESPACED id (`<ns>:<name>`) and, if set, a well-formed namespaced `formPanel`
119
- // id; a `defaultPipelineId` must resolve against the built-in + registered pipeline catalog
120
- // (else the created task would silently fall back to the positional default).
121
- if (opts.taskTypeRegistry) {
122
- const knownPipelineIds = new Set(seedPipelines(opts.pipelineRegistry).map((p) => p.id));
123
- for (const taskType of opts.taskTypeRegistry.all()) {
124
- if (!isNamespacedId(taskType.taskType)) {
125
- problems.push({
126
- severity: 'error',
127
- code: 'task_type_not_namespaced',
128
- message: `Custom task type "${taskType.taskType}" is not a namespaced id (<ns>:<name>, ` +
129
- `lowercase a-z0-9, dash-separated). A bare id collides with the built-in picklist.`,
130
- });
131
- }
132
- if (taskType.formPanel !== undefined && !isNamespacedId(taskType.formPanel)) {
133
- problems.push({
134
- severity: 'error',
135
- code: 'task_type_form_panel_invalid',
136
- message: `Custom task type "${taskType.taskType}" declares formPanel "${taskType.formPanel}", ` +
137
- `which is not a namespaced id (<ns>:<name>). Pair it with a frontend component in the ` +
138
- `taskTypeFormPanels slot under that id.`,
139
- });
140
- }
141
- if (taskType.defaultPipelineId !== undefined &&
142
- !knownPipelineIds.has(taskType.defaultPipelineId)) {
112
+ return problems;
113
+ }
114
+ /**
115
+ * Section 4 of {@link collectRegistrationProblems}: every kind a registered pipeline names must
116
+ * resolve to a known built-in, a registered kind, a registered gate, or a built-in helper. Only
117
+ * run when a built-in catalog (`knownAgentKinds`) is supplied. Split out to keep the collector
118
+ * under the complexity ceiling.
119
+ */
120
+ function checkPipelineKinds(opts, registeredKindIds, gateKinds, builtInHelperKinds) {
121
+ const problems = [];
122
+ if (!opts.knownAgentKinds)
123
+ return problems;
124
+ const known = opts.knownAgentKinds;
125
+ for (const pipeline of opts.pipelineRegistry?.registered() ?? []) {
126
+ for (const agentKind of pipeline.agentKinds) {
127
+ const ok = known.has(agentKind) ||
128
+ registeredKindIds.has(agentKind) ||
129
+ gateKinds.has(agentKind) ||
130
+ builtInHelperKinds.has(agentKind);
131
+ if (!ok) {
143
132
  problems.push({
144
133
  severity: 'error',
145
- code: 'task_type_unknown_pipeline',
146
- message: `Custom task type "${taskType.taskType}" declares defaultPipelineId ` +
147
- `"${taskType.defaultPipelineId}", which is neither a built-in nor a registered ` +
148
- `pipeline. Register the pipeline (PipelineRegistry) or fix the id.`,
134
+ code: 'pipeline_unknown_kind',
135
+ message: `Pipeline "${pipeline.id}" references agent kind "${agentKind}", which is not a ` +
136
+ `known built-in, a registered kind, or a registered gate.`,
149
137
  });
150
138
  }
151
139
  }
152
140
  }
153
141
  return problems;
154
142
  }
143
+ /**
144
+ * Section 5 of {@link collectRegistrationProblems}: each custom task type must carry a NAMESPACED
145
+ * id (`<ns>:<name>`) and, if set, a well-formed namespaced `formPanel` id; a `defaultPipelineId`
146
+ * must resolve against the built-in + registered pipeline catalog (else the created task would
147
+ * silently fall back to the positional default). Only run when a task-type registry is supplied.
148
+ * Split out to keep the collector under the complexity ceiling.
149
+ */
150
+ function checkCustomTaskTypes(opts) {
151
+ const problems = [];
152
+ if (!opts.taskTypeRegistry)
153
+ return problems;
154
+ const knownPipelineIds = new Set(seedPipelines(opts.pipelineRegistry).map((p) => p.id));
155
+ for (const taskType of opts.taskTypeRegistry.all()) {
156
+ if (!isNamespacedId(taskType.taskType)) {
157
+ problems.push({
158
+ severity: 'error',
159
+ code: 'task_type_not_namespaced',
160
+ message: `Custom task type "${taskType.taskType}" is not a namespaced id (<ns>:<name>, ` +
161
+ `lowercase a-z0-9, dash-separated). A bare id collides with the built-in picklist.`,
162
+ });
163
+ }
164
+ if (taskType.formPanel !== undefined && !isNamespacedId(taskType.formPanel)) {
165
+ problems.push({
166
+ severity: 'error',
167
+ code: 'task_type_form_panel_invalid',
168
+ message: `Custom task type "${taskType.taskType}" declares formPanel "${taskType.formPanel}", ` +
169
+ `which is not a namespaced id (<ns>:<name>). Pair it with a frontend component in the ` +
170
+ `taskTypeFormPanels slot under that id.`,
171
+ });
172
+ }
173
+ if (taskType.defaultPipelineId !== undefined &&
174
+ !knownPipelineIds.has(taskType.defaultPipelineId)) {
175
+ problems.push({
176
+ severity: 'error',
177
+ code: 'task_type_unknown_pipeline',
178
+ message: `Custom task type "${taskType.taskType}" declares defaultPipelineId ` +
179
+ `"${taskType.defaultPipelineId}", which is neither a built-in nor a registered ` +
180
+ `pipeline. Register the pipeline (PipelineRegistry) or fix the id.`,
181
+ });
182
+ }
183
+ }
184
+ return problems;
185
+ }
155
186
  /**
156
187
  * Validate the registered extensions, throwing an aggregated error on any `error`-severity
157
188
  * problem and logging `warn`-severity ones. Call once at facade boot, after every `register*`
@@ -1 +1 @@
1
- {"version":3,"file":"validateRegistrations.js","sourceRoot":"","sources":["../../src/validation/validateRegistrations.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAC5B,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,eAAe,GAChB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhG,8EAA8E;AAC9E,sFAAsF;AACtF,0FAA0F;AAC1F,2FAA2F;AAC3F,yFAAyF;AACzF,2FAA2F;AAC3F,6DAA6D;AAC7D,EAAE;AACF,6FAA6F;AAC7F,2FAA2F;AAC3F,wBAAwB;AACxB,8EAA8E;AAE9E;;wCAEwC;AACxC,M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AI,CAAC,CAAA;IAClD,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;QAChB,KAAK,MAAM,CAAC,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,MAAM,CAAC;YAAE,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;IAC/E,CAAC;IACD,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAA;IAC7D,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CACb,oCAAoC,MAAM,CAAC,MAAM,MAAM;YACrD,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAC/D,CAAA;IACH,CAAC;AACH,CAAC;AAED,4FAA4F;AAC5F,0FAA0F;AAC1F,2FAA2F;AAC3F,IAAI,SAAS,GAAG,KAAK,CAAA;AAErB,yGAAyG;AACzG,MAAM,UAAU,yBAAyB,CAAC,IAAkC;IAC1E,IAAI,SAAS;QAAE,OAAM;IACrB,6FAA6F;IAC7F,6FAA6F;IAC7F,gGAAgG;IAChG,gGAAgG;IAChG,kGAAkG;IAClG,qBAAqB,CAAC,IAAI,CAAC,CAAA;IAC3B,SAAS,GAAG,IAAI,CAAA;AAClB,CAAC;AAED,uFAAuF;AACvF,MAAM,UAAU,gCAAgC;IAC9C,SAAS,GAAG,KAAK,CAAA;AACnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/orchestration",
3
- "version": "0.133.0",
3
+ "version": "0.133.2",
4
4
  "description": "Delivery-workflow engine for the Agent Architecture Board (execution, bootstrap, pipelines, board, boardScan, requirements, and composition root).",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,20 +25,20 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "ai": "^6.0.230",
28
- "@cat-factory/agents": "0.68.0",
29
- "@cat-factory/caching": "0.10.30",
30
- "@cat-factory/contracts": "0.157.0",
31
- "@cat-factory/integrations": "0.90.0",
32
- "@cat-factory/kernel": "0.151.0",
33
- "@cat-factory/prompt-fragments": "0.14.4",
34
- "@cat-factory/sandbox": "0.9.133",
35
- "@cat-factory/spend": "0.12.74",
36
- "@cat-factory/workspaces": "0.17.17"
28
+ "@cat-factory/agents": "0.68.2",
29
+ "@cat-factory/caching": "0.10.31",
30
+ "@cat-factory/contracts": "0.158.0",
31
+ "@cat-factory/integrations": "0.91.1",
32
+ "@cat-factory/kernel": "0.152.0",
33
+ "@cat-factory/prompt-fragments": "0.14.5",
34
+ "@cat-factory/sandbox": "0.9.135",
35
+ "@cat-factory/spend": "0.12.75",
36
+ "@cat-factory/workspaces": "0.17.18"
37
37
  },
38
38
  "devDependencies": {
39
39
  "typescript": "7.0.2",
40
40
  "vitest": "^4.1.10",
41
- "@cat-factory/sandbox-fixtures": "0.7.187"
41
+ "@cat-factory/sandbox-fixtures": "0.7.188"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsc -b tsconfig.build.json",