@wildo-ai/dev-companion 1.1.7 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1145) hide show
  1. package/bin/companion-supervisor.d.mts +33 -0
  2. package/bin/companion-supervisor.mjs +174 -0
  3. package/bin/wildo-dev-companion-supervised.mjs +16 -0
  4. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  5. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  6. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  7. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js +8 -2
  8. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  9. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  10. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js +8 -2
  11. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  12. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  13. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
  14. package/dist/esm/brand/services/brand-accept.companion.service.d.ts +1 -1
  15. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  16. package/dist/esm/brand/services/brand-accept.companion.service.js +9 -11
  17. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  18. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
  19. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
  20. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  21. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  22. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  23. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  24. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  25. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  26. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  27. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  28. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts +21 -0
  29. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  30. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js +33 -1
  31. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  32. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +41 -2
  33. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  34. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +43 -1
  35. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  36. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  37. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  38. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  39. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  40. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  41. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  42. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  43. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  44. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +57 -1
  45. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  46. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +75 -1
  47. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  48. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +90 -5
  49. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  50. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +242 -22
  51. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  52. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  53. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  54. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  55. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  56. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
  57. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
  58. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  59. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  60. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  61. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  62. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  63. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  64. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  65. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  66. package/dist/esm/companion-api/companion-api.schemas.d.ts +23 -2
  67. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  68. package/dist/esm/companion-api/companion-api.schemas.js +13 -2
  69. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  70. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
  71. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
  72. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
  73. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
  74. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  75. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
  76. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  77. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  78. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
  79. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
  80. package/dist/esm/companion-api/controllers/companion.controller.d.ts +63 -7
  81. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  82. package/dist/esm/companion-api/controllers/companion.controller.js +315 -39
  83. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  84. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  85. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  86. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  87. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
  88. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  89. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
  90. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  91. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
  92. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  93. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
  94. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  95. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
  96. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  97. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
  98. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  99. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
  100. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  101. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
  102. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  103. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
  104. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  105. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
  106. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  107. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
  108. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  109. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
  110. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  111. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  112. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  113. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  114. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  115. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
  116. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  117. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
  118. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  119. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  120. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  121. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  122. package/dist/esm/core/config/primary-language.companion.utils.d.ts +5 -4
  123. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  124. package/dist/esm/core/config/primary-language.companion.utils.js +5 -4
  125. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  126. package/dist/esm/core/context/application-module-generations.companion.d.ts +103 -0
  127. package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -0
  128. package/dist/esm/core/context/application-module-generations.companion.js +313 -0
  129. package/dist/esm/core/context/application-module-generations.companion.js.map +1 -0
  130. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  131. package/dist/esm/core/context/companion-context.js.map +1 -1
  132. package/dist/esm/core/context/companion-package-loaders.companion.d.ts +19 -19
  133. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  134. package/dist/esm/core/context/companion-package-loaders.companion.js +52 -40
  135. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  136. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  137. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  138. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  139. package/dist/esm/core/inject/models/container.js +4 -0
  140. package/dist/esm/core/inject/models/container.js.map +1 -1
  141. package/dist/esm/core/inject/models/service-types.d.ts +4 -0
  142. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  143. package/dist/esm/core/inject/models/service-types.js +4 -0
  144. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  145. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  146. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  147. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  148. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  149. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
  150. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
  151. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts +15 -1
  152. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  153. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js +38 -3
  154. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  155. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts +21 -0
  156. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  157. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +64 -25
  158. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  159. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  160. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +2 -0
  161. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  162. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts +0 -28
  163. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  164. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +192 -19
  165. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  166. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  167. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +27 -5
  168. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  169. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  170. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  171. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  172. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  173. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +47 -0
  174. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -0
  175. package/dist/esm/core/introspection/resources/launch-blockers.companion.js +98 -0
  176. package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -0
  177. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  178. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  179. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +6 -1
  180. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  181. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +20 -1
  182. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  183. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +34 -8
  184. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  185. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +61 -12
  186. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  187. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts +44 -0
  188. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -0
  189. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js +104 -0
  190. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -0
  191. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +41 -22
  192. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  193. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +64 -47
  194. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  195. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  196. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  197. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  198. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  199. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  200. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  201. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  202. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  203. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  204. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  205. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  206. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  207. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  208. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  209. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  210. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  211. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  212. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  213. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  214. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  215. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  216. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  217. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  218. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  219. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  220. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  221. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  222. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  223. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  224. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  225. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts +7 -1
  226. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  227. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js +13 -4
  228. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  229. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  230. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  231. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  232. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  233. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  234. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  235. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  236. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  237. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  238. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  239. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  240. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  241. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  242. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js +7 -0
  243. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  244. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  245. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  246. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  247. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  248. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  249. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  250. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  251. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  252. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  253. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  254. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts +4 -4
  255. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  256. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  257. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  258. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  259. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
  260. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
  261. package/dist/esm/core/runtime/companion-env-file.d.ts +39 -9
  262. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  263. package/dist/esm/core/runtime/companion-env-file.js +75 -16
  264. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  265. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  266. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  267. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  268. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  269. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
  270. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
  271. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  272. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  273. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  274. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  275. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +7 -3
  276. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  277. package/dist/esm/core/runtime/services/start-companion-application.service.js +29 -11
  278. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  279. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  280. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  281. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  282. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  283. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  284. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  285. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  286. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  287. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  288. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  289. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  290. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  291. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  292. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  293. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  294. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  295. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  296. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  297. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  298. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  299. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  300. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  301. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  302. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  303. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  304. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  305. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  306. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  307. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  308. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  309. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  310. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  311. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  312. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  313. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  314. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  315. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  316. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  317. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  318. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  319. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  320. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  321. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  322. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  323. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  324. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  325. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  326. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  327. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  328. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  329. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  330. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  331. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  332. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  333. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  334. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
  335. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  336. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
  337. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  338. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  339. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  340. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  341. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  342. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  343. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  344. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  345. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  346. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  347. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  348. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  349. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  350. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  351. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  352. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  353. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  354. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  355. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  356. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  357. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  358. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  359. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  360. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  361. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  362. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  363. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  364. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  365. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  366. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  367. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  368. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  369. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  370. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  371. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  372. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  373. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  374. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  375. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  376. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  377. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  378. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  379. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  380. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  381. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  382. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  383. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  384. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  385. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  386. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  387. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  388. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  389. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  390. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  391. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  392. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  393. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  394. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  395. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  396. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  397. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  398. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  399. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  400. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  401. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  402. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  403. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  404. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  405. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  406. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  407. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  408. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  409. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  410. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  411. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  412. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  413. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  414. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  415. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  416. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  417. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  418. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  419. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  420. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  421. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  422. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  423. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  424. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  425. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts +17 -0
  426. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -0
  427. package/dist/esm/core/utils/bounded-concurrency.utils.js +37 -0
  428. package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -0
  429. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts +10 -1
  430. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  431. package/dist/esm/core/utils/derived-input-signature.companion.utils.js +9 -2
  432. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  433. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  434. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js +2 -0
  435. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  436. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  437. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +66 -6
  438. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  439. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts +0 -17
  440. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  441. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +10 -4
  442. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  443. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  444. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  445. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  446. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  447. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  448. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  449. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  450. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  451. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  452. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  453. package/dist/esm/email/services/email-template.companion.service.d.ts +6 -1
  454. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  455. package/dist/esm/email/services/email-template.companion.service.js +4 -1
  456. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  457. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  458. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  459. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
  460. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
  461. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  462. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  463. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  464. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  465. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  466. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  467. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  468. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js +8 -2
  469. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  470. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  471. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js +8 -2
  472. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  473. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  474. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  475. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  476. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +7 -7
  477. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  478. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  479. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  480. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  481. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  482. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  483. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  484. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  485. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  486. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  487. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  488. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  489. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  490. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  491. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  492. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  493. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  494. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  495. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  496. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  497. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  498. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  499. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  500. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  501. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  502. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  503. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  504. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  505. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  506. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
  507. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
  508. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  509. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  510. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  511. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  512. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  513. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  514. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  515. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  516. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  517. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  518. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  519. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  520. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  521. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  522. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  523. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  524. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  525. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  526. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  527. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  528. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  529. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  530. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  531. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  532. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  533. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  534. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  535. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  536. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  537. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  538. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  539. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  540. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  541. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  542. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  543. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  544. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  545. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  546. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  547. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  548. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  549. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  550. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  551. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  552. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  553. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  554. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  555. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  556. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  557. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  558. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  559. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  560. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  561. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  562. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  563. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  564. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  565. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  566. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  567. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  568. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  569. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  570. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  571. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  572. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  573. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  574. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  575. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  576. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  577. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  578. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  579. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  580. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  581. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  582. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  583. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  584. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  585. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  586. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  587. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  588. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  589. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  590. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  591. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  592. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  593. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  594. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  595. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  596. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  597. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  598. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  599. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  600. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  601. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  602. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  604. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  606. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  609. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  611. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  613. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  617. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  619. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  640. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  642. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  647. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  648. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  649. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  650. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  651. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  652. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
  653. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
  654. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  655. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  656. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  657. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  658. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  659. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  660. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  661. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  662. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  663. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  664. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  665. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  666. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  667. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  668. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  669. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  670. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  671. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  672. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  673. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  674. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  675. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  676. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  677. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  678. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  679. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  680. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  681. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  682. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  683. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  684. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  685. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  686. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  687. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  688. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  689. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  690. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  691. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  692. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  693. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  694. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  695. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  696. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  697. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  698. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  699. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  700. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  701. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  702. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  703. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  704. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  705. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  706. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  707. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  708. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  709. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  710. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  711. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  712. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  713. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  714. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  715. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  716. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  717. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  718. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  719. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  720. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  721. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  722. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  723. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  724. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  725. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  726. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  727. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  728. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  729. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  730. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  731. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  732. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  733. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  734. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  735. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  736. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  737. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  738. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  739. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  740. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  741. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  742. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  743. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  744. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  745. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  746. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  747. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  748. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  749. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  750. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  751. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  752. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  753. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  754. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  755. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  756. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  757. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  758. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  759. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  760. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  761. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  762. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  763. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  764. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  765. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  766. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  767. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  768. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  769. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  770. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  771. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  772. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  773. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  774. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  775. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  776. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  777. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  778. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  779. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  780. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  781. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  782. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  783. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  784. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  785. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  786. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  787. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  788. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  789. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  790. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  791. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  792. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  793. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  794. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  795. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  796. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  797. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  798. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  799. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +41 -1
  800. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  801. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  802. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  803. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  804. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  805. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
  806. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
  807. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  808. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  809. package/dist/esm/i18n/index.d.ts.map +1 -1
  810. package/dist/esm/i18n/index.js.map +1 -1
  811. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  812. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  813. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  814. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  815. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  816. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  817. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
  818. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
  819. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  820. package/dist/esm/i18n/resources/workbenchAspects.en.js +7 -0
  821. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  822. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts +5 -0
  823. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  824. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js +5 -0
  825. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  826. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  827. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  828. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts +1 -1
  829. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  830. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js +2 -1
  831. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  832. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  833. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  834. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  835. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  836. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  837. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  838. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  839. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  840. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +46 -0
  841. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  842. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +12 -0
  843. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  844. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  845. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  846. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  847. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  848. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  849. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  850. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  851. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  852. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  853. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  854. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  855. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  856. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +266 -0
  857. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  858. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +91 -5
  859. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  860. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  861. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  862. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  863. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  864. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +41 -0
  865. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  866. package/dist/esm/i18n/system_enums/application-creation.en.js +45 -1
  867. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  868. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  869. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  870. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  871. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  872. package/dist/esm/i18n/system_enums/localization.en.d.ts +82 -0
  873. package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -0
  874. package/dist/esm/i18n/system_enums/localization.en.js +82 -0
  875. package/dist/esm/i18n/system_enums/localization.en.js.map +1 -0
  876. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  877. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  878. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  879. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  880. package/dist/esm/i18n/system_enums/risk-register.en.d.ts +1 -0
  881. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  882. package/dist/esm/i18n/system_enums/risk-register.en.js +1 -0
  883. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  884. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  885. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  886. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  887. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  888. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts +10 -0
  889. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  890. package/dist/esm/i18n/system_enums/workbench-dossier.en.js +13 -0
  891. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  892. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  893. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  894. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
  895. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
  896. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  897. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  898. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
  899. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
  900. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts +43 -0
  901. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -0
  902. package/dist/esm/i18n-labelling/models/labelling-progress.models.js +34 -0
  903. package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -0
  904. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  905. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  906. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  907. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  908. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  909. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  910. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  911. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  912. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  913. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  914. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  915. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  916. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts +8 -0
  917. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  918. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js +97 -56
  919. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  920. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts +18 -0
  921. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  922. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js +269 -153
  923. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  924. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  925. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  926. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  927. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  928. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
  929. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
  930. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  931. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  932. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  933. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  934. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
  935. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
  936. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  937. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  938. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  939. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  940. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts +41 -0
  941. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -0
  942. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js +47 -0
  943. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -0
  944. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  945. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  946. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts +12 -0
  947. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  948. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js +10 -2
  949. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  950. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
  951. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
  952. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
  953. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
  954. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  955. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  956. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  957. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  958. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts +89 -0
  959. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -0
  960. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js +229 -0
  961. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -0
  962. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  963. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  964. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
  965. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
  966. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  967. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  968. package/dist/esm/index.d.ts.map +1 -1
  969. package/dist/esm/index.js.map +1 -1
  970. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  971. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  972. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  973. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  974. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  975. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  976. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
  977. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
  978. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  979. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  980. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  981. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  982. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +67 -1
  983. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  984. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +64 -0
  985. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  986. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  987. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  988. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  989. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  990. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts +308 -0
  991. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -0
  992. package/dist/esm/meta-workflows/models/creation-intervention.models.js +365 -0
  993. package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -0
  994. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts +61 -0
  995. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -0
  996. package/dist/esm/meta-workflows/models/generation-step-progress.models.js +58 -0
  997. package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -0
  998. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
  999. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
  1000. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts +10 -6
  1001. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  1002. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js +11 -6
  1003. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  1004. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  1005. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  1006. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts +3 -0
  1007. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  1008. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js +8 -1
  1009. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  1010. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts +26 -0
  1011. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  1012. package/dist/esm/meta-workflows/models/playbook-run-record.models.js +66 -10
  1013. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  1014. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  1015. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  1016. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts +13 -0
  1017. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -0
  1018. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js +33 -0
  1019. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -0
  1020. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts +145 -0
  1021. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -0
  1022. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js +179 -0
  1023. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -0
  1024. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +376 -17
  1025. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  1026. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +805 -39
  1027. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  1028. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
  1029. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
  1030. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +93 -7
  1031. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  1032. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +142 -25
  1033. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  1034. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +120 -3
  1035. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1036. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +325 -16
  1037. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1038. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  1039. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +15 -6
  1040. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  1041. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  1042. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js +10 -11
  1043. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  1044. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  1045. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  1046. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  1047. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js +10 -11
  1048. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  1049. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts +82 -0
  1050. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -0
  1051. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js +291 -0
  1052. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -0
  1053. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +60 -0
  1054. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -0
  1055. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +66 -0
  1056. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -0
  1057. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts +53 -0
  1058. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -0
  1059. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js +164 -0
  1060. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -0
  1061. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts +37 -0
  1062. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -0
  1063. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js +52 -0
  1064. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -0
  1065. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +74 -14
  1066. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  1067. package/dist/esm/meta-workflows/services/dossier.companion.service.js +180 -28
  1068. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  1069. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  1070. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  1071. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1072. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1073. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  1074. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  1075. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +2 -3
  1076. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1077. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +2 -8
  1078. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1079. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
  1080. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
  1081. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
  1082. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
  1083. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts +67 -0
  1084. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -0
  1085. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js +64 -0
  1086. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -0
  1087. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  1088. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  1089. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  1090. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  1091. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  1092. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +11 -3
  1093. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  1094. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +92 -4
  1095. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1096. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +328 -7
  1097. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1098. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +105 -6
  1099. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1100. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +309 -39
  1101. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1102. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts +62 -1
  1103. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  1104. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js +152 -2
  1105. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  1106. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  1107. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  1108. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  1109. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  1110. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1111. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1112. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1113. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1114. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  1115. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  1116. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  1117. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  1118. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1119. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1120. package/package.json +22 -18
  1121. package/dist/esm/.tsbuildinfo +0 -1
  1122. package/dist/esm/__tests__/asset-noop.d.ts +0 -3
  1123. package/dist/esm/__tests__/asset-noop.d.ts.map +0 -1
  1124. package/dist/esm/__tests__/asset-noop.js +0 -2
  1125. package/dist/esm/__tests__/asset-noop.js.map +0 -1
  1126. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts +0 -2
  1127. package/dist/esm/__tests__/chdir-dogfood-app.setup.d.ts.map +0 -1
  1128. package/dist/esm/__tests__/chdir-dogfood-app.setup.js +0 -44
  1129. package/dist/esm/__tests__/chdir-dogfood-app.setup.js.map +0 -1
  1130. package/dist/esm/__tests__/internal-test-view.d.ts +0 -39
  1131. package/dist/esm/__tests__/internal-test-view.d.ts.map +0 -1
  1132. package/dist/esm/__tests__/internal-test-view.js +0 -2
  1133. package/dist/esm/__tests__/internal-test-view.js.map +0 -1
  1134. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts +0 -50
  1135. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.d.ts.map +0 -1
  1136. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js +0 -157
  1137. package/dist/esm/claude-cli/services/__tests__/support/in-memory-coding-actor-plane.js.map +0 -1
  1138. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts +0 -8
  1139. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.d.ts.map +0 -1
  1140. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js +0 -43
  1141. package/dist/esm/meta-workflows/services/__tests__/application-build-task-coding.companion.test-fixtures.js.map +0 -1
  1142. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts +0 -79
  1143. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.d.ts.map +0 -1
  1144. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js +0 -193
  1145. package/dist/esm/meta-workflows/services/__tests__/support/in-memory-actor-plane.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"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,CAAC;IACnE,IAAI,GAA8B,IAAI,CAAC;IACvC,WAAW,GAAyC,IAAI,CAAC;IACzD,OAAO,GAAG,CAAC,CAAC;IACZ,kBAAkB,GAAG,CAAC,CAAC;IAEd,UAAU,CAAS;IACnB,gBAAgB,CAAS;IACzB,cAAc,CAAU;IACxB,eAAe,GAAG,IAAI,GAAG,EAAU,CAAC;IAErD,YAAmB,UAQf,EAAE;QACJ,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,mCAAmC,CAAC;QAC5E,IAAI,CAAC,gBAAgB,GAAG,OAAO,CAAC,gBAAgB,IAAI,kCAAkC,CAAC;QACvF,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,cAAc,IAAI,IAAI,CAAC;IACvD,CAAC;IAED;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C,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
+ {"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,g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,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 +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,EAA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AS,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"}
@@ -1 +1 @@
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;AAErI,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,gBA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AG,EAAU,CAAC;IAClC,KAAK,MAAM,QAAQ,IAAI,QAAQ,EAAE,CAAC;QAChC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;YAAE,SAAS;QACpC,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc;aACtC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;aACvC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,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';\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;AAErI,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,E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AC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC;KACjK,CAAC;IACF,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAClC,KAAK,MAAM,QAAQ,IAAI,QAAQ,EAAE,CAAC;QAChC,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;YAAE,SAAS;QACpC,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc;aACtC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;aACvC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,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';\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 +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,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,iB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AAC;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,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,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E,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;IAC3F,iEAAmC,CAAA;IACnC,kGAAkG;IAClG,2DAA6B,CAAA;AAC/B,CAAC,EARW,0BAA0B,KAA1B,0BAA0B,QAQrC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,C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;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,oBAA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ACD,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,EAC1B,oBAAoB,EACpB,iCAAiC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,yCAAyC,EACzC,0CAA0C,EAC1C,uCAAuC,EACvC,wBAAwB,EACxB,uBAAuB,GAExB,MAAM,sCAAsC,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ent":["/**\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"]}
@@ -52,7 +52,29 @@ export declare enum AcceptRefusalReason {
52
52
  * it may be a sibling's. Left for that sibling's accept, or for the shared-tree reconciliation, which
53
53
  * commits what the runs left as ONE change naming every run whose writes it may carry (#1805).
54
54
  */
55
- NOT_CLAIMED_BY_THE_RUN = "not_claimed_by_the_run"
55
+ NOT_CLAIMED_BY_THE_RUN = "not_claimed_by_the_run",
56
+ /**
57
+ * The run shared the tree with others and claims this path, but the path does not carry the product its
58
+ * task DECLARES (#2209): a sibling overwrote it, or never left it there. Committing it under the task's
59
+ * name would credit the task with whatever the file holds, which is other runs' work. Left for the
60
+ * shared-tree reconciliation, which commits it as what it is: writer unknown. No `force` passes it,
61
+ * because what it protects is the NAME on the commit, not the bytes.
62
+ */
63
+ OWN_PRODUCT_ABSENT = "own_product_absent"
64
+ }
65
+ /**
66
+ * Says which of a concurrent run's paths do NOT carry the product its build task declares (#2209), read
67
+ * from the tree as the commit would leave it: the working text of the paths being committed, HEAD for
68
+ * every other path. It is evaluated by the same predicate landing uses, so the accept and the landing
69
+ * check cannot disagree about whether a commit holds the task's product.
70
+ *
71
+ * The build layer supplies it (`ApplicationBuildDispatchCompanionService` registers it at construction),
72
+ * because the build plan and its landing probes live there and this service sits below that layer. The
73
+ * dependency points the way the board listeners already point (`registerRunAcceptedListener`).
74
+ */
75
+ export interface ConcurrentRunProductWitness {
76
+ /** The subset of `candidatePaths` a probe of `taskRef` names and the prospective tree does not satisfy. Empty when the task declares nothing checkable there. */
77
+ pathsLackingOwnProduct(taskRef: string, candidatePaths: readonly string[]): Promise<readonly string[]>;
56
78
  }
57
79
  export interface AcceptedChangeCommitOutcome {
58
80
  readonly commitSha: string | undefined;
@@ -107,6 +129,9 @@ export declare class AcceptedChangeCommitCompanionService {
107
129
  private readonly executions;
108
130
  private readonly logDebug;
109
131
  constructor(logger: LoggerService, companionContext: CompanionContext, codingRunWrites: CodingRunWriteRegisterCompanionService, playbookRunWrites: PlaybookRunWriteRegisterCompanionService, executions: Pick<CompanionExecutionsCompanionService, 'listActorExecutions'>);
132
+ /** Set once, by the build layer; see {@link ConcurrentRunProductWitness}. */
133
+ private concurrentRunProductWitness;
134
+ registerConcurrentRunProductWitness(witness: ConcurrentRunProductWitness): void;
110
135
  /**
111
136
  * A PERSON's acceptance waits for the tree to be quiet; the automatic origins do not ask. They run from
112
137
  * inside the coding dispatch's own window (at a baseline, at the end of a wave, at recovery), where the
@@ -151,6 +176,13 @@ export declare class AcceptedChangeCommitCompanionService {
151
176
  /** The runs' task ids — the write register's keys, so two runs of one task stay two. */
152
177
  readonly taskIds: readonly string[];
153
178
  readonly origin: AcceptOrigin.WAVE_RECONCILIATION | AcceptOrigin.INTERRUPTED_RUN_RECOVERY;
179
+ /**
180
+ * What the checks covering the committed files say, as lines for the commit body (#2222). No run's own accept
181
+ * carried these files, so no run's checks judged them: in `app-creation-test-004` a website page reached git
182
+ * through this commit not compiling, and nothing said so. The commit is still made — the lane MARKS, it never
183
+ * refuses landed work — and its body records the verdict where a reader of the history finds it.
184
+ */
185
+ readonly describeChecksOver?: (committedPaths: readonly string[]) => Promise<readonly string[]>;
154
186
  }): Promise<AcceptedChangeCommitOutcome & {
155
187
  readonly taskIds: readonly string[];
156
188
  }>;
@@ -247,6 +279,30 @@ export declare class AcceptedChangeCommitCompanionService {
247
279
  * that is not the run's is never accepted, whatever `force` says — then the bytes.
248
280
  */
249
281
  private classifyCodingRunFiles;
282
+ /**
283
+ * A concurrent run's accept commits under ONE task's name, so every path it takes must carry that task's
284
+ * own declared product where the task declares one (#2209). Claims are per path: a chapters index, a
285
+ * locale file or a barrel that several runs of a wave all edited is claimed by each of them, and whichever
286
+ * accepts first used to commit it whole, holding a sibling's product and possibly none of its own.
287
+ * Measured on `app-creation-test-004` (2026-10-01): `ca9d3bc`, labelled with the customer-workflow-overview
288
+ * task, added only another task's chapter, while the overview chapter had been overwritten.
289
+ *
290
+ * A withheld path is not lost: it stays uncommitted for the shared-tree reconciliation, which commits it
291
+ * as writer unknown and names every run it may carry.
292
+ *
293
+ * Applies to every door that names ONE run: the posture's accept, the workbench's, `wildo build accept`
294
+ * (forced or not). Not to a restart's recovery of a run that was alone in its window (its files are its
295
+ * own, and refusing there would leave them with no committer), and never to the shared-tree door, which
296
+ * claims no single writer. A concurrent run with no witness registered is accepted as before; the build
297
+ * layer that creates concurrent runs registers one when it is constructed, so that is a test harness, not
298
+ * the companion.
299
+ *
300
+ * The witness reads the working file, and `git add` follows it while siblings may still be writing: a write
301
+ * landing between the two can still carry a file without the product into the commit. That is the window
302
+ * the bytes check (`EDITED_SINCE_THE_RUN`) already has, and it is closed by the same thing, the wave's
303
+ * end-of-run repair, not by this check.
304
+ */
305
+ private withholdPathsLackingOwnProduct;
250
306
  /**
251
307
  * `git add -- <paths>` then `git commit -F <message> -- <paths>`. A deleted path is staged as a
252
308
  * removal by the same `add`. When the paths are already identical to HEAD there is nothing to
@@ -1 +1 @@
1
- {"version":3,"file":"accepted-change-commit.companion.service.d.ts","sourceRoot":"","sources":["../../../../src/claude-cli/services/accepted-change-commit.companion.service.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAIhE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAA6B,wCAAwC,EAAE,MAAM,6EAA6E,CAAC;AAElK,OAAO,EAAE,sCAAsC,EAAwC,MAAM,+CAA+C,CAAC;AAE7I,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kEAAkE,CAAC;AA4D5H;;;;GAIG;AACH,oBAAY,YAAY;IACtB,gDAAgD;IAChD,QAAQ,aAAa;IACrB,iGAAiG;IACjG,gBAAgB,qBAAqB;IACrC;;;;;;OAMG;IACH,mBAAmB,wBAAwB;IAC3C;;;;;;;OAOG;IACH,wBAAwB,6BAA6B;CACtD;AAED;;;;GAIG;AACH,oBAAY,mBAAmB;IAC7B,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AA6CD,oBAAY,mBAAmB;IAC7B,uGAAuG;IACvG,mCAAmC,wCAAwC;IAC3E,iDAAiD;IACjD,oBAAoB,yBAAyB;IAC7C,sGAAsG;IACtG,YAAY,iBAAiB;IAC7B;;;;OAIG;IACH,sBAAsB,2BAA2B;CAClD;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3C,QAAQ,CAAC,YAAY,EAAE,SAAS;QAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,MAAM,EAAE,mBAAmB,CAAA;KAAE,EAAE,CAAC;IAClG,QAAQ,CAAC,OAAO,E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QACpE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;QAC1B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;QACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;KACzB,CAAC;IA8BF;;;OAGG;YACW,sBAAsB;IAyCpC;;;;OAIG;YACW,WAAW;IA2BzB;;;;;;;;OAQG;IACU,oBAAoB,CAAC,KAAK,EAAE;QACvC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;QAClC,kCAAkC;QAClC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;QACpC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;KAC/B,GAAG,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,cAAc,GAAG,SAAS,CAAC,GAAG;QAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAarI,wGAAwG;YAC1F,OAAO;CA4BtB"}
1
+ {"version":3,"file":"accepted-change-commit.companion.service.d.ts","sourceRoot":"","sources":["../../../../../src/claude-cli/services/accepted-change-commit.companion.service.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAKhE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAA6B,wCAAwC,EAAE,MAAM,6EAA6E,CAAC;AAElK,OAAO,EAAE,sCAAsC,EAAwC,MAAM,+CAA+C,CAAC;AAE7I,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kEAAkE,CAAC;AA4D5H;;;;GAIG;AACH,oBAAY,YAAY;IACtB,gDAAgD;IAChD,QAAQ,aAAa;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AAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;QACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;KACzB,CAAC;IA8BF;;;OAGG;YACW,sBAAsB;IAyCpC;;;;;;;;;;;;;;;;;;;;;;OAsBG;YACW,8BAA8B;IAuB5C;;;;OAIG;YACW,WAAW;IAmCzB;;;;;;;;OAQG;IACU,oBAAoB,CAAC,KAAK,EAAE;QACvC,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;QAClC,kCAAkC;QAClC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;QACzB,QAAQ,CAAC,KAAK,EAAE,mBAAmB,CAAC;QACpC,QAAQ,CAAC,MAAM,EAAE,YAAY,CAAC;KAC/B,GAAG,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,cAAc,GAAG,SAAS,CAAC,GAAG;QAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAarI,wGAAwG;YAC1F,OAAO;CA4BtB"}
@@ -17,6 +17,7 @@ import * as path from 'node:path';
17
17
  import { promisify } from 'node:util';
18
18
  import { inject, injectable } from 'inversify';
19
19
  import { SAAS_SERVICE_TYPES, describeCaughtError } from '@wildo-ai/saas-backend-lib';
20
+ import { assertHeldFileLocksIntact } from '@wildo-ai/platform-config-lib';
20
21
  import { COMPANION_SERVICE_TYPES } from '../../core/inject/models/service-types.js';
21
22
  import { PlaybookRunFileSuccession, PlaybookRunWriteRegisterCompanionService } from '../../meta-workflows/services/playbook-run-write-register.companion.service.js';
22
23
  import { ChangeSetAttributionClass, ChangeSetFileChangeKind, isAttributedToAnotherWriter } from '../models/coding-agent-dispatch.models.js';
@@ -170,6 +171,14 @@ export var AcceptRefusalReason;
170
171
  * commits what the runs left as ONE change naming every run whose writes it may carry (#1805).
171
172
  */
172
173
  AcceptRefusalReason["NOT_CLAIMED_BY_THE_RUN"] = "not_claimed_by_the_run";
174
+ /**
175
+ * The run shared the tree with others and claims this path, but the path does not carry the product its
176
+ * task DECLARES (#2209): a sibling overwrote it, or never left it there. Committing it under the task's
177
+ * name would credit the task with whatever the file holds, which is other runs' work. Left for the
178
+ * shared-tree reconciliation, which commits it as what it is: writer unknown. No `force` passes it,
179
+ * because what it protects is the NAME on the commit, not the bytes.
180
+ */
181
+ AcceptRefusalReason["OWN_PRODUCT_ABSENT"] = "own_product_absent";
173
182
  })(AcceptRefusalReason || (AcceptRefusalReason = {}));
174
183
  /** Nothing could be committed: no record, an empty run, or every path refused. Carries the refusals. */
175
184
  export class NothingToAcceptError extends Error {
@@ -222,6 +231,11 @@ let AcceptedChangeCommitCompanionService = class AcceptedChangeCommitCompanionSe
222
231
  this.executions = executions;
223
232
  this.logDebug = this.logger.debugByType('AcceptedChangeCommit');
224
233
  }
234
+ /** Set once, by the build layer; see {@link ConcurrentRunProductWitness}. */
235
+ concurrentRunProductWitness;
236
+ registerConcurrentRunProductWitness(witness) {
237
+ this.concurrentRunProductWitness = witness;
238
+ }
225
239
  /**
226
240
  * A PERSON's acceptance waits for the tree to be quiet; the automatic origins do not ask. They run from
227
241
  * inside the coding dispatch's own window (at a baseline, at the end of a wave, at recovery), where the
@@ -255,7 +269,8 @@ let AcceptedChangeCommitCompanionService = class AcceptedChangeCommitCompanionSe
255
269
  if (record.acceptedCommitSha !== undefined && input.force !== true) {
256
270
  return { commitSha: record.acceptedCommitSha, committedPaths: [], refusedPaths: [], message: '', alreadyCommitted: true };
257
271
  }
258
- const { accepted, refused } = await this.classifyCodingRunFiles(record, input.force === true);
272
+ const classified = await this.classifyCodingRunFiles(record, input.force === true);
273
+ const { accepted, refused } = await this.withholdPathsLackingOwnProduct(record, classified, input.origin ?? AcceptOrigin.OPERATOR);
259
274
  if (accepted.length === 0) {
260
275
  throw new NothingToAcceptError(record.files.length === 0
261
276
  ? `The latest run of ${input.taskRef} changed nothing; there is nothing to accept.`
@@ -265,6 +280,12 @@ let AcceptedChangeCommitCompanionService = class AcceptedChangeCommitCompanionSe
265
280
  `${input.taskRef}: ${input.subject ?? 'accept the coding run'}`,
266
281
  '',
267
282
  `${ACCEPT_ORIGIN_SENTENCE[input.origin ?? AcceptOrigin.OPERATOR]}: the writes of coding run ${record.taskId} on ${record.at}.`,
283
+ /*
284
+ * A file several runs edited is committed whole, so it carries their lines too: claims are per PATH,
285
+ * and nothing separates one run's hunks from another's (#2209). Said, rather than left for the
286
+ * message to over-claim.
287
+ */
288
+ ...(record.concurrent === true ? ['This run shared the working tree with other runs: a file listed here may also carry lines they wrote.'] : []),
268
289
  '',
269
290
  ...accepted.map((filePath) => `- ${filePath}`),
270
291
  ...(refused.length > 0 ? ['', `Not included (refused by name): ${refused.map((entry) => `${entry.path} — ${entry.reason}`).join('; ')}`] : []),
@@ -373,6 +394,7 @@ let AcceptedChangeCommitCompanionService = class AcceptedChangeCommitCompanionSe
373
394
  : contributing.length === 1
374
395
  ? 'This run\'s files may carry changes it did not write (another run\'s, or edits already there when it began), and which lines are its own cannot be told apart after a restart: they are committed as one recovery, writer unknown.'
375
396
  : 'A restart stopped these runs, and which of them wrote each file cannot be told apart after it: they are committed as one recovery, writer unknown, naming every run whose writes a file may carry.';
397
+ const checkLines = input.describeChecksOver ? await input.describeChecksOver(committedPaths) : [];
376
398
  const message = [
377
399
  `${[...new Set(contributing.map((record) => record.taskRef))].join(', ')}: ${origin === AcceptOrigin.WAVE_RECONCILIATION ? 'commit what the wave left, writer unknown' : 'recover work a restart interrupted, writer unknown'}`,
378
400
  '',
@@ -383,6 +405,7 @@ let AcceptedChangeCommitCompanionService = class AcceptedChangeCommitCompanionSe
383
405
  '',
384
406
  ...committedPaths.map((filePath) => `- ${filePath}`),
385
407
  ...(refusedPaths.length > 0 ? ['', `Not included (refused by name): ${refusedPaths.map((entry) => `${entry.path} — ${entry.reason}`).join('; ')}`] : []),
408
+ ...(checkLines.length > 0 ? ['', 'Checks over these files:', ...checkLines] : []),
386
409
  '',
387
410
  ...contributing.map((record) => `${CODING_RUN_TRAILER}: ${record.taskId}`),
388
411
  ].join('\n');
@@ -659,12 +682,62 @@ let AcceptedChangeCommitCompanionService = class AcceptedChangeCommitCompanionSe
659
682
  }
660
683
  return { accepted, refused };
661
684
  }
685
+ /**
686
+ * A concurrent run's accept commits under ONE task's name, so every path it takes must carry that task's
687
+ * own declared product where the task declares one (#2209). Claims are per path: a chapters index, a
688
+ * locale file or a barrel that several runs of a wave all edited is claimed by each of them, and whichever
689
+ * accepts first used to commit it whole, holding a sibling's product and possibly none of its own.
690
+ * Measured on `app-creation-test-004` (2026-10-01): `ca9d3bc`, labelled with the customer-workflow-overview
691
+ * task, added only another task's chapter, while the overview chapter had been overwritten.
692
+ *
693
+ * A withheld path is not lost: it stays uncommitted for the shared-tree reconciliation, which commits it
694
+ * as writer unknown and names every run it may carry.
695
+ *
696
+ * Applies to every door that names ONE run: the posture's accept, the workbench's, `wildo build accept`
697
+ * (forced or not). Not to a restart's recovery of a run that was alone in its window (its files are its
698
+ * own, and refusing there would leave them with no committer), and never to the shared-tree door, which
699
+ * claims no single writer. A concurrent run with no witness registered is accepted as before; the build
700
+ * layer that creates concurrent runs registers one when it is constructed, so that is a test harness, not
701
+ * the companion.
702
+ *
703
+ * The witness reads the working file, and `git add` follows it while siblings may still be writing: a write
704
+ * landing between the two can still carry a file without the product into the commit. That is the window
705
+ * the bytes check (`EDITED_SINCE_THE_RUN`) already has, and it is closed by the same thing, the wave's
706
+ * end-of-run repair, not by this check.
707
+ */
708
+ async withholdPathsLackingOwnProduct(record, classified, origin) {
709
+ if (record.concurrent !== true || origin === AcceptOrigin.INTERRUPTED_RUN_RECOVERY || classified.accepted.length === 0)
710
+ return classified;
711
+ if (!this.concurrentRunProductWitness) {
712
+ this.logDebug('A concurrent run was accepted without a product witness: nothing registered one', { taskRef: record.taskRef });
713
+ return classified;
714
+ }
715
+ const lacking = new Set(await this.concurrentRunProductWitness.pathsLackingOwnProduct(record.taskRef, classified.accepted));
716
+ if (lacking.size === 0)
717
+ return classified;
718
+ this.logger.warn('A concurrent run\'s accept withheld shared files that do not carry its own product; the wave reconciliation commits them as writer unknown', {
719
+ taskRef: record.taskRef,
720
+ taskId: record.taskId,
721
+ withheldPaths: [...lacking].sort(),
722
+ });
723
+ return {
724
+ accepted: classified.accepted.filter((filePath) => !lacking.has(filePath)),
725
+ refused: [...classified.refused, ...[...lacking].sort().map((filePath) => ({ path: filePath, reason: AcceptRefusalReason.OWN_PRODUCT_ABSENT }))],
726
+ };
727
+ }
662
728
  /**
663
729
  * `git add -- <paths>` then `git commit -F <message> -- <paths>`. A deleted path is staged as a
664
730
  * removal by the same `add`. When the paths are already identical to HEAD there is nothing to
665
731
  * commit, and that is answered as `alreadyCommitted` with the commit that last changed those paths rather than as a failure.
666
732
  */
667
733
  async commitPaths(paths, message, origin) {
734
+ /*
735
+ * Every commit here runs inside the workspace-mutation lock. If that lock was taken from this holder
736
+ * while it ran (#2225), another writer may be in the index now, so committing "as the exclusive
737
+ * writer" would attribute its work to this run. Asked before staging and again before committing,
738
+ * because a loss can land between the two. Outside any lock this is a no-op.
739
+ */
740
+ assertHeldFileLocksIntact();
668
741
  await this.execGit(['add', '--', ...paths]);
669
742
  const staged = await this.execGit(['diff', '--cached', '--quiet', '--', ...paths], { acceptExitCodes: [0, 1] });
670
743
  if (staged.exitCode === 0) {
@@ -682,6 +755,7 @@ let AcceptedChangeCommitCompanionService = class AcceptedChangeCommitCompanionSe
682
755
  await writeFile(messagePath, `${message}\n`, 'utf8');
683
756
  try {
684
757
  const author = ACCEPT_ORIGIN_AUTHOR[origin];
758
+ assertHeldFileLocksIntact();
685
759
  await this.execGit(['commit', '--quiet', ...(author ? [`--author=${author}`] : []), '-F', messagePath, '--', ...paths]);
686
760
  }
687
761
  finally {