@wildo-ai/dev-companion 1.1.9 → 1.1.10

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 (1131) hide show
  1. package/dist/esm/.tsbuildinfo +1 -0
  2. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts +46 -0
  3. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -0
  4. package/dist/esm/brand/models/accepted-brand-mark.models.js +89 -0
  5. package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -0
  6. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  7. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  8. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  9. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  10. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  11. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  12. package/dist/esm/brand/models/logo-judge.schemas.d.ts +5 -3
  13. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  14. package/dist/esm/brand/models/logo-judge.schemas.js +5 -3
  15. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
  16. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  17. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  18. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
  19. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
  20. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  21. package/dist/esm/brand/services/logo-deliberation.companion.service.js +10 -7
  22. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  23. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  24. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  25. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  26. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  27. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  28. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  29. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  30. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  31. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +89 -0
  32. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  33. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +133 -0
  34. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  35. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts +52 -0
  36. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts.map +1 -0
  37. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js +206 -0
  38. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -0
  39. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  40. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  41. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +38 -3
  42. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  43. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +48 -4
  44. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  45. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  46. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  47. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  48. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  49. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +108 -7
  50. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  51. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +461 -27
  52. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  53. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts +53 -0
  54. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -0
  55. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +193 -0
  56. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -0
  57. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +74 -1
  58. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  59. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +246 -39
  60. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  61. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  62. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  63. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  64. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  65. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
  66. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
  67. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  68. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  69. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +15 -2
  70. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  71. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +36 -4
  72. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  73. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  74. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  75. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  76. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  77. package/dist/esm/companion-api/companion-api.schemas.d.ts +337 -337
  78. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  79. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  80. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
  81. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
  82. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
  83. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
  84. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  85. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
  86. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  87. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  88. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
  89. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
  90. package/dist/esm/companion-api/controllers/companion.controller.d.ts +25 -6
  91. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  92. package/dist/esm/companion-api/controllers/companion.controller.js +136 -15
  93. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  94. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  95. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  96. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  97. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
  98. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  99. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
  100. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  101. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
  102. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  103. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
  104. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  105. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
  106. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  107. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
  108. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  109. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
  110. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  111. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
  112. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  113. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
  114. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  115. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
  116. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  117. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
  118. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  119. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
  120. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  121. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  122. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  123. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  124. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  125. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
  126. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  127. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
  128. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  129. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  130. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  131. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  132. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  133. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  134. package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -1
  135. package/dist/esm/core/context/application-module-generations.companion.js.map +1 -1
  136. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  137. package/dist/esm/core/context/companion-context.js.map +1 -1
  138. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  139. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  140. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  141. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  142. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  143. package/dist/esm/core/inject/models/container.js.map +1 -1
  144. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  145. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  146. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  147. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  148. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  149. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  150. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
  151. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
  152. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  153. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  154. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  155. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +8 -1
  156. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  157. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +10 -0
  158. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  159. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +56 -2
  160. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  161. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  162. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +7 -3
  163. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  164. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  165. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +22 -2
  166. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  167. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  168. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  169. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  170. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  171. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +7 -3
  172. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -1
  173. package/dist/esm/core/introspection/resources/launch-blockers.companion.js +28 -2
  174. package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -1
  175. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  176. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  177. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +8 -2
  178. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  179. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +72 -5
  180. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  181. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +153 -4
  182. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  183. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +383 -30
  184. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  185. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -1
  186. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -1
  187. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +82 -2
  188. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  189. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +220 -10
  190. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  191. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +22 -6
  192. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  193. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +38 -7
  194. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  195. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  196. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  197. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +9 -0
  198. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  199. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +29 -9
  200. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  201. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  202. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  203. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  204. package/dist/esm/core/introspection/subprocess/assertions.behavior.js +10 -10
  205. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  206. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  207. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  208. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  209. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  210. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  211. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  212. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  213. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  214. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +1 -1
  215. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  216. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +20 -19
  217. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  218. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  219. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  220. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  221. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  222. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  223. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  224. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  225. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  226. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  227. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  228. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  229. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  230. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  231. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +9 -1
  232. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  233. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  234. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  235. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  236. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +2 -1
  237. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  238. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +4 -3
  239. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  240. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +14 -8
  241. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  242. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  243. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +17 -4
  244. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  245. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  246. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  247. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  248. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  249. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  250. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  251. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  252. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  253. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  254. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  255. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  256. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  257. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  258. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  259. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  260. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  261. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +35 -0
  262. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  263. package/dist/esm/core/runtime/application-runtime-liveness.companion.js +74 -0
  264. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  265. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
  266. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
  267. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  268. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  269. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts +38 -0
  270. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -0
  271. package/dist/esm/core/runtime/companion-self-restart.companion.js +110 -0
  272. package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -0
  273. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  274. package/dist/esm/core/runtime/companion-startup-assembly.js +7 -1
  275. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  276. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +12 -0
  277. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  278. package/dist/esm/core/runtime/dev-compile-quiet.companion.js +15 -1
  279. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  280. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts +83 -0
  281. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -0
  282. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +150 -0
  283. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -0
  284. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
  285. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
  286. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  287. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  288. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  289. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  290. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +23 -1
  291. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  292. package/dist/esm/core/runtime/services/start-companion-application.service.js +50 -2
  293. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  294. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  295. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  296. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  297. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  298. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  299. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  300. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  301. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  302. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  303. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  304. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  305. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  306. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  307. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  308. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  309. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  310. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  311. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  312. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  313. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  314. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  315. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  316. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  317. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  318. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  319. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  320. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  321. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  322. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  323. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  324. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  325. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  326. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  327. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  328. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  329. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  330. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  331. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  332. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  333. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  334. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  335. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  336. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  337. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  338. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  339. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  340. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  341. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  342. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  343. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  344. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  345. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  346. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  347. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  348. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  349. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
  350. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  351. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
  352. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  353. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  354. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  355. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  356. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  357. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  358. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  359. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  360. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  361. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  362. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  363. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  364. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  365. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  366. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  367. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  368. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  369. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  370. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  371. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  372. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  373. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  374. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  375. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  376. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  377. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  378. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  379. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  380. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  381. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  382. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  383. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  384. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  385. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  386. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  387. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  388. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  389. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  390. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  391. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  392. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  393. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  394. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  395. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  396. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  397. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  398. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  399. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  400. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  401. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  402. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  403. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  404. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  405. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  406. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  407. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  408. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  409. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  410. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  411. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  412. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  413. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  414. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  415. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  416. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  417. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  418. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  419. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  420. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  421. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  422. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  423. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  424. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  425. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  426. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  427. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  428. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  429. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  430. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  431. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  432. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  433. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  434. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  435. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  436. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  437. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  438. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  439. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  440. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -1
  441. package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -1
  442. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  443. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  444. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  445. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  446. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  447. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +4 -2
  448. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  449. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  450. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +7 -8
  451. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  452. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +10 -5
  453. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  454. package/dist/esm/deliberations/services/deliberation.companion.service.js +31 -21
  455. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  456. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  457. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  458. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts +56 -0
  459. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -0
  460. package/dist/esm/deliberations/utils/expert-agent-registration.js +74 -0
  461. package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -0
  462. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +9 -5
  463. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  464. package/dist/esm/deliberations/utils/load-committed-expert-agents.js +11 -15
  465. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  466. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  467. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  468. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  469. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  470. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  471. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  472. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  473. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  474. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
  475. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
  476. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  477. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  478. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  479. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  480. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  481. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  482. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  483. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  484. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  485. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  486. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts +5 -3
  487. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  488. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +5 -3
  489. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  490. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +17 -1
  491. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  492. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +47 -10
  493. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  494. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  495. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  496. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  497. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  498. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  499. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  500. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  501. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  502. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  503. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  504. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  505. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  506. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  507. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  508. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  509. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  510. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  511. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  512. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  513. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  514. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  515. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  516. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  517. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  518. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  519. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  520. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  521. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  522. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
  523. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
  524. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  525. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  526. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  527. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  528. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  529. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  530. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  531. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  532. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  533. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  534. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  535. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  536. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  537. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  538. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  539. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  540. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  541. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  542. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  543. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  544. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  545. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  546. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  547. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  548. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  549. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  550. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  551. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  552. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  553. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  554. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  555. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  556. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  557. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  558. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  559. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  560. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  561. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  562. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  563. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  564. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  565. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  566. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  567. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  568. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  569. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  570. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  571. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  572. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  573. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  574. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  575. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  576. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  577. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  578. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  579. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  580. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  581. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  582. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  583. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  584. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  585. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  586. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  587. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  588. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  589. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  590. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  591. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  592. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  593. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  594. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  595. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  596. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  597. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  598. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  599. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  600. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  601. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  602. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  604. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  606. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  609. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  611. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  613. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  617. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  619. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  640. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  642. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  647. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  648. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  649. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  650. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  651. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  652. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  653. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  654. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  655. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  656. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  657. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  658. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  659. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  660. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  661. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  662. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  663. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  664. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  665. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  666. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  667. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  668. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
  669. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
  670. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  671. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  672. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  673. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  674. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  675. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  676. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  677. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  678. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  679. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  680. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  681. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  682. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  683. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  684. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  685. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  686. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  687. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  688. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  689. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  690. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  691. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  692. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  693. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  694. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  695. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  696. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  697. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  698. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  699. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  700. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  701. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  702. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  703. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  704. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  705. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  706. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  707. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  708. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  709. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  710. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  711. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  712. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  713. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  714. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  715. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  716. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  717. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  718. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  719. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  720. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  721. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  722. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  723. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  724. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  725. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  726. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  727. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  728. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  729. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  730. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  731. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  732. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  733. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  734. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  735. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  736. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  737. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  738. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  739. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  740. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  741. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  742. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  743. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  744. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  745. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  746. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  747. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  748. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  749. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  750. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  751. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  752. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  753. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  754. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  755. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  756. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  757. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  758. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  759. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  760. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  761. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  762. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  763. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  764. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  765. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  766. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  767. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  768. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  769. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  770. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  771. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  772. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  773. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  774. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  775. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  776. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  777. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  778. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  779. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  780. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  781. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  782. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  783. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  784. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  785. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  786. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  787. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  788. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  789. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  790. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  791. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  792. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  793. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  794. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  795. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  796. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  797. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  798. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  799. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  800. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  801. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  802. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  803. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  804. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  805. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  806. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  807. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  808. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  809. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  810. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  811. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  812. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  813. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  814. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
  815. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  816. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +14 -0
  817. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  818. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  819. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  820. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  821. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  822. package/dist/esm/i18n/control-plane-label-blocks.d.ts +344 -0
  823. package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -0
  824. package/dist/esm/i18n/control-plane-label-blocks.js +115 -0
  825. package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -0
  826. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
  827. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
  828. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  829. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  830. package/dist/esm/i18n/index.d.ts.map +1 -1
  831. package/dist/esm/i18n/index.js.map +1 -1
  832. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +410 -0
  833. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  834. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +13 -145
  835. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  836. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +65 -0
  837. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  838. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +4 -37
  839. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  840. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +65 -0
  841. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  842. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +4 -37
  843. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  844. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
  845. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
  846. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  847. package/dist/esm/i18n/resources/workbenchAspects.en.js +4 -0
  848. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  849. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  850. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  851. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  852. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  853. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  854. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  855. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  856. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  857. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  858. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  859. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  860. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  861. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  862. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  863. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +10 -0
  864. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  865. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +3 -0
  866. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  867. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  868. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  869. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  870. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  871. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  872. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  873. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  874. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  875. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  876. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  877. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  878. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  879. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +287 -0
  880. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  881. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +97 -1
  882. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  883. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  884. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  885. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  886. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  887. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +19 -0
  888. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  889. package/dist/esm/i18n/system_enums/application-creation.en.js +21 -0
  890. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  891. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  892. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  893. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  894. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  895. package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -1
  896. package/dist/esm/i18n/system_enums/localization.en.js.map +1 -1
  897. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  898. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  899. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  900. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  901. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  902. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  903. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  904. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  905. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
  906. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  907. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +2 -0
  908. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  909. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  910. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  911. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  912. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  913. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
  914. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
  915. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  916. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  917. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
  918. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
  919. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -1
  920. package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -1
  921. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +29 -2
  922. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  923. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +17 -0
  924. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  925. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  926. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  927. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  928. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  929. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  930. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  931. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +5 -0
  932. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  933. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +44 -4
  934. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  935. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  936. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  937. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  938. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  939. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  940. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  941. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  942. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  943. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  944. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  945. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
  946. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
  947. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  948. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  949. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  950. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  951. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
  952. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
  953. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  954. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  955. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  956. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  957. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -1
  958. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -1
  959. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  960. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  961. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  962. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  963. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
  964. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
  965. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
  966. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
  967. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  968. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  969. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +8 -1
  970. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  971. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +9 -2
  972. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  973. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -1
  974. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -1
  975. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +13 -7
  976. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  977. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +13 -7
  978. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  979. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
  980. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
  981. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  982. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  983. package/dist/esm/index.d.ts.map +1 -1
  984. package/dist/esm/index.js.map +1 -1
  985. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  986. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  987. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  988. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  989. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  990. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +3 -3
  991. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  992. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
  993. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
  994. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  995. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  996. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  997. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  998. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +18 -0
  999. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  1000. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +37 -0
  1001. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  1002. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  1003. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  1004. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  1005. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  1006. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -1
  1007. package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -1
  1008. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -1
  1009. package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -1
  1010. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
  1011. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
  1012. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  1013. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  1014. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  1015. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  1016. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  1017. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  1018. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  1019. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  1020. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  1021. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  1022. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts +36 -0
  1023. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -0
  1024. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js +97 -0
  1025. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -0
  1026. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts +124 -0
  1027. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -0
  1028. package/dist/esm/meta-workflows/models/website-copy-review.models.js +74 -0
  1029. package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -0
  1030. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -1
  1031. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -1
  1032. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -1
  1033. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -1
  1034. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +297 -8
  1035. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  1036. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +1089 -42
  1037. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  1038. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
  1039. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
  1040. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +143 -11
  1041. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  1042. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +277 -42
  1043. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  1044. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +38 -0
  1045. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1046. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +123 -4
  1047. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1048. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +130 -2
  1049. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  1050. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +251 -4
  1051. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  1052. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts +122 -0
  1053. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -0
  1054. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +295 -0
  1055. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -0
  1056. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts +22 -0
  1057. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -0
  1058. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js +45 -0
  1059. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -0
  1060. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  1061. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  1062. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  1063. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  1064. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +53 -0
  1065. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -0
  1066. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +97 -0
  1067. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -0
  1068. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  1069. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  1070. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -1
  1071. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -1
  1072. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +17 -1
  1073. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -1
  1074. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +25 -3
  1075. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -1
  1076. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
  1077. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
  1078. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -1
  1079. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -1
  1080. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +5 -0
  1081. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  1082. package/dist/esm/meta-workflows/services/dossier.companion.service.js +5 -1
  1083. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  1084. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  1085. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  1086. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1087. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1088. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  1089. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  1090. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +50 -1
  1091. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1092. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +132 -54
  1093. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1094. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
  1095. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
  1096. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
  1097. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
  1098. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -1
  1099. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -1
  1100. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  1101. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  1102. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  1103. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  1104. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  1105. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +50 -17
  1106. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  1107. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +42 -0
  1108. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1109. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +62 -0
  1110. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1111. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +61 -1
  1112. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1113. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +398 -81
  1114. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1115. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  1116. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  1117. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  1118. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  1119. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  1120. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  1121. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1122. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1123. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1124. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1125. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  1126. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  1127. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  1128. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  1129. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1130. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1131. package/package.json +17 -17
@@ -1 +1 @@
1
- {"version":3,"file":"coding-session-frame-retention.js","sourceRoot":"","sources":["../../../../../src/claude-cli/models/coding-session-frame-retention.ts"],"names":[],"mappings":"AA4CA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,SAAS,EAAE,WAAW;IACtB,gBAAgB,EAAE,kBAAkB;IACpC,IAAI,EAAE,MAAM;IACZ,mBAAmB,EAAE,qBAAqB;CAClC,CAAC;AAEX,sEAAsE;AACtE,MAAM,CAAC,MAAM,mCAAmC,GAAG,GAAG,CAAC;AACvD,iGAAiG;AACjG,MAAM,CAAC,MAAM,kCAAkC,GAAG,KAAK,CAAC;AAMxD,SAAS,UAAU,CAAC,KAAc;IAChC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC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H,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YAClB,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;QACpB,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * What a coding run keeps of its own session on the durable task row — bounded, and chosen so the\n * record still reads as the run did.\n *\n * ## What it replaced, measured\n *\n * The first rule kept the FIRST 200 raw frames of the kinds `tool_call`, `tool_call_update`, `plan`.\n * On a real 15-minute run (Wonder Todos, `build-task-todo-lists-complete-all`, 2026-09-21) that was\n * 200 of 1,148 events: 41 tool calls and 159 of their own status updates. Four frames in five\n * restated a call already kept, so the budget ran out about a sixth of the way in — the record held\n * the run's opening and nothing of where it verified its work and concluded. And it held none of\n * what the agent SAID between calls (\"Now the backend implementation.\"), because message chunks\n * were excluded on the grounds that the output tail summarises them; the tail is the END of the\n * final message only.\n *\n * ## The rule now\n *\n * An ENTRY is one thing a reader would point at:\n * - a TOOL CALL — its `tool_call` frame plus ONE `tool_call_update` frame holding every update merged\n * in arrival order. A call costs two frames however many times it reported progress;\n * - a PASSAGE — consecutive `agent_message_chunk` frames folded into one, its text capped;\n * - the PLAN — the latest plan only; an earlier plan is superseded, not history.\n *\n * Entries are bounded, and when the bound is reached the HEAD and the TAIL are kept and the middle is\n * dropped and COUNTED. A run's opening says what it set out to do and its end says what it concluded;\n * the middle is the part a reader can best do without, and a count says plainly that it existed.\n *\n * The output is still the raw frame shape (`{ kind, payload }`), in order of first appearance, so\n * everything that already folds frames — the board's conversation, the live stream — reads it\n * unchanged. Thought chunks stay out: they are large, and they are the agent's scratch work rather\n * than its account of what it did.\n */\nexport interface CodingSessionFrame {\n readonly kind: string;\n readonly payload: unknown;\n}\n\nexport interface CodingSessionRetentionSummary {\n /** Tool calls, passages and the plan kept on the row. */\n readonly retainedEntryCount: number;\n /** Entries dropped from the MIDDLE of the run once the bound was reached. */\n readonly droppedEntryCount: number;\n}\n\nexport const CODING_SESSION_FRAME_KIND = {\n TOOL_CALL: 'tool_call',\n TOOL_CALL_UPDATE: 'tool_call_update',\n PLAN: 'plan',\n AGENT_MESSAGE_CHUNK: 'agent_message_chunk',\n} as const;\n\n/** Entries kept, split evenly between the run's head and its tail. */\nexport const RETAINED_CODING_SESSION_ENTRY_LIMIT = 240;\n/** Characters kept of one folded passage; the rest is counted on the frame, never summarised. */\nexport const RETAINED_CODING_PASSAGE_CHAR_LIMIT = 4_000;\n\ntype Entry =\n | { readonly type: 'tool'; readonly toolCallId: string; call: CodingSessionFrame | null; update: Record<string, unknown> | null }\n | { readonly type: 'passage'; text: string; droppedChars: number };\n\nfunction readRecord(value: unknown): Record<string, unknown> | null {\n return typeof value === 'object' && value !== null && !Array.isArray(value) ? value as Record<string, unknown> : null;\n}\n\nexport class CodingSessionFrameRetention {\n private readonly head: Entry[] = [];\n private readonly tail: Entry[] = [];\n private readonly toolEntries = new Map<string, Entry & { type: 'tool' }>();\n private plan: CodingSessionFrame | null = null;\n private openPassage: (Entry & { type: 'passage' }) | null = null;\n private dropped = 0;\n private anonymousToolCalls = 0;\n\n private readonly entryLimit: number;\n private readonly passageCharLimit: number;\n private readonly retainPassages: boolean;\n private readonly seenToolCallIds = new Set<string>();\n\n public constructor(options: {\n readonly entryLimit?: number;\n readonly passageCharLimit?: number;\n /**\n * False for a lane whose agent messages ARE its product and are stored as such (research: the\n * messages are the evidence). Keeping them here too would be a second, truncated copy.\n */\n readonly retainPassages?: boolean;\n } = {}) {\n this.entryLimit = options.entryLimit ?? RETAINED_CODING_SESSION_ENTRY_LIMIT;\n this.passageCharLimit = options.passageCharLimit ?? RETAINED_CODING_PASSAGE_CHAR_LIMIT;\n this.retainPassages = options.retainPassages ?? true;\n }\n\n /**\n * Distinct tool calls the run made — counted over EVERY frame, never over what was retained. A\n * count read off the retained frames silently stops at the bound.\n */\n public get toolCallCount(): number {\n return this.seenToolCallIds.size;\n }\n\n public accept(frame: CodingSessionFrame): void {\n if (frame.kind === CODING_SESSION_FRAME_KIND.AGENT_MESSAGE_CHUNK) {\n if (!this.retainPassages) return;\n const content = readRecord(readRecord(frame.payload)?.content);\n const text = typeof content?.text === 'string' ? content.text : '';\n if (text === '') return;\n if (this.openPassage === null) {\n this.openPassage = { type: 'passage', text: '', droppedChars: 0 };\n this.push(this.openPassage);\n }\n const room = this.passageCharLimit - this.openPassage.text.length;\n this.openPassage.text += text.slice(0, Math.max(room, 0));\n this.openPassage.droppedChars += Math.max(text.length - Math.max(room, 0), 0);\n return;\n }\n // Anything else ends the passage: the agent stopped talking and did something.\n this.openPassage = null;\n\n if (frame.kind === CODING_SESSION_FRAME_KIND.PLAN) {\n this.plan = frame;\n return;\n }\n if (frame.kind !== CODING_SESSION_FRAME_KIND.TOOL_CALL && frame.kind !== CODING_SESSION_FRAME_KIND.TOOL_CALL_UPDATE) return;\n\n const payload = readRecord(frame.payload);\n const declaredId = typeof payload?.toolCallId === 'string' ? payload.toolCallId : null;\n // A call with no id cannot be joined to its updates; it is kept as its own entry rather than lost.\n const toolCallId = declaredId ?? `anonymous-${this.anonymousToolCalls += 1}`;\n this.seenToolCallIds.add(toolCallId);\n let entry = this.toolEntries.get(toolCallId);\n if (entry === undefined) {\n entry = { type: 'tool', toolCallId, call: null, update: null };\n this.toolEntries.set(toolCallId, entry);\n this.push(entry);\n }\n if (frame.kind === CODING_SESSION_FRAME_KIND.TOOL_CALL && entry.call === null) entry.call = frame;\n else entry.update = { ...(entry.update ?? {}), ...(payload ?? {}) };\n }\n\n /** The retained record as raw frames, in order of first appearance; the plan leads, as the board draws it. */\n public frames(): CodingSessionFrame[] {\n const frames: CodingSessionFrame[] = this.plan ? [this.plan] : [];\n for (const entry of [...this.head, ...this.tail]) {\n if (entry.type === 'passage') {\n frames.push({\n kind: CODING_SESSION_FRAME_KIND.AGENT_MESSAGE_CHUNK,\n payload: {\n sessionUpdate: CODING_SESSION_FRAME_KIND.AGENT_MESSAGE_CHUNK,\n content: { type: 'text', text: entry.text },\n ...(entry.droppedChars > 0 ? { retention: { droppedChars: entry.droppedChars } } : {}),\n },\n });\n continue;\n }\n if (entry.call !== null) frames.push(entry.call);\n if (entry.update !== null) frames.push({ kind: CODING_SESSION_FRAME_KIND.TOOL_CALL_UPDATE, payload: entry.update });\n }\n return frames;\n }\n\n public summary(): CodingSessionRetentionSummary {\n return { retainedEntryCount: this.head.length + this.tail.length + (this.plan ? 1 : 0), droppedEntryCount: this.dropped };\n }\n\n private push(entry: Entry): void {\n const headLimit = Math.ceil(this.entryLimit / 2);\n if (this.head.length < headLimit) { this.head.push(entry); return; }\n this.tail.push(entry);\n if (this.tail.length > this.entryLimit - headLimit) {\n /*\n * The evicted entry stays in `toolEntries`, deliberately: a late update for a dropped call then\n * lands on an entry nothing emits, instead of resurrecting the call as a NEW entry at the tail\n * under an id whose opening the record no longer holds.\n */\n this.tail.shift();\n this.dropped += 1;\n }\n }\n}\n"]}
1
+ {"version":3,"file":"coding-session-frame-retention.js","sourceRoot":"","sources":["../../../../src/claude-cli/models/coding-session-frame-retention.ts"],"names":[],"mappings":"AA4CA,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,SAAS,EAAE,WAAW;IACtB,gBAAgB,EAAE,kBAAkB;IACpC,IAAI,EAAE,MAAM;IACZ,mBAAmB,EAAE,qBAAqB;CAClC,CAAC;AAEX,sEAAsE;AACtE,MAAM,CAAC,MAAM,mCAAmC,GAAG,GAAG,CAAC;AACvD,iGAAiG;AACjG,MAAM,CAAC,MAAM,kCAAkC,GAAG,KAAK,CAAC;AAMxD,SAAS,UAAU,CAAC,KAAc;IAChC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAgC,CAAC,CAAC,CAAC,IAAI,CAAC;AACxH,CAAC;AAED,MAAM,OAAO,2BAA2B;IACrB,IAAI,GAAY,EAAE,CAAC;IACnB,IAAI,GAAY,EAAE,CAAC;IACnB,WAAW,GAAG,IAAI,GAAG,EAAoC,C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,SAAS;YACX,CAAC;YACD,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI;gBAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACjD,IAAI,KAAK,CAAC,MAAM,KAAK,IAAI;gBAAE,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,yBAAyB,CAAC,gBAAgB,EAAE,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;QACtH,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAEM,OAAO;QACZ,OAAO,EAAE,kBAAkB,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;IAC5H,CAAC;IAEO,IAAI,CAAC,KAAY;QACvB,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC;QACjD,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,SAAS,EAAE,CAAC;YAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAAC,OAAO;QAAC,CAAC;QACpE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACtB,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,UAAU,GAAG,SAAS,EAAE,CAAC;YACnD;;;;eAIG;YACH,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YAClB,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;QACpB,CAAC;IACH,CAAC;CACF","sourcesContent":["/**\n * What a coding run keeps of its own session on the durable task row — bounded, and chosen so the\n * record still reads as the run did.\n *\n * ## What it replaced, measured\n *\n * The first rule kept the FIRST 200 raw frames of the kinds `tool_call`, `tool_call_update`, `plan`.\n * On a real 15-minute run (Wonder Todos, `build-task-todo-lists-complete-all`, 2026-09-21) that was\n * 200 of 1,148 events: 41 tool calls and 159 of their own status updates. Four frames in five\n * restated a call already kept, so the budget ran out about a sixth of the way in — the record held\n * the run's opening and nothing of where it verified its work and concluded. And it held none of\n * what the agent SAID between calls (\"Now the backend implementation.\"), because message chunks\n * were excluded on the grounds that the output tail summarises them; the tail is the END of the\n * final message only.\n *\n * ## The rule now\n *\n * An ENTRY is one thing a reader would point at:\n * - a TOOL CALL — its `tool_call` frame plus ONE `tool_call_update` frame holding every update merged\n * in arrival order. A call costs two frames however many times it reported progress;\n * - a PASSAGE — consecutive `agent_message_chunk` frames folded into one, its text capped;\n * - the PLAN — the latest plan only; an earlier plan is superseded, not history.\n *\n * Entries are bounded, and when the bound is reached the HEAD and the TAIL are kept and the middle is\n * dropped and COUNTED. A run's opening says what it set out to do and its end says what it concluded;\n * the middle is the part a reader can best do without, and a count says plainly that it existed.\n *\n * The output is still the raw frame shape (`{ kind, payload }`), in order of first appearance, so\n * everything that already folds frames — the board's conversation, the live stream — reads it\n * unchanged. Thought chunks stay out: they are large, and they are the agent's scratch work rather\n * than its account of what it did.\n */\nexport interface CodingSessionFrame {\n readonly kind: string;\n readonly payload: unknown;\n}\n\nexport interface CodingSessionRetentionSummary {\n /** Tool calls, passages and the plan kept on the row. */\n readonly retainedEntryCount: number;\n /** Entries dropped from the MIDDLE of the run once the bound was reached. */\n readonly droppedEntryCount: number;\n}\n\nexport const CODING_SESSION_FRAME_KIND = {\n TOOL_CALL: 'tool_call',\n TOOL_CALL_UPDATE: 'tool_call_update',\n PLAN: 'plan',\n AGENT_MESSAGE_CHUNK: 'agent_message_chunk',\n} as const;\n\n/** Entries kept, split evenly between the run's head and its tail. */\nexport const RETAINED_CODING_SESSION_ENTRY_LIMIT = 240;\n/** Characters kept of one folded passage; the rest is counted on the frame, never summarised. */\nexport const RETAINED_CODING_PASSAGE_CHAR_LIMIT = 4_000;\n\ntype Entry =\n | { readonly type: 'tool'; readonly toolCallId: string; call: CodingSessionFrame | null; update: Record<string, unknown> | null }\n | { readonly type: 'passage'; text: string; droppedChars: number };\n\nfunction readRecord(value: unknown): Record<string, unknown> | null {\n return typeof value === 'object' && value !== null && !Array.isArray(value) ? value as Record<string, unknown> : null;\n}\n\nexport class CodingSessionFrameRetention {\n private readonly head: Entry[] = [];\n private readonly tail: Entry[] = [];\n private readonly toolEntries = new Map<string, Entry & { type: 'tool' }>();\n private plan: CodingSessionFrame | null = null;\n private openPassage: (Entry & { type: 'passage' }) | null = null;\n private dropped = 0;\n private anonymousToolCalls = 0;\n\n private readonly entryLimit: number;\n private readonly passageCharLimit: number;\n private readonly retainPassages: boolean;\n private readonly seenToolCallIds = new Set<string>();\n\n public constructor(options: {\n readonly entryLimit?: number;\n readonly passageCharLimit?: number;\n /**\n * False for a lane whose agent messages ARE its product and are stored as such (research: the\n * messages are the evidence). Keeping them here too would be a second, truncated copy.\n */\n readonly retainPassages?: boolean;\n } = {}) {\n this.entryLimit = options.entryLimit ?? RETAINED_CODING_SESSION_ENTRY_LIMIT;\n this.passageCharLimit = options.passageCharLimit ?? RETAINED_CODING_PASSAGE_CHAR_LIMIT;\n this.retainPassages = options.retainPassages ?? true;\n }\n\n /**\n * Distinct tool calls the run made — counted over EVERY frame, never over what was retained. A\n * count read off the retained frames silently stops at the bound.\n */\n public get toolCallCount(): number {\n return this.seenToolCallIds.size;\n }\n\n public accept(frame: CodingSessionFrame): void {\n if (frame.kind === CODING_SESSION_FRAME_KIND.AGENT_MESSAGE_CHUNK) {\n if (!this.retainPassages) return;\n const content = readRecord(readRecord(frame.payload)?.content);\n const text = typeof content?.text === 'string' ? content.text : '';\n if (text === '') return;\n if (this.openPassage === null) {\n this.openPassage = { type: 'passage', text: '', droppedChars: 0 };\n this.push(this.openPassage);\n }\n const room = this.passageCharLimit - this.openPassage.text.length;\n this.openPassage.text += text.slice(0, Math.max(room, 0));\n this.openPassage.droppedChars += Math.max(text.length - Math.max(room, 0), 0);\n return;\n }\n // Anything else ends the passage: the agent stopped talking and did something.\n this.openPassage = null;\n\n if (frame.kind === CODING_SESSION_FRAME_KIND.PLAN) {\n this.plan = frame;\n return;\n }\n if (frame.kind !== CODING_SESSION_FRAME_KIND.TOOL_CALL && frame.kind !== CODING_SESSION_FRAME_KIND.TOOL_CALL_UPDATE) return;\n\n const payload = readRecord(frame.payload);\n const declaredId = typeof payload?.toolCallId === 'string' ? payload.toolCallId : null;\n // A call with no id cannot be joined to its updates; it is kept as its own entry rather than lost.\n const toolCallId = declaredId ?? `anonymous-${this.anonymousToolCalls += 1}`;\n this.seenToolCallIds.add(toolCallId);\n let entry = this.toolEntries.get(toolCallId);\n if (entry === undefined) {\n entry = { type: 'tool', toolCallId, call: null, update: null };\n this.toolEntries.set(toolCallId, entry);\n this.push(entry);\n }\n if (frame.kind === CODING_SESSION_FRAME_KIND.TOOL_CALL && entry.call === null) entry.call = frame;\n else entry.update = { ...(entry.update ?? {}), ...(payload ?? {}) };\n }\n\n /** The retained record as raw frames, in order of first appearance; the plan leads, as the board draws it. */\n public frames(): CodingSessionFrame[] {\n const frames: CodingSessionFrame[] = this.plan ? [this.plan] : [];\n for (const entry of [...this.head, ...this.tail]) {\n if (entry.type === 'passage') {\n frames.push({\n kind: CODING_SESSION_FRAME_KIND.AGENT_MESSAGE_CHUNK,\n payload: {\n sessionUpdate: CODING_SESSION_FRAME_KIND.AGENT_MESSAGE_CHUNK,\n content: { type: 'text', text: entry.text },\n ...(entry.droppedChars > 0 ? { retention: { droppedChars: entry.droppedChars } } : {}),\n },\n });\n continue;\n }\n if (entry.call !== null) frames.push(entry.call);\n if (entry.update !== null) frames.push({ kind: CODING_SESSION_FRAME_KIND.TOOL_CALL_UPDATE, payload: entry.update });\n }\n return frames;\n }\n\n public summary(): CodingSessionRetentionSummary {\n return { retainedEntryCount: this.head.length + this.tail.length + (this.plan ? 1 : 0), droppedEntryCount: this.dropped };\n }\n\n private push(entry: Entry): void {\n const headLimit = Math.ceil(this.entryLimit / 2);\n if (this.head.length < headLimit) { this.head.push(entry); return; }\n this.tail.push(entry);\n if (this.tail.length > this.entryLimit - headLimit) {\n /*\n * The evicted entry stays in `toolEntries`, deliberately: a late update for a dropped call then\n * lands on an entry nothing emits, instead of resurrecting the call as a NEW entry at the tail\n * under an id whose opening the record no longer holds.\n */\n this.tail.shift();\n this.dropped += 1;\n }\n }\n}\n"]}
@@ -1,3 +1,4 @@
1
+ import { ApplicationCodingTaskDisposition, CodingRunFailureAttribution } from './coding-agent-dispatch.models';
1
2
  /** How a coding run shares the application's working tree. */
2
3
  export declare enum CodingRunConcurrency {
3
4
  /** The lane as it always was: the run holds the worktree subject and the workspace lock for its whole life. */
@@ -25,6 +26,13 @@ export interface CodingRunConcurrencyRecord {
25
26
  readonly overlappingTaskRefs: readonly string[];
26
27
  /** Paths this run changed that an overlapping run is known to have changed too: where a collision would be. */
27
28
  readonly contendedPaths: readonly string[];
29
+ /**
30
+ * Whether any overlapping run may have written to the tree (#2389 review F5): one still running, one that ended
31
+ * without reporting its paths (a park), or one that settled having changed something. `false` only when every
32
+ * overlapping run settled and changed NOTHING — runs the coding agent's usage limit refused, typically — and then
33
+ * no sibling can have turned a shared check red. Absent on a record written before this field: read as `true`.
34
+ */
35
+ readonly overlappingRunsMayHaveWritten?: boolean;
28
36
  }
29
37
  /**
30
38
  * Which runs overlapped `self`, and which of its changed paths they touched too. Pure over the windows
@@ -36,6 +44,29 @@ export declare function describeRunConcurrency(windows: readonly CodingRunWindow
36
44
  readonly startedAtMs: number;
37
45
  readonly endedAtMs: number;
38
46
  }, selfChangedPaths: readonly string[]): CodingRunConcurrencyRecord;
47
+ /**
48
+ * Whether a failed run may have failed for a SIBLING's writes (#2389) — the `interferenceSuspected` flag,
49
+ * derived once. Overlap in time is the precondition, never the verdict: the flag also buys a forgiveness
50
+ * from the attempt budget ({@link selectBudgetCountingFailures}), so it must name only failures the tree
51
+ * could have caused.
52
+ *
53
+ * - A HOST failure never: the turn was taken away (a provider limit, a killed process, an operator's
54
+ * cancel) or the run could not be recorded. Measured on app-creation-test-005: four tasks failed on the
55
+ * coding agent's session limit, changed nothing, contended nothing, and every attempt read
56
+ * `interferenceSuspected: true` because another run was in the tree — and past the host bound each one
57
+ * drew an interference forgiveness, so the label hid two failures the budget should have seen.
58
+ * - A failed CHECK, whenever an overlapping run may have written: a sibling's write to any file can turn a
59
+ * shared check red (a typecheck spans the package), and a sibling still running has not reported its paths,
60
+ * so its overlap alone is the signal. Narrowing it to `contendedPaths` would miss exactly that case. Siblings
61
+ * that all settled having changed nothing cannot have caused it (#2389 review F5), so they do not count.
62
+ * - The agent failing at its own work: only when a path it changed was changed by a sibling too — the one
63
+ * way a sibling can have reached the turn itself. A run that changed nothing contended nothing.
64
+ */
65
+ export declare function deriveInterferenceSuspected(input: {
66
+ readonly disposition: ApplicationCodingTaskDisposition;
67
+ readonly failureAttribution: CodingRunFailureAttribution | null;
68
+ readonly concurrency: CodingRunConcurrencyRecord | null;
69
+ }): boolean;
39
70
  /** How long a settled run's window is kept for others to compare against — longer than any single run. */
40
71
  export declare const CODING_RUN_WINDOW_RETENTION_MS: number;
41
72
  /**
@@ -49,12 +80,15 @@ export declare const MAXIMUM_INTERFERENCE_RETRIES = 2;
49
80
  * Failed runs the HOST caused — the run could not be recorded, or the turn was taken away (#1581) —
50
81
  * forgiven before they count against the task's attempt budget. Bounded like interference: a host
51
82
  * condition that fails every attempt is a task that cannot run here, and an unbounded forgiveness would
52
- * re-dispatch it, and pay for each turn, forever.
83
+ * re-dispatch it, and pay for each turn, forever. The coding agent's usage limit is outside this bound:
84
+ * such a run is never counted, because the build pauses until the reset (#2388).
53
85
  */
54
86
  export declare const MAXIMUM_HOST_FAILURE_EXCLUSIONS = 2;
55
87
  /**
56
- * The failed runs that COUNT against a task's attempt budget. Pure. Two kinds of failure may not be
57
- * the task's, and each is forgiven up to its own bound, oldest first:
88
+ * The failed runs that COUNT against a task's attempt budget. Pure. A run the coding agent's account
89
+ * usage limit took is never counted and spends no forgiveness (#2388): the build wave pauses until the
90
+ * limit's reset, so nothing re-dispatches into it and no bound is needed. Two other kinds of failure may
91
+ * not be the task's, and each is forgiven up to its own bound, oldest first:
58
92
  * - a run that shared the tree when it failed is suspected of interference, up to
59
93
  * {@link MAXIMUM_INTERFERENCE_RETRIES};
60
94
  * - a run whose failure the host caused, up to {@link MAXIMUM_HOST_FAILURE_EXCLUSIONS}.
@@ -65,6 +99,7 @@ export declare function selectBudgetCountingFailures<T extends {
65
99
  readonly settledAt?: string;
66
100
  readonly interferenceSuspected: boolean;
67
101
  readonly hostAttributed?: boolean;
102
+ readonly usageLimited?: boolean;
68
103
  }>(runs: readonly T[]): T[];
69
104
  /** The subset of a coding agent's permission decision that names what it touched. */
70
105
  export interface CodingRunPermissionDecisionEvidence {
@@ -1 +1 @@
1
- {"version":3,"file":"concurrent-coding-runs.models.d.ts","sourceRoot":"","sources":["../../../../../src/claude-cli/models/concurrent-coding-runs.models.ts"],"names":[],"mappings":"AA0BA,8DAA8D;AAC9D,oBAAY,oBAAoB;IAC9B,+GAA+G;IAC/G,aAAa,kBAAkB;IAC/B,6GAA6G;IAC7G,UAAU,eAAe;CAC1B;AAED,mFAAmF;AACnF,eAAO,MAAM,sCAAsC,gBAAgB,CAAC;AAEpE,8GAA8G;AAC9G,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAErG;AAED,wEAAwE;AACxE,wBAAgB,sBAAsB,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAEpF;AAED,mGAAmG;AACnG,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ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WAAW,mCAAmC;IAClD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,0FAA0F;IAC1F,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE;IAC5C,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3C,QAAQ,CAAC,qBAAqB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACnD,QAAQ,CAAC,mBAAmB,CAAC,EAAE,SAAS,mCAAmC,EAAE,CAAC;CAC/E,GAAG,MAAM,EAAE,CAeX"}
@@ -21,6 +21,7 @@
21
21
  import { isAbsolute, relative, sep } from 'node:path';
22
22
  import { isWritingAcpToolKind } from '@wildo-ai/external-connectors-models';
23
23
  import { APPLICATION_CODING_WORKTREE_SUBJECT } from '../../meta-workflows/models/application-coding-agent.actors-system.definitions.js';
24
+ import { ApplicationCodingTaskDisposition, CodingRunFailureAttribution } from './coding-agent-dispatch.models.js';
24
25
  /** How a coding run shares the application's working tree. */
25
26
  export var CodingRunConcurrency;
26
27
  (function (CodingRunConcurrency) {
@@ -52,8 +53,47 @@ export function describeRunConcurrency(windows, self, selfChangedPaths) {
52
53
  return {
53
54
  overlappingTaskRefs: [...new Set(overlapping.map((window) => window.taskRef))].sort(),
54
55
  contendedPaths: [...new Set(selfChangedPaths.filter((path) => siblingPaths.has(path)))].sort(),
56
+ overlappingRunsMayHaveWritten: overlapping.some((window) => window.changedPaths === undefined || window.changedPaths.length > 0),
55
57
  };
56
58
  }
59
+ /**
60
+ * Whether a failed run may have failed for a SIBLING's writes (#2389) — the `interferenceSuspected` flag,
61
+ * derived once. Overlap in time is the precondition, never the verdict: the flag also buys a forgiveness
62
+ * from the attempt budget ({@link selectBudgetCountingFailures}), so it must name only failures the tree
63
+ * could have caused.
64
+ *
65
+ * - A HOST failure never: the turn was taken away (a provider limit, a killed process, an operator's
66
+ * cancel) or the run could not be recorded. Measured on app-creation-test-005: four tasks failed on the
67
+ * coding agent's session limit, changed nothing, contended nothing, and every attempt read
68
+ * `interferenceSuspected: true` because another run was in the tree — and past the host bound each one
69
+ * drew an interference forgiveness, so the label hid two failures the budget should have seen.
70
+ * - A failed CHECK, whenever an overlapping run may have written: a sibling's write to any file can turn a
71
+ * shared check red (a typecheck spans the package), and a sibling still running has not reported its paths,
72
+ * so its overlap alone is the signal. Narrowing it to `contendedPaths` would miss exactly that case. Siblings
73
+ * that all settled having changed nothing cannot have caused it (#2389 review F5), so they do not count.
74
+ * - The agent failing at its own work: only when a path it changed was changed by a sibling too — the one
75
+ * way a sibling can have reached the turn itself. A run that changed nothing contended nothing.
76
+ */
77
+ export function deriveInterferenceSuspected(input) {
78
+ if (input.concurrency === null || input.concurrency.overlappingTaskRefs.length === 0)
79
+ return false;
80
+ if (input.failureAttribution !== CodingRunFailureAttribution.TASK)
81
+ return false;
82
+ switch (input.disposition) {
83
+ case ApplicationCodingTaskDisposition.VERIFICATION_FAILED:
84
+ return input.concurrency.overlappingRunsMayHaveWritten !== false;
85
+ case ApplicationCodingTaskDisposition.AGENT_EXECUTION_FAILED:
86
+ return input.concurrency.contendedPaths.length > 0;
87
+ case ApplicationCodingTaskDisposition.WORKING_RESULT_RECORDED:
88
+ case ApplicationCodingTaskDisposition.AWAITING_OPERATOR_INPUT:
89
+ case ApplicationCodingTaskDisposition.INTERRUPTED_REQUIRES_REVIEW:
90
+ case ApplicationCodingTaskDisposition.CHANGE_SET_CAPTURE_FAILED:
91
+ case ApplicationCodingTaskDisposition.TRACEABILITY_FAILED:
92
+ // It changed nothing, so it contended nothing: a sibling cannot have caused a run to write no file.
93
+ case ApplicationCodingTaskDisposition.OVERRIDE_NOT_REPAIRED:
94
+ return false;
95
+ }
96
+ }
57
97
  /** How long a settled run's window is kept for others to compare against — longer than any single run. */
58
98
  export const CODING_RUN_WINDOW_RETENTION_MS = 6 * 60 * 60 * 1000;
59
99
  /**
@@ -67,12 +107,15 @@ export const MAXIMUM_INTERFERENCE_RETRIES = 2;
67
107
  * Failed runs the HOST caused — the run could not be recorded, or the turn was taken away (#1581) —
68
108
  * forgiven before they count against the task's attempt budget. Bounded like interference: a host
69
109
  * condition that fails every attempt is a task that cannot run here, and an unbounded forgiveness would
70
- * re-dispatch it, and pay for each turn, forever.
110
+ * re-dispatch it, and pay for each turn, forever. The coding agent's usage limit is outside this bound:
111
+ * such a run is never counted, because the build pauses until the reset (#2388).
71
112
  */
72
113
  export const MAXIMUM_HOST_FAILURE_EXCLUSIONS = 2;
73
114
  /**
74
- * The failed runs that COUNT against a task's attempt budget. Pure. Two kinds of failure may not be
75
- * the task's, and each is forgiven up to its own bound, oldest first:
115
+ * The failed runs that COUNT against a task's attempt budget. Pure. A run the coding agent's account
116
+ * usage limit took is never counted and spends no forgiveness (#2388): the build wave pauses until the
117
+ * limit's reset, so nothing re-dispatches into it and no bound is needed. Two other kinds of failure may
118
+ * not be the task's, and each is forgiven up to its own bound, oldest first:
76
119
  * - a run that shared the tree when it failed is suspected of interference, up to
77
120
  * {@link MAXIMUM_INTERFERENCE_RETRIES};
78
121
  * - a run whose failure the host caused, up to {@link MAXIMUM_HOST_FAILURE_EXCLUSIONS}.
@@ -80,7 +123,8 @@ export const MAXIMUM_HOST_FAILURE_EXCLUSIONS = 2;
80
123
  * slot. Either way it is forgiven once, never twice.
81
124
  */
82
125
  export function selectBudgetCountingFailures(runs) {
83
- const oldestFirst = [...runs].sort((left, right) => (left.settledAt ?? '').localeCompare(right.settledAt ?? ''));
126
+ const oldestFirst = [...runs].filter((run) => run.usageLimited !== true)
127
+ .sort((left, right) => (left.settledAt ?? '').localeCompare(right.settledAt ?? ''));
84
128
  let forgivenInterference = 0;
85
129
  let forgivenHost = 0;
86
130
  const counting = oldestFirst.filter((run) => {
@@ -1 +1 @@
1
- {"version":3,"file":"concurrent-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IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;QACtG,IAAI,YAAY,KAAK,SAAS;YAAE,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IACjF,CAAC;IACD,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;AAC7B,CAAC","sourcesContent":["/**\n * Several coding runs in ONE worktree at once (#1528) — the pure half: what they hold, what each one\n * records about the others, and how a failure that may be another run's doing is kept from retiring a\n * task.\n *\n * The decision this serves, in Paul's words (2026-09-24): concurrent agents editing the same tree\n * reconcile fine in practice, so the lane does not PREVENT interference — no file separation, no\n * disjoint scopes, no worktree per agent — it DETECTS it and REPAIRS it. Measured on the first\n * end-to-end run's plan: 94 tasks in six waves, wave 2 holding 45 independent tasks, run single-file.\n *\n * What is still exclusive, and why each is the only thing that is:\n * - ONE run per build task at a time: two agents building the same task are a bug, not a collision.\n * That is the engine's exclusive subject, keyed on the task instead of the worktree.\n * - A SINGLE-FLIGHT run and concurrent runs never overlap, in either direction. A single-flight run\n * was promised the tree to itself; and the single-flight door is the one a running agent can reach\n * from its own shell, so refusing it while any run is in flight keeps the P-35 recursion cap\n * EXPLICIT now that the global lock no longer provides it as a side effect.\n * - A git COMMIT takes the workspace lock briefly, because git's own index lock does not tolerate\n * two writers.\n */\nimport { isAbsolute, relative, sep } from 'node:path';\n\nimport { isWritingAcpToolKind } from '@wildo-ai/external-connectors-models';\n\nimport { APPLICATION_CODING_WORKTREE_SUBJECT } from '../../meta-workflows/models/application-coding-agent.actors-system.definitions';\n\n/** How a coding run shares the application's working tree. */\nexport enum CodingRunConcurrency {\n /** The lane as it always was: the run holds the worktree subject and the workspace lock for its whole life. */\n SINGLE_FLIGHT = 'single-flight',\n /** One of several runs in one wave: holds only its own task, and takes the workspace lock only to commit. */\n CONCURRENT = 'concurrent',\n}\n\n/** The prefix of a concurrent run's exclusive subject; the task ref follows it. */\nexport const APPLICATION_CODING_TASK_SUBJECT_PREFIX = 'build-task:';\n\n/** What a run holds exclusively: the whole worktree when single-flight, only its own task when concurrent. */\nexport function applicationCodingExclusiveSubject(mode: CodingRunConcurrency, taskRef: string): string {\n return mode === CodingRunConcurrency.CONCURRENT ? `${APPLICATION_CODING_TASK_SUBJECT_PREFIX}${taskRef}` : APPLICATION_CODING_WORKTREE_SUBJECT;\n}\n\n/** True when a live execution's subject says it is a concurrent run. */\nexport function isConcurrentRunSubject(exclusiveSubject: string | undefined): boolean {\n return typeof exclusiveSubject === 'string' && exclusiveSubject.startsWith(APPLICATION_CODING_TASK_SUBJECT_PREFIX);\n}\n\n/** One run's time in the tree, as this process saw it. `changedPaths` is known once it settled. */\nexport interface CodingRunWindow {\n readonly taskId: string;\n readonly taskRef: string;\n readonly startedAtMs: number;\n readonly endedAtMs?: number;\n readonly changedPaths?: readonly string[];\n}\n\n/** What a run records about the runs that shared the tree with it — the observability half of the repair layer. */\nexport interface CodingRunConcurrencyRecord {\n /** Build tasks whose runs were in the tree at some point during this one. */\n readonly overlappingTaskRefs: readonly string[];\n /** Paths this run changed that an overlapping run is known to have changed too: where a collision would be. */\n readonly contendedPaths: readonly string[];\n}\n\n/**\n * Which runs overlapped `self`, and which of its changed paths they touched too. Pure over the windows\n * this process holds. A sibling still running has no `changedPaths` yet, so a contention with it is\n * recorded by whichever of the two settles LATER — every pair is reported once, by one side.\n */\nexport function describeRunConcurrency(\n windows: readonly CodingRunWindow[],\n self: { readonly taskId: string; readonly startedAtMs: number; readonly endedAtMs: number },\n selfChangedPaths: readonly string[],\n): CodingRunConcurrencyRecord {\n const overlapping = windows.filter((window) => window.taskId !== self.taskId\n && window.startedAtMs < self.endedAtMs\n && (window.endedAtMs === undefined || window.endedAtMs > self.startedAtMs));\n const siblingPaths = new Set(overlapping.flatMap((window) => window.changedPaths ?? []));\n return {\n overlappingTaskRefs: [...new Set(overlapping.map((window) => window.taskRef))].sort(),\n contendedPaths: [...new Set(selfChangedPaths.filter((path) => siblingPaths.has(path)))].sort(),\n };\n}\n\n/** How long a settled run's window is kept for others to compare against — longer than any single run. */\nexport const CODING_RUN_WINDOW_RETENTION_MS = 6 * 60 * 60 * 1000;\n\n/**\n * Failed runs whose failure MAY have been another run's doing, forgiven before they count against the\n * task's attempt budget. Two, so a task that genuinely cannot pass still retires, after at most two\n * extra attempts. The first two are the ones forgiven, because interference is likeliest while the\n * wave is widest.\n */\nexport const MAXIMUM_INTERFERENCE_RETRIES = 2;\n\n/**\n * Failed runs the HOST caused — the run could not be recorded, or the turn was taken away (#1581) —\n * forgiven before they count against the task's attempt budget. Bounded like interference: a host\n * condition that fails every attempt is a task that cannot run here, and an unbounded forgiveness would\n * re-dispatch it, and pay for each turn, forever.\n */\nexport const MAXIMUM_HOST_FAILURE_EXCLUSIONS = 2;\n\n/**\n * The failed runs that COUNT against a task's attempt budget. Pure. Two kinds of failure may not be\n * the task's, and each is forgiven up to its own bound, oldest first:\n * - a run that shared the tree when it failed is suspected of interference, up to\n * {@link MAXIMUM_INTERFERENCE_RETRIES};\n * - a run whose failure the host caused, up to {@link MAXIMUM_HOST_FAILURE_EXCLUSIONS}.\n * A run that is both uses ONE forgiveness: the host's while a host slot is free, else an interference\n * slot. Either way it is forgiven once, never twice.\n */\nexport function selectBudgetCountingFailures<T extends { readonly settledAt?: string; readonly interferenceSuspected: boolean; readonly hostAttributed?: boolean }>(runs: readonly T[]): T[] {\n const oldestFirst = [...runs].sort((left, right) => (left.settledAt ?? '').localeCompare(right.settledAt ?? ''));\n let forgivenInterference = 0;\n let forgivenHost = 0;\n const counting = oldestFirst.filter((run) => {\n if (run.hostAttributed === true && forgivenHost < MAXIMUM_HOST_FAILURE_EXCLUSIONS) {\n forgivenHost += 1;\n return false;\n }\n if (run.interferenceSuspected && forgivenInterference < MAXIMUM_INTERFERENCE_RETRIES) {\n forgivenInterference += 1;\n return false;\n }\n return true;\n });\n // Callers read newest first, as the budget lookup always returned them.\n return counting.reverse();\n}\n\n/** The subset of a coding agent's permission decision that names what it touched. */\nexport interface CodingRunPermissionDecisionEvidence {\n readonly allowed: boolean;\n /** The ACP tool kind asked about; only a WRITING kind's locations are a claim (#1805). */\n readonly toolKind?: string;\n readonly locations: readonly string[];\n}\n\n/**\n * The application-relative paths a concurrent run has EVIDENCE of writing itself: the file locations\n * its agent reported on its own tool calls, and the locations of the edits it was ALLOWED to make.\n *\n * Why a concurrent run needs this and a single-flight run does not. A run's change set is a\n * before/after capture of the whole tree, so in a wave every sibling's files appear in it too, and\n * nothing in a capture can tell them apart. Measured on the first live wave (2026-09-24, four real\n * agents each adding a module and an export line): the first run to settle committed ALL FOUR modules\n * under its own name — \"the writes of coding run task-3\" listing alpha, beta, delta and gamma — and\n * the other three accepts were refused as already committed. The tree ended right and the history\n * said the wrong thing; and a sibling that later FAILED would have had its half-written file\n * committed under the first finisher's name, which is exactly what a failed run must not get.\n *\n * So a concurrent run's own accept commits only what it claims — the files its agent's WRITING tool calls\n * reported (#1805: a read or a search claims nothing). A path nobody claims — an agent that wrote through\n * its shell, which declares no location — is not lost: when the runs sharing the tree have settled, what\n * they left is committed as ONE change, writer unknown, naming every run whose writes it may carry.\n *\n * `candidateRoots` are the configured application root and its physical realpath, because an agent\n * reports CANONICAL paths (`/private/var/…` for a root configured as `/var/…`). Pure.\n */\nexport function collectRunClaimedPaths(input: {\n readonly candidateRoots: readonly string[];\n readonly reportedFileLocations?: readonly string[];\n readonly permissionDecisions?: readonly CodingRunPermissionDecisionEvidence[];\n}): string[] {\n const absolute = [\n ...(input.reportedFileLocations ?? []),\n // Allowed to WRITE, not merely to read: a permission asked for a read or a search claims nothing (#1805 review F3).\n ...(input.permissionDecisions ?? []).filter((decision) => decision.allowed && isWritingAcpToolKind(decision.toolKind)).flatMap((decision) => decision.locations),\n ];\n const claimed = new Set<string>();\n for (const location of absolute) {\n if (!isAbsolute(location)) continue;\n const relativePath = input.candidateRoots\n .map((root) => relative(root, location))\n .find((candidate) => candidate.length > 0 && !candidate.startsWith('..') && !isAbsolute(candidate));\n if (relativePath !== undefined) claimed.add(relativePath.split(sep).join('/'));\n }\n return [...claimed].sort();\n}\n"]}
1
+ {"version":3,"file":"concurrent-coding-runs.models.js","sourceRoot":"","sources":["../../../../src/claude-cli/models/concurrent-coding-runs.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAEtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,EAAE,mCAAmC,EAAE,MAAM,gFAAgF,CAAC;AACrI,OAAO,EAAE,gCAAgC,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAC;AAE/G,8DAA8D;AAC9D,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,+GAA+G;IAC/G,uDAA+B,CAAA;IAC/B,6GAA6G;IAC7G,iDAAyB,CAAA;AAC3B,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B;AAED,mFAAmF;AACnF,MAAM,CAAC,MAAM,sCAAsC,GAAG,aAAa,CAAC;AAEpE,8GAA8G;AAC9G,MAAM,UAAU,iCAAiC,CAAC,IAA0B,EAAE,OAAe;IAC3F,OAAO,IAAI,KAAK,oBAAoB,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,sCAAsC,GAAG,OAAO,EAAE,CAAC,CAAC,CAAC,mCAAmC,CAAC;AAChJ,CAAC;AAED,wEAAwE;AACxE,MAAM,UAAU,sBAAsB,CAAC,gBAAoC;IACzE,OAAO,OAAO,gBAAgB,KAAK,QAAQ,IAAI,gBAAgB,CAAC,UAAU,CAAC,sCAAsC,CAAC,CAAC;AACrH,CAAC;AA0BD;;;;GAIG;AACH,MAAM,UAAU,sBAAsB,CACpC,OAAmC,EACnC,IAA2F,EAC3F,gBAAmC;IAEnC,MA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AAC,SAAS,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC;QACtG,IAAI,YAAY,KAAK,SAAS;YAAE,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;IACjF,CAAC;IACD,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;AAC7B,CAAC","sourcesContent":["/**\n * Several coding runs in ONE worktree at once (#1528) — the pure half: what they hold, what each one\n * records about the others, and how a failure that may be another run's doing is kept from retiring a\n * task.\n *\n * The decision this serves, in Paul's words (2026-09-24): concurrent agents editing the same tree\n * reconcile fine in practice, so the lane does not PREVENT interference — no file separation, no\n * disjoint scopes, no worktree per agent — it DETECTS it and REPAIRS it. Measured on the first\n * end-to-end run's plan: 94 tasks in six waves, wave 2 holding 45 independent tasks, run single-file.\n *\n * What is still exclusive, and why each is the only thing that is:\n * - ONE run per build task at a time: two agents building the same task are a bug, not a collision.\n * That is the engine's exclusive subject, keyed on the task instead of the worktree.\n * - A SINGLE-FLIGHT run and concurrent runs never overlap, in either direction. A single-flight run\n * was promised the tree to itself; and the single-flight door is the one a running agent can reach\n * from its own shell, so refusing it while any run is in flight keeps the P-35 recursion cap\n * EXPLICIT now that the global lock no longer provides it as a side effect.\n * - A git COMMIT takes the workspace lock briefly, because git's own index lock does not tolerate\n * two writers.\n */\nimport { isAbsolute, relative, sep } from 'node:path';\n\nimport { isWritingAcpToolKind } from '@wildo-ai/external-connectors-models';\n\nimport { APPLICATION_CODING_WORKTREE_SUBJECT } from '../../meta-workflows/models/application-coding-agent.actors-system.definitions';\nimport { ApplicationCodingTaskDisposition, CodingRunFailureAttribution } from './coding-agent-dispatch.models';\n\n/** How a coding run shares the application's working tree. */\nexport enum CodingRunConcurrency {\n /** The lane as it always was: the run holds the worktree subject and the workspace lock for its whole life. */\n SINGLE_FLIGHT = 'single-flight',\n /** One of several runs in one wave: holds only its own task, and takes the workspace lock only to commit. */\n CONCURRENT = 'concurrent',\n}\n\n/** The prefix of a concurrent run's exclusive subject; the task ref follows it. */\nexport const APPLICATION_CODING_TASK_SUBJECT_PREFIX = 'build-task:';\n\n/** What a run holds exclusively: the whole worktree when single-flight, only its own task when concurrent. */\nexport function applicationCodingExclusiveSubject(mode: CodingRunConcurrency, taskRef: string): string {\n return mode === CodingRunConcurrency.CONCURRENT ? `${APPLICATION_CODING_TASK_SUBJECT_PREFIX}${taskRef}` : APPLICATION_CODING_WORKTREE_SUBJECT;\n}\n\n/** True when a live execution's subject says it is a concurrent run. */\nexport function isConcurrentRunSubject(exclusiveSubject: string | undefined): boolean {\n return typeof exclusiveSubject === 'string' && exclusiveSubject.startsWith(APPLICATION_CODING_TASK_SUBJECT_PREFIX);\n}\n\n/** One run's time in the tree, as this process saw it. `changedPaths` is known once it settled. */\nexport interface CodingRunWindow {\n readonly taskId: string;\n readonly taskRef: string;\n readonly startedAtMs: number;\n readonly endedAtMs?: number;\n readonly changedPaths?: readonly string[];\n}\n\n/** What a run records about the runs that shared the tree with it — the observability half of the repair layer. */\nexport interface CodingRunConcurrencyRecord {\n /** Build tasks whose runs were in the tree at some point during this one. */\n readonly overlappingTaskRefs: readonly string[];\n /** Paths this run changed that an overlapping run is known to have changed too: where a collision would be. */\n readonly contendedPaths: readonly string[];\n /**\n * Whether any overlapping run may have written to the tree (#2389 review F5): one still running, one that ended\n * without reporting its paths (a park), or one that settled having changed something. `false` only when every\n * overlapping run settled and changed NOTHING — runs the coding agent's usage limit refused, typically — and then\n * no sibling can have turned a shared check red. Absent on a record written before this field: read as `true`.\n */\n readonly overlappingRunsMayHaveWritten?: boolean;\n}\n\n/**\n * Which runs overlapped `self`, and which of its changed paths they touched too. Pure over the windows\n * this process holds. A sibling still running has no `changedPaths` yet, so a contention with it is\n * recorded by whichever of the two settles LATER — every pair is reported once, by one side.\n */\nexport function describeRunConcurrency(\n windows: readonly CodingRunWindow[],\n self: { readonly taskId: string; readonly startedAtMs: number; readonly endedAtMs: number },\n selfChangedPaths: readonly string[],\n): CodingRunConcurrencyRecord {\n const overlapping = windows.filter((window) => window.taskId !== self.taskId\n && window.startedAtMs < self.endedAtMs\n && (window.endedAtMs === undefined || window.endedAtMs > self.startedAtMs));\n const siblingPaths = new Set(overlapping.flatMap((window) => window.changedPaths ?? []));\n return {\n overlappingTaskRefs: [...new Set(overlapping.map((window) => window.taskRef))].sort(),\n contendedPaths: [...new Set(selfChangedPaths.filter((path) => siblingPaths.has(path)))].sort(),\n overlappingRunsMayHaveWritten: overlapping.some((window) => window.changedPaths === undefined || window.changedPaths.length > 0),\n };\n}\n\n/**\n * Whether a failed run may have failed for a SIBLING's writes (#2389) — the `interferenceSuspected` flag,\n * derived once. Overlap in time is the precondition, never the verdict: the flag also buys a forgiveness\n * from the attempt budget ({@link selectBudgetCountingFailures}), so it must name only failures the tree\n * could have caused.\n *\n * - A HOST failure never: the turn was taken away (a provider limit, a killed process, an operator's\n * cancel) or the run could not be recorded. Measured on app-creation-test-005: four tasks failed on the\n * coding agent's session limit, changed nothing, contended nothing, and every attempt read\n * `interferenceSuspected: true` because another run was in the tree — and past the host bound each one\n * drew an interference forgiveness, so the label hid two failures the budget should have seen.\n * - A failed CHECK, whenever an overlapping run may have written: a sibling's write to any file can turn a\n * shared check red (a typecheck spans the package), and a sibling still running has not reported its paths,\n * so its overlap alone is the signal. Narrowing it to `contendedPaths` would miss exactly that case. Siblings\n * that all settled having changed nothing cannot have caused it (#2389 review F5), so they do not count.\n * - The agent failing at its own work: only when a path it changed was changed by a sibling too — the one\n * way a sibling can have reached the turn itself. A run that changed nothing contended nothing.\n */\nexport function deriveInterferenceSuspected(input: {\n readonly disposition: ApplicationCodingTaskDisposition;\n readonly failureAttribution: CodingRunFailureAttribution | null;\n readonly concurrency: CodingRunConcurrencyRecord | null;\n}): boolean {\n if (input.concurrency === null || input.concurrency.overlappingTaskRefs.length === 0) return false;\n if (input.failureAttribution !== CodingRunFailureAttribution.TASK) return false;\n switch (input.disposition) {\n case ApplicationCodingTaskDisposition.VERIFICATION_FAILED:\n return input.concurrency.overlappingRunsMayHaveWritten !== false;\n case ApplicationCodingTaskDisposition.AGENT_EXECUTION_FAILED:\n return input.concurrency.contendedPaths.length > 0;\n case ApplicationCodingTaskDisposition.WORKING_RESULT_RECORDED:\n case ApplicationCodingTaskDisposition.AWAITING_OPERATOR_INPUT:\n case ApplicationCodingTaskDisposition.INTERRUPTED_REQUIRES_REVIEW:\n case ApplicationCodingTaskDisposition.CHANGE_SET_CAPTURE_FAILED:\n case ApplicationCodingTaskDisposition.TRACEABILITY_FAILED:\n // It changed nothing, so it contended nothing: a sibling cannot have caused a run to write no file.\n case ApplicationCodingTaskDisposition.OVERRIDE_NOT_REPAIRED:\n return false;\n }\n}\n\n/** How long a settled run's window is kept for others to compare against — longer than any single run. */\nexport const CODING_RUN_WINDOW_RETENTION_MS = 6 * 60 * 60 * 1000;\n\n/**\n * Failed runs whose failure MAY have been another run's doing, forgiven before they count against the\n * task's attempt budget. Two, so a task that genuinely cannot pass still retires, after at most two\n * extra attempts. The first two are the ones forgiven, because interference is likeliest while the\n * wave is widest.\n */\nexport const MAXIMUM_INTERFERENCE_RETRIES = 2;\n\n/**\n * Failed runs the HOST caused — the run could not be recorded, or the turn was taken away (#1581) —\n * forgiven before they count against the task's attempt budget. Bounded like interference: a host\n * condition that fails every attempt is a task that cannot run here, and an unbounded forgiveness would\n * re-dispatch it, and pay for each turn, forever. The coding agent's usage limit is outside this bound:\n * such a run is never counted, because the build pauses until the reset (#2388).\n */\nexport const MAXIMUM_HOST_FAILURE_EXCLUSIONS = 2;\n\n/**\n * The failed runs that COUNT against a task's attempt budget. Pure. A run the coding agent's account\n * usage limit took is never counted and spends no forgiveness (#2388): the build wave pauses until the\n * limit's reset, so nothing re-dispatches into it and no bound is needed. Two other kinds of failure may\n * not be the task's, and each is forgiven up to its own bound, oldest first:\n * - a run that shared the tree when it failed is suspected of interference, up to\n * {@link MAXIMUM_INTERFERENCE_RETRIES};\n * - a run whose failure the host caused, up to {@link MAXIMUM_HOST_FAILURE_EXCLUSIONS}.\n * A run that is both uses ONE forgiveness: the host's while a host slot is free, else an interference\n * slot. Either way it is forgiven once, never twice.\n */\nexport function selectBudgetCountingFailures<T extends {\n readonly settledAt?: string;\n readonly interferenceSuspected: boolean;\n readonly hostAttributed?: boolean;\n readonly usageLimited?: boolean;\n}>(runs: readonly T[]): T[] {\n const oldestFirst = [...runs].filter((run) => run.usageLimited !== true)\n .sort((left, right) => (left.settledAt ?? '').localeCompare(right.settledAt ?? ''));\n let forgivenInterference = 0;\n let forgivenHost = 0;\n const counting = oldestFirst.filter((run) => {\n if (run.hostAttributed === true && forgivenHost < MAXIMUM_HOST_FAILURE_EXCLUSIONS) {\n forgivenHost += 1;\n return false;\n }\n if (run.interferenceSuspected && forgivenInterference < MAXIMUM_INTERFERENCE_RETRIES) {\n forgivenInterference += 1;\n return false;\n }\n return true;\n });\n // Callers read newest first, as the budget lookup always returned them.\n return counting.reverse();\n}\n\n/** The subset of a coding agent's permission decision that names what it touched. */\nexport interface CodingRunPermissionDecisionEvidence {\n readonly allowed: boolean;\n /** The ACP tool kind asked about; only a WRITING kind's locations are a claim (#1805). */\n readonly toolKind?: string;\n readonly locations: readonly string[];\n}\n\n/**\n * The application-relative paths a concurrent run has EVIDENCE of writing itself: the file locations\n * its agent reported on its own tool calls, and the locations of the edits it was ALLOWED to make.\n *\n * Why a concurrent run needs this and a single-flight run does not. A run's change set is a\n * before/after capture of the whole tree, so in a wave every sibling's files appear in it too, and\n * nothing in a capture can tell them apart. Measured on the first live wave (2026-09-24, four real\n * agents each adding a module and an export line): the first run to settle committed ALL FOUR modules\n * under its own name — \"the writes of coding run task-3\" listing alpha, beta, delta and gamma — and\n * the other three accepts were refused as already committed. The tree ended right and the history\n * said the wrong thing; and a sibling that later FAILED would have had its half-written file\n * committed under the first finisher's name, which is exactly what a failed run must not get.\n *\n * So a concurrent run's own accept commits only what it claims — the files its agent's WRITING tool calls\n * reported (#1805: a read or a search claims nothing). A path nobody claims — an agent that wrote through\n * its shell, which declares no location — is not lost: when the runs sharing the tree have settled, what\n * they left is committed as ONE change, writer unknown, naming every run whose writes it may carry.\n *\n * `candidateRoots` are the configured application root and its physical realpath, because an agent\n * reports CANONICAL paths (`/private/var/…` for a root configured as `/var/…`). Pure.\n */\nexport function collectRunClaimedPaths(input: {\n readonly candidateRoots: readonly string[];\n readonly reportedFileLocations?: readonly string[];\n readonly permissionDecisions?: readonly CodingRunPermissionDecisionEvidence[];\n}): string[] {\n const absolute = [\n ...(input.reportedFileLocations ?? []),\n // Allowed to WRITE, not merely to read: a permission asked for a read or a search claims nothing (#1805 review F3).\n ...(input.permissionDecisions ?? []).filter((decision) => decision.allowed && isWritingAcpToolKind(decision.toolKind)).flatMap((decision) => decision.locations),\n ];\n const claimed = new Set<string>();\n for (const location of absolute) {\n if (!isAbsolute(location)) continue;\n const relativePath = input.candidateRoots\n .map((root) => relative(root, location))\n .find((candidate) => candidate.length > 0 && !candidate.startsWith('..') && !isAbsolute(candidate));\n if (relativePath !== undefined) claimed.add(relativePath.split(sep).join('/'));\n }\n return [...claimed].sort();\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"parked-question-answer.models.d.ts","sourceRoot":"","sources":["../../../../../src/claude-cli/models/parked-question-answer.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,qBAAqB,EAAuB,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAM5F,0DAA0D;AAC1D,oBAAY,2BAA2B;IACrC,yEAAyE;IACzE,QAAQ,aAAa;IACrB,iIAAiI;IACjI,gBAAgB,qBAA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,wBAAgB,gCAAgC,CAAC,KAAK,EAAE;IACtD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC,GAAG,MAAM,CA0BT"}
1
+ {"version":3,"file":"parked-question-answer.models.d.ts","sourceRoot":"","sources":["../../../../src/claude-cli/models/parked-question-answer.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,qBAAqB,EAAuB,MAAM,uBAAuB,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAM5F,0DAA0D;AAC1D,oBAAY,2BAA2B;IACrC,yEAAyE;IACzE,QAAQ,aAAa;IACrB,iIAAiI;IACjI,gBAAgB,qBAAqB;CACtC;AAED,qDAAqD;AACrD,oBAAY,0BAA0B;IACpC,OAAO,YAAY;IACnB,qDAAqD;IACrD,aAAa,kBAAkB;IAC/B,2FAA2F;IAC3F,eAAe,oBAAoB;IACnC,kGAAkG;IAClG,YAAY,iBAAiB;CAC9B;AAED;;;;GAIG;AACH,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAE/C,iHAAiH;AACjH,eAAO,MAAM,gCAAgC,OAAO,CAAC;AAErD,yHAAyH;AACzH,eAAO,MAAM,iCAAiC,gDAAgD,CAAC;AAE/F,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,OAAO,EAAE,2BAA2B,CAAC;IAC9C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,sDAAsD;IACtD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,uFAAuF;IACvF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED,kHAAkH;AAClH,eAAO,MAAM,gCAAgC;;;;iBAI3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAY1F,4DAA4D;AAC5D,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,OAAO,GAAG,0BAA0B,EAAE,CAMvF;AAID,qGAAqG;AACrG,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,qBAAqB,GAAG,SAAS,EAAE,MAAM,EAAE,0BAA0B,GAAG,qBAAqB,CAI7I;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE;IAC9C,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC;IACzC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,YAAY,EAAE,SAAS,0BAA0B,EAAE,CAAC;CAC9D,GAAG,0BAA0B,CAS7B;AAED;;;;GAIG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE;IACtD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC,GAAG,MAAM,CA0BT"}
@@ -1 +1 @@
1
- {"version":3,"file":"parked-question-answer.models.js","sourceRoot":"","sources":["../../../../../src/claude-cli/models/parked-question-answer.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAEtF,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,4DAA4D,CAAC;AAE7H,0DAA0D;AAC1D,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,yEAAyE;IACzE,oDAAqB,CAAA;IACrB,iIAAiI;IACjI,oEA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,CAAC,IAAI,EAAE,CAAC;IACvC,IAAI,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,QAAQ,CAAC;QAAE,OAAO,0BAA0B,CAAC,eAAe,CAAC;IAChI,MAAM,QAAQ,GAAG,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,KAAK,2BAA2B,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC;IACvH,IAAI,QAAQ,IAAI,6BAA6B;QAAE,OAAO,0BAA0B,CAAC,YAAY,CAAC;IAC9F,OAAO,0BAA0B,CAAC,OAAO,CAAC;AAC5C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,gCAAgC,CAAC,KAIhD;IACC,OAAO;QACL,wGAAwG;QACxG,EAAE;QACF,gGAAgG;QAChG,qGAAqG;QACrG,mGAAmG;QACnG,qFAAqF;QACrF,EAAE;QACF,mGAAmG;QACnG,sGAAsG;QACtG,mGAAmG;QACnG,oFAAoF;QACpF,EAAE;QACF,qGAAqG;QACrG,uGAAuG;QACvG,EAAE;QACF,gBAAgB;QAChB,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE;QACrB,EAAE;QACF,kEAAkE;QAClE,KAAK,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,CAAC,aAAa;QACxH,EAAE;QACF,iCAAiC;QACjC,KAAK,CAAC,KAAK;KACZ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC","sourcesContent":["/**\n * The ANSWERING AGENT for a parked coding question (#1559) — the middle tier between a run that\n * stopped to ask and the creator who would otherwise be asked.\n *\n * Two tiers already existed (#1531): permissions never park (`decidePermission` answers each request\n * from the ceiling and the scope), and a question that does park reaches the creator on Home. Nothing\n * tried in between, although most questions a build run asks — which pattern to follow, where\n * something belongs, whether a resource is meant to do X — are answered by the material the dispatch\n * already assembled for it: the task, the build plan, the landed specifications, the skills. Under the\n * autonomy posture the creator is deliberately not watching, so every such question held its task\n * until someone looked.\n *\n * What this file decides, purely:\n *\n * - WHETHER the agent may try at all: through the posture table, as an APPROVE_RESULT boundary. Under\n * GUIDED the person is present and answers; under YOLO_LIGHT and YOLO the agent tries first and its\n * answer is recorded where a person reads it.\n * - that it tries ONCE per question, and at most {@link MAXIMUM_AGENT_ANSWERS_PER_RUN} times per run: a\n * run asking more than that has shown its brief does not carry its answers, and a person is better.\n * - what it is asked, and the two things it may return.\n */\nimport { z } from 'zod';\nimport type { Actors_Memory_Context, Actors_Memory_Entry } from '@wildo-ai/saas-models';\nimport { Journey_AutonomyPreset } from '@wildo-ai/saas-specifications/application-creation';\n\nimport { PlaybookLaneBoundaryDecision } from '@wildo-ai/application-creation-runtime';\n\nimport { LaneBoundaryTreatment, laneBoundaryTreatmentFor } from '../../meta-workflows/models/playbook-run-checkpoint.models';\n\n/** What the answering agent returned for one question. */\nexport enum ParkedQuestionAnswerVerdict {\n /** The dispatch material answers it; the run resumes with the answer. */\n ANSWERED = 'answered',\n /** It is a product decision — what the product is, a scope, a cost, a legal posture. The creator is asked, exactly as before. */\n PRODUCT_DECISION = 'product-decision',\n}\n\n/** Why the agent was or was not given a question. */\nexport enum AgentAnswerAttemptDecision {\n ATTEMPT = 'attempt',\n /** The posture keeps this decision with a person. */\n POSTURE_HOLDS = 'posture-holds',\n /** The agent already returned a verdict for this exact question: one call per question. */\n ALREADY_DECIDED = 'already-decided',\n /** The agent has answered {@link MAXIMUM_AGENT_ANSWERS_PER_RUN} questions of this run already. */\n BUDGET_SPENT = 'budget-spent',\n}\n\n/**\n * Answers the agent may give ONE run. Three, because a run that asks a fourth question after three\n * answers is not missing a fact, it is missing a brief — and each answer resumes a full agent turn, so\n * the bound is also the bound on what one run can spend being answered by a machine.\n */\nexport const MAXIMUM_AGENT_ANSWERS_PER_RUN = 3;\n\n/** How much of the agent's last output the answerer sees — enough for the reasoning that led to the question. */\nexport const ANSWERER_AGENT_OUTPUT_TAIL_CHARS = 3000;\n\n/** The memory key each verdict is recorded under, on the run's own task: every verdict is auditable where the run is. */\nexport const PARKED_QUESTION_ANSWER_MEMORY_KEY = 'application-creation.parked-question-answer';\n\nexport interface ParkedQuestionAnswerRecord {\n readonly verdict: ParkedQuestionAnswerVerdict;\n readonly question: string;\n /** The answer given; empty for a product decision. */\n readonly answer: string;\n /** What in the dispatch material the verdict rests on — the part a reviewer checks. */\n readonly basis: string;\n readonly decidedAt: string;\n}\n\n/** The structured answer the model returns. Flat, because a structured provider constrains a flat object best. */\nexport const ParkedQuestionAnswerOutputSchema = z.object({\n verdict: z.enum(ParkedQuestionAnswerVerdict),\n answer: z.string(),\n basis: z.string(),\n});\nexport type ParkedQuestionAnswerOutput = z.infer<typeof ParkedQuestionAnswerOutputSchema>;\n\nfunction isAnswerRecord(value: unknown): value is ParkedQuestionAnswerRecord {\n if (typeof value !== 'object' || value === null) return false;\n const candidate = value as Record<string, unknown>;\n return Object.values(ParkedQuestionAnswerVerdict).includes(candidate.verdict as ParkedQuestionAnswerVerdict)\n && typeof candidate.question === 'string'\n && typeof candidate.answer === 'string'\n && typeof candidate.basis === 'string'\n && typeof candidate.decidedAt === 'string';\n}\n\n/** Every verdict recorded on a run's task, oldest first. */\nexport function readParkedQuestionAnswers(memory: unknown): ParkedQuestionAnswerRecord[] {\n const entries = (memory as Partial<Actors_Memory_Context> | undefined)?.longTerm?.entries;\n if (!Array.isArray(entries)) return [];\n return entries\n .filter((entry) => entry?.key === PARKED_QUESTION_ANSWER_MEMORY_KEY && isAnswerRecord(entry.value))\n .map((entry) => entry.value as ParkedQuestionAnswerRecord);\n}\n\nconst EMPTY_STORE = { entries: [] };\n\n/** The task's memory with one verdict appended to its long-term store; every other store is kept. */\nexport function withParkedQuestionAnswer(memory: Actors_Memory_Context | undefined, record: ParkedQuestionAnswerRecord): Actors_Memory_Context {\n const base: Actors_Memory_Context = memory ?? { shortTerm: EMPTY_STORE, longTerm: EMPTY_STORE, working: EMPTY_STORE };\n const entry: Actors_Memory_Entry = { key: PARKED_QUESTION_ANSWER_MEMORY_KEY, value: record, type: 'json', timestamp: record.decidedAt };\n return { ...base, longTerm: { ...base.longTerm, entries: [...base.longTerm.entries, entry] } };\n}\n\n/**\n * Whether the answering agent gets this question. Pure, so every way it declines is a pinned case.\n *\n * The posture is asked through `laneBoundaryTreatmentFor` as an APPROVE_RESULT boundary, never by\n * testing for YOLO here: an answer the system gives on the creator's behalf is a result the creator\n * would otherwise approve, and a posture added tomorrow is classified in that one table.\n */\nexport function decideAgentAnswerAttempt(input: {\n readonly posture: Journey_AutonomyPreset;\n readonly question: string;\n readonly priorRecords: readonly ParkedQuestionAnswerRecord[];\n}): AgentAnswerAttemptDecision {\n if (laneBoundaryTreatmentFor(input.posture, PlaybookLaneBoundaryDecision.APPROVE_RESULT) !== LaneBoundaryTreatment.NOTIFY_AND_PROCEED) {\n return AgentAnswerAttemptDecision.POSTURE_HOLDS;\n }\n const question = input.question.trim();\n if (input.priorRecords.some((record) => record.question.trim() === question)) return AgentAnswerAttemptDecision.ALREADY_DECIDED;\n const answered = input.priorRecords.filter((record) => record.verdict === ParkedQuestionAnswerVerdict.ANSWERED).length;\n if (answered >= MAXIMUM_AGENT_ANSWERS_PER_RUN) return AgentAnswerAttemptDecision.BUDGET_SPENT;\n return AgentAnswerAttemptDecision.ATTEMPT;\n}\n\n/**\n * What the answering agent is asked. It sees exactly the brief the coding agent was given — the same\n * task, plan and context sources, rendered by the same function — so it can only answer from the\n * material the dispatch assembled, never from anything a person would have had to add.\n */\nexport function renderParkedQuestionAnswerPrompt(input: {\n readonly brief: string;\n readonly question: string;\n readonly agentOutputTail: string;\n}): string {\n return [\n '# A coding agent stopped to ask a question. Answer it from its brief, or say it is a product decision.',\n '',\n 'You are NOT the person who owns this product. You may answer only what the brief below already',\n 'settles: the task, its target and declared products, the build plan, the landed specifications, the',\n 'installed skills, the framework\\'s conventions. Choosing a pattern, a file location or a name the',\n 'brief implies, or pointing at the part of the brief the agent missed, is an answer.',\n '',\n 'Return `product-decision` when the answer would decide what the product IS or commit its owner to',\n 'something: a feature\\'s scope, a business rule the brief does not state, pricing or cost, a legal or',\n 'compliance position, anything irreversible or visible to real users. When you are unsure which it',\n 'is, it is a product decision: a wrong answer from you becomes code nobody decided.',\n '',\n 'For `answered`, write the answer as you would tell the agent, and in `basis` name what in the brief',\n 'settles it. For `product-decision`, leave `answer` empty and say in `basis` why a person must decide.',\n '',\n '# The question',\n input.question.trim(),\n '',\n '# What the agent was doing when it asked (the end of its output)',\n input.agentOutputTail.trim().length > 0 ? input.agentOutputTail.slice(-ANSWERER_AGENT_OUTPUT_TAIL_CHARS) : '(no output)',\n '',\n '# The brief the agent was given',\n input.brief,\n ].join('\\n');\n}\n"]}
1
+ {"version":3,"file":"parked-question-answer.models.js","sourceRoot":"","sources":["../../../../src/claude-cli/models/parked-question-answer.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAEtF,OAAO,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,4DAA4D,CAAC;AAE7H,0DAA0D;AAC1D,MAAM,CAAN,IAAY,2BAKX;AALD,WAAY,2BAA2B;IACrC,yEAAyE;IACzE,oDAAqB,CAAA;IACrB,iIAAiI;IACjI,oEAAqC,CAAA;AACvC,CAAC,EALW,2BAA2B,KAA3B,2BAA2B,QAKtC;AAED,qDAAqD;AACrD,MAAM,CAAN,IAAY,0BAQX;AARD,WAAY,0BAA0B;IACpC,iDAAmB,CAAA;IACnB,qDAAqD;IACrD,6DAA+B,CAAA;IAC/B,2FAA2F;IA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C;IAChI,MAAM,QAAQ,GAAG,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,OAAO,KAAK,2BAA2B,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC;IACvH,IAAI,QAAQ,IAAI,6BAA6B;QAAE,OAAO,0BAA0B,CAAC,YAAY,CAAC;IAC9F,OAAO,0BAA0B,CAAC,OAAO,CAAC;AAC5C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,gCAAgC,CAAC,KAIhD;IACC,OAAO;QACL,wGAAwG;QACxG,EAAE;QACF,gGAAgG;QAChG,qGAAqG;QACrG,mGAAmG;QACnG,qFAAqF;QACrF,EAAE;QACF,mGAAmG;QACnG,sGAAsG;QACtG,mGAAmG;QACnG,oFAAoF;QACpF,EAAE;QACF,qGAAqG;QACrG,uGAAuG;QACvG,EAAE;QACF,gBAAgB;QAChB,KAAK,CAAC,QAAQ,CAAC,IAAI,EAAE;QACrB,EAAE;QACF,kEAAkE;QAClE,KAAK,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,CAAC,aAAa;QACxH,EAAE;QACF,iCAAiC;QACjC,KAAK,CAAC,KAAK;KACZ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC","sourcesContent":["/**\n * The ANSWERING AGENT for a parked coding question (#1559) — the middle tier between a run that\n * stopped to ask and the creator who would otherwise be asked.\n *\n * Two tiers already existed (#1531): permissions never park (`decidePermission` answers each request\n * from the ceiling and the scope), and a question that does park reaches the creator on Home. Nothing\n * tried in between, although most questions a build run asks — which pattern to follow, where\n * something belongs, whether a resource is meant to do X — are answered by the material the dispatch\n * already assembled for it: the task, the build plan, the landed specifications, the skills. Under the\n * autonomy posture the creator is deliberately not watching, so every such question held its task\n * until someone looked.\n *\n * What this file decides, purely:\n *\n * - WHETHER the agent may try at all: through the posture table, as an APPROVE_RESULT boundary. Under\n * GUIDED the person is present and answers; under YOLO_LIGHT and YOLO the agent tries first and its\n * answer is recorded where a person reads it.\n * - that it tries ONCE per question, and at most {@link MAXIMUM_AGENT_ANSWERS_PER_RUN} times per run: a\n * run asking more than that has shown its brief does not carry its answers, and a person is better.\n * - what it is asked, and the two things it may return.\n */\nimport { z } from 'zod';\nimport type { Actors_Memory_Context, Actors_Memory_Entry } from '@wildo-ai/saas-models';\nimport { Journey_AutonomyPreset } from '@wildo-ai/saas-specifications/application-creation';\n\nimport { PlaybookLaneBoundaryDecision } from '@wildo-ai/application-creation-runtime';\n\nimport { LaneBoundaryTreatment, laneBoundaryTreatmentFor } from '../../meta-workflows/models/playbook-run-checkpoint.models';\n\n/** What the answering agent returned for one question. */\nexport enum ParkedQuestionAnswerVerdict {\n /** The dispatch material answers it; the run resumes with the answer. */\n ANSWERED = 'answered',\n /** It is a product decision — what the product is, a scope, a cost, a legal posture. The creator is asked, exactly as before. */\n PRODUCT_DECISION = 'product-decision',\n}\n\n/** Why the agent was or was not given a question. */\nexport enum AgentAnswerAttemptDecision {\n ATTEMPT = 'attempt',\n /** The posture keeps this decision with a person. */\n POSTURE_HOLDS = 'posture-holds',\n /** The agent already returned a verdict for this exact question: one call per question. */\n ALREADY_DECIDED = 'already-decided',\n /** The agent has answered {@link MAXIMUM_AGENT_ANSWERS_PER_RUN} questions of this run already. */\n BUDGET_SPENT = 'budget-spent',\n}\n\n/**\n * Answers the agent may give ONE run. Three, because a run that asks a fourth question after three\n * answers is not missing a fact, it is missing a brief — and each answer resumes a full agent turn, so\n * the bound is also the bound on what one run can spend being answered by a machine.\n */\nexport const MAXIMUM_AGENT_ANSWERS_PER_RUN = 3;\n\n/** How much of the agent's last output the answerer sees — enough for the reasoning that led to the question. */\nexport const ANSWERER_AGENT_OUTPUT_TAIL_CHARS = 3000;\n\n/** The memory key each verdict is recorded under, on the run's own task: every verdict is auditable where the run is. */\nexport const PARKED_QUESTION_ANSWER_MEMORY_KEY = 'application-creation.parked-question-answer';\n\nexport interface ParkedQuestionAnswerRecord {\n readonly verdict: ParkedQuestionAnswerVerdict;\n readonly question: string;\n /** The answer given; empty for a product decision. */\n readonly answer: string;\n /** What in the dispatch material the verdict rests on — the part a reviewer checks. */\n readonly basis: string;\n readonly decidedAt: string;\n}\n\n/** The structured answer the model returns. Flat, because a structured provider constrains a flat object best. */\nexport const ParkedQuestionAnswerOutputSchema = z.object({\n verdict: z.enum(ParkedQuestionAnswerVerdict),\n answer: z.string(),\n basis: z.string(),\n});\nexport type ParkedQuestionAnswerOutput = z.infer<typeof ParkedQuestionAnswerOutputSchema>;\n\nfunction isAnswerRecord(value: unknown): value is ParkedQuestionAnswerRecord {\n if (typeof value !== 'object' || value === null) return false;\n const candidate = value as Record<string, unknown>;\n return Object.values(ParkedQuestionAnswerVerdict).includes(candidate.verdict as ParkedQuestionAnswerVerdict)\n && typeof candidate.question === 'string'\n && typeof candidate.answer === 'string'\n && typeof candidate.basis === 'string'\n && typeof candidate.decidedAt === 'string';\n}\n\n/** Every verdict recorded on a run's task, oldest first. */\nexport function readParkedQuestionAnswers(memory: unknown): ParkedQuestionAnswerRecord[] {\n const entries = (memory as Partial<Actors_Memory_Context> | undefined)?.longTerm?.entries;\n if (!Array.isArray(entries)) return [];\n return entries\n .filter((entry) => entry?.key === PARKED_QUESTION_ANSWER_MEMORY_KEY && isAnswerRecord(entry.value))\n .map((entry) => entry.value as ParkedQuestionAnswerRecord);\n}\n\nconst EMPTY_STORE = { entries: [] };\n\n/** The task's memory with one verdict appended to its long-term store; every other store is kept. */\nexport function withParkedQuestionAnswer(memory: Actors_Memory_Context | undefined, record: ParkedQuestionAnswerRecord): Actors_Memory_Context {\n const base: Actors_Memory_Context = memory ?? { shortTerm: EMPTY_STORE, longTerm: EMPTY_STORE, working: EMPTY_STORE };\n const entry: Actors_Memory_Entry = { key: PARKED_QUESTION_ANSWER_MEMORY_KEY, value: record, type: 'json', timestamp: record.decidedAt };\n return { ...base, longTerm: { ...base.longTerm, entries: [...base.longTerm.entries, entry] } };\n}\n\n/**\n * Whether the answering agent gets this question. Pure, so every way it declines is a pinned case.\n *\n * The posture is asked through `laneBoundaryTreatmentFor` as an APPROVE_RESULT boundary, never by\n * testing for YOLO here: an answer the system gives on the creator's behalf is a result the creator\n * would otherwise approve, and a posture added tomorrow is classified in that one table.\n */\nexport function decideAgentAnswerAttempt(input: {\n readonly posture: Journey_AutonomyPreset;\n readonly question: string;\n readonly priorRecords: readonly ParkedQuestionAnswerRecord[];\n}): AgentAnswerAttemptDecision {\n if (laneBoundaryTreatmentFor(input.posture, PlaybookLaneBoundaryDecision.APPROVE_RESULT) !== LaneBoundaryTreatment.NOTIFY_AND_PROCEED) {\n return AgentAnswerAttemptDecision.POSTURE_HOLDS;\n }\n const question = input.question.trim();\n if (input.priorRecords.some((record) => record.question.trim() === question)) return AgentAnswerAttemptDecision.ALREADY_DECIDED;\n const answered = input.priorRecords.filter((record) => record.verdict === ParkedQuestionAnswerVerdict.ANSWERED).length;\n if (answered >= MAXIMUM_AGENT_ANSWERS_PER_RUN) return AgentAnswerAttemptDecision.BUDGET_SPENT;\n return AgentAnswerAttemptDecision.ATTEMPT;\n}\n\n/**\n * What the answering agent is asked. It sees exactly the brief the coding agent was given — the same\n * task, plan and context sources, rendered by the same function — so it can only answer from the\n * material the dispatch assembled, never from anything a person would have had to add.\n */\nexport function renderParkedQuestionAnswerPrompt(input: {\n readonly brief: string;\n readonly question: string;\n readonly agentOutputTail: string;\n}): string {\n return [\n '# A coding agent stopped to ask a question. Answer it from its brief, or say it is a product decision.',\n '',\n 'You are NOT the person who owns this product. You may answer only what the brief below already',\n 'settles: the task, its target and declared products, the build plan, the landed specifications, the',\n 'installed skills, the framework\\'s conventions. Choosing a pattern, a file location or a name the',\n 'brief implies, or pointing at the part of the brief the agent missed, is an answer.',\n '',\n 'Return `product-decision` when the answer would decide what the product IS or commit its owner to',\n 'something: a feature\\'s scope, a business rule the brief does not state, pricing or cost, a legal or',\n 'compliance position, anything irreversible or visible to real users. When you are unsure which it',\n 'is, it is a product decision: a wrong answer from you becomes code nobody decided.',\n '',\n 'For `answered`, write the answer as you would tell the agent, and in `basis` name what in the brief',\n 'settles it. For `product-decision`, leave `answer` empty and say in `basis` why a person must decide.',\n '',\n '# The question',\n input.question.trim(),\n '',\n '# What the agent was doing when it asked (the end of its output)',\n input.agentOutputTail.trim().length > 0 ? input.agentOutputTail.slice(-ANSWERER_AGENT_OUTPUT_TAIL_CHARS) : '(no output)',\n '',\n '# The brief the agent was given',\n input.brief,\n ].join('\\n');\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"parked-question-answerer.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../../src/claude-cli/models/parked-question-answerer.actors-system.definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAmB/D,8DAA8D;AAC9D,eAAO,MAAM,kCAAkC,EAAG,gCAAyC,CAAC;AAE5F,eAAO,MAAM,2BAA2B,EAAE,iBAuCzC,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,4BAA4B,EAAE,SAAS,iBAAiB,EAAkC,CAAC"}
1
+ {"version":3,"file":"parked-question-answerer.actors-system.definitions.d.ts","sourceRoot":"","sources":["../../../../src/claude-cli/models/parked-question-answerer.actors-system.definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAmB/D,8DAA8D;AAC9D,eAAO,MAAM,kCAAkC,EAAG,gCAAyC,CAAC;AAE5F,eAAO,MAAM,2BAA2B,EAAE,iBAuCzC,CAAC;AAEF,wEAAwE;AACxE,eAAO,MAAM,4BAA4B,EAAE,SAAS,iBAAiB,EAAkC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"parked-question-answerer.actors-system.definitions.js","sourceRoot":"","sources":["../../../../../src/claude-cli/models/parked-question-answerer.actors-system.definitions.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,EACpB,iCAAiC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yCAAyC,EACzC,0CAA0C,EAC1C,uCAAuC,EACvC,wBAAwB,EACxB,uBAAuB,GAExB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E,8DAA8D;AAC9D,MAAM,CAAC,MAAM,kCAAkC,GAAG,gCAAyC,CAAC;AAE5F,MAAM,CAAC,MAAM,2BAA2B,GAAsB;IAC5D,GAAG,EAAE,kCAAkC;IACvC,WAAW,EAAE,gCAAgC;IAC7C,MAAM,EAAE,wBAAwB,CAAC,MAAM;IACvC,MAAM,EAAE;QACN,WAAW,EAAE,WAAW;QACxB,mGAAmG;QACnG,sDAAsD;QACtD,kBAAkB,EAAE,uBAAuB,CAAC,aAAa;QACzD,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;QAC1D,iCAAiC,EAAE,iCAAiC,CAAC,oBAAoB;QACzF,uFAAuF;QACvF,iCAAiC,EAAE,CAAC;QACpC,aAAa,EAAE,CAAC,EAAE,YAAY,EAAE,oBAAoB,CAAC,WAAW,EAAE,CAAC;QACnE,SAAS,EAAE,0BAA0B,CAAC,GAAG;KAC1C;IACD,mBAAmB,EAAE;QACnB,YAAY,EAAE,wBAAwB,CAAC,mBAAmB;QAC1D,WAAW,EAAE,WAAW;QACxB,WAAW,EAAE,yCAAyC;QACtD,YAAY,EAAE,0CAA0C;QACxD,sBAAsB,EAAE,uCAAuC;KAClB;IAC/C,UAAU,EAAE;QACV,IAAI,EACF,qGAAqG;cACnG,yDAAyD;QAC7D,OAAO,EACL,4FAA4F;QAC9F,SAAS,EAAE,4BAA4B,CAAC,UAAU;QAClD,YAAY,EAAE;YACZ,YAAY,2BAA2B,CAAC,QAAQ,sEAAsE;kBAClH,2EAA2E;YAC/E,YAAY,2BAA2B,CAAC,gBAAgB,gEAAgE;kBACpH,kHAAkH;YACtH,kGAAkG;SACnG;KACF;IACD,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;CACpC,CAAC;AAEF,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAiC,CAAC,2BAA2B,CAAC,CAAC","sourcesContent":["/**\n * The answering agent's registration (#1559): the agent a parked coding question is offered to before\n * it reaches the creator. Its decisions live in `parked-question-answer.models.ts`; this file only makes\n * it an agent the engine can invoke, trace and cost under its own name.\n *\n * Tool-free, like the brief-adequacy judge: the brief it is given is its entire input, so what it could\n * have known is exactly what the coding agent was told — which is what keeps it from answering with\n * anything a person would have had to add.\n */\nimport type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport {\n FlowsActors_Agent_Skill_Type,\n FlowsActors_Agent_Status,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n StructuredGenerationExecutionMode,\n} from '@wildo-ai/saas-models';\nimport {\n LLMProvider_GenerateStructuredInputSchema,\n LLMProvider_GenerateStructuredOutputSchema,\n LLMProvider_OperationContext_BaseSchema,\n LLMProvider_OperationKey,\n LLM_Model_Applicability,\n type LLMProvider_OperationDefinitionBase,\n} from '@wildo-ai/external-connectors-models';\n\nimport { ParkedQuestionAnswerVerdict } from './parked-question-answer.models';\n\n/** One stable identity the answering call resolves by ref. */\nexport const PARKED_QUESTION_ANSWERER_AGENT_REF = 'parked-question-answerer.agent' as const;\n\nexport const parkedQuestionAnswererAgent: FlowsActors_Agent = {\n ref: PARKED_QUESTION_ANSWERER_AGENT_REF,\n displayName: 'Parked Question Answerer Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n // DEEP_JUDGMENT: the call's whole value is telling an answerable question from a product decision,\n // and a wrong `answered` becomes code nobody decided.\n modelApplicability: LLM_Model_Applicability.DEEP_JUDGMENT,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n structuredGenerationExecutionMode: StructuredGenerationExecutionMode.SINGLE_CALL_REQUIRED,\n // verdict + answer + basis; SINGLE_CALL_REQUIRED refuses without a bound, fail-closed.\n maximumStructuredOutputLeafFields: 6,\n accessControl: [{ primaryScope: ResourcePrimaryScope.APPLICATION }],\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 answer a question a coding agent stopped to ask, using only the brief it was given, or you say '\n + 'the question is a product decision its owner must make.',\n persona:\n 'You are not the product owner. You settle what the brief already settles and nothing more.',\n skillType: FlowsActors_Agent_Skill_Type.GENERATION,\n instructions: [\n `Answer \\`${ParkedQuestionAnswerVerdict.ANSWERED}\\` only when the brief settles the question: a pattern, a location, `\n + 'a name, a convention it implies, or a part of the brief the agent missed.',\n `Answer \\`${ParkedQuestionAnswerVerdict.PRODUCT_DECISION}\\` when the answer would decide scope, a business rule, cost, `\n + 'a legal or compliance position, or anything irreversible or visible to real users — and whenever you are unsure.',\n 'In `basis`, name what in the brief settles it, or why a person must decide. One short paragraph.',\n ],\n },\n createdAt: new Date().toISOString(),\n};\n\n/** Root spreads this collection into the one startup Agent registry. */\nexport const parkedQuestionAnswererAgents: readonly FlowsActors_Agent[] = [parkedQuestionAnswererAgent];\n"]}
1
+ {"version":3,"file":"parked-question-answerer.actors-system.definitions.js","sourceRoot":"","sources":["../../../../src/claude-cli/models/parked-question-answerer.actors-system.definitions.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,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SACnG;KACF;IACD,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;CACpC,CAAC;AAEF,wEAAwE;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAiC,CAAC,2BAA2B,CAAC,CAAC","sourcesContent":["/**\n * The answering agent's registration (#1559): the agent a parked coding question is offered to before\n * it reaches the creator. Its decisions live in `parked-question-answer.models.ts`; this file only makes\n * it an agent the engine can invoke, trace and cost under its own name.\n *\n * Tool-free, like the brief-adequacy judge: the brief it is given is its entire input, so what it could\n * have known is exactly what the coding agent was told — which is what keeps it from answering with\n * anything a person would have had to add.\n */\nimport type { FlowsActors_Agent } from '@wildo-ai/saas-models';\nimport {\n FlowsActors_Agent_Skill_Type,\n FlowsActors_Agent_Status,\n ResourceOperationRiskLevel,\n ResourcePrimaryScope,\n StructuredGenerationExecutionMode,\n} from '@wildo-ai/saas-models';\nimport {\n LLMProvider_GenerateStructuredInputSchema,\n LLMProvider_GenerateStructuredOutputSchema,\n LLMProvider_OperationContext_BaseSchema,\n LLMProvider_OperationKey,\n LLM_Model_Applicability,\n type LLMProvider_OperationDefinitionBase,\n} from '@wildo-ai/external-connectors-models';\n\nimport { ParkedQuestionAnswerVerdict } from './parked-question-answer.models';\n\n/** One stable identity the answering call resolves by ref. */\nexport const PARKED_QUESTION_ANSWERER_AGENT_REF = 'parked-question-answerer.agent' as const;\n\nexport const parkedQuestionAnswererAgent: FlowsActors_Agent = {\n ref: PARKED_QUESTION_ANSWERER_AGENT_REF,\n displayName: 'Parked Question Answerer Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n // DEEP_JUDGMENT: the call's whole value is telling an answerable question from a product decision,\n // and a wrong `answered` becomes code nobody decided.\n modelApplicability: LLM_Model_Applicability.DEEP_JUDGMENT,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n structuredGenerationExecutionMode: StructuredGenerationExecutionMode.SINGLE_CALL_REQUIRED,\n // verdict + answer + basis; SINGLE_CALL_REQUIRED refuses without a bound, fail-closed.\n maximumStructuredOutputLeafFields: 6,\n accessControl: [{ primaryScope: ResourcePrimaryScope.APPLICATION }],\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 answer a question a coding agent stopped to ask, using only the brief it was given, or you say '\n + 'the question is a product decision its owner must make.',\n persona:\n 'You are not the product owner. You settle what the brief already settles and nothing more.',\n skillType: FlowsActors_Agent_Skill_Type.GENERATION,\n instructions: [\n `Answer \\`${ParkedQuestionAnswerVerdict.ANSWERED}\\` only when the brief settles the question: a pattern, a location, `\n + 'a name, a convention it implies, or a part of the brief the agent missed.',\n `Answer \\`${ParkedQuestionAnswerVerdict.PRODUCT_DECISION}\\` when the answer would decide scope, a business rule, cost, `\n + 'a legal or compliance position, or anything irreversible or visible to real users — and whenever you are unsure.',\n 'In `basis`, name what in the brief settles it, or why a person must decide. One short paragraph.',\n ],\n },\n createdAt: new Date().toISOString(),\n};\n\n/** Root spreads this collection into the one startup Agent registry. */\nexport const parkedQuestionAnswererAgents: readonly FlowsActors_Agent[] = [parkedQuestionAnswererAgent];\n"]}
@@ -3,6 +3,7 @@ import type { CompanionContext } from '../../core/context/companion-context';
3
3
  import { PlaybookRunWriteRegisterCompanionService } from '../../meta-workflows/services/playbook-run-write-register.companion.service';
4
4
  import { CodingRunWriteRegisterCompanionService } from './coding-run-write-register.companion.service';
5
5
  import type { CompanionExecutionsCompanionService } from '../../executions/services/companion-executions.companion.service';
6
+ import { type UnresolvedCommitImport } from './accepted-change-import-closure.companion';
6
7
  /**
7
8
  * WHO accepted — written into the commit message, because a commit the system made and a commit a
8
9
  * person made are different facts, and the history is the only record of either
@@ -79,6 +80,11 @@ export interface ConcurrentRunProductWitness {
79
80
  export interface AcceptedChangeCommitOutcome {
80
81
  readonly commitSha: string | undefined;
81
82
  readonly committedPaths: readonly string[];
83
+ /**
84
+ * Of {@link committedPaths}, the dossier modules carried because a committed file imports them (#2332). Never a
85
+ * path a run wrote: the creator's recorded answers, committed with the first change that reads them.
86
+ */
87
+ readonly carriedPaths: readonly string[];
82
88
  readonly refusedPaths: readonly {
83
89
  readonly path: string;
84
90
  readonly reason: AcceptRefusalReason;
@@ -117,6 +123,22 @@ export declare class CodingRunWritingTheTreeError extends Error {
117
123
  readonly taskRef: string | null;
118
124
  }[]);
119
125
  }
126
+ /**
127
+ * A commit refused because the tree it would leave does not resolve one of its own imports (#2332): a committed
128
+ * file imports a module no commit holds and this door may not carry. 409: the request is fine, the moment is
129
+ * not. Accept the change that wrote the module first (its run, as `wildo creation writes` lists it), then this.
130
+ */
131
+ export declare class AcceptWouldLeaveUnresolvedImportError extends Error {
132
+ readonly unresolved: readonly UnresolvedImportWithWriter[];
133
+ constructor(unresolved: readonly UnresolvedImportWithWriter[]);
134
+ }
135
+ /** An unresolved import, with the not-yet-accepted playbook run that wrote its module when one did. */
136
+ export interface UnresolvedImportWithWriter extends UnresolvedCommitImport {
137
+ readonly writtenBy?: {
138
+ readonly runId: string;
139
+ readonly playbookRef: string;
140
+ };
141
+ }
120
142
  export declare class AcceptedChangeCommitError extends Error {
121
143
  readonly stderr: string;
122
144
  constructor(message: string, stderr: string);
@@ -238,12 +260,25 @@ export declare class AcceptedChangeCommitCompanionService {
238
260
  * committed by the run's own accept.
239
261
  */
240
262
  private uncommittedAmong;
241
- /** Accept a playbook run's writes, from its register: the same divergence test `revert` applies. */
263
+ /**
264
+ * Accept a playbook run's writes, from its register: the same divergence test `revert` applies.
265
+ *
266
+ * Inside the dossier write queue (#2332): the commit carries the dossier its aggregate imports, so an answer
267
+ * landing between the import closure and `git add` could wire a module the closure never saw. Nothing that
268
+ * holds the queue calls this, so it cannot deadlock.
269
+ */
242
270
  acceptPlaybookRun(input: {
243
271
  readonly runId: string;
244
272
  readonly force?: boolean;
245
273
  readonly origin?: AcceptOrigin;
246
274
  }): Promise<AcceptedChangeCommitOutcome>;
275
+ private commitPlaybookRun;
276
+ /**
277
+ * A run's change to one file (`previousContent → writtenContent`), applied to the file as HEAD holds it (#2418).
278
+ * `undefined` when the merge conflicts: the change cannot be separated from what moved since, so it is refused.
279
+ * A file the run created and HEAD lacks merges from empty, which yields the run's own bytes.
280
+ */
281
+ private mergeRunChangeOntoHead;
247
282
  /**
248
283
  * Accept EVERY playbook run whose writes are not yet accepted — the third site of #1534's invariant,
249
284
  * run by the coding dispatch inside its worktree window, immediately before it takes a baseline.
@@ -257,10 +292,11 @@ export declare class AcceptedChangeCommitCompanionService {
257
292
  * — which is what destroys its attribution. It is also exactly where the operator's shell loop
258
293
  * committed during the 2026-09-23 run, "between dispatches".
259
294
  *
260
- * **Oldest first, and superseded writes are refused, not errors.** A later run that rewrote a file
261
- * makes an earlier run's copy `diverged`, so the earlier run is refused for that path and the later
262
- * one commits it. A run whose every path was superseded throws `NothingToAcceptError`, which is
263
- * counted here, not raised.
295
+ * **Oldest first, and each run commits its own change (#2418).** A later run that rewrote a file makes an
296
+ * earlier run's copy `diverged`; the earlier run's change is then merged onto HEAD and committed under its
297
+ * name, and the later run's accept commits its own change on top. A path whose change no longer merges, and a
298
+ * run whose every path is refused, throws `NothingToAcceptError`, which is counted here, not raised. (Before
299
+ * #2418 the earlier run was refused and the later one committed the file whole, carrying both runs' lines.)
264
300
  *
265
301
  * **Superseded is counted apart from edited (#1614).** A later RUN that rewrote the path read this
266
302
  * run's landing first, or merged into it: the landing refuses to replace a file that moved since the
@@ -307,8 +343,74 @@ export declare class AcceptedChangeCommitCompanionService {
307
343
  * `git add -- <paths>` then `git commit -F <message> -- <paths>`. A deleted path is staged as a
308
344
  * removal by the same `add`. When the paths are already identical to HEAD there is nothing to
309
345
  * commit, and that is answered as `alreadyCommitted` with the commit that last changed those paths rather than as a failure.
346
+ *
347
+ * **Closed under its own imports first (#2332).** Every door commits through here, so the closure cannot be
348
+ * skipped by a door that forgot it; `closure` is required, so each door states what it does with an import
349
+ * its commit would not resolve. A carried dossier module joins the paths, and the message names it in a
350
+ * paragraph of its own just before the trailers, so the history says the commit holds a file no run wrote.
310
351
  */
311
352
  private commitPaths;
353
+ /**
354
+ * A commit whose tree holds some paths with bytes OTHER than the working file's (#2418): built in a temporary index
355
+ * from HEAD, so neither the shared index nor anyone else's staging is part of it, and moved onto HEAD only if HEAD is
356
+ * still where the commit was built from. The shared index is then pointed at what was committed for these paths
357
+ * only, so it does not read as a staged revert of this commit; a merged path's later lines stay unstaged in the
358
+ * working tree, where they belong to the run that wrote them.
359
+ */
360
+ private commitThroughTemporaryIndex;
361
+ /**
362
+ * The paths a commit must hold for its tree to resolve its own relative imports (#2332), under `policy`.
363
+ * Throws {@link AcceptWouldLeaveUnresolvedImportError} before anything is staged when the policy refuses.
364
+ */
365
+ private closeOverImports;
366
+ /** Each unresolved import with the unaccepted playbook run that wrote its module, newest first, when one did. */
367
+ private withWriters;
368
+ /** The dossier families whose module is among `paths`, in {@link DOSSIER_FAMILIES} order. */
369
+ private dossierFamiliesOf;
370
+ /** The dossier's module files, application-relative; empty when the application declares no specifications package. */
371
+ private dossierModulePaths;
372
+ /** Which of these application-relative paths HEAD holds as files. `-r`, so a directory pathspec never answers for itself. */
373
+ private presentAtHead;
374
+ /**
375
+ * Commit the creator's DOSSIER on its own (#2332): `wildo creation accept --dossier`.
376
+ *
377
+ * An answer, an interview depth and a governance-fact landing each write the dossier and commit nothing (a
378
+ * landed dossier is a working edit until a person accepts it, `one-source-of-truth.md` rules 2 and 3). A run
379
+ * that reads the dossier carries it into its own accept; this is the door for answers no accepted run has read
380
+ * yet, and the one `wildo creation depth` names.
381
+ *
382
+ * What it commits: every dossier module that differs from HEAD, and, when one of them is NEW at HEAD, the two
383
+ * aggregate files that wire it (`src/companion-exports.ts`, `src/index.ts`), since a module HEAD does not hold
384
+ * is a module HEAD's aggregate does not read yet. Those files are committed whole, so they carry any other
385
+ * family's wiring line too: the import closure then refuses by name when such a line points at a module no
386
+ * commit holds yet, and the fix is to accept the run that wrote it first.
387
+ *
388
+ * Taken inside the dossier write queue, so no answer lands between what is read and what is committed. A
389
+ * person's accept waits for a live coding run, as every person's accept does.
390
+ */
391
+ acceptDossier(input?: {
392
+ readonly origin?: AcceptOrigin;
393
+ }): Promise<AcceptedChangeCommitOutcome>;
394
+ /**
395
+ * Commit an expert charter a person accepted by hand (#2419), as the accept's own change.
396
+ *
397
+ * `wildo creation persona accept <role>` IS a person accepting: acceptance is a commit (`one-source-of-truth.md`
398
+ * rule 2), and before this the charter, its aggregator and its wiring reached git only by a hand commit, which on
399
+ * app-creation-test-005 was made twice. Each file is committed as `previousContent → writtenContent` merged onto
400
+ * HEAD, the route a run's shared files take since #2418, so the wiring commit carries this charter's lines and no
401
+ * other family's. All or nothing: if any file's change conflicts with HEAD, nothing is committed and the refusal names
402
+ * the files (a charter committed without its wiring exports nothing). A staffing run does not come here; it records
403
+ * its writes for the run's own accept.
404
+ */
405
+ acceptExpertCharter(input: {
406
+ readonly roleRef: string;
407
+ readonly writes: readonly {
408
+ readonly path: string;
409
+ readonly previousContent?: string;
410
+ readonly writtenContent: string;
411
+ }[];
412
+ readonly origin?: AcceptOrigin;
413
+ }): Promise<AcceptedChangeCommitOutcome>;
312
414
  /**
313
415
  * Commit a DECISION the creator (or their agent) just recorded in a specification file, at the moment it
314
416
  * is recorded (#1609): opening a playbook instance is a decision about product scope, and a decision that
@@ -325,9 +427,8 @@ export declare class AcceptedChangeCommitCompanionService {
325
427
  readonly purpose: string;
326
428
  readonly actor: DecisionRecordActor;
327
429
  readonly origin: AcceptOrigin;
328
- }): Promise<Omit<AcceptedChangeCommitOutcome, 'refusedPaths' | 'message'> & {
430
+ }): Promise<Omit<AcceptedChangeCommitOutcome, 'refusedPaths'> & {
329
431
  readonly commitSha: string;
330
- readonly message: string;
331
432
  }>;
332
433
  /** `git -C <saasRoot> <args>` — argv array, never a shell; the subcommand MUST be in the allow-list. */
333
434
  private execGit;