@wildo-ai/dev-companion 1.1.3 → 1.1.4

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 (549) hide show
  1. package/dist/esm/.tsbuildinfo +1 -1
  2. package/dist/esm/__tests__/asset-noop.d.ts.map +1 -1
  3. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +1 -1
  4. package/dist/esm/__tests__/internal-test-view.d.ts.map +1 -1
  5. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.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-judge.actors-system.definitions.d.ts.map +1 -1
  8. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +9 -3
  9. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  10. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  11. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +3 -24
  12. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  13. package/dist/esm/brand/services/brand-accept.companion.service.js +10 -48
  14. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  15. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  16. package/dist/esm/brand/services/logo-deliberation.companion.service.js +2 -8
  17. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  18. package/dist/esm/brand/services/logo-generation.companion.service.d.ts +6 -3
  19. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  20. package/dist/esm/brand/services/logo-generation.companion.service.js +11 -12
  21. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  22. package/dist/esm/brand/utils/derived-brand-assets.d.ts +0 -1
  23. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  24. package/dist/esm/brand/utils/derived-brand-assets.js +1 -2
  25. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  26. package/dist/esm/brand/utils/stage-brand-candidate.d.ts +7 -9
  27. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  28. package/dist/esm/brand/utils/stage-brand-candidate.js +8 -11
  29. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  30. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +52 -2
  31. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  32. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +45 -0
  33. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  34. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +45 -5
  35. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  36. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +192 -13
  37. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  38. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts +12 -22
  39. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  40. package/dist/esm/claude-cli/services/git-change-set.companion.service.js +151 -82
  41. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  42. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts +30 -4
  43. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  44. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js +30 -4
  45. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  46. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +16 -0
  47. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  48. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +17 -0
  49. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  50. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  51. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  52. package/dist/esm/companion-api/companion-api.schemas.d.ts +57 -57
  53. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  54. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  55. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts +90 -0
  56. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -0
  57. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js +98 -0
  58. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -0
  59. package/dist/esm/companion-api/controllers/companion.controller.d.ts +33 -5
  60. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  61. package/dist/esm/companion-api/controllers/companion.controller.js +150 -40
  62. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  63. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts +8 -1
  64. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  65. package/dist/esm/core/auth/companion-auth-floor.companion.service.js +8 -1
  66. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  67. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  68. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  69. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  70. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  71. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  72. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  73. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  74. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  75. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  76. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  77. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  78. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  79. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts +34 -0
  80. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -0
  81. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js +65 -0
  82. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -0
  83. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts +11 -1
  84. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  85. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  86. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  87. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  88. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  89. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js +10 -2
  90. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  91. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  92. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  93. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  94. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  95. package/dist/esm/core/inject/models/container.js +0 -7
  96. package/dist/esm/core/inject/models/container.js.map +1 -1
  97. package/dist/esm/core/inject/models/service-types.d.ts +0 -1
  98. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  99. package/dist/esm/core/inject/models/service-types.js +0 -1
  100. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  101. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  102. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  103. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  104. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +8 -4
  105. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  106. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  107. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +8 -1
  108. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  109. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  110. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  111. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  112. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  113. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +42 -1
  114. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  115. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  116. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  117. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  118. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  119. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts +4 -9
  120. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  121. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  122. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  123. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  124. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  125. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  126. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  127. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  128. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +3 -2
  129. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  130. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  131. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  132. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts +14 -5
  133. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  134. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js +14 -5
  135. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  136. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  137. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  138. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts +0 -21
  139. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  140. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +39 -1
  141. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  142. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  143. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  144. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  145. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts +41 -2
  146. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  147. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +178 -41
  148. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  149. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  150. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts +23 -0
  151. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  152. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js +23 -0
  153. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  154. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  155. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
  156. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  157. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  158. package/dist/esm/core/runtime/companion-startup-assembly.js +5 -0
  159. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  160. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  161. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  162. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +16 -13
  163. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  164. package/dist/esm/core/runtime/services/start-companion-application.service.js +70 -45
  165. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  166. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  167. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  168. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js +9 -2
  169. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  170. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  171. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  172. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  173. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  174. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  175. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  176. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  177. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  178. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  179. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  180. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  181. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  182. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  183. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  184. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  185. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  186. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  187. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  188. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  189. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  190. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  191. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  192. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  193. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  194. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  195. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  196. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  197. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  198. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  199. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  200. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  201. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  202. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  203. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  204. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  205. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  206. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  207. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  208. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  209. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  210. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  211. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  212. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  213. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  214. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  215. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  216. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  217. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  218. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  219. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  220. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  221. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  222. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  223. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  224. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  225. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  226. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  227. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  228. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  229. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  230. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  231. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  232. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  233. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  234. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  235. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  236. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  237. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  238. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js +4 -4
  239. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  240. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  241. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  242. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  243. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  244. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +13 -3
  245. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  246. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  247. package/dist/esm/deliberations/services/deliberation.companion.service.js +0 -5
  248. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  249. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  250. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js +0 -2
  251. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  252. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  253. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  254. package/dist/esm/email/models/email-template.actors-system.definitions.js +4 -2
  255. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  256. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts +1 -1
  257. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  258. package/dist/esm/email/services/email-spec-context-loader.companion.service.js +1 -1
  259. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  260. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  261. package/dist/esm/email/services/email-template.companion.service.js +23 -1
  262. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  263. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  264. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  265. package/dist/esm/executions/services/companion-executions.companion.service.d.ts +82 -3
  266. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  267. package/dist/esm/executions/services/companion-executions.companion.service.js +128 -6
  268. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  269. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  270. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +7 -3
  271. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  272. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  273. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +11 -5
  274. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  275. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  276. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +9 -24
  277. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  278. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +11 -60
  279. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  280. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  281. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  282. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  283. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  284. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  285. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  286. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  287. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  288. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  289. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  290. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  291. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  292. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  293. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  294. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  295. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  296. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  297. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  298. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  299. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  300. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  301. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  302. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  303. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  304. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  305. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  306. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  307. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  308. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  309. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  310. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  311. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  312. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  313. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  314. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  315. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  316. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  317. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  318. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  319. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  320. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  321. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  322. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  323. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  324. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  325. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  326. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  327. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  328. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  329. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  330. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  331. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  332. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  333. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  334. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  335. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  336. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  337. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  338. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  339. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  340. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  341. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  342. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  343. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  344. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  345. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  346. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  347. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  348. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  349. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  350. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  351. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  352. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  353. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  354. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  355. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  356. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  357. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  358. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  359. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  360. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  361. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  362. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  363. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  364. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  365. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  366. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  367. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  368. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  369. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  370. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  371. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  372. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  373. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  374. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  375. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  376. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  377. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  378. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  379. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  380. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  381. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  382. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  383. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  384. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts +39 -0
  385. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -0
  386. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js +39 -0
  387. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -0
  388. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  389. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  390. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  391. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  392. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  393. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  394. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  395. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  396. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  397. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  398. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  399. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  400. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  401. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  402. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  403. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  404. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  405. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  406. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  407. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  408. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  409. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  410. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  411. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  412. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  413. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  414. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  415. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  416. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  417. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  418. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  419. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  420. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  421. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  422. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  423. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  424. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  425. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  426. package/dist/esm/i18n/composite_views/app.creation-board.en.d.ts.map +1 -1
  427. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  428. package/dist/esm/i18n/index.d.ts.map +1 -1
  429. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  430. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  431. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  432. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  433. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  434. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  435. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  436. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  437. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  438. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  439. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +58 -0
  440. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  441. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +35 -0
  442. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  443. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  444. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js +8 -3
  445. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  446. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  447. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +55 -1
  448. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  449. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +178 -73
  450. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  451. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts +3 -3
  452. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  453. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js +16 -5
  454. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  455. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +35 -2
  456. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  457. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +68 -29
  458. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  459. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  460. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +126 -35
  461. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  462. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  463. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  464. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  465. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts +143 -0
  466. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -0
  467. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js +179 -0
  468. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -0
  469. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts +154 -0
  470. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -0
  471. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js +174 -0
  472. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -0
  473. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  474. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  475. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +104 -0
  476. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  477. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +163 -18
  478. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  479. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  480. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  481. package/dist/esm/index.d.ts.map +1 -1
  482. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  483. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts +82 -3
  484. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  485. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +210 -54
  486. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  487. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts +27 -1
  488. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  489. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js +38 -5
  490. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  491. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts +49 -0
  492. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -0
  493. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js +95 -0
  494. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -0
  495. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  496. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  497. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js +9 -4
  498. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  499. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +1 -1
  500. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +25 -6
  501. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  502. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +82 -25
  503. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  504. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +83 -2
  505. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  506. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +197 -4
  507. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  508. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  509. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  510. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  511. package/dist/esm/meta-workflows/services/playbook-choreography-checkpoint.companion.service.d.ts.map +1 -1
  512. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  513. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  514. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +44 -3
  515. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  516. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +346 -42
  517. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  518. package/dist/esm/meta-workflows/services/playbook-suspended-run.companion.service.d.ts.map +1 -1
  519. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts +117 -2
  520. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  521. package/dist/esm/technical-doc/services/technical-doc.companion.service.js +260 -69
  522. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  523. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts +7 -1
  524. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  525. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js +179 -10
  526. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  527. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  528. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  529. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts +2 -1
  530. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  531. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js +10 -2
  532. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  533. package/package.json +17 -17
  534. package/dist/esm/core/runtime/companion-startup-composition-fence.d.ts +0 -44
  535. package/dist/esm/core/runtime/companion-startup-composition-fence.d.ts.map +0 -1
  536. package/dist/esm/core/runtime/companion-startup-composition-fence.js +0 -85
  537. package/dist/esm/core/runtime/companion-startup-composition-fence.js.map +0 -1
  538. package/dist/esm/expert-personas/utils/canonical-json.d.ts +0 -25
  539. package/dist/esm/expert-personas/utils/canonical-json.d.ts.map +0 -1
  540. package/dist/esm/expert-personas/utils/canonical-json.js +0 -45
  541. package/dist/esm/expert-personas/utils/canonical-json.js.map +0 -1
  542. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts +0 -19
  543. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +0 -1
  544. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js +0 -19
  545. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +0 -1
  546. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.d.ts +0 -17
  547. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.d.ts.map +0 -1
  548. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.js +0 -17
  549. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PROMOTION_CODE_INPUT.en.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"expert-persona-critique.actors-system.definitions.js","sourceRoot":"","sources":["../../../../../src/expert-personas/models/expert-persona-critique.actors-system.definitions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yCAAyC,EACzC,0CAA0C,EAC1C,uCAAuC,EACvC,wBAAwB,EACxB,SAAS,EACT,2BAA2B,GAC5B,MAAM,sCAAsC,CAAC;AAG9C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,+BAA+B,CAAC;AAEjF,MAAM,6BAA6B,GAAG,SAAS,CAAC,cAAc,CAAC;AAE/D,MAAM,UAAU,+BAA+B;IAC7C,OAAO;QACL,GAAG,EAAE,iCAAiC;QACtC,WAAW,EAAE,+BAA+B;QAC5C,MAAM,EAAE,wBAAwB,CAAC,MAAM;QACvC,MAAM,EAAE;YACN,WAAW,EAAE,WAAW;YACxB,KAAK,EAAE,6BAA6B;YACpC,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,oEAAoE;YACpE,qEAAqE;YACrE,qEAAqE;YACrE,+DAA+D;YAC/D,qEAAqE;YACrE,wEAAwE;YACxE,SAAS,EAAE,KAAK;YAChB,yEAAyE;YACzE,0EAA0E;YAC1E,uEAAuE;YACvE,eAAe,EAAE,2BAA2B,CAAC,IAAI;YACjD,aAAa,EAAE,CAAC;oBACd,YAAY,EAAE,oBAAoB,CAAC,WAAW;oBAC9C,gBAAgB,EAAE,KAAK;iBACxB,CAAC;YACF,SAAS,EAAE,0BAA0B,CAAC,GAAG;SAC1C;QACD,mBAAmB,EAAE;YACnB,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,yCAAyC;YACtD,YAAY,EAAE,0CAA0C;YACxD,sBAAsB,EAAE,uCAAuC;SAClB;QAC/C,UAAU,EAAE;YACV,IAAI,EACF,wFAAwF;kBACtF,0FAA0F;kBAC1F,6FAA6F;kBAC7F,8BAA8B;YAClC,OAAO,EACL,8FAA8F;kBAC5F,6FAA6F;kBAC7F,6FAA6F;kBAC7F,yFAAyF;kBACzF,sFAAsF;kBACtF,wFAAwF;kBACxF,wFAAwF;kBACxF,6FAA6F;kBAC7F,qFAAqF;YACzF,SAAS,EAAE,4BAA4B,CAAC,QAAQ;YAChD,YAAY,EAAE,EAAE;SACjB;QACD,SAAS,EAAE,0BAA0B;KACtC,CAAC;AACJ,CAAC","sourcesContent":["import type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport {\n FlowsActors_Agent_Skill_Type,\n FlowsActors_Agent_Status,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n} from '@wildo-ai/saas-models';\nimport {\n LLMProvider_GenerateStructuredInputSchema,\n LLMProvider_GenerateStructuredOutputSchema,\n LLMProvider_OperationContext_BaseSchema,\n LLMProvider_OperationKey,\n LLM_Model,\n LLMProvider_ReasoningEffort,\n} from '@wildo-ai/external-connectors-models';\nimport type { LLMProvider_OperationDefinitionBase } from '@wildo-ai/external-connectors-models';\n\n/**\n * Expert-persona CRITIQUE agent — the self-review pass of the multi-pass\n * derivation protocol (DRAFT → CRITIQUE → FINALIZE). A COMPANION-OWNED,\n * build-time agent, SEPARATE from the derivation agent on purpose: the\n * narrowness principle applies to our own machinery too — drafting and\n * critiquing are different jobs with different postures (GENERATION vs\n * DECISION), and a dedicated critic prompted to find defects is measurably\n * harsher than a generator asked to double-check itself.\n *\n * It receives the role template, the rendered shaping briefs (the EXACT\n * grounding the draft saw), and the draft charter, and scores the draft on\n * the four charter-quality dimensions (groundedness / specificity /\n * coverage / actionability), returning concrete issues + missed signals +\n * an ACCEPT/REVISE verdict. On REVISE, the finalize pass revises the draft\n * per the issues; on ACCEPT the draft ships as-is (no third LLM call).\n *\n * `anthropic/claude-fable-5`, GENERATE_STRUCTURED, NO sampling params (the\n * Claude 5 family rejects explicit temperature — verified live 2026-07-16).\n */\nexport const EXPERT_PERSONA_CRITIQUE_AGENT_REF = 'expert-persona.critique.agent';\n\nconst EXPERT_PERSONA_CRITIQUE_MODEL = LLM_Model.CLAUDE_FABLE_5;\n\nexport function buildExpertPersonaCritiqueAgent(): FlowsActors_Agent {\n return {\n ref: EXPERT_PERSONA_CRITIQUE_AGENT_REF,\n displayName: 'Expert Persona Critique Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n model: EXPERT_PERSONA_CRITIQUE_MODEL,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n // NO sampling params: Claude 5 family rejects explicit temperature.\n // EXPLICIT output budget: @ai-sdk/anthropic@3.0.67 does not know the\n // Claude 5 family and falls back to maxOutputTokens 4096 for unknown\n // ids — a full charter/critique truncates mid-JSON at that cap\n // (\"response did not match schema\", hit live 2026-07-16). The engine\n // forwards config.maxTokens as maxOutputTokens, overriding the default.\n maxTokens: 16000,\n // HIGH reasoning (Phase 3): the critique pass is pure judgment — it must\n // catch invented-facts-dressed-as-brief-derived and missed signals, which\n // needs real deliberation, not a skim. (Claude 5: `none` unsupported.)\n reasoningEffort: LLMProvider_ReasoningEffort.HIGH,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n requiresApproval: false,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n providerRef: 'anthropic',\n inputSchema: LLMProvider_GenerateStructuredInputSchema,\n outputSchema: LLMProvider_GenerateStructuredOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role:\n 'You review a DRAFT expert-persona charter against the exact application briefs it was '\n + 'derived from, and emit a typed quality report conforming EXACTLY to the provided output '\n + 'schema: four 0-100 dimension scores, concrete issues with fixes, missed brief signals, and '\n + 'an ACCEPT or REVISE verdict.',\n persona:\n 'You are a ruthless editorial reviewer. You hunt four defect classes: UNGROUNDED claims (any '\n + 'statement not traceable to a supplied brief — flag it even when plausible), GENERIC filler '\n + '(anything a competitor\\'s charter could contain verbatim — \"high quality\", \"user-centric\", '\n + 'craft platitudes with no app specifics), MISSED signals (a brief fact that should have '\n + 'shaped a priority, taboo, or the quality bar but did not), and NON-ACTIONABLE prose '\n + '(priorities that cannot order a real decision, taboos that cannot be tested against a '\n + 'candidate). You quote the offending text in each issue and give the concrete fix. You '\n + 'return REVISE unless the draft genuinely holds the bar — a draft with any ungrounded claim '\n + 'or more than trivial filler is a REVISE. You never reward eloquence over grounding.',\n skillType: FlowsActors_Agent_Skill_Type.DECISION,\n instructions: [],\n },\n createdAt: '2026-07-16T00:00:00.000Z',\n };\n}\n"]}
1
+ {"version":3,"file":"expert-persona-critique.actors-system.definitions.js","sourceRoot":"","sources":["../../../../src/expert-personas/models/expert-persona-critique.actors-system.definitions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yCAAyC,EAAE,0CAA0C,EAAE,uCAAuC,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAGtQ;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,+BAA+B,CAAC;AAEjF;;;GAGG;AACH,MAAM,qCAAqC,GAAG,uBAAuB,CAAC,aAAa,CAAC;AAEpF,MAAM,UAAU,+BAA+B;IAC7C,OAAO;QACL,GAAG,EAAE,iCAAiC;QACtC,WAAW,EAAE,+BAA+B;QAC5C,MAAM,EAAE,wBAAwB,CAAC,MAAM;QACvC,MAAM,EAAE;YACN,WAAW,EAAE,WAAW;YACxB,kBAAkB,EAAE,qCAAqC;YACzD,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,oEAAoE;YACpE,qEAAqE;YACrE,qEAAqE;YACrE,+DAA+D;YAC/D,qEAAqE;YACrE,wEAAwE;YACxE,SAAS,EAAE,KAAK;YAChB,yEAAyE;YACzE,0EAA0E;YAC1E,uEAAuE;YACvE,eAAe,EAAE,2BAA2B,CAAC,IAAI;YACjD,aAAa,EAAE,CAAC;oBACd,YAAY,EAAE,oBAAoB,CAAC,WAAW;oBAC9C,gBAAgB,EAAE,KAAK;iBACxB,CAAC;YACF,SAAS,EAAE,0BAA0B,CAAC,GAAG;SAC1C;QACD,mBAAmB,EAAE;YACnB,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,yCAAyC;YACtD,YAAY,EAAE,0CAA0C;YACxD,sBAAsB,EAAE,uCAAuC;SAClB;QAC/C,UAAU,EAAE;YACV,IAAI,EACF,wFAAwF;kBACtF,0FAA0F;kBAC1F,6FAA6F;kBAC7F,8BAA8B;YAClC,OAAO,EACL,8FAA8F;kBAC5F,6FAA6F;kBAC7F,6FAA6F;kBAC7F,yFAAyF;kBACzF,sFAAsF;kBACtF,wFAAwF;kBACxF,wFAAwF;kBACxF,6FAA6F;kBAC7F,qFAAqF;YACzF,SAAS,EAAE,4BAA4B,CAAC,QAAQ;YAChD,YAAY,EAAE,EAAE;SACjB;QACD,SAAS,EAAE,0BAA0B;KACtC,CAAC;AACJ,CAAC","sourcesContent":["import type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport {\n FlowsActors_Agent_Skill_Type,\n FlowsActors_Agent_Status,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n} from '@wildo-ai/saas-models';\nimport { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructuredOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationKey, LLMProvider_ReasoningEffort, LLM_Model_Applicability } from '@wildo-ai/external-connectors-models';\nimport type { LLMProvider_OperationDefinitionBase } from '@wildo-ai/external-connectors-models';\n\n/**\n * Expert-persona CRITIQUE agent — the self-review pass of the multi-pass\n * derivation protocol (DRAFT → CRITIQUE → FINALIZE). A COMPANION-OWNED,\n * build-time agent, SEPARATE from the derivation agent on purpose: the\n * narrowness principle applies to our own machinery too — drafting and\n * critiquing are different jobs with different postures (GENERATION vs\n * DECISION), and a dedicated critic prompted to find defects is measurably\n * harsher than a generator asked to double-check itself.\n *\n * It receives the role template, the rendered shaping briefs (the EXACT\n * grounding the draft saw), and the draft charter, and scores the draft on\n * the four charter-quality dimensions (groundedness / specificity /\n * coverage / actionability), returning concrete issues + missed signals +\n * an ACCEPT/REVISE verdict. On REVISE, the finalize pass revises the draft\n * per the issues; on ACCEPT the draft ships as-is (no third LLM call).\n *\n * `anthropic/claude-fable-5`, GENERATE_STRUCTURED, NO sampling params (the\n * Claude 5 family rejects explicit temperature — verified live 2026-07-16).\n */\nexport const EXPERT_PERSONA_CRITIQUE_AGENT_REF = 'expert-persona.critique.agent';\n\n/**\n * DEEP_JUDGMENT — the enum names \"critique\" among its own examples (#439). Resolves to\n * `claude-fable-5` on `anthropic` today, which is the model this pinned.\n */\nconst EXPERT_PERSONA_CRITIQUE_APPLICABILITY = LLM_Model_Applicability.DEEP_JUDGMENT;\n\nexport function buildExpertPersonaCritiqueAgent(): FlowsActors_Agent {\n return {\n ref: EXPERT_PERSONA_CRITIQUE_AGENT_REF,\n displayName: 'Expert Persona Critique Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n modelApplicability: EXPERT_PERSONA_CRITIQUE_APPLICABILITY,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n // NO sampling params: Claude 5 family rejects explicit temperature.\n // EXPLICIT output budget: @ai-sdk/anthropic@3.0.67 does not know the\n // Claude 5 family and falls back to maxOutputTokens 4096 for unknown\n // ids — a full charter/critique truncates mid-JSON at that cap\n // (\"response did not match schema\", hit live 2026-07-16). The engine\n // forwards config.maxTokens as maxOutputTokens, overriding the default.\n maxTokens: 16000,\n // HIGH reasoning (Phase 3): the critique pass is pure judgment — it must\n // catch invented-facts-dressed-as-brief-derived and missed signals, which\n // needs real deliberation, not a skim. (Claude 5: `none` unsupported.)\n reasoningEffort: LLMProvider_ReasoningEffort.HIGH,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n requiresApproval: false,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n providerRef: 'anthropic',\n inputSchema: LLMProvider_GenerateStructuredInputSchema,\n outputSchema: LLMProvider_GenerateStructuredOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role:\n 'You review a DRAFT expert-persona charter against the exact application briefs it was '\n + 'derived from, and emit a typed quality report conforming EXACTLY to the provided output '\n + 'schema: four 0-100 dimension scores, concrete issues with fixes, missed brief signals, and '\n + 'an ACCEPT or REVISE verdict.',\n persona:\n 'You are a ruthless editorial reviewer. You hunt four defect classes: UNGROUNDED claims (any '\n + 'statement not traceable to a supplied brief — flag it even when plausible), GENERIC filler '\n + '(anything a competitor\\'s charter could contain verbatim — \"high quality\", \"user-centric\", '\n + 'craft platitudes with no app specifics), MISSED signals (a brief fact that should have '\n + 'shaped a priority, taboo, or the quality bar but did not), and NON-ACTIONABLE prose '\n + '(priorities that cannot order a real decision, taboos that cannot be tested against a '\n + 'candidate). You quote the offending text in each issue and give the concrete fix. You '\n + 'return REVISE unless the draft genuinely holds the bar — a draft with any ungrounded claim '\n + 'or more than trivial filler is a REVISE. You never reward eloquence over grounding.',\n skillType: FlowsActors_Agent_Skill_Type.DECISION,\n instructions: [],\n },\n createdAt: '2026-07-16T00:00:00.000Z',\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"expert-persona-derivation.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/expert-personas/models/expert-persona-derivation.actors-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAiB/D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,mCAAmC,oCAAoC,CAAC;AAIrF,wBAAgB,iCAAiC,IAAI,iBAAiB,CAyDrE"}
1
+ {"version":3,"file":"expert-persona-derivation.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../src/expert-personas/models/expert-persona-derivation.actors-system.definitions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAU/D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,mCAAmC,oCAAoC,CAAC;AAQrF,wBAAgB,iCAAiC,IAAI,iBAAiB,CA2DrE"}
@@ -1,5 +1,5 @@
1
1
  import { FlowsActors_Agent_Skill_Type, FlowsActors_Agent_Status, ResourceOperationRiskLevel, ResourcePrimaryScope, } from '@wildo-ai/saas-models';
2
- import { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructuredOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationKey, LLM_Model, LLMProvider_ReasoningEffort, } from '@wildo-ai/external-connectors-models';
2
+ import { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructuredOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationKey, LLMProvider_ReasoningEffort, LLM_Model_Applicability } from '@wildo-ai/external-connectors-models';
3
3
  /**
4
4
  * Expert-persona DERIVATION agent — a COMPANION-OWNED, build-time agent
5
5
  * (same ownership tier as the labelling / meta-workflows / brand agents:
@@ -28,7 +28,11 @@ import { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructur
28
28
  * the standard backend runtime path the companion reuses.
29
29
  */
30
30
  export const EXPERT_PERSONA_DERIVATION_AGENT_REF = 'expert-persona.derivation.agent';
31
- const EXPERT_PERSONA_DERIVATION_MODEL = LLM_Model.CLAUDE_FABLE_5;
31
+ /**
32
+ * DEEP_JUDGMENT — the enum names "persona derivation" among its own examples (#439). Resolves to
33
+ * `claude-fable-5` on `anthropic` today, which is the model this pinned.
34
+ */
35
+ const EXPERT_PERSONA_DERIVATION_APPLICABILITY = LLM_Model_Applicability.DEEP_JUDGMENT;
32
36
  export function buildExpertPersonaDerivationAgent() {
33
37
  return {
34
38
  ref: EXPERT_PERSONA_DERIVATION_AGENT_REF,
@@ -36,7 +40,7 @@ export function buildExpertPersonaDerivationAgent() {
36
40
  status: FlowsActors_Agent_Status.ACTIVE,
37
41
  config: {
38
42
  providerRef: 'anthropic',
39
- model: EXPERT_PERSONA_DERIVATION_MODEL,
43
+ modelApplicability: EXPERT_PERSONA_DERIVATION_APPLICABILITY,
40
44
  operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,
41
45
  // NO sampling params: claude-fable-5 REJECTS `temperature` outright
42
46
  // ("deprecated for this model" — verified live 2026-07-16), and Claude
@@ -50,8 +54,10 @@ export function buildExpertPersonaDerivationAgent() {
50
54
  // HIGH reasoning (Phase 3): compiling a persona charter is the most
51
55
  // judgment-heavy step in the chain — it must weigh ICPs, positioning,
52
56
  // palette and asset surfaces against each other, not pattern-match.
53
- // Verified live: Claude 5 supports low/medium/high/xhigh (NOT `none` —
54
- // thinking cannot be disabled) and `high` composes fine with maxTokens.
57
+ // Verified live: every Claude 5 model supports low/medium/high/xhigh and
58
+ // `high` composes fine with maxTokens. (`none` is refused by
59
+ // `claude-fable-5` specifically — re-probed 2026-09-08 — but this agent
60
+ // asks for HIGH, so that limit is not in play here.)
55
61
  reasoningEffort: LLMProvider_ReasoningEffort.HIGH,
56
62
  accessControl: [{
57
63
  primaryScope: ResourcePrimaryScope.APPLICATION,
@@ -1 +1 @@
1
- {"version":3,"file":"expert-persona-derivation.actors-system.definitions.js","sourceRoot":"","sources":["../../../../../src/expert-personas/models/expert-persona-derivation.actors-system.definitions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yCAAyC,EACzC,0CAA0C,EAC1C,uCAAuC,EACvC,wBAAwB,EACxB,SAAS,EACT,2BAA2B,GAC5B,MAAM,sCAAsC,CAAC;AAG9C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,iCAAiC,CAAC;AAErF,MAAM,+BAA+B,GAAG,SAAS,CAAC,cAAc,CAAC;AAEjE,MAAM,UAAU,iCAAiC;IAC/C,OAAO;QACL,GAAG,EAAE,mCAAmC;QACxC,WAAW,EAAE,iCAAiC;QAC9C,MAAM,EAAE,wBAAwB,CAAC,MAAM;QACvC,MAAM,EAAE;YACN,WAAW,EAAE,WAAW;YACxB,KAAK,EAAE,+BAA+B;YACtC,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,oEAAoE;YACpE,uEAAuE;YACvE,wEAAwE;YACxE,qEAAqE;YACrE,qEAAqE;YACrE,+DAA+D;YAC/D,qEAAqE;YACrE,wEAAwE;YACxE,SAAS,EAAE,KAAK;YAChB,oEAAoE;YACpE,sEAAsE;YACtE,oEAAoE;YACpE,uEAAuE;YACvE,wEAAwE;YACxE,eAAe,EAAE,2BAA2B,CAAC,IAAI;YACjD,aAAa,EAAE,CAAC;oBACd,YAAY,EAAE,oBAAoB,CAAC,WAAW;oBAC9C,gBAAgB,EAAE,KAAK;iBACxB,CAAC;YACF,SAAS,EAAE,0BAA0B,CAAC,GAAG;SAC1C;QACD,mBAAmB,EAAE;YACnB,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,yCAAyC;YACtD,YAAY,EAAE,0CAA0C;YACxD,sBAAsB,EAAE,uCAAuC;SAClB;QAC/C,UAAU,EAAE;YACV,IAAI,EACF,6FAA6F;kBAC3F,6FAA6F;kBAC7F,8FAA8F;kBAC9F,wFAAwF;kBACxF,wCAAwC;YAC5C,OAAO,EACL,2FAA2F;kBACzF,4FAA4F;kBAC5F,2FAA2F;kBAC3F,2FAA2F;kBAC3F,0FAA0F;kBAC1F,wFAAwF;kBACxF,6DAA6D;YACjE,SAAS,EAAE,4BAA4B,CAAC,UAAU;YAClD,YAAY,EAAE,EAAE;SACjB;QACD,SAAS,EAAE,0BAA0B;KACtC,CAAC;AACJ,CAAC","sourcesContent":["import type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport {\n FlowsActors_Agent_Skill_Type,\n FlowsActors_Agent_Status,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n} from '@wildo-ai/saas-models';\nimport {\n LLMProvider_GenerateStructuredInputSchema,\n LLMProvider_GenerateStructuredOutputSchema,\n LLMProvider_OperationContext_BaseSchema,\n LLMProvider_OperationKey,\n LLM_Model,\n LLMProvider_ReasoningEffort,\n} from '@wildo-ai/external-connectors-models';\nimport type { LLMProvider_OperationDefinitionBase } from '@wildo-ai/external-connectors-models';\n\n/**\n * Expert-persona DERIVATION agent — a COMPANION-OWNED, build-time agent\n * (same ownership tier as the labelling / meta-workflows / brand agents:\n * defined and registered by the companion, NOT shipped as an engine\n * default).\n *\n * It is the persona compiler of the agentic deliberation system: given a\n * framework `ExpertRoleTemplate` (profession-generic craft knowledge +\n * derivation instructions) and the app's shaping-input snapshots (vision /\n * market / brand / design-system / …), it compiles the APP-SPECIFIC\n * `ExpertPersonaCharter` substance — persona prose, ordered priorities,\n * taboos. This is the anti-\"taste-as-code\" mechanism: everything a judge\n * persona knows about a specific app is DERIVED here, never hardcoded.\n *\n * GENERATE_STRUCTURED on `anthropic/claude-fable-5` — the persona compiler\n * is the most WRITING-quality-sensitive agent in the deliberation chain (its\n * output becomes every downstream judge's voice), so it rides the strongest\n * available writer. Constrained to `ExpertPersonaDerivationOutputSchema`,\n * on the model's default sampling (fable-5 rejects explicit `temperature`).\n * Derivation is SYNTHESIS (a well-written persona needs voice), but it must\n * stay grounded in the supplied inputs; the prompt forbids inventing facts\n * about the app. Provenance fields are stamped by the parent service, never\n * the model.\n *\n * Provider availability / enablement / secret resolution stay enforced by\n * the standard backend runtime path the companion reuses.\n */\nexport const EXPERT_PERSONA_DERIVATION_AGENT_REF = 'expert-persona.derivation.agent';\n\nconst EXPERT_PERSONA_DERIVATION_MODEL = LLM_Model.CLAUDE_FABLE_5;\n\nexport function buildExpertPersonaDerivationAgent(): FlowsActors_Agent {\n return {\n ref: EXPERT_PERSONA_DERIVATION_AGENT_REF,\n displayName: 'Expert Persona Derivation Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n model: EXPERT_PERSONA_DERIVATION_MODEL,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n // NO sampling params: claude-fable-5 REJECTS `temperature` outright\n // (\"deprecated for this model\" — verified live 2026-07-16), and Claude\n // 4.5+ already rejected temperature+topP together. Model defaults rule.\n // EXPLICIT output budget: @ai-sdk/anthropic@3.0.67 does not know the\n // Claude 5 family and falls back to maxOutputTokens 4096 for unknown\n // ids — a full charter/critique truncates mid-JSON at that cap\n // (\"response did not match schema\", hit live 2026-07-16). The engine\n // forwards config.maxTokens as maxOutputTokens, overriding the default.\n maxTokens: 16000,\n // HIGH reasoning (Phase 3): compiling a persona charter is the most\n // judgment-heavy step in the chain — it must weigh ICPs, positioning,\n // palette and asset surfaces against each other, not pattern-match.\n // Verified live: Claude 5 supports low/medium/high/xhigh (NOT `none` —\n // thinking cannot be disabled) and `high` composes fine with maxTokens.\n reasoningEffort: LLMProvider_ReasoningEffort.HIGH,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n requiresApproval: false,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n providerRef: 'anthropic',\n inputSchema: LLMProvider_GenerateStructuredInputSchema,\n outputSchema: LLMProvider_GenerateStructuredOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role:\n 'You compile an expert persona charter for a specific application. You receive a profession '\n + 'role template (the craft this expert stands for, app-agnostic) plus the application\\'s own '\n + 'specification artifacts (vision, market/ICPs, brand, design system, …), and you produce the '\n + 'app-specific persona: prose, ordered judgment priorities, and hard taboos, conforming '\n + 'EXACTLY to the provided output schema.',\n persona:\n 'You write like the head of talent at a top studio drafting a role charter for a specific '\n + 'client engagement: concrete, grounded, decision-driving. Every priority and taboo must be '\n + 'TRACEABLE to the supplied inputs (a specific ICP, a positioning line, a palette token, a '\n + 'brand avoid-list item) — you never invent facts about the application, and you never pad '\n + 'with generic best practices the inputs do not motivate. The persona prose is written in '\n + 'second person (\"You are …\") so it drops directly into an agent prompt. Priorities are '\n + 'ordered by real importance for THIS app, not by convention.',\n skillType: FlowsActors_Agent_Skill_Type.GENERATION,\n instructions: [],\n },\n createdAt: '2026-07-12T00:00:00.000Z',\n };\n}\n"]}
1
+ {"version":3,"file":"expert-persona-derivation.actors-system.definitions.js","sourceRoot":"","sources":["../../../../src/expert-personas/models/expert-persona-derivation.actors-system.definitions.ts"],"names":[],"mappings":"AACA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yCAAyC,EAAE,0CAA0C,EAAE,uCAAuC,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAGtQ;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,iCAAiC,CAAC;AAErF;;;GAGG;AACH,MAAM,uCAAuC,GAAG,uBAAuB,CAAC,aAAa,CAAC;AAEtF,MAAM,UAAU,iCAAiC;IAC/C,OAAO;QACL,GAAG,EAAE,mCAAmC;QACxC,WAAW,EAAE,iCAAiC;QAC9C,MAAM,EAAE,wBAAwB,CAAC,MAAM;QACvC,MAAM,EAAE;YACN,WAAW,EAAE,WAAW;YACxB,kBAAkB,EAAE,uCAAuC;YAC3D,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,oEAAoE;YACpE,uEAAuE;YACvE,wEAAwE;YACxE,qEAAqE;YACrE,qEAAqE;YACrE,+DAA+D;YAC/D,qEAAqE;YACrE,wEAAwE;YACxE,SAAS,EAAE,KAAK;YAChB,oEAAoE;YACpE,sEAAsE;YACtE,oEAAoE;YACpE,yEAAyE;YACzE,6DAA6D;YAC7D,wEAAwE;YACxE,qDAAqD;YACrD,eAAe,EAAE,2BAA2B,CAAC,IAAI;YACjD,aAAa,EAAE,CAAC;oBACd,YAAY,EAAE,oBAAoB,CAAC,WAAW;oBAC9C,gBAAgB,EAAE,KAAK;iBACxB,CAAC;YACF,SAAS,EAAE,0BAA0B,CAAC,GAAG;SAC1C;QACD,mBAAmB,EAAE;YACnB,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;YAC1D,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,yCAAyC;YACtD,YAAY,EAAE,0CAA0C;YACxD,sBAAsB,EAAE,uCAAuC;SAClB;QAC/C,UAAU,EAAE;YACV,IAAI,EACF,6FAA6F;kBAC3F,6FAA6F;kBAC7F,8FAA8F;kBAC9F,wFAAwF;kBACxF,wCAAwC;YAC5C,OAAO,EACL,2FAA2F;kBACzF,4FAA4F;kBAC5F,2FAA2F;kBAC3F,2FAA2F;kBAC3F,0FAA0F;kBAC1F,wFAAwF;kBACxF,6DAA6D;YACjE,SAAS,EAAE,4BAA4B,CAAC,UAAU;YAClD,YAAY,EAAE,EAAE;SACjB;QACD,SAAS,EAAE,0BAA0B;KACtC,CAAC;AACJ,CAAC","sourcesContent":["import type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport {\n FlowsActors_Agent_Skill_Type,\n FlowsActors_Agent_Status,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n} from '@wildo-ai/saas-models';\nimport { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructuredOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationKey, LLMProvider_ReasoningEffort, LLM_Model_Applicability } from '@wildo-ai/external-connectors-models';\nimport type { LLMProvider_OperationDefinitionBase } from '@wildo-ai/external-connectors-models';\n\n/**\n * Expert-persona DERIVATION agent — a COMPANION-OWNED, build-time agent\n * (same ownership tier as the labelling / meta-workflows / brand agents:\n * defined and registered by the companion, NOT shipped as an engine\n * default).\n *\n * It is the persona compiler of the agentic deliberation system: given a\n * framework `ExpertRoleTemplate` (profession-generic craft knowledge +\n * derivation instructions) and the app's shaping-input snapshots (vision /\n * market / brand / design-system / …), it compiles the APP-SPECIFIC\n * `ExpertPersonaCharter` substance — persona prose, ordered priorities,\n * taboos. This is the anti-\"taste-as-code\" mechanism: everything a judge\n * persona knows about a specific app is DERIVED here, never hardcoded.\n *\n * GENERATE_STRUCTURED on `anthropic/claude-fable-5` — the persona compiler\n * is the most WRITING-quality-sensitive agent in the deliberation chain (its\n * output becomes every downstream judge's voice), so it rides the strongest\n * available writer. Constrained to `ExpertPersonaDerivationOutputSchema`,\n * on the model's default sampling (fable-5 rejects explicit `temperature`).\n * Derivation is SYNTHESIS (a well-written persona needs voice), but it must\n * stay grounded in the supplied inputs; the prompt forbids inventing facts\n * about the app. Provenance fields are stamped by the parent service, never\n * the model.\n *\n * Provider availability / enablement / secret resolution stay enforced by\n * the standard backend runtime path the companion reuses.\n */\nexport const EXPERT_PERSONA_DERIVATION_AGENT_REF = 'expert-persona.derivation.agent';\n\n/**\n * DEEP_JUDGMENT — the enum names \"persona derivation\" among its own examples (#439). Resolves to\n * `claude-fable-5` on `anthropic` today, which is the model this pinned.\n */\nconst EXPERT_PERSONA_DERIVATION_APPLICABILITY = LLM_Model_Applicability.DEEP_JUDGMENT;\n\nexport function buildExpertPersonaDerivationAgent(): FlowsActors_Agent {\n return {\n ref: EXPERT_PERSONA_DERIVATION_AGENT_REF,\n displayName: 'Expert Persona Derivation Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n modelApplicability: EXPERT_PERSONA_DERIVATION_APPLICABILITY,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n // NO sampling params: claude-fable-5 REJECTS `temperature` outright\n // (\"deprecated for this model\" — verified live 2026-07-16), and Claude\n // 4.5+ already rejected temperature+topP together. Model defaults rule.\n // EXPLICIT output budget: @ai-sdk/anthropic@3.0.67 does not know the\n // Claude 5 family and falls back to maxOutputTokens 4096 for unknown\n // ids — a full charter/critique truncates mid-JSON at that cap\n // (\"response did not match schema\", hit live 2026-07-16). The engine\n // forwards config.maxTokens as maxOutputTokens, overriding the default.\n maxTokens: 16000,\n // HIGH reasoning (Phase 3): compiling a persona charter is the most\n // judgment-heavy step in the chain — it must weigh ICPs, positioning,\n // palette and asset surfaces against each other, not pattern-match.\n // Verified live: every Claude 5 model supports low/medium/high/xhigh and\n // `high` composes fine with maxTokens. (`none` is refused by\n // `claude-fable-5` specifically — re-probed 2026-09-08 — but this agent\n // asks for HIGH, so that limit is not in play here.)\n reasoningEffort: LLMProvider_ReasoningEffort.HIGH,\n accessControl: [{\n primaryScope: ResourcePrimaryScope.APPLICATION,\n requiresApproval: false,\n }],\n riskLevel: ResourceOperationRiskLevel.LOW,\n },\n operationDefinition: {\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n providerRef: 'anthropic',\n inputSchema: LLMProvider_GenerateStructuredInputSchema,\n outputSchema: LLMProvider_GenerateStructuredOutputSchema,\n operationContextSchema: LLMProvider_OperationContext_BaseSchema,\n } satisfies LLMProvider_OperationDefinitionBase,\n promptSpec: {\n role:\n 'You compile an expert persona charter for a specific application. You receive a profession '\n + 'role template (the craft this expert stands for, app-agnostic) plus the application\\'s own '\n + 'specification artifacts (vision, market/ICPs, brand, design system, …), and you produce the '\n + 'app-specific persona: prose, ordered judgment priorities, and hard taboos, conforming '\n + 'EXACTLY to the provided output schema.',\n persona:\n 'You write like the head of talent at a top studio drafting a role charter for a specific '\n + 'client engagement: concrete, grounded, decision-driving. Every priority and taboo must be '\n + 'TRACEABLE to the supplied inputs (a specific ICP, a positioning line, a palette token, a '\n + 'brand avoid-list item) — you never invent facts about the application, and you never pad '\n + 'with generic best practices the inputs do not motivate. The persona prose is written in '\n + 'second person (\"You are …\") so it drops directly into an agent prompt. Priorities are '\n + 'ordered by real importance for THIS app, not by convention.',\n skillType: FlowsActors_Agent_Skill_Type.GENERATION,\n instructions: [],\n },\n createdAt: '2026-07-12T00:00:00.000Z',\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"expert-persona-derivation.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/expert-personas/models/expert-persona-derivation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;GAWG;AAEH;;;;;;GAMG;AACH,QAAA,MAAM,oCAAoC;;;;;;;iBAiBxC,CAAC;AACH,eAAO,MAAM,mCAAmC,EAAE,OAAO,oCACnB,CAAC;AACvC,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAEjG,QAAA,MAAM,0CAA0C;;;;;;;kBAAgD,CAAC;AACjG,eAAO,MAAM,yCAAyC,EAAE,OAAO,0CACnB,CAAC;AAE7C,sDAAsD;AACtD,oBAAY,4BAA4B;IACtC,0DAA0D;IAC1D,MAAM,WAAW;IACjB,gFAAgF;IAChF,MAAM,WAAW;CAClB;AAED,2DAA2D;AAC3D,QAAA,MAAM,iCAAiC;;;;iBAOrC,CAAC;AACH,eAAO,MAAM,gCAAgC,EAAE,OAAO,iCACnB,CAAC;AACpC,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE3F;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,4BAA4B;;;;;;;;;;;;iBAUhC,CAAC;AACH,eAAO,MAAM,2BAA2B,EAAE,OAAO,4BACnB,CAAC;AAC/B,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAEjF,QAAA,MAAM,kCAAkC;;;;;;;;;;;;kBAQ7B,CAAC;AACZ,eAAO,MAAM,iCAAiC,EAAE,OAAO,kCACnB,CAAC"}
1
+ {"version":3,"file":"expert-persona-derivation.schemas.d.ts","sourceRoot":"","sources":["../../../../src/expert-personas/models/expert-persona-derivation.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;GAWG;AAEH;;;;;;GAMG;AACH,QAAA,MAAM,oCAAoC;;;;;;;iBAiBxC,CAAC;AACH,eAAO,MAAM,mCAAmC,EAAE,OAAO,oCACnB,CAAC;AACvC,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAEjG,QAAA,MAAM,0CAA0C;;;;;;;kBAAgD,CAAC;AACjG,eAAO,MAAM,yCAAyC,EAAE,OAAO,0CACnB,CAAC;AAE7C,sDAAsD;AACtD,oBAAY,4BAA4B;IACtC,0DAA0D;IAC1D,MAAM,WAAW;IACjB,gFAAgF;IAChF,MAAM,WAAW;CAClB;AAED,2DAA2D;AAC3D,QAAA,MAAM,iCAAiC;;;;iBAOrC,CAAC;AACH,eAAO,MAAM,gCAAgC,EAAE,OAAO,iCACnB,CAAC;AACpC,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAE3F;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,4BAA4B;;;;;;;;;;;;iBAUhC,CAAC;AACH,eAAO,MAAM,2BAA2B,EAAE,OAAO,4BACnB,CAAC;AAC/B,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAEjF,QAAA,MAAM,kCAAkC;;;;;;;;;;;;kBAQ7B,CAAC;AACZ,eAAO,MAAM,iCAAiC,EAAE,OAAO,kCACnB,CAAC"}
@@ -18,18 +18,14 @@ interface DerivationQualityReport {
18
18
  export interface ExpertPersonaDeriveOptions {
19
19
  /** The framework `ExpertRoleTemplate.roleRef` to derive a charter for. */
20
20
  roleRef: string;
21
- /** Re-derive even when a staged proposal with the same inputs digest exists. */
22
- forceRederive?: boolean;
23
21
  }
24
22
  export interface ExpertPersonaDeriveResult {
25
23
  /** The proposed charter (staged, NOT yet committed). */
26
24
  charter: ExpertPersonaCharter;
27
25
  /** saasRoot-relative path of the staged proposal. */
28
26
  stagedPath: string;
29
- /** True when a fresh staged proposal was reused (no LLM call). */
30
- skippedAsFresh: boolean;
31
- /** The critique pass's scored report (null on a freshness-skip of a pre-Lever-2 proposal). */
32
- qualityReport: DerivationQualityReport | null;
27
+ /** The critique pass's scored report. */
28
+ qualityReport: DerivationQualityReport;
33
29
  /** Non-fatal notes (e.g. empty voiceNotes omitted). */
34
30
  warnings: string[];
35
31
  }
@@ -54,14 +50,13 @@ export interface ExpertPersonaAcceptResult {
54
50
  * **Derive (propose).** Resolves the role's shaping inputs through the
55
51
  * `expert-persona-derivation-inputs` introspection behavior (specifications
56
52
  * target) — composing `DESIGN_SYSTEM` from the frontend
57
- * `design-system-source-config` behavior when the role requires it — seals
58
- * them under a canonical SHA-256 `inputsDigest` (which also covers the role
59
- * template's own prose, so template evolution re-derives too), and invokes
60
- * the `expert-persona.derivation.agent` (GENERATE_STRUCTURED) to compile the
61
- * app-specific charter substance. The result is STAGED as a proposal under
62
- * `.wildo-saas/generated/expert-personas/` — never written to the committed
63
- * SSOT directly. A fresh staged proposal (same digest) short-circuits the
64
- * (paid) LLM call unless `forceRederive`.
53
+ * `design-system-source-config` behavior when the role requires it — and
54
+ * invokes the `expert-persona.derivation.agent` (GENERATE_STRUCTURED) to
55
+ * compile the app-specific charter substance. The result is STAGED as a
56
+ * proposal under `.wildo-saas/generated/expert-personas/` — never written to
57
+ * the committed SSOT directly. Every derive call derives: the staged-proposal
58
+ * freshness cache (keyed by an inputs digest) went with the digest machinery,
59
+ * so a caller that wants a new proposal simply asks for one.
65
60
  *
66
61
  * **Accept (promote).** Promotes a staged proposal into the app's committed
67
62
  * specification tier: writes
@@ -99,16 +94,6 @@ export declare class ExpertPersonaCompanionService {
99
94
  accept(options: ExpertPersonaAcceptOptions): Promise<ExpertPersonaAcceptResult>;
100
95
  private acceptMutex;
101
96
  private acceptSerialized;
102
- /**
103
- * The freshness seal: SHA-256 over the canonical serialization of the WHOLE
104
- * role template + the RENDERED BRIEFS — i.e. exactly what the derivation
105
- * model sees (a template-prose edit or any brief-visible spec change
106
- * re-derives; anything the curators deliberately DROP cannot spuriously
107
- * re-derive). Shared by derive (stamping) and accept (recomputing the
108
- * CURRENT digest for the staleness warning — meaningful only against a
109
- * freshly recomputed value, never the charter's own stored digest).
110
- */
111
- private computeInputsDigest;
112
97
  private resolveTemplate;
113
98
  /**
114
99
  * Resolve the template's shaping inputs as CURATED MARKDOWN BRIEFS: the
@@ -1 +1 @@
1
- {"version":3,"file":"expert-persona.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/expert-personas/services/expert-persona.companion.service.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"expert-persona.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/expert-personas/services/expert-persona.companion.service.ts"],"names":[],"mappings":"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"}
@@ -11,7 +11,6 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
11
11
  return function (target, key) { decorator(target, key, paramIndex); }
12
12
  };
13
13
  var ExpertPersonaCompanionService_1;
14
- import { createHash } from 'node:crypto';
15
14
  import { mkdir, readdir, readFile, writeFile } from 'node:fs/promises';
16
15
  import { resolve } from 'node:path';
17
16
  import { inject, injectable } from 'inversify';
@@ -23,7 +22,6 @@ import { CompanionIntrospectionService } from '../../core/introspection/services
23
22
  import { EXPERT_PERSONA_DERIVATION_AGENT_REF } from '../models/expert-persona-derivation.actors-system.definitions.js';
24
23
  import { EXPERT_PERSONA_CRITIQUE_AGENT_REF } from '../models/expert-persona-critique.actors-system.definitions.js';
25
24
  import { ExpertPersonaCritiqueSchema, ExpertPersonaCritiqueStrictSchema, ExpertPersonaCritiqueVerdict, ExpertPersonaDerivationOutputSchema, ExpertPersonaDerivationOutputStrictSchema, } from '../models/expert-persona-derivation.schemas.js';
26
- import { canonicalJsonStringify } from '../utils/canonical-json.js';
27
25
  const STAGING_DIR_SEGMENTS = ['.wildo-saas', 'generated', 'expert-personas'];
28
26
  const SPEC_PERSONAS_DIR_SEGMENTS = ['specifications', 'src', 'personas'];
29
27
  const CHARTER_MODULE_SUFFIX = '.charter.generated.ts';
@@ -35,14 +33,13 @@ const AGGREGATOR_MODULE = 'index.ts';
35
33
  * **Derive (propose).** Resolves the role's shaping inputs through the
36
34
  * `expert-persona-derivation-inputs` introspection behavior (specifications
37
35
  * target) — composing `DESIGN_SYSTEM` from the frontend
38
- * `design-system-source-config` behavior when the role requires it — seals
39
- * them under a canonical SHA-256 `inputsDigest` (which also covers the role
40
- * template's own prose, so template evolution re-derives too), and invokes
41
- * the `expert-persona.derivation.agent` (GENERATE_STRUCTURED) to compile the
42
- * app-specific charter substance. The result is STAGED as a proposal under
43
- * `.wildo-saas/generated/expert-personas/` — never written to the committed
44
- * SSOT directly. A fresh staged proposal (same digest) short-circuits the
45
- * (paid) LLM call unless `forceRederive`.
36
+ * `design-system-source-config` behavior when the role requires it — and
37
+ * invokes the `expert-persona.derivation.agent` (GENERATE_STRUCTURED) to
38
+ * compile the app-specific charter substance. The result is STAGED as a
39
+ * proposal under `.wildo-saas/generated/expert-personas/` — never written to
40
+ * the committed SSOT directly. Every derive call derives: the staged-proposal
41
+ * freshness cache (keyed by an inputs digest) went with the digest machinery,
42
+ * so a caller that wants a new proposal simply asks for one.
46
43
  *
47
44
  * **Accept (promote).** Promotes a staged proposal into the app's committed
48
45
  * specification tier: writes
@@ -87,29 +84,9 @@ let ExpertPersonaCompanionService = class ExpertPersonaCompanionService {
87
84
  // ── 1. Resolve shaping inputs as CURATED BRIEFS (subprocess renders
88
85
  // meaning-markdown per kind; DESIGN_SYSTEM composed+rendered here) ──
89
86
  const briefs = await this.resolveShapingBriefs(template);
90
- // ── 2. Freshness seal: digest covers the TEMPLATE + the BRIEFS —
91
- // exactly what the model sees, nothing else ──
92
- const inputsDigest = this.computeInputsDigest(template, briefs);
93
87
  const stagingDir = resolve(this.companionContext.saasRoot, ...STAGING_DIR_SEGMENTS);
94
88
  const stagedPathAbs = resolve(stagingDir, `${template.roleRef}.json`);
95
89
  const stagedPath = `${STAGING_DIR_SEGMENTS.join('/')}/${template.roleRef}.json`;
96
- // ── 3. Freshness skip ──────────────────────────────────────
97
- if (!options.forceRederive) {
98
- const staged = await this.readStagedProposal(stagedPathAbs);
99
- if (staged && staged.charter.inputsDigest === inputsDigest) {
100
- this.logDebug('staged charter proposal is fresh — skipping derivation', {
101
- roleRef: template.roleRef,
102
- inputsDigest,
103
- });
104
- return {
105
- charter: staged.charter,
106
- stagedPath,
107
- skippedAsFresh: true,
108
- qualityReport: staged.qualityReport ?? null,
109
- warnings,
110
- };
111
- }
112
- }
113
90
  // ── 4. Multi-pass generation: DRAFT → CRITIQUE → (FINALIZE) ──
114
91
  // A dedicated critic scores the draft against the EXACT briefs it saw
115
92
  // (groundedness / specificity / coverage / actionability); on REVISE the
@@ -133,7 +110,7 @@ let ExpertPersonaCompanionService = class ExpertPersonaCompanionService {
133
110
  issues: critique.issues.length,
134
111
  missedSignals: critique.missedSignals.length,
135
112
  });
136
- // ── 5. Assemble + validate the charter (provenance stamped HERE, never by the model) ──
113
+ // ── 3. Assemble + validate the charter (`derivedAt`/`derivedByAgentRef` stamped HERE, never by the model) ──
137
114
  if (output.voiceNotes.trim().length === 0) {
138
115
  warnings.push('Derivation returned no voiceNotes — field omitted from the charter.');
139
116
  }
@@ -151,7 +128,6 @@ let ExpertPersonaCompanionService = class ExpertPersonaCompanionService {
151
128
  ...(output.qualityBar.length > 0 ? { qualityBar: output.qualityBar } : {}),
152
129
  ...(output.reviewProtocol.length > 0 ? { reviewProtocol: output.reviewProtocol } : {}),
153
130
  ...(output.voiceNotes.trim().length > 0 ? { voiceNotes: output.voiceNotes.trim() } : {}),
154
- inputsDigest,
155
131
  derivedAt: new Date().toISOString(),
156
132
  derivedByAgentRef: EXPERT_PERSONA_DERIVATION_AGENT_REF,
157
133
  };
@@ -168,18 +144,17 @@ let ExpertPersonaCompanionService = class ExpertPersonaCompanionService {
168
144
  });
169
145
  }
170
146
  const charter = charterParsed.data;
171
- // ── 6. Stage the proposal (charter + quality report) ───────
147
+ // ── 4. Stage the proposal (charter + quality report) ───────
172
148
  await mkdir(stagingDir, { recursive: true });
173
149
  const proposal = { stagedAt: new Date().toISOString(), charter, qualityReport };
174
150
  await writeFile(stagedPathAbs, `${JSON.stringify(proposal, null, 2)}\n`, 'utf8');
175
151
  this.logDebug('charter proposal staged', {
176
152
  roleRef: template.roleRef,
177
- inputsDigest,
178
153
  priorities: charter.priorities.length,
179
154
  taboos: charter.taboos.length,
180
155
  passes: qualityReport.passes,
181
156
  });
182
- return { charter, stagedPath, skippedAsFresh: false, qualityReport, warnings };
157
+ return { charter, stagedPath, qualityReport, warnings };
183
158
  }
184
159
  // ──────────────────────────────────────────────────────────────
185
160
  // ACCEPT (promote)
@@ -258,20 +233,11 @@ let ExpertPersonaCompanionService = class ExpertPersonaCompanionService {
258
233
  });
259
234
  }
260
235
  // ── 3. Validate the RESULTING set BEFORE any write (fail-closed) ──
261
- // The staleness comparison needs the CURRENT digest, recomputed from the
262
- // live shaping inputs — comparing the charter against its OWN stored
263
- // digest would be a tautology and STALE_INPUTS could never fire (the
264
- // proposal may have been staged before a spec edit; the human accepting
265
- // it must see that warning).
266
- const currentBriefs = await this.resolveShapingBriefs(template);
267
- const currentInputsDigest = this.computeInputsDigest(template, currentBriefs);
268
236
  const resultingSet = [
269
237
  ...committed.filter((charter) => charter.roleRef !== template.roleRef),
270
238
  staged.charter,
271
239
  ];
272
- const validation = validateExpertPersonaCharters(resultingSet, {
273
- currentInputsDigestByRole: { [template.roleRef]: currentInputsDigest },
274
- });
240
+ const validation = validateExpertPersonaCharters(resultingSet);
275
241
  if (!validation.ok) {
276
242
  const lines = validation.issues
277
243
  .filter((issue) => issue.severity === ExpertPersonaIssueSeverity.ERROR)
@@ -335,20 +301,6 @@ let ExpertPersonaCompanionService = class ExpertPersonaCompanionService {
335
301
  // ──────────────────────────────────────────────────────────────
336
302
  // Internals
337
303
  // ──────────────────────────────────────────────────────────────
338
- /**
339
- * The freshness seal: SHA-256 over the canonical serialization of the WHOLE
340
- * role template + the RENDERED BRIEFS — i.e. exactly what the derivation
341
- * model sees (a template-prose edit or any brief-visible spec change
342
- * re-derives; anything the curators deliberately DROP cannot spuriously
343
- * re-derive). Shared by derive (stamping) and accept (recomputing the
344
- * CURRENT digest for the staleness warning — meaningful only against a
345
- * freshly recomputed value, never the charter's own stored digest).
346
- */
347
- computeInputsDigest(template, briefs) {
348
- return createHash('sha256')
349
- .update(canonicalJsonStringify({ template, briefs }))
350
- .digest('hex');
351
- }
352
304
  resolveTemplate(roleRef) {
353
305
  if (typeof roleRef !== 'string' || roleRef.length === 0) {
354
306
  throw this.errorBuilder.buildError(ErrorType.VALIDATION, undefined, {
@@ -768,7 +720,6 @@ function renderCharterModule(charter) {
768
720
  if (charter.voiceNotes !== undefined) {
769
721
  lines.push(` voiceNotes: ${q(charter.voiceNotes)},`);
770
722
  }
771
- lines.push(` inputsDigest: ${q(charter.inputsDigest)},`);
772
723
  lines.push(` derivedAt: ${q(charter.derivedAt)},`);
773
724
  lines.push(` derivedByAgentRef: ${q(charter.derivedByAgentRef)},`);
774
725
  lines.push('};');