@wildo-ai/dev-companion 1.1.8 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/bin/companion-supervisor.d.mts +33 -0
  2. package/bin/companion-supervisor.mjs +174 -0
  3. package/bin/wildo-dev-companion-supervised.mjs +16 -0
  4. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  5. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +8 -2
  6. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  7. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  8. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +8 -2
  9. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  10. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +1 -1
  11. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  12. package/dist/esm/brand/services/brand-accept.companion.service.js +9 -11
  13. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  14. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +21 -0
  15. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  16. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +33 -1
  17. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  18. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +41 -2
  19. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  20. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +43 -1
  21. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  22. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +57 -1
  23. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  24. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +75 -1
  25. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  26. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +90 -5
  27. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  28. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +242 -22
  29. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  30. package/dist/esm/companion-api/companion-api.schemas.d.ts +23 -2
  31. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  32. package/dist/esm/companion-api/companion-api.schemas.js +13 -2
  33. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  34. package/dist/esm/companion-api/controllers/companion.controller.d.ts +63 -7
  35. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  36. package/dist/esm/companion-api/controllers/companion.controller.js +315 -39
  37. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  38. package/dist/esm/core/config/primary-language.companion.utils.d.ts +5 -4
  39. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  40. package/dist/esm/core/config/primary-language.companion.utils.js +5 -4
  41. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  42. package/dist/esm/core/context/application-module-generations.companion.d.ts +103 -0
  43. package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -0
  44. package/dist/esm/core/context/application-module-generations.companion.js +313 -0
  45. package/dist/esm/core/context/application-module-generations.companion.js.map +1 -0
  46. package/dist/esm/core/context/companion-package-loaders.companion.d.ts +19 -19
  47. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  48. package/dist/esm/core/context/companion-package-loaders.companion.js +52 -40
  49. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  50. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  51. package/dist/esm/core/inject/models/container.js +4 -0
  52. package/dist/esm/core/inject/models/container.js.map +1 -1
  53. package/dist/esm/core/inject/models/service-types.d.ts +4 -0
  54. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  55. package/dist/esm/core/inject/models/service-types.js +4 -0
  56. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  57. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +15 -1
  58. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  59. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +38 -3
  60. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  61. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +21 -0
  62. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  63. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +64 -25
  64. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  65. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  66. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +2 -0
  67. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  68. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +0 -28
  69. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  70. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +192 -19
  71. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  72. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  73. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +27 -5
  74. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  75. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +47 -0
  76. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -0
  77. package/dist/esm/core/introspection/resources/launch-blockers.companion.js +98 -0
  78. package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -0
  79. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +6 -1
  80. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  81. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +20 -1
  82. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  83. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +34 -8
  84. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  85. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +61 -12
  86. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  87. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts +44 -0
  88. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -0
  89. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js +104 -0
  90. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -0
  91. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +41 -22
  92. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  93. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +64 -47
  94. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  95. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts +7 -1
  96. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  97. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +13 -4
  98. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  99. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  100. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +7 -0
  101. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  102. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
  103. package/dist/esm/core/runtime/companion-env-file.d.ts +39 -9
  104. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  105. package/dist/esm/core/runtime/companion-env-file.js +75 -16
  106. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  107. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +7 -3
  108. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  109. package/dist/esm/core/runtime/services/start-companion-application.service.js +29 -11
  110. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  111. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts +17 -0
  112. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -0
  113. package/dist/esm/core/utils/bounded-concurrency.utils.js +37 -0
  114. package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -0
  115. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +10 -1
  116. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  117. package/dist/esm/core/utils/derived-input-signature.companion.utils.js +9 -2
  118. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  119. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  120. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +2 -0
  121. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  122. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  123. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +66 -6
  124. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  125. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts +0 -17
  126. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  127. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +10 -4
  128. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  129. package/dist/esm/email/services/email-template.companion.service.d.ts +6 -1
  130. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  131. package/dist/esm/email/services/email-template.companion.service.js +4 -1
  132. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  133. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  134. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +8 -2
  135. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  136. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  137. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +8 -2
  138. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  139. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  140. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +7 -7
  141. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  142. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  143. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +41 -1
  144. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  145. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  146. package/dist/esm/i18n/resources/workbenchAspects.en.js +7 -0
  147. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  148. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +5 -0
  149. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  150. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +5 -0
  151. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  152. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +1 -1
  153. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  154. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +2 -1
  155. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  156. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +46 -0
  157. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  158. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +12 -0
  159. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  160. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +266 -0
  161. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  162. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +91 -5
  163. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  164. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +41 -0
  165. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  166. package/dist/esm/i18n/system_enums/application-creation.en.js +45 -1
  167. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  168. package/dist/esm/i18n/system_enums/localization.en.d.ts +82 -0
  169. package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -0
  170. package/dist/esm/i18n/system_enums/localization.en.js +82 -0
  171. package/dist/esm/i18n/system_enums/localization.en.js.map +1 -0
  172. package/dist/esm/i18n/system_enums/risk-register.en.d.ts +1 -0
  173. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  174. package/dist/esm/i18n/system_enums/risk-register.en.js +1 -0
  175. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  176. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +10 -0
  177. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  178. package/dist/esm/i18n/system_enums/workbench-dossier.en.js +13 -0
  179. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  180. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts +43 -0
  181. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -0
  182. package/dist/esm/i18n-labelling/models/labelling-progress.models.js +34 -0
  183. package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -0
  184. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +8 -0
  185. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  186. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +97 -56
  187. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  188. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +18 -0
  189. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  190. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +269 -153
  191. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  192. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts +41 -0
  193. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -0
  194. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js +47 -0
  195. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -0
  196. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts +12 -0
  197. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  198. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -2
  199. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  200. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts +89 -0
  201. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -0
  202. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js +229 -0
  203. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -0
  204. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +67 -1
  205. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  206. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +64 -0
  207. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  208. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts +308 -0
  209. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -0
  210. package/dist/esm/meta-workflows/models/creation-intervention.models.js +365 -0
  211. package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -0
  212. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts +61 -0
  213. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -0
  214. package/dist/esm/meta-workflows/models/generation-step-progress.models.js +58 -0
  215. package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -0
  216. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +10 -6
  217. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  218. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +11 -6
  219. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  220. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +3 -0
  221. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  222. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +8 -1
  223. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  224. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +26 -0
  225. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  226. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +66 -10
  227. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  228. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +13 -0
  229. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -0
  230. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +33 -0
  231. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -0
  232. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts +145 -0
  233. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -0
  234. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js +179 -0
  235. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -0
  236. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +376 -17
  237. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  238. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +805 -39
  239. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  240. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +93 -7
  241. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  242. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +142 -25
  243. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  244. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +120 -3
  245. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  246. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +325 -16
  247. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  248. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  249. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +15 -6
  250. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  251. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  252. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +10 -11
  253. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  254. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  255. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +10 -11
  256. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  257. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts +82 -0
  258. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -0
  259. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +291 -0
  260. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -0
  261. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +60 -0
  262. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -0
  263. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +66 -0
  264. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -0
  265. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts +53 -0
  266. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -0
  267. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +164 -0
  268. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -0
  269. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts +37 -0
  270. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -0
  271. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js +52 -0
  272. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -0
  273. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +74 -14
  274. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  275. package/dist/esm/meta-workflows/services/dossier.companion.service.js +180 -28
  276. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  277. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +2 -3
  278. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  279. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +2 -8
  280. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  281. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts +67 -0
  282. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -0
  283. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js +64 -0
  284. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -0
  285. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  286. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +11 -3
  287. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  288. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +92 -4
  289. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  290. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +328 -7
  291. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  292. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +105 -6
  293. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  294. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +309 -39
  295. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  296. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +62 -1
  297. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  298. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +152 -2
  299. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  300. package/package.json +22 -18
  301. package/dist/esm/.tsbuildinfo +0 -1
  302. package/dist/esm/__tests__/asset-noop.d.ts +0 -3
  303. package/dist/esm/__tests__/asset-noop.d.ts.map +0 -1
  304. package/dist/esm/__tests__/asset-noop.js +0 -2
  305. package/dist/esm/__tests__/asset-noop.js.map +0 -1
  306. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts +0 -2
  307. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +0 -1
  308. package/dist/esm/__tests__/chdir-dogfood-app.setup.js +0 -44
  309. package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +0 -1
  310. package/dist/esm/__tests__/internal-test-view.d.ts +0 -39
  311. package/dist/esm/__tests__/internal-test-view.d.ts.map +0 -1
  312. package/dist/esm/__tests__/internal-test-view.js +0 -2
  313. package/dist/esm/__tests__/internal-test-view.js.map +0 -1
  314. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +0 -50
  315. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +0 -1
  316. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +0 -157
  317. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +0 -1
  318. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts +0 -8
  319. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +0 -1
  320. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +0 -43
  321. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +0 -1
  322. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +0 -79
  323. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +0 -1
  324. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +0 -193
  325. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +0 -1
@@ -12,10 +12,13 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
12
  };
13
13
  import { injectable, inject } from 'inversify';
14
14
  import { AbstractControllerBackendService, LoggerService, ErrorBuilderBackendService, ErrorHandlerService, SAAS_SERVICE_TYPES, describeCaughtError, } from '@wildo-ai/saas-backend-lib';
15
- import { CompanionActorTasksListQuerySchema, CompanionCreateActorTaskRequestSchema, CompanionCreateActorExecutionRequestSchema, CompanionLandGovernanceFactsRequestSchema, CompanionCreateFlowExecutionRequestSchema, CompanionExecutionsListQuerySchema, CompanionIntrospectionRequestSchema, CompanionRearmBuildTaskRequestSchema, CompanionUpdateActorTaskRequestSchema, } from '../companion-api.schemas.js';
15
+ import { CompanionEnvVariableRefusal, reloadCompanionEnvVariables } from '../../core/runtime/companion-env-file.js';
16
+ import { CompanionActorTasksListQuerySchema, CompanionCreateActorTaskRequestSchema, CompanionCreateActorExecutionRequestSchema, CompanionLandGovernanceFactsRequestSchema, CompanionCreateFlowExecutionRequestSchema, CompanionExecutionsListQuerySchema, CompanionIntrospectionRequestSchema, CompanionDispatchNamedBuildTaskRequestSchema, CompanionRearmBuildTaskRequestSchema, CompanionUpdateActorTaskRequestSchema, } from '../companion-api.schemas.js';
16
17
  import { ErrorType, ErrorCustomMessageReference, AppFrontendType, computeChartRegistrationAlignment, ChartRegistrationBackendRefsProvenance, normalizeChartExecutionRef, } from '@wildo-ai/saas-models';
17
18
  import { loadBackendCompanionExports } from '../../core/context/companion-package-loaders.companion.js';
19
+ import { companionLaunchBlockerPorts, readLaunchBlockers } from '../../core/introspection/resources/launch-blockers.companion.js';
18
20
  import { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types.js';
21
+ import { serializeDossierWrite } from '../../meta-workflows/services/dossier-write-queue.companion.utils.js';
19
22
  import { LabellingPlannerCompanionService } from '../../i18n-labelling/services/labelling-planner.companion.service.js';
20
23
  import { LabellizeOrchestratorCompanionService } from '../../i18n-labelling/services/labellize-orchestrator.companion.service.js';
21
24
  import { TranslateOrchestratorCompanionService } from '../../i18n-labelling/services/translate-orchestrator.companion.service.js';
@@ -26,22 +29,27 @@ import { PlaybookRunAlreadyInFlightError, PlaybookNotReadyError, PlaybookRunComp
26
29
  import { PlaybookInstanceCompanionService, PlaybookInstanceRefusedError, PlaybookInstanceTreeBusyError } from '../../meta-workflows/services/playbook-instance.companion.service.js';
27
30
  import { CREATION_PLANE_IDENTITY_FIELDS, CreationPlaneProjectionCompanionService } from '../../core/introspection/resources/creation-plane-projection.companion.service.js';
28
31
  import { buildCreationConsoleFeed, creationPlaneBehaviorForResourceType } from '../../core/introspection/resources/creation-console-projection.companion.js';
29
- import { CreationConsoleRefusal, CreationConsoleRefusalKind, answerCreationConsoleQuestion, readCreationConsoleQuestions, } from '../../core/introspection/resources/creation-console-answer.companion.js';
32
+ import { CreationConsoleRefusal, CreationConsoleRefusalKind, answerCreationConsoleQuestion, readCreationConsoleAssumptions, readCreationConsoleQuestions, } from '../../core/introspection/resources/creation-console-answer.companion.js';
30
33
  import { translateCreationPlaneDispatchError } from '../../core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js';
31
- import { CreationConsole_AnswerRequest_Schema, WorkbenchCreationPlaneBehavior, Workbench_PlaybookRunOutcomeStatus, summarizeCreationConsoleFeed, } from '@wildo-ai/platform-core-shared';
34
+ import { CreationConsoleQuestionKind, CreationConsole_AnswerRequest_Schema, CreationConsole_InterviewDepthRequest_Schema, CreationConsole_ProposalRequest_Schema, WorkbenchCreationPlaneBehavior, Workbench_PlaybookRunOutcomeStatus, summarizeCreationConsoleFeed, } from '@wildo-ai/platform-core-shared';
32
35
  import { FoundationExecutionError } from '../../meta-workflows/services/foundation-executor.companion.service.js';
36
+ import { proposeInterviewAnswers } from '../../meta-workflows/services/interview-answer-proposal.companion.js';
37
+ import { ApplicationInterviewDepth } from '@wildo-ai/saas-models/meta-workflows';
33
38
  import { SupersededPlaybookRunQuestionError, SuspendedPlaybookRunNotFoundError } from '../../meta-workflows/models/playbook-run-checkpoint.models.js';
34
39
  import { CompanionErrorGuidanceKey } from '../companion-error-guidance.models.js';
35
40
  import { CompanionFileRouteRefusal, confineCompanionFilePath } from './companion-file-route-confinement.js';
36
41
  import { ExecutionTraceNotFoundError, ExecutionTraceReadCompanionService, } from '../../meta-workflows/services/execution-trace-read.companion.service.js';
37
- import { ApplicationBuildDispatchCompanionService, ApplicationBuildPlanExhaustedError, ApplicationBuildTaskCompletedButUnlandedError, ApplicationBuildPlanUnavailableError, } from '../../meta-workflows/services/application-build-dispatch.companion.service.js';
42
+ import { ApplicationBuildDispatchCompanionService, ApplicationBuildPlanExhaustedError, ApplicationBuildTaskCompletedButUnlandedError, ApplicationBuildPlanUnavailableError, ApplicationBuildWaveInFlightError, } from '../../meta-workflows/services/application-build-dispatch.companion.service.js';
38
43
  import { ApplicationBuildTaskNotACodingTaskError } from '../../meta-workflows/services/application-build-task-coding-policy.companion.service.js';
39
44
  import { NothingToRearmError } from '../../meta-workflows/models/build-task-rearm.models.js';
40
45
  import { ApplicationBuildUnknownGenerationStepError } from '../../meta-workflows/services/application-build-generation-step.companion.service.js';
41
46
  import { PlaybookRunWriteRegisterCompanionService, PlaybookRunWriteRecordNotFoundError } from '../../meta-workflows/services/playbook-run-write-register.companion.service.js';
47
+ import { CreationRunReportCompanionService } from '../../meta-workflows/services/creation-run-report.companion.service.js';
48
+ import { CreationInterventionNotFoundError } from '../../meta-workflows/services/creation-intervention-ledger.companion.service.js';
42
49
  import { composeGovernanceQuestionnaires, GovernanceQuestionnaireError, landGovernanceFactDeclarations, PlaybookElicitationError, PlaybookGenerationError, PlaybookClarificationError, } from '@wildo-ai/application-creation-runtime';
43
50
  import { MarketGenerationCompanionService } from '../../market/services/market-generation.companion.service.js';
44
51
  import { LogoGenerationCompanionService } from '../../brand/services/logo-generation.companion.service.js';
52
+ import { assertCreationLanePreflight, CreationLanePreflightRefusedError } from '../../meta-workflows/services/creation-lane-preflight.companion.service.js';
45
53
  import { LogoDeliberationCompanionService } from '../../brand/services/logo-deliberation.companion.service.js';
46
54
  import { BrandAcceptCompanionService } from '../../brand/services/brand-accept.companion.service.js';
47
55
  import { ExpertPersonaCompanionService } from '../../expert-personas/services/expert-persona.companion.service.js';
@@ -111,6 +119,7 @@ let CompanionController = class CompanionController extends AbstractControllerBa
111
119
  dossierService;
112
120
  creationPlaneProjection;
113
121
  buildDispatchService;
122
+ creationRunReport;
114
123
  executionTraceReadService;
115
124
  logoGenerationService;
116
125
  logoDeliberationService;
@@ -126,7 +135,8 @@ let CompanionController = class CompanionController extends AbstractControllerBa
126
135
  authFloorService;
127
136
  acceptedChangeCommitService;
128
137
  playbookInstanceService;
129
- constructor(logger, errorBuilder, errorHandler, companionContext, labellingPlannerService, labellizeOrchestratorService, runWriteRegister, translateOrchestratorService, emailTemplateLabellingUnitsService, emailTemplateService, marketGenerationService, playbookRunService, dossierService, creationPlaneProjection, buildDispatchService, executionTraceReadService, logoGenerationService, logoDeliberationService, brandAcceptService, expertPersonaService, deliberationService, technicalDocService, companionIntrospectionService, executionsService, traceabilityService, codingAgentDispatchService, researchAgentDispatchService, authFloorService, acceptedChangeCommitService, playbookInstanceService) {
138
+ externalProvidersRegistry;
139
+ constructor(logger, errorBuilder, errorHandler, companionContext, labellingPlannerService, labellizeOrchestratorService, runWriteRegister, translateOrchestratorService, emailTemplateLabellingUnitsService, emailTemplateService, marketGenerationService, playbookRunService, dossierService, creationPlaneProjection, buildDispatchService, creationRunReport, executionTraceReadService, logoGenerationService, logoDeliberationService, brandAcceptService, expertPersonaService, deliberationService, technicalDocService, companionIntrospectionService, executionsService, traceabilityService, codingAgentDispatchService, researchAgentDispatchService, authFloorService, acceptedChangeCommitService, playbookInstanceService, externalProvidersRegistry) {
130
140
  super(logger, errorBuilder, errorHandler, 'CompanionController');
131
141
  this.companionContext = companionContext;
132
142
  this.labellingPlannerService = labellingPlannerService;
@@ -140,6 +150,7 @@ let CompanionController = class CompanionController extends AbstractControllerBa
140
150
  this.dossierService = dossierService;
141
151
  this.creationPlaneProjection = creationPlaneProjection;
142
152
  this.buildDispatchService = buildDispatchService;
153
+ this.creationRunReport = creationRunReport;
143
154
  this.executionTraceReadService = executionTraceReadService;
144
155
  this.logoGenerationService = logoGenerationService;
145
156
  this.logoDeliberationService = logoDeliberationService;
@@ -155,6 +166,7 @@ let CompanionController = class CompanionController extends AbstractControllerBa
155
166
  this.authFloorService = authFloorService;
156
167
  this.acceptedChangeCommitService = acceptedChangeCommitService;
157
168
  this.playbookInstanceService = playbookInstanceService;
169
+ this.externalProvidersRegistry = externalProvidersRegistry;
158
170
  }
159
171
  setupRoutes() {
160
172
  /*
@@ -248,6 +260,10 @@ let CompanionController = class CompanionController extends AbstractControllerBa
248
260
  this.logRouteRegistration('post', '/charts/audit', 'Audit chart registration alignment (frontend chartViews vs backend registry)');
249
261
  this.router.get('/_meta/website/structured-data-audit', this.asyncHandler(this.getWebsiteStructuredDataAudit.bind(this)));
250
262
  this.logRouteRegistration('get', '/_meta/website/structured-data-audit', 'Audit website structured-data emissions against the merged Schema.org catalog');
263
+ // ── Runtime environment ─────────────────────────────────────────
264
+ // `wildo secrets set` from a terminal asks the running companion to load a changed key (#1637).
265
+ this.router.post('/runtime/env/apply', this.asyncHandler(this.applyRuntimeEnvVariables.bind(this)));
266
+ this.logRouteRegistration('post', '/runtime/env/apply', 'Load named variables from the regenerated .env into this process (names only; values come from the file)');
251
267
  // ── Coding-agent status (typed Flows/Actors coding path) ───────
252
268
  // The raw POST /coding-agent/dispatch endpoint (caller-composed prompt)
253
269
  // was deleted at the first-activation hard cut: every coding run now
@@ -277,7 +293,7 @@ let CompanionController = class CompanionController extends AbstractControllerBa
277
293
  this.router.post('/build/dispatch-next', this.asyncHandler(this.dispatchNextBuildTask.bind(this)));
278
294
  this.router.get('/build/dispatches', this.asyncHandler(this.readBuildDispatches.bind(this)));
279
295
  this.logRouteRegistration('get', '/build/dispatches', 'How far each recent detached build dispatch got (newest first) — a generation step finishes here; a coding run is admitted here and finishes in its actor-task row');
280
- this.logRouteRegistration('post', '/build/dispatch-next', 'Run the next ready build-plan task (coding agent or companion generation step)');
296
+ this.logRouteRegistration('post', '/build/dispatch-next', 'Run the build: a parallel wave when the build parallelism is above one (async), else the next ready task (coding agent or companion generation step)');
281
297
  this.router.get('/build/tasks', this.asyncHandler(this.readBuildTaskRecords.bind(this)));
282
298
  this.logRouteRegistration('get', '/build/tasks', 'Every build-plan task in one read: its attempts, why it has not landed, and what its unmet probes searched for (#1521)');
283
299
  this.router.post('/build/tasks/:taskRef/rearm', this.asyncHandler(this.rearmBuildTask.bind(this)));
@@ -345,8 +361,18 @@ let CompanionController = class CompanionController extends AbstractControllerBa
345
361
  this.logRouteRegistration('get', '/creation/feed', 'What happened, what is asked of you, what could come next — Home\'s lines with the row each points at');
346
362
  this.router.get('/creation/questions', this.asyncHandler(this.readCreationConsoleQuestionQueue.bind(this)));
347
363
  this.logRouteRegistration('get', '/creation/questions', 'Every question waiting on the person, as one queue (clarifications, parked coding runs, interview, governance facts)');
364
+ this.router.get('/creation/report', this.asyncHandler(this.readCreationRunReport.bind(this)));
365
+ this.logRouteRegistration('get', '/creation/report', 'The run report: every intervention a person made and what it unblocked, spend per run (coding runs included), the independence score (#2231). Read-only');
366
+ this.router.post('/creation/interventions/:interventionId/reason', this.asyncHandler(this.stateCreationInterventionReason.bind(this)));
367
+ this.logRouteRegistration('post', '/creation/interventions/:interventionId/reason', 'Say why a person intervened (body reason): the one thing the intervention ledger asks; refused for an id the report does not hold (#2231)');
368
+ this.router.get('/creation/launch-blockers', this.asyncHandler(this.readCreationLaunchBlockers.bind(this)));
369
+ this.logRouteRegistration('get', '/creation/launch-blockers', 'What still stands between the application and a real user — each open compliance decision, where it is decided and what settles it (#2238). Marks, never blocks');
348
370
  this.router.post('/creation/questions/answer', this.asyncHandler(this.answerCreationConsoleQuestion.bind(this)));
349
371
  this.logRouteRegistration('post', '/creation/questions/answer', 'Answer, decline or cancel one queued question — routed to the service the workbench operation calls');
372
+ this.router.post('/creation/interview/depth', this.asyncHandler(this.setCreationInterviewDepth.bind(this)));
373
+ this.logRouteRegistration('post', '/creation/interview/depth', 'Record how deep this application\'s interviews go (simple | detailed), in its dossier (#2129)');
374
+ this.router.post('/creation/interview/proposals', this.asyncHandler(this.proposeCreationInterviewAnswers.bind(this)));
375
+ this.logRouteRegistration('post', '/creation/interview/proposals', 'Propose answers to interview questions the person does not know; writes nothing (#2129)');
350
376
  this.router.post('/playbooks/:playbookRef/judge', this.asyncHandler(this.judgePlaybookArtifacts.bind(this)));
351
377
  this.logRouteRegistration('post', '/playbooks/:playbookRef/judge', 'Judge SUPPLIED artifacts against a playbook\'s evaluation treatment (the judge value-eval bench; nothing lands)');
352
378
  /*
@@ -1080,6 +1106,46 @@ let CompanionController = class CompanionController extends AbstractControllerBa
1080
1106
  // startup before the server listens: the fail-closed loopback assertion,
1081
1107
  // with no override, which is why the companion must never bind beyond this
1082
1108
  // machine.
1109
+ /**
1110
+ * `POST /runtime/env/apply` `{ envVarNames: string[] }` — load those variables of the companion's
1111
+ * regenerated `.env` into this process and rebuild the provider registry, as a restart would (#1637).
1112
+ *
1113
+ * The door `wildo secrets set` uses from a terminal. Without it a key changed while the companion ran
1114
+ * reached it only at its next start, and a created application's companion has no supervisor to
1115
+ * restart it: the CLI said the key was set, and the next playbook run was refused for its absence.
1116
+ * Applying in place also spares every run in flight, which a restart would end.
1117
+ *
1118
+ * Takes names only. Values are read from the file `config sync` just wrote, so this cannot plant a
1119
+ * value, and a name the `.env` has never carried is refused (400) rather than deleted from the process.
1120
+ * A mutating verb, so the P-29b token floor gates it like every other write.
1121
+ */
1122
+ async applyRuntimeEnvVariables(req, res, next) {
1123
+ try {
1124
+ const { envVarNames } = (req.body ?? {});
1125
+ if (!Array.isArray(envVarNames) || envVarNames.length === 0 || !envVarNames.every((name) => typeof name === 'string' && /^[A-Za-z_][A-Za-z0-9_]*$/.test(name))) {
1126
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1127
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1128
+ context: { message: '`envVarNames` must be a non-empty array of environment variable names.' },
1129
+ });
1130
+ }
1131
+ let applied;
1132
+ try {
1133
+ applied = await reloadCompanionEnvVariables(envVarNames, this.externalProvidersRegistry);
1134
+ }
1135
+ catch (error) {
1136
+ if (!(error instanceof CompanionEnvVariableRefusal))
1137
+ throw error;
1138
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
1139
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
1140
+ context: { message: error.message },
1141
+ });
1142
+ }
1143
+ this.jsonSuccess(res, { applied });
1144
+ }
1145
+ catch (error) {
1146
+ this.jsonError(res, error, next);
1147
+ }
1148
+ }
1083
1149
  /**
1084
1150
  * Stop the in-flight coding run.
1085
1151
  *
@@ -1290,15 +1356,18 @@ let CompanionController = class CompanionController extends AbstractControllerBa
1290
1356
  * facts and every other declaration is kept. Read through the same aggregate every reader uses,
1291
1357
  * so what this landing merges into is what the dossier showed the person.
1292
1358
  */
1293
- const current = await this.dossierService.readAuthoredDocumentFacts();
1294
- const result = await landGovernanceFactDeclarations({
1295
- specificationsPackageRoot,
1296
- // NEUTRAL BY CONTRACT (issue #65), same as every other landed constant — app identity lives in
1297
- // VALUES, never in the names of landed exports.
1298
- constantPrefix: 'application',
1299
- answers: payload,
1300
- ...(current === undefined ? {} : { current }),
1301
- ...(req.query.dryRun === undefined ? {} : { dryRun: true }),
1359
+ // The read and the write are one dossier write, queued with every other (#2179).
1360
+ const result = await serializeDossierWrite(specificationsPackageRoot, async () => {
1361
+ const current = await this.dossierService.readAuthoredDocumentFacts();
1362
+ return landGovernanceFactDeclarations({
1363
+ specificationsPackageRoot,
1364
+ // NEUTRAL BY CONTRACT (issue #65), same as every other landed constant — app identity lives in
1365
+ // VALUES, never in the names of landed exports.
1366
+ constantPrefix: 'application',
1367
+ answers: payload,
1368
+ ...(current === undefined ? {} : { current }),
1369
+ ...(req.query.dryRun === undefined ? {} : { dryRun: true }),
1370
+ });
1302
1371
  });
1303
1372
  this.jsonSuccess(res, result);
1304
1373
  }
@@ -1906,6 +1975,7 @@ let CompanionController = class CompanionController extends AbstractControllerBa
1906
1975
  context: { message: '`fanOut` (lanes per iteration) must be an integer between 1 and 5 when provided.' },
1907
1976
  });
1908
1977
  }
1978
+ this.assertCreationLanePreflight(body);
1909
1979
  const result = await this.playbookRunService.runPlaybookLoop({
1910
1980
  goal,
1911
1981
  maximumIterations,
@@ -1980,9 +2050,26 @@ let CompanionController = class CompanionController extends AbstractControllerBa
1980
2050
  const settled = wave.outcomes.filter((outcome) => outcome !== null);
1981
2051
  const completed = settled.filter((outcome) => outcome.status === FlowsActors_Status.COMPLETED).length;
1982
2052
  const reconciled = wave.reconciliation.filter((entry) => entry.committedPaths > 0).length;
2053
+ // A completed run whose product a sibling overwrote, and whether the wave re-ran its task alone (#2210).
2054
+ // Three endings, kept apart: re-run, could not be re-armed or re-run (an error), and the bound already spent.
2055
+ const rerun = wave.interferenceRepairs.filter((repair) => repair.rerun !== undefined && repair.rerun.error === undefined).map((repair) => repair.taskRef);
2056
+ const failed = wave.interferenceRepairs.filter((repair) => repair.rerun?.error !== undefined).map((repair) => `${repair.taskRef} (${repair.rerun.error})`);
2057
+ const spent = wave.interferenceRepairs.filter((repair) => repair.rerun === undefined).map((repair) => repair.taskRef);
2058
+ const repaired = wave.interferenceRepairs.length === 0 ? ''
2059
+ : ` ${wave.interferenceRepairs.length} completed run(s) lost their product to a sibling (suspected)`
2060
+ + (rerun.length > 0 ? `; re-run alone: ${rerun.join(', ')}` : '')
2061
+ + (failed.length > 0 ? `; could not be re-run, waiting for a person: ${failed.join(', ')}` : '')
2062
+ + (spent.length > 0 ? `; interference re-runs spent, waiting for a person: ${spent.join(', ')}` : '')
2063
+ + '.';
2064
+ // #2222: a wave that finished the plan says whether the application assembles — never just "every task landed".
2065
+ const assembly = wave.assembly === undefined ? ''
2066
+ : wave.assembly.passed ? ` Every task has landed and the application assembles (${wave.assembly.checkRefs.length} check(s) passed).`
2067
+ : wave.assembly.failed.length > 0
2068
+ ? ` Every task has landed, but the application does NOT assemble: ${wave.assembly.failed.map((entry) => entry.checkRef).join(', ')} failed.`
2069
+ : ` Every task has landed; whether the application assembles could not be checked: ${wave.assembly.couldNotRun}.`;
1983
2070
  return `Ran a parallel build wave at degree ${wave.degree}: ${wave.dispatched.length} task(s) dispatched, `
1984
- + `${completed} of ${settled.length} coding run(s) completed, ${reconciled} reconciled at the end of the wave. `
1985
- + `It stopped taking tasks because: ${wave.stoppedFillingBecause}. Each run's row carries \`concurrency\` and \`interferenceSuspected\`.`;
2071
+ + `${completed} of ${settled.length} coding run(s) completed, ${reconciled} reconciled at the end of the wave.${repaired} `
2072
+ + `It stopped taking tasks because: ${wave.stoppedFillingBecause}.${assembly} Each run's row carries \`concurrency\`, \`interferenceSuspected\` and \`interference\`.`;
1986
2073
  }
1987
2074
  const executor = result.targetKind === BuildPlanTaskTargetKind.COMPANION_GENERATION_STEP
1988
2075
  ? "the companion's own generation pipeline"
@@ -2102,22 +2189,48 @@ let CompanionController = class CompanionController extends AbstractControllerBa
2102
2189
  }
2103
2190
  }
2104
2191
  /**
2105
- * `POST /build/dispatch-next` — run the next ready build-plan coding task.
2192
+ * `POST /build/dispatch-next` — run the build: a parallel wave, or the next ready task alone.
2106
2193
  *
2107
- * It runs. The boundary is the task's own `target.kind`, one workspace-mutating run is admitted at a
2108
- * time, the change-set is captured around it, and the required checks gate the result. Under the
2109
- * autonomy posture a working result is then committed by the loop, authored as the companion; under
2110
- * GUIDED nothing is accepted until a person commits (#1534).
2194
+ * DETACHED (`async: true`, the console's `wildo build run`): with a build parallelism above one it
2195
+ * starts a WAVE (#2208) — up to that many coding runs at once in the one worktree, refilled as each
2196
+ * settles, reconciled and repaired at the end (`dispatchBuildWave`). `single: true`, or a degree of
2197
+ * one, runs the next ready task alone. SYNCHRONOUS (no `async`): always the next task alone.
2198
+ *
2199
+ * Each run is bounded by its task's own `target.kind`, its change-set is captured around it, and the
2200
+ * required checks gate the result. Under the autonomy posture a working result is then committed by
2201
+ * the loop, authored as the companion; under GUIDED nothing is accepted until a person commits (#1534).
2111
2202
  */
2112
2203
  async dispatchNextBuildTask(req, res, next) {
2113
2204
  try {
2114
2205
  const body = req.body || {};
2206
+ // Before the wave or the single task: the build reaches the logo step and the coding agents (#2229).
2207
+ this.assertCreationLanePreflight(body);
2115
2208
  // DETACHED mode: a generation step can outlive any reasonable HTTP ceiling (an i18n run
2116
2209
  // measured 40+ minutes against the 30-minute server cap, 2026-09-04), and a response that
2117
2210
  // dies with the socket leaves the operator blind. 202 + the selected plan now. A generation step's
2118
2211
  // outcome is readable at GET /build/dispatches; a coding task settles there at ADMITTED, and its
2119
2212
  // outcome is the durable actor-task row the record names.
2120
2213
  if (body.async === true) {
2214
+ /*
2215
+ * A PARALLEL BUILD by default (#2208): with a build parallelism above one, the next ready task is
2216
+ * not run alone — a wave is started that keeps that many coding runs going until nothing more is
2217
+ * ready. Before this, `wildo build run` dispatched one task while the lane's normal mode is five,
2218
+ * and an agent following the console built a whole plan one task at a time. `single: true` keeps
2219
+ * the one-task dispatch; a degree of one gets it anyway.
2220
+ */
2221
+ if (body.single !== true) {
2222
+ const wave = await this.playbookRunService.submitBuildWaveDetached(this.getTraceSession(res));
2223
+ if (wave !== undefined) {
2224
+ res.status(202).json({
2225
+ dispatched: true,
2226
+ async: true,
2227
+ wave,
2228
+ note: `Running a build wave of up to ${wave.degree} tasks at once (run ${wave.runId}). \`wildo creation feed --follow\` reports each run and the wave's end; `
2229
+ + '`wildo build tasks` shows where every task stands. Set the width with `wildo workbench parallelism <n>`.',
2230
+ });
2231
+ return;
2232
+ }
2233
+ }
2121
2234
  const plan = await this.buildDispatchService.submitBuildDispatchDetached(this.getTraceSession(res));
2122
2235
  res.status(202).json({ plan, dispatched: true, async: true, note: 'Running detached. `wildo build dispatches` shows how far it got: a companion generation step reaches FINISHED there; a coding task reaches ADMITTED, and `wildo creation feed --follow` reports how it settles.' });
2123
2236
  return;
@@ -2134,6 +2247,19 @@ let CompanionController = class CompanionController extends AbstractControllerBa
2134
2247
  });
2135
2248
  }
2136
2249
  catch (error) {
2250
+ /*
2251
+ * The wave is a playbook run (#2208), so opening it can refuse the way a playbook run's open does:
2252
+ * another run holding the subject (409, the message names it), never a sanitized 500. Readiness is
2253
+ * not checked at submission — the detached run checks it and the feed reports it. A wave refused
2254
+ * because another runs is a build refusal, answered by `forwardBuildDispatchError` for every build door.
2255
+ */
2256
+ if (error instanceof PlaybookRunAlreadyInFlightError) {
2257
+ next(this.errorBuilder.buildError(ErrorType.CONFLICT, undefined, {
2258
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
2259
+ context: { message: error.message },
2260
+ }));
2261
+ return;
2262
+ }
2137
2263
  this.forwardBuildDispatchError(error, next);
2138
2264
  }
2139
2265
  }
@@ -2260,6 +2386,25 @@ let CompanionController = class CompanionController extends AbstractControllerBa
2260
2386
  next(error);
2261
2387
  }
2262
2388
  }
2389
+ /**
2390
+ * The creation preflight at a door that STARTS a run (#2229): refuse, as a 409, a run the lane's provider calls
2391
+ * would be refused in — asked of this companion's own registry, before a brief is composed or a model called.
2392
+ * `skipPreflight: true` is the caller's explicit way past it; the step that lacks its provider is refused anyway.
2393
+ */
2394
+ assertCreationLanePreflight(body) {
2395
+ try {
2396
+ assertCreationLanePreflight(this.externalProvidersRegistry, { skip: body.skipPreflight === true });
2397
+ }
2398
+ catch (error) {
2399
+ if (!(error instanceof CreationLanePreflightRefusedError))
2400
+ throw error;
2401
+ // 409: the caller is authorized and the request is valid; the companion's configuration forbids the run.
2402
+ throw this.errorBuilder.buildError(ErrorType.CONFLICT, undefined, {
2403
+ customMessageReference: ErrorCustomMessageReference.CONFLICT,
2404
+ context: { message: error.message },
2405
+ });
2406
+ }
2407
+ }
2263
2408
  /**
2264
2409
  * A missing or exhausted build plan is a bad request, not a broken host.
2265
2410
  *
@@ -2268,6 +2413,18 @@ let CompanionController = class CompanionController extends AbstractControllerBa
2268
2413
  * anything else, so it is safe to call as the last arm of a catch.
2269
2414
  */
2270
2415
  forwardBuildDispatchError(error, next) {
2416
+ /*
2417
+ * A second wave while one runs (#2208 review M1): a CONFLICT, not a bad request — what was sent is valid,
2418
+ * the companion's state forbids it now, and the message says to wait for the running wave. Reached from
2419
+ * `wildo build run` and from a build-execution playbook run alike.
2420
+ */
2421
+ if (error instanceof ApplicationBuildWaveInFlightError) {
2422
+ next(this.errorBuilder.buildError(ErrorType.CONFLICT, undefined, {
2423
+ customMessageReference: ErrorCustomMessageReference.CONFLICT,
2424
+ context: { message: error.message },
2425
+ }));
2426
+ return;
2427
+ }
2271
2428
  if (error instanceof ApplicationBuildPlanUnavailableError
2272
2429
  || error instanceof ApplicationBuildPlanExhaustedError
2273
2430
  || error instanceof ApplicationBuildTaskNotACodingTaskError
@@ -2293,10 +2450,29 @@ let CompanionController = class CompanionController extends AbstractControllerBa
2293
2450
  * socket broke. It answers 202 with the selected plan; the feed and `wildo build dispatches` say how
2294
2451
  * it went. Readiness is the service's to refuse — a task that is not ready is refused BEFORE the 202 —
2295
2452
  * and its refusals are translated as the workbench's `dispatch_task` operation translates them.
2453
+ *
2454
+ * One answer is NOT immediate (#2222): when the plan has run out of tasks, the refusal says whether the
2455
+ * application assembles, so every package's typecheck runs before it answers — minutes, inside the console's
2456
+ * write deadline. That is the moment "the build is finished" is claimed, so it is where the claim is checked.
2296
2457
  */
2297
2458
  async dispatchNamedBuildTask(req, res, next) {
2298
2459
  try {
2299
- const plan = await this.buildDispatchService.submitBuildDispatchDetached(this.getTraceSession(res), { taskRef: String(req.params.taskRef) });
2460
+ const parsed = CompanionDispatchNamedBuildTaskRequestSchema.safeParse(req.body ?? {});
2461
+ if (!parsed.success) {
2462
+ next(this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
2463
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
2464
+ context: {
2465
+ message: 'This is not a build-task dispatch request: '
2466
+ + parsed.error.issues.map((issue) => `${issue.path.join('.') || '(root)'} ${issue.message}`).join('; '),
2467
+ },
2468
+ }));
2469
+ return;
2470
+ }
2471
+ this.assertCreationLanePreflight(parsed.data);
2472
+ const plan = await this.buildDispatchService.submitBuildDispatchDetached(this.getTraceSession(res), {
2473
+ taskRef: String(req.params.taskRef),
2474
+ ...(parsed.data.despiteLanded ? { despiteLanded: parsed.data.despiteLanded } : {}),
2475
+ });
2300
2476
  res.status(202).json({ plan, dispatched: true, async: true });
2301
2477
  }
2302
2478
  catch (error) {
@@ -2620,6 +2796,7 @@ let CompanionController = class CompanionController extends AbstractControllerBa
2620
2796
  const dryRun = body.dryRun === true;
2621
2797
  // The playbook INSTANCE to run (#1609); the run refuses one that was never opened.
2622
2798
  const instanceKey = typeof body.instanceKey === 'string' && body.instanceKey.trim().length > 0 ? body.instanceKey.trim() : undefined;
2799
+ this.assertCreationLanePreflight(body);
2623
2800
  const runInput = {
2624
2801
  playbookRef,
2625
2802
  ...(instanceKey ? { instanceKey } : {}),
@@ -2937,9 +3114,63 @@ let CompanionController = class CompanionController extends AbstractControllerBa
2937
3114
  respondToParkedQuestion: (taskId, answer, suspensionRef, answeredByRef) => this.codingAgentDispatchService.respondToApplicationCodingTaskQuestion(taskId, answer, session, { suspensionRef, ...(answeredByRef ? { answeredByRef } : {}) }),
2938
3115
  cancelCodingRun: (taskId) => this.codingAgentDispatchService.cancelApplicationCodingTask(taskId, session),
2939
3116
  recordInterviewAnswer: (input) => this.dossierService.recordAnswer(input),
3117
+ readInterviewDispositions: () => this.dossierService.readInterviewQuestionDispositions(),
2940
3118
  invalidate: () => this.creationPlaneProjection.invalidateDerivedBoards(),
2941
3119
  };
2942
3120
  }
3121
+ /**
3122
+ * `POST /creation/interview/depth` (#2129) — record how deep this application's interviews go. A dossier
3123
+ * write like an answer; the boards move, so they are invalidated.
3124
+ */
3125
+ async setCreationInterviewDepth(req, res, next) {
3126
+ try {
3127
+ const parsed = CreationConsole_InterviewDepthRequest_Schema.safeParse(req.body ?? {});
3128
+ const depth = Object.values(ApplicationInterviewDepth).find((candidate) => candidate === parsed.data?.interviewDepth);
3129
+ if (!parsed.success || depth === undefined) {
3130
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
3131
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
3132
+ context: { message: `interviewDepth: send one of ${Object.values(ApplicationInterviewDepth).join(', ')}.` },
3133
+ });
3134
+ }
3135
+ const recorded = await this.dossierService.recordInterviewDepth(depth);
3136
+ this.creationPlaneProjection.invalidateDerivedBoards();
3137
+ res.json(recorded);
3138
+ }
3139
+ catch (error) {
3140
+ next(translateCreationPlaneDispatchError(error, undefined, { errorBuilder: this.errorBuilder }) ?? error);
3141
+ }
3142
+ }
3143
+ /**
3144
+ * `POST /creation/interview/proposals` (#2129) — propose answers to interview questions the person does not
3145
+ * know. WRITES NOTHING: the proposals come back with the queue item each one answers, for the person to
3146
+ * review; what they keep is sent through `/creation/questions/answer` with `standing: assumed`.
3147
+ */
3148
+ async proposeCreationInterviewAnswers(req, res, next) {
3149
+ try {
3150
+ const parsed = CreationConsole_ProposalRequest_Schema.safeParse(req.body ?? {});
3151
+ if (!parsed.success) {
3152
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
3153
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
3154
+ context: { message: parsed.error.issues.map((issue) => `${issue.path.join('.') || 'body'}: ${issue.message}`).join('; ') },
3155
+ });
3156
+ }
3157
+ const result = await proposeInterviewAnswers(this.playbookRunService.interviewAnswerProposalPorts(), parsed.data);
3158
+ /* Each proposal names the queue item it answers, so a surface answers it without a second lookup. */
3159
+ const interview = await readCreationConsoleQuestions(this.creationConsolePorts(res), [CreationConsoleQuestionKind.INTERVIEW]);
3160
+ const questionIdOf = (questionRef) => interview.find((question) => question.playbookRef === result.playbookRef
3161
+ && question.instanceKey === (parsed.data.instanceKey ?? null)
3162
+ && question.fields[0]?.ref === questionRef)?.questionId ?? null;
3163
+ const response = {
3164
+ playbookRef: result.playbookRef,
3165
+ proposals: result.proposals.map((proposal) => ({ ...proposal, questionId: questionIdOf(proposal.questionRef) })),
3166
+ unproposed: [...result.unproposed],
3167
+ };
3168
+ res.json(response);
3169
+ }
3170
+ catch (error) {
3171
+ next(translateCreationPlaneDispatchError(error, undefined, { errorBuilder: this.errorBuilder }) ?? error);
3172
+ }
3173
+ }
2943
3174
  /**
2944
3175
  * `GET /creation/feed` — Home's lines for a console: what happened (a run completed or was refused, a
2945
3176
  * dispatch settled), what is asked of the person, what could come next. Each line carries the row it
@@ -2994,9 +3225,51 @@ let CompanionController = class CompanionController extends AbstractControllerBa
2994
3225
  const queue = {
2995
3226
  computedAt: new Date().toISOString(),
2996
3227
  questions: await readCreationConsoleQuestions(this.creationConsolePorts(res)),
3228
+ assumptions: await readCreationConsoleAssumptions(this.creationConsolePorts(res)),
3229
+ interviewDepth: (await this.dossierService.readCreatorInputs())?.interviewDepth ?? null,
2997
3230
  };
2998
3231
  res.json(queue);
2999
3232
  }
3233
+ /**
3234
+ * `GET /creation/report` (#2231) — the creation run report, derived on every read from the run rows, the
3235
+ * write registers and git. Nothing in the lane reads it: it is the record a person reads to see whether the
3236
+ * next run needed them less.
3237
+ */
3238
+ async readCreationRunReport(_req, res) {
3239
+ res.json(await this.creationRunReport.describe());
3240
+ }
3241
+ /** `POST /creation/interventions/:interventionId/reason` (#2231) — record why a person stepped in. */
3242
+ async stateCreationInterventionReason(req, res, next) {
3243
+ try {
3244
+ const interventionId = req.params.interventionId;
3245
+ const reason = (req.body || {}).reason;
3246
+ if (typeof interventionId !== 'string' || interventionId.length === 0 || typeof reason !== 'string' || reason.trim().length === 0) {
3247
+ throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
3248
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
3249
+ context: { message: '`interventionId` path parameter and a non-empty `reason` are required.' },
3250
+ });
3251
+ }
3252
+ res.json(await this.creationRunReport.stateReason(interventionId, reason));
3253
+ }
3254
+ catch (error) {
3255
+ if (error instanceof CreationInterventionNotFoundError) {
3256
+ next(this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
3257
+ customMessageReference: ErrorCustomMessageReference.VALIDATION,
3258
+ context: { message: error.message },
3259
+ }));
3260
+ return;
3261
+ }
3262
+ next(error);
3263
+ }
3264
+ }
3265
+ /**
3266
+ * `GET /creation/launch-blockers` (#2238) — the "before you can launch" list: `deriveLaunchBlockers` over inputs
3267
+ * read FRESH here, so settling an item removes it on the next read. Read-only, and it gates nothing: a run report
3268
+ * renders it and Gate 3 will read it, but nothing in the creation lane waits on it.
3269
+ */
3270
+ async readCreationLaunchBlockers(_req, res) {
3271
+ res.json(await readLaunchBlockers(companionLaunchBlockerPorts(this.companionContext, () => readCreationConsoleQuestions(this.creationConsolePorts(res), [CreationConsoleQuestionKind.GOVERNANCE_FACT]))));
3272
+ }
3000
3273
  /**
3001
3274
  * `POST /creation/questions/answer` — answer, decline or cancel ONE queued question.
3002
3275
  *
@@ -3434,21 +3707,23 @@ CompanionController = __decorate([
3434
3707
  __param(12, inject(COMPANION_SERVICE_TYPES.DossierService)),
3435
3708
  __param(13, inject(COMPANION_SERVICE_TYPES.CreationPlaneProjectionService)),
3436
3709
  __param(14, inject(COMPANION_SERVICE_TYPES.ApplicationBuildDispatchService)),
3437
- __param(15, inject(COMPANION_SERVICE_TYPES.ExecutionTraceReadService)),
3438
- __param(16, inject(COMPANION_SERVICE_TYPES.LogoGenerationService)),
3439
- __param(17, inject(COMPANION_SERVICE_TYPES.LogoDeliberationService)),
3440
- __param(18, inject(COMPANION_SERVICE_TYPES.BrandAcceptService)),
3441
- __param(19, inject(COMPANION_SERVICE_TYPES.ExpertPersonaService)),
3442
- __param(20, inject(COMPANION_SERVICE_TYPES.DeliberationService)),
3443
- __param(21, inject(COMPANION_SERVICE_TYPES.TechnicalDocService)),
3444
- __param(22, inject(COMPANION_SERVICE_TYPES.IntrospectionService)),
3445
- __param(23, inject(COMPANION_SERVICE_TYPES.ExecutionsService)),
3446
- __param(24, inject(COMPANION_SERVICE_TYPES.TraceabilityService)),
3447
- __param(25, inject(COMPANION_SERVICE_TYPES.CodingAgentDispatchService)),
3448
- __param(26, inject(COMPANION_SERVICE_TYPES.ResearchAgentDispatchService)),
3449
- __param(27, inject(COMPANION_SERVICE_TYPES.AuthFloorService)),
3450
- __param(28, inject(COMPANION_SERVICE_TYPES.AcceptedChangeCommitService)),
3451
- __param(29, inject(COMPANION_SERVICE_TYPES.PlaybookInstanceService)),
3710
+ __param(15, inject(COMPANION_SERVICE_TYPES.CreationRunReportService)),
3711
+ __param(16, inject(COMPANION_SERVICE_TYPES.ExecutionTraceReadService)),
3712
+ __param(17, inject(COMPANION_SERVICE_TYPES.LogoGenerationService)),
3713
+ __param(18, inject(COMPANION_SERVICE_TYPES.LogoDeliberationService)),
3714
+ __param(19, inject(COMPANION_SERVICE_TYPES.BrandAcceptService)),
3715
+ __param(20, inject(COMPANION_SERVICE_TYPES.ExpertPersonaService)),
3716
+ __param(21, inject(COMPANION_SERVICE_TYPES.DeliberationService)),
3717
+ __param(22, inject(COMPANION_SERVICE_TYPES.TechnicalDocService)),
3718
+ __param(23, inject(COMPANION_SERVICE_TYPES.IntrospectionService)),
3719
+ __param(24, inject(COMPANION_SERVICE_TYPES.ExecutionsService)),
3720
+ __param(25, inject(COMPANION_SERVICE_TYPES.TraceabilityService)),
3721
+ __param(26, inject(COMPANION_SERVICE_TYPES.CodingAgentDispatchService)),
3722
+ __param(27, inject(COMPANION_SERVICE_TYPES.ResearchAgentDispatchService)),
3723
+ __param(28, inject(COMPANION_SERVICE_TYPES.AuthFloorService)),
3724
+ __param(29, inject(COMPANION_SERVICE_TYPES.AcceptedChangeCommitService)),
3725
+ __param(30, inject(COMPANION_SERVICE_TYPES.PlaybookInstanceService)),
3726
+ __param(31, inject(SAAS_SERVICE_TYPES.ExternalProvidersRegistryService)),
3452
3727
  __metadata("design:paramtypes", [LoggerService,
3453
3728
  ErrorBuilderBackendService,
3454
3729
  ErrorHandlerService, Object, LabellingPlannerCompanionService,
@@ -3460,6 +3735,7 @@ CompanionController = __decorate([
3460
3735
  MarketGenerationCompanionService,
3461
3736
  PlaybookRunCompanionService, Function, CreationPlaneProjectionCompanionService,
3462
3737
  ApplicationBuildDispatchCompanionService,
3738
+ CreationRunReportCompanionService,
3463
3739
  ExecutionTraceReadCompanionService,
3464
3740
  LogoGenerationCompanionService,
3465
3741
  LogoDeliberationCompanionService,
@@ -3474,7 +3750,7 @@ CompanionController = __decorate([
3474
3750
  ResearchAgentDispatchCompanionService,
3475
3751
  CompanionAuthFloorCompanionService,
3476
3752
  AcceptedChangeCommitCompanionService,
3477
- PlaybookInstanceCompanionService])
3753
+ PlaybookInstanceCompanionService, Function])
3478
3754
  ], CompanionController);
3479
3755
  export { CompanionController };
3480
3756
  export default CompanionController;