@wildo-ai/dev-companion 1.1.7 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1145) hide show
  1. package/bin/companion-supervisor.d.mts +33 -0
  2. package/bin/companion-supervisor.mjs +174 -0
  3. package/bin/wildo-dev-companion-supervised.mjs +16 -0
  4. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  5. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  6. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  7. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +8 -2
  8. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  9. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  10. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +8 -2
  11. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  12. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  13. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
  14. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +1 -1
  15. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  16. package/dist/esm/brand/services/brand-accept.companion.service.js +9 -11
  17. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  18. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
  19. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
  20. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  21. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  22. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  23. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  24. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  25. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  26. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  27. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  28. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +21 -0
  29. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  30. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +33 -1
  31. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  32. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +41 -2
  33. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  34. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +43 -1
  35. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  36. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  37. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  38. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  39. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  40. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  41. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  42. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  43. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  44. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +57 -1
  45. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  46. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +75 -1
  47. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  48. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +90 -5
  49. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  50. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +242 -22
  51. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  52. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  53. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  54. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  55. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  56. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
  57. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
  58. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  59. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  60. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  61. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  62. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  63. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  64. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  65. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  66. package/dist/esm/companion-api/companion-api.schemas.d.ts +23 -2
  67. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  68. package/dist/esm/companion-api/companion-api.schemas.js +13 -2
  69. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  70. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
  71. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
  72. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
  73. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
  74. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  75. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
  76. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  77. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  78. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
  79. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
  80. package/dist/esm/companion-api/controllers/companion.controller.d.ts +63 -7
  81. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  82. package/dist/esm/companion-api/controllers/companion.controller.js +315 -39
  83. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  84. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  85. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  86. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  87. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
  88. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  89. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
  90. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  91. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
  92. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  93. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
  94. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  95. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
  96. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  97. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
  98. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  99. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
  100. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  101. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
  102. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  103. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
  104. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  105. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
  106. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  107. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
  108. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  109. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
  110. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  111. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  112. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  113. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  114. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  115. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
  116. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  117. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
  118. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  119. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  120. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  121. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  122. package/dist/esm/core/config/primary-language.companion.utils.d.ts +5 -4
  123. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  124. package/dist/esm/core/config/primary-language.companion.utils.js +5 -4
  125. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  126. package/dist/esm/core/context/application-module-generations.companion.d.ts +103 -0
  127. package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -0
  128. package/dist/esm/core/context/application-module-generations.companion.js +313 -0
  129. package/dist/esm/core/context/application-module-generations.companion.js.map +1 -0
  130. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  131. package/dist/esm/core/context/companion-context.js.map +1 -1
  132. package/dist/esm/core/context/companion-package-loaders.companion.d.ts +19 -19
  133. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  134. package/dist/esm/core/context/companion-package-loaders.companion.js +52 -40
  135. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  136. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  137. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  138. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  139. package/dist/esm/core/inject/models/container.js +4 -0
  140. package/dist/esm/core/inject/models/container.js.map +1 -1
  141. package/dist/esm/core/inject/models/service-types.d.ts +4 -0
  142. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  143. package/dist/esm/core/inject/models/service-types.js +4 -0
  144. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  145. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  146. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  147. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  148. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  149. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
  150. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
  151. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +15 -1
  152. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  153. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +38 -3
  154. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  155. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +21 -0
  156. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  157. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +64 -25
  158. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  159. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  160. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +2 -0
  161. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  162. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +0 -28
  163. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  164. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +192 -19
  165. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  166. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  167. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +27 -5
  168. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  169. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  170. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  171. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  172. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  173. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +47 -0
  174. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -0
  175. package/dist/esm/core/introspection/resources/launch-blockers.companion.js +98 -0
  176. package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -0
  177. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  178. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  179. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +6 -1
  180. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  181. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +20 -1
  182. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  183. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +34 -8
  184. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  185. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +61 -12
  186. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  187. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts +44 -0
  188. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -0
  189. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js +104 -0
  190. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -0
  191. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +41 -22
  192. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  193. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +64 -47
  194. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  195. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  196. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  197. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  198. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  199. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  200. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  201. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  202. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  203. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  204. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  205. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  206. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  207. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  208. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  209. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  210. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  211. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  212. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  213. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  214. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  215. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  216. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  217. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  218. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  219. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  220. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  221. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  222. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  223. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  224. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  225. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts +7 -1
  226. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  227. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +13 -4
  228. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  229. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  230. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  231. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  232. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  233. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  234. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  235. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  236. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  237. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  238. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  239. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  240. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  241. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  242. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +7 -0
  243. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  244. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  245. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  246. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  247. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  248. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  249. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  250. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  251. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  252. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  253. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  254. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
  255. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  256. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  257. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  258. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  259. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
  260. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
  261. package/dist/esm/core/runtime/companion-env-file.d.ts +39 -9
  262. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  263. package/dist/esm/core/runtime/companion-env-file.js +75 -16
  264. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  265. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  266. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  267. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  268. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  269. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
  270. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
  271. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  272. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  273. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  274. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  275. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +7 -3
  276. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  277. package/dist/esm/core/runtime/services/start-companion-application.service.js +29 -11
  278. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  279. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  280. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  281. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  282. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  283. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  284. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  285. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  286. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  287. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  288. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  289. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  290. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  291. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  292. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  293. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  294. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  295. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  296. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  297. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  298. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  299. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  300. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  301. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  302. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  303. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  304. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  305. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  306. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  307. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  308. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  309. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  310. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  311. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  312. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  313. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  314. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  315. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  316. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  317. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  318. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  319. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  320. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  321. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  322. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  323. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  324. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  325. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  326. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  327. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  328. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  329. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  330. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  331. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  332. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  333. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  334. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
  335. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  336. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
  337. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  338. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  339. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  340. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  341. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  342. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  343. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  344. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  345. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  346. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  347. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  348. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  349. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  350. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  351. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  352. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  353. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  354. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  355. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  356. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  357. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  358. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  359. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  360. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  361. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  362. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  363. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  364. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  365. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  366. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  367. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  368. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  369. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  370. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  371. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  372. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  373. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  374. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  375. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  376. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  377. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  378. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  379. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  380. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  381. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  382. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  383. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  384. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  385. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  386. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  387. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  388. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  389. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  390. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  391. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  392. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  393. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  394. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  395. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  396. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  397. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  398. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  399. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  400. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  401. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  402. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  403. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  404. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  405. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  406. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  407. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  408. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  409. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  410. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  411. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  412. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  413. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  414. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  415. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  416. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  417. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  418. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  419. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  420. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  421. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  422. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  423. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  424. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  425. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts +17 -0
  426. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -0
  427. package/dist/esm/core/utils/bounded-concurrency.utils.js +37 -0
  428. package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -0
  429. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +10 -1
  430. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  431. package/dist/esm/core/utils/derived-input-signature.companion.utils.js +9 -2
  432. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  433. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  434. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +2 -0
  435. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  436. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  437. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +66 -6
  438. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  439. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts +0 -17
  440. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  441. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +10 -4
  442. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  443. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  444. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  445. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  446. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  447. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  448. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  449. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  450. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  451. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  452. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  453. package/dist/esm/email/services/email-template.companion.service.d.ts +6 -1
  454. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  455. package/dist/esm/email/services/email-template.companion.service.js +4 -1
  456. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  457. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  458. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  459. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
  460. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
  461. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  462. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  463. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  464. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  465. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  466. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  467. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  468. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +8 -2
  469. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  470. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  471. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +8 -2
  472. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  473. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  474. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  475. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  476. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +7 -7
  477. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  478. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  479. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  480. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  481. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  482. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  483. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  484. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  485. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  486. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  487. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  488. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  489. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  490. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  491. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  492. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  493. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  494. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  495. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  496. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  497. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  498. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  499. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  500. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  501. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  502. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  503. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  504. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  505. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  506. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
  507. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
  508. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  509. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  510. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  511. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  512. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  513. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  514. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  515. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  516. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  517. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  518. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  519. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  520. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  521. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  522. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  523. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  524. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  525. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  526. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  527. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  528. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  529. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  530. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  531. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  532. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  533. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  534. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  535. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  536. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  537. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  538. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  539. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  540. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  541. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  542. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  543. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  544. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  545. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  546. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  547. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  548. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  549. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  550. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  551. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  552. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  553. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  554. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  555. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  556. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  557. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  558. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  559. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  560. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  561. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  562. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  563. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  564. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  565. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  566. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  567. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  568. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  569. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  570. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  571. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  572. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  573. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  574. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  575. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  576. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  577. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  578. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  579. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  580. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  581. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  582. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  583. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  584. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  585. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  586. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  587. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  588. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  589. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  590. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  591. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  592. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  593. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  594. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  595. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  596. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  597. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  598. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  599. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  600. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  601. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  602. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  604. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  606. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  609. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  611. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  613. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  617. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  619. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  640. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  642. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  647. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  648. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  649. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  650. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  651. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  652. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
  653. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
  654. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  655. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  656. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  657. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  658. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  659. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  660. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  661. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  662. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  663. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  664. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  665. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  666. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  667. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  668. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  669. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  670. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  671. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  672. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  673. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  674. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  675. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  676. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  677. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  678. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  679. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  680. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  681. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  682. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  683. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  684. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  685. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  686. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  687. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  688. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  689. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  690. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  691. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  692. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  693. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  694. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  695. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  696. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  697. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  698. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  699. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  700. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  701. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  702. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  703. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  704. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  705. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  706. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  707. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  708. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  709. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  710. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  711. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  712. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  713. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  714. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  715. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  716. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  717. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  718. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  719. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  720. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  721. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  722. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  723. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  724. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  725. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  726. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  727. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  728. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  729. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  730. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  731. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  732. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  733. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  734. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  735. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  736. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  737. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  738. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  739. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  740. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  741. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  742. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  743. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  744. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  745. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  746. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  747. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  748. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  749. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  750. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  751. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  752. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  753. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  754. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  755. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  756. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  757. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  758. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  759. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  760. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  761. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  762. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  763. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  764. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  765. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  766. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  767. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  768. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  769. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  770. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  771. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  772. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  773. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  774. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  775. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  776. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  777. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  778. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  779. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  780. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  781. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  782. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  783. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  784. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  785. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  786. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  787. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  788. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  789. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  790. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  791. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  792. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  793. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  794. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  795. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  796. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  797. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  798. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  799. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +41 -1
  800. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  801. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  802. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  803. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  804. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  805. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
  806. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
  807. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  808. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  809. package/dist/esm/i18n/index.d.ts.map +1 -1
  810. package/dist/esm/i18n/index.js.map +1 -1
  811. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  812. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  813. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  814. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  815. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  816. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  817. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
  818. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
  819. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  820. package/dist/esm/i18n/resources/workbenchAspects.en.js +7 -0
  821. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  822. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +5 -0
  823. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  824. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +5 -0
  825. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  826. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  827. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  828. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +1 -1
  829. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  830. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +2 -1
  831. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  832. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  833. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  834. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  835. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  836. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  837. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  838. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  839. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  840. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +46 -0
  841. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  842. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +12 -0
  843. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  844. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  845. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  846. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  847. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  848. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  849. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  850. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  851. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  852. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  853. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  854. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  855. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  856. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +266 -0
  857. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  858. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +91 -5
  859. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  860. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  861. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  862. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  863. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  864. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +41 -0
  865. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  866. package/dist/esm/i18n/system_enums/application-creation.en.js +45 -1
  867. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  868. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  869. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  870. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  871. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  872. package/dist/esm/i18n/system_enums/localization.en.d.ts +82 -0
  873. package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -0
  874. package/dist/esm/i18n/system_enums/localization.en.js +82 -0
  875. package/dist/esm/i18n/system_enums/localization.en.js.map +1 -0
  876. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  877. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  878. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  879. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  880. package/dist/esm/i18n/system_enums/risk-register.en.d.ts +1 -0
  881. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  882. package/dist/esm/i18n/system_enums/risk-register.en.js +1 -0
  883. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  884. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  885. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  886. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  887. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  888. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +10 -0
  889. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  890. package/dist/esm/i18n/system_enums/workbench-dossier.en.js +13 -0
  891. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  892. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  893. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  894. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
  895. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
  896. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  897. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  898. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
  899. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
  900. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts +43 -0
  901. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -0
  902. package/dist/esm/i18n-labelling/models/labelling-progress.models.js +34 -0
  903. package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -0
  904. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  905. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  906. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  907. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  908. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  909. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  910. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  911. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  912. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  913. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  914. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  915. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  916. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +8 -0
  917. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  918. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +97 -56
  919. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  920. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +18 -0
  921. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  922. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +269 -153
  923. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  924. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  925. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  926. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  927. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  928. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
  929. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
  930. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  931. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  932. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  933. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  934. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
  935. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
  936. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  937. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  938. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  939. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  940. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts +41 -0
  941. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -0
  942. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js +47 -0
  943. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -0
  944. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  945. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  946. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts +12 -0
  947. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  948. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -2
  949. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  950. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
  951. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
  952. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
  953. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
  954. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  955. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  956. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  957. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  958. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts +89 -0
  959. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -0
  960. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js +229 -0
  961. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -0
  962. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  963. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  964. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
  965. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
  966. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  967. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  968. package/dist/esm/index.d.ts.map +1 -1
  969. package/dist/esm/index.js.map +1 -1
  970. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  971. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  972. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  973. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  974. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  975. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  976. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
  977. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
  978. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  979. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  980. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  981. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  982. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +67 -1
  983. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  984. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +64 -0
  985. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  986. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  987. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  988. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  989. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  990. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts +308 -0
  991. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -0
  992. package/dist/esm/meta-workflows/models/creation-intervention.models.js +365 -0
  993. package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -0
  994. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts +61 -0
  995. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -0
  996. package/dist/esm/meta-workflows/models/generation-step-progress.models.js +58 -0
  997. package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -0
  998. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
  999. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
  1000. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +10 -6
  1001. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  1002. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +11 -6
  1003. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  1004. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  1005. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  1006. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +3 -0
  1007. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  1008. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +8 -1
  1009. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  1010. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +26 -0
  1011. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  1012. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +66 -10
  1013. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  1014. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  1015. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  1016. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +13 -0
  1017. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -0
  1018. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +33 -0
  1019. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -0
  1020. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts +145 -0
  1021. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -0
  1022. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js +179 -0
  1023. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -0
  1024. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +376 -17
  1025. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  1026. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +805 -39
  1027. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  1028. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
  1029. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
  1030. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +93 -7
  1031. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  1032. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +142 -25
  1033. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  1034. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +120 -3
  1035. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1036. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +325 -16
  1037. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1038. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  1039. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +15 -6
  1040. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  1041. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  1042. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +10 -11
  1043. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  1044. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  1045. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  1046. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  1047. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +10 -11
  1048. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  1049. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts +82 -0
  1050. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -0
  1051. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +291 -0
  1052. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -0
  1053. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +60 -0
  1054. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -0
  1055. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +66 -0
  1056. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -0
  1057. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts +53 -0
  1058. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -0
  1059. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +164 -0
  1060. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -0
  1061. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts +37 -0
  1062. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -0
  1063. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js +52 -0
  1064. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -0
  1065. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +74 -14
  1066. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  1067. package/dist/esm/meta-workflows/services/dossier.companion.service.js +180 -28
  1068. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  1069. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  1070. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  1071. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1072. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1073. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  1074. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  1075. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +2 -3
  1076. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1077. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +2 -8
  1078. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1079. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
  1080. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
  1081. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
  1082. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
  1083. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts +67 -0
  1084. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -0
  1085. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js +64 -0
  1086. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -0
  1087. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  1088. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  1089. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  1090. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  1091. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  1092. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +11 -3
  1093. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  1094. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +92 -4
  1095. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1096. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +328 -7
  1097. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1098. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +105 -6
  1099. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1100. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +309 -39
  1101. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1102. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +62 -1
  1103. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  1104. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +152 -2
  1105. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  1106. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  1107. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  1108. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  1109. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  1110. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1111. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1112. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1113. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1114. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  1115. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  1116. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  1117. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  1118. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1119. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1120. package/package.json +22 -18
  1121. package/dist/esm/.tsbuildinfo +0 -1
  1122. package/dist/esm/__tests__/asset-noop.d.ts +0 -3
  1123. package/dist/esm/__tests__/asset-noop.d.ts.map +0 -1
  1124. package/dist/esm/__tests__/asset-noop.js +0 -2
  1125. package/dist/esm/__tests__/asset-noop.js.map +0 -1
  1126. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts +0 -2
  1127. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +0 -1
  1128. package/dist/esm/__tests__/chdir-dogfood-app.setup.js +0 -44
  1129. package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +0 -1
  1130. package/dist/esm/__tests__/internal-test-view.d.ts +0 -39
  1131. package/dist/esm/__tests__/internal-test-view.d.ts.map +0 -1
  1132. package/dist/esm/__tests__/internal-test-view.js +0 -2
  1133. package/dist/esm/__tests__/internal-test-view.js.map +0 -1
  1134. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +0 -50
  1135. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +0 -1
  1136. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +0 -157
  1137. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +0 -1
  1138. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts +0 -8
  1139. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +0 -1
  1140. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +0 -43
  1141. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +0 -1
  1142. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +0 -79
  1143. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +0 -1
  1144. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +0 -193
  1145. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"research-agent-dispatch.companion.service.js","sourceRoot":"","sources":["../../../../src/claude-cli/services/research-agent-dispatch.companion.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;;;;;;;;;;;;;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EACS,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,EAIL,sBAAsB,GAGvB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,2BAA2B,EAAE,SAAS,EAAqC,MAAM,uBAAuB,CAAC;AAElH,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAC9F,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,8BAA8B,EAAE,MAAM,kFAAkF,CAAC;AAClI,OAAO,EAAE,0BAA0B,EAAyC,MAAM,uDAAuD,CAAC;AAC1I,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AACtG,OAAO,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AACxG,OAAO,EACL,+BAA+B,EAC/B,+BAA+B,EAC/B,gCAAgC,EAChC,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAmD7C,iIAAiI;AACjI,MAAM,OAAO,6BAA8B,SAAQ,KAAK;CAAG;AAE3D;;;;;;;;;;GAUG;AACH,MAAM,CAAN,IAAY,kBAOX;AAPD,WAAY,kBAAkB;IAC5B,wGAAwG;IACxG,gEAA0C,CAAA;IAC1C,mGA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,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAChD,WAAA,MAAM,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,CAAA;qCAJQ,aAAa;QACM,0BAA0B,oBAGd,4BAA4B;GA1B9G,qCAAqC,CAqQjD","sourcesContent":["/**\n * Research dispatch — the evidence half of the ACP lane. Read-only toward the workspace, except\n * for its own evidence store.\n *\n * ## Why this is a SECOND WRAPPER and not a mode on the coding one\n *\n * The generic session runner (`runACPCodingSession`, engine) is already task-agnostic: command, cwd,\n * prompt, permission ceiling, a location predicate, an event sink. Everything that makes the coding\n * dispatch a CODING dispatch — the typed task contract, the git change-set capture, the mutation\n * scope, the single-flight lock — sits in that wrapper, and none of it applies to a run that mutates\n * nothing and returns text. So research is a sibling over the same runner rather than a branch\n * inside a service whose every other line is about attributing writes.\n *\n * ## The confinement, and it is TWO independent things\n *\n * 1. The `claude-code-acp-research` profile's `AUTO_ACCEPT_READS_AND_EDITS` ceiling admits the\n * protocol's non-mutating tool kinds (`read`, `search`, `fetch`, `think`) plus `edit`, and\n * nothing else: never `execute`, never the unclassified `other`. The ceilings are kind-SETS,\n * not nested ranks, so read the name carefully: `AUTO_ACCEPT_EDITS` admits ONLY the mutating\n * kinds and is precisely the inverse of what research needs. (The profile was `AUTO_ACCEPT_READS` until three lost\n * compliance runs showed evidence living only in run memory cannot be leveraged or recovered;\n * the edit admission exists solely so findings persist as they are gathered, and the first\n * attempt at it named `AUTO_ACCEPT_EDITS` and cost two rounds of a live run with every web\n * fetch refused.)\n * 2. This dispatch supplies a location predicate that admits ONLY the evidence store\n * (`specifications/research-evidence/`) and refuses every other path — built by the same\n * `buildApplicationCodingTaskLocationPredicate` the coding lane trusts. The runner applies it to\n * any permission request declaring locations, whatever its kind, and separately gates the\n * client-side read and write RPCs. So a web read (which declares no location) passes, an evidence-store\n * write passes, and any other filesystem read or write does not.\n *\n * Neither alone is the guarantee. The ceiling stops the kinds; the predicate stops the paths.\n *\n * ## Measured before it was built (2026-08-29)\n *\n * Under `PROMPT_ALWAYS` with every location refused, a live probe asking a public-web pricing\n * question had both `WebFetch` and `WebSearch` arrive as `toolKind: 'fetch'` and be refused; the\n * agent ended its turn declining to guess from memory. Re-run under `AUTO_ACCEPT_READS`, the same\n * probe fetched the page and returned the figure with its source URL, `reportedFileLocations: []`.\n */\n\nimport path from 'node:path';\nimport { CodingSessionFrameRetention } from '../models/coding-session-frame-retention';\nimport { inject, injectable } from 'inversify';\nimport {\n ErrorBuilderBackendService,\n LoggerService,\n SAAS_SERVICE_TYPES,\n type AgentsBackendService, describeCaughtError } from '@wildo-ai/saas-backend-lib';\nimport {\n CodingAgent_OperationContext_BaseSchema,\n CodingAgent_RunTaskInputSchema,\n CodingAgent_RunTaskOutputSchema,\n CodingAgent_StopReason,\n type CodingAgent_RunTaskOutput,\n type CodingAgent_Usage,\n} from '@wildo-ai/external-connectors-models';\nimport { ErrorCustomMessageReference, ErrorType, type FlowsActors_Agent_Invocation } from '@wildo-ai/saas-models';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { InFlightWorkHeartbeat } from '../../core/runtime/in-flight-work-heartbeat.companion';\nimport { join } from 'node:path';\nimport { APPLICATION_RESEARCH_AGENT_REF } from '../../meta-workflows/models/application-research-agent.actors-system.definitions';\nimport { CompanionTraceabilityLevel, type CompanionExecutionSessionContext } from '../../core/traceability/companion-traceability.models';\nimport { CompanionTraceabilityService } from '../../core/traceability/companion-traceability.service';\nimport { buildApplicationCodingTaskLocationPredicate } from './coding-agent-dispatch.companion.service';\nimport {\n RESEARCH_EVIDENCE_RELATIVE_ROOT,\n composeEvidenceStoreInstruction,\n resolveResearchEvidenceDirectory,\n writeFinalEvidenceRecord,\n} from './research-evidence-store.companion';\n\n/** One research objective, composed by whatever is asking — a playbook, a choreography, an operator. */\nexport interface ResearchTaskRequest {\n /**\n * What to find out, in the requester's own words.\n *\n * Deliberately free text rather than a structured query: the objective is INVENTED per run and\n * adapted to what an earlier round found, which is the whole reason a research step is an agent\n * and not a search API. Code gates the KIND of work and its bounds; it never gates the content.\n */\n readonly objective: string;\n /**\n * Which investigation this task belongs to — normally the composite playbook ref. Names the\n * evidence-store directory every round of that investigation consolidates into. Absent for an\n * operator's ad-hoc question, which lands under `adhoc`.\n */\n readonly evidenceScope?: string;\n /**\n * A scope this task READS but never writes (#1609): the default instance's store when an instance\n * researches, so application-wide facts are pooled while the instance's own findings stay its own.\n */\n readonly sharedEvidenceScope?: string;\n /** The playbook that asked, recorded in the persisted evidence frontmatter. */\n readonly playbookRef?: string;\n}\n\nexport interface ResearchTaskResult {\n /** The agent's final message — the evidence, in prose, with the sources it says it read. */\n readonly evidence: string;\n readonly stopReason: CodingAgent_StopReason;\n readonly usage?: CodingAgent_Usage;\n /**\n * Permission requests and client callback policy refusals, with their reasons.\n *\n * Carried because a research answer that looks thin has two very different causes — the agent\n * found little, or the ceiling refused the tool it needed — and they are indistinguishable from\n * the prose alone.\n */\n readonly deniedPermissionCount?: number;\n readonly permissionDecisions?: CodingAgent_RunTaskOutput['permissionDecisions'];\n /**\n * Paths reported by the adapter, copied without an independent filesystem audit or per-entry\n * validation. They describe its account of activity, not proof of authorship or evidence-store confinement.\n */\n readonly reportedFileLocations: readonly string[];\n readonly elapsedMs: number;\n /** Path returned by a successful backstop write; empty when best-effort persistence failed. */\n readonly persistedEvidencePath: string;\n}\n\n/** The research agent is not registered, or the profile it names is absent. Named so a transport answers 409 rather than 500. */\nexport class ResearchAgentUnavailableError extends Error {}\n\n/**\n * What one research task RECORDS, so it can be read after it ran (#1328).\n *\n * The lane recorded nothing until then — no row, no trace, no frames — only a debug log line and the\n * evidence file. \"What was fetched, what answered, what was refused\" could not be answered for any\n * research run that had ever happened, and three lost compliance runs (2026-09-04) were reconstructed\n * from the evidence store alone. Each task now writes ONE trace session of its own, which the\n * creation board lists on its timeline and draws as a conversation like any other trace.\n *\n * A closed vocabulary, because the board TONES an event by its type.\n */\nexport enum ResearchTraceEvent {\n /** The objective was handed to the research agent. The prompt is the step's `research-objective.md`. */\n TASK_REQUESTED = 'research.task-requested',\n /** The agent answered: stop reason, evidence size, how many fetches, every permission decision. */\n TASK_ANSWERED = 'research.task-answered',\n /** The turn was cancelled or threw. Whatever reached the evidence store stands on its own. */\n TASK_FAILED = 'research.task-failed',\n}\n\n/**\n * Where this process says \"a research agent is running\", app-root-relative. Beaten while any research\n * task is in flight and removed when none is.\n *\n * A research agent is an ACP subprocess of the companion like a coding agent, so a supervisor restart\n * kills it the same way — and it holds no workspace-mutation lock (deliberately; see\n * `runResearchTask`) and is not in the coding lane's active-run set. Inside a playbook run the\n * playbook-run heartbeat covered it; an operator's `POST /api/companion/research` or the creation\n * conversation's research tool had nothing, found while closing the same gap for concurrent coding\n * runs (2026-09-27). Its own file rather than the coding lane's, because two owners of one file would\n * let one remove it while the other still runs.\n *\n * A COPY of `RESEARCH_RUN_HEARTBEAT_RELATIVE_PATH` in\n * `scripts/dev-orchestrator/runtime-supervisor-lifecycle.mjs`, pinned equal by\n * `scripts/__tests__/runtime-supervisor-workspace-mutation-hold.test.mjs`.\n */\nconst RESEARCH_RUN_HEARTBEAT_RELATIVE_PATH = '.wildo-saas/state/research-run.heartbeat';\n\n/** How often that file's mtime is refreshed; the supervisor judges it stale at three times this (`AGENT_RUN_HEARTBEAT_STALE_MS`). */\nconst RESEARCH_RUN_HEARTBEAT_INTERVAL_MS = 5_000;\n\n@injectable()\nexport class ResearchAgentDispatchCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n /** Research tasks in flight in this process; several run at once in a breadth-first fan-out. */\n private researchTasksInFlight = 0;\n\n /** The {@link RESEARCH_RUN_HEARTBEAT_RELATIVE_PATH} beat; built on first use (`Object.create` harnesses skip initializers). */\n private researchRunHeartbeat: InFlightWorkHeartbeat | undefined;\n\n private syncResearchRunHeartbeat(): void {\n // No application root, nowhere to beat — a harness, never a running companion.\n const saasRoot = this.companionContext?.saasRoot;\n if (typeof saasRoot !== 'string') return;\n this.researchRunHeartbeat ??= new InFlightWorkHeartbeat(\n join(saasRoot, RESEARCH_RUN_HEARTBEAT_RELATIVE_PATH),\n RESEARCH_RUN_HEARTBEAT_INTERVAL_MS,\n (message, error) => this.logDebug?.(message, { error: String(error) }),\n );\n this.researchRunHeartbeat.sync((this.researchTasksInFlight ?? 0) > 0);\n }\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService) private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService) private readonly agentsService: AgentsBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.TraceabilityService) private readonly traceabilityService: CompanionTraceabilityService,\n ) {\n this.logDebug = this.logger.debugByType('ResearchAgentDispatchCompanionService');\n this.logger.setDebugTypeLogging('ResearchAgentDispatchCompanionService', true);\n }\n\n /**\n * Run one research objective and return what the agent found.\n *\n * No lock, no change set, no reconciliation — a run that cannot mutate has nothing to attribute and\n * nothing to recover. Several research lanes may therefore run concurrently, which is what makes a\n * breadth-first fan-out possible at all.\n *\n * ## \"Cannot mutate\" is one island short, and the coding lane is where that was paid for\n *\n * This run CAN write, to exactly one place: its evidence store\n * (`specifications/research-evidence/`, admitted by the location predicate below). That store is\n * inside the application repository and is COMMITTABLE, so it is fully visible to the coding lane's\n * whole-worktree change-set capture — and a research turn overlapping a coding run therefore\n * appeared in that run's change set, at a path no coding task declares, i.e. as a false\n * `MUTATION_SCOPE_VIOLATION` that failed the coding run closed. Two live paths reach that overlap:\n * an operator's `POST /api/companion/research`, and a composite's `RESEARCH_AGENT` children, which\n * the choreography dispatches concurrently.\n *\n * The fix is on the coding side, where the misattribution happens —\n * `CONCURRENT_HOST_LANE_ROOTS` in `git-change-set.companion.service.ts` names this store as\n * lane-owned, so its writes are RECORDED in the change set and excluded from the scope decision.\n * Taking the workspace-mutation lock here was rejected and measured: that lock is acquired with\n * `retries: { retries: 0 }`, so it refuses rather than queues, and it would refuse two of every\n * three lanes of the fan-out this JSDoc exists to protect.\n *\n * So if this lane ever grows a SECOND writable island, the coding lane's list has to grow with it\n * in the same change. Nothing mechanical joins them — the predicate is one exported function\n * precisely so the join is a single named place rather than a convention.\n */\n public async runResearchTask(request: ResearchTaskRequest): Promise<ResearchTaskResult> {\n this.researchTasksInFlight = (this.researchTasksInFlight ?? 0) + 1;\n this.syncResearchRunHeartbeat();\n try {\n return await this.runResearchTaskCounted(request);\n } finally {\n this.researchTasksInFlight = Math.max(0, (this.researchTasksInFlight ?? 1) - 1);\n this.syncResearchRunHeartbeat();\n }\n }\n\n private async runResearchTaskCounted(request: ResearchTaskRequest): Promise<ResearchTaskResult> {\n const objective = request.objective.trim();\n if (objective.length === 0) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'A research task needs an objective; an empty one would spend a turn to learn nothing.' },\n });\n }\n if (this.agentsService.getAgent(APPLICATION_RESEARCH_AGENT_REF) === undefined) {\n throw new ResearchAgentUnavailableError(\n `The research agent \"${APPLICATION_RESEARCH_AGENT_REF}\" is not registered. It is registered at companion startup; `\n + 'a companion started before it existed needs a restart.',\n );\n }\n\n const evidenceDirectory = resolveResearchEvidenceDirectory(this.companionContext.saasRoot, request.evidenceScope ?? 'adhoc');\n const sharedEvidenceDirectory = request.sharedEvidenceScope !== undefined && request.sharedEvidenceScope !== request.evidenceScope\n ? resolveResearchEvidenceDirectory(this.companionContext.saasRoot, request.sharedEvidenceScope)\n : undefined;\n const promptWithStore = [objective, '', composeEvidenceStoreInstruction(evidenceDirectory, sharedEvidenceDirectory)].join('\\n');\n\n const invocation: FlowsActors_Agent_Invocation<\n typeof CodingAgent_RunTaskInputSchema,\n typeof CodingAgent_RunTaskOutputSchema,\n typeof CodingAgent_OperationContext_BaseSchema\n > = {\n agentRef: APPLICATION_RESEARCH_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt: promptWithStore },\n output: { finalMessage: '', stopReason: CodingAgent_StopReason.END_TURN },\n executionContext: { callTimestamp: new Date().toISOString() },\n artifactBindings: [],\n };\n\n const startedAtMs = Date.now();\n const startedAtIso = new Date(startedAtMs).toISOString();\n this.logDebug('Research task starting', { objectiveLength: objective.length, evidenceScope: request.evidenceScope });\n\n /*\n * The RECORD of this task (see `ResearchTraceEvent`). Best-effort from end to end: a trace is\n * evidence beside the research, and a sink that fails must never be why a research turn did.\n */\n let traceSession: CompanionExecutionSessionContext | undefined;\n let traceStep: ReturnType<CompanionTraceabilityService['createStep']> | undefined;\n const trace = async (write: () => Promise<void>): Promise<void> => {\n try { await write(); } catch (traceError) {\n this.logDebug('Research trace write failed; the research itself is unaffected', { failure: describeCaughtError(traceError) });\n }\n };\n const traceEvent = (type: ResearchTraceEvent, summary: string, payload: Record<string, unknown>): Promise<void> => trace(async () => {\n if (!traceSession) return;\n await this.traceabilityService.traceEvent({ session: traceSession, minimumLevel: CompanionTraceabilityLevel.DEBUG, type, summary, payload, ...(traceStep ? { step: traceStep } : {}) });\n });\n const traceArtifact = (fileName: string, content: unknown): Promise<void> => trace(async () => {\n if (!traceSession) return;\n await this.traceabilityService.writeArtifact({ session: traceSession, minimumLevel: CompanionTraceabilityLevel.DEBUG_VERBOSE, fileName, content, ...(traceStep ? { step: traceStep } : {}) });\n });\n await trace(async () => {\n traceSession = this.traceabilityService.createInternalSession({\n label: 'application-research-task',\n metadata: { ...(request.playbookRef ? { playbookRef: request.playbookRef } : {}), evidenceScope: request.evidenceScope ?? 'adhoc' },\n });\n if (traceSession) traceStep = this.traceabilityService.createStep(traceSession, { kind: 'research-agent-dispatch', label: 'application-research-task' });\n });\n /*\n * What the agent FETCHED and read, bounded the coding lane's way (one entry per call, head and\n * tail of a long run). Passages stay out: here the agent's messages ARE the evidence, stored as such.\n */\n const frameRetention = new CodingSessionFrameRetention({ retainPassages: false });\n let sessionEventCount = 0;\n await traceEvent(\n ResearchTraceEvent.TASK_REQUESTED,\n request.playbookRef ? `Research for ${request.playbookRef}` : 'Research task',\n { ...(request.playbookRef ? { playbookRef: request.playbookRef } : {}), evidenceScope: request.evidenceScope ?? 'adhoc', objectiveLength: objective.length },\n );\n await traceArtifact('research-objective.md', promptWithStore);\n\n const isPermittedEvidenceLocation = buildApplicationCodingTaskLocationPredicate(\n this.companionContext.saasRoot,\n [RESEARCH_EVIDENCE_RELATIVE_ROOT],\n [],\n );\n /*\n * Writes go to THIS task's scope only (#1609): an instance's findings are its own, and the store it reads\n * from the application as a whole is never written by an instance. Reading stays open across the store.\n */\n const isPermittedOwnScopeLocation = buildApplicationCodingTaskLocationPredicate(\n this.companionContext.saasRoot,\n [path.relative(this.companionContext.saasRoot, evidenceDirectory)],\n [],\n );\n const response = await this.agentsService.invokeAgent(invocation, undefined, {\n workspaceRootPath: this.companionContext.saasRoot,\n /* What the agent FETCHED, retained for the record; bounded, and never able to fail the turn. */\n onCodingSessionEvent: (event) => {\n sessionEventCount += 1;\n frameRetention.accept(event);\n },\n /*\n * ONE writable island: this task's OWN scope directory of the evidence store, and reads across the\n * whole store (`specifications/research-evidence/`). Both predicates are the SAME builder the coding\n * lane trusts (symlink-aware, boundary-matched), so the agent can consolidate findings to disk as it\n * researches (evidence that survives an interrupted turn) and read prior rounds' files and the\n * application-wide store an instance shares (#1609), while the rest of the workspace stays refused. A web fetch declares no location and is unaffected. This replaced\n * the original refuse-every-path predicate on 2026-09-04, when three lost compliance runs\n * showed that evidence living only in run memory cannot be leveraged or recovered.\n */\n isPermittedCodingLocation: isPermittedOwnScopeLocation,\n isPermittedCodingReadLocation: isPermittedEvidenceLocation,\n });\n\n const output = response.output as Partial<CodingAgent_RunTaskOutput> | undefined;\n const evidence = typeof output?.finalMessage === 'string' ? output.finalMessage : '';\n const stopReason = output?.stopReason ?? CodingAgent_StopReason.UNRECOGNISED;\n const elapsedMs = Date.now() - startedAtMs;\n\n /*\n * A CANCELLED turn is not a completed one and its partial prose is not evidence — the same\n * refusal the coding lane makes, for the same reason: a truncated answer reads exactly like a\n * short one. Checked BEFORE the backstop write, so a cancelled turn's partial FINAL MESSAGE is\n * never persisted as a completed record — whatever the agent already consolidated to the store\n * during the turn stands on its own, file by file, and is exactly what incremental persistence\n * is for.\n */\n if (stopReason === CodingAgent_StopReason.CANCELLED) {\n await traceEvent(ResearchTraceEvent.TASK_FAILED, 'Research task was cancelled', { stopReason, elapsedMs, sessionEventCount });\n if (frameRetention.frames().length > 0) await traceArtifact('research-frames.json', frameRetention.frames());\n throw new Error(`Research task was cancelled after ${elapsedMs}ms; its partial answer is not evidence.`);\n }\n\n // The companion-side backstop: the completed brief lands on disk with its provenance even when\n // the agent consolidated nothing itself. Best-effort by construction — a store write failing\n // must not turn a completed research turn into a failed one.\n let persistedEvidencePath = '';\n try {\n persistedEvidencePath = writeFinalEvidenceRecord({\n evidenceDirectoryAbsolutePath: evidenceDirectory,\n objective,\n evidence,\n stopReason,\n startedAtIso,\n elapsedMs,\n ...(request.playbookRef ? { playbookRef: request.playbookRef } : {}),\n });\n } catch (persistError) {\n this.logger.warn('Research evidence backstop write failed; the returned brief is the only copy', {\n evidenceDirectory,\n failure: describeCaughtError(persistError),\n });\n }\n\n const result: ResearchTaskResult = {\n evidence,\n stopReason,\n ...(((response.executionContext as { usage?: CodingAgent_Usage } | undefined)?.usage)\n ? { usage: (response.executionContext as { usage?: CodingAgent_Usage }).usage }\n : {}),\n ...(output?.deniedPermissionCount !== undefined ? { deniedPermissionCount: output.deniedPermissionCount } : {}),\n ...(output?.permissionDecisions !== undefined ? { permissionDecisions: output.permissionDecisions } : {}),\n reportedFileLocations: output?.reportedFileLocations ?? [],\n elapsedMs,\n persistedEvidencePath,\n };\n await traceEvent(ResearchTraceEvent.TASK_ANSWERED, `Research answered (${stopReason})`, {\n stopReason,\n elapsedMs,\n evidenceLength: evidence.length,\n sessionEventCount,\n /* A fetch is a tool call; updates to one call carry its id, so distinct ids are distinct fetches. */\n // Counted over every frame: read off the retained ones it stopped at the bound.\n fetchCount: frameRetention.toolCallCount,\n ...(output?.deniedPermissionCount !== undefined ? { deniedPermissionCount: output.deniedPermissionCount } : {}),\n ...(output?.permissionDecisions !== undefined ? { permissionDecisions: output.permissionDecisions } : {}),\n ...(persistedEvidencePath ? { persistedEvidencePath } : {}),\n });\n await traceArtifact('research-evidence.md', evidence);\n if (frameRetention.frames().length > 0) await traceArtifact('research-frames.json', frameRetention.frames());\n\n this.logDebug('Research task finished', {\n stopReason,\n elapsedMs,\n evidenceLength: evidence.length,\n deniedPermissionCount: result.deniedPermissionCount,\n reportedFileLocations: result.reportedFileLocations.length,\n persistedEvidencePath,\n });\n return result;\n }\n}\n"]}
1
+ {"version":3,"file":"research-agent-dispatch.companion.service.js","sourceRoot":"","sources":["../../../../../src/claude-cli/services/research-agent-dispatch.companion.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;;;;;;;;;;;;;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EACL,0BAA0B,EAC1B,aAAa,EACb,kBAAkB,EACS,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,EAIL,sBAAsB,GAGvB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,2BAA2B,EAAE,SAAS,EAAqC,MAAM,uBAAuB,CAAC;AAElH,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AAEjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AAC9F,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,8BAA8B,EAAE,MA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UAAU;YACV,SAAS;YACT,cAAc,EAAE,QAAQ,CAAC,MAAM;YAC/B,qBAAqB,EAAE,MAAM,CAAC,qBAAqB;YACnD,qBAAqB,EAAE,MAAM,CAAC,qBAAqB,CAAC,MAAM;YAC1D,qBAAqB;SACtB,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC;CACF,CAAA;AArQY,qCAAqC;IADjD,UAAU,EAAE;IAuBR,WAAA,MAAM,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAA;IACjC,WAAA,MAAM,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAA;IAC9C,WAAA,MAAM,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,CAAA;IAC/C,WAAA,MAAM,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CAAA;IAChD,WAAA,MAAM,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,CAAA;qCAJQ,aAAa;QACM,0BAA0B,oBAGd,4BAA4B;GA1B9G,qCAAqC,CAqQjD","sourcesContent":["/**\n * Research dispatch — the evidence half of the ACP lane. Read-only toward the workspace, except\n * for its own evidence store.\n *\n * ## Why this is a SECOND WRAPPER and not a mode on the coding one\n *\n * The generic session runner (`runACPCodingSession`, engine) is already task-agnostic: command, cwd,\n * prompt, permission ceiling, a location predicate, an event sink. Everything that makes the coding\n * dispatch a CODING dispatch — the typed task contract, the git change-set capture, the mutation\n * scope, the single-flight lock — sits in that wrapper, and none of it applies to a run that mutates\n * nothing and returns text. So research is a sibling over the same runner rather than a branch\n * inside a service whose every other line is about attributing writes.\n *\n * ## The confinement, and it is TWO independent things\n *\n * 1. The `claude-code-acp-research` profile's `AUTO_ACCEPT_READS_AND_EDITS` ceiling admits the\n * protocol's non-mutating tool kinds (`read`, `search`, `fetch`, `think`) plus `edit`, and\n * nothing else: never `execute`, never the unclassified `other`. The ceilings are kind-SETS,\n * not nested ranks, so read the name carefully: `AUTO_ACCEPT_EDITS` admits ONLY the mutating\n * kinds and is precisely the inverse of what research needs. (The profile was `AUTO_ACCEPT_READS` until three lost\n * compliance runs showed evidence living only in run memory cannot be leveraged or recovered;\n * the edit admission exists solely so findings persist as they are gathered, and the first\n * attempt at it named `AUTO_ACCEPT_EDITS` and cost two rounds of a live run with every web\n * fetch refused.)\n * 2. This dispatch supplies a location predicate that admits ONLY the evidence store\n * (`specifications/research-evidence/`) and refuses every other path — built by the same\n * `buildApplicationCodingTaskLocationPredicate` the coding lane trusts. The runner applies it to\n * any permission request declaring locations, whatever its kind, and separately gates the\n * client-side read and write RPCs. So a web read (which declares no location) passes, an evidence-store\n * write passes, and any other filesystem read or write does not.\n *\n * Neither alone is the guarantee. The ceiling stops the kinds; the predicate stops the paths.\n *\n * ## Measured before it was built (2026-08-29)\n *\n * Under `PROMPT_ALWAYS` with every location refused, a live probe asking a public-web pricing\n * question had both `WebFetch` and `WebSearch` arrive as `toolKind: 'fetch'` and be refused; the\n * agent ended its turn declining to guess from memory. Re-run under `AUTO_ACCEPT_READS`, the same\n * probe fetched the page and returned the figure with its source URL, `reportedFileLocations: []`.\n */\n\nimport path from 'node:path';\nimport { CodingSessionFrameRetention } from '../models/coding-session-frame-retention';\nimport { inject, injectable } from 'inversify';\nimport {\n ErrorBuilderBackendService,\n LoggerService,\n SAAS_SERVICE_TYPES,\n type AgentsBackendService, describeCaughtError } from '@wildo-ai/saas-backend-lib';\nimport {\n CodingAgent_OperationContext_BaseSchema,\n CodingAgent_RunTaskInputSchema,\n CodingAgent_RunTaskOutputSchema,\n CodingAgent_StopReason,\n type CodingAgent_RunTaskOutput,\n type CodingAgent_Usage,\n} from '@wildo-ai/external-connectors-models';\nimport { ErrorCustomMessageReference, ErrorType, type FlowsActors_Agent_Invocation } from '@wildo-ai/saas-models';\n\nimport { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types';\nimport type { CompanionContext } from '../../core/context/companion-context';\nimport { InFlightWorkHeartbeat } from '../../core/runtime/in-flight-work-heartbeat.companion';\nimport { join } from 'node:path';\nimport { APPLICATION_RESEARCH_AGENT_REF } from '../../meta-workflows/models/application-research-agent.actors-system.definitions';\nimport { CompanionTraceabilityLevel, type CompanionExecutionSessionContext } from '../../core/traceability/companion-traceability.models';\nimport { CompanionTraceabilityService } from '../../core/traceability/companion-traceability.service';\nimport { buildApplicationCodingTaskLocationPredicate } from './coding-agent-dispatch.companion.service';\nimport {\n RESEARCH_EVIDENCE_RELATIVE_ROOT,\n composeEvidenceStoreInstruction,\n resolveResearchEvidenceDirectory,\n writeFinalEvidenceRecord,\n} from './research-evidence-store.companion';\n\n/** One research objective, composed by whatever is asking — a playbook, a choreography, an operator. */\nexport interface ResearchTaskRequest {\n /**\n * What to find out, in the requester's own words.\n *\n * Deliberately free text rather than a structured query: the objective is INVENTED per run and\n * adapted to what an earlier round found, which is the whole reason a research step is an agent\n * and not a search API. Code gates the KIND of work and its bounds; it never gates the content.\n */\n readonly objective: string;\n /**\n * Which investigation this task belongs to — normally the composite playbook ref. Names the\n * evidence-store directory every round of that investigation consolidates into. Absent for an\n * operator's ad-hoc question, which lands under `adhoc`.\n */\n readonly evidenceScope?: string;\n /**\n * A scope this task READS but never writes (#1609): the default instance's store when an instance\n * researches, so application-wide facts are pooled while the instance's own findings stay its own.\n */\n readonly sharedEvidenceScope?: string;\n /** The playbook that asked, recorded in the persisted evidence frontmatter. */\n readonly playbookRef?: string;\n}\n\nexport interface ResearchTaskResult {\n /** The agent's final message — the evidence, in prose, with the sources it says it read. */\n readonly evidence: string;\n readonly stopReason: CodingAgent_StopReason;\n readonly usage?: CodingAgent_Usage;\n /**\n * Permission requests and client callback policy refusals, with their reasons.\n *\n * Carried because a research answer that looks thin has two very different causes — the agent\n * found little, or the ceiling refused the tool it needed — and they are indistinguishable from\n * the prose alone.\n */\n readonly deniedPermissionCount?: number;\n readonly permissionDecisions?: CodingAgent_RunTaskOutput['permissionDecisions'];\n /**\n * Paths reported by the adapter, copied without an independent filesystem audit or per-entry\n * validation. They describe its account of activity, not proof of authorship or evidence-store confinement.\n */\n readonly reportedFileLocations: readonly string[];\n readonly elapsedMs: number;\n /** Path returned by a successful backstop write; empty when best-effort persistence failed. */\n readonly persistedEvidencePath: string;\n}\n\n/** The research agent is not registered, or the profile it names is absent. Named so a transport answers 409 rather than 500. */\nexport class ResearchAgentUnavailableError extends Error {}\n\n/**\n * What one research task RECORDS, so it can be read after it ran (#1328).\n *\n * The lane recorded nothing until then — no row, no trace, no frames — only a debug log line and the\n * evidence file. \"What was fetched, what answered, what was refused\" could not be answered for any\n * research run that had ever happened, and three lost compliance runs (2026-09-04) were reconstructed\n * from the evidence store alone. Each task now writes ONE trace session of its own, which the\n * creation board lists on its timeline and draws as a conversation like any other trace.\n *\n * A closed vocabulary, because the board TONES an event by its type.\n */\nexport enum ResearchTraceEvent {\n /** The objective was handed to the research agent. The prompt is the step's `research-objective.md`. */\n TASK_REQUESTED = 'research.task-requested',\n /** The agent answered: stop reason, evidence size, how many fetches, every permission decision. */\n TASK_ANSWERED = 'research.task-answered',\n /** The turn was cancelled or threw. Whatever reached the evidence store stands on its own. */\n TASK_FAILED = 'research.task-failed',\n}\n\n/**\n * Where this process says \"a research agent is running\", app-root-relative. Beaten while any research\n * task is in flight and removed when none is.\n *\n * A research agent is an ACP subprocess of the companion like a coding agent, so a supervisor restart\n * kills it the same way — and it holds no workspace-mutation lock (deliberately; see\n * `runResearchTask`) and is not in the coding lane's active-run set. Inside a playbook run the\n * playbook-run heartbeat covered it; an operator's `POST /api/companion/research` or the creation\n * conversation's research tool had nothing, found while closing the same gap for concurrent coding\n * runs (2026-09-27). Its own file rather than the coding lane's, because two owners of one file would\n * let one remove it while the other still runs.\n *\n * A COPY of `RESEARCH_RUN_HEARTBEAT_RELATIVE_PATH` in\n * `scripts/dev-orchestrator/runtime-supervisor-lifecycle.mjs`, pinned equal by\n * `scripts/__tests__/runtime-supervisor-workspace-mutation-hold.test.mjs`.\n */\nconst RESEARCH_RUN_HEARTBEAT_RELATIVE_PATH = '.wildo-saas/state/research-run.heartbeat';\n\n/** How often that file's mtime is refreshed; the supervisor judges it stale at three times this (`AGENT_RUN_HEARTBEAT_STALE_MS`). */\nconst RESEARCH_RUN_HEARTBEAT_INTERVAL_MS = 5_000;\n\n@injectable()\nexport class ResearchAgentDispatchCompanionService {\n private readonly logDebug: (message: string, context?: Record<string, unknown>) => void;\n\n /** Research tasks in flight in this process; several run at once in a breadth-first fan-out. */\n private researchTasksInFlight = 0;\n\n /** The {@link RESEARCH_RUN_HEARTBEAT_RELATIVE_PATH} beat; built on first use (`Object.create` harnesses skip initializers). */\n private researchRunHeartbeat: InFlightWorkHeartbeat | undefined;\n\n private syncResearchRunHeartbeat(): void {\n // No application root, nowhere to beat — a harness, never a running companion.\n const saasRoot = this.companionContext?.saasRoot;\n if (typeof saasRoot !== 'string') return;\n this.researchRunHeartbeat ??= new InFlightWorkHeartbeat(\n join(saasRoot, RESEARCH_RUN_HEARTBEAT_RELATIVE_PATH),\n RESEARCH_RUN_HEARTBEAT_INTERVAL_MS,\n (message, error) => this.logDebug?.(message, { error: String(error) }),\n );\n this.researchRunHeartbeat.sync((this.researchTasksInFlight ?? 0) > 0);\n }\n\n constructor(\n @inject(SAAS_SERVICE_TYPES.Logger) private readonly logger: LoggerService,\n @inject(SAAS_SERVICE_TYPES.ErrorBuilderService) private readonly errorBuilder: ErrorBuilderBackendService,\n @inject(SAAS_SERVICE_TYPES.AgentsBackendService) private readonly agentsService: AgentsBackendService,\n @inject(COMPANION_SERVICE_TYPES.CompanionContext) private readonly companionContext: CompanionContext,\n @inject(COMPANION_SERVICE_TYPES.TraceabilityService) private readonly traceabilityService: CompanionTraceabilityService,\n ) {\n this.logDebug = this.logger.debugByType('ResearchAgentDispatchCompanionService');\n this.logger.setDebugTypeLogging('ResearchAgentDispatchCompanionService', true);\n }\n\n /**\n * Run one research objective and return what the agent found.\n *\n * No lock, no change set, no reconciliation — a run that cannot mutate has nothing to attribute and\n * nothing to recover. Several research lanes may therefore run concurrently, which is what makes a\n * breadth-first fan-out possible at all.\n *\n * ## \"Cannot mutate\" is one island short, and the coding lane is where that was paid for\n *\n * This run CAN write, to exactly one place: its evidence store\n * (`specifications/research-evidence/`, admitted by the location predicate below). That store is\n * inside the application repository and is COMMITTABLE, so it is fully visible to the coding lane's\n * whole-worktree change-set capture — and a research turn overlapping a coding run therefore\n * appeared in that run's change set, at a path no coding task declares, i.e. as a false\n * `MUTATION_SCOPE_VIOLATION` that failed the coding run closed. Two live paths reach that overlap:\n * an operator's `POST /api/companion/research`, and a composite's `RESEARCH_AGENT` children, which\n * the choreography dispatches concurrently.\n *\n * The fix is on the coding side, where the misattribution happens —\n * `CONCURRENT_HOST_LANE_ROOTS` in `git-change-set.companion.service.ts` names this store as\n * lane-owned, so its writes are RECORDED in the change set and excluded from the scope decision.\n * Taking the workspace-mutation lock here was rejected and measured: that lock is acquired with\n * `retries: { retries: 0 }`, so it refuses rather than queues, and it would refuse two of every\n * three lanes of the fan-out this JSDoc exists to protect.\n *\n * So if this lane ever grows a SECOND writable island, the coding lane's list has to grow with it\n * in the same change. Nothing mechanical joins them — the predicate is one exported function\n * precisely so the join is a single named place rather than a convention.\n */\n public async runResearchTask(request: ResearchTaskRequest): Promise<ResearchTaskResult> {\n this.researchTasksInFlight = (this.researchTasksInFlight ?? 0) + 1;\n this.syncResearchRunHeartbeat();\n try {\n return await this.runResearchTaskCounted(request);\n } finally {\n this.researchTasksInFlight = Math.max(0, (this.researchTasksInFlight ?? 1) - 1);\n this.syncResearchRunHeartbeat();\n }\n }\n\n private async runResearchTaskCounted(request: ResearchTaskRequest): Promise<ResearchTaskResult> {\n const objective = request.objective.trim();\n if (objective.length === 0) {\n throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {\n customMessageReference: ErrorCustomMessageReference.VALIDATION,\n context: { message: 'A research task needs an objective; an empty one would spend a turn to learn nothing.' },\n });\n }\n if (this.agentsService.getAgent(APPLICATION_RESEARCH_AGENT_REF) === undefined) {\n throw new ResearchAgentUnavailableError(\n `The research agent \"${APPLICATION_RESEARCH_AGENT_REF}\" is not registered. It is registered at companion startup; `\n + 'a companion started before it existed needs a restart.',\n );\n }\n\n const evidenceDirectory = resolveResearchEvidenceDirectory(this.companionContext.saasRoot, request.evidenceScope ?? 'adhoc');\n const sharedEvidenceDirectory = request.sharedEvidenceScope !== undefined && request.sharedEvidenceScope !== request.evidenceScope\n ? resolveResearchEvidenceDirectory(this.companionContext.saasRoot, request.sharedEvidenceScope)\n : undefined;\n const promptWithStore = [objective, '', composeEvidenceStoreInstruction(evidenceDirectory, sharedEvidenceDirectory)].join('\\n');\n\n const invocation: FlowsActors_Agent_Invocation<\n typeof CodingAgent_RunTaskInputSchema,\n typeof CodingAgent_RunTaskOutputSchema,\n typeof CodingAgent_OperationContext_BaseSchema\n > = {\n agentRef: APPLICATION_RESEARCH_AGENT_REF,\n initiator: {},\n invocationContext: [],\n input: { prompt: promptWithStore },\n output: { finalMessage: '', stopReason: CodingAgent_StopReason.END_TURN },\n executionContext: { callTimestamp: new Date().toISOString() },\n artifactBindings: [],\n };\n\n const startedAtMs = Date.now();\n const startedAtIso = new Date(startedAtMs).toISOString();\n this.logDebug('Research task starting', { objectiveLength: objective.length, evidenceScope: request.evidenceScope });\n\n /*\n * The RECORD of this task (see `ResearchTraceEvent`). Best-effort from end to end: a trace is\n * evidence beside the research, and a sink that fails must never be why a research turn did.\n */\n let traceSession: CompanionExecutionSessionContext | undefined;\n let traceStep: ReturnType<CompanionTraceabilityService['createStep']> | undefined;\n const trace = async (write: () => Promise<void>): Promise<void> => {\n try { await write(); } catch (traceError) {\n this.logDebug('Research trace write failed; the research itself is unaffected', { failure: describeCaughtError(traceError) });\n }\n };\n const traceEvent = (type: ResearchTraceEvent, summary: string, payload: Record<string, unknown>): Promise<void> => trace(async () => {\n if (!traceSession) return;\n await this.traceabilityService.traceEvent({ session: traceSession, minimumLevel: CompanionTraceabilityLevel.DEBUG, type, summary, payload, ...(traceStep ? { step: traceStep } : {}) });\n });\n const traceArtifact = (fileName: string, content: unknown): Promise<void> => trace(async () => {\n if (!traceSession) return;\n await this.traceabilityService.writeArtifact({ session: traceSession, minimumLevel: CompanionTraceabilityLevel.DEBUG_VERBOSE, fileName, content, ...(traceStep ? { step: traceStep } : {}) });\n });\n await trace(async () => {\n traceSession = this.traceabilityService.createInternalSession({\n label: 'application-research-task',\n metadata: { ...(request.playbookRef ? { playbookRef: request.playbookRef } : {}), evidenceScope: request.evidenceScope ?? 'adhoc' },\n });\n if (traceSession) traceStep = this.traceabilityService.createStep(traceSession, { kind: 'research-agent-dispatch', label: 'application-research-task' });\n });\n /*\n * What the agent FETCHED and read, bounded the coding lane's way (one entry per call, head and\n * tail of a long run). Passages stay out: here the agent's messages ARE the evidence, stored as such.\n */\n const frameRetention = new CodingSessionFrameRetention({ retainPassages: false });\n let sessionEventCount = 0;\n await traceEvent(\n ResearchTraceEvent.TASK_REQUESTED,\n request.playbookRef ? `Research for ${request.playbookRef}` : 'Research task',\n { ...(request.playbookRef ? { playbookRef: request.playbookRef } : {}), evidenceScope: request.evidenceScope ?? 'adhoc', objectiveLength: objective.length },\n );\n await traceArtifact('research-objective.md', promptWithStore);\n\n const isPermittedEvidenceLocation = buildApplicationCodingTaskLocationPredicate(\n this.companionContext.saasRoot,\n [RESEARCH_EVIDENCE_RELATIVE_ROOT],\n [],\n );\n /*\n * Writes go to THIS task's scope only (#1609): an instance's findings are its own, and the store it reads\n * from the application as a whole is never written by an instance. Reading stays open across the store.\n */\n const isPermittedOwnScopeLocation = buildApplicationCodingTaskLocationPredicate(\n this.companionContext.saasRoot,\n [path.relative(this.companionContext.saasRoot, evidenceDirectory)],\n [],\n );\n const response = await this.agentsService.invokeAgent(invocation, undefined, {\n workspaceRootPath: this.companionContext.saasRoot,\n /* What the agent FETCHED, retained for the record; bounded, and never able to fail the turn. */\n onCodingSessionEvent: (event) => {\n sessionEventCount += 1;\n frameRetention.accept(event);\n },\n /*\n * ONE writable island: this task's OWN scope directory of the evidence store, and reads across the\n * whole store (`specifications/research-evidence/`). Both predicates are the SAME builder the coding\n * lane trusts (symlink-aware, boundary-matched), so the agent can consolidate findings to disk as it\n * researches (evidence that survives an interrupted turn) and read prior rounds' files and the\n * application-wide store an instance shares (#1609), while the rest of the workspace stays refused. A web fetch declares no location and is unaffected. This replaced\n * the original refuse-every-path predicate on 2026-09-04, when three lost compliance runs\n * showed that evidence living only in run memory cannot be leveraged or recovered.\n */\n isPermittedCodingLocation: isPermittedOwnScopeLocation,\n isPermittedCodingReadLocation: isPermittedEvidenceLocation,\n });\n\n const output = response.output as Partial<CodingAgent_RunTaskOutput> | undefined;\n const evidence = typeof output?.finalMessage === 'string' ? output.finalMessage : '';\n const stopReason = output?.stopReason ?? CodingAgent_StopReason.UNRECOGNISED;\n const elapsedMs = Date.now() - startedAtMs;\n\n /*\n * A CANCELLED turn is not a completed one and its partial prose is not evidence — the same\n * refusal the coding lane makes, for the same reason: a truncated answer reads exactly like a\n * short one. Checked BEFORE the backstop write, so a cancelled turn's partial FINAL MESSAGE is\n * never persisted as a completed record — whatever the agent already consolidated to the store\n * during the turn stands on its own, file by file, and is exactly what incremental persistence\n * is for.\n */\n if (stopReason === CodingAgent_StopReason.CANCELLED) {\n await traceEvent(ResearchTraceEvent.TASK_FAILED, 'Research task was cancelled', { stopReason, elapsedMs, sessionEventCount });\n if (frameRetention.frames().length > 0) await traceArtifact('research-frames.json', frameRetention.frames());\n throw new Error(`Research task was cancelled after ${elapsedMs}ms; its partial answer is not evidence.`);\n }\n\n // The companion-side backstop: the completed brief lands on disk with its provenance even when\n // the agent consolidated nothing itself. Best-effort by construction — a store write failing\n // must not turn a completed research turn into a failed one.\n let persistedEvidencePath = '';\n try {\n persistedEvidencePath = writeFinalEvidenceRecord({\n evidenceDirectoryAbsolutePath: evidenceDirectory,\n objective,\n evidence,\n stopReason,\n startedAtIso,\n elapsedMs,\n ...(request.playbookRef ? { playbookRef: request.playbookRef } : {}),\n });\n } catch (persistError) {\n this.logger.warn('Research evidence backstop write failed; the returned brief is the only copy', {\n evidenceDirectory,\n failure: describeCaughtError(persistError),\n });\n }\n\n const result: ResearchTaskResult = {\n evidence,\n stopReason,\n ...(((response.executionContext as { usage?: CodingAgent_Usage } | undefined)?.usage)\n ? { usage: (response.executionContext as { usage?: CodingAgent_Usage }).usage }\n : {}),\n ...(output?.deniedPermissionCount !== undefined ? { deniedPermissionCount: output.deniedPermissionCount } : {}),\n ...(output?.permissionDecisions !== undefined ? { permissionDecisions: output.permissionDecisions } : {}),\n reportedFileLocations: output?.reportedFileLocations ?? [],\n elapsedMs,\n persistedEvidencePath,\n };\n await traceEvent(ResearchTraceEvent.TASK_ANSWERED, `Research answered (${stopReason})`, {\n stopReason,\n elapsedMs,\n evidenceLength: evidence.length,\n sessionEventCount,\n /* A fetch is a tool call; updates to one call carry its id, so distinct ids are distinct fetches. */\n // Counted over every frame: read off the retained ones it stopped at the bound.\n fetchCount: frameRetention.toolCallCount,\n ...(output?.deniedPermissionCount !== undefined ? { deniedPermissionCount: output.deniedPermissionCount } : {}),\n ...(output?.permissionDecisions !== undefined ? { permissionDecisions: output.permissionDecisions } : {}),\n ...(persistedEvidencePath ? { persistedEvidencePath } : {}),\n });\n await traceArtifact('research-evidence.md', evidence);\n if (frameRetention.frames().length > 0) await traceArtifact('research-frames.json', frameRetention.frames());\n\n this.logDebug('Research task finished', {\n stopReason,\n elapsedMs,\n evidenceLength: evidence.length,\n deniedPermissionCount: result.deniedPermissionCount,\n reportedFileLocations: result.reportedFileLocations.length,\n persistedEvidencePath,\n });\n return result;\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"research-evidence-store.companion.d.ts","sourceRoot":"","sources":["../../../../src/claude-cli/services/research-evidence-store.companion.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,uGAAuG;AACvG,eAAO,MAAM,+BAA+B,qCAAqC,CAAC;AAElF;;;;GAIG;AACH,wBAAgB,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAExF;AAED,iGAAiG;AACjG,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAO1D;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,+BAA+B,CAAC,6BAA6B,EAAE,MAAM,EAAE,mCAAmC,CAAC,EAAE,MAAM,GAAG,MAAM,CAiB3I;AAED,sGAAsG;AACtG,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,6BAA6B,EAAE,MAAM,CAAC;IAC/C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,yFAAyF;IACzF,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,wBAAwB,GAAG,MAAM,CAgChF"}
1
+ {"version":3,"file":"research-evidence-store.companion.d.ts","sourceRoot":"","sources":["../../../../../src/claude-cli/services/research-evidence-store.companion.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,uGAAuG;AACvG,eAAO,MAAM,+BAA+B,qCAAqC,CAAC;AAElF;;;;GAIG;AACH,wBAAgB,gCAAgC,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAExF;AAED,iGAAiG;AACjG,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAO1D;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,+BAA+B,CAAC,6BAA6B,EAAE,MAAM,EAAE,mCAAmC,CAAC,EAAE,MAAM,GAAG,MAAM,CAiB3I;AAED,sGAAsG;AACtG,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,6BAA6B,EAAE,MAAM,CAAC;IAC/C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,yFAAyF;IACzF,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,wBAAwB,GAAG,MAAM,CAgChF"}
@@ -1 +1 @@
1
- {"version":3,"file":"research-evidence-store.companion.js","sourceRoot":"","sources":["../../../../src/claude-cli/services/research-evidence-store.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC5E,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,uGAAuG;AACvG,MAAM,CAAC,MAAM,+BAA+B,GAAG,kCAAkC,CAAC;AAElF;;;;GAIG;AACH,MAAM,UAAU,gCAAgC,CAAC,QAAgB,EAAE,KAAa;IAC9E,OAAO,IAAI,CAAC,QAAQ,EAAE,+BAA+B,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAC,CAAC;AACtF,CAAC;AAED,iGAAiG;AACjG,MAAM,UAAU,oBAAoB,CAAC,KAAa;IAChD,MAAM,IAAI,GAAG,KAAK;SACf,WAAW,EAAE;SACb,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC;SAC3B,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;SACvB,KAAK,CAAC,C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AAE,GAAG,GAAG,UAAU,KAAK,KAAK,CAAC,CAAC;IACnF,CAAC;IACD,MAAM,WAAW,GAAG;QAClB,KAAK;QACL,cAAc,KAAK,CAAC,YAAY,EAAE;QAClC,cAAc,KAAK,CAAC,SAAS,EAAE;QAC/B,eAAe,KAAK,CAAC,UAAU,EAAE;QACjC,GAAG,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,gBAAgB,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,KAAK;KACN,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,MAAM,IAAI,GAAG;QACX,WAAW;QACX,EAAE;QACF,cAAc;QACd,EAAE;QACF,KAAK,CAAC,SAAS;QACf,EAAE;QACF,aAAa;QACb,EAAE;QACF,KAAK,CAAC,QAAQ;QACd,EAAE;KACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACb,aAAa,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;IACtC,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["import { mkdirSync, writeFileSync, existsSync, readdirSync } from 'node:fs';\nimport { join } from 'node:path';\n\n/**\n * The research evidence store — where a research agent's findings become FILES.\n *\n * ## Why this exists (2026-09-04)\n *\n * Research evidence used to live in exactly one place: the run's in-memory step results, feeding\n * the next child's brief and dying with the run. Three consecutive compliance runs proved what that\n * costs — a 56-minute, 14-children evidence body lost to a quota cut, then two relaunches lost to\n * an expired login — and the run-level checkpoint only protects the SCHEDULING state, not the\n * knowledge. The store is the knowledge half: evidence lands on disk as it is gathered, survives\n * any death, and is READ BACK by later runs so they extend prior research instead of re-buying it.\n *\n * ## Where, and why it is COMMITTABLE\n *\n * `<application>/specifications/research-evidence/<scope>/` — inside the application repository,\n * outside `specifications/src/`, so it enters no TypeScript program and no family classification.\n * Committable on purpose: source-attributed research is knowledge the posture artifacts cite, and\n * \"delete it and re-run\" costs hours and a quota window — git is where things that must survive a\n * re-clone live (`one-source-of-truth.md`). Acceptance stays a human commit, like every other\n * working edit an agent lands.\n *\n * ## Who writes\n *\n * TWO writers, layered:\n * 1. The research AGENT, incrementally, during its turn — its WRITE predicate admits exactly its own\n * scope's directory, and its READ predicate the whole store (both built by the same\n * `buildApplicationCodingTaskLocationPredicate` the coding lane trusts), so a mid-turn death still\n * leaves everything already consolidated, and no task writes another scope's evidence (#1609).\n * 2. The COMPANION, once per completed task — `writeFinalEvidenceRecord` persists the returned\n * brief with its provenance frontmatter, so a completed turn is on disk even if the agent wrote\n * nothing itself.\n */\n\n/** Application-relative root of the store. Also the ONLY path prefix the research predicate admits. */\nexport const RESEARCH_EVIDENCE_RELATIVE_ROOT = 'specifications/research-evidence';\n\n/**\n * A scope names the investigation a set of evidence files belongs to — normally the composite\n * playbook ref (`top_down.compliance-analysis`), so every child of one choreography, across every\n * run of it, consolidates into one directory.\n */\nexport function resolveResearchEvidenceDirectory(saasRoot: string, scope: string): string {\n return join(saasRoot, RESEARCH_EVIDENCE_RELATIVE_ROOT, slugifyEvidenceScope(scope));\n}\n\n/** Directory-safe scope: lowercase, dots and separators to hyphens, nothing traversal-shaped. */\nexport function slugifyEvidenceScope(scope: string): string {\n const slug = scope\n .toLowerCase()\n .replace(/[^a-z0-9]+/g, '-')\n .replace(/^-+|-+$/g, '')\n .slice(0, 80);\n return slug.length > 0 ? slug : 'adhoc';\n}\n\n/**\n * The prompt block that turns \"you may write here\" into \"you consolidate here\".\n *\n * Appended to every research objective by the dispatch, never authored per playbook: the store is a\n * property of the LANE, and a convention restated per method drifts. The instruction is explicit\n * that the directory is the ONLY writable location — the predicate enforces it, but an agent told\n * the boundary spends its turn researching instead of discovering refusals.\n *\n * ## Why it also carries a SOURCE-NEUTRALITY clause (2026-09-04)\n *\n * A compliance researcher enumerating \"which regimes apply\" reaches for proprietary security\n * certification and attestation standards unprompted, alongside the public law that is the actual\n * subject. Public law is fine — statutes and regulations are quotable. The proprietary standards are\n * not: their control catalogues and identifiers are licensed material, and `CLAUDE.md` confines every\n * external framework name, identifier and mapping to a rights-classified boundary that this store is\n * not. `pnpm check:assurance-control-boundary` refuses them repository-wide against a baseline drained\n * to zero, so a dogfood application's committed store is a surface where they land in FRAMEWORK git.\n *\n * That is not hypothetical: Wonder CRM's first accepted evidence population carried six such names —\n * every one of them merely listing the standard as \"voluntary, not a legal obligation, never\n * researched\" — and reddened the gate on the shared branch. The finding survives its neutral phrasing\n * intact, which is why the instruction asks for the CATEGORY rather than forbidding the conclusion:\n * an agent told only \"do not name X\" tends to drop the finding along with the name.\n */\nexport function composeEvidenceStoreInstruction(evidenceDirectoryAbsolutePath: string, sharedEvidenceDirectoryAbsolutePath?: string): string {\n return [\n '# Evidence store (persist as you go)',\n `The directory \\`${evidenceDirectoryAbsolutePath}\\` is your evidence store — the ONLY location you may write to (every other path is refused).`,\n 'FIRST read what it already contains: earlier rounds consolidated their findings there. Extend that record; do not re-research or restate what a prior file already establishes with sources.',\n /*\n * An INSTANCE's research (#1609) keeps its own store, so one segment's or one feature's findings never\n * mix into another's, and READS the default instance's, where facts true of the whole application\n * (the market, the law) were gathered. Read-only: what this instance finds belongs to this instance.\n */\n ...(sharedEvidenceDirectoryAbsolutePath\n ? [`ALSO read \\`${sharedEvidenceDirectoryAbsolutePath}\\`: the evidence the application as a whole gathered for the same investigation. Rely on what it establishes and do not re-research it, but never write there; what you find for THIS purpose goes in your own store.`]\n : []),\n 'AS YOU RESEARCH, persist your findings into markdown files in that directory — one file per coherent topic, named `<topic-slug>.md`, updated in place as your understanding sharpens. Each finding carries its source URL beside it. Write incrementally: evidence on disk survives an interrupted turn; evidence only in your final message does not.',\n 'SOURCE NEUTRALITY: name public law freely (statutes, regulations, regulator guidance — quote and cite them). Do NOT name a proprietary security certification or attestation standard, or any of its control identifiers, in a file or in your final message: their catalogues are licensed material this store is not a rights-classified boundary for. Refer to that whole class as \"voluntary security-certification and attestation frameworks\" and state your finding about it in full — the conclusion is wanted, the proprietary name is not.',\n 'Your final message still reports the answer in full — the store is the durable record, not a substitute for answering.',\n ].join('\\n');\n}\n\n/** What the companion persists about one COMPLETED research task, beside whatever the agent wrote. */\nexport interface FinalEvidenceRecordInput {\n readonly evidenceDirectoryAbsolutePath: string;\n readonly objective: string;\n readonly evidence: string;\n readonly stopReason: string;\n readonly startedAtIso: string;\n readonly elapsedMs: number;\n /** The playbook that asked, when one did — an operator's ad-hoc `/research` has none. */\n readonly playbookRef?: string;\n}\n\n/**\n * Persist the final returned brief as a dated, provenance-stamped markdown record.\n *\n * Filename is `<yyyy-mm-dd>-round-<n>.md` where `n` disambiguates within a day — deliberately NOT\n * derived from the objective, whose first words are near-identical across rounds of one\n * investigation. Returns the absolute path written, so the caller can report it.\n */\nexport function writeFinalEvidenceRecord(input: FinalEvidenceRecordInput): string {\n mkdirSync(input.evidenceDirectoryAbsolutePath, { recursive: true });\n const day = input.startedAtIso.slice(0, 10);\n const existing = readdirSync(input.evidenceDirectoryAbsolutePath).filter((name) => name.startsWith(`${day}-round-`));\n let round = existing.length + 1;\n let filePath = join(input.evidenceDirectoryAbsolutePath, `${day}-round-${round}.md`);\n while (existsSync(filePath)) {\n round += 1;\n filePath = join(input.evidenceDirectoryAbsolutePath, `${day}-round-${round}.md`);\n }\n const frontmatter = [\n '---',\n `startedAt: ${input.startedAtIso}`,\n `elapsedMs: ${input.elapsedMs}`,\n `stopReason: ${input.stopReason}`,\n ...(input.playbookRef ? [`playbookRef: ${input.playbookRef}`] : []),\n '---',\n ].join('\\n');\n const body = [\n frontmatter,\n '',\n '## Objective',\n '',\n input.objective,\n '',\n '## Evidence',\n '',\n input.evidence,\n '',\n ].join('\\n');\n writeFileSync(filePath, body, 'utf8');\n return filePath;\n}\n"]}
1
+ {"version":3,"file":"research-evidence-store.companion.js","sourceRoot":"","sources":["../../../../../src/claude-cli/services/research-evidence-store.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,WAAW,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ClB,CAAC","sourcesContent":["import { mkdirSync, writeFileSync, existsSync, readdirSync } from 'node:fs';\nimport { join } from 'node:path';\n\n/**\n * The research evidence store — where a research agent's findings become FILES.\n *\n * ## Why this exists (2026-09-04)\n *\n * Research evidence used to live in exactly one place: the run's in-memory step results, feeding\n * the next child's brief and dying with the run. Three consecutive compliance runs proved what that\n * costs — a 56-minute, 14-children evidence body lost to a quota cut, then two relaunches lost to\n * an expired login — and the run-level checkpoint only protects the SCHEDULING state, not the\n * knowledge. The store is the knowledge half: evidence lands on disk as it is gathered, survives\n * any death, and is READ BACK by later runs so they extend prior research instead of re-buying it.\n *\n * ## Where, and why it is COMMITTABLE\n *\n * `<application>/specifications/research-evidence/<scope>/` — inside the application repository,\n * outside `specifications/src/`, so it enters no TypeScript program and no family classification.\n * Committable on purpose: source-attributed research is knowledge the posture artifacts cite, and\n * \"delete it and re-run\" costs hours and a quota window — git is where things that must survive a\n * re-clone live (`one-source-of-truth.md`). Acceptance stays a human commit, like every other\n * working edit an agent lands.\n *\n * ## Who writes\n *\n * TWO writers, layered:\n * 1. The research AGENT, incrementally, during its turn — its WRITE predicate admits exactly its own\n * scope's directory, and its READ predicate the whole store (both built by the same\n * `buildApplicationCodingTaskLocationPredicate` the coding lane trusts), so a mid-turn death still\n * leaves everything already consolidated, and no task writes another scope's evidence (#1609).\n * 2. The COMPANION, once per completed task — `writeFinalEvidenceRecord` persists the returned\n * brief with its provenance frontmatter, so a completed turn is on disk even if the agent wrote\n * nothing itself.\n */\n\n/** Application-relative root of the store. Also the ONLY path prefix the research predicate admits. */\nexport const RESEARCH_EVIDENCE_RELATIVE_ROOT = 'specifications/research-evidence';\n\n/**\n * A scope names the investigation a set of evidence files belongs to — normally the composite\n * playbook ref (`top_down.compliance-analysis`), so every child of one choreography, across every\n * run of it, consolidates into one directory.\n */\nexport function resolveResearchEvidenceDirectory(saasRoot: string, scope: string): string {\n return join(saasRoot, RESEARCH_EVIDENCE_RELATIVE_ROOT, slugifyEvidenceScope(scope));\n}\n\n/** Directory-safe scope: lowercase, dots and separators to hyphens, nothing traversal-shaped. */\nexport function slugifyEvidenceScope(scope: string): string {\n const slug = scope\n .toLowerCase()\n .replace(/[^a-z0-9]+/g, '-')\n .replace(/^-+|-+$/g, '')\n .slice(0, 80);\n return slug.length > 0 ? slug : 'adhoc';\n}\n\n/**\n * The prompt block that turns \"you may write here\" into \"you consolidate here\".\n *\n * Appended to every research objective by the dispatch, never authored per playbook: the store is a\n * property of the LANE, and a convention restated per method drifts. The instruction is explicit\n * that the directory is the ONLY writable location — the predicate enforces it, but an agent told\n * the boundary spends its turn researching instead of discovering refusals.\n *\n * ## Why it also carries a SOURCE-NEUTRALITY clause (2026-09-04)\n *\n * A compliance researcher enumerating \"which regimes apply\" reaches for proprietary security\n * certification and attestation standards unprompted, alongside the public law that is the actual\n * subject. Public law is fine — statutes and regulations are quotable. The proprietary standards are\n * not: their control catalogues and identifiers are licensed material, and `CLAUDE.md` confines every\n * external framework name, identifier and mapping to a rights-classified boundary that this store is\n * not. `pnpm check:assurance-control-boundary` refuses them repository-wide against a baseline drained\n * to zero, so a dogfood application's committed store is a surface where they land in FRAMEWORK git.\n *\n * That is not hypothetical: Wonder CRM's first accepted evidence population carried six such names —\n * every one of them merely listing the standard as \"voluntary, not a legal obligation, never\n * researched\" — and reddened the gate on the shared branch. The finding survives its neutral phrasing\n * intact, which is why the instruction asks for the CATEGORY rather than forbidding the conclusion:\n * an agent told only \"do not name X\" tends to drop the finding along with the name.\n */\nexport function composeEvidenceStoreInstruction(evidenceDirectoryAbsolutePath: string, sharedEvidenceDirectoryAbsolutePath?: string): string {\n return [\n '# Evidence store (persist as you go)',\n `The directory \\`${evidenceDirectoryAbsolutePath}\\` is your evidence store — the ONLY location you may write to (every other path is refused).`,\n 'FIRST read what it already contains: earlier rounds consolidated their findings there. Extend that record; do not re-research or restate what a prior file already establishes with sources.',\n /*\n * An INSTANCE's research (#1609) keeps its own store, so one segment's or one feature's findings never\n * mix into another's, and READS the default instance's, where facts true of the whole application\n * (the market, the law) were gathered. Read-only: what this instance finds belongs to this instance.\n */\n ...(sharedEvidenceDirectoryAbsolutePath\n ? [`ALSO read \\`${sharedEvidenceDirectoryAbsolutePath}\\`: the evidence the application as a whole gathered for the same investigation. Rely on what it establishes and do not re-research it, but never write there; what you find for THIS purpose goes in your own store.`]\n : []),\n 'AS YOU RESEARCH, persist your findings into markdown files in that directory — one file per coherent topic, named `<topic-slug>.md`, updated in place as your understanding sharpens. Each finding carries its source URL beside it. Write incrementally: evidence on disk survives an interrupted turn; evidence only in your final message does not.',\n 'SOURCE NEUTRALITY: name public law freely (statutes, regulations, regulator guidance — quote and cite them). Do NOT name a proprietary security certification or attestation standard, or any of its control identifiers, in a file or in your final message: their catalogues are licensed material this store is not a rights-classified boundary for. Refer to that whole class as \"voluntary security-certification and attestation frameworks\" and state your finding about it in full — the conclusion is wanted, the proprietary name is not.',\n 'Your final message still reports the answer in full — the store is the durable record, not a substitute for answering.',\n ].join('\\n');\n}\n\n/** What the companion persists about one COMPLETED research task, beside whatever the agent wrote. */\nexport interface FinalEvidenceRecordInput {\n readonly evidenceDirectoryAbsolutePath: string;\n readonly objective: string;\n readonly evidence: string;\n readonly stopReason: string;\n readonly startedAtIso: string;\n readonly elapsedMs: number;\n /** The playbook that asked, when one did — an operator's ad-hoc `/research` has none. */\n readonly playbookRef?: string;\n}\n\n/**\n * Persist the final returned brief as a dated, provenance-stamped markdown record.\n *\n * Filename is `<yyyy-mm-dd>-round-<n>.md` where `n` disambiguates within a day — deliberately NOT\n * derived from the objective, whose first words are near-identical across rounds of one\n * investigation. Returns the absolute path written, so the caller can report it.\n */\nexport function writeFinalEvidenceRecord(input: FinalEvidenceRecordInput): string {\n mkdirSync(input.evidenceDirectoryAbsolutePath, { recursive: true });\n const day = input.startedAtIso.slice(0, 10);\n const existing = readdirSync(input.evidenceDirectoryAbsolutePath).filter((name) => name.startsWith(`${day}-round-`));\n let round = existing.length + 1;\n let filePath = join(input.evidenceDirectoryAbsolutePath, `${day}-round-${round}.md`);\n while (existsSync(filePath)) {\n round += 1;\n filePath = join(input.evidenceDirectoryAbsolutePath, `${day}-round-${round}.md`);\n }\n const frontmatter = [\n '---',\n `startedAt: ${input.startedAtIso}`,\n `elapsedMs: ${input.elapsedMs}`,\n `stopReason: ${input.stopReason}`,\n ...(input.playbookRef ? [`playbookRef: ${input.playbookRef}`] : []),\n '---',\n ].join('\\n');\n const body = [\n frontmatter,\n '',\n '## Objective',\n '',\n input.objective,\n '',\n '## Evidence',\n '',\n input.evidence,\n '',\n ].join('\\n');\n writeFileSync(filePath, body, 'utf8');\n return filePath;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-label-placeholder-contract.companion.d.ts","sourceRoot":"","sources":["../../../src/code-compliance-check/check-label-placeholder-contract.companion.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"check-label-placeholder-contract.companion.d.ts","sourceRoot":"","sources":["../../../../src/code-compliance-check/check-label-placeholder-contract.companion.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"check-label-placeholder-contract.companion.js","sourceRoot":"","sources":["../../../src/code-compliance-check/check-label-placeholder-contract.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,MAAM,cAAc,GAAG,CAAC,+BAA+B,EAAE,8BAA8B,CAAC,CAAC;AACzF,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,CAAC,cAAc,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC,CAAC;AAChF,MAAM,iBAAiB,GAAG,IAAI,GA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F,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,KAAK,CACX,uGAAuG;UACrG,4EAA4E,CAC/E,CAAC;IACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC;AAED,IAAI,EAAE,CAAC","sourcesContent":["import { readdirSync, readFileSync } from 'node:fs';\nimport { extname, join, relative } from 'node:path';\nimport ts from 'typescript';\nimport { resolveHomes } from '@wildo-ai/platform-config-lib/resolve-homes';\n\n/**\n * Compliance guard: the LABEL PLACEHOLDER CONTRACT.\n *\n * Every `tComponent(type, key, { p1, p2 })` render call interpolates `{p1}`/`{p2}`\n * via `interpolateLabelParams` (single-brace, name-matched). The label generator\n * seeds the LLM from each label's DECLARED params in `registerComponentLabels`\n * (`{ ref, params }`), so a render call that passes a param the registration does\n * NOT declare is a latent bug: the generator never tells the LLM to emit that\n * placeholder, the label ships without it, and the runtime value is silently\n * dropped (or, for a wrong-name token, renders literally to the user).\n *\n * This check fails when a direct render call passes interpolation params that no\n * `{ ref: \"<key>\", params: [...] }` declaration covers. It is the design-time\n * complement to the generation-time `detectPlaceholderDrift` validator\n * (content ↔ declared): together they pin render ↔ declared ↔ content.\n *\n * Matching is by label key (params are unioned across declarations of the same\n * key) — sufficient because param names are semantically tied to the key. Two\n * known scopes are NOT covered (declare those by hand + rely on the\n * generation-time validator): (1) params routed through a curried/scoped\n * translator (`const t = (k, p) => tComponent(TYPE, k, p)`), which is not\n * statically resolvable here; (2) enum-ref declarations\n * (`{ ref: SomeLabel.X, params }`), whose render side uses `t(SomeLabel.X)` /\n * manual `.replace`, not a literal-key `tComponent` call. Runs against the\n * framework repo (engine source); a no-op when no framework source resolves.\n */\n\nconst TARGET_SUBDIRS = ['engine/presets-components/src', 'engine/saas-frontend-lib/src'];\nconst IGNORED_DIRS = new Set(['node_modules', 'dist', '__tests__', 'coverage']);\nconst SOURCE_EXTENSIONS = new Set(['.ts', '.tsx']);\n\ninterface Violation {\n location: string;\n componentTypeHint: string;\n key: string;\n renderParams: string[];\n declaredParams: string[] | null; // null = no { ref, params } declaration covers this key\n missing: string[];\n}\n\nfunction resolveFrameworkRoot(): string {\n const companionRoot = process.env.COMPANION_WORKSPACE_ROOT;\n if (!companionRoot) {\n throw new Error(\n 'check-label-placeholder-contract must be invoked with COMPANION_WORKSPACE_ROOT set. '\n + 'The package.json \"check:label-placeholders\" script wires it — fix that call site '\n + 'rather than re-introducing cwd-based discovery.',\n );\n }\n const root = resolveHomes(companionRoot).framework?.repositoryRoot;\n if (!root) {\n throw new Error(\n `COMPANION_WORKSPACE_ROOT=\"${companionRoot}\" does not resolve a framework repository root. `\n + 'This guard scans engine source and only runs in the monorepo dev context.',\n );\n }\n return root;\n}\n\nfunction walkSourceFiles(dir: string, out: string[]): void {\n const entries = (() => {\n try {\n return readdirSync(dir, { withFileTypes: true });\n } catch {\n return [];\n }\n })();\n for (const entry of entries) {\n if (entry.isDirectory()) {\n if (!IGNORED_DIRS.has(entry.name)) walkSourceFiles(join(dir, entry.name), out);\n continue;\n }\n if (SOURCE_EXTENSIONS.has(extname(entry.name))) out.push(join(dir, entry.name));\n }\n}\n\n/**\n * Declared params per label key, scanned from `{ ref: \"<key>\", params: [...] }`\n * registration entries (string params and object-form `{ key: \"...\" }` params).\n * Plain-string registration entries declare no params and so contribute nothing —\n * exactly the \"incomplete declaration\" this guard exists to surface.\n */\nfunction collectDeclaredParams(files: string[]): Map<string, Set<string>> {\n const declared = new Map<string, Set<string>>();\n const declRe = /\\{\\s*ref:\\s*[\"']([^\"']+)[\"']\\s*,\\s*params:\\s*\\[([^\\]]*)\\]/g;\n for (const file of files) {\n if (extname(file) !== '.tsx') continue;\n const src = readFileSync(file, 'utf8');\n if (!src.includes('params:')) continue;\n let m: RegExpExecArray | null;\n while ((m = declRe.exec(src)) !== null) {\n const key = m[1]!;\n const params = [...m[2]!.matchAll(/(?:key:\\s*)?[\"']([A-Za-z_$][\\w$]*)[\"']/g)].map((x) => x[1]!);\n const set = declared.get(key) ?? new Set<string>();\n for (const p of params) set.add(p);\n declared.set(key, set);\n }\n }\n return declared;\n}\n\n/** Find every 3-arg `tComponent(<type>, 'key', {obj})` call with inline-object params. */\nfunction collectRenderCalls(\n sourceFile: ts.SourceFile,\n): Array<{ typeHint: string; key: string; params: string[]; line: number }> {\n const calls: Array<{ typeHint: string; key: string; params: string[]; line: number }> = [];\n const visit = (node: ts.Node): void => {\n if (\n ts.isCallExpression(node)\n && ts.isIdentifier(node.expression)\n && node.expression.text === 'tComponent'\n && node.arguments.length === 3\n ) {\n const [typeArg, keyArg, paramsArg] = node.arguments;\n if (ts.isStringLiteralLike(keyArg!) && ts.isObjectLiteralExpression(paramsArg!)) {\n const params: string[] = [];\n for (const prop of paramsArg.properties) {\n if (ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name)) params.push(prop.name.text);\n else if (ts.isShorthandPropertyAssignment(prop)) params.push(prop.name.text);\n }\n if (params.length > 0) {\n const line = sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile)).line + 1;\n calls.push({ typeHint: typeArg!.getText(sourceFile), key: keyArg.text, params, line });\n }\n }\n }\n ts.forEachChild(node, visit);\n };\n visit(sourceFile);\n return calls;\n}\n\nfunction main(): void {\n const frameworkRoot = resolveFrameworkRoot();\n\n const files: string[] = [];\n for (const sub of TARGET_SUBDIRS) walkSourceFiles(join(frameworkRoot, sub), files);\n\n const declared = collectDeclaredParams(files);\n\n const violations: Violation[] = [];\n for (const file of files) {\n const src = readFileSync(file, 'utf8');\n if (!src.includes('tComponent(')) continue;\n const sf = ts.createSourceFile(\n file,\n src,\n ts.ScriptTarget.Latest,\n true,\n extname(file) === '.tsx' ? ts.ScriptKind.TSX : ts.ScriptKind.TS,\n );\n for (const call of collectRenderCalls(sf)) {\n const declaredSet = declared.get(call.key) ?? null;\n const missing = call.params.filter((p) => !(declaredSet?.has(p)));\n if (missing.length > 0) {\n violations.push({\n location: `${relative(frameworkRoot, file)}:${call.line}`,\n componentTypeHint: call.typeHint,\n key: call.key,\n renderParams: call.params,\n declaredParams: declaredSet ? [...declaredSet] : null,\n missing,\n });\n }\n }\n }\n\n if (violations.length === 0) {\n console.log('✓ Label placeholder contract OK — every direct tComponent param is declared in a registration.');\n return;\n }\n\n console.error(`✗ Label placeholder contract: ${violations.length} render call(s) pass params not declared in registration.\\n`);\n for (const v of violations) {\n console.error(` ${v.location}`);\n console.error(` ${v.componentTypeHint}, '${v.key}': render passes {${v.renderParams.join('} {')}}`);\n console.error(\n v.declaredParams === null\n ? ` declared: (no { ref, params } entry for \"${v.key}\" — register it with params: [${v.missing.map((m) => `\"${m}\"`).join(', ')}])`\n : ` declared: {${v.declaredParams.join('} {')}} — missing {${v.missing.join('} {')}}`,\n );\n }\n console.error(\n '\\nFix: add the missing param name(s) to the label\\'s registerComponentLabels({ ref, params }) entry, '\n + 'then re-run `wildo i18n labellize` so the generator seeds the placeholder.',\n );\n process.exit(1);\n}\n\nmain();\n"]}
1
+ {"version":3,"file":"check-label-placeholder-contract.companion.js","sourceRoot":"","sources":["../../../../src/code-compliance-check/check-label-placeholder-contract.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH,MAAM,cAAc,GAAG,CAAC,+BAA+B,EAAE,8BAA8B,CAAC,CAAC;AACzF,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC,CAAC,cAAc,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC,CAAC;AAChF,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;AAWnD,SAAS,oBAAoB;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C/E,CAAC;IACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC;AAED,IAAI,EAAE,CAAC","sourcesContent":["import { readdirSync, readFileSync } from 'node:fs';\nimport { extname, join, relative } from 'node:path';\nimport ts from 'typescript';\nimport { resolveHomes } from '@wildo-ai/platform-config-lib/resolve-homes';\n\n/**\n * Compliance guard: the LABEL PLACEHOLDER CONTRACT.\n *\n * Every `tComponent(type, key, { p1, p2 })` render call interpolates `{p1}`/`{p2}`\n * via `interpolateLabelParams` (single-brace, name-matched). The label generator\n * seeds the LLM from each label's DECLARED params in `registerComponentLabels`\n * (`{ ref, params }`), so a render call that passes a param the registration does\n * NOT declare is a latent bug: the generator never tells the LLM to emit that\n * placeholder, the label ships without it, and the runtime value is silently\n * dropped (or, for a wrong-name token, renders literally to the user).\n *\n * This check fails when a direct render call passes interpolation params that no\n * `{ ref: \"<key>\", params: [...] }` declaration covers. It is the design-time\n * complement to the generation-time `detectPlaceholderDrift` validator\n * (content ↔ declared): together they pin render ↔ declared ↔ content.\n *\n * Matching is by label key (params are unioned across declarations of the same\n * key) — sufficient because param names are semantically tied to the key. Two\n * known scopes are NOT covered (declare those by hand + rely on the\n * generation-time validator): (1) params routed through a curried/scoped\n * translator (`const t = (k, p) => tComponent(TYPE, k, p)`), which is not\n * statically resolvable here; (2) enum-ref declarations\n * (`{ ref: SomeLabel.X, params }`), whose render side uses `t(SomeLabel.X)` /\n * manual `.replace`, not a literal-key `tComponent` call. Runs against the\n * framework repo (engine source); a no-op when no framework source resolves.\n */\n\nconst TARGET_SUBDIRS = ['engine/presets-components/src', 'engine/saas-frontend-lib/src'];\nconst IGNORED_DIRS = new Set(['node_modules', 'dist', '__tests__', 'coverage']);\nconst SOURCE_EXTENSIONS = new Set(['.ts', '.tsx']);\n\ninterface Violation {\n location: string;\n componentTypeHint: string;\n key: string;\n renderParams: string[];\n declaredParams: string[] | null; // null = no { ref, params } declaration covers this key\n missing: string[];\n}\n\nfunction resolveFrameworkRoot(): string {\n const companionRoot = process.env.COMPANION_WORKSPACE_ROOT;\n if (!companionRoot) {\n throw new Error(\n 'check-label-placeholder-contract must be invoked with COMPANION_WORKSPACE_ROOT set. '\n + 'The package.json \"check:label-placeholders\" script wires it — fix that call site '\n + 'rather than re-introducing cwd-based discovery.',\n );\n }\n const root = resolveHomes(companionRoot).framework?.repositoryRoot;\n if (!root) {\n throw new Error(\n `COMPANION_WORKSPACE_ROOT=\"${companionRoot}\" does not resolve a framework repository root. `\n + 'This guard scans engine source and only runs in the monorepo dev context.',\n );\n }\n return root;\n}\n\nfunction walkSourceFiles(dir: string, out: string[]): void {\n const entries = (() => {\n try {\n return readdirSync(dir, { withFileTypes: true });\n } catch {\n return [];\n }\n })();\n for (const entry of entries) {\n if (entry.isDirectory()) {\n if (!IGNORED_DIRS.has(entry.name)) walkSourceFiles(join(dir, entry.name), out);\n continue;\n }\n if (SOURCE_EXTENSIONS.has(extname(entry.name))) out.push(join(dir, entry.name));\n }\n}\n\n/**\n * Declared params per label key, scanned from `{ ref: \"<key>\", params: [...] }`\n * registration entries (string params and object-form `{ key: \"...\" }` params).\n * Plain-string registration entries declare no params and so contribute nothing —\n * exactly the \"incomplete declaration\" this guard exists to surface.\n */\nfunction collectDeclaredParams(files: string[]): Map<string, Set<string>> {\n const declared = new Map<string, Set<string>>();\n const declRe = /\\{\\s*ref:\\s*[\"']([^\"']+)[\"']\\s*,\\s*params:\\s*\\[([^\\]]*)\\]/g;\n for (const file of files) {\n if (extname(file) !== '.tsx') continue;\n const src = readFileSync(file, 'utf8');\n if (!src.includes('params:')) continue;\n let m: RegExpExecArray | null;\n while ((m = declRe.exec(src)) !== null) {\n const key = m[1]!;\n const params = [...m[2]!.matchAll(/(?:key:\\s*)?[\"']([A-Za-z_$][\\w$]*)[\"']/g)].map((x) => x[1]!);\n const set = declared.get(key) ?? new Set<string>();\n for (const p of params) set.add(p);\n declared.set(key, set);\n }\n }\n return declared;\n}\n\n/** Find every 3-arg `tComponent(<type>, 'key', {obj})` call with inline-object params. */\nfunction collectRenderCalls(\n sourceFile: ts.SourceFile,\n): Array<{ typeHint: string; key: string; params: string[]; line: number }> {\n const calls: Array<{ typeHint: string; key: string; params: string[]; line: number }> = [];\n const visit = (node: ts.Node): void => {\n if (\n ts.isCallExpression(node)\n && ts.isIdentifier(node.expression)\n && node.expression.text === 'tComponent'\n && node.arguments.length === 3\n ) {\n const [typeArg, keyArg, paramsArg] = node.arguments;\n if (ts.isStringLiteralLike(keyArg!) && ts.isObjectLiteralExpression(paramsArg!)) {\n const params: string[] = [];\n for (const prop of paramsArg.properties) {\n if (ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name)) params.push(prop.name.text);\n else if (ts.isShorthandPropertyAssignment(prop)) params.push(prop.name.text);\n }\n if (params.length > 0) {\n const line = sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile)).line + 1;\n calls.push({ typeHint: typeArg!.getText(sourceFile), key: keyArg.text, params, line });\n }\n }\n }\n ts.forEachChild(node, visit);\n };\n visit(sourceFile);\n return calls;\n}\n\nfunction main(): void {\n const frameworkRoot = resolveFrameworkRoot();\n\n const files: string[] = [];\n for (const sub of TARGET_SUBDIRS) walkSourceFiles(join(frameworkRoot, sub), files);\n\n const declared = collectDeclaredParams(files);\n\n const violations: Violation[] = [];\n for (const file of files) {\n const src = readFileSync(file, 'utf8');\n if (!src.includes('tComponent(')) continue;\n const sf = ts.createSourceFile(\n file,\n src,\n ts.ScriptTarget.Latest,\n true,\n extname(file) === '.tsx' ? ts.ScriptKind.TSX : ts.ScriptKind.TS,\n );\n for (const call of collectRenderCalls(sf)) {\n const declaredSet = declared.get(call.key) ?? null;\n const missing = call.params.filter((p) => !(declaredSet?.has(p)));\n if (missing.length > 0) {\n violations.push({\n location: `${relative(frameworkRoot, file)}:${call.line}`,\n componentTypeHint: call.typeHint,\n key: call.key,\n renderParams: call.params,\n declaredParams: declaredSet ? [...declaredSet] : null,\n missing,\n });\n }\n }\n }\n\n if (violations.length === 0) {\n console.log('✓ Label placeholder contract OK — every direct tComponent param is declared in a registration.');\n return;\n }\n\n console.error(`✗ Label placeholder contract: ${violations.length} render call(s) pass params not declared in registration.\\n`);\n for (const v of violations) {\n console.error(` ${v.location}`);\n console.error(` ${v.componentTypeHint}, '${v.key}': render passes {${v.renderParams.join('} {')}}`);\n console.error(\n v.declaredParams === null\n ? ` declared: (no { ref, params } entry for \"${v.key}\" — register it with params: [${v.missing.map((m) => `\"${m}\"`).join(', ')}])`\n : ` declared: {${v.declaredParams.join('} {')}} — missing {${v.missing.join('} {')}}`,\n );\n }\n console.error(\n '\\nFix: add the missing param name(s) to the label\\'s registerComponentLabels({ ref, params }) entry, '\n + 'then re-run `wildo i18n labellize` so the generator seeds the placeholder.',\n );\n process.exit(1);\n}\n\nmain();\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"check-raw-feature-id-literals.companion.d.ts","sourceRoot":"","sources":["../../../src/code-compliance-check/check-raw-feature-id-literals.companion.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"check-raw-feature-id-literals.companion.d.ts","sourceRoot":"","sources":["../../../../src/code-compliance-check/check-raw-feature-id-literals.companion.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"check-raw-feature-id-literals.companion.js","sourceRoot":"","sources":["../../../src/code-compliance-check/check-raw-feature-id-literals.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACtE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAE3E,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,KAAK;IACL,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,M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AC,CAAC;IAEhH,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,OAAO,CAAC,KAAK,CACX,KAAK,SAAS,CAAC,QAAQ,SAAS,SAAS,CAAC,OAAO,4BAA4B,SAAS,CAAC,gBAAgB,GAAG,CAC3G,CAAC;IACJ,CAAC;IAED,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACvB,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,0CAA0C,EAAE,KAAK,CAAC,CAAC;IACjE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC","sourcesContent":["import { existsSync, readdirSync, readFileSync } from 'node:fs';\nimport { dirname, extname, join, relative, resolve } from 'node:path';\nimport ts from 'typescript';\nimport { resolveHomes } from '@wildo-ai/platform-config-lib/resolve-homes';\n\nconst SOURCE_EXTENSIONS = new Set([\n '.ts',\n '.tsx',\n '.js',\n '.jsx',\n '.mts',\n '.cts',\n]);\n\nconst IGNORED_DIRS = new Set([\n '.cursor',\n '.git',\n '.next',\n '.turbo',\n 'coverage',\n 'dist',\n 'node_modules',\n '_code_archive',\n]);\n\nconst FEATURE_GATE_EXPORT = 'FeatureGate';\nconst HOOK_EXPORTS = new Set([\n 'useFeatureAvailability',\n 'useFeatureGate',\n]);\n\nconst FRAMEWORK_MODULE_PREFIXES = [\n '@wildo-ai/saas-frontend-lib',\n '~wildo-frontend-lib/core/features/',\n];\n\ninterface Violation {\n location: string;\n apiName: string;\n literalFeatureId: string;\n}\n\n/**\n * Provenance of an imported feature-gating binding, resolved from the import\n * specifier that brought it into the scanned file. Decides how the sweep\n * establishes that the binding ultimately comes from the framework.\n */\nenum ImportedBindingKind {\n /**\n * Imported directly from a framework module (one of\n * `FRAMEWORK_MODULE_PREFIXES`) — trusted as a framework export as-is.\n */\n FRAMEWORK = 'framework',\n /**\n * Imported from an app-local module; the export must be traced through that\n * module (`sourceFileExportsFrameworkBinding`) to a framework re-export\n * before the binding is trusted.\n */\n LOCAL = 'local',\n}\n\ninterface ImportedBinding {\n kind: ImportedBindingKind;\n exportName: string;\n filePath?: string;\n}\n\nconst parsedSourceFileCache = new Map<string, ts.SourceFile>();\nconst exportedFrameworkBindingCache = new Map<string, boolean>();\n\n/**\n * Resolve the SaaS app root for the compliance sweep from a single trusted\n * source: the `COMPANION_WORKSPACE_ROOT` environment variable.\n *\n * This script is a standalone companion command invoked by the package.json\n * `check:feature-id-literals` script, which sets `COMPANION_WORKSPACE_ROOT`\n * explicitly. It does not have access to the in-process `CompanionContext`,\n * so the env var is the bootstrap seed — but we deliberately refuse to fall\n * back to `INIT_CWD` or `process.cwd()` the way earlier revisions did:\n *\n * - Multiple candidate roots made it impossible to tell which one was actually\n * used if `resolveHomes()` happened to succeed for more than one.\n * - `INIT_CWD` and `process.cwd()` silently rediscover workspace state and\n * contradict the Phase 5 \"trust one root, resolve once\" contract.\n *\n * If the env var is missing or does not resolve to an app workspace, we fail\n * loudly rather than guessing.\n */\nfunction resolveSaasRootFromCompanion(): string {\n const companionRoot = process.env.COMPANION_WORKSPACE_ROOT;\n if (!companionRoot) {\n throw new Error(\n 'Companion compliance scripts must be invoked with COMPANION_WORKSPACE_ROOT set '\n + 'to the SaaS app root. The package.json \"check:feature-id-literals\" script is '\n + 'responsible for wiring this env var — fix the call site that spawned this '\n + 'process instead of re-introducing ad hoc cwd-based discovery here.',\n );\n }\n\n const declarationRoot = resolveHomes(companionRoot).app.declarationRoot;\n if (!declarationRoot) {\n throw new Error(\n `COMPANION_WORKSPACE_ROOT=\"${companionRoot}\" does not resolve to a SaaS app workspace. `\n + 'Ensure `wildo.saas.config.ts` exists at or above the provided directory.',\n );\n }\n\n return declarationRoot;\n}\n\nfunction shouldScanModule(moduleName: string): boolean {\n return FRAMEWORK_MODULE_PREFIXES.some((prefix) => (\n moduleName === prefix || moduleName.startsWith(prefix)\n ));\n}\n\nfunction isSourceFilePath(filePath: string): boolean {\n return SOURCE_EXTENSIONS.has(extname(filePath));\n}\n\nfunction getScriptKind(filePath: string): ts.ScriptKind {\n const extension = extname(filePath);\n\n if (extension === '.tsx') {\n return ts.ScriptKind.TSX;\n }\n\n if (extension === '.jsx') {\n return ts.ScriptKind.JSX;\n }\n\n return ts.ScriptKind.TS;\n}\n\nfunction walkSourceFiles(directoryPath: string, files: string[]): void {\n for (const entry of readdirSync(directoryPath, { withFileTypes: true })) {\n if (entry.isDirectory()) {\n if (!IGNORED_DIRS.has(entry.name)) {\n walkSourceFiles(join(directoryPath, entry.name), files);\n }\n\n continue;\n }\n\n const filePath = join(directoryPath, entry.name);\n if (isSourceFilePath(filePath)) {\n files.push(filePath);\n }\n }\n}\n\nfunction isImportedBinding(\n importClause: ts.ImportClause | undefined,\n exportedName: string,\n): string | null {\n if (!importClause?.namedBindings || !ts.isNamedImports(importClause.namedBindings)) {\n return null;\n }\n\n for (const element of importClause.namedBindings.elements) {\n const importedName = element.propertyName?.text ?? element.name.text;\n if (importedName === exportedName) {\n return element.name.text;\n }\n }\n\n return null;\n}\n\nfunction getParsedSourceFile(filePath: string): ts.SourceFile {\n const cached = parsedSourceFileCache.get(filePath);\n if (cached) {\n return cached;\n }\n\n const sourceText = readFileSync(filePath, 'utf8');\n const sourceFile = ts.createSourceFile(\n filePath,\n sourceText,\n ts.ScriptTarget.Latest,\n true,\n getScriptKind(filePath),\n );\n\n parsedSourceFileCache.set(filePath, sourceFile);\n return sourceFile;\n}\n\nfunction resolveLocalSourceModule(fromFilePath: string, moduleName: string): string | null {\n if (!moduleName.startsWith('.')) {\n return null;\n }\n\n const resolvedBasePath = resolve(dirname(fromFilePath), moduleName);\n const candidatePaths = [\n resolvedBasePath,\n ...Array.from(SOURCE_EXTENSIONS, (extension) => `${resolvedBasePath}${extension}`),\n ...Array.from(SOURCE_EXTENSIONS, (extension) => join(resolvedBasePath, `index${extension}`)),\n ];\n\n for (const candidatePath of candidatePaths) {\n if (existsSync(candidatePath)) {\n return candidatePath;\n }\n }\n\n return null;\n}\n\nfunction isTrackedFrameworkExport(exportName: string): boolean {\n return exportName === FEATURE_GATE_EXPORT || HOOK_EXPORTS.has(exportName);\n}\n\nfunction sourceFileExportsFrameworkBinding(\n filePath: string,\n exportName: string,\n visited = new Set<string>(),\n): boolean {\n if (!isTrackedFrameworkExport(exportName)) {\n return false;\n }\n\n const cacheKey = `${filePath}::${exportName}`;\n const cached = exportedFrameworkBindingCache.get(cacheKey);\n if (cached !== undefined) {\n return cached;\n }\n\n if (visited.has(cacheKey)) {\n return false;\n }\n\n visited.add(cacheKey);\n\n const sourceFile = getParsedSourceFile(filePath);\n const importedBindings = new Map<string, ImportedBinding>();\n\n for (const statement of sourceFile.statements) {\n if (!ts.isImportDeclaration(statement)) {\n continue;\n }\n\n const moduleName = ts.isStringLiteral(statement.moduleSpecifier)\n ? statement.moduleSpecifier.text\n : null;\n\n if (!moduleName) {\n continue;\n }\n\n const importClause = statement.importClause;\n if (!importClause?.namedBindings || !ts.isNamedImports(importClause.namedBindings)) {\n continue;\n }\n\n for (const element of importClause.namedBindings.elements) {\n const localName = element.name.text;\n const importedName = element.propertyName?.text ?? element.name.text;\n\n if (!isTrackedFrameworkExport(importedName)) {\n continue;\n }\n\n if (shouldScanModule(moduleName)) {\n importedBindings.set(localName, {\n kind: ImportedBindingKind.FRAMEWORK,\n exportName: importedName,\n });\n continue;\n }\n\n const resolvedModulePath = resolveLocalSourceModule(filePath, moduleName);\n if (resolvedModulePath) {\n importedBindings.set(localName, {\n kind: ImportedBindingKind.LOCAL,\n exportName: importedName,\n filePath: resolvedModulePath,\n });\n }\n }\n }\n\n let result = false;\n\n for (const statement of sourceFile.statements) {\n if (!ts.isExportDeclaration(statement)) {\n continue;\n }\n\n /*\n * An EXPORT declaration's `moduleSpecifier` is optional — `export { a, b };` with no `from`\n * clause has none — where an IMPORT declaration's is required, which is why the two sibling\n * loops in this file need no such guard. `ts.isStringLiteral` reads `.kind` off whatever it is\n * handed, so this would have thrown on the first re-export-less `export {}` in a scanned file.\n * It compiled because `strictNullChecks` was off (#352).\n */\n const moduleName = statement.moduleSpecifier !== undefined && ts.isStringLiteral(statement.moduleSpecifier)\n ? statement.moduleSpecifier.text\n : null;\n\n if (moduleName && shouldScanModule(moduleName)) {\n if (!statement.exportClause) {\n result = true;\n break;\n }\n\n if (!ts.isNamedExports(statement.exportClause)) {\n continue;\n }\n\n for (const element of statement.exportClause.elements) {\n const exportedName = element.name.text;\n const originalName = element.propertyName?.text ?? element.name.text;\n\n if (exportedName === exportName && isTrackedFrameworkExport(originalName)) {\n result = true;\n break;\n }\n }\n\n if (result) {\n break;\n }\n\n continue;\n }\n\n if (moduleName) {\n const resolvedModulePath = resolveLocalSourceModule(filePath, moduleName);\n if (!resolvedModulePath) {\n continue;\n }\n\n if (!statement.exportClause) {\n if (sourceFileExportsFrameworkBinding(resolvedModulePath, exportName, visited)) {\n result = true;\n break;\n }\n\n continue;\n }\n\n if (!ts.isNamedExports(statement.exportClause)) {\n continue;\n }\n\n for (const element of statement.exportClause.elements) {\n const exportedName = element.name.text;\n const originalName = element.propertyName?.text ?? element.name.text;\n\n if (\n exportedName === exportName &&\n sourceFileExportsFrameworkBinding(resolvedModulePath, originalName, visited)\n ) {\n result = true;\n break;\n }\n }\n\n if (result) {\n break;\n }\n\n continue;\n }\n\n if (!statement.exportClause || !ts.isNamedExports(statement.exportClause)) {\n continue;\n }\n\n for (const element of statement.exportClause.elements) {\n const exportedName = element.name.text;\n const localName = element.propertyName?.text ?? element.name.text;\n\n if (exportedName !== exportName) {\n continue;\n }\n\n const importedBinding = importedBindings.get(localName);\n if (!importedBinding) {\n continue;\n }\n\n if (importedBinding.kind === ImportedBindingKind.FRAMEWORK) {\n result = true;\n break;\n }\n\n if (\n importedBinding.kind === ImportedBindingKind.LOCAL &&\n sourceFileExportsFrameworkBinding(importedBinding.filePath!, importedBinding.exportName, visited)\n ) {\n result = true;\n break;\n }\n }\n\n if (result) {\n break;\n }\n }\n\n exportedFrameworkBindingCache.set(cacheKey, result);\n return result;\n}\n\nfunction collectTrackedImports(sourceFile: ts.SourceFile) {\n const featureGateBindings = new Set<string>();\n const hookBindings = new Set<string>();\n const namespaceBindings = new Set<string>();\n\n for (const statement of sourceFile.statements) {\n if (!ts.isImportDeclaration(statement)) {\n continue;\n }\n\n const moduleName = ts.isStringLiteral(statement.moduleSpecifier)\n ? statement.moduleSpecifier.text\n : null;\n\n if (!moduleName) {\n continue;\n }\n\n const importClause = statement.importClause;\n const isDirectFrameworkModule = shouldScanModule(moduleName);\n const resolvedLocalModulePath = isDirectFrameworkModule\n ? null\n : resolveLocalSourceModule(sourceFile.fileName, moduleName);\n\n const featureGateBinding = isImportedBinding(importClause, FEATURE_GATE_EXPORT);\n if (\n featureGateBinding &&\n (\n isDirectFrameworkModule ||\n (\n resolvedLocalModulePath &&\n sourceFileExportsFrameworkBinding(resolvedLocalModulePath, FEATURE_GATE_EXPORT)\n )\n )\n ) {\n featureGateBindings.add(featureGateBinding);\n }\n\n for (const hookExport of HOOK_EXPORTS) {\n const hookBinding = isImportedBinding(importClause, hookExport);\n if (\n hookBinding &&\n (\n isDirectFrameworkModule ||\n (\n resolvedLocalModulePath &&\n sourceFileExportsFrameworkBinding(resolvedLocalModulePath, hookExport)\n )\n )\n ) {\n hookBindings.add(hookBinding);\n }\n }\n\n if (\n importClause?.namedBindings &&\n ts.isNamespaceImport(importClause.namedBindings) &&\n (\n isDirectFrameworkModule ||\n (\n resolvedLocalModulePath &&\n (\n sourceFileExportsFrameworkBinding(resolvedLocalModulePath, FEATURE_GATE_EXPORT) ||\n Array.from(HOOK_EXPORTS).some((hookExport) => (\n sourceFileExportsFrameworkBinding(resolvedLocalModulePath, hookExport)\n ))\n )\n )\n )\n ) {\n namespaceBindings.add(importClause.namedBindings.name.text);\n }\n }\n\n return {\n featureGateBindings,\n hookBindings,\n namespaceBindings,\n };\n}\n\nfunction getLiteralStringFromExpression(expression: ts.Expression): string | null {\n if (\n ts.isStringLiteral(expression) ||\n ts.isNoSubstitutionTemplateLiteral(expression)\n ) {\n return expression.text;\n }\n\n return null;\n}\n\nfunction getLiteralStringFromJsxAttribute(initializer: ts.JsxAttributeValue | undefined): string | null {\n if (!initializer) {\n return null;\n }\n\n if (ts.isStringLiteral(initializer)) {\n return initializer.text;\n }\n\n if (ts.isJsxExpression(initializer) && initializer.expression) {\n return getLiteralStringFromExpression(initializer.expression);\n }\n\n return null;\n}\n\nfunction matchesTrackedHook(\n expression: ts.LeftHandSideExpression,\n trackedImports: ReturnType<typeof collectTrackedImports>,\n): string | null {\n if (ts.isIdentifier(expression)) {\n return trackedImports.hookBindings.has(expression.text) ? expression.text : null;\n }\n\n if (\n ts.isPropertyAccessExpression(expression) &&\n ts.isIdentifier(expression.expression) &&\n trackedImports.namespaceBindings.has(expression.expression.text) &&\n HOOK_EXPORTS.has(expression.name.text)\n ) {\n return `${expression.expression.text}.${expression.name.text}`;\n }\n\n return null;\n}\n\nfunction matchesTrackedFeatureGate(\n tagName: ts.JsxTagNameExpression,\n trackedImports: ReturnType<typeof collectTrackedImports>,\n): string | null {\n if (ts.isIdentifier(tagName)) {\n return trackedImports.featureGateBindings.has(tagName.text) ? tagName.text : null;\n }\n\n if (\n ts.isPropertyAccessExpression(tagName) &&\n ts.isIdentifier(tagName.expression) &&\n trackedImports.namespaceBindings.has(tagName.expression.text) &&\n tagName.name.text === FEATURE_GATE_EXPORT\n ) {\n return `${tagName.expression.text}.${tagName.name.text}`;\n }\n\n return null;\n}\n\nfunction formatLocation(scanRoot: string, sourceFile: ts.SourceFile, node: ts.Node): string {\n const { line, character } = sourceFile.getLineAndCharacterOfPosition(node.getStart());\n return `${relative(scanRoot, sourceFile.fileName)}:${line + 1}:${character + 1}`;\n}\n\nfunction collectViolations(filePath: string, scanRoot: string): Violation[] {\n const sourceFile = getParsedSourceFile(filePath);\n const trackedImports = collectTrackedImports(sourceFile);\n\n if (\n trackedImports.featureGateBindings.size === 0 &&\n trackedImports.hookBindings.size === 0 &&\n trackedImports.namespaceBindings.size === 0\n ) {\n return [];\n }\n\n const violations: Violation[] = [];\n\n function visit(node: ts.Node): void {\n if (ts.isCallExpression(node)) {\n const matchedHook = matchesTrackedHook(node.expression, trackedImports);\n if (matchedHook && node.arguments.length > 0) {\n const literalFeatureId = getLiteralStringFromExpression(node.arguments[0]);\n if (literalFeatureId !== null) {\n violations.push({\n location: formatLocation(scanRoot, sourceFile, node.arguments[0]),\n apiName: matchedHook,\n literalFeatureId,\n });\n }\n }\n }\n\n if (ts.isJsxOpeningElement(node) || ts.isJsxSelfClosingElement(node)) {\n const matchedFeatureGate = matchesTrackedFeatureGate(node.tagName, trackedImports);\n if (matchedFeatureGate) {\n for (const attribute of node.attributes.properties) {\n if (\n !ts.isJsxAttribute(attribute) ||\n !ts.isIdentifier(attribute.name) ||\n attribute.name.text !== 'featureId'\n ) {\n continue;\n }\n\n const literalFeatureId = getLiteralStringFromJsxAttribute(attribute.initializer);\n if (literalFeatureId !== null) {\n violations.push({\n location: formatLocation(scanRoot, sourceFile, attribute),\n apiName: matchedFeatureGate,\n literalFeatureId,\n });\n }\n }\n }\n }\n\n ts.forEachChild(node, visit);\n }\n\n visit(sourceFile);\n return violations;\n}\n\nasync function main(): Promise<void> {\n const scanRoot = resolveSaasRootFromCompanion();\n const files: string[] = [];\n\n walkSourceFiles(scanRoot, files);\n\n const violations = files.flatMap((filePath) => collectViolations(filePath, scanRoot));\n if (violations.length === 0) {\n console.log('No raw feature-id literal callsites detected.');\n return;\n }\n\n console.error('Raw feature-id literals are not allowed in app callsites.');\n console.error('Use companion-visible constants, exported app helpers, or registry-backed utilities instead.\\n');\n\n for (const violation of violations) {\n console.error(\n `- ${violation.location} uses ${violation.apiName} with inline feature id \"${violation.literalFeatureId}\"`,\n );\n }\n\n process.exitCode = 1;\n}\n\nmain().catch((error) => {\n console.error('Failed to check raw feature-id literals:', error);\n process.exit(1);\n});\n"]}
1
+ {"version":3,"file":"check-raw-feature-id-literals.companion.js","sourceRoot":"","sources":["../../../../src/code-compliance-check/check-raw-feature-id-literals.companion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACtE,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAE3E,MAAM,iBAAiB,GAAG,IAAI,GAAG,CAAC;IAChC,KAAK;IACL,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,MAAM;CACP,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC;IAC3B,SAAS;IACT,MAAM;IACN,OAAO;IACP,QAAQ;IACR,UAAU;IACV,MAAM;IACN,cAAc;IACd,eAAe;CAChB,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,aAAa,CAAC;AAC1C,MAAM,YAAY,GAAG,IAAI,GAAG,CAAC;IAC3B,wBAAwB;IACxB,gBAAgB;CACjB,CAAC,CAAC;AAEH,MAAM,yBAAyB,GAAG;IAChC,6BAA6B;IAC7B,oCAAoC;CACrC,CAAC;AAQF;;;;GAIG;AACH,IAAK,mBAYJ;AAZD,WAAK,mBAAmB;IACtB;;;OAGG;IACH,8CAAuB,CAAA;IACvB;;;;OAIG;IACH,sCAAe,CAAA;AACjB,CAAC,EAZI,mBAAmB,KAAnB,mBAAmB,QAYvB;AAQD,MAAM,qBAAqB,GAAG,IAAI,GAAG,EAAyB,CAAC;AAC/D,MAAM,6BAA6B,GAAG,IAAI,GAAG,EAAmB,CAAC;AAEjE;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAS,4BAA4B;IACnC,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC;IAC3D,IAAI,CAAC,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E,CAAC;IAChD,MAAM,KAAK,GAAa,EAAE,CAAC;IAE3B,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAEjC,MAAM,UAAU,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;IACtF,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC5B,OAAO,CAAC,GAAG,CAAC,+CAA+C,CAAC,CAAC;QAC7D,OAAO;IACT,CAAC;IAED,OAAO,CAAC,KAAK,CAAC,2DAA2D,CAAC,CAAC;IAC3E,OAAO,CAAC,KAAK,CAAC,gGAAgG,CAAC,CAAC;IAEhH,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,OAAO,CAAC,KAAK,CACX,KAAK,SAAS,CAAC,QAAQ,SAAS,SAAS,CAAC,OAAO,4BAA4B,SAAS,CAAC,gBAAgB,GAAG,CAC3G,CAAC;IACJ,CAAC;IAED,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;AACvB,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,0CAA0C,EAAE,KAAK,CAAC,CAAC;IACjE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC","sourcesContent":["import { existsSync, readdirSync, readFileSync } from 'node:fs';\nimport { dirname, extname, join, relative, resolve } from 'node:path';\nimport ts from 'typescript';\nimport { resolveHomes } from '@wildo-ai/platform-config-lib/resolve-homes';\n\nconst SOURCE_EXTENSIONS = new Set([\n '.ts',\n '.tsx',\n '.js',\n '.jsx',\n '.mts',\n '.cts',\n]);\n\nconst IGNORED_DIRS = new Set([\n '.cursor',\n '.git',\n '.next',\n '.turbo',\n 'coverage',\n 'dist',\n 'node_modules',\n '_code_archive',\n]);\n\nconst FEATURE_GATE_EXPORT = 'FeatureGate';\nconst HOOK_EXPORTS = new Set([\n 'useFeatureAvailability',\n 'useFeatureGate',\n]);\n\nconst FRAMEWORK_MODULE_PREFIXES = [\n '@wildo-ai/saas-frontend-lib',\n '~wildo-frontend-lib/core/features/',\n];\n\ninterface Violation {\n location: string;\n apiName: string;\n literalFeatureId: string;\n}\n\n/**\n * Provenance of an imported feature-gating binding, resolved from the import\n * specifier that brought it into the scanned file. Decides how the sweep\n * establishes that the binding ultimately comes from the framework.\n */\nenum ImportedBindingKind {\n /**\n * Imported directly from a framework module (one of\n * `FRAMEWORK_MODULE_PREFIXES`) — trusted as a framework export as-is.\n */\n FRAMEWORK = 'framework',\n /**\n * Imported from an app-local module; the export must be traced through that\n * module (`sourceFileExportsFrameworkBinding`) to a framework re-export\n * before the binding is trusted.\n */\n LOCAL = 'local',\n}\n\ninterface ImportedBinding {\n kind: ImportedBindingKind;\n exportName: string;\n filePath?: string;\n}\n\nconst parsedSourceFileCache = new Map<string, ts.SourceFile>();\nconst exportedFrameworkBindingCache = new Map<string, boolean>();\n\n/**\n * Resolve the SaaS app root for the compliance sweep from a single trusted\n * source: the `COMPANION_WORKSPACE_ROOT` environment variable.\n *\n * This script is a standalone companion command invoked by the package.json\n * `check:feature-id-literals` script, which sets `COMPANION_WORKSPACE_ROOT`\n * explicitly. It does not have access to the in-process `CompanionContext`,\n * so the env var is the bootstrap seed — but we deliberately refuse to fall\n * back to `INIT_CWD` or `process.cwd()` the way earlier revisions did:\n *\n * - Multiple candidate roots made it impossible to tell which one was actually\n * used if `resolveHomes()` happened to succeed for more than one.\n * - `INIT_CWD` and `process.cwd()` silently rediscover workspace state and\n * contradict the Phase 5 \"trust one root, resolve once\" contract.\n *\n * If the env var is missing or does not resolve to an app workspace, we fail\n * loudly rather than guessing.\n */\nfunction resolveSaasRootFromCompanion(): string {\n const companionRoot = process.env.COMPANION_WORKSPACE_ROOT;\n if (!companionRoot) {\n throw new Error(\n 'Companion compliance scripts must be invoked with COMPANION_WORKSPACE_ROOT set '\n + 'to the SaaS app root. The package.json \"check:feature-id-literals\" script is '\n + 'responsible for wiring this env var — fix the call site that spawned this '\n + 'process instead of re-introducing ad hoc cwd-based discovery here.',\n );\n }\n\n const declarationRoot = resolveHomes(companionRoot).app.declarationRoot;\n if (!declarationRoot) {\n throw new Error(\n `COMPANION_WORKSPACE_ROOT=\"${companionRoot}\" does not resolve to a SaaS app workspace. `\n + 'Ensure `wildo.saas.config.ts` exists at or above the provided directory.',\n );\n }\n\n return declarationRoot;\n}\n\nfunction shouldScanModule(moduleName: string): boolean {\n return FRAMEWORK_MODULE_PREFIXES.some((prefix) => (\n moduleName === prefix || moduleName.startsWith(prefix)\n ));\n}\n\nfunction isSourceFilePath(filePath: string): boolean {\n return SOURCE_EXTENSIONS.has(extname(filePath));\n}\n\nfunction getScriptKind(filePath: string): ts.ScriptKind {\n const extension = extname(filePath);\n\n if (extension === '.tsx') {\n return ts.ScriptKind.TSX;\n }\n\n if (extension === '.jsx') {\n return ts.ScriptKind.JSX;\n }\n\n return ts.ScriptKind.TS;\n}\n\nfunction walkSourceFiles(directoryPath: string, files: string[]): void {\n for (const entry of readdirSync(directoryPath, { withFileTypes: true })) {\n if (entry.isDirectory()) {\n if (!IGNORED_DIRS.has(entry.name)) {\n walkSourceFiles(join(directoryPath, entry.name), files);\n }\n\n continue;\n }\n\n const filePath = join(directoryPath, entry.name);\n if (isSourceFilePath(filePath)) {\n files.push(filePath);\n }\n }\n}\n\nfunction isImportedBinding(\n importClause: ts.ImportClause | undefined,\n exportedName: string,\n): string | null {\n if (!importClause?.namedBindings || !ts.isNamedImports(importClause.namedBindings)) {\n return null;\n }\n\n for (const element of importClause.namedBindings.elements) {\n const importedName = element.propertyName?.text ?? element.name.text;\n if (importedName === exportedName) {\n return element.name.text;\n }\n }\n\n return null;\n}\n\nfunction getParsedSourceFile(filePath: string): ts.SourceFile {\n const cached = parsedSourceFileCache.get(filePath);\n if (cached) {\n return cached;\n }\n\n const sourceText = readFileSync(filePath, 'utf8');\n const sourceFile = ts.createSourceFile(\n filePath,\n sourceText,\n ts.ScriptTarget.Latest,\n true,\n getScriptKind(filePath),\n );\n\n parsedSourceFileCache.set(filePath, sourceFile);\n return sourceFile;\n}\n\nfunction resolveLocalSourceModule(fromFilePath: string, moduleName: string): string | null {\n if (!moduleName.startsWith('.')) {\n return null;\n }\n\n const resolvedBasePath = resolve(dirname(fromFilePath), moduleName);\n const candidatePaths = [\n resolvedBasePath,\n ...Array.from(SOURCE_EXTENSIONS, (extension) => `${resolvedBasePath}${extension}`),\n ...Array.from(SOURCE_EXTENSIONS, (extension) => join(resolvedBasePath, `index${extension}`)),\n ];\n\n for (const candidatePath of candidatePaths) {\n if (existsSync(candidatePath)) {\n return candidatePath;\n }\n }\n\n return null;\n}\n\nfunction isTrackedFrameworkExport(exportName: string): boolean {\n return exportName === FEATURE_GATE_EXPORT || HOOK_EXPORTS.has(exportName);\n}\n\nfunction sourceFileExportsFrameworkBinding(\n filePath: string,\n exportName: string,\n visited = new Set<string>(),\n): boolean {\n if (!isTrackedFrameworkExport(exportName)) {\n return false;\n }\n\n const cacheKey = `${filePath}::${exportName}`;\n const cached = exportedFrameworkBindingCache.get(cacheKey);\n if (cached !== undefined) {\n return cached;\n }\n\n if (visited.has(cacheKey)) {\n return false;\n }\n\n visited.add(cacheKey);\n\n const sourceFile = getParsedSourceFile(filePath);\n const importedBindings = new Map<string, ImportedBinding>();\n\n for (const statement of sourceFile.statements) {\n if (!ts.isImportDeclaration(statement)) {\n continue;\n }\n\n const moduleName = ts.isStringLiteral(statement.moduleSpecifier)\n ? statement.moduleSpecifier.text\n : null;\n\n if (!moduleName) {\n continue;\n }\n\n const importClause = statement.importClause;\n if (!importClause?.namedBindings || !ts.isNamedImports(importClause.namedBindings)) {\n continue;\n }\n\n for (const element of importClause.namedBindings.elements) {\n const localName = element.name.text;\n const importedName = element.propertyName?.text ?? element.name.text;\n\n if (!isTrackedFrameworkExport(importedName)) {\n continue;\n }\n\n if (shouldScanModule(moduleName)) {\n importedBindings.set(localName, {\n kind: ImportedBindingKind.FRAMEWORK,\n exportName: importedName,\n });\n continue;\n }\n\n const resolvedModulePath = resolveLocalSourceModule(filePath, moduleName);\n if (resolvedModulePath) {\n importedBindings.set(localName, {\n kind: ImportedBindingKind.LOCAL,\n exportName: importedName,\n filePath: resolvedModulePath,\n });\n }\n }\n }\n\n let result = false;\n\n for (const statement of sourceFile.statements) {\n if (!ts.isExportDeclaration(statement)) {\n continue;\n }\n\n /*\n * An EXPORT declaration's `moduleSpecifier` is optional — `export { a, b };` with no `from`\n * clause has none — where an IMPORT declaration's is required, which is why the two sibling\n * loops in this file need no such guard. `ts.isStringLiteral` reads `.kind` off whatever it is\n * handed, so this would have thrown on the first re-export-less `export {}` in a scanned file.\n * It compiled because `strictNullChecks` was off (#352).\n */\n const moduleName = statement.moduleSpecifier !== undefined && ts.isStringLiteral(statement.moduleSpecifier)\n ? statement.moduleSpecifier.text\n : null;\n\n if (moduleName && shouldScanModule(moduleName)) {\n if (!statement.exportClause) {\n result = true;\n break;\n }\n\n if (!ts.isNamedExports(statement.exportClause)) {\n continue;\n }\n\n for (const element of statement.exportClause.elements) {\n const exportedName = element.name.text;\n const originalName = element.propertyName?.text ?? element.name.text;\n\n if (exportedName === exportName && isTrackedFrameworkExport(originalName)) {\n result = true;\n break;\n }\n }\n\n if (result) {\n break;\n }\n\n continue;\n }\n\n if (moduleName) {\n const resolvedModulePath = resolveLocalSourceModule(filePath, moduleName);\n if (!resolvedModulePath) {\n continue;\n }\n\n if (!statement.exportClause) {\n if (sourceFileExportsFrameworkBinding(resolvedModulePath, exportName, visited)) {\n result = true;\n break;\n }\n\n continue;\n }\n\n if (!ts.isNamedExports(statement.exportClause)) {\n continue;\n }\n\n for (const element of statement.exportClause.elements) {\n const exportedName = element.name.text;\n const originalName = element.propertyName?.text ?? element.name.text;\n\n if (\n exportedName === exportName &&\n sourceFileExportsFrameworkBinding(resolvedModulePath, originalName, visited)\n ) {\n result = true;\n break;\n }\n }\n\n if (result) {\n break;\n }\n\n continue;\n }\n\n if (!statement.exportClause || !ts.isNamedExports(statement.exportClause)) {\n continue;\n }\n\n for (const element of statement.exportClause.elements) {\n const exportedName = element.name.text;\n const localName = element.propertyName?.text ?? element.name.text;\n\n if (exportedName !== exportName) {\n continue;\n }\n\n const importedBinding = importedBindings.get(localName);\n if (!importedBinding) {\n continue;\n }\n\n if (importedBinding.kind === ImportedBindingKind.FRAMEWORK) {\n result = true;\n break;\n }\n\n if (\n importedBinding.kind === ImportedBindingKind.LOCAL &&\n sourceFileExportsFrameworkBinding(importedBinding.filePath!, importedBinding.exportName, visited)\n ) {\n result = true;\n break;\n }\n }\n\n if (result) {\n break;\n }\n }\n\n exportedFrameworkBindingCache.set(cacheKey, result);\n return result;\n}\n\nfunction collectTrackedImports(sourceFile: ts.SourceFile) {\n const featureGateBindings = new Set<string>();\n const hookBindings = new Set<string>();\n const namespaceBindings = new Set<string>();\n\n for (const statement of sourceFile.statements) {\n if (!ts.isImportDeclaration(statement)) {\n continue;\n }\n\n const moduleName = ts.isStringLiteral(statement.moduleSpecifier)\n ? statement.moduleSpecifier.text\n : null;\n\n if (!moduleName) {\n continue;\n }\n\n const importClause = statement.importClause;\n const isDirectFrameworkModule = shouldScanModule(moduleName);\n const resolvedLocalModulePath = isDirectFrameworkModule\n ? null\n : resolveLocalSourceModule(sourceFile.fileName, moduleName);\n\n const featureGateBinding = isImportedBinding(importClause, FEATURE_GATE_EXPORT);\n if (\n featureGateBinding &&\n (\n isDirectFrameworkModule ||\n (\n resolvedLocalModulePath &&\n sourceFileExportsFrameworkBinding(resolvedLocalModulePath, FEATURE_GATE_EXPORT)\n )\n )\n ) {\n featureGateBindings.add(featureGateBinding);\n }\n\n for (const hookExport of HOOK_EXPORTS) {\n const hookBinding = isImportedBinding(importClause, hookExport);\n if (\n hookBinding &&\n (\n isDirectFrameworkModule ||\n (\n resolvedLocalModulePath &&\n sourceFileExportsFrameworkBinding(resolvedLocalModulePath, hookExport)\n )\n )\n ) {\n hookBindings.add(hookBinding);\n }\n }\n\n if (\n importClause?.namedBindings &&\n ts.isNamespaceImport(importClause.namedBindings) &&\n (\n isDirectFrameworkModule ||\n (\n resolvedLocalModulePath &&\n (\n sourceFileExportsFrameworkBinding(resolvedLocalModulePath, FEATURE_GATE_EXPORT) ||\n Array.from(HOOK_EXPORTS).some((hookExport) => (\n sourceFileExportsFrameworkBinding(resolvedLocalModulePath, hookExport)\n ))\n )\n )\n )\n ) {\n namespaceBindings.add(importClause.namedBindings.name.text);\n }\n }\n\n return {\n featureGateBindings,\n hookBindings,\n namespaceBindings,\n };\n}\n\nfunction getLiteralStringFromExpression(expression: ts.Expression): string | null {\n if (\n ts.isStringLiteral(expression) ||\n ts.isNoSubstitutionTemplateLiteral(expression)\n ) {\n return expression.text;\n }\n\n return null;\n}\n\nfunction getLiteralStringFromJsxAttribute(initializer: ts.JsxAttributeValue | undefined): string | null {\n if (!initializer) {\n return null;\n }\n\n if (ts.isStringLiteral(initializer)) {\n return initializer.text;\n }\n\n if (ts.isJsxExpression(initializer) && initializer.expression) {\n return getLiteralStringFromExpression(initializer.expression);\n }\n\n return null;\n}\n\nfunction matchesTrackedHook(\n expression: ts.LeftHandSideExpression,\n trackedImports: ReturnType<typeof collectTrackedImports>,\n): string | null {\n if (ts.isIdentifier(expression)) {\n return trackedImports.hookBindings.has(expression.text) ? expression.text : null;\n }\n\n if (\n ts.isPropertyAccessExpression(expression) &&\n ts.isIdentifier(expression.expression) &&\n trackedImports.namespaceBindings.has(expression.expression.text) &&\n HOOK_EXPORTS.has(expression.name.text)\n ) {\n return `${expression.expression.text}.${expression.name.text}`;\n }\n\n return null;\n}\n\nfunction matchesTrackedFeatureGate(\n tagName: ts.JsxTagNameExpression,\n trackedImports: ReturnType<typeof collectTrackedImports>,\n): string | null {\n if (ts.isIdentifier(tagName)) {\n return trackedImports.featureGateBindings.has(tagName.text) ? tagName.text : null;\n }\n\n if (\n ts.isPropertyAccessExpression(tagName) &&\n ts.isIdentifier(tagName.expression) &&\n trackedImports.namespaceBindings.has(tagName.expression.text) &&\n tagName.name.text === FEATURE_GATE_EXPORT\n ) {\n return `${tagName.expression.text}.${tagName.name.text}`;\n }\n\n return null;\n}\n\nfunction formatLocation(scanRoot: string, sourceFile: ts.SourceFile, node: ts.Node): string {\n const { line, character } = sourceFile.getLineAndCharacterOfPosition(node.getStart());\n return `${relative(scanRoot, sourceFile.fileName)}:${line + 1}:${character + 1}`;\n}\n\nfunction collectViolations(filePath: string, scanRoot: string): Violation[] {\n const sourceFile = getParsedSourceFile(filePath);\n const trackedImports = collectTrackedImports(sourceFile);\n\n if (\n trackedImports.featureGateBindings.size === 0 &&\n trackedImports.hookBindings.size === 0 &&\n trackedImports.namespaceBindings.size === 0\n ) {\n return [];\n }\n\n const violations: Violation[] = [];\n\n function visit(node: ts.Node): void {\n if (ts.isCallExpression(node)) {\n const matchedHook = matchesTrackedHook(node.expression, trackedImports);\n if (matchedHook && node.arguments.length > 0) {\n const literalFeatureId = getLiteralStringFromExpression(node.arguments[0]);\n if (literalFeatureId !== null) {\n violations.push({\n location: formatLocation(scanRoot, sourceFile, node.arguments[0]),\n apiName: matchedHook,\n literalFeatureId,\n });\n }\n }\n }\n\n if (ts.isJsxOpeningElement(node) || ts.isJsxSelfClosingElement(node)) {\n const matchedFeatureGate = matchesTrackedFeatureGate(node.tagName, trackedImports);\n if (matchedFeatureGate) {\n for (const attribute of node.attributes.properties) {\n if (\n !ts.isJsxAttribute(attribute) ||\n !ts.isIdentifier(attribute.name) ||\n attribute.name.text !== 'featureId'\n ) {\n continue;\n }\n\n const literalFeatureId = getLiteralStringFromJsxAttribute(attribute.initializer);\n if (literalFeatureId !== null) {\n violations.push({\n location: formatLocation(scanRoot, sourceFile, attribute),\n apiName: matchedFeatureGate,\n literalFeatureId,\n });\n }\n }\n }\n }\n\n ts.forEachChild(node, visit);\n }\n\n visit(sourceFile);\n return violations;\n}\n\nasync function main(): Promise<void> {\n const scanRoot = resolveSaasRootFromCompanion();\n const files: string[] = [];\n\n walkSourceFiles(scanRoot, files);\n\n const violations = files.flatMap((filePath) => collectViolations(filePath, scanRoot));\n if (violations.length === 0) {\n console.log('No raw feature-id literal callsites detected.');\n return;\n }\n\n console.error('Raw feature-id literals are not allowed in app callsites.');\n console.error('Use companion-visible constants, exported app helpers, or registry-backed utilities instead.\\n');\n\n for (const violation of violations) {\n console.error(\n `- ${violation.location} uses ${violation.apiName} with inline feature id \"${violation.literalFeatureId}\"`,\n );\n }\n\n process.exitCode = 1;\n}\n\nmain().catch((error) => {\n console.error('Failed to check raw feature-id literals:', error);\n process.exit(1);\n});\n"]}
@@ -2,7 +2,6 @@ import { CodingAgentHostLoginState } from '@wildo-ai/external-connectors-models'
2
2
  import { z } from 'zod';
3
3
  import { FlowsActors_Status } from '@wildo-ai/saas-models';
4
4
  import { CompanionIntrospectionBehaviorCategoryValues, CompanionIntrospectionBehaviorIdValues, CompanionIntrospectionMaterializationKindValues, CompanionIntrospectionRouteTargetValues, CompanionIntrospectionServiceKindValues } from '../core/introspection/models/companion-introspection.models';
5
- import { BuildTaskRearmReason } from '../meta-workflows/models/build-task-rearm.models';
6
5
  /**
7
6
  * Dev Companion API Schemas
8
7
  *
@@ -1677,11 +1676,33 @@ export declare const CompanionUpdateActorExecutionRequestSchema: z.ZodObject<{
1677
1676
  export type CompanionUpdateActorExecutionRequest = z.infer<typeof CompanionUpdateActorExecutionRequestSchema>;
1678
1677
  /** `POST /build/tasks/:taskRef/rearm` (#1535) — why the task goes back in the queue. */
1679
1678
  export declare const CompanionRearmBuildTaskRequestSchema: z.ZodObject<{
1680
- reason: z.ZodEnum<typeof BuildTaskRearmReason>;
1679
+ reason: z.ZodEnum<{
1680
+ "probe-corrected": import("../meta-workflows/models/build-task-rearm.models").BuildTaskRearmReason.PROBE_CORRECTED;
1681
+ "blocking-defect-fixed": import("../meta-workflows/models/build-task-rearm.models").BuildTaskRearmReason.BLOCKING_DEFECT_FIXED;
1682
+ "operator-judgement": import("../meta-workflows/models/build-task-rearm.models").BuildTaskRearmReason.OPERATOR_JUDGEMENT;
1683
+ }>;
1681
1684
  /** What was fixed, in a sentence. Required: a reason code alone cannot say which defect. */
1682
1685
  note: z.ZodString;
1683
1686
  }, z.core.$strict>;
1684
1687
  export type CompanionRearmBuildTaskRequest = z.infer<typeof CompanionRearmBuildTaskRequestSchema>;
1688
+ /**
1689
+ * `POST /build/tasks/:taskRef/dispatch` (#1652). `despiteLanded` runs a task its landing probe calls landed,
1690
+ * because the operator says that landing is wrong (#2217) — the same reasons and the same required note as a
1691
+ * re-arm, recorded on the run it starts.
1692
+ */
1693
+ export declare const CompanionDispatchNamedBuildTaskRequestSchema: z.ZodObject<{
1694
+ despiteLanded: z.ZodOptional<z.ZodObject<{
1695
+ reason: z.ZodEnum<{
1696
+ "probe-corrected": import("../meta-workflows/models/build-task-rearm.models").BuildTaskRearmReason.PROBE_CORRECTED;
1697
+ "blocking-defect-fixed": import("../meta-workflows/models/build-task-rearm.models").BuildTaskRearmReason.BLOCKING_DEFECT_FIXED;
1698
+ "operator-judgement": import("../meta-workflows/models/build-task-rearm.models").BuildTaskRearmReason.OPERATOR_JUDGEMENT;
1699
+ }>;
1700
+ /** What was fixed, in a sentence. Required: a reason code alone cannot say which defect. */
1701
+ note: z.ZodString;
1702
+ }, z.core.$strict>>;
1703
+ /** Start past a creation-preflight refusal (#2229) — the person's explicit decision, `wildo build run --skip-preflight`. */
1704
+ skipPreflight: z.ZodOptional<z.ZodBoolean>;
1705
+ }, z.core.$strict>;
1685
1706
  export declare const CompanionUpdateActorTaskRequestSchema: z.ZodObject<{
1686
1707
  output: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
1687
1708
  input: z.ZodOptional<z.ZodAny>;
@@ -1 +1 @@
1
- {"version":3,"file":"companion-api.schemas.d.ts","sourceRoot":"","sources":["../../../src/companion-api/companion-api.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,y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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAgBjD,CAAC;AAQF;;;;GAIG;AACH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuCnD,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,oCAAoC,GAC9C,CAAC,CAAC,KAAK,CAAC,OAAO,0CAA0C,CAAC,CAAC;AAC7D,MAAM,MAAM,mCAAmC,GAC7C,CAAC,CAAC,KAAK,CAAC,OAAO,yCAAyC,CAAC,CAAC;AAC5D,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,+BAA+B,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AACxD,MAAM,MAAM,+BAA+B,GACzC,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AACxD,MAAM,MAAM,kCAAkC,GAC5C,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC"}
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
  import { Actors_Task_Schema, ActorSystem_ExecutionSchema, FlowSystem_Execution_Schema, FlowsActors_Status, HumanDecision_ResolutionSchema, } from '@wildo-ai/saas-models';
4
4
  import { CompanionIntrospectionBehaviorCategoryValues, CompanionIntrospectionBehaviorIdValues, CompanionIntrospectionMaterializationKindValues, CompanionIntrospectionRouteTargetValues, CompanionIntrospectionServiceKindValues, } from '../core/introspection/models/companion-introspection.models.js';
5
5
  import { safeParseSpecificationContextFactoryRequest, } from '../core/specifications/specification-context-factory.models.js';
6
- import { BuildTaskRearmReason } from '../meta-workflows/models/build-task-rearm.models.js';
6
+ import { OPERATOR_BUILD_TASK_REARM_REASONS } from '../meta-workflows/models/build-task-rearm.models.js';
7
7
  const TERMINAL_FLOWS_ACTORS_STATUSES = new Set([
8
8
  FlowsActors_Status.COMPLETED,
9
9
  FlowsActors_Status.FAILED,
@@ -294,10 +294,21 @@ export const CompanionUpdateActorExecutionRequestSchema = z.object({
294
294
  });
295
295
  /** `POST /build/tasks/:taskRef/rearm` (#1535) — why the task goes back in the queue. */
296
296
  export const CompanionRearmBuildTaskRequestSchema = z.strictObject({
297
- reason: z.enum(BuildTaskRearmReason),
297
+ // A person's reasons only: the wave's own reason records a detection only the wave makes (#2210).
298
+ reason: z.enum(OPERATOR_BUILD_TASK_REARM_REASONS),
298
299
  /** What was fixed, in a sentence. Required: a reason code alone cannot say which defect. */
299
300
  note: z.string().trim().min(1),
300
301
  });
302
+ /**
303
+ * `POST /build/tasks/:taskRef/dispatch` (#1652). `despiteLanded` runs a task its landing probe calls landed,
304
+ * because the operator says that landing is wrong (#2217) — the same reasons and the same required note as a
305
+ * re-arm, recorded on the run it starts.
306
+ */
307
+ export const CompanionDispatchNamedBuildTaskRequestSchema = z.strictObject({
308
+ despiteLanded: CompanionRearmBuildTaskRequestSchema.optional(),
309
+ /** Start past a creation-preflight refusal (#2229) — the person's explicit decision, `wildo build run --skip-preflight`. */
310
+ skipPreflight: z.boolean().optional(),
311
+ });
301
312
  export const CompanionUpdateActorTaskRequestSchema = Actors_Task_Schema.omit({
302
313
  _id: true,
303
314
  createdAt: true,