@wildo-ai/dev-companion 1.1.5 → 1.1.6

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 (596) hide show
  1. package/dist/esm/.tsbuildinfo +1 -1
  2. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  3. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +0 -1
  4. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  5. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  6. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +0 -1
  7. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  8. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +8 -0
  9. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  10. package/dist/esm/brand/services/brand-accept.companion.service.js +6 -0
  11. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  12. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts +21 -0
  13. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -0
  14. package/dist/esm/brand/services/brand-propagation.companion.utils.js +33 -0
  15. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -0
  16. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +69 -1
  17. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  18. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +84 -3
  19. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  20. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +8 -4
  21. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  22. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +9 -5
  23. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  24. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js +1 -1
  25. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  26. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +4 -0
  27. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +1 -1
  28. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +25 -3
  29. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +1 -1
  30. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +159 -11
  31. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  32. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +424 -41
  33. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  34. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +333 -60
  35. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  36. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +1029 -185
  37. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  38. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts +8 -2
  39. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  40. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js +8 -2
  41. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  42. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts +20 -0
  43. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -0
  44. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js +29 -0
  45. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -0
  46. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +11 -0
  47. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  48. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +60 -7
  49. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  50. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +5 -4
  51. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  52. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +13 -4
  53. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  54. package/dist/esm/companion-api/companion-api.schemas.d.ts +193 -2
  55. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  56. package/dist/esm/companion-api/companion-api.schemas.js +20 -1
  57. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  58. package/dist/esm/companion-api/companion-error-guidance.models.d.ts +25 -0
  59. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -0
  60. package/dist/esm/companion-api/companion-error-guidance.models.js +26 -0
  61. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -0
  62. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts +44 -0
  63. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -0
  64. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js +111 -0
  65. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -0
  66. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts +6 -14
  67. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  68. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js +6 -14
  69. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  70. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts +12 -0
  71. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -0
  72. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js +20 -0
  73. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -0
  74. package/dist/esm/companion-api/controllers/companion.controller.d.ts +104 -14
  75. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  76. package/dist/esm/companion-api/controllers/companion.controller.js +516 -122
  77. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  78. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  79. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js +6 -38
  80. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  81. package/dist/esm/core/config/primary-language.companion.utils.d.ts +13 -0
  82. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  83. package/dist/esm/core/config/primary-language.companion.utils.js +19 -0
  84. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  85. package/dist/esm/core/context/companion-package-loaders.companion.js +1 -39
  86. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  87. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  88. package/dist/esm/core/inject/models/container.js +4 -0
  89. package/dist/esm/core/inject/models/container.js.map +1 -1
  90. package/dist/esm/core/inject/models/service-types.d.ts +4 -0
  91. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  92. package/dist/esm/core/inject/models/service-types.js +4 -0
  93. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  94. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  95. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js +16 -0
  96. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  97. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts +1 -1
  98. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  99. package/dist/esm/core/introspection/models/companion-introspection.models.js +6 -0
  100. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  101. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts +41 -0
  102. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -0
  103. package/dist/esm/core/introspection/resources/application-secrets.companion.js +155 -0
  104. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -0
  105. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +76 -0
  106. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -0
  107. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +197 -0
  108. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -0
  109. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +47 -0
  110. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -0
  111. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +199 -0
  112. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -0
  113. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +42 -0
  114. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  115. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +173 -22
  116. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  117. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts +78 -90
  118. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  119. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +288 -25
  120. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  121. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts +22 -36
  122. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  123. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js +49 -13
  124. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  125. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts +1 -1
  126. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  127. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js +10 -15
  128. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  129. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +2 -0
  130. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  131. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  132. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts +4 -0
  133. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  134. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  135. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  136. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +77 -9
  137. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  138. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +45 -3
  139. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  140. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js +8 -1
  141. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  142. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts +3 -2
  143. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  144. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js +8 -3
  145. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  146. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +30 -1
  147. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  148. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +128 -20
  149. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  150. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts +13 -0
  151. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  152. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +21 -17
  153. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  154. package/dist/esm/core/runtime/companion-endpoint-record.d.ts +8 -0
  155. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -0
  156. package/dist/esm/core/runtime/companion-endpoint-record.js +23 -0
  157. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -0
  158. package/dist/esm/core/runtime/companion-env-file.d.ts +30 -0
  159. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -0
  160. package/dist/esm/core/runtime/companion-env-file.js +53 -0
  161. package/dist/esm/core/runtime/companion-env-file.js.map +1 -0
  162. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +5 -0
  163. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  164. package/dist/esm/core/runtime/dev-compile-quiet.companion.js +11 -0
  165. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  166. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts +56 -0
  167. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -0
  168. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js +97 -0
  169. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -0
  170. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +43 -3
  171. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  172. package/dist/esm/core/runtime/services/start-companion-application.service.js +127 -22
  173. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  174. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts +11 -1
  175. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  176. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +42 -19
  177. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  178. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  179. package/dist/esm/core/specifications/resource-specification-context.factory.js +10 -1
  180. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  181. package/dist/esm/core/traceability/companion-traceability.models.d.ts +1 -7
  182. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  183. package/dist/esm/core/traceability/companion-traceability.models.js +3 -5
  184. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  185. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  186. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +15 -14
  187. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  188. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts +0 -23
  189. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  190. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +251 -50
  191. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  192. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  193. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +0 -2
  194. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  195. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  196. package/dist/esm/deliberations/services/deliberation.companion.service.js +3 -2
  197. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  198. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  199. package/dist/esm/email/models/email-template.actors-system.definitions.js +0 -1
  200. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  201. package/dist/esm/email/services/email-template.companion.service.d.ts +5 -3
  202. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  203. package/dist/esm/email/services/email-template.companion.service.js +53 -255
  204. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  205. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts +12 -0
  206. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  207. package/dist/esm/email/utils/email-labels-file-source.utils.js +62 -3
  208. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  209. package/dist/esm/email/utils/email-labels-tree.utils.d.ts +52 -0
  210. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -0
  211. package/dist/esm/email/utils/email-labels-tree.utils.js +261 -0
  212. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -0
  213. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts +2 -0
  214. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  215. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js +21 -1
  216. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  217. package/dist/esm/executions/services/companion-executions.companion.service.d.ts +18 -1
  218. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  219. package/dist/esm/executions/services/companion-executions.companion.service.js +187 -46
  220. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  221. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  222. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +0 -1
  223. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  224. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  225. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +0 -1
  226. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  227. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  228. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +10 -0
  229. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  230. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts +1 -8
  231. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  232. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js +2 -9
  233. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  234. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts +2 -0
  235. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  236. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js +3 -1
  237. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  238. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts +32 -0
  239. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -0
  240. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js +32 -0
  241. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -0
  242. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts +0 -1
  243. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  244. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js +0 -1
  245. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  246. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts +0 -7
  247. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  248. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js +0 -7
  249. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  250. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts +30 -4
  251. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  252. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js +31 -5
  253. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  254. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts +0 -2
  255. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  256. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js +0 -2
  257. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  258. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts +4 -0
  259. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  260. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js +5 -1
  261. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  262. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts +1 -15
  263. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  264. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js +1 -15
  265. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  266. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts +0 -3
  267. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  268. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js +0 -3
  269. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  270. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts +49 -16
  271. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  272. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js +49 -16
  273. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  274. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts +0 -5
  275. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  276. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js +0 -5
  277. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  278. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts +3 -0
  279. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  280. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js +4 -1
  281. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  282. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts +7 -1
  283. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  284. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js +8 -2
  285. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  286. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts +1 -0
  287. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  288. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js +2 -1
  289. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  290. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts +1 -0
  291. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  292. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js +2 -1
  293. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  294. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts +12 -0
  295. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -0
  296. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js +12 -0
  297. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -0
  298. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts +1 -0
  299. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  300. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js +2 -1
  301. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  302. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts +10 -0
  303. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  304. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js +11 -1
  305. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  306. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts +8 -0
  307. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  308. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js +9 -1
  309. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  310. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts +3 -0
  311. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  312. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js +4 -1
  313. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  314. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts +2 -1
  315. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  316. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js +3 -2
  317. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  318. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts +6 -0
  319. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  320. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js +7 -1
  321. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  322. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts +1 -0
  323. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  324. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js +2 -1
  325. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  326. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts +0 -2
  327. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  328. package/dist/esm/i18n/components/progression_milestone_tracker.en.js +0 -2
  329. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  330. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
  331. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  332. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +123 -19
  333. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  334. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  335. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js +12 -0
  336. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  337. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts +25 -0
  338. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -0
  339. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js +26 -0
  340. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -0
  341. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts +26 -3
  342. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  343. package/dist/esm/i18n/errors_messages/errors-messages.en.js +25 -3
  344. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  345. package/dist/esm/i18n/index.d.ts +10 -8
  346. package/dist/esm/i18n/index.d.ts.map +1 -1
  347. package/dist/esm/i18n/index.js +10 -8
  348. package/dist/esm/i18n/index.js.map +1 -1
  349. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +10 -0
  350. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  351. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +2 -0
  352. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  353. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts +97 -0
  354. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -0
  355. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js +60 -0
  356. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -0
  357. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  358. package/dist/esm/i18n/resources/workbenchAspects.en.js +6 -0
  359. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  360. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts +5 -0
  361. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  362. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js +1 -0
  363. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  364. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts +24 -0
  365. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  366. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js +8 -0
  367. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  368. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +30 -0
  369. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  370. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +9 -0
  371. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  372. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts +17 -4
  373. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  374. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js +32 -4
  375. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  376. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts +8 -2
  377. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  378. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js +6 -2
  379. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  380. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts +18 -7
  381. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  382. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js +17 -7
  383. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  384. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts +28 -3
  385. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  386. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js +13 -3
  387. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  388. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts +3 -2
  389. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  390. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js +8 -2
  391. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  392. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +118 -8
  393. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  394. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +42 -16
  395. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  396. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts +12 -2
  397. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  398. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js +16 -2
  399. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  400. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +10 -0
  401. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  402. package/dist/esm/i18n/system_enums/application-creation.en.js +11 -0
  403. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  404. package/dist/esm/i18n/system_enums/processor-register.en.d.ts +6 -0
  405. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  406. package/dist/esm/i18n/system_enums/processor-register.en.js +6 -0
  407. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  408. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +4 -1
  409. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  410. package/dist/esm/i18n/system_enums/workbench-dossier.en.js +5 -1
  411. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  412. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts +46 -0
  413. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -0
  414. package/dist/esm/i18n/system_enums/workbench-secrets.en.js +46 -0
  415. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -0
  416. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts +8 -0
  417. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  418. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js +13 -0
  419. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  420. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts +61 -0
  421. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -0
  422. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js +22 -0
  423. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -0
  424. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +105 -24
  425. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  426. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +55 -24
  427. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  428. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  429. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js +0 -2
  430. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  431. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts +48 -0
  432. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -0
  433. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js +145 -0
  434. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -0
  435. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +70 -18
  436. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  437. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +330 -113
  438. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  439. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts +45 -0
  440. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  441. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js +208 -6
  442. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  443. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +11 -2
  444. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  445. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +101 -18
  446. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  447. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +64 -1
  448. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  449. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +393 -70
  450. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  451. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts +9 -5
  452. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  453. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  454. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts +54 -0
  455. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -0
  456. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js +74 -0
  457. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -0
  458. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts +3 -3
  459. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  460. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts +24 -0
  461. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -0
  462. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js +34 -0
  463. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -0
  464. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  465. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js +5 -1
  466. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  467. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts +76 -0
  468. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -0
  469. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js +110 -0
  470. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -0
  471. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts +17 -0
  472. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -0
  473. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js +23 -0
  474. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -0
  475. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +36 -3
  476. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  477. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +77 -5
  478. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  479. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts +38 -0
  480. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -0
  481. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js +66 -0
  482. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -0
  483. package/dist/esm/index.d.ts.map +1 -1
  484. package/dist/esm/index.js +9 -3
  485. package/dist/esm/index.js.map +1 -1
  486. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  487. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js +0 -1
  488. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  489. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  490. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +1 -3
  491. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  492. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts +11 -0
  493. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -0
  494. package/dist/esm/meta-workflows/models/application-line-catalog.models.js +17 -0
  495. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -0
  496. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  497. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js +0 -1
  498. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  499. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js +1 -1
  500. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  501. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts +14 -0
  502. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  503. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js +18 -0
  504. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  505. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts +14 -0
  506. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -0
  507. package/dist/esm/meta-workflows/models/human-decision-settler.models.js +18 -0
  508. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -0
  509. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +31 -23
  510. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  511. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +36 -5
  512. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  513. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  514. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js +1 -3
  515. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  516. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +19 -0
  517. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  518. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +38 -6
  519. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  520. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +48 -3
  521. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  522. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +61 -8
  523. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  524. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +15 -1
  525. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +1 -1
  526. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +50 -5
  527. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +1 -1
  528. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +52 -9
  529. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  530. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +131 -59
  531. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  532. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts +19 -0
  533. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -0
  534. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js +36 -0
  535. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -0
  536. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +9 -0
  537. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  538. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +41 -17
  539. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  540. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +42 -2
  541. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  542. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +121 -4
  543. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  544. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +32 -0
  545. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -0
  546. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +161 -0
  547. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -0
  548. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts +2 -0
  549. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  550. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js +1 -0
  551. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  552. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts +3 -2
  553. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  554. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +12 -3
  555. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  556. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +74 -1
  557. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  558. package/dist/esm/meta-workflows/services/dossier.companion.service.js +227 -30
  559. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  560. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +29 -2
  561. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  562. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +68 -5
  563. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  564. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts +40 -0
  565. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -0
  566. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js +91 -0
  567. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -0
  568. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts +25 -0
  569. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -0
  570. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js +40 -0
  571. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -0
  572. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts +90 -0
  573. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -0
  574. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +307 -0
  575. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -0
  576. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +29 -0
  577. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  578. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +44 -4
  579. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  580. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +360 -47
  581. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  582. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +1424 -246
  583. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  584. package/package.json +17 -17
  585. package/dist/esm/__time-gov.probe.d.mts +0 -0
  586. package/dist/esm/__time-gov.probe.d.mts.map +0 -0
  587. package/dist/esm/__time-gov.probe.mjs.map +0 -0
  588. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts +0 -0
  589. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.d.ts.map +0 -0
  590. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.head-parity.tmp.js.map +0 -0
  591. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts +0 -0
  592. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +0 -0
  593. package/dist/esm/i18n/composite_views/app.creation-board.en.js.map +0 -0
  594. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts +0 -0
  595. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.d.ts.map +0 -0
  596. package/dist/esm/meta-workflows/services/creator-inputs.companion.service.js.map +0 -0
@@ -0,0 +1,32 @@
1
+ import { type BuildTaskContextSource } from '@wildo-ai/application-creation-runtime';
2
+ import { type BuildPlanTask } from '@wildo-ai/saas-specifications/application-creation';
3
+ /**
4
+ * WHAT A WEBSITE TASK IS BUILDING — its page or section as the website plan decided it.
5
+ *
6
+ * The first journey run that built a website (scratch-journey, 2026-09-23) dispatched only its four
7
+ * PAGE tasks. Each page agent, told only "author the homepage", wrote every section of its page
8
+ * itself — so all 24 section tasks read LANDED without running, and none of the nine section skills
9
+ * ever reached a coding agent. The agent had no way to know the sections were someone else's work:
10
+ * the task carried an objective and a product, and the plan that split the page into sections was not
11
+ * in the brief. It also never saw what each section was FOR — the purpose, the audience, the tone of
12
+ * voice and the market entries it argues from — which the plan had decided and the agent re-derived.
13
+ *
14
+ * So a website task is handed its slice of the plan:
15
+ * - a PAGE task gets the page (purpose, audience, tone) and its sections in reading order, each with
16
+ * the skill that authors it, plus the boundary: author the page and register the sections list,
17
+ * never the section bodies;
18
+ * - a SECTION task gets its section (kind, purpose, the market elements it draws on, resolved), the
19
+ * page it sits on and its neighbours, plus the skill its kind names and how it lands.
20
+ *
21
+ * A deterministic derivation from landed families (the push floor of decision #251): nothing here
22
+ * chooses context. `null` for any task that is not a website task.
23
+ */
24
+ export declare function buildWebsitePlanContextSource(task: BuildPlanTask, companionExports: unknown): BuildTaskContextSource | null;
25
+ /**
26
+ * The skills a website task is authored with: DERIVED from the plan (the page skill for a page, the
27
+ * kind's skill for a section) and placed first, then whatever the decomposer's model declared. The
28
+ * derivation is what the model cannot get wrong; the declared refs are kept because a model may
29
+ * legitimately add one (the label-pack skill, the contact-form skill) that no map would.
30
+ */
31
+ export declare function websiteTaskSkillRefs(task: BuildPlanTask, companionExports: unknown): readonly string[];
32
+ //# sourceMappingURL=application-build-website-context.companion.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-build-website-context.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/application-build-website-context.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,sBAAsB,EAG5B,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAEL,KAAK,aAAa,EAOnB,MAAM,oDAAoD,CAAC;AAI5D;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,aAAa,EAAE,gBAAgB,EAAE,OAAO,GAAG,sBAAsB,GAAG,IAAI,CAsE3H;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,aAAa,EAAE,gBAAgB,EAAE,OAAO,GAAG,SAAS,MAAM,EAAE,CAWtG"}
@@ -0,0 +1,161 @@
1
+ import { decidedFamilyValuesFromCompanionExports, indexDecidedAspects, } from '@wildo-ai/application-creation-runtime';
2
+ import { ApplicationSpecificationFamily, BuildPlanTaskProductKind, BuildPlanTaskTargetKind, WebsitePlanSchema, WEBSITE_SECTION_SKILL_REF, websiteProductSkillRefs, } from '@wildo-ai/saas-specifications/application-creation';
3
+ import { websitePageIdentity } from './application-build-task-coding-policy.companion.service.js';
4
+ /**
5
+ * WHAT A WEBSITE TASK IS BUILDING — its page or section as the website plan decided it.
6
+ *
7
+ * The first journey run that built a website (scratch-journey, 2026-09-23) dispatched only its four
8
+ * PAGE tasks. Each page agent, told only "author the homepage", wrote every section of its page
9
+ * itself — so all 24 section tasks read LANDED without running, and none of the nine section skills
10
+ * ever reached a coding agent. The agent had no way to know the sections were someone else's work:
11
+ * the task carried an objective and a product, and the plan that split the page into sections was not
12
+ * in the brief. It also never saw what each section was FOR — the purpose, the audience, the tone of
13
+ * voice and the market entries it argues from — which the plan had decided and the agent re-derived.
14
+ *
15
+ * So a website task is handed its slice of the plan:
16
+ * - a PAGE task gets the page (purpose, audience, tone) and its sections in reading order, each with
17
+ * the skill that authors it, plus the boundary: author the page and register the sections list,
18
+ * never the section bodies;
19
+ * - a SECTION task gets its section (kind, purpose, the market elements it draws on, resolved), the
20
+ * page it sits on and its neighbours, plus the skill its kind names and how it lands.
21
+ *
22
+ * A deterministic derivation from landed families (the push floor of decision #251): nothing here
23
+ * chooses context. `null` for any task that is not a website task.
24
+ */
25
+ export function buildWebsitePlanContextSource(task, companionExports) {
26
+ if (task.target.kind !== BuildPlanTaskTargetKind.WEBSITE)
27
+ return null;
28
+ const base = { sourceRef: 'application-creation:context/website-plan', originRef: 'application-creation:origin/specification-families' };
29
+ const plan = readWebsitePlan(companionExports);
30
+ if (plan === undefined) {
31
+ return {
32
+ ...base,
33
+ content: {
34
+ unanswerable: 'The application has no readable website plan, so nothing says what this page or section should say. '
35
+ + 'Build what the objective asks, and report that the plan is missing.',
36
+ },
37
+ };
38
+ }
39
+ const resolve = elementResolver(companionExports);
40
+ const pages = task.produces.flatMap((product) => {
41
+ if (product.kind !== BuildPlanTaskProductKind.WEBSITE_PAGE && product.kind !== BuildPlanTaskProductKind.WEBSITE_SECTION)
42
+ return [];
43
+ const page = plan.pages.find((entry) => entry.pageRef === product.pageRef);
44
+ if (page === undefined)
45
+ return [{ pageRef: product.pageRef, unresolved: 'The website plan carries no page with this ref.' }];
46
+ const identity = websitePageIdentity(page.pageRef);
47
+ const pageView = {
48
+ pageRef: page.pageRef,
49
+ treeIdentity: identity,
50
+ purpose: page.purpose,
51
+ audience: page.audienceIcpRefs.map(resolve),
52
+ ...(page.toneOfVoiceRef !== undefined ? { toneOfVoice: resolve(page.toneOfVoiceRef) } : {}),
53
+ sectionsInReadingOrder: page.sections.map((section) => ({
54
+ sectionRef: section.sectionRef,
55
+ kind: section.kind,
56
+ purpose: section.purpose,
57
+ authoredWithSkill: WEBSITE_SECTION_SKILL_REF[section.kind],
58
+ })),
59
+ };
60
+ if (product.kind === BuildPlanTaskProductKind.WEBSITE_PAGE) {
61
+ const pageConst = identity.toUpperCase().replace(/[^A-Z0-9]+/g, '_');
62
+ return [{
63
+ page: pageView,
64
+ boundary: `This task authors the PAGE: its route under website/src/pages/, its bridge and page component under `
65
+ + `website/src/pages-impl/ (${identity}.page.tsx, ${identity}.bridge.tsx), its manifest registered in `
66
+ + `WEBSITE_PAGE_MANIFESTS in website/src/website-root.config.ts, the page's navigation entry, and `
67
+ + `website/src/sections/${identity}.sections.tsx exporting ${pageConst}_SECTIONS, the page's sections list in the reading order above. `
68
+ + `Register that list in website/src/sections/index.ts (re-export the file and spread ${pageConst}_SECTIONS into WEBSITE_SECTIONS): `
69
+ + 'the label audit and the manifest\'s section resolution read WEBSITE_SECTIONS, so an unregistered list is a page whose sections '
70
+ + 'nothing checks. '
71
+ + 'For every locale `wildo.website.config.ts` lists beyond the default, add the route copy under '
72
+ + 'website/src/pages/<locale path>/ and the page\'s keys in that locale\'s pack under website/src/i18n/. '
73
+ + 'Each section is its OWN build task, authored with the skill named beside it — do not write section bodies here; '
74
+ + 'leave the list empty for those tasks to fill.',
75
+ }];
76
+ }
77
+ const index = page.sections.findIndex((entry) => entry.sectionRef === product.sectionRef);
78
+ const section = page.sections[index];
79
+ if (section === undefined)
80
+ return [{ page: pageView, sectionRef: product.sectionRef, unresolved: 'The page carries no section with this ref.' }];
81
+ return [{
82
+ section: {
83
+ sectionRef: section.sectionRef,
84
+ kind: section.kind,
85
+ purpose: section.purpose,
86
+ authoredWithSkill: WEBSITE_SECTION_SKILL_REF[section.kind],
87
+ drawsOn: section.drawsOnRefs.map(resolve),
88
+ position: `${index + 1} of ${page.sections.length} on ${page.pageRef}`,
89
+ },
90
+ page: pageView,
91
+ landing: `Define the section with defineWebsiteSection({ sectionRef: '${section.sectionRef}', … }) in `
92
+ + `website/src/sections/${identity}.sections.tsx and add it to that file's sections list at its reading-order position, `
93
+ + `with its label keys in every locale pack under website/src/i18n/. Argue from the drawsOn elements above — they are `
94
+ + 'what the plan decided this section says; do not invent claims they do not support.',
95
+ }];
96
+ });
97
+ return { ...base, content: { pages } };
98
+ }
99
+ /**
100
+ * The skills a website task is authored with: DERIVED from the plan (the page skill for a page, the
101
+ * kind's skill for a section) and placed first, then whatever the decomposer's model declared. The
102
+ * derivation is what the model cannot get wrong; the declared refs are kept because a model may
103
+ * legitimately add one (the label-pack skill, the contact-form skill) that no map would.
104
+ */
105
+ export function websiteTaskSkillRefs(task, companionExports) {
106
+ if (task.target.kind !== BuildPlanTaskTargetKind.WEBSITE)
107
+ return task.skillRefs;
108
+ const plan = readWebsitePlan(companionExports);
109
+ const derived = task.produces.flatMap((product) => {
110
+ if (product.kind === BuildPlanTaskProductKind.WEBSITE_PAGE)
111
+ return websiteProductSkillRefs({ pageRef: product.pageRef }, plan);
112
+ if (product.kind === BuildPlanTaskProductKind.WEBSITE_SECTION) {
113
+ return websiteProductSkillRefs({ pageRef: product.pageRef, sectionRef: product.sectionRef }, plan);
114
+ }
115
+ return [];
116
+ });
117
+ return [...new Set([...derived, ...task.skillRefs])];
118
+ }
119
+ /**
120
+ * The landed website plan, read through the semantic-authority binding — the registry that owns which
121
+ * `companion-exports` field carries each family — rather than a hand-typed field name that could
122
+ * drift from it.
123
+ */
124
+ function readWebsitePlan(companionExports) {
125
+ if (companionExports === null || typeof companionExports !== 'object')
126
+ return undefined;
127
+ const authored = decidedFamilyValuesFromCompanionExports(companionExports)[ApplicationSpecificationFamily.WEBSITE_PLAN];
128
+ if (authored === undefined || authored === null)
129
+ return undefined;
130
+ const parsed = WebsitePlanSchema.safeParse(authored);
131
+ return parsed.success ? parsed.data : undefined;
132
+ }
133
+ /**
134
+ * A ref → its decided element, across every aspect. `drawsOnRefs` names six market vocabularies at
135
+ * once and is deliberately untyped, so the lookup is by ref alone; a ref that names nothing is
136
+ * returned as `{ ref, unresolved: true }` rather than dropped, so the agent knows the plan cited
137
+ * something the market does not hold instead of concluding the section draws on nothing.
138
+ */
139
+ function elementResolver(companionExports) {
140
+ let byRef;
141
+ return (ref) => {
142
+ if (byRef === undefined) {
143
+ byRef = new Map();
144
+ try {
145
+ const index = indexDecidedAspects(decidedFamilyValuesFromCompanionExports(companionExports));
146
+ for (const entry of index.aspects.values()) {
147
+ for (const element of entry.elements) {
148
+ if (!byRef.has(element.ref))
149
+ byRef.set(element.ref, { aspectKey: entry.aspectKey, label: element.label, element: element.item });
150
+ }
151
+ }
152
+ }
153
+ catch {
154
+ // An index that cannot be built leaves every ref unresolved, which the agent is told per ref.
155
+ }
156
+ }
157
+ const found = byRef.get(ref);
158
+ return found === undefined ? { ref, unresolved: true } : { ref, ...found };
159
+ };
160
+ }
161
+ //# sourceMappingURL=application-build-website-context.companion.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application-build-website-context.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/application-build-website-context.companion.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,uCAAuC,EACvC,mBAAmB,GACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACL,8BAA8B,EAE9B,wBAAwB,EACxB,uBAAuB,EAEvB,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAE/F;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,UAAU,6BAA6B,CAAC,IAAmB,EAAE,gBAAyB;IAC1F,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,KAAK,uB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AAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC;4BAAE,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;oBACnI,CAAC;gBACH,CAAC;YACH,CAAC;YAAC,MAAM,CAAC;gBACP,8FAA8F;YAChG,CAAC;QACH,CAAC;QACD,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAC7B,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,KAAK,EAAE,CAAC;IAC7E,CAAC,CAAC;AACJ,CAAC","sourcesContent":["import {\n type BuildTaskContextSource,\n decidedFamilyValuesFromCompanionExports,\n indexDecidedAspects,\n} from '@wildo-ai/application-creation-runtime';\nimport {\n ApplicationSpecificationFamily,\n type BuildPlanTask,\n BuildPlanTaskProductKind,\n BuildPlanTaskTargetKind,\n type WebsitePlan,\n WebsitePlanSchema,\n WEBSITE_SECTION_SKILL_REF,\n websiteProductSkillRefs,\n} from '@wildo-ai/saas-specifications/application-creation';\n\nimport { websitePageIdentity } from './application-build-task-coding-policy.companion.service';\n\n/**\n * WHAT A WEBSITE TASK IS BUILDING — its page or section as the website plan decided it.\n *\n * The first journey run that built a website (scratch-journey, 2026-09-23) dispatched only its four\n * PAGE tasks. Each page agent, told only \"author the homepage\", wrote every section of its page\n * itself — so all 24 section tasks read LANDED without running, and none of the nine section skills\n * ever reached a coding agent. The agent had no way to know the sections were someone else's work:\n * the task carried an objective and a product, and the plan that split the page into sections was not\n * in the brief. It also never saw what each section was FOR — the purpose, the audience, the tone of\n * voice and the market entries it argues from — which the plan had decided and the agent re-derived.\n *\n * So a website task is handed its slice of the plan:\n * - a PAGE task gets the page (purpose, audience, tone) and its sections in reading order, each with\n * the skill that authors it, plus the boundary: author the page and register the sections list,\n * never the section bodies;\n * - a SECTION task gets its section (kind, purpose, the market elements it draws on, resolved), the\n * page it sits on and its neighbours, plus the skill its kind names and how it lands.\n *\n * A deterministic derivation from landed families (the push floor of decision #251): nothing here\n * chooses context. `null` for any task that is not a website task.\n */\nexport function buildWebsitePlanContextSource(task: BuildPlanTask, companionExports: unknown): BuildTaskContextSource | null {\n if (task.target.kind !== BuildPlanTaskTargetKind.WEBSITE) return null;\n const base = { sourceRef: 'application-creation:context/website-plan', originRef: 'application-creation:origin/specification-families' };\n const plan = readWebsitePlan(companionExports);\n if (plan === undefined) {\n return {\n ...base,\n content: {\n unanswerable: 'The application has no readable website plan, so nothing says what this page or section should say. '\n + 'Build what the objective asks, and report that the plan is missing.',\n },\n };\n }\n\n const resolve = elementResolver(companionExports);\n const pages = task.produces.flatMap((product): unknown[] => {\n if (product.kind !== BuildPlanTaskProductKind.WEBSITE_PAGE && product.kind !== BuildPlanTaskProductKind.WEBSITE_SECTION) return [];\n const page = plan.pages.find((entry) => entry.pageRef === product.pageRef);\n if (page === undefined) return [{ pageRef: product.pageRef, unresolved: 'The website plan carries no page with this ref.' }];\n const identity = websitePageIdentity(page.pageRef);\n const pageView = {\n pageRef: page.pageRef,\n treeIdentity: identity,\n purpose: page.purpose,\n audience: page.audienceIcpRefs.map(resolve),\n ...(page.toneOfVoiceRef !== undefined ? { toneOfVoice: resolve(page.toneOfVoiceRef) } : {}),\n sectionsInReadingOrder: page.sections.map((section) => ({\n sectionRef: section.sectionRef,\n kind: section.kind,\n purpose: section.purpose,\n authoredWithSkill: WEBSITE_SECTION_SKILL_REF[section.kind],\n })),\n };\n if (product.kind === BuildPlanTaskProductKind.WEBSITE_PAGE) {\n const pageConst = identity.toUpperCase().replace(/[^A-Z0-9]+/g, '_');\n return [{\n page: pageView,\n boundary: `This task authors the PAGE: its route under website/src/pages/, its bridge and page component under `\n + `website/src/pages-impl/ (${identity}.page.tsx, ${identity}.bridge.tsx), its manifest registered in `\n + `WEBSITE_PAGE_MANIFESTS in website/src/website-root.config.ts, the page's navigation entry, and `\n + `website/src/sections/${identity}.sections.tsx exporting ${pageConst}_SECTIONS, the page's sections list in the reading order above. `\n + `Register that list in website/src/sections/index.ts (re-export the file and spread ${pageConst}_SECTIONS into WEBSITE_SECTIONS): `\n + 'the label audit and the manifest\\'s section resolution read WEBSITE_SECTIONS, so an unregistered list is a page whose sections '\n + 'nothing checks. '\n + 'For every locale `wildo.website.config.ts` lists beyond the default, add the route copy under '\n + 'website/src/pages/<locale path>/ and the page\\'s keys in that locale\\'s pack under website/src/i18n/. '\n + 'Each section is its OWN build task, authored with the skill named beside it — do not write section bodies here; '\n + 'leave the list empty for those tasks to fill.',\n }];\n }\n const index = page.sections.findIndex((entry) => entry.sectionRef === product.sectionRef);\n const section = page.sections[index];\n if (section === undefined) return [{ page: pageView, sectionRef: product.sectionRef, unresolved: 'The page carries no section with this ref.' }];\n return [{\n section: {\n sectionRef: section.sectionRef,\n kind: section.kind,\n purpose: section.purpose,\n authoredWithSkill: WEBSITE_SECTION_SKILL_REF[section.kind],\n drawsOn: section.drawsOnRefs.map(resolve),\n position: `${index + 1} of ${page.sections.length} on ${page.pageRef}`,\n },\n page: pageView,\n landing: `Define the section with defineWebsiteSection({ sectionRef: '${section.sectionRef}', … }) in `\n + `website/src/sections/${identity}.sections.tsx and add it to that file's sections list at its reading-order position, `\n + `with its label keys in every locale pack under website/src/i18n/. Argue from the drawsOn elements above — they are `\n + 'what the plan decided this section says; do not invent claims they do not support.',\n }];\n });\n return { ...base, content: { pages } };\n}\n\n/**\n * The skills a website task is authored with: DERIVED from the plan (the page skill for a page, the\n * kind's skill for a section) and placed first, then whatever the decomposer's model declared. The\n * derivation is what the model cannot get wrong; the declared refs are kept because a model may\n * legitimately add one (the label-pack skill, the contact-form skill) that no map would.\n */\nexport function websiteTaskSkillRefs(task: BuildPlanTask, companionExports: unknown): readonly string[] {\n if (task.target.kind !== BuildPlanTaskTargetKind.WEBSITE) return task.skillRefs;\n const plan = readWebsitePlan(companionExports);\n const derived = task.produces.flatMap((product) => {\n if (product.kind === BuildPlanTaskProductKind.WEBSITE_PAGE) return websiteProductSkillRefs({ pageRef: product.pageRef }, plan);\n if (product.kind === BuildPlanTaskProductKind.WEBSITE_SECTION) {\n return websiteProductSkillRefs({ pageRef: product.pageRef, sectionRef: product.sectionRef }, plan);\n }\n return [];\n });\n return [...new Set([...derived, ...task.skillRefs])];\n}\n\n/**\n * The landed website plan, read through the semantic-authority binding — the registry that owns which\n * `companion-exports` field carries each family — rather than a hand-typed field name that could\n * drift from it.\n */\nfunction readWebsitePlan(companionExports: unknown): WebsitePlan | undefined {\n if (companionExports === null || typeof companionExports !== 'object') return undefined;\n const authored = decidedFamilyValuesFromCompanionExports(companionExports as Record<string, unknown>)[ApplicationSpecificationFamily.WEBSITE_PLAN];\n if (authored === undefined || authored === null) return undefined;\n const parsed = WebsitePlanSchema.safeParse(authored);\n return parsed.success ? parsed.data : undefined;\n}\n\n/**\n * A ref → its decided element, across every aspect. `drawsOnRefs` names six market vocabularies at\n * once and is deliberately untyped, so the lookup is by ref alone; a ref that names nothing is\n * returned as `{ ref, unresolved: true }` rather than dropped, so the agent knows the plan cited\n * something the market does not hold instead of concluding the section draws on nothing.\n */\nfunction elementResolver(companionExports: unknown): (ref: string) => unknown {\n let byRef: Map<string, { aspectKey: string; label: string; element: unknown }> | undefined;\n return (ref) => {\n if (byRef === undefined) {\n byRef = new Map();\n try {\n const index = indexDecidedAspects(decidedFamilyValuesFromCompanionExports(companionExports as Record<string, unknown>));\n for (const entry of index.aspects.values()) {\n for (const element of entry.elements) {\n if (!byRef.has(element.ref)) byRef.set(element.ref, { aspectKey: entry.aspectKey, label: element.label, element: element.item });\n }\n }\n } catch {\n // An index that cannot be built leaves every ref unresolved, which the agent is told per ref.\n }\n }\n const found = byRef.get(ref);\n return found === undefined ? { ref, unresolved: true } : { ref, ...found };\n };\n}\n"]}
@@ -23,6 +23,8 @@ export declare class BuildPlanAuthoringCompanionService {
23
23
  readCurrentBuildPlan(): Promise<BuildPlanTaskGraph | undefined>;
24
24
  addTask(input: {
25
25
  readonly task: BuildPlanTaskAppendInput;
26
+ /** Who asked for it: the signed-in person, stamped on the task so a refining decomposition keeps it (#1608). */
27
+ readonly requestedBy: string;
26
28
  readonly dryRun?: boolean;
27
29
  }): Promise<BuildPlanTaskAppendResult>;
28
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-authoring.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/build-plan-authoring.companion.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EAA4B,KAAK,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACvH,OAAO,EAGL,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC/B,MAAM,wCAAwC,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAS7E;;;;;;;;;;;GAWG;AACH,qBACa,kCAAkC;IAIR,OAAO,CAAC,QAAQ,CAAC,MAAM;IACR,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAJrF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACN,gBAAgB,EAAE,gBAAgB;IAKvG,oHAAoH;IACvG,oBAAoB,IAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC;IAc/D,OAAO,CAAC,KAAK,EAAE;QAAE,QAAQ,CAAC,IAAI,EAAE,wBAAwB,CAAC;QAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,yBAAyB,CAAC;CAsBxI"}
1
+ {"version":3,"file":"build-plan-authoring.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/build-plan-authoring.companion.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EAA4B,KAAK,kBAAkB,EAAE,MAAM,oDAAoD,CAAC;AACvH,OAAO,EAGL,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC/B,MAAM,wCAAwC,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAS7E;;;;;;;;;;;GAWG;AACH,qBACa,kCAAkC;IAIR,OAAO,CAAC,QAAQ,CAAC,MAAM;IACR,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAJrF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACN,gBAAgB,EAAE,gBAAgB;IAKvG,oHAAoH;IACvG,oBAAoB,IAAI,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC;IAc/D,OAAO,CAAC,KAAK,EAAE;QAC1B,QAAQ,CAAC,IAAI,EAAE,wBAAwB,CAAC;QACxC,gHAAgH;QAChH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;KAC3B,GAAG,OAAO,CAAC,yBAAyB,CAAC;CAuBvC"}
@@ -66,6 +66,7 @@ let BuildPlanAuthoringCompanionService = class BuildPlanAuthoringCompanionServic
66
66
  constantPrefix: LANDED_CONSTANT_PREFIX,
67
67
  current,
68
68
  task: input.task,
69
+ requestedBy: input.requestedBy,
69
70
  ...(input.dryRun === true ? { dryRun: true } : {}),
70
71
  });
71
72
  this.logDebug('Build-plan task appended', {
@@ -1 +1 @@
1
- {"version":3,"file":"build-plan-authoring.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/build-plan-authoring.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UA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AA;;GALxC,kCAAkC,CA+C9C","sourcesContent":["import { inject, injectable } from 'inversify';\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\nimport { BuildPlanTaskGraphSchema, type BuildPlanTaskGraph } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n BuildPlanTaskAppendError,\n appendBuildPlanTask,\n type BuildPlanTaskAppendInput,\n type BuildPlanTaskAppendResult,\n} from '@wildo-ai/application-creation-runtime';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { loadSpecificationsCompanionExports } from '../../core/context/companion-package-loaders.companion';\n\n/**\n * The prefix every landed family's exported constant carries — the dossier's and the playbook\n * landing's, so a plan appended here is named exactly as the plan a playbook would land.\n */\nconst LANDED_CONSTANT_PREFIX = 'application';\n\n/**\n * AUTHORING the build plan from a session (#1454, Step 7): one task appended on the creator's word.\n *\n * The companion half is thin on purpose. Reading the current plan through the companion-exports\n * aggregate, and knowing where the specifications package is, are the two things only the companion\n * can do; the append itself — refusals, validation, rendering, wiring — is\n * {@link appendBuildPlanTask} in the runtime, where the same rules the dispatch service reads the\n * plan by are a function of bytes and a test can drive them without a companion.\n *\n * What it does NOT do: dispatch. Adding a task and running it are two decisions — \"keep it for\n * later\" is a legitimate answer to the first — and the second costs money, so it has its own door.\n */\n@injectable()\nexport class BuildPlanAuthoringCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {\n this.logDebug = this.logger.debugByType('BuildPlanAuthoring');\n }\n\n /** The plan as landed, or `undefined` when none has; an INVALID landed plan refuses rather than reading as none. */\n public async readCurrentBuildPlan(): Promise<BuildPlanTaskGraph | undefined> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const authored = (exports as { buildPlanSpecification?: unknown }).buildPlanSpecification;\n if (authored === undefined || authored === null) return undefined;\n const parsed = BuildPlanTaskGraphSchema.safeParse(authored);\n if (!parsed.success) {\n throw new BuildPlanTaskAppendError(\n `The application's build plan does not satisfy its schema, so nothing can be appended to it: `\n + parsed.error.issues.slice(0, 3).map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; '),\n );\n }\n return parsed.data;\n }\n\n public async addTask(input: { readonly task: BuildPlanTaskAppendInput; readonly dryRun?: boolean }): Promise<BuildPlanTaskAppendResult> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new BuildPlanTaskAppendError('No specifications package is declared in wildo.saas.config.ts; there is nowhere to land a build plan.');\n }\n const current = await this.readCurrentBuildPlan();\n const landed = await appendBuildPlanTask({\n specificationsPackageRoot,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n current,\n task: input.task,\n ...(input.dryRun === true ? { dryRun: true } : {}),\n });\n this.logDebug('Build-plan task appended', {\n taskRef: landed.task.taskRef,\n createdPlan: landed.createdPlan,\n taskCount: landed.graph.tasks.length,\n advisoryFindings: landed.advisoryFindings.length,\n dryRun: input.dryRun === true,\n });\n return landed;\n }\n}\n"]}
1
+ {"version":3,"file":"build-plan-authoring.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/build-plan-authoring.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAA2B,MAAM,oDAAoD,CAAC;AACvH,OAAO,EACL,wBAAwB,EACxB,mBAAmB,GAGpB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,k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AC;QAC5F,IAAI,CAAC,yBAAyB,EAAE,CAAC;YAC/B,MAAM,IAAI,wBAAwB,CAAC,uGAAuG,CAAC,CAAC;QAC9I,CAAC;QACD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAClD,MAAM,MAAM,GAAG,MAAM,mBAAmB,CAAC;YACvC,yBAAyB;YACzB,cAAc,EAAE,sBAAsB;YACtC,OAAO;YACP,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,WAAW,EAAE,KAAK,CAAC,WAAW;YAC9B,GAAG,CAAC,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACnD,CAAC,CAAC;QACH,IAAI,CAAC,QAAQ,CAAC,0BAA0B,EAAE;YACxC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO;YAC5B,WAAW,EAAE,MAAM,CAAC,WAAW;YAC/B,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM;YACpC,gBAAgB,EAAE,MAAM,CAAC,gBAAgB,CAAC,MAAM;YAChD,MAAM,EAAE,KAAK,CAAC,MAAM,KAAK,IAAI;SAC9B,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC;CACF,CAAA;AArDY,kCAAkC;IAD9C,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;;GALxC,kCAAkC,CAqD9C","sourcesContent":["import { inject, injectable } from 'inversify';\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\nimport { BuildPlanTaskGraphSchema, type BuildPlanTaskGraph } from '@wildo-ai/saas-specifications/application-creation';\nimport {\n BuildPlanTaskAppendError,\n appendBuildPlanTask,\n type BuildPlanTaskAppendInput,\n type BuildPlanTaskAppendResult,\n} from '@wildo-ai/application-creation-runtime';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { loadSpecificationsCompanionExports } from '../../core/context/companion-package-loaders.companion';\n\n/**\n * The prefix every landed family's exported constant carries — the dossier's and the playbook\n * landing's, so a plan appended here is named exactly as the plan a playbook would land.\n */\nconst LANDED_CONSTANT_PREFIX = 'application';\n\n/**\n * AUTHORING the build plan from a session (#1454, Step 7): one task appended on the creator's word.\n *\n * The companion half is thin on purpose. Reading the current plan through the companion-exports\n * aggregate, and knowing where the specifications package is, are the two things only the companion\n * can do; the append itself — refusals, validation, rendering, wiring — is\n * {@link appendBuildPlanTask} in the runtime, where the same rules the dispatch service reads the\n * plan by are a function of bytes and a test can drive them without a companion.\n *\n * What it does NOT do: dispatch. Adding a task and running it are two decisions — \"keep it for\n * later\" is a legitimate answer to the first — and the second costs money, so it has its own door.\n */\n@injectable()\nexport class BuildPlanAuthoringCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {\n this.logDebug = this.logger.debugByType('BuildPlanAuthoring');\n }\n\n /** The plan as landed, or `undefined` when none has; an INVALID landed plan refuses rather than reading as none. */\n public async readCurrentBuildPlan(): Promise<BuildPlanTaskGraph | undefined> {\n const exports = await loadSpecificationsCompanionExports(this.companionContext);\n const authored = (exports as { buildPlanSpecification?: unknown }).buildPlanSpecification;\n if (authored === undefined || authored === null) return undefined;\n const parsed = BuildPlanTaskGraphSchema.safeParse(authored);\n if (!parsed.success) {\n throw new BuildPlanTaskAppendError(\n `The application's build plan does not satisfy its schema, so nothing can be appended to it: `\n + parsed.error.issues.slice(0, 3).map((issue) => `${issue.path.join('.')}: ${issue.message}`).join('; '),\n );\n }\n return parsed.data;\n }\n\n public async addTask(input: {\n readonly task: BuildPlanTaskAppendInput;\n /** Who asked for it: the signed-in person, stamped on the task so a refining decomposition keeps it (#1608). */\n readonly requestedBy: string;\n readonly dryRun?: boolean;\n }): Promise<BuildPlanTaskAppendResult> {\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new BuildPlanTaskAppendError('No specifications package is declared in wildo.saas.config.ts; there is nowhere to land a build plan.');\n }\n const current = await this.readCurrentBuildPlan();\n const landed = await appendBuildPlanTask({\n specificationsPackageRoot,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n current,\n task: input.task,\n requestedBy: input.requestedBy,\n ...(input.dryRun === true ? { dryRun: true } : {}),\n });\n this.logDebug('Build-plan task appended', {\n taskRef: landed.task.taskRef,\n createdPlan: landed.createdPlan,\n taskCount: landed.graph.tasks.length,\n advisoryFindings: landed.advisoryFindings.length,\n dryRun: input.dryRun === true,\n });\n return landed;\n }\n}\n"]}
@@ -1,4 +1,4 @@
1
- import type { LoggerService } from '@wildo-ai/saas-backend-lib';
1
+ import type { AppConfigurationService, LoggerService } from '@wildo-ai/saas-backend-lib';
2
2
  import { type CapabilityComposition, type CompositionScenarioRef } from '@wildo-ai/saas-specifications/application-creation';
3
3
  import { type CapabilityCompositionInputs } from '@wildo-ai/application-creation-runtime';
4
4
  import type { CompanionContext } from '../../core/context/companion-context';
@@ -35,8 +35,9 @@ export declare class CapabilityCompositionExecutionError extends Error {
35
35
  export declare class CapabilityCompositionExecutorCompanionService {
36
36
  private readonly logger;
37
37
  private readonly companionContext;
38
+ private readonly appConfigService;
38
39
  private readonly logDebug;
39
- constructor(logger: LoggerService, companionContext: CompanionContext);
40
+ constructor(logger: LoggerService, companionContext: CompanionContext, appConfigService: AppConfigurationService);
40
41
  execute(input: {
41
42
  /** The landed definition-family VALUES the derivation reads; an absent family is simply absent. */
42
43
  readonly inputs: CapabilityCompositionInputs;
@@ -1 +1 @@
1
- {"version":3,"file":"capability-composition-executor.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/capability-composition-executor.companion.service.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC5B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAKL,KAAK,2BAA2B,EACjC,MAAM,wCAAwC,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,mCAAmC,qCAAqC,CAAC;AAEtF,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,WAAW,EAAE,OAAO,mCAAmC,CAAC;IACjE,QAAQ,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC;IACvB,+EAA+E;IAC/E,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;IAC5C,gHAAgH;IAChH,QAAQ,CAAC,MAAM,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACnD,QAAQ,CAAC,QAAQ,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACrD,QAAQ,CAAC,kBAAkB,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAC/D,oHAAoH;IACpH,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,uEAAuE;IACvE,QAAQ,CAAC,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAC;CAClD;AAED,wIAAwI;AACxI,qBAAa,mCAAoC,SAAQ,KAAK;CAAG;AAKjE,qBACa,6CAA6C;IAInB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACR,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IAJrF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACN,gBAAgB,EAAE,gBAAgB;IAK1F,OAAO,CAAC,KAAK,EAAE;QAC1B,mGAAmG;QACnG,QAAQ,CAAC,MAAM,EAAE,2BAA2B,CAAC;QAC7C,wCAAwC;QACxC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;KAC3B,GAAG,OAAO,CAAC,oCAAoC,CAAC;CAmDlD"}
1
+ {"version":3,"file":"capability-composition-executor.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/capability-composition-executor.companion.service.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEzF,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC5B,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAKL,KAAK,2BAA2B,EACjC,MAAM,wCAAwC,CAAC;AAGhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,mCAAmC,qCAAqC,CAAC;AAEtF,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,WAAW,EAAE,OAAO,mCAAmC,CAAC;IACjE,QAAQ,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC;IACvB,+EAA+E;IAC/E,QAAQ,CAAC,WAAW,EAAE,qBAAqB,CAAC;IAC5C,gHAAgH;IAChH,QAAQ,CAAC,MAAM,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACnD,QAAQ,CAAC,QAAQ,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACrD,QAAQ,CAAC,kBAAkB,EAAE,SAAS,sBAAsB,EAAE,CAAC;IAC/D,oHAAoH;IACpH,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,uEAAuE;IACvE,QAAQ,CAAC,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAC;CAClD;AAED,wIAAwI;AACxI,qBAAa,mCAAoC,SAAQ,KAAK;CAAG;AAKjE,qBACa,6CAA6C;IAInB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACR,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACtC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IALhF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACN,gBAAgB,EAAE,gBAAgB,EACvC,gBAAgB,EAAE,uBAAuB;IAK5F,OAAO,CAAC,KAAK,EAAE;QAC1B,mGAAmG;QACnG,QAAQ,CAAC,MAAM,EAAE,2BAA2B,CAAC;QAC7C,wCAAwC;QACxC,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;KAC3B,GAAG,OAAO,CAAC,oCAAoC,CAAC;CAwDlD"}
@@ -14,6 +14,7 @@ import { writeFile } from 'node:fs/promises';
14
14
  import { join } from 'node:path';
15
15
  import { inject, injectable } from 'inversify';
16
16
  import { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';
17
+ import { getCompanionServedLanguages } from '../../core/config/primary-language.companion.utils.js';
17
18
  import { ApplicationSpecificationFamily, ApplicationSpecificationFamilySemanticSchemaRef, CompositionDisposition, } from '@wildo-ai/saas-specifications/application-creation';
18
19
  import { deriveCapabilityComposition, landApplicationSpecificationArtifact, planCompanionExportWiring, resolvePlaybookOutputLandingTarget, } from '@wildo-ai/application-creation-runtime';
19
20
  import { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types.js';
@@ -38,14 +39,21 @@ const LANDED_CONSTANT_PREFIX = 'application';
38
39
  let CapabilityCompositionExecutorCompanionService = class CapabilityCompositionExecutorCompanionService {
39
40
  logger;
40
41
  companionContext;
42
+ appConfigService;
41
43
  logDebug;
42
- constructor(logger, companionContext) {
44
+ constructor(logger, companionContext, appConfigService) {
43
45
  this.logger = logger;
44
46
  this.companionContext = companionContext;
47
+ this.appConfigService = appConfigService;
45
48
  this.logDebug = this.logger.debugByType('CapabilityCompositionExecutorCompanionService');
46
49
  }
47
50
  async execute(input) {
48
- const composition = deriveCapabilityComposition(input.inputs);
51
+ // The languages the application serves decide `add-locale`; they are configuration, not a family,
52
+ // so the host reads them here unless the caller already supplied them.
53
+ const composition = deriveCapabilityComposition({
54
+ ...input.inputs,
55
+ servedLanguages: input.inputs.servedLanguages ?? getCompanionServedLanguages(this.appConfigService.config),
56
+ });
49
57
  const byDisposition = (disposition) => composition.scenarioDecisions.filter((decision) => decision.disposition === disposition).map((decision) => decision.scenarioRef);
50
58
  const needed = byDisposition(CompositionDisposition.NEEDED);
51
59
  const declined = byDisposition(CompositionDisposition.DECLINED);
@@ -96,7 +104,8 @@ CapabilityCompositionExecutorCompanionService = __decorate([
96
104
  injectable(),
97
105
  __param(0, inject(SAAS_SERVICE_TYPES.Logger)),
98
106
  __param(1, inject(COMPANION_SERVICE_TYPES.CompanionContext)),
99
- __metadata("design:paramtypes", [Function, Object])
107
+ __param(2, inject(SAAS_SERVICE_TYPES.AppConfigService)),
108
+ __metadata("design:paramtypes", [Function, Object, Function])
100
109
  ], CapabilityCompositionExecutorCompanionService);
101
110
  export { CapabilityCompositionExecutorCompanionService };
102
111
  //# sourceMappingURL=capability-composition-executor.companion.service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"capability-composition-executor.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/capability-composition-executor.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EACL,8BAA8B,EAC9B,+CAA+C,EAC/C,sBAAsB,GAGvB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,2BAA2B,EAC3B,oCAAo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,cAAc,CAAC,CAAC;gBAChG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;YACxC,CAAC;QACH,CAAC;QACD,OAAO;YACL,WAAW,EAAE,mCAAmC;YAChD,GAAG,CAAC,KAAK,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAa,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAC3D,WAAW;YACX,MAAM;YACN,QAAQ;YACR,kBAAkB;YAClB,MAAM;YACN,oBAAoB,EAAE,MAAM,CAAC,YAAY;SAC1C,CAAC;IACJ,CAAC;CACF,CAAA;AAlEY,6CAA6C;IADzD,UAAU,EAAE;IAKR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;;GALxC,6CAA6C,CAkEzD","sourcesContent":["import { writeFile } from 'node:fs/promises';\nimport { join } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\nimport type { LoggerService } from '@wildo-ai/saas-backend-lib';\nimport {\n ApplicationSpecificationFamily,\n ApplicationSpecificationFamilySemanticSchemaRef,\n CompositionDisposition,\n type CapabilityComposition,\n type CompositionScenarioRef,\n} from '@wildo-ai/saas-specifications/application-creation';\nimport {\n deriveCapabilityComposition,\n landApplicationSpecificationArtifact,\n planCompanionExportWiring,\n resolvePlaybookOutputLandingTarget,\n type CapabilityCompositionInputs,\n} from '@wildo-ai/application-creation-runtime';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\n\n/**\n * The `bottom_up.capability-composition` playbook's EXECUTOR — a runner-owned step like the\n * foundation's (#1491): the run short-circuits here before any brief is composed, because the\n * composition is a pure function of the definition families and a model asked to produce it would\n * be asked to decide what `deriveCapabilityComposition` already decides.\n *\n * What it does is the same three steps as every deterministic landing (`landCreatorInputAnswer`,\n * the governance facts): plan the companion-exports wiring against the current bytes, land the\n * family through the generic renderer, apply the wiring LAST so a slot never points at a file that\n * failed to land. Nothing here commits — a landed composition is a working edit until a human\n * commits it (`one-source-of-truth.md`, rules 2 and 3).\n */\n\nexport const CAPABILITY_COMPOSITION_PLAYBOOK_REF = 'bottom_up.capability-composition';\n\nexport interface CapabilityCompositionExecutionResult {\n readonly playbookRef: typeof CAPABILITY_COMPOSITION_PLAYBOOK_REF;\n readonly dryRun?: true;\n /** The derived composition — one decision per scenario the framework ships. */\n readonly composition: CapabilityComposition;\n /** The scenarios the foundation will apply, and the two it will not, each with its basis in the composition. */\n readonly needed: readonly CompositionScenarioRef[];\n readonly declined: readonly CompositionScenarioRef[];\n readonly ownedByAnotherStep: readonly CompositionScenarioRef[];\n /** Package-relative paths this run wrote (the family file and any companion-exports wiring). Empty on a dry run. */\n readonly landed: readonly string[];\n /** Wiring steps already in place — the idempotent re-land evidence. */\n readonly wiringAlreadyInPlace: readonly string[];\n}\n\n/** The specifications package could not be reached, so nothing could be landed — a host-configuration refusal, not a derivation one. */\nexport class CapabilityCompositionExecutionError extends Error {}\n\n/** The constant prefix every landed family constant carries (issue #65: landed constants are app-name-free). */\nconst LANDED_CONSTANT_PREFIX = 'application';\n\n@injectable()\nexport class CapabilityCompositionExecutorCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n ) {\n this.logDebug = this.logger.debugByType('CapabilityCompositionExecutorCompanionService');\n }\n\n public async execute(input: {\n /** The landed definition-family VALUES the derivation reads; an absent family is simply absent. */\n readonly inputs: CapabilityCompositionInputs;\n /** Derive and render, write nothing. */\n readonly dryRun?: boolean;\n }): Promise<CapabilityCompositionExecutionResult> {\n const composition = deriveCapabilityComposition(input.inputs);\n const byDisposition = (disposition: CompositionDisposition): CompositionScenarioRef[] =>\n composition.scenarioDecisions.filter((decision) => decision.disposition === disposition).map((decision) => decision.scenarioRef);\n const needed = byDisposition(CompositionDisposition.NEEDED);\n const declined = byDisposition(CompositionDisposition.DECLINED);\n const ownedByAnotherStep = byDisposition(CompositionDisposition.OWNED_BY_ANOTHER_STEP);\n this.logDebug('Capability composition derived', { needed, declined: declined.length, ownedByAnotherStep: ownedByAnotherStep.length });\n\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new CapabilityCompositionExecutionError(\n 'The capability composition cannot land: this application declares no specifications package in `wildo.saas.config.ts` (`specifications`).',\n );\n }\n const target = resolvePlaybookOutputLandingTarget({\n family: ApplicationSpecificationFamily.CAPABILITY_COMPOSITION,\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.CAPABILITY_COMPOSITION,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n });\n // Planned against the CURRENT bytes, before the write — an unwirable landing refuses at zero cost.\n const wiring = planCompanionExportWiring({\n specificationsPackageRoot,\n outputs: [{ family: ApplicationSpecificationFamily.CAPABILITY_COMPOSITION, packageRelativePath: target.packageRelativePath, exportedConstantName: target.exportedConstantName }],\n });\n const landedFile = await landApplicationSpecificationArtifact({\n specificationsPackageRoot,\n target,\n value: composition,\n ...(input.dryRun === true ? { dryRun: true } : {}),\n });\n const landed: string[] = [];\n if (input.dryRun !== true) {\n landed.push(landedFile.packageRelativePath);\n // LAST: a slot must never point at a file that failed to land.\n for (const edit of wiring.edits) {\n await writeFile(join(specificationsPackageRoot, edit.packageRelativePath), edit.renderedSource);\n landed.push(edit.packageRelativePath);\n }\n }\n return {\n playbookRef: CAPABILITY_COMPOSITION_PLAYBOOK_REF,\n ...(input.dryRun === true ? { dryRun: true as const } : {}),\n composition,\n needed,\n declined,\n ownedByAnotherStep,\n landed,\n wiringAlreadyInPlace: wiring.alreadyWired,\n };\n }\n}\n"]}
1
+ {"version":3,"file":"capability-composition-executor.companion.service.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/capability-composition-executor.companion.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EAAE,2BAA2B,EAAE,MAAM,oDAAoD,CAAC;AACjG,OAAO,EACL,8BAA8B,EAC9B,+CAA+C,EAC/C,sBAAsB,GAGvB,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,2BAA2B,EAC3B,oCAAoC,EACpC,yBAAyB,EACzB,kCAAkC,GAEnC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAGjF;;;;;;;;;;;GAWG;AAEH,MAAM,CAAC,MAAM,mCAAmC,GAAG,kCAAkC,CAAC;AAiBtF,wIAAwI;AACxI,MAAM,OAAO,mCAAoC,SAAQ,KAAK;CAAG;AAEjE,gHAAgH;AAChH,MAAM,sBAAsB,GAAG,aAAa,CAAC;AAGtC,IAAM,6CAA6C,GAAnD,MAAM,6CAA6C;IAIF;IACe;IACL;IAL/C,QAAQ,CAA+D;IAExF,YACsD,MAAqB,EACN,gBAAkC,EACvC,gBAAyC;QAFnD,WAAM,GAAN,MAAM,CAAe;QACN,qBAAgB,GAAhB,gBAAgB,CAAkB;QACvC,qBAAgB,GAAhB,gBAAgB,CAAyB;QAEvG,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,+CAA+C,CAAC,CAAC;IAC3F,CAAC;IAEM,KAAK,CAAC,OAAO,CAAC,KAKpB;QACC,kGAAkG;QAClG,uEAAuE;QACvE,MA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,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAChD,WAAA,MAAM,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAA;;GANnC,6CAA6C,CAwEzD","sourcesContent":["import { writeFile } from 'node:fs/promises';\nimport { join } from 'node:path';\n\nimport { inject, injectable } from 'inversify';\nimport { SAAS_SERVICE_TYPES } from '@wildo-ai/saas-backend-lib';\nimport type { AppConfigurationService, LoggerService } from '@wildo-ai/saas-backend-lib';\nimport { getCompanionServedLanguages } from '../../core/config/primary-language.companion.utils';\nimport {\n ApplicationSpecificationFamily,\n ApplicationSpecificationFamilySemanticSchemaRef,\n CompositionDisposition,\n type CapabilityComposition,\n type CompositionScenarioRef,\n} from '@wildo-ai/saas-specifications/application-creation';\nimport {\n deriveCapabilityComposition,\n landApplicationSpecificationArtifact,\n planCompanionExportWiring,\n resolvePlaybookOutputLandingTarget,\n type CapabilityCompositionInputs,\n} from '@wildo-ai/application-creation-runtime';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\n\n/**\n * The `bottom_up.capability-composition` playbook's EXECUTOR — a runner-owned step like the\n * foundation's (#1491): the run short-circuits here before any brief is composed, because the\n * composition is a pure function of the definition families and a model asked to produce it would\n * be asked to decide what `deriveCapabilityComposition` already decides.\n *\n * What it does is the same three steps as every deterministic landing (`landCreatorInputAnswer`,\n * the governance facts): plan the companion-exports wiring against the current bytes, land the\n * family through the generic renderer, apply the wiring LAST so a slot never points at a file that\n * failed to land. Nothing here commits — a landed composition is a working edit until a human\n * commits it (`one-source-of-truth.md`, rules 2 and 3).\n */\n\nexport const CAPABILITY_COMPOSITION_PLAYBOOK_REF = 'bottom_up.capability-composition';\n\nexport interface CapabilityCompositionExecutionResult {\n readonly playbookRef: typeof CAPABILITY_COMPOSITION_PLAYBOOK_REF;\n readonly dryRun?: true;\n /** The derived composition — one decision per scenario the framework ships. */\n readonly composition: CapabilityComposition;\n /** The scenarios the foundation will apply, and the two it will not, each with its basis in the composition. */\n readonly needed: readonly CompositionScenarioRef[];\n readonly declined: readonly CompositionScenarioRef[];\n readonly ownedByAnotherStep: readonly CompositionScenarioRef[];\n /** Package-relative paths this run wrote (the family file and any companion-exports wiring). Empty on a dry run. */\n readonly landed: readonly string[];\n /** Wiring steps already in place — the idempotent re-land evidence. */\n readonly wiringAlreadyInPlace: readonly string[];\n}\n\n/** The specifications package could not be reached, so nothing could be landed — a host-configuration refusal, not a derivation one. */\nexport class CapabilityCompositionExecutionError extends Error {}\n\n/** The constant prefix every landed family constant carries (issue #65: landed constants are app-name-free). */\nconst LANDED_CONSTANT_PREFIX = 'application';\n\n@injectable()\nexport class CapabilityCompositionExecutorCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n public constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(SAAS_SERVICE_TYPES.AppConfigService) private readonly appConfigService: AppConfigurationService,\n ) {\n this.logDebug = this.logger.debugByType('CapabilityCompositionExecutorCompanionService');\n }\n\n public async execute(input: {\n /** The landed definition-family VALUES the derivation reads; an absent family is simply absent. */\n readonly inputs: CapabilityCompositionInputs;\n /** Derive and render, write nothing. */\n readonly dryRun?: boolean;\n }): Promise<CapabilityCompositionExecutionResult> {\n // The languages the application serves decide `add-locale`; they are configuration, not a family,\n // so the host reads them here unless the caller already supplied them.\n const composition = deriveCapabilityComposition({\n ...input.inputs,\n servedLanguages: input.inputs.servedLanguages ?? getCompanionServedLanguages(this.appConfigService.config),\n });\n const byDisposition = (disposition: CompositionDisposition): CompositionScenarioRef[] =>\n composition.scenarioDecisions.filter((decision) => decision.disposition === disposition).map((decision) => decision.scenarioRef);\n const needed = byDisposition(CompositionDisposition.NEEDED);\n const declined = byDisposition(CompositionDisposition.DECLINED);\n const ownedByAnotherStep = byDisposition(CompositionDisposition.OWNED_BY_ANOTHER_STEP);\n this.logDebug('Capability composition derived', { needed, declined: declined.length, ownedByAnotherStep: ownedByAnotherStep.length });\n\n const specificationsPackageRoot = this.companionContext.resolvedSpecifications?.packageRoot;\n if (!specificationsPackageRoot) {\n throw new CapabilityCompositionExecutionError(\n 'The capability composition cannot land: this application declares no specifications package in `wildo.saas.config.ts` (`specifications`).',\n );\n }\n const target = resolvePlaybookOutputLandingTarget({\n family: ApplicationSpecificationFamily.CAPABILITY_COMPOSITION,\n schemaRef: ApplicationSpecificationFamilySemanticSchemaRef.CAPABILITY_COMPOSITION,\n constantPrefix: LANDED_CONSTANT_PREFIX,\n });\n // Planned against the CURRENT bytes, before the write — an unwirable landing refuses at zero cost.\n const wiring = planCompanionExportWiring({\n specificationsPackageRoot,\n outputs: [{ family: ApplicationSpecificationFamily.CAPABILITY_COMPOSITION, packageRelativePath: target.packageRelativePath, exportedConstantName: target.exportedConstantName }],\n });\n const landedFile = await landApplicationSpecificationArtifact({\n specificationsPackageRoot,\n target,\n value: composition,\n ...(input.dryRun === true ? { dryRun: true } : {}),\n });\n const landed: string[] = [];\n if (input.dryRun !== true) {\n landed.push(landedFile.packageRelativePath);\n // LAST: a slot must never point at a file that failed to land.\n for (const edit of wiring.edits) {\n await writeFile(join(specificationsPackageRoot, edit.packageRelativePath), edit.renderedSource);\n landed.push(edit.packageRelativePath);\n }\n }\n return {\n playbookRef: CAPABILITY_COMPOSITION_PLAYBOOK_REF,\n ...(input.dryRun === true ? { dryRun: true as const } : {}),\n composition,\n needed,\n declined,\n ownedByAnotherStep,\n landed,\n wiringAlreadyInPlace: wiring.alreadyWired,\n };\n }\n}\n"]}
@@ -1,21 +1,45 @@
1
- import { type ApplicationAuthoredDocumentFactSpecification, type ApplicationCreatorInputAnswer, type ApplicationCreatorInputs } from '@wildo-ai/saas-specifications/application-creation';
1
+ import { type ApplicationAuthoredDocumentFactSpecification, type ApplicationCreatorInputAnswer, type ApplicationCreatorInputs, type ApplicationDocumentFactSpecification } from '@wildo-ai/saas-specifications/application-creation';
2
+ import type { GovernedDocumentPublicDocument } from '@wildo-ai/saas-models';
2
3
  import type { LoggerService } from '@wildo-ai/saas-backend-lib';
3
4
  import type { CompanionContext } from '../../core/context/companion-context';
4
5
  /** One question of the catalog, with the creator's answer when there is one. */
5
6
  export interface DossierEntry {
6
7
  readonly playbookRef: string;
8
+ /** The playbook INSTANCE this row asks for (#1609); absent on the default instance's rows. */
9
+ readonly instanceKey?: string;
10
+ /** What that instance was opened FOR, as its activation records it; absent on the default instance's rows. */
11
+ readonly instancePurpose?: string;
7
12
  readonly questionRef: string;
8
13
  readonly question: string;
9
14
  readonly kind: string;
10
15
  readonly options: readonly string[];
11
16
  readonly position: number;
12
17
  readonly answer: ApplicationCreatorInputAnswer | undefined;
18
+ /**
19
+ * On an instance's row with no answer of its own: the step's own answer, which the instance runs on
20
+ * until it is given one (#1609). Absent on the default instance's rows, and whenever `answer` is set.
21
+ */
22
+ readonly answerFromTheStep?: ApplicationCreatorInputAnswer;
13
23
  /**
14
24
  * Every family this answer feeds — what the asking playbook produces and everything downstream of
15
25
  * it — so "changing this affects: …" is on the row before anyone saves (#1454, Step 8). Derived
16
26
  * from the catalog's declared inputs and outputs; empty for a playbook that produces nothing.
17
27
  */
18
28
  readonly affectsFamilies: readonly string[];
29
+ /**
30
+ * The family whose SUBJECT this question belongs to (#1454, gap 4): what the asking step itself
31
+ * produces; for a composite that produces nothing directly, what the steps it admits produce; and
32
+ * only then the first family its answer reaches. The last is a downstream family — a compliance
33
+ * interview reaches the vision by way of the build — so it is the fallback, never the first choice.
34
+ */
35
+ readonly subjectFamily: string | undefined;
36
+ /**
37
+ * The OTHER steps that READ this decision through a `sameDecisionAs` fallback (#1454 review) — every
38
+ * such step without an answer of its own. The decision is ONE row, at its owner; those steps'
39
+ * interviews show and answer this row, so a creator is asked once. A fallback that holds its own
40
+ * (legacy) answer reads that answer instead, and is listed on its own row, not here.
41
+ */
42
+ readonly sharedWithPlaybookRefs: readonly string[];
19
43
  }
20
44
  /** A committed answer whose question the catalog no longer declares. */
21
45
  export interface OrphanedDossierAnswer {
@@ -52,6 +76,12 @@ export declare class DossierCompanionService {
52
76
  * reason. What a governance landing merges INTO, and what decides a question's standing.
53
77
  */
54
78
  readAuthoredDocumentFacts(): Promise<ApplicationAuthoredDocumentFactSpecification | undefined>;
79
+ /**
80
+ * The governed-document facts the PRODUCT established, as landed by the document-facts step
81
+ * (#1454, gap 4) — what the dossier shows as "read from the product". Re-parsed like its siblings:
82
+ * a landed file that no longer satisfies its schema reads as nothing read yet, never as an answer.
83
+ */
84
+ readDerivedDocumentFacts(): Promise<ApplicationDocumentFactSpecification | undefined>;
55
85
  /**
56
86
  * The governed documents the creator ASKED FOR — those with a landed draft — as definition refs.
57
87
  *
@@ -61,6 +91,23 @@ export declare class DossierCompanionService {
61
91
  * asked of the person now; one of an undrafted document is merely not told yet.
62
92
  */
63
93
  listDraftedGovernedDocumentDefinitionRefs(): Promise<ReadonlySet<string>>;
94
+ /**
95
+ * Every governed document's CURRENT text, keyed by definition ref (#1645): its release, else its
96
+ * latest draft — see {@link selectCurrentGovernedDocumentTexts}. What the workbench prints when the
97
+ * creator asks for all their documents as one PDF.
98
+ *
99
+ * Unlike {@link listDraftedGovernedDocumentDefinitionRefs}, an unreadable draft set THROWS here. That
100
+ * method answers a question a dossier can survive not knowing; this one produces a file a person hands
101
+ * to a reviewer, and printing every document as "not composed yet" because the drafts could not be
102
+ * read would be a false document.
103
+ */
104
+ readCurrentGovernedDocumentTexts(at: Date): Promise<ReadonlyMap<string, GovernedDocumentPublicDocument>>;
105
+ /**
106
+ * The drafts in the landed candidate-set FILE, read the way the run service reads it (the family has
107
+ * no companion-exports slot: a draft is not accepted truth). No file is no drafts; a file that cannot
108
+ * be loaded THROWS — each caller decides what not knowing means for it.
109
+ */
110
+ private readLandedGovernedDocumentDrafts;
64
111
  /** Every declared interview question across the catalog, joined with the dossier's answers. */
65
112
  listDossierEntries(): Promise<DossierListing>;
66
113
  /**
@@ -70,11 +117,37 @@ export declare class DossierCompanionService {
70
117
  */
71
118
  recordAnswer(input: {
72
119
  readonly playbookRef: string;
120
+ /** The INSTANCE the answer is for (#1609); it must be opened, and a shared decision is never redirected for it. */
121
+ readonly instanceKey?: string;
73
122
  readonly questionRef: string;
74
123
  readonly value: string;
75
124
  readonly answeredByRef: string;
76
125
  readonly dryRun?: boolean;
77
126
  }): Promise<RecordAnswerResult>;
127
+ /**
128
+ * FILE what a step's Run gate collected (#1454 review, LOW): each answer to a question the dossier
129
+ * does NOT answer for that step yet is recorded through {@link recordAnswer} — the same validation,
130
+ * the same shared-decision filing, the same provenance — so the next run does not ask again and the
131
+ * dossier stops saying "still needed" about a step that ran.
132
+ *
133
+ * Only the STILL-NEEDED ones. The run route's `elicitationAnswers` is also a per-run OVERRIDE of an
134
+ * answer the dossier holds (Step 5: "request answers override"); filing an override would silently
135
+ * rewrite a decision the creator made elsewhere, so an answered question's override stays an
136
+ * override. A blank answer is not an answer and is left to the run, which names what is missing.
137
+ *
138
+ * Sequential on purpose: each `recordAnswer` re-reads the dossier it merges into, so two answers
139
+ * filed in parallel would each land a file missing the other.
140
+ */
141
+ fileStillNeededAnswers(input: {
142
+ readonly playbookRef: string;
143
+ /** The instance the run is for (#1609): its pre-answers are filed as THAT instance's answers. */
144
+ readonly instanceKey?: string;
145
+ readonly answers: readonly {
146
+ readonly questionRef: string;
147
+ readonly answer: string;
148
+ }[];
149
+ readonly answeredByRef: string;
150
+ }): Promise<readonly string[]>;
78
151
  /** A catalog entry that does not satisfy its own contract is skipped, never fatal — one malformed playbook must not hide the rest. */
79
152
  private readParsedPlaybook;
80
153
  }
@@ -1 +1 @@
1
- {"version":3,"file":"dossier.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/dossier.companion.service.ts"],"names":[],"mappings":"AAIA,OAAO,EAOL,KAAK,4CAA4C,EAEjD,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAE9B,MAAM,oD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AgB;IAJrF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA+D;gBAGlC,MAAM,EAAE,aAAa,EACN,gBAAgB,EAAE,gBAAgB;IAKvG;;;;;OAKG;IACU,iBAAiB,IAAI,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC;IAc/E;;;;OAIG;IACU,yBAAyB,IAAI,OAAO,CAAC,4CAA4C,GAAG,SAAS,CAAC;IAc3G;;;;;;;OAOG;IACU,yCAAyC,IAAI,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IA2BtF,+FAA+F;IAClF,kBAAkB,IAAI,OAAO,CAAC,cAAc,CAAC;IAqC1D;;;;OAIG;IACU,YAAY,CAAC,KAAK,EAAE;QAC/B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;QAC/B,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;KAC3B,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAmC/B,sIAAsI;IACtI,OAAO,CAAC,kBAAkB;CAM3B"}
1
+ {"version":3,"file":"dossier.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/services/dossier.companion.service.ts"],"names":[],"mappings":"AAIA,OAAO,EAQL,KAAK,4CAA4C,EAEjD,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,oCAAoC,EAG1C,MAAM,oDAAoD,CAAC;AAM5D,OAAO,KAAK,EAAE,8BAA8B,EAA2B,MAAM,uBAAuB,CAAC;AASrG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAKhE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAoC7E,gFAAgF;AAChF,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,WAAW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