@wildo-ai/dev-companion 1.1.9 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1131) hide show
  1. package/dist/esm/.tsbuildinfo +1 -0
  2. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts +46 -0
  3. package/dist/esm/brand/models/accepted-brand-mark.models.d.ts.map +1 -0
  4. package/dist/esm/brand/models/accepted-brand-mark.models.js +89 -0
  5. package/dist/esm/brand/models/accepted-brand-mark.models.js.map +1 -0
  6. package/dist/esm/brand/models/logo-creative-brief.schemas.d.ts.map +1 -1
  7. package/dist/esm/brand/models/logo-creative-brief.schemas.js.map +1 -1
  8. package/dist/esm/brand/models/logo-generation.actors-system.definitions.d.ts.map +1 -1
  9. package/dist/esm/brand/models/logo-generation.actors-system.definitions.js.map +1 -1
  10. package/dist/esm/brand/models/logo-judge.actors-system.definitions.d.ts.map +1 -1
  11. package/dist/esm/brand/models/logo-judge.actors-system.definitions.js.map +1 -1
  12. package/dist/esm/brand/models/logo-judge.schemas.d.ts +5 -3
  13. package/dist/esm/brand/models/logo-judge.schemas.d.ts.map +1 -1
  14. package/dist/esm/brand/models/logo-judge.schemas.js +5 -3
  15. package/dist/esm/brand/models/logo-judge.schemas.js.map +1 -1
  16. package/dist/esm/brand/services/brand-accept.companion.service.d.ts.map +1 -1
  17. package/dist/esm/brand/services/brand-accept.companion.service.js.map +1 -1
  18. package/dist/esm/brand/services/brand-propagation.companion.utils.d.ts.map +1 -1
  19. package/dist/esm/brand/services/brand-propagation.companion.utils.js.map +1 -1
  20. package/dist/esm/brand/services/logo-deliberation.companion.service.d.ts.map +1 -1
  21. package/dist/esm/brand/services/logo-deliberation.companion.service.js +10 -7
  22. package/dist/esm/brand/services/logo-deliberation.companion.service.js.map +1 -1
  23. package/dist/esm/brand/services/logo-generation.companion.service.d.ts.map +1 -1
  24. package/dist/esm/brand/services/logo-generation.companion.service.js.map +1 -1
  25. package/dist/esm/brand/utils/derived-brand-assets.d.ts.map +1 -1
  26. package/dist/esm/brand/utils/derived-brand-assets.js.map +1 -1
  27. package/dist/esm/brand/utils/stage-brand-candidate.d.ts.map +1 -1
  28. package/dist/esm/brand/utils/stage-brand-candidate.js.map +1 -1
  29. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.d.ts.map +1 -1
  30. package/dist/esm/claude-cli/models/application-coding-run-checkpoint.models.js.map +1 -1
  31. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts +89 -0
  32. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.d.ts.map +1 -1
  33. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js +133 -0
  34. package/dist/esm/claude-cli/models/coding-agent-dispatch.models.js.map +1 -1
  35. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts +52 -0
  36. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.d.ts.map +1 -0
  37. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js +206 -0
  38. package/dist/esm/claude-cli/models/coding-agent-usage-limit.models.js.map +1 -0
  39. package/dist/esm/claude-cli/models/coding-session-frame-retention.d.ts.map +1 -1
  40. package/dist/esm/claude-cli/models/coding-session-frame-retention.js.map +1 -1
  41. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts +38 -3
  42. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.d.ts.map +1 -1
  43. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js +48 -4
  44. package/dist/esm/claude-cli/models/concurrent-coding-runs.models.js.map +1 -1
  45. package/dist/esm/claude-cli/models/parked-question-answer.models.d.ts.map +1 -1
  46. package/dist/esm/claude-cli/models/parked-question-answer.models.js.map +1 -1
  47. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.d.ts.map +1 -1
  48. package/dist/esm/claude-cli/models/parked-question-answerer.actors-system.definitions.js.map +1 -1
  49. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts +108 -7
  50. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.d.ts.map +1 -1
  51. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js +461 -27
  52. package/dist/esm/claude-cli/services/accepted-change-commit.companion.service.js.map +1 -1
  53. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts +53 -0
  54. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.d.ts.map +1 -0
  55. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js +193 -0
  56. package/dist/esm/claude-cli/services/accepted-change-import-closure.companion.js.map +1 -0
  57. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts +74 -1
  58. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.d.ts.map +1 -1
  59. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js +246 -39
  60. package/dist/esm/claude-cli/services/coding-agent-dispatch.companion.service.js.map +1 -1
  61. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.d.ts.map +1 -1
  62. package/dist/esm/claude-cli/services/coding-run-write-register.companion.service.js.map +1 -1
  63. package/dist/esm/claude-cli/services/git-change-set.companion.service.d.ts.map +1 -1
  64. package/dist/esm/claude-cli/services/git-change-set.companion.service.js.map +1 -1
  65. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.d.ts.map +1 -1
  66. package/dist/esm/claude-cli/services/in-flight-coding-runs.companion.js.map +1 -1
  67. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.d.ts.map +1 -1
  68. package/dist/esm/claude-cli/services/research-agent-dispatch.companion.service.js.map +1 -1
  69. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts +15 -2
  70. package/dist/esm/claude-cli/services/research-evidence-store.companion.d.ts.map +1 -1
  71. package/dist/esm/claude-cli/services/research-evidence-store.companion.js +36 -4
  72. package/dist/esm/claude-cli/services/research-evidence-store.companion.js.map +1 -1
  73. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.d.ts.map +1 -1
  74. package/dist/esm/code-compliance-check/check-label-placeholder-contract.companion.js.map +1 -1
  75. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.d.ts.map +1 -1
  76. package/dist/esm/code-compliance-check/check-raw-feature-id-literals.companion.js.map +1 -1
  77. package/dist/esm/companion-api/companion-api.schemas.d.ts +337 -337
  78. package/dist/esm/companion-api/companion-api.schemas.d.ts.map +1 -1
  79. package/dist/esm/companion-api/companion-api.schemas.js.map +1 -1
  80. package/dist/esm/companion-api/companion-error-guidance.models.d.ts.map +1 -1
  81. package/dist/esm/companion-api/companion-error-guidance.models.js.map +1 -1
  82. package/dist/esm/companion-api/controllers/companion-file-route-confinement.d.ts.map +1 -1
  83. package/dist/esm/companion-api/controllers/companion-file-route-confinement.js.map +1 -1
  84. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.d.ts.map +1 -1
  85. package/dist/esm/companion-api/controllers/companion-i18n-api-contract.utils.js.map +1 -1
  86. package/dist/esm/companion-api/controllers/companion-token-floor.policy.d.ts.map +1 -1
  87. package/dist/esm/companion-api/controllers/companion-token-floor.policy.js.map +1 -1
  88. package/dist/esm/companion-api/controllers/companion-trace-exemptions.d.ts.map +1 -1
  89. package/dist/esm/companion-api/controllers/companion-trace-exemptions.js.map +1 -1
  90. package/dist/esm/companion-api/controllers/companion.controller.d.ts +25 -6
  91. package/dist/esm/companion-api/controllers/companion.controller.d.ts.map +1 -1
  92. package/dist/esm/companion-api/controllers/companion.controller.js +136 -15
  93. package/dist/esm/companion-api/controllers/companion.controller.js.map +1 -1
  94. package/dist/esm/core/auth/companion-auth-floor.companion.service.d.ts.map +1 -1
  95. package/dist/esm/core/auth/companion-auth-floor.companion.service.js.map +1 -1
  96. package/dist/esm/core/catalogs/catalog-context.factory.d.ts.map +1 -1
  97. package/dist/esm/core/catalogs/catalog-context.factory.js.map +1 -1
  98. package/dist/esm/core/catalogs/catalog-context.factory.models.d.ts.map +1 -1
  99. package/dist/esm/core/catalogs/catalog-context.factory.models.js.map +1 -1
  100. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.d.ts.map +1 -1
  101. package/dist/esm/core/catalogs/schema-org/aggregate-offer-catalog-context.factory.js.map +1 -1
  102. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.d.ts.map +1 -1
  103. package/dist/esm/core/catalogs/schema-org/aggregate-rating-catalog-context.factory.js.map +1 -1
  104. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.d.ts.map +1 -1
  105. package/dist/esm/core/catalogs/schema-org/article-catalog-context.factory.js.map +1 -1
  106. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.d.ts.map +1 -1
  107. package/dist/esm/core/catalogs/schema-org/blog-posting-catalog-context.factory.js.map +1 -1
  108. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.d.ts.map +1 -1
  109. package/dist/esm/core/catalogs/schema-org/breadcrumb-list-catalog-context.factory.js.map +1 -1
  110. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.d.ts.map +1 -1
  111. package/dist/esm/core/catalogs/schema-org/faq-page-catalog-context.factory.js.map +1 -1
  112. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.d.ts.map +1 -1
  113. package/dist/esm/core/catalogs/schema-org/offer-catalog-context.factory.js.map +1 -1
  114. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.d.ts.map +1 -1
  115. package/dist/esm/core/catalogs/schema-org/organization-catalog-context.factory.js.map +1 -1
  116. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.d.ts.map +1 -1
  117. package/dist/esm/core/catalogs/schema-org/product-catalog-context.factory.js.map +1 -1
  118. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.d.ts.map +1 -1
  119. package/dist/esm/core/catalogs/schema-org/review-catalog-context.factory.js.map +1 -1
  120. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.d.ts.map +1 -1
  121. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-boundary.shared.js.map +1 -1
  122. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.d.ts.map +1 -1
  123. package/dist/esm/core/catalogs/schema-org/schema-org-catalog-context.shared.js.map +1 -1
  124. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.d.ts.map +1 -1
  125. package/dist/esm/core/catalogs/schema-org/software-application-catalog-context.factory.js.map +1 -1
  126. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.d.ts.map +1 -1
  127. package/dist/esm/core/catalogs/schema-org/website-catalog-context.factory.js.map +1 -1
  128. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.d.ts.map +1 -1
  129. package/dist/esm/core/catalogs/structured-data-catalog-audit.service.js.map +1 -1
  130. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.d.ts.map +1 -1
  131. package/dist/esm/core/config/application-schema-plan-obligation.companion.utils.js.map +1 -1
  132. package/dist/esm/core/config/primary-language.companion.utils.d.ts.map +1 -1
  133. package/dist/esm/core/config/primary-language.companion.utils.js.map +1 -1
  134. package/dist/esm/core/context/application-module-generations.companion.d.ts.map +1 -1
  135. package/dist/esm/core/context/application-module-generations.companion.js.map +1 -1
  136. package/dist/esm/core/context/companion-context.d.ts.map +1 -1
  137. package/dist/esm/core/context/companion-context.js.map +1 -1
  138. package/dist/esm/core/context/companion-package-loaders.companion.d.ts.map +1 -1
  139. package/dist/esm/core/context/companion-package-loaders.companion.js.map +1 -1
  140. package/dist/esm/core/context/draft-family-values.companion.d.ts.map +1 -1
  141. package/dist/esm/core/context/draft-family-values.companion.js.map +1 -1
  142. package/dist/esm/core/inject/models/container.d.ts.map +1 -1
  143. package/dist/esm/core/inject/models/container.js.map +1 -1
  144. package/dist/esm/core/inject/models/service-types.d.ts.map +1 -1
  145. package/dist/esm/core/inject/models/service-types.js.map +1 -1
  146. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.d.ts.map +1 -1
  147. package/dist/esm/core/introspection/behaviors/companion-introspection-behavior-definitions.js.map +1 -1
  148. package/dist/esm/core/introspection/models/companion-introspection.models.d.ts.map +1 -1
  149. package/dist/esm/core/introspection/models/companion-introspection.models.js.map +1 -1
  150. package/dist/esm/core/introspection/resources/application-secrets.companion.d.ts.map +1 -1
  151. package/dist/esm/core/introspection/resources/application-secrets.companion.js.map +1 -1
  152. package/dist/esm/core/introspection/resources/creation-console-answer.companion.d.ts.map +1 -1
  153. package/dist/esm/core/introspection/resources/creation-console-answer.companion.js.map +1 -1
  154. package/dist/esm/core/introspection/resources/creation-console-projection.companion.d.ts.map +1 -1
  155. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js +8 -1
  156. package/dist/esm/core/introspection/resources/creation-console-projection.companion.js.map +1 -1
  157. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts +10 -0
  158. package/dist/esm/core/introspection/resources/creation-home-projection.companion.d.ts.map +1 -1
  159. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js +56 -2
  160. package/dist/esm/core/introspection/resources/creation-home-projection.companion.js.map +1 -1
  161. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.d.ts.map +1 -1
  162. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js +7 -3
  163. package/dist/esm/core/introspection/resources/creation-plane-dispatch.custom-impl.companion.service.js.map +1 -1
  164. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.d.ts.map +1 -1
  165. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js +22 -2
  166. package/dist/esm/core/introspection/resources/creation-plane-projection.companion.service.js.map +1 -1
  167. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.d.ts.map +1 -1
  168. package/dist/esm/core/introspection/resources/introspection-resource-notifier.companion.service.js.map +1 -1
  169. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.d.ts.map +1 -1
  170. package/dist/esm/core/introspection/resources/introspection-resource-source.companion.service.js.map +1 -1
  171. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts +7 -3
  172. package/dist/esm/core/introspection/resources/launch-blockers.companion.d.ts.map +1 -1
  173. package/dist/esm/core/introspection/resources/launch-blockers.companion.js +28 -2
  174. package/dist/esm/core/introspection/resources/launch-blockers.companion.js.map +1 -1
  175. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.d.ts.map +1 -1
  176. package/dist/esm/core/introspection/services/companion-introspection-behavior-registry.companion.service.js.map +1 -1
  177. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts +8 -2
  178. package/dist/esm/core/introspection/services/companion-introspection.companion.service.d.ts.map +1 -1
  179. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js +72 -5
  180. package/dist/esm/core/introspection/services/companion-introspection.companion.service.js.map +1 -1
  181. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts +153 -4
  182. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.d.ts.map +1 -1
  183. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js +383 -30
  184. package/dist/esm/core/introspection/services/introspection-derivation-state.companion.service.js.map +1 -1
  185. package/dist/esm/core/introspection/services/introspection-input-closure.companion.d.ts.map +1 -1
  186. package/dist/esm/core/introspection/services/introspection-input-closure.companion.js.map +1 -1
  187. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts +82 -2
  188. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.d.ts.map +1 -1
  189. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js +220 -10
  190. package/dist/esm/core/introspection/services/introspection-source-state.companion.service.js.map +1 -1
  191. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts +22 -6
  192. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.d.ts.map +1 -1
  193. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js +38 -7
  194. package/dist/esm/core/introspection/services/introspection-source-watcher.companion.service.js.map +1 -1
  195. package/dist/esm/core/introspection/services/translation-placement.companion.service.d.ts.map +1 -1
  196. package/dist/esm/core/introspection/services/translation-placement.companion.service.js.map +1 -1
  197. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts +9 -0
  198. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.d.ts.map +1 -1
  199. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js +29 -9
  200. package/dist/esm/core/introspection/subprocess/app-shell-placement-content.behavior.js.map +1 -1
  201. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.d.ts.map +1 -1
  202. package/dist/esm/core/introspection/subprocess/application-domain-model.behavior.js.map +1 -1
  203. package/dist/esm/core/introspection/subprocess/assertions.behavior.d.ts.map +1 -1
  204. package/dist/esm/core/introspection/subprocess/assertions.behavior.js +10 -10
  205. package/dist/esm/core/introspection/subprocess/assertions.behavior.js.map +1 -1
  206. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.d.ts.map +1 -1
  207. package/dist/esm/core/introspection/subprocess/asset-noop-hooks.js.map +1 -1
  208. package/dist/esm/core/introspection/subprocess/asset-noop-register.d.ts.map +1 -1
  209. package/dist/esm/core/introspection/subprocess/asset-noop-register.js.map +1 -1
  210. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.d.ts.map +1 -1
  211. package/dist/esm/core/introspection/subprocess/brand-prompt-renderer.js.map +1 -1
  212. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.d.ts.map +1 -1
  213. package/dist/esm/core/introspection/subprocess/chart-registration-refs.behavior.js.map +1 -1
  214. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts +1 -1
  215. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.d.ts.map +1 -1
  216. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js +20 -19
  217. package/dist/esm/core/introspection/subprocess/companion-introspection-behavior-handlers.js.map +1 -1
  218. package/dist/esm/core/introspection/subprocess/companion-introspection-child.d.ts.map +1 -1
  219. package/dist/esm/core/introspection/subprocess/companion-introspection-child.js.map +1 -1
  220. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.d.ts.map +1 -1
  221. package/dist/esm/core/introspection/subprocess/companion-introspection-module-exports.utils.js.map +1 -1
  222. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.d.ts.map +1 -1
  223. package/dist/esm/core/introspection/subprocess/compliance-primary-facts.behavior.js.map +1 -1
  224. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.d.ts.map +1 -1
  225. package/dist/esm/core/introspection/subprocess/definition-specifications.behavior.js.map +1 -1
  226. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.d.ts.map +1 -1
  227. package/dist/esm/core/introspection/subprocess/engine-resource-population.subprocess.utils.js.map +1 -1
  228. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.d.ts.map +1 -1
  229. package/dist/esm/core/introspection/subprocess/expert-persona-brief.renderer.js.map +1 -1
  230. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.d.ts.map +1 -1
  231. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js +9 -1
  232. package/dist/esm/core/introspection/subprocess/family-aspects.behavior.js.map +1 -1
  233. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.d.ts.map +1 -1
  234. package/dist/esm/core/introspection/subprocess/frontend-labels-needed-info.behavior.js.map +1 -1
  235. package/dist/esm/core/introspection/subprocess/market-context-block.builder.d.ts.map +1 -1
  236. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js +2 -1
  237. package/dist/esm/core/introspection/subprocess/market-context-block.builder.js.map +1 -1
  238. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts +4 -3
  239. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.d.ts.map +1 -1
  240. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js +14 -8
  241. package/dist/esm/core/introspection/subprocess/market-prompt-renderer.js.map +1 -1
  242. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.d.ts.map +1 -1
  243. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js +17 -4
  244. package/dist/esm/core/introspection/subprocess/openapi-generation-input.behavior.js.map +1 -1
  245. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.d.ts.map +1 -1
  246. package/dist/esm/core/introspection/subprocess/risk-signals.behavior.js.map +1 -1
  247. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.d.ts.map +1 -1
  248. package/dist/esm/core/introspection/subprocess/specification-artifacts.behavior.js.map +1 -1
  249. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.d.ts.map +1 -1
  250. package/dist/esm/core/introspection/subprocess/specification-elements.behavior.js.map +1 -1
  251. package/dist/esm/core/introspection/workspace-element-index.companion.d.ts.map +1 -1
  252. package/dist/esm/core/introspection/workspace-element-index.companion.js.map +1 -1
  253. package/dist/esm/core/introspection/workspace-elements.companion.d.ts.map +1 -1
  254. package/dist/esm/core/introspection/workspace-elements.companion.js.map +1 -1
  255. package/dist/esm/core/lock/wildo-saas-lock.companion.service.d.ts.map +1 -1
  256. package/dist/esm/core/lock/wildo-saas-lock.companion.service.js.map +1 -1
  257. package/dist/esm/core/lock/wildo-saas-lock.models.d.ts.map +1 -1
  258. package/dist/esm/core/lock/wildo-saas-lock.models.js.map +1 -1
  259. package/dist/esm/core/lock/wildo-saas-lock.schemas.d.ts.map +1 -1
  260. package/dist/esm/core/lock/wildo-saas-lock.schemas.js.map +1 -1
  261. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts +35 -0
  262. package/dist/esm/core/runtime/application-runtime-liveness.companion.d.ts.map +1 -1
  263. package/dist/esm/core/runtime/application-runtime-liveness.companion.js +74 -0
  264. package/dist/esm/core/runtime/application-runtime-liveness.companion.js.map +1 -1
  265. package/dist/esm/core/runtime/companion-endpoint-record.d.ts.map +1 -1
  266. package/dist/esm/core/runtime/companion-endpoint-record.js.map +1 -1
  267. package/dist/esm/core/runtime/companion-env-file.d.ts.map +1 -1
  268. package/dist/esm/core/runtime/companion-env-file.js.map +1 -1
  269. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts +38 -0
  270. package/dist/esm/core/runtime/companion-self-restart.companion.d.ts.map +1 -0
  271. package/dist/esm/core/runtime/companion-self-restart.companion.js +110 -0
  272. package/dist/esm/core/runtime/companion-self-restart.companion.js.map +1 -0
  273. package/dist/esm/core/runtime/companion-startup-assembly.d.ts.map +1 -1
  274. package/dist/esm/core/runtime/companion-startup-assembly.js +7 -1
  275. package/dist/esm/core/runtime/companion-startup-assembly.js.map +1 -1
  276. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts +12 -0
  277. package/dist/esm/core/runtime/dev-compile-quiet.companion.d.ts.map +1 -1
  278. package/dist/esm/core/runtime/dev-compile-quiet.companion.js +15 -1
  279. package/dist/esm/core/runtime/dev-compile-quiet.companion.js.map +1 -1
  280. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts +83 -0
  281. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.d.ts.map +1 -0
  282. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js +150 -0
  283. package/dist/esm/core/runtime/event-loop-stall-monitor.companion.js.map +1 -0
  284. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.d.ts.map +1 -1
  285. package/dist/esm/core/runtime/in-flight-work-heartbeat.companion.js.map +1 -1
  286. package/dist/esm/core/runtime/models/companion-runtime.models.d.ts.map +1 -1
  287. package/dist/esm/core/runtime/models/companion-runtime.models.js.map +1 -1
  288. package/dist/esm/core/runtime/services/file-storage-initialization.companion.d.ts.map +1 -1
  289. package/dist/esm/core/runtime/services/file-storage-initialization.companion.js.map +1 -1
  290. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts +23 -1
  291. package/dist/esm/core/runtime/services/start-companion-application.service.d.ts.map +1 -1
  292. package/dist/esm/core/runtime/services/start-companion-application.service.js +50 -2
  293. package/dist/esm/core/runtime/services/start-companion-application.service.js.map +1 -1
  294. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.d.ts.map +1 -1
  295. package/dist/esm/core/runtime/utils/companion-local-signing-key.companion.js.map +1 -1
  296. package/dist/esm/core/runtime/utils/companion-platform-config.companion.d.ts.map +1 -1
  297. package/dist/esm/core/runtime/utils/companion-platform-config.companion.js.map +1 -1
  298. package/dist/esm/core/runtime/utils/companion-workbench-topology.d.ts.map +1 -1
  299. package/dist/esm/core/runtime/utils/companion-workbench-topology.js.map +1 -1
  300. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.d.ts.map +1 -1
  301. package/dist/esm/core/runtime/utils/platform-core-domain-modules.companion.js.map +1 -1
  302. package/dist/esm/core/specifications/chart-view-specification-context.factory.d.ts.map +1 -1
  303. package/dist/esm/core/specifications/chart-view-specification-context.factory.js.map +1 -1
  304. package/dist/esm/core/specifications/composite-view-specification-context.factory.d.ts.map +1 -1
  305. package/dist/esm/core/specifications/composite-view-specification-context.factory.js.map +1 -1
  306. package/dist/esm/core/specifications/cross-registry-rendering.shared.d.ts.map +1 -1
  307. package/dist/esm/core/specifications/cross-registry-rendering.shared.js.map +1 -1
  308. package/dist/esm/core/specifications/execution-view-specification-context.factory.d.ts.map +1 -1
  309. package/dist/esm/core/specifications/execution-view-specification-context.factory.js.map +1 -1
  310. package/dist/esm/core/specifications/feature-specification-context.factory.d.ts.map +1 -1
  311. package/dist/esm/core/specifications/feature-specification-context.factory.js.map +1 -1
  312. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.d.ts.map +1 -1
  313. package/dist/esm/core/specifications/flows-actors-view-specification-context.factory.js.map +1 -1
  314. package/dist/esm/core/specifications/frontend-component-specification-context.factory.d.ts.map +1 -1
  315. package/dist/esm/core/specifications/frontend-component-specification-context.factory.js.map +1 -1
  316. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.d.ts.map +1 -1
  317. package/dist/esm/core/specifications/full-custom-view-specification-context.factory.js.map +1 -1
  318. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.d.ts.map +1 -1
  319. package/dist/esm/core/specifications/guidance-flow-specification-context.factory.js.map +1 -1
  320. package/dist/esm/core/specifications/milestone-specification-context.factory.d.ts.map +1 -1
  321. package/dist/esm/core/specifications/milestone-specification-context.factory.js.map +1 -1
  322. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.d.ts.map +1 -1
  323. package/dist/esm/core/specifications/non-composite-view-specification-context.shared.js.map +1 -1
  324. package/dist/esm/core/specifications/onboarding-element-rendering.shared.d.ts.map +1 -1
  325. package/dist/esm/core/specifications/onboarding-element-rendering.shared.js.map +1 -1
  326. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.d.ts.map +1 -1
  327. package/dist/esm/core/specifications/onboarding-view-specification-context.factory.js.map +1 -1
  328. package/dist/esm/core/specifications/product-specification-context.factory.d.ts.map +1 -1
  329. package/dist/esm/core/specifications/product-specification-context.factory.js.map +1 -1
  330. package/dist/esm/core/specifications/resource-specification-context.factory.d.ts.map +1 -1
  331. package/dist/esm/core/specifications/resource-specification-context.factory.js.map +1 -1
  332. package/dist/esm/core/specifications/role-specification-context.factory.d.ts.map +1 -1
  333. package/dist/esm/core/specifications/role-specification-context.factory.js.map +1 -1
  334. package/dist/esm/core/specifications/specification-context-factory.d.ts.map +1 -1
  335. package/dist/esm/core/specifications/specification-context-factory.js.map +1 -1
  336. package/dist/esm/core/specifications/specification-context-factory.models.d.ts.map +1 -1
  337. package/dist/esm/core/specifications/specification-context-factory.models.js.map +1 -1
  338. package/dist/esm/core/specifications/specification-context-factory.shared.d.ts.map +1 -1
  339. package/dist/esm/core/specifications/specification-context-factory.shared.js.map +1 -1
  340. package/dist/esm/core/specifications/system-email-template-specification-context.factory.d.ts.map +1 -1
  341. package/dist/esm/core/specifications/system-email-template-specification-context.factory.js.map +1 -1
  342. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.d.ts.map +1 -1
  343. package/dist/esm/core/specifications/templates/composite-view/composite-view-all-information.template.js.map +1 -1
  344. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.d.ts.map +1 -1
  345. package/dist/esm/core/specifications/templates/composite-view/composite-view-custom-implementation-context.template.js.map +1 -1
  346. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.d.ts.map +1 -1
  347. package/dist/esm/core/specifications/templates/composite-view/composite-view-development-usage-context.template.js.map +1 -1
  348. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.d.ts.map +1 -1
  349. package/dist/esm/core/specifications/templates/composite-view/composite-view-translation-context.template.js.map +1 -1
  350. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.d.ts.map +1 -1
  351. package/dist/esm/core/specifications/templates/feature/feature-all-information.template.js.map +1 -1
  352. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.d.ts.map +1 -1
  353. package/dist/esm/core/specifications/templates/feature/feature-custom-implementation-context.template.js.map +1 -1
  354. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.d.ts.map +1 -1
  355. package/dist/esm/core/specifications/templates/feature/feature-development-usage-context.template.js.map +1 -1
  356. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.d.ts.map +1 -1
  357. package/dist/esm/core/specifications/templates/feature/feature-translation-context.template.js.map +1 -1
  358. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.d.ts.map +1 -1
  359. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-all-information.template.js.map +1 -1
  360. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.d.ts.map +1 -1
  361. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-custom-implementation-context.template.js.map +1 -1
  362. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.d.ts.map +1 -1
  363. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-development-usage-context.template.js.map +1 -1
  364. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.d.ts.map +1 -1
  365. package/dist/esm/core/specifications/templates/frontend-component/frontend-component-translation-context.template.js.map +1 -1
  366. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.d.ts.map +1 -1
  367. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-all-information.template.js.map +1 -1
  368. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.d.ts.map +1 -1
  369. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-custom-implementation-context.template.js.map +1 -1
  370. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.d.ts.map +1 -1
  371. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-development-usage-context.template.js.map +1 -1
  372. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.d.ts.map +1 -1
  373. package/dist/esm/core/specifications/templates/guidance-flow-specification/guidance-flow-translation-context.template.js.map +1 -1
  374. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.d.ts.map +1 -1
  375. package/dist/esm/core/specifications/templates/milestone/milestone-all-information.template.js.map +1 -1
  376. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.d.ts.map +1 -1
  377. package/dist/esm/core/specifications/templates/milestone/milestone-custom-implementation-context.template.js.map +1 -1
  378. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.d.ts.map +1 -1
  379. package/dist/esm/core/specifications/templates/milestone/milestone-development-usage-context.template.js.map +1 -1
  380. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.d.ts.map +1 -1
  381. package/dist/esm/core/specifications/templates/milestone/milestone-translation-context.template.js.map +1 -1
  382. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.d.ts.map +1 -1
  383. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-all-information.template.js.map +1 -1
  384. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.d.ts.map +1 -1
  385. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-custom-implementation-context.template.js.map +1 -1
  386. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.d.ts.map +1 -1
  387. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-development-usage-context.template.js.map +1 -1
  388. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.d.ts.map +1 -1
  389. package/dist/esm/core/specifications/templates/non-composite-view/non-composite-view-translation-context.template.js.map +1 -1
  390. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.d.ts.map +1 -1
  391. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-all-information.template.js.map +1 -1
  392. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.d.ts.map +1 -1
  393. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-custom-implementation-context.template.js.map +1 -1
  394. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.d.ts.map +1 -1
  395. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-development-usage-context.template.js.map +1 -1
  396. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.d.ts.map +1 -1
  397. package/dist/esm/core/specifications/templates/onboarding-view-specification/onboarding-view-translation-context.template.js.map +1 -1
  398. package/dist/esm/core/specifications/templates/product/product-all-information.template.d.ts.map +1 -1
  399. package/dist/esm/core/specifications/templates/product/product-all-information.template.js.map +1 -1
  400. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.d.ts.map +1 -1
  401. package/dist/esm/core/specifications/templates/product/product-custom-implementation-context.template.js.map +1 -1
  402. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.d.ts.map +1 -1
  403. package/dist/esm/core/specifications/templates/product/product-development-usage-context.template.js.map +1 -1
  404. package/dist/esm/core/specifications/templates/product/product-translation-context.template.d.ts.map +1 -1
  405. package/dist/esm/core/specifications/templates/product/product-translation-context.template.js.map +1 -1
  406. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.d.ts.map +1 -1
  407. package/dist/esm/core/specifications/templates/resource/resource-all-information.template.js.map +1 -1
  408. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.d.ts.map +1 -1
  409. package/dist/esm/core/specifications/templates/resource/resource-custom-implementation-context.template.js.map +1 -1
  410. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.d.ts.map +1 -1
  411. package/dist/esm/core/specifications/templates/resource/resource-development-usage-context.template.js.map +1 -1
  412. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.d.ts.map +1 -1
  413. package/dist/esm/core/specifications/templates/resource/resource-translation-context.template.js.map +1 -1
  414. package/dist/esm/core/specifications/templates/role/role-all-information.template.d.ts.map +1 -1
  415. package/dist/esm/core/specifications/templates/role/role-all-information.template.js.map +1 -1
  416. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.d.ts.map +1 -1
  417. package/dist/esm/core/specifications/templates/role/role-custom-implementation-context.template.js.map +1 -1
  418. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.d.ts.map +1 -1
  419. package/dist/esm/core/specifications/templates/role/role-development-usage-context.template.js.map +1 -1
  420. package/dist/esm/core/specifications/templates/role/role-translation-context.template.d.ts.map +1 -1
  421. package/dist/esm/core/specifications/templates/role/role-translation-context.template.js.map +1 -1
  422. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.d.ts.map +1 -1
  423. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-all-information.template.js.map +1 -1
  424. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.d.ts.map +1 -1
  425. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-custom-implementation-context.template.js.map +1 -1
  426. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.d.ts.map +1 -1
  427. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-development-usage-context.template.js.map +1 -1
  428. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.d.ts.map +1 -1
  429. package/dist/esm/core/specifications/templates/system-email-template/system-email-template-translation-context.template.js.map +1 -1
  430. package/dist/esm/core/specifications/validate-resource-field-completeness.d.ts.map +1 -1
  431. package/dist/esm/core/specifications/validate-resource-field-completeness.js.map +1 -1
  432. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.d.ts.map +1 -1
  433. package/dist/esm/core/traceability/companion-agent-call-trace-sink.companion.service.js.map +1 -1
  434. package/dist/esm/core/traceability/companion-traceability.models.d.ts.map +1 -1
  435. package/dist/esm/core/traceability/companion-traceability.models.js.map +1 -1
  436. package/dist/esm/core/traceability/companion-traceability.service.d.ts.map +1 -1
  437. package/dist/esm/core/traceability/companion-traceability.service.js.map +1 -1
  438. package/dist/esm/core/utils/atomic-write.utils.d.ts.map +1 -1
  439. package/dist/esm/core/utils/atomic-write.utils.js.map +1 -1
  440. package/dist/esm/core/utils/bounded-concurrency.utils.d.ts.map +1 -1
  441. package/dist/esm/core/utils/bounded-concurrency.utils.js.map +1 -1
  442. package/dist/esm/core/utils/derived-input-signature.companion.utils.d.ts.map +1 -1
  443. package/dist/esm/core/utils/derived-input-signature.companion.utils.js.map +1 -1
  444. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.d.ts.map +1 -1
  445. package/dist/esm/creation-conversation/creation-conversation.actors-system.definitions.js.map +1 -1
  446. package/dist/esm/creation-conversation/creation-conversation.function-tools.d.ts.map +1 -1
  447. package/dist/esm/creation-conversation/creation-conversation.function-tools.js +4 -2
  448. package/dist/esm/creation-conversation/creation-conversation.function-tools.js.map +1 -1
  449. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.d.ts.map +1 -1
  450. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js +7 -8
  451. package/dist/esm/deliberations/models/deliberation-agents.actors-system.definitions.js.map +1 -1
  452. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts +10 -5
  453. package/dist/esm/deliberations/services/deliberation.companion.service.d.ts.map +1 -1
  454. package/dist/esm/deliberations/services/deliberation.companion.service.js +31 -21
  455. package/dist/esm/deliberations/services/deliberation.companion.service.js.map +1 -1
  456. package/dist/esm/deliberations/services/structured-deliberation.companion.service.d.ts.map +1 -1
  457. package/dist/esm/deliberations/services/structured-deliberation.companion.service.js.map +1 -1
  458. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts +56 -0
  459. package/dist/esm/deliberations/utils/expert-agent-registration.d.ts.map +1 -0
  460. package/dist/esm/deliberations/utils/expert-agent-registration.js +74 -0
  461. package/dist/esm/deliberations/utils/expert-agent-registration.js.map +1 -0
  462. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts +9 -5
  463. package/dist/esm/deliberations/utils/load-committed-expert-agents.d.ts.map +1 -1
  464. package/dist/esm/deliberations/utils/load-committed-expert-agents.js +11 -15
  465. package/dist/esm/deliberations/utils/load-committed-expert-agents.js.map +1 -1
  466. package/dist/esm/email/models/email-template.actors-system.definitions.d.ts.map +1 -1
  467. package/dist/esm/email/models/email-template.actors-system.definitions.js.map +1 -1
  468. package/dist/esm/email/services/email-spec-context-loader.companion.service.d.ts.map +1 -1
  469. package/dist/esm/email/services/email-spec-context-loader.companion.service.js.map +1 -1
  470. package/dist/esm/email/services/email-template.companion.service.d.ts.map +1 -1
  471. package/dist/esm/email/services/email-template.companion.service.js.map +1 -1
  472. package/dist/esm/email/utils/email-labels-file-source.utils.d.ts.map +1 -1
  473. package/dist/esm/email/utils/email-labels-file-source.utils.js.map +1 -1
  474. package/dist/esm/email/utils/email-labels-tree.utils.d.ts.map +1 -1
  475. package/dist/esm/email/utils/email-labels-tree.utils.js.map +1 -1
  476. package/dist/esm/email/utils/email-template-fs-discovery.utils.d.ts.map +1 -1
  477. package/dist/esm/email/utils/email-template-fs-discovery.utils.js.map +1 -1
  478. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.d.ts.map +1 -1
  479. package/dist/esm/executions/services/companion-actor-execution-persistence.adapter.js.map +1 -1
  480. package/dist/esm/executions/services/companion-executions.companion.service.d.ts.map +1 -1
  481. package/dist/esm/executions/services/companion-executions.companion.service.js.map +1 -1
  482. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.d.ts.map +1 -1
  483. package/dist/esm/expert-personas/models/expert-persona-critique.actors-system.definitions.js.map +1 -1
  484. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.d.ts.map +1 -1
  485. package/dist/esm/expert-personas/models/expert-persona-derivation.actors-system.definitions.js.map +1 -1
  486. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts +5 -3
  487. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.d.ts.map +1 -1
  488. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js +5 -3
  489. package/dist/esm/expert-personas/models/expert-persona-derivation.schemas.js.map +1 -1
  490. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts +17 -1
  491. package/dist/esm/expert-personas/services/expert-persona.companion.service.d.ts.map +1 -1
  492. package/dist/esm/expert-personas/services/expert-persona.companion.service.js +47 -10
  493. package/dist/esm/expert-personas/services/expert-persona.companion.service.js.map +1 -1
  494. package/dist/esm/expert-personas/services/persona-source-ownership.d.ts.map +1 -1
  495. package/dist/esm/expert-personas/services/persona-source-ownership.js.map +1 -1
  496. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.d.ts.map +1 -1
  497. package/dist/esm/i18n/components/APPLICATION_LEVEL_ACTIVITY_BAR.en.js.map +1 -1
  498. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.d.ts.map +1 -1
  499. package/dist/esm/i18n/components/APPLICATION_LEVEL_COMMAND_MENU.en.js.map +1 -1
  500. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.d.ts.map +1 -1
  501. package/dist/esm/i18n/components/APPLICATION_LEVEL_CONTROL_PANEL.en.js.map +1 -1
  502. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.d.ts.map +1 -1
  503. package/dist/esm/i18n/components/APPLICATION_LEVEL_MENUBAR.en.js.map +1 -1
  504. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.d.ts.map +1 -1
  505. package/dist/esm/i18n/components/APPLICATION_LEVEL_NAVIGATION_BACK.en.js.map +1 -1
  506. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.d.ts.map +1 -1
  507. package/dist/esm/i18n/components/APPLICATION_LEVEL_NOTIFICATION_CENTER.en.js.map +1 -1
  508. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.d.ts.map +1 -1
  509. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_ACTION_BUTTON.en.js.map +1 -1
  510. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.d.ts.map +1 -1
  511. package/dist/esm/i18n/components/APPLICATION_LEVEL_QUICK_SWITCHER.en.js.map +1 -1
  512. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  513. package/dist/esm/i18n/components/APPLICATION_LEVEL_SIDEBAR.en.js.map +1 -1
  514. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.d.ts.map +1 -1
  515. package/dist/esm/i18n/components/APPLICATION_LEVEL_STATUS_BAR.en.js.map +1 -1
  516. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.d.ts.map +1 -1
  517. package/dist/esm/i18n/components/APPLICATION_LEVEL_TOOLBAR.en.js.map +1 -1
  518. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.d.ts.map +1 -1
  519. package/dist/esm/i18n/components/APPLICATION_LEVEL_USER_DROPDOWN.en.js.map +1 -1
  520. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.d.ts.map +1 -1
  521. package/dist/esm/i18n/components/APPLICATION_LEVEL_UTILITY_PANEL.en.js.map +1 -1
  522. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.d.ts.map +1 -1
  523. package/dist/esm/i18n/components/APP_LAYOUTS_AGENT_WORK_OVERRIDE_RATE_SETTINGS.en.js.map +1 -1
  524. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.d.ts.map +1 -1
  525. package/dist/esm/i18n/components/APP_LAYOUTS_APPEARANCE_SETTINGS.en.js.map +1 -1
  526. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.d.ts.map +1 -1
  527. package/dist/esm/i18n/components/APP_LAYOUTS_BILLING_SETTINGS.en.js.map +1 -1
  528. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.d.ts.map +1 -1
  529. package/dist/esm/i18n/components/APP_LAYOUTS_CONNECTED_ACCOUNTS_SETTINGS.en.js.map +1 -1
  530. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.d.ts.map +1 -1
  531. package/dist/esm/i18n/components/APP_LAYOUTS_CONSENT_GATE.en.js.map +1 -1
  532. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.d.ts.map +1 -1
  533. package/dist/esm/i18n/components/APP_LAYOUTS_DOCUMENT_ACCEPTANCE_GATE.en.js.map +1 -1
  534. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.d.ts.map +1 -1
  535. package/dist/esm/i18n/components/APP_LAYOUTS_ERROR_BOUNDARY.en.js.map +1 -1
  536. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.d.ts.map +1 -1
  537. package/dist/esm/i18n/components/APP_LAYOUTS_HOME.en.js.map +1 -1
  538. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.d.ts.map +1 -1
  539. package/dist/esm/i18n/components/APP_LAYOUTS_INVITATIONS_SETTINGS.en.js.map +1 -1
  540. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.d.ts.map +1 -1
  541. package/dist/esm/i18n/components/APP_LAYOUTS_MAIN_CONTAINER.en.js.map +1 -1
  542. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.d.ts.map +1 -1
  543. package/dist/esm/i18n/components/APP_LAYOUTS_ROUTER_ERROR_BOUNDARY.en.js.map +1 -1
  544. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.d.ts.map +1 -1
  545. package/dist/esm/i18n/components/APP_LAYOUTS_SECURITY_SETTINGS.en.js.map +1 -1
  546. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.d.ts.map +1 -1
  547. package/dist/esm/i18n/components/APP_LAYOUTS_SETTINGS_HUB.en.js.map +1 -1
  548. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.d.ts.map +1 -1
  549. package/dist/esm/i18n/components/APP_LAYOUTS_SURFACE_ERROR_BOUNDARY.en.js.map +1 -1
  550. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.d.ts.map +1 -1
  551. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART.en.js.map +1 -1
  552. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.d.ts.map +1 -1
  553. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_CHART_WIDGET.en.js.map +1 -1
  554. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.d.ts.map +1 -1
  555. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_EXECUTION.en.js.map +1 -1
  556. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.d.ts.map +1 -1
  557. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_FLOWS_ACTORS.en.js.map +1 -1
  558. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.d.ts.map +1 -1
  559. package/dist/esm/i18n/components/HIGH_LEVEL_VIEWS_NOT_FOUND.en.js.map +1 -1
  560. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.d.ts.map +1 -1
  561. package/dist/esm/i18n/components/LOW_LEVEL_ACTION_BAR.en.js.map +1 -1
  562. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.d.ts.map +1 -1
  563. package/dist/esm/i18n/components/LOW_LEVEL_AI_ACTOR.en.js.map +1 -1
  564. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.d.ts.map +1 -1
  565. package/dist/esm/i18n/components/LOW_LEVEL_AI_AGENT_CONFIG.en.js.map +1 -1
  566. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.d.ts.map +1 -1
  567. package/dist/esm/i18n/components/LOW_LEVEL_AI_APPROVAL.en.js.map +1 -1
  568. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.d.ts.map +1 -1
  569. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT.en.js.map +1 -1
  570. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.d.ts.map +1 -1
  571. package/dist/esm/i18n/components/LOW_LEVEL_AI_ARTIFACT_BROWSER.en.js.map +1 -1
  572. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.d.ts.map +1 -1
  573. package/dist/esm/i18n/components/LOW_LEVEL_AI_CHAIN_OF_THOUGHT.en.js.map +1 -1
  574. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.d.ts.map +1 -1
  575. package/dist/esm/i18n/components/LOW_LEVEL_AI_CODE_BLOCK.en.js.map +1 -1
  576. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.d.ts.map +1 -1
  577. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONFIRMATION.en.js.map +1 -1
  578. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.d.ts.map +1 -1
  579. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONTEXT.en.js.map +1 -1
  580. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.d.ts.map +1 -1
  581. package/dist/esm/i18n/components/LOW_LEVEL_AI_CONVERSATION.en.js.map +1 -1
  582. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.d.ts.map +1 -1
  583. package/dist/esm/i18n/components/LOW_LEVEL_AI_DECISION.en.js.map +1 -1
  584. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.d.ts.map +1 -1
  585. package/dist/esm/i18n/components/LOW_LEVEL_AI_DIFF_BLOCK.en.js.map +1 -1
  586. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.d.ts.map +1 -1
  587. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_PLAN.en.js.map +1 -1
  588. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.d.ts.map +1 -1
  589. package/dist/esm/i18n/components/LOW_LEVEL_AI_EXECUTION_STREAM.en.js.map +1 -1
  590. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.d.ts.map +1 -1
  591. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_EXECUTION.en.js.map +1 -1
  592. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.d.ts.map +1 -1
  593. package/dist/esm/i18n/components/LOW_LEVEL_AI_FLOW_NODE.en.js.map +1 -1
  594. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.d.ts.map +1 -1
  595. package/dist/esm/i18n/components/LOW_LEVEL_AI_INLINE_CITATION.en.js.map +1 -1
  596. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.d.ts.map +1 -1
  597. package/dist/esm/i18n/components/LOW_LEVEL_AI_MESSAGE.en.js.map +1 -1
  598. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.d.ts.map +1 -1
  599. package/dist/esm/i18n/components/LOW_LEVEL_AI_MODEL_SELECTOR.en.js.map +1 -1
  600. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.d.ts.map +1 -1
  601. package/dist/esm/i18n/components/LOW_LEVEL_AI_OPEN_IN_CHAT.en.js.map +1 -1
  602. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.d.ts.map +1 -1
  603. package/dist/esm/i18n/components/LOW_LEVEL_AI_PLAN.en.js.map +1 -1
  604. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.d.ts.map +1 -1
  605. package/dist/esm/i18n/components/LOW_LEVEL_AI_PROMPT_INPUT.en.js.map +1 -1
  606. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.d.ts.map +1 -1
  607. package/dist/esm/i18n/components/LOW_LEVEL_AI_SYSTEM_CATALOG.en.js.map +1 -1
  608. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.d.ts.map +1 -1
  609. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_DETAIL.en.js.map +1 -1
  610. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.d.ts.map +1 -1
  611. package/dist/esm/i18n/components/LOW_LEVEL_AI_TASK_MEMORY.en.js.map +1 -1
  612. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.d.ts.map +1 -1
  613. package/dist/esm/i18n/components/LOW_LEVEL_AI_WEB_PREVIEW.en.js.map +1 -1
  614. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.d.ts.map +1 -1
  615. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_INVOICE_HISTORY.en.js.map +1 -1
  616. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.d.ts.map +1 -1
  617. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PLAN_CHANGE_PREVIEW.en.js.map +1 -1
  618. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.d.ts.map +1 -1
  619. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PORTAL_LINK.en.js.map +1 -1
  620. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.d.ts.map +1 -1
  621. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_PRICING_TABLE.en.js.map +1 -1
  622. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.d.ts.map +1 -1
  623. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_SUBSCRIPTION_STATUS.en.js.map +1 -1
  624. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.d.ts.map +1 -1
  625. package/dist/esm/i18n/components/LOW_LEVEL_BILLING_USAGE_DASHBOARD.en.js.map +1 -1
  626. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.d.ts.map +1 -1
  627. package/dist/esm/i18n/components/LOW_LEVEL_BREADCRUMB.en.js.map +1 -1
  628. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.d.ts.map +1 -1
  629. package/dist/esm/i18n/components/LOW_LEVEL_BUTTON.en.js.map +1 -1
  630. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.d.ts.map +1 -1
  631. package/dist/esm/i18n/components/LOW_LEVEL_CAROUSEL.en.js.map +1 -1
  632. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.d.ts.map +1 -1
  633. package/dist/esm/i18n/components/LOW_LEVEL_CELEBRATION_OVERLAY.en.js.map +1 -1
  634. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.d.ts.map +1 -1
  635. package/dist/esm/i18n/components/LOW_LEVEL_COLOR_INPUT.en.js.map +1 -1
  636. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.d.ts.map +1 -1
  637. package/dist/esm/i18n/components/LOW_LEVEL_COMMAND.en.js.map +1 -1
  638. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.d.ts.map +1 -1
  639. package/dist/esm/i18n/components/LOW_LEVEL_CONTENT_SECTION_CONTAINER.en.js.map +1 -1
  640. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.d.ts.map +1 -1
  641. package/dist/esm/i18n/components/LOW_LEVEL_DATETIME_RANGE_PICKER.en.js.map +1 -1
  642. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.d.ts.map +1 -1
  643. package/dist/esm/i18n/components/LOW_LEVEL_DIALOG.en.js.map +1 -1
  644. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.d.ts.map +1 -1
  645. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_ADDRESS.en.js.map +1 -1
  646. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.d.ts.map +1 -1
  647. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BIGDECIMAL.en.js.map +1 -1
  648. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.d.ts.map +1 -1
  649. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_BOOLEAN.en.js.map +1 -1
  650. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.d.ts.map +1 -1
  651. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_CODE.en.js.map +1 -1
  652. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.d.ts.map +1 -1
  653. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_DURATION.en.js.map +1 -1
  654. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.d.ts.map +1 -1
  655. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE.en.js.map +1 -1
  656. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.d.ts.map +1 -1
  657. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_AUDIO.en.js.map +1 -1
  658. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.d.ts.map +1 -1
  659. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_DOCUMENT.en.js.map +1 -1
  660. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.d.ts.map +1 -1
  661. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_GALLERY.en.js.map +1 -1
  662. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.d.ts.map +1 -1
  663. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_IMAGE.en.js.map +1 -1
  664. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.d.ts.map +1 -1
  665. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_FILE_VIDEO.en.js.map +1 -1
  666. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.d.ts.map +1 -1
  667. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_MONEY.en.js.map +1 -1
  668. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.d.ts.map +1 -1
  669. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_NUMBER.en.js.map +1 -1
  670. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.d.ts.map +1 -1
  671. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_PHONE.en.js.map +1 -1
  672. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.d.ts.map +1 -1
  673. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_BIGDECIMAL.en.js.map +1 -1
  674. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.d.ts.map +1 -1
  675. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_MONEY.en.js.map +1 -1
  676. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.d.ts.map +1 -1
  677. package/dist/esm/i18n/components/LOW_LEVEL_DISPLAY_FIELD_RANGE_NUMBER.en.js.map +1 -1
  678. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.d.ts.map +1 -1
  679. package/dist/esm/i18n/components/LOW_LEVEL_DRAWER.en.js.map +1 -1
  680. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.d.ts.map +1 -1
  681. package/dist/esm/i18n/components/LOW_LEVEL_DURATION.en.js.map +1 -1
  682. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.d.ts.map +1 -1
  683. package/dist/esm/i18n/components/LOW_LEVEL_ERROR_DISPLAY.en.js.map +1 -1
  684. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.d.ts.map +1 -1
  685. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_LOCK_BADGE.en.js.map +1 -1
  686. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.d.ts.map +1 -1
  687. package/dist/esm/i18n/components/LOW_LEVEL_FEATURE_UNAVAILABLE_PROMPT.en.js.map +1 -1
  688. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.d.ts.map +1 -1
  689. package/dist/esm/i18n/components/LOW_LEVEL_FILE_UPLOAD.en.js.map +1 -1
  690. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.d.ts.map +1 -1
  691. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD.en.js.map +1 -1
  692. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.d.ts.map +1 -1
  693. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_ADDRESS.en.js.map +1 -1
  694. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.d.ts.map +1 -1
  695. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_BOOLEAN.en.js.map +1 -1
  696. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.d.ts.map +1 -1
  697. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_CODE.en.js.map +1 -1
  698. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.d.ts.map +1 -1
  699. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_FILE.en.js.map +1 -1
  700. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.d.ts.map +1 -1
  701. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_PHONE.en.js.map +1 -1
  702. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.d.ts.map +1 -1
  703. package/dist/esm/i18n/components/LOW_LEVEL_FORM_FIELD_STRING.en.js.map +1 -1
  704. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.d.ts.map +1 -1
  705. package/dist/esm/i18n/components/LOW_LEVEL_FORM_MESSAGE.en.js.map +1 -1
  706. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.d.ts.map +1 -1
  707. package/dist/esm/i18n/components/LOW_LEVEL_IMAGE_CROP.en.js.map +1 -1
  708. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.d.ts.map +1 -1
  709. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_OVERLAY.en.js.map +1 -1
  710. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.d.ts.map +1 -1
  711. package/dist/esm/i18n/components/LOW_LEVEL_LOADING_SPINNER.en.js.map +1 -1
  712. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.d.ts.map +1 -1
  713. package/dist/esm/i18n/components/LOW_LEVEL_OPERATIONS_CONFIRM_CRITICAL.en.js.map +1 -1
  714. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.d.ts.map +1 -1
  715. package/dist/esm/i18n/components/LOW_LEVEL_OVERLAY_CONTAINER.en.js.map +1 -1
  716. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.d.ts.map +1 -1
  717. package/dist/esm/i18n/components/LOW_LEVEL_PAGINATION.en.js.map +1 -1
  718. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.d.ts.map +1 -1
  719. package/dist/esm/i18n/components/LOW_LEVEL_PASSWORD_INPUT.en.js.map +1 -1
  720. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.d.ts.map +1 -1
  721. package/dist/esm/i18n/components/LOW_LEVEL_RANGE_SLIDER.en.js.map +1 -1
  722. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.d.ts.map +1 -1
  723. package/dist/esm/i18n/components/LOW_LEVEL_SELECT_MULTIPLE.en.js.map +1 -1
  724. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.d.ts.map +1 -1
  725. package/dist/esm/i18n/components/LOW_LEVEL_SHEET.en.js.map +1 -1
  726. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.d.ts.map +1 -1
  727. package/dist/esm/i18n/components/LOW_LEVEL_SIDEBAR.en.js.map +1 -1
  728. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.d.ts.map +1 -1
  729. package/dist/esm/i18n/components/LOW_LEVEL_TIME_RANGE_PICKER.en.js.map +1 -1
  730. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.d.ts.map +1 -1
  731. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_AUTH_CALLBACK.en.js.map +1 -1
  732. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.d.ts.map +1 -1
  733. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ENROLLMENT_REQUIRED.en.js.map +1 -1
  734. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.d.ts.map +1 -1
  735. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_FILE_UPLOAD_GRANT.en.js.map +1 -1
  736. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.d.ts.map +1 -1
  737. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MAGIC_LINK_VERIFY.en.js.map +1 -1
  738. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.d.ts.map +1 -1
  739. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_MFA_CHALLENGE.en.js.map +1 -1
  740. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.d.ts.map +1 -1
  741. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_CONSENT.en.js.map +1 -1
  742. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.d.ts.map +1 -1
  743. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGGED_OUT.en.js.map +1 -1
  744. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.d.ts.map +1 -1
  745. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_OAUTH_LOGOUT_CONFIRM.en.js.map +1 -1
  746. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.d.ts.map +1 -1
  747. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ONE_OFF_SESSION.en.js.map +1 -1
  748. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.d.ts.map +1 -1
  749. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_ORGANIZATION_ONBOARDING.en.js.map +1 -1
  750. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.d.ts.map +1 -1
  751. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_TERMS.en.js.map +1 -1
  752. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.d.ts.map +1 -1
  753. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_AUTH.en.js.map +1 -1
  754. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.d.ts.map +1 -1
  755. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_CONFIRM_EMAIL.en.js.map +1 -1
  756. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.d.ts.map +1 -1
  757. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_INVITATION.en.js.map +1 -1
  758. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.d.ts.map +1 -1
  759. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_PASSWORD_LOST.en.js.map +1 -1
  760. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.d.ts.map +1 -1
  761. package/dist/esm/i18n/components/PUBLIC_LAYOUTS_USER_REGISTER.en.js.map +1 -1
  762. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.d.ts.map +1 -1
  763. package/dist/esm/i18n/components/RESOURCES_FIELDS_RESOURCE_REFERENCE.en.js.map +1 -1
  764. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.d.ts.map +1 -1
  765. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_ACTION.en.js.map +1 -1
  766. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.d.ts.map +1 -1
  767. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CONTAINER_NESTED.en.js.map +1 -1
  768. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.d.ts.map +1 -1
  769. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_CREATE.en.js.map +1 -1
  770. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.d.ts.map +1 -1
  771. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_DANGER_ZONE.en.js.map +1 -1
  772. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.d.ts.map +1 -1
  773. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_FILTERS.en.js.map +1 -1
  774. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.d.ts.map +1 -1
  775. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_HEADER.en.js.map +1 -1
  776. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.d.ts.map +1 -1
  777. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_LIST.en.js.map +1 -1
  778. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.d.ts.map +1 -1
  779. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_BULK.en.js.map +1 -1
  780. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.d.ts.map +1 -1
  781. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_OPERATIONS_ITEMS.en.js.map +1 -1
  782. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.d.ts.map +1 -1
  783. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_PAGINATION.en.js.map +1 -1
  784. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.d.ts.map +1 -1
  785. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_READ.en.js.map +1 -1
  786. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.d.ts.map +1 -1
  787. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_SEARCH.en.js.map +1 -1
  788. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.d.ts.map +1 -1
  789. package/dist/esm/i18n/components/RESOURCES_LAYOUTS_UPDATE.en.js.map +1 -1
  790. package/dist/esm/i18n/components/guidance_announcement.en.d.ts.map +1 -1
  791. package/dist/esm/i18n/components/guidance_announcement.en.js.map +1 -1
  792. package/dist/esm/i18n/components/guidance_banner.en.d.ts.map +1 -1
  793. package/dist/esm/i18n/components/guidance_banner.en.js.map +1 -1
  794. package/dist/esm/i18n/components/guidance_card.en.d.ts.map +1 -1
  795. package/dist/esm/i18n/components/guidance_card.en.js.map +1 -1
  796. package/dist/esm/i18n/components/guidance_checklist.en.d.ts.map +1 -1
  797. package/dist/esm/i18n/components/guidance_checklist.en.js.map +1 -1
  798. package/dist/esm/i18n/components/guidance_checklist_item.en.d.ts.map +1 -1
  799. package/dist/esm/i18n/components/guidance_checklist_item.en.js.map +1 -1
  800. package/dist/esm/i18n/components/guidance_modal.en.d.ts.map +1 -1
  801. package/dist/esm/i18n/components/guidance_modal.en.js.map +1 -1
  802. package/dist/esm/i18n/components/guidance_onboarding_view.en.d.ts.map +1 -1
  803. package/dist/esm/i18n/components/guidance_onboarding_view.en.js.map +1 -1
  804. package/dist/esm/i18n/components/guidance_survey.en.d.ts.map +1 -1
  805. package/dist/esm/i18n/components/guidance_survey.en.js.map +1 -1
  806. package/dist/esm/i18n/components/guidance_tooltip.en.d.ts.map +1 -1
  807. package/dist/esm/i18n/components/guidance_tooltip.en.js.map +1 -1
  808. package/dist/esm/i18n/components/guidance_tour.en.d.ts.map +1 -1
  809. package/dist/esm/i18n/components/guidance_tour.en.js.map +1 -1
  810. package/dist/esm/i18n/components/progression_achievement_badge.en.d.ts.map +1 -1
  811. package/dist/esm/i18n/components/progression_achievement_badge.en.js.map +1 -1
  812. package/dist/esm/i18n/components/progression_milestone_tracker.en.d.ts.map +1 -1
  813. package/dist/esm/i18n/components/progression_milestone_tracker.en.js.map +1 -1
  814. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts +1 -0
  815. package/dist/esm/i18n/composite_views/app.creation-conversation.en.d.ts.map +1 -1
  816. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js +14 -0
  817. package/dist/esm/i18n/composite_views/app.creation-conversation.en.js.map +1 -1
  818. package/dist/esm/i18n/composite_views/app.creation-dossier.en.d.ts.map +1 -1
  819. package/dist/esm/i18n/composite_views/app.creation-dossier.en.js.map +1 -1
  820. package/dist/esm/i18n/composite_views/app.domain-model.en.d.ts.map +1 -1
  821. package/dist/esm/i18n/composite_views/app.domain-model.en.js.map +1 -1
  822. package/dist/esm/i18n/control-plane-label-blocks.d.ts +344 -0
  823. package/dist/esm/i18n/control-plane-label-blocks.d.ts.map +1 -0
  824. package/dist/esm/i18n/control-plane-label-blocks.js +115 -0
  825. package/dist/esm/i18n/control-plane-label-blocks.js.map +1 -0
  826. package/dist/esm/i18n/errors_guidance/errors-guidance.en.d.ts.map +1 -1
  827. package/dist/esm/i18n/errors_guidance/errors-guidance.en.js.map +1 -1
  828. package/dist/esm/i18n/errors_messages/errors-messages.en.d.ts.map +1 -1
  829. package/dist/esm/i18n/errors_messages/errors-messages.en.js.map +1 -1
  830. package/dist/esm/i18n/index.d.ts.map +1 -1
  831. package/dist/esm/i18n/index.js.map +1 -1
  832. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts +410 -0
  833. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.d.ts.map +1 -1
  834. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js +13 -145
  835. package/dist/esm/i18n/resources/wildoApplicationActorSystemExecutions.en.js.map +1 -1
  836. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts +65 -0
  837. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.d.ts.map +1 -1
  838. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js +4 -37
  839. package/dist/esm/i18n/resources/wildoApplicationActorTasks.en.js.map +1 -1
  840. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts +65 -0
  841. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.d.ts.map +1 -1
  842. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js +4 -37
  843. package/dist/esm/i18n/resources/wildoApplicationFlowSystemExecutions.en.js.map +1 -1
  844. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.d.ts.map +1 -1
  845. package/dist/esm/i18n/resources/workbenchApplicationSecrets.en.js.map +1 -1
  846. package/dist/esm/i18n/resources/workbenchAspects.en.d.ts.map +1 -1
  847. package/dist/esm/i18n/resources/workbenchAspects.en.js +4 -0
  848. package/dist/esm/i18n/resources/workbenchAspects.en.js.map +1 -1
  849. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.d.ts.map +1 -1
  850. package/dist/esm/i18n/resources/workbenchBuildDispatchPlan.en.js.map +1 -1
  851. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.d.ts.map +1 -1
  852. package/dist/esm/i18n/resources/workbenchBuildDispatches.en.js.map +1 -1
  853. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.d.ts.map +1 -1
  854. package/dist/esm/i18n/resources/workbenchBuildPlanTasks.en.js.map +1 -1
  855. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.d.ts.map +1 -1
  856. package/dist/esm/i18n/resources/workbenchCodingLaneStatus.en.js.map +1 -1
  857. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.d.ts.map +1 -1
  858. package/dist/esm/i18n/resources/workbenchCreationHomeLines.en.js.map +1 -1
  859. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.d.ts.map +1 -1
  860. package/dist/esm/i18n/resources/workbenchCreationOutcomes.en.js.map +1 -1
  861. package/dist/esm/i18n/resources/workbenchDomainResources.en.d.ts.map +1 -1
  862. package/dist/esm/i18n/resources/workbenchDomainResources.en.js.map +1 -1
  863. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts +10 -0
  864. package/dist/esm/i18n/resources/workbenchDossierEntries.en.d.ts.map +1 -1
  865. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js +3 -0
  866. package/dist/esm/i18n/resources/workbenchDossierEntries.en.js.map +1 -1
  867. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.d.ts.map +1 -1
  868. package/dist/esm/i18n/resources/workbenchGovernanceDocuments.en.js.map +1 -1
  869. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.d.ts.map +1 -1
  870. package/dist/esm/i18n/resources/workbenchGovernanceQuestions.en.js.map +1 -1
  871. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.d.ts.map +1 -1
  872. package/dist/esm/i18n/resources/workbenchParkedCodingQuestions.en.js.map +1 -1
  873. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.d.ts.map +1 -1
  874. package/dist/esm/i18n/resources/workbenchPlaybookRuns.en.js.map +1 -1
  875. package/dist/esm/i18n/resources/workbenchPlaybooks.en.d.ts.map +1 -1
  876. package/dist/esm/i18n/resources/workbenchPlaybooks.en.js.map +1 -1
  877. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.d.ts.map +1 -1
  878. package/dist/esm/i18n/resources/workbenchRunWriteRecords.en.js.map +1 -1
  879. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts +287 -0
  880. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.d.ts.map +1 -1
  881. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js +97 -1
  882. package/dist/esm/i18n/resources/workbenchSpecificationArtifacts.en.js.map +1 -1
  883. package/dist/esm/i18n/resources/workbenchTraceSessions.en.d.ts.map +1 -1
  884. package/dist/esm/i18n/resources/workbenchTraceSessions.en.js.map +1 -1
  885. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.d.ts.map +1 -1
  886. package/dist/esm/i18n/resources/workbenchWaitingPlaybookRuns.en.js.map +1 -1
  887. package/dist/esm/i18n/system_enums/application-creation.en.d.ts +19 -0
  888. package/dist/esm/i18n/system_enums/application-creation.en.d.ts.map +1 -1
  889. package/dist/esm/i18n/system_enums/application-creation.en.js +21 -0
  890. package/dist/esm/i18n/system_enums/application-creation.en.js.map +1 -1
  891. package/dist/esm/i18n/system_enums/compliance-programme.en.d.ts.map +1 -1
  892. package/dist/esm/i18n/system_enums/compliance-programme.en.js.map +1 -1
  893. package/dist/esm/i18n/system_enums/flows-actors.en.d.ts.map +1 -1
  894. package/dist/esm/i18n/system_enums/flows-actors.en.js.map +1 -1
  895. package/dist/esm/i18n/system_enums/localization.en.d.ts.map +1 -1
  896. package/dist/esm/i18n/system_enums/localization.en.js.map +1 -1
  897. package/dist/esm/i18n/system_enums/market.en.d.ts.map +1 -1
  898. package/dist/esm/i18n/system_enums/market.en.js.map +1 -1
  899. package/dist/esm/i18n/system_enums/processor-register.en.d.ts.map +1 -1
  900. package/dist/esm/i18n/system_enums/processor-register.en.js.map +1 -1
  901. package/dist/esm/i18n/system_enums/risk-register.en.d.ts.map +1 -1
  902. package/dist/esm/i18n/system_enums/risk-register.en.js.map +1 -1
  903. package/dist/esm/i18n/system_enums/workbench-build.en.d.ts.map +1 -1
  904. package/dist/esm/i18n/system_enums/workbench-build.en.js.map +1 -1
  905. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts +1 -0
  906. package/dist/esm/i18n/system_enums/workbench-creation-home.en.d.ts.map +1 -1
  907. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js +2 -0
  908. package/dist/esm/i18n/system_enums/workbench-creation-home.en.js.map +1 -1
  909. package/dist/esm/i18n/system_enums/workbench-dossier.en.d.ts.map +1 -1
  910. package/dist/esm/i18n/system_enums/workbench-dossier.en.js.map +1 -1
  911. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.d.ts.map +1 -1
  912. package/dist/esm/i18n/system_enums/workbench-playbook-run.en.js.map +1 -1
  913. package/dist/esm/i18n/system_enums/workbench-secrets.en.d.ts.map +1 -1
  914. package/dist/esm/i18n/system_enums/workbench-secrets.en.js.map +1 -1
  915. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.d.ts.map +1 -1
  916. package/dist/esm/i18n/system_enums/workbench-specification-artifact.en.js.map +1 -1
  917. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.d.ts.map +1 -1
  918. package/dist/esm/i18n-labelling/models/email-template-labelling-unit.models.js.map +1 -1
  919. package/dist/esm/i18n-labelling/models/labelling-progress.models.d.ts.map +1 -1
  920. package/dist/esm/i18n-labelling/models/labelling-progress.models.js.map +1 -1
  921. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts +29 -2
  922. package/dist/esm/i18n-labelling/models/labelling-unit.models.d.ts.map +1 -1
  923. package/dist/esm/i18n-labelling/models/labelling-unit.models.js +17 -0
  924. package/dist/esm/i18n-labelling/models/labelling-unit.models.js.map +1 -1
  925. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.d.ts.map +1 -1
  926. package/dist/esm/i18n-labelling/models/labelling.actors-system.definitions.js.map +1 -1
  927. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.d.ts.map +1 -1
  928. package/dist/esm/i18n-labelling/services/component-labels-bootstrap.companion.service.js.map +1 -1
  929. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.d.ts.map +1 -1
  930. package/dist/esm/i18n-labelling/services/email-template-labelling-units.companion.service.js.map +1 -1
  931. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts +5 -0
  932. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.d.ts.map +1 -1
  933. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js +44 -4
  934. package/dist/esm/i18n-labelling/services/labelling-planner.companion.service.js.map +1 -1
  935. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.d.ts.map +1 -1
  936. package/dist/esm/i18n-labelling/services/labelling-spec-context-loader.companion.service.js.map +1 -1
  937. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.d.ts.map +1 -1
  938. package/dist/esm/i18n-labelling/services/labellize-orchestrator.companion.service.js.map +1 -1
  939. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.d.ts.map +1 -1
  940. package/dist/esm/i18n-labelling/services/translate-orchestrator.companion.service.js.map +1 -1
  941. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.d.ts.map +1 -1
  942. package/dist/esm/i18n-labelling/utils/application-tone-of-voice.utils.js.map +1 -1
  943. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.d.ts.map +1 -1
  944. package/dist/esm/i18n-labelling/utils/declared-refusal-codes.utils.js.map +1 -1
  945. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.d.ts.map +1 -1
  946. package/dist/esm/i18n-labelling/utils/email-template-translation.utils.js.map +1 -1
  947. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.d.ts.map +1 -1
  948. package/dist/esm/i18n-labelling/utils/frontend-derived-label-keys.utils.js.map +1 -1
  949. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.d.ts.map +1 -1
  950. package/dist/esm/i18n-labelling/utils/guidance-keys.utils.js.map +1 -1
  951. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.d.ts.map +1 -1
  952. package/dist/esm/i18n-labelling/utils/incomplete-plan-refusal.utils.js.map +1 -1
  953. package/dist/esm/i18n-labelling/utils/label-file-source.utils.d.ts.map +1 -1
  954. package/dist/esm/i18n-labelling/utils/label-file-source.utils.js.map +1 -1
  955. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.d.ts.map +1 -1
  956. package/dist/esm/i18n-labelling/utils/label-placeholder-drift.utils.js.map +1 -1
  957. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.d.ts.map +1 -1
  958. package/dist/esm/i18n-labelling/utils/labelling-concurrency.utils.js.map +1 -1
  959. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.d.ts.map +1 -1
  960. package/dist/esm/i18n-labelling/utils/orphan-label-artifacts.utils.js.map +1 -1
  961. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.d.ts.map +1 -1
  962. package/dist/esm/i18n-labelling/utils/per-unit-file.utils.js.map +1 -1
  963. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.d.ts.map +1 -1
  964. package/dist/esm/i18n-labelling/utils/provider-display-name-keys.utils.js.map +1 -1
  965. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.d.ts.map +1 -1
  966. package/dist/esm/i18n-labelling/utils/resource-section-label-keys.utils.js.map +1 -1
  967. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.d.ts.map +1 -1
  968. package/dist/esm/i18n-labelling/utils/role-lifecycle-keys.utils.js.map +1 -1
  969. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts +8 -1
  970. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.d.ts.map +1 -1
  971. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js +9 -2
  972. package/dist/esm/i18n-labelling/utils/schema-fields-extractor.utils.js.map +1 -1
  973. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.d.ts.map +1 -1
  974. package/dist/esm/i18n-labelling/utils/staged-label-file-writer.utils.js.map +1 -1
  975. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts +13 -7
  976. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.d.ts.map +1 -1
  977. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js +13 -7
  978. package/dist/esm/i18n-labelling/utils/structured-chunk-completion.utils.js.map +1 -1
  979. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.d.ts.map +1 -1
  980. package/dist/esm/i18n-labelling/utils/system-of-record-display-name-keys.utils.js.map +1 -1
  981. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.d.ts.map +1 -1
  982. package/dist/esm/i18n-labelling/utils/translate-locale-contract.utils.js.map +1 -1
  983. package/dist/esm/index.d.ts.map +1 -1
  984. package/dist/esm/index.js.map +1 -1
  985. package/dist/esm/market/services/market-generation.companion.service.d.ts.map +1 -1
  986. package/dist/esm/market/services/market-generation.companion.service.js.map +1 -1
  987. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.d.ts.map +1 -1
  988. package/dist/esm/meta-workflows/models/application-build.actors-system.definitions.js.map +1 -1
  989. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.d.ts.map +1 -1
  990. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js +3 -3
  991. package/dist/esm/meta-workflows/models/application-coding-agent.actors-system.definitions.js.map +1 -1
  992. package/dist/esm/meta-workflows/models/application-line-catalog.models.d.ts.map +1 -1
  993. package/dist/esm/meta-workflows/models/application-line-catalog.models.js.map +1 -1
  994. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.d.ts.map +1 -1
  995. package/dist/esm/meta-workflows/models/application-research-agent.actors-system.definitions.js.map +1 -1
  996. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.d.ts.map +1 -1
  997. package/dist/esm/meta-workflows/models/brief-adequacy.actors-system.definitions.js.map +1 -1
  998. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts +18 -0
  999. package/dist/esm/meta-workflows/models/build-task-rearm.models.d.ts.map +1 -1
  1000. package/dist/esm/meta-workflows/models/build-task-rearm.models.js +37 -0
  1001. package/dist/esm/meta-workflows/models/build-task-rearm.models.js.map +1 -1
  1002. package/dist/esm/meta-workflows/models/carried-verification-failure.models.d.ts.map +1 -1
  1003. package/dist/esm/meta-workflows/models/carried-verification-failure.models.js.map +1 -1
  1004. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.d.ts.map +1 -1
  1005. package/dist/esm/meta-workflows/models/composite-round-relaunch.models.js.map +1 -1
  1006. package/dist/esm/meta-workflows/models/creation-intervention.models.d.ts.map +1 -1
  1007. package/dist/esm/meta-workflows/models/creation-intervention.models.js.map +1 -1
  1008. package/dist/esm/meta-workflows/models/generation-step-progress.models.d.ts.map +1 -1
  1009. package/dist/esm/meta-workflows/models/generation-step-progress.models.js.map +1 -1
  1010. package/dist/esm/meta-workflows/models/human-decision-settler.models.d.ts.map +1 -1
  1011. package/dist/esm/meta-workflows/models/human-decision-settler.models.js.map +1 -1
  1012. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.d.ts.map +1 -1
  1013. package/dist/esm/meta-workflows/models/meta-workflows-lane.models.js.map +1 -1
  1014. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.d.ts.map +1 -1
  1015. package/dist/esm/meta-workflows/models/meta-workflows.actors-system.definitions.js.map +1 -1
  1016. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.d.ts.map +1 -1
  1017. package/dist/esm/meta-workflows/models/playbook-run-checkpoint.models.js.map +1 -1
  1018. package/dist/esm/meta-workflows/models/playbook-run-record.models.d.ts.map +1 -1
  1019. package/dist/esm/meta-workflows/models/playbook-run-record.models.js.map +1 -1
  1020. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.d.ts.map +1 -1
  1021. package/dist/esm/meta-workflows/models/playbook-step-schema-namespaces.models.js.map +1 -1
  1022. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts +36 -0
  1023. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.d.ts.map +1 -0
  1024. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js +97 -0
  1025. package/dist/esm/meta-workflows/models/website-copy-review.actors-system.definitions.js.map +1 -0
  1026. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts +124 -0
  1027. package/dist/esm/meta-workflows/models/website-copy-review.models.d.ts.map +1 -0
  1028. package/dist/esm/meta-workflows/models/website-copy-review.models.js +74 -0
  1029. package/dist/esm/meta-workflows/models/website-copy-review.models.js.map +1 -0
  1030. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.d.ts.map +1 -1
  1031. package/dist/esm/meta-workflows/services/application-assembly-checks.companion.utils.js.map +1 -1
  1032. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.d.ts.map +1 -1
  1033. package/dist/esm/meta-workflows/services/application-assembly-repair.companion.utils.js.map +1 -1
  1034. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts +297 -8
  1035. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.d.ts.map +1 -1
  1036. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js +1089 -42
  1037. package/dist/esm/meta-workflows/services/application-build-dispatch.companion.service.js.map +1 -1
  1038. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.d.ts.map +1 -1
  1039. package/dist/esm/meta-workflows/services/application-build-experience-skills.companion.service.js.map +1 -1
  1040. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts +143 -11
  1041. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.d.ts.map +1 -1
  1042. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js +277 -42
  1043. package/dist/esm/meta-workflows/services/application-build-generation-step.companion.service.js.map +1 -1
  1044. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts +38 -0
  1045. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.d.ts.map +1 -1
  1046. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js +123 -4
  1047. package/dist/esm/meta-workflows/services/application-build-task-coding-policy.companion.service.js.map +1 -1
  1048. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts +130 -2
  1049. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.d.ts.map +1 -1
  1050. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js +251 -4
  1051. package/dist/esm/meta-workflows/services/application-build-website-context.companion.service.js.map +1 -1
  1052. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts +122 -0
  1053. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.d.ts.map +1 -0
  1054. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js +295 -0
  1055. package/dist/esm/meta-workflows/services/application-build-website-copy-review.companion.service.js.map +1 -0
  1056. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts +22 -0
  1057. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.d.ts.map +1 -0
  1058. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js +45 -0
  1059. package/dist/esm/meta-workflows/services/application-enabled-surface-brief.companion.utils.js.map +1 -0
  1060. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.d.ts.map +1 -1
  1061. package/dist/esm/meta-workflows/services/application-maturity-executor.companion.service.js.map +1 -1
  1062. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.d.ts.map +1 -1
  1063. package/dist/esm/meta-workflows/services/build-plan-authoring.companion.service.js.map +1 -1
  1064. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts +53 -0
  1065. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.d.ts.map +1 -0
  1066. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js +97 -0
  1067. package/dist/esm/meta-workflows/services/build-task-brief-application-facts.companion.js.map +1 -0
  1068. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.d.ts.map +1 -1
  1069. package/dist/esm/meta-workflows/services/capability-composition-executor.companion.service.js.map +1 -1
  1070. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.d.ts.map +1 -1
  1071. package/dist/esm/meta-workflows/services/creation-intervention-ledger.companion.service.js.map +1 -1
  1072. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts +17 -1
  1073. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.d.ts.map +1 -1
  1074. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js +25 -3
  1075. package/dist/esm/meta-workflows/services/creation-lane-preflight.companion.service.js.map +1 -1
  1076. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.d.ts.map +1 -1
  1077. package/dist/esm/meta-workflows/services/creation-run-report.companion.service.js.map +1 -1
  1078. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.d.ts.map +1 -1
  1079. package/dist/esm/meta-workflows/services/dossier-write-queue.companion.utils.js.map +1 -1
  1080. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts +5 -0
  1081. package/dist/esm/meta-workflows/services/dossier.companion.service.d.ts.map +1 -1
  1082. package/dist/esm/meta-workflows/services/dossier.companion.service.js +5 -1
  1083. package/dist/esm/meta-workflows/services/dossier.companion.service.js.map +1 -1
  1084. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.d.ts.map +1 -1
  1085. package/dist/esm/meta-workflows/services/engine-settings-destination-catalog.companion.js.map +1 -1
  1086. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.d.ts.map +1 -1
  1087. package/dist/esm/meta-workflows/services/execution-trace-read.companion.service.js.map +1 -1
  1088. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.d.ts.map +1 -1
  1089. package/dist/esm/meta-workflows/services/external-authentication-brief.companion.utils.js.map +1 -1
  1090. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts +50 -1
  1091. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.d.ts.map +1 -1
  1092. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js +132 -54
  1093. package/dist/esm/meta-workflows/services/foundation-executor.companion.service.js.map +1 -1
  1094. package/dist/esm/meta-workflows/services/governed-document-texts.companion.d.ts.map +1 -1
  1095. package/dist/esm/meta-workflows/services/governed-document-texts.companion.js.map +1 -1
  1096. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.d.ts.map +1 -1
  1097. package/dist/esm/meta-workflows/services/governed-documents-pdf.companion.js.map +1 -1
  1098. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.d.ts.map +1 -1
  1099. package/dist/esm/meta-workflows/services/interview-answer-proposal.companion.js.map +1 -1
  1100. package/dist/esm/meta-workflows/services/landed-module-import.companion.d.ts.map +1 -1
  1101. package/dist/esm/meta-workflows/services/landed-module-import.companion.js.map +1 -1
  1102. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.d.ts.map +1 -1
  1103. package/dist/esm/meta-workflows/services/playbook-execution-trace.companion.service.js.map +1 -1
  1104. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.d.ts.map +1 -1
  1105. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js +50 -17
  1106. package/dist/esm/meta-workflows/services/playbook-instance.companion.service.js.map +1 -1
  1107. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts +42 -0
  1108. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.d.ts.map +1 -1
  1109. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js +62 -0
  1110. package/dist/esm/meta-workflows/services/playbook-run-write-register.companion.service.js.map +1 -1
  1111. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts +61 -1
  1112. package/dist/esm/meta-workflows/services/playbook-run.companion.service.d.ts.map +1 -1
  1113. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js +398 -81
  1114. package/dist/esm/meta-workflows/services/playbook-run.companion.service.js.map +1 -1
  1115. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.d.ts.map +1 -1
  1116. package/dist/esm/meta-workflows/services/playbook-spend-meter.companion.service.js.map +1 -1
  1117. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.d.ts.map +1 -1
  1118. package/dist/esm/meta-workflows/services/schema-plan-freshness-loop.companion.js.map +1 -1
  1119. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.d.ts.map +1 -1
  1120. package/dist/esm/meta-workflows/utils/unified-diff.companion.utils.js.map +1 -1
  1121. package/dist/esm/technical-doc/services/technical-doc.companion.service.d.ts.map +1 -1
  1122. package/dist/esm/technical-doc/services/technical-doc.companion.service.js.map +1 -1
  1123. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.d.ts.map +1 -1
  1124. package/dist/esm/technical-doc/services/technical-documentation-application-derivation.companion.service.js.map +1 -1
  1125. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.d.ts.map +1 -1
  1126. package/dist/esm/technical-doc/services/technical-documentation-environment-identity.companion.service.js.map +1 -1
  1127. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.d.ts.map +1 -1
  1128. package/dist/esm/technical-doc/services/technical-documentation-pilot-assets.companion.service.js.map +1 -1
  1129. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.d.ts.map +1 -1
  1130. package/dist/esm/technical-doc/services/technical-documentation-pilot.companion.service.js.map +1 -1
  1131. package/package.json +17 -17
@@ -1 +1 @@
1
- {"version":3,"file":"brief-adequacy.actors-system.definitions.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/brief-adequacy.actors-system.definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,EACpB,iCAAiC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yCAAyC,EAAE,0CAA0C,EAAE,uCAAuC,EAAE,wBAAwB,EAAE,uBAAuB,EAA4C,MAAM,sCAAsC,CAAC;AACnR,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAEhG,+DAA+D;AAC/D,MAAM,CAAC,MAAM,8BAA8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,WAAW,EAAE,WAAW;QACxB,WAAW,EAAE,yCAAyC;QACtD,YAAY,EAAE,0CAA0C;QACxD,sBAAsB,EAAE,uCAAuC;KAClB;IAC/C,UAAU,EAAE;QACV,IAAI,EACF,kGAAkG;cAChG,mGAAmG;cACnG,0BAA0B;QAC9B,OAAO,EACL,iGAAiG;cAC/F,yEAAyE;QAC7E,SAAS,EAAE,4BAA4B,CAAC,UAAU;QAClD,YAAY,EAAE;YACZ,YAAY,oBAAoB,CAAC,YAAY,kFAAkF;kBAC3H,qFAAqF,oBAAoB,CAAC,UAAU,OAAO;kBAC3H,wFAAwF;YAC5F,iGAAiG;kBAC7F,wDAAwD;YAC5D,wGAAwG;kBACpG,wGAAwG;kBACxG,cAAc,GAAG,oBAAoB,CAAC,YAAY,GAAG,mDAAmD;kBACxG,sDAAsD;YAC1D,iGAAiG;kBAC7F,oCAAoC;SACzC;KACF;IACD,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;CACpC,CAAC;AAEF,wEAAwE;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAiC,CAAC,uBAAuB,CAAC,CAAC","sourcesContent":["/**\n * Brief-adequacy judge — the GATE half of #254's rescoped shape.\n *\n * Reads ONE composed generation brief plus the closed list of context sources the playbook did NOT\n * declare, and answers a single structured question: is this brief sufficient to produce the\n * declared family artifact, and if not, WHICH undeclared sources would repair it? The runtime then\n * performs ONE monotonic recompose (add-only) and generates. The judge never authors content and\n * never removes context — it SHAPES the brief and carries no authority, per the bounded\n * auxiliary-LLM ladder (`.claude/context/app-creation-dynamic-context.md`, design 2).\n *\n * Tool-free by the lane invariant: the brief is the entire input surface, so provenance stays\n * complete by construction. Calibrated toward `sufficient` — a false `insufficient` costs a\n * recompose; a chatty gate that always repairs is a standing rung nobody decided to build.\n */\n\nimport { z } from 'zod';\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 { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructuredOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationKey, LLM_Model_Applicability, type LLMProvider_OperationDefinitionBase } from '@wildo-ai/external-connectors-models';\nimport { MetaWorkflow_ContextSource } from '@wildo-ai/saas-specifications/application-creation';\n\n/** One stable identity the generation path resolves by ref. */\nexport const BRIEF_ADEQUACY_JUDGE_AGENT_REF = 'brief-adequacy-judge.agent' as const;\n\n/**\n * The two answers the brief-adequacy gate may give.\n *\n * Not a boolean, because the two are NOT symmetric and the asymmetry is the whole calibration: an\n * INSUFFICIENT verdict costs a full recompose, so the judge is told to answer SUFFICIENT when in\n * doubt. A named member is where that reasoning lives; `verdict: false` could not carry it.\n *\n * The values are the tokens the model is instructed to emit, so the schema, the prompt and every\n * reader of the verdict now derive from one source — before this they were three independently\n * typed copies of the same two words (this schema, the prompt text, and the run service's own\n * inline `'sufficient' | 'insufficient'`).\n */\nexport enum BriefAdequacyVerdict {\n SUFFICIENT = 'sufficient',\n INSUFFICIENT = 'insufficient',\n}\n\n/**\n * The strict verdict the judge must emit. `missingSources` is constrained to the closed\n * {@link MetaWorkflow_ContextSource} vocabulary, so the repair arm can only ever propose sources\n * the runtime knows how to compose — an invented source is a schema violation, not a silent no-op.\n */\nexport const BriefAdequacyVerdictOutputSchema = z.object({\n verdict: z.enum(BriefAdequacyVerdict),\n missingSources: z.array(z.enum(MetaWorkflow_ContextSource)).default([]),\n /**\n * Aspects of families the playbook ALREADY declares, which its narrowing withholds (#1422).\n *\n * The gate could previously only ask for a whole SOURCE, and none of the eight\n * {@link MetaWorkflow_ContextSource} members carries market, brand, persona or requirements\n * knowledge — so a brief missing an ASPECT of a declared family was a defect the gate could see\n * and could not repair. This is the repair, at the same grain the narrowing is authored in.\n *\n * Unlike `missingSources` this cannot be a closed enum: aspect keys are per-family and the set\n * grows with the registry. The bound is enforced at the CALL SITE instead, against the map the\n * judge was shown — which is the same set, and is what keeps the gate from ever widening a\n * playbook's FAMILY set. A proposal outside it is dropped, not honoured.\n *\n * ASPECT grain, never ref grain: a ref-grain answer multiplies output leaves against the hard\n * 8-leaf cap below, and the narrowing this repairs is itself authored per aspect.\n */\n missingAspects: z.array(z.string()).default([]),\n rationale: z.string(),\n});\n\nexport const briefAdequacyJudgeAgent: FlowsActors_Agent = {\n ref: BRIEF_ADEQUACY_JUDGE_AGENT_REF,\n displayName: 'Brief Adequacy Judge Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n // DEEP_JUDGMENT: the enum names \"acceptance judgment\" among its own examples, and this judge\n // gates whether a brief is adequate (#439). Resolves to `claude-fable-5` on `anthropic` today —\n // the model this pinned.\n modelApplicability: LLM_Model_Applicability.DEEP_JUDGMENT,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n structuredGenerationExecutionMode: StructuredGenerationExecutionMode.SINGLE_CALL_REQUIRED,\n // SINGLE_CALL_REQUIRED refuses without this bound, fail-closed — the turn classifier shipped\n // without it and every classification died in 12ms (2026-09-04). Verdict + enum array +\n // rationale is a handful of leaves; 8 is honest headroom.\n maximumStructuredOutputLeafFields: 8,\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 are the brief-adequacy gate for one structured generation. Judge whether the brief below is '\n + 'sufficient to produce the declared artifact; if not, name which of the LISTED undeclared context '\n + 'sources would repair it.',\n persona:\n 'You are a gate, not an author. You never write artifact content, never restate the method, and '\n + 'never propose removing or weakening anything the brief already carries.',\n skillType: FlowsActors_Agent_Skill_Type.GENERATION,\n instructions: [\n `Answer \\`${BriefAdequacyVerdict.INSUFFICIENT}\\` ONLY when the method demonstrably needs information the brief does not carry `\n + `AND one of the listed undeclared sources would supply it. When in doubt, answer \\`${BriefAdequacyVerdict.SUFFICIENT}\\` — `\n + 'a repair costs a full recompose, and a gate that always repairs is worse than no gate.',\n 'Propose ONLY sources from the provided undeclared list. Sources already in the brief are never '\n + 'yours to mention; removing context is never an option.',\n 'Separately, the brief may list ASPECTS IT WITHHOLDS from families it already carries. When the method '\n + 'demonstrably needs one of those, name its aspect key (the bolded `family.aspect`) in `missingAspects` '\n + 'and answer `' + BriefAdequacyVerdict.INSUFFICIENT + '`. Propose only keys from that list, never a ref '\n + 'and never a family the brief does not already carry.',\n 'Your rationale is one short paragraph naming the specific method obligation the missing source '\n + 'serves. No summaries of the brief.',\n ],\n },\n createdAt: new Date().toISOString(),\n};\n\n/** Root spreads this collection into the one startup Agent registry. */\nexport const briefAdequacyAgents: readonly FlowsActors_Agent[] = [briefAdequacyJudgeAgent];\n"]}
1
+ {"version":3,"file":"brief-adequacy.actors-system.definitions.js","sourceRoot":"","sources":["../../../../src/meta-workflows/models/brief-adequacy.actors-system.definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,oBAAoB,EACpB,iCAAiC,GAClC,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yCAAyC,EAAE,0CAA0C,EAAE,uCAAuC,EAAE,wBAAwB,EAAE,uBAAuB,EAA4C,MAAM,sCAAsC,CAAC;AACnR,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAEhG,+DAA+D;AAC/D,MAAM,CAAC,MAAM,8BAA8B,GAAG,4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AE,WAAW;QACxB,WAAW,EAAE,yCAAyC;QACtD,YAAY,EAAE,0CAA0C;QACxD,sBAAsB,EAAE,uCAAuC;KAClB;IAC/C,UAAU,EAAE;QACV,IAAI,EACF,kGAAkG;cAChG,mGAAmG;cACnG,0BAA0B;QAC9B,OAAO,EACL,iGAAiG;cAC/F,yEAAyE;QAC7E,SAAS,EAAE,4BAA4B,CAAC,UAAU;QAClD,YAAY,EAAE;YACZ,YAAY,oBAAoB,CAAC,YAAY,kFAAkF;kBAC3H,qFAAqF,oBAAoB,CAAC,UAAU,OAAO;kBAC3H,wFAAwF;YAC5F,iGAAiG;kBAC7F,wDAAwD;YAC5D,wGAAwG;kBACpG,wGAAwG;kBACxG,cAAc,GAAG,oBAAoB,CAAC,YAAY,GAAG,mDAAmD;kBACxG,sDAAsD;YAC1D,iGAAiG;kBAC7F,oCAAoC;SACzC;KACF;IACD,SAAS,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;CACpC,CAAC;AAEF,wEAAwE;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAiC,CAAC,uBAAuB,CAAC,CAAC","sourcesContent":["/**\n * Brief-adequacy judge — the GATE half of #254's rescoped shape.\n *\n * Reads ONE composed generation brief plus the closed list of context sources the playbook did NOT\n * declare, and answers a single structured question: is this brief sufficient to produce the\n * declared family artifact, and if not, WHICH undeclared sources would repair it? The runtime then\n * performs ONE monotonic recompose (add-only) and generates. The judge never authors content and\n * never removes context — it SHAPES the brief and carries no authority, per the bounded\n * auxiliary-LLM ladder (`.claude/context/app-creation-dynamic-context.md`, design 2).\n *\n * Tool-free by the lane invariant: the brief is the entire input surface, so provenance stays\n * complete by construction. Calibrated toward `sufficient` — a false `insufficient` costs a\n * recompose; a chatty gate that always repairs is a standing rung nobody decided to build.\n */\n\nimport { z } from 'zod';\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 { LLMProvider_GenerateStructuredInputSchema, LLMProvider_GenerateStructuredOutputSchema, LLMProvider_OperationContext_BaseSchema, LLMProvider_OperationKey, LLM_Model_Applicability, type LLMProvider_OperationDefinitionBase } from '@wildo-ai/external-connectors-models';\nimport { MetaWorkflow_ContextSource } from '@wildo-ai/saas-specifications/application-creation';\n\n/** One stable identity the generation path resolves by ref. */\nexport const BRIEF_ADEQUACY_JUDGE_AGENT_REF = 'brief-adequacy-judge.agent' as const;\n\n/**\n * The two answers the brief-adequacy gate may give.\n *\n * Not a boolean, because the two are NOT symmetric and the asymmetry is the whole calibration: an\n * INSUFFICIENT verdict costs a full recompose, so the judge is told to answer SUFFICIENT when in\n * doubt. A named member is where that reasoning lives; `verdict: false` could not carry it.\n *\n * The values are the tokens the model is instructed to emit, so the schema, the prompt and every\n * reader of the verdict now derive from one source — before this they were three independently\n * typed copies of the same two words (this schema, the prompt text, and the run service's own\n * inline `'sufficient' | 'insufficient'`).\n */\nexport enum BriefAdequacyVerdict {\n SUFFICIENT = 'sufficient',\n INSUFFICIENT = 'insufficient',\n}\n\n/**\n * The strict verdict the judge must emit. `missingSources` is constrained to the closed\n * {@link MetaWorkflow_ContextSource} vocabulary, so the repair arm can only ever propose sources\n * the runtime knows how to compose — an invented source is a schema violation, not a silent no-op.\n */\nexport const BriefAdequacyVerdictOutputSchema = z.object({\n verdict: z.enum(BriefAdequacyVerdict),\n missingSources: z.array(z.enum(MetaWorkflow_ContextSource)).default([]),\n /**\n * Aspects of families the playbook ALREADY declares, which its narrowing withholds (#1422).\n *\n * The gate could previously only ask for a whole SOURCE, and none of the eight\n * {@link MetaWorkflow_ContextSource} members carries market, brand, persona or requirements\n * knowledge — so a brief missing an ASPECT of a declared family was a defect the gate could see\n * and could not repair. This is the repair, at the same grain the narrowing is authored in.\n *\n * Unlike `missingSources` this cannot be a closed enum: aspect keys are per-family and the set\n * grows with the registry. The bound is enforced at the CALL SITE instead, against the map the\n * judge was shown — which is the same set, and is what keeps the gate from ever widening a\n * playbook's FAMILY set. A proposal outside it is dropped, not honoured.\n *\n * ASPECT grain, never ref grain: a ref-grain answer multiplies output leaves against the hard\n * 8-leaf cap below, and the narrowing this repairs is itself authored per aspect.\n */\n missingAspects: z.array(z.string()).default([]),\n rationale: z.string(),\n});\n\nexport const briefAdequacyJudgeAgent: FlowsActors_Agent = {\n ref: BRIEF_ADEQUACY_JUDGE_AGENT_REF,\n displayName: 'Brief Adequacy Judge Agent',\n status: FlowsActors_Agent_Status.ACTIVE,\n config: {\n providerRef: 'anthropic',\n // DEEP_JUDGMENT: the enum names \"acceptance judgment\" among its own examples, and this judge\n // gates whether a brief is adequate (#439). Resolves to `claude-fable-5` on `anthropic` today —\n // the model this pinned.\n modelApplicability: LLM_Model_Applicability.DEEP_JUDGMENT,\n operationKey: LLMProvider_OperationKey.GENERATE_STRUCTURED,\n structuredGenerationExecutionMode: StructuredGenerationExecutionMode.SINGLE_CALL_REQUIRED,\n // SINGLE_CALL_REQUIRED refuses without this bound, fail-closed — the turn classifier shipped\n // without it and every classification died in 12ms (2026-09-04). Verdict + enum array +\n // rationale is a handful of leaves; 8 is honest headroom.\n maximumStructuredOutputLeafFields: 8,\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 are the brief-adequacy gate for one structured generation. Judge whether the brief below is '\n + 'sufficient to produce the declared artifact; if not, name which of the LISTED undeclared context '\n + 'sources would repair it.',\n persona:\n 'You are a gate, not an author. You never write artifact content, never restate the method, and '\n + 'never propose removing or weakening anything the brief already carries.',\n skillType: FlowsActors_Agent_Skill_Type.GENERATION,\n instructions: [\n `Answer \\`${BriefAdequacyVerdict.INSUFFICIENT}\\` ONLY when the method demonstrably needs information the brief does not carry `\n + `AND one of the listed undeclared sources would supply it. When in doubt, answer \\`${BriefAdequacyVerdict.SUFFICIENT}\\` — `\n + 'a repair costs a full recompose, and a gate that always repairs is worse than no gate.',\n 'Propose ONLY sources from the provided undeclared list. Sources already in the brief are never '\n + 'yours to mention; removing context is never an option.',\n 'Separately, the brief may list ASPECTS IT WITHHOLDS from families it already carries. When the method '\n + 'demonstrably needs one of those, name its aspect key (the bolded `family.aspect`) in `missingAspects` '\n + 'and answer `' + BriefAdequacyVerdict.INSUFFICIENT + '`. Propose only keys from that list, never a ref '\n + 'and never a family the brief does not already carry.',\n 'Your rationale is one short paragraph naming the specific method obligation the missing source '\n + 'serves. No summaries of the brief.',\n ],\n },\n createdAt: new Date().toISOString(),\n};\n\n/** Root spreads this collection into the one startup Agent registry. */\nexport const briefAdequacyAgents: readonly FlowsActors_Agent[] = [briefAdequacyJudgeAgent];\n"]}
@@ -15,6 +15,7 @@
15
15
  * Re-arming several times leaves several entries, so a task re-armed three times reads as exactly that.
16
16
  */
17
17
  import type { Actors_Memory_Context } from '@wildo-ai/saas-models';
18
+ import type { BuildTaskContextSource } from '@wildo-ai/application-creation-runtime';
18
19
  /** WHY a build task was put back in the queue — the one question a later reader of a re-arm asks. */
19
20
  export declare enum BuildTaskRearmReason {
20
21
  /** The landing check was wrong about this task, and has been corrected. */
@@ -109,4 +110,21 @@ export declare function withBuildTaskRearm(memory: Actors_Memory_Context | undef
109
110
  export declare class NothingToRearmError extends Error {
110
111
  readonly name = "NothingToRearmError";
111
112
  }
113
+ /** The context source a `--despite-landed` run carries (#2409); its ref is what the brief and the settlement read. */
114
+ export declare const LANDED_OVERRIDE_CONTEXT_SOURCE_REF = "application-creation:context/landed-override";
115
+ /**
116
+ * What an operator said was wrong with a landing, handed to the run they started past it (#2409).
117
+ *
118
+ * `wildo build run <task> --despite-landed --note "<defect>"` used to record the note on the run row only, and that
119
+ * input is by contract never prompt bytes. The worker of `app-creation-test-005` was therefore asked to build a task
120
+ * whose product was already in the tree, with no word of what was wrong with it, answered "already in the tree … I made
121
+ * no edits", re-ran the typechecks and settled as a working result while the backend it had broken kept crash-looping.
122
+ * The note is the operator's whole reason for the run, so it travels with it, as an assembly repair's failure does.
123
+ */
124
+ export declare function landedOverrideContextSource(override: BuildTaskLandedOverride): BuildTaskContextSource;
125
+ /**
126
+ * The override a coding CONTRACT carries, read from its context source; `undefined` for any other contract. The run's
127
+ * settlement reads it to refuse a "working result" that changed nothing (#2409).
128
+ */
129
+ export declare function readGivenLandedOverride(contract: unknown): BuildTaskLandedOverride | undefined;
112
130
  //# sourceMappingURL=build-task-rearm.models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"build-task-rearm.models.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/build-task-rearm.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,KAAK,EAAE,qBAAqB,EAAuB,MAAM,uBAAuB,CAAC;AAExF,qGAAqG;AACrG,oBAAY,oBAAoB;IAC9B,2EAA2E;IAC3E,eAAe,oBAAoB;IACnC,4FAA4F;IAC5F,qBAAqB,0BAA0B;IAC/C,6FAA6F;IAC7F,kBAAkB,uBAAuB;IACzC;;;;;;;;;OASG;IACH,4BAA4B,iCAAiC;CAC9D;AAED;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,sIAIM,CAAC;AAErD;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,MAAM,EAAE,CAAC,OAAO,iCAAiC,CAAC,CAAC,MAAM,CAAC,CAAC;IACpE,iHAAiH;IACjH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,2GAA2G;AAC3G,wBAAgB,2BAA2B,CAAC,KA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AG,SAAS,CAK5F;AAED,8GAA8G;AAC9G,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,qBAAqB,GAAG,SAAS,EAAE,YAAY,EAAE,qBAAqB,GAAG,qBAAqB,CAI/I;AAED,iIAAiI;AACjI,eAAO,MAAM,2BAA2B,0CAA0C,CAAC;AAEnF,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,EAAE,oBAAoB,CAAC;IACtC,2EAA2E;IAC3E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAUD,wFAAwF;AACxF,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,OAAO,GAAG,cAAc,GAAG,SAAS,CAK9E;AAID;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,qBAAqB,GAAG,SAAS,EAAE,KAAK,EAAE,cAAc,GAAG,qBAAqB,CAI1H;AAED,8GAA8G;AAC9G,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,SAAyB,IAAI,yBAAyB;CACvD;AAED,sHAAsH;AACtH,eAAO,MAAM,kCAAkC,iDAAiD,CAAC;AAEjG;;;;;;;;GAQG;AACH,wBAAgB,2BAA2B,CAAC,QAAQ,EAAE,uBAAuB,GAAG,sBAAsB,CAcrG;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,OAAO,GAAG,uBAAuB,GAAG,SAAS,CAO9F"}
@@ -104,4 +104,41 @@ export function withBuildTaskRearm(memory, rearm) {
104
104
  export class NothingToRearmError extends Error {
105
105
  name = 'NothingToRearmError';
106
106
  }
107
+ /** The context source a `--despite-landed` run carries (#2409); its ref is what the brief and the settlement read. */
108
+ export const LANDED_OVERRIDE_CONTEXT_SOURCE_REF = 'application-creation:context/landed-override';
109
+ /**
110
+ * What an operator said was wrong with a landing, handed to the run they started past it (#2409).
111
+ *
112
+ * `wildo build run <task> --despite-landed --note "<defect>"` used to record the note on the run row only, and that
113
+ * input is by contract never prompt bytes. The worker of `app-creation-test-005` was therefore asked to build a task
114
+ * whose product was already in the tree, with no word of what was wrong with it, answered "already in the tree … I made
115
+ * no edits", re-ran the typechecks and settled as a working result while the backend it had broken kept crash-looping.
116
+ * The note is the operator's whole reason for the run, so it travels with it, as an assembly repair's failure does.
117
+ */
118
+ export function landedOverrideContextSource(override) {
119
+ return {
120
+ sourceRef: LANDED_OVERRIDE_CONTEXT_SOURCE_REF,
121
+ originRef: 'application-creation:origin/dev-companion',
122
+ content: {
123
+ reason: override.reason,
124
+ note: override.note,
125
+ guidance: 'An operator ran this task although its landing probe calls it landed, because that landing is WRONG: '
126
+ + 'the product already in the tree is defective, and `note` says how. Treat it as a defect to fix, not as finished '
127
+ + 'work. Find the cause the note describes and change the files that carry it. Changing no file is not a repair: '
128
+ + 'if you conclude that no change is needed, say so in your final message and give the evidence, and the run is '
129
+ + 'reported as not repaired so the operator decides.',
130
+ },
131
+ };
132
+ }
133
+ /**
134
+ * The override a coding CONTRACT carries, read from its context source; `undefined` for any other contract. The run's
135
+ * settlement reads it to refuse a "working result" that changed nothing (#2409).
136
+ */
137
+ export function readGivenLandedOverride(contract) {
138
+ const sources = contract?.contextSelection?.selectedSources;
139
+ if (!Array.isArray(sources))
140
+ return undefined;
141
+ const source = sources.find((candidate) => candidate?.sourceRef === LANDED_OVERRIDE_CONTEXT_SOURCE_REF);
142
+ return readBuildTaskLandedOverride({ landedOverride: source?.content });
143
+ }
107
144
  //# sourceMappingURL=build-task-rearm.models.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"build-task-rearm.models.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/build-task-rearm.models.ts"],"names":[],"mappings":"AAkBA,qGAAqG;AACrG,MAAM,CAAN,IAAY,oBAkBX;AAlBD,WAAY,oBAAoB;IAC9B,2EAA2E;IAC3E,2DAAmC,CAAA;IACnC,4FAA4F;IAC5F,uEAA+C,CAAA;IAC/C,6FAA6F;IAC7F,iEAAy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;CACvD","sourcesContent":["/**\n * RE-ARMING a build task — the door the \"completed but not landed\" guard was missing (#1535).\n *\n * The build dispatcher refuses to re-run a task whose coding run COMPLETED without landing, because\n * re-offering it was a measured money leak: a task whose product is never satisfied is ready again the\n * instant it finishes (#606). That refusal is right, and it was a one-way door. Once the reason the task\n * did not land is FIXED — the landing check was corrected, or a framework defect that made the product\n * impossible was repaired — nothing put the task back, so it stayed skipped for the life of the\n * application. The only way round it was flipping the completed row to `cancelled` by hand, which\n * rewrites what happened and records no reason.\n *\n * A re-arm keeps the run's history intact and adds one fact to it, on the run itself: this completed\n * run no longer counts, and here is why. It is written into the task's long-term MEMORY, the task's\n * consolidated record, rather than into a second store, and the guard skips a run that carries it.\n * Re-arming several times leaves several entries, so a task re-armed three times reads as exactly that.\n */\nimport type { Actors_Memory_Context, Actors_Memory_Entry } from '@wildo-ai/saas-models';\n\n/** WHY a build task was put back in the queue — the one question a later reader of a re-arm asks. */\nexport enum BuildTaskRearmReason {\n /** The landing check was wrong about this task, and has been corrected. */\n PROBE_CORRECTED = 'probe-corrected',\n /** A defect outside the task made its product impossible to produce, and has been fixed. */\n BLOCKING_DEFECT_FIXED = 'blocking-defect-fixed',\n /** Neither of the above: an operator judged the work should run again. The note says why. */\n OPERATOR_JUDGEMENT = 'operator-judgement',\n /**\n * Set by the BUILD WAVE, never by a person (#2210): the run completed while other runs edited the same\n * tree, and its declared product is missing from a file one of them also changed, so the loss is\n * theirs rather than the task's. The wave re-arms the task and re-runs it alone, a bounded number of\n * times ({@link MAXIMUM_INTERFERENCE_REARMS}). The run also carries a {@link BuildTaskInterference}.\n *\n * Like every re-arm it also releases the task's FAILED runs not yet re-armed, so the attempt budget starts\n * afresh. Deliberate: the task did complete, so its earlier failures say nothing about whether the work can\n * be done, and the interference bound still stops a task that keeps losing its product.\n */\n INTERFERED_BY_CONCURRENT_RUN = 'interfered-by-concurrent-run',\n}\n\n/**\n * The reasons a PERSON may give (`POST /build/tasks/:taskRef/rearm`, `wildo build rearm`). The wave's own\n * reason is left out: it asserts a measurement (a sibling changed the product's file during the run) that\n * only the wave makes, and an operator choosing it would record a detection that never happened.\n */\nexport const OPERATOR_BUILD_TASK_REARM_REASONS = [\n BuildTaskRearmReason.PROBE_CORRECTED,\n BuildTaskRearmReason.BLOCKING_DEFECT_FIXED,\n BuildTaskRearmReason.OPERATOR_JUDGEMENT,\n] as const satisfies readonly BuildTaskRearmReason[];\n\n/**\n * Running a task the landing probe calls LANDED, on purpose (#2217) — `wildo build run <task> --despite-landed`.\n *\n * A re-arm releases a task whose run COMPLETED without landing. It cannot help a task that reads landed with no\n * run of its own: the product was found before anything ran — written by a sibling task, by hand, or (#2216) by\n * a probe that read a comment as the product. Until this existed such a landing was permanent: `run` refused\n * \"already landed\" and `rearm` refused \"nothing to re-arm\".\n *\n * The landing stays DERIVED — nothing here writes a status, and nothing stops the probe answering \"landed\" again\n * after the run. What the operator gets is one dispatch past the refusal, and what the record gets is why: the\n * override rides the run's own row, beside the conversation it came from, and the build record shows it on that\n * attempt. Same reasons a person may give a re-arm, for the same reason: the question a later reader asks is\n * the same one.\n */\nexport interface BuildTaskLandedOverride {\n readonly reason: (typeof OPERATOR_BUILD_TASK_REARM_REASONS)[number];\n /** Why the landing is believed wrong, in a sentence. Required: an override with no stated reason is a bypass. */\n readonly note: string;\n}\n\n/** The landed override a run row's input carries, or `undefined` when the run was an ordinary dispatch. */\nexport function readBuildTaskLandedOverride(input: unknown): BuildTaskLandedOverride | undefined {\n const value = (input as { landedOverride?: unknown } | undefined)?.landedOverride;\n if (typeof value !== 'object' || value === null) return undefined;\n const candidate = value as Record<string, unknown>;\n return (OPERATOR_BUILD_TASK_REARM_REASONS as readonly unknown[]).includes(candidate.reason) && typeof candidate.note === 'string'\n ? { reason: candidate.reason as BuildTaskLandedOverride['reason'], note: candidate.note }\n : undefined;\n}\n\n/**\n * How many times one task's runs may be re-armed for interference before the wave stops re-running it\n * (#2210). A bound of its own, not the attempt budget's: that one (`MAXIMUM_INTERFERENCE_RETRIES`) forgives\n * FAILED runs, and these runs succeeded. Two, the same number, for the same reason: interference cannot\n * retire a task, and a task that keeps losing its product still stops costing a turn. The re-run is\n * single-flight, so a second detection already means something other than a sibling is at work.\n */\nexport const MAXIMUM_INTERFERENCE_REARMS = 2;\n\n/**\n * What the wave found about a COMPLETED run whose product is missing (#2210): which runs shared the tree\n * with it, and which of the files its task's landing probes read they changed too. Suspected, like\n * `interferenceSuspected` on a failed run: the wave sees that a sibling wrote the file in the run's\n * window, not which line it replaced.\n */\nexport interface BuildTaskInterference {\n readonly overlappingTaskRefs: readonly string[];\n /** The task's own probe paths that an overlapping run also changed. Never empty: no shared file, no interference. */\n readonly contendedProductPaths: readonly string[];\n readonly detectedAt: string;\n /** Whether the wave re-armed the task for it, or the bound ({@link MAXIMUM_INTERFERENCE_REARMS}) was already spent. */\n readonly requeued: boolean;\n}\n\n/** The memory key the interference is recorded under, beside the re-arm. */\nexport const BUILD_TASK_INTERFERENCE_MEMORY_KEY = 'application-creation.build-task-interference';\n\nfunction isInterferenceValue(value: unknown): value is BuildTaskInterference {\n if (typeof value !== 'object' || value === null) return false;\n const candidate = value as Record<string, unknown>;\n return Array.isArray(candidate.overlappingTaskRefs)\n && Array.isArray(candidate.contendedProductPaths)\n && typeof candidate.detectedAt === 'string'\n && typeof candidate.requeued === 'boolean';\n}\n\n/** The interference recorded on a run's memory, or `undefined` when none was detected. */\nexport function readBuildTaskInterference(memory: unknown): BuildTaskInterference | undefined {\n const entries = (memory as Partial<Actors_Memory_Context> | undefined)?.longTerm?.entries;\n if (!Array.isArray(entries)) return undefined;\n const entry = entries.find((candidate) => candidate?.key === BUILD_TASK_INTERFERENCE_MEMORY_KEY && isInterferenceValue(candidate.value));\n return entry?.value as BuildTaskInterference | undefined;\n}\n\n/** The run's memory with the interference appended to its long-term store; see {@link withBuildTaskRearm}. */\nexport function withBuildTaskInterference(memory: Actors_Memory_Context | undefined, interference: BuildTaskInterference): 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: BUILD_TASK_INTERFERENCE_MEMORY_KEY, value: interference, type: 'json', timestamp: interference.detectedAt };\n return { ...base, longTerm: { ...base.longTerm, entries: [...base.longTerm.entries, entry] } };\n}\n\n/** The memory key a re-arm is recorded under — namespaced, because task memory is shared by every consumer of the task plane. */\nexport const BUILD_TASK_REARM_MEMORY_KEY = 'application-creation.build-task-rearm';\n\nexport interface BuildTaskRearm {\n readonly reason: BuildTaskRearmReason;\n /** What was fixed, in a sentence — the part a reason code cannot carry. */\n readonly note: string;\n readonly rearmedAt: string;\n}\n\nfunction isRearmValue(value: unknown): value is BuildTaskRearm {\n if (typeof value !== 'object' || value === null) return false;\n const candidate = value as Record<string, unknown>;\n return Object.values(BuildTaskRearmReason).includes(candidate.reason as BuildTaskRearmReason)\n && typeof candidate.note === 'string'\n && typeof candidate.rearmedAt === 'string';\n}\n\n/** The re-arm recorded on a task's memory, or `undefined` when the run still counts. */\nexport function readBuildTaskRearm(memory: unknown): BuildTaskRearm | undefined {\n const entries = (memory as Partial<Actors_Memory_Context> | undefined)?.longTerm?.entries;\n if (!Array.isArray(entries)) return undefined;\n const entry = entries.find((candidate) => candidate?.key === BUILD_TASK_REARM_MEMORY_KEY && isRearmValue(candidate.value));\n return entry?.value as BuildTaskRearm | undefined;\n}\n\nconst EMPTY_STORE = { entries: [] };\n\n/**\n * The task's memory with a re-arm appended to its long-term store; every other store is kept as it was.\n * A row written before tasks carried memory has none, and gets the empty stores the schema defaults to.\n */\nexport function withBuildTaskRearm(memory: Actors_Memory_Context | undefined, rearm: BuildTaskRearm): 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: BUILD_TASK_REARM_MEMORY_KEY, value: rearm, type: 'json', timestamp: rearm.rearmedAt };\n return { ...base, longTerm: { ...base.longTerm, entries: [...base.longTerm.entries, entry] } };\n}\n\n/** Refused re-arm: the task holds no completed run that still counts, so the request would change nothing. */\nexport class NothingToRearmError extends Error {\n public override readonly name = 'NothingToRearmError';\n}\n"]}
1
+ {"version":3,"file":"build-task-rearm.models.js","sourceRoot":"","sources":["../../../../src/meta-workflows/models/build-task-rearm.models.ts"],"names":[],"mappings":"AAmBA,qGAAqG;AACrG,MAAM,CAAN,IAAY,oBAkBX;AAlBD,WAAY,oBAAoB;IAC9B,2EAA2E;IAC3E,2DAAmC,CAAA;IACnC,4FAA4F;IAC5F,uEAA+C,CAAA;IAC/C,6FAA6F;IAC7F,iEAAyC,CAAA;IACzC;;;;;;;;;OASG;IACH,qFAA6D,CAAA;AAC/D,CAAC,EAlBW,oBAAoB,KAApB,oBAAoB,QAkB/B;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG;IAC/C,oBAAoB,CAAC,eAAe;IACpC,oBAAoB,CAAC,qBAAqB;IAC1C,oBAAoB,CAAC,kBAAkB;CACW,CAAC;AAsBrD,2GAA2G;AAC3G,MAAM,UAAU,2BAA2B,CAAC,KAAc;IACxD,MAAM,KAAK,GAAI,KAAkD,EAAE,cAAc,CAAC;IAClF,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,SAAS,CAAC;IAClE,MAAM,SAAS,GAAG,KAAgC,CAAC;IACnD,OAAQ,iCAAwD,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,OAAO,SAAS,CAAC,IAAI,KAAK,QAAQ;QAC/H,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,MAA2C,EAAE,IAAI,EAAE,SAAS,CAAC,IAAI,EAAE;QACzF,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC;AAiB7C,4EA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,CAAC;AAC1E,CAAC","sourcesContent":["/**\n * RE-ARMING a build task — the door the \"completed but not landed\" guard was missing (#1535).\n *\n * The build dispatcher refuses to re-run a task whose coding run COMPLETED without landing, because\n * re-offering it was a measured money leak: a task whose product is never satisfied is ready again the\n * instant it finishes (#606). That refusal is right, and it was a one-way door. Once the reason the task\n * did not land is FIXED — the landing check was corrected, or a framework defect that made the product\n * impossible was repaired — nothing put the task back, so it stayed skipped for the life of the\n * application. The only way round it was flipping the completed row to `cancelled` by hand, which\n * rewrites what happened and records no reason.\n *\n * A re-arm keeps the run's history intact and adds one fact to it, on the run itself: this completed\n * run no longer counts, and here is why. It is written into the task's long-term MEMORY, the task's\n * consolidated record, rather than into a second store, and the guard skips a run that carries it.\n * Re-arming several times leaves several entries, so a task re-armed three times reads as exactly that.\n */\nimport type { Actors_Memory_Context, Actors_Memory_Entry } from '@wildo-ai/saas-models';\nimport type { BuildTaskContextSource } from '@wildo-ai/application-creation-runtime';\n\n/** WHY a build task was put back in the queue — the one question a later reader of a re-arm asks. */\nexport enum BuildTaskRearmReason {\n /** The landing check was wrong about this task, and has been corrected. */\n PROBE_CORRECTED = 'probe-corrected',\n /** A defect outside the task made its product impossible to produce, and has been fixed. */\n BLOCKING_DEFECT_FIXED = 'blocking-defect-fixed',\n /** Neither of the above: an operator judged the work should run again. The note says why. */\n OPERATOR_JUDGEMENT = 'operator-judgement',\n /**\n * Set by the BUILD WAVE, never by a person (#2210): the run completed while other runs edited the same\n * tree, and its declared product is missing from a file one of them also changed, so the loss is\n * theirs rather than the task's. The wave re-arms the task and re-runs it alone, a bounded number of\n * times ({@link MAXIMUM_INTERFERENCE_REARMS}). The run also carries a {@link BuildTaskInterference}.\n *\n * Like every re-arm it also releases the task's FAILED runs not yet re-armed, so the attempt budget starts\n * afresh. Deliberate: the task did complete, so its earlier failures say nothing about whether the work can\n * be done, and the interference bound still stops a task that keeps losing its product.\n */\n INTERFERED_BY_CONCURRENT_RUN = 'interfered-by-concurrent-run',\n}\n\n/**\n * The reasons a PERSON may give (`POST /build/tasks/:taskRef/rearm`, `wildo build rearm`). The wave's own\n * reason is left out: it asserts a measurement (a sibling changed the product's file during the run) that\n * only the wave makes, and an operator choosing it would record a detection that never happened.\n */\nexport const OPERATOR_BUILD_TASK_REARM_REASONS = [\n BuildTaskRearmReason.PROBE_CORRECTED,\n BuildTaskRearmReason.BLOCKING_DEFECT_FIXED,\n BuildTaskRearmReason.OPERATOR_JUDGEMENT,\n] as const satisfies readonly BuildTaskRearmReason[];\n\n/**\n * Running a task the landing probe calls LANDED, on purpose (#2217) — `wildo build run <task> --despite-landed`.\n *\n * A re-arm releases a task whose run COMPLETED without landing. It cannot help a task that reads landed with no\n * run of its own: the product was found before anything ran — written by a sibling task, by hand, or (#2216) by\n * a probe that read a comment as the product. Until this existed such a landing was permanent: `run` refused\n * \"already landed\" and `rearm` refused \"nothing to re-arm\".\n *\n * The landing stays DERIVED — nothing here writes a status, and nothing stops the probe answering \"landed\" again\n * after the run. What the operator gets is one dispatch past the refusal, and what the record gets is why: the\n * override rides the run's own row, beside the conversation it came from, and the build record shows it on that\n * attempt. Same reasons a person may give a re-arm, for the same reason: the question a later reader asks is\n * the same one.\n */\nexport interface BuildTaskLandedOverride {\n readonly reason: (typeof OPERATOR_BUILD_TASK_REARM_REASONS)[number];\n /** Why the landing is believed wrong, in a sentence. Required: an override with no stated reason is a bypass. */\n readonly note: string;\n}\n\n/** The landed override a run row's input carries, or `undefined` when the run was an ordinary dispatch. */\nexport function readBuildTaskLandedOverride(input: unknown): BuildTaskLandedOverride | undefined {\n const value = (input as { landedOverride?: unknown } | undefined)?.landedOverride;\n if (typeof value !== 'object' || value === null) return undefined;\n const candidate = value as Record<string, unknown>;\n return (OPERATOR_BUILD_TASK_REARM_REASONS as readonly unknown[]).includes(candidate.reason) && typeof candidate.note === 'string'\n ? { reason: candidate.reason as BuildTaskLandedOverride['reason'], note: candidate.note }\n : undefined;\n}\n\n/**\n * How many times one task's runs may be re-armed for interference before the wave stops re-running it\n * (#2210). A bound of its own, not the attempt budget's: that one (`MAXIMUM_INTERFERENCE_RETRIES`) forgives\n * FAILED runs, and these runs succeeded. Two, the same number, for the same reason: interference cannot\n * retire a task, and a task that keeps losing its product still stops costing a turn. The re-run is\n * single-flight, so a second detection already means something other than a sibling is at work.\n */\nexport const MAXIMUM_INTERFERENCE_REARMS = 2;\n\n/**\n * What the wave found about a COMPLETED run whose product is missing (#2210): which runs shared the tree\n * with it, and which of the files its task's landing probes read they changed too. Suspected, like\n * `interferenceSuspected` on a failed run: the wave sees that a sibling wrote the file in the run's\n * window, not which line it replaced.\n */\nexport interface BuildTaskInterference {\n readonly overlappingTaskRefs: readonly string[];\n /** The task's own probe paths that an overlapping run also changed. Never empty: no shared file, no interference. */\n readonly contendedProductPaths: readonly string[];\n readonly detectedAt: string;\n /** Whether the wave re-armed the task for it, or the bound ({@link MAXIMUM_INTERFERENCE_REARMS}) was already spent. */\n readonly requeued: boolean;\n}\n\n/** The memory key the interference is recorded under, beside the re-arm. */\nexport const BUILD_TASK_INTERFERENCE_MEMORY_KEY = 'application-creation.build-task-interference';\n\nfunction isInterferenceValue(value: unknown): value is BuildTaskInterference {\n if (typeof value !== 'object' || value === null) return false;\n const candidate = value as Record<string, unknown>;\n return Array.isArray(candidate.overlappingTaskRefs)\n && Array.isArray(candidate.contendedProductPaths)\n && typeof candidate.detectedAt === 'string'\n && typeof candidate.requeued === 'boolean';\n}\n\n/** The interference recorded on a run's memory, or `undefined` when none was detected. */\nexport function readBuildTaskInterference(memory: unknown): BuildTaskInterference | undefined {\n const entries = (memory as Partial<Actors_Memory_Context> | undefined)?.longTerm?.entries;\n if (!Array.isArray(entries)) return undefined;\n const entry = entries.find((candidate) => candidate?.key === BUILD_TASK_INTERFERENCE_MEMORY_KEY && isInterferenceValue(candidate.value));\n return entry?.value as BuildTaskInterference | undefined;\n}\n\n/** The run's memory with the interference appended to its long-term store; see {@link withBuildTaskRearm}. */\nexport function withBuildTaskInterference(memory: Actors_Memory_Context | undefined, interference: BuildTaskInterference): 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: BUILD_TASK_INTERFERENCE_MEMORY_KEY, value: interference, type: 'json', timestamp: interference.detectedAt };\n return { ...base, longTerm: { ...base.longTerm, entries: [...base.longTerm.entries, entry] } };\n}\n\n/** The memory key a re-arm is recorded under — namespaced, because task memory is shared by every consumer of the task plane. */\nexport const BUILD_TASK_REARM_MEMORY_KEY = 'application-creation.build-task-rearm';\n\nexport interface BuildTaskRearm {\n readonly reason: BuildTaskRearmReason;\n /** What was fixed, in a sentence — the part a reason code cannot carry. */\n readonly note: string;\n readonly rearmedAt: string;\n}\n\nfunction isRearmValue(value: unknown): value is BuildTaskRearm {\n if (typeof value !== 'object' || value === null) return false;\n const candidate = value as Record<string, unknown>;\n return Object.values(BuildTaskRearmReason).includes(candidate.reason as BuildTaskRearmReason)\n && typeof candidate.note === 'string'\n && typeof candidate.rearmedAt === 'string';\n}\n\n/** The re-arm recorded on a task's memory, or `undefined` when the run still counts. */\nexport function readBuildTaskRearm(memory: unknown): BuildTaskRearm | undefined {\n const entries = (memory as Partial<Actors_Memory_Context> | undefined)?.longTerm?.entries;\n if (!Array.isArray(entries)) return undefined;\n const entry = entries.find((candidate) => candidate?.key === BUILD_TASK_REARM_MEMORY_KEY && isRearmValue(candidate.value));\n return entry?.value as BuildTaskRearm | undefined;\n}\n\nconst EMPTY_STORE = { entries: [] };\n\n/**\n * The task's memory with a re-arm appended to its long-term store; every other store is kept as it was.\n * A row written before tasks carried memory has none, and gets the empty stores the schema defaults to.\n */\nexport function withBuildTaskRearm(memory: Actors_Memory_Context | undefined, rearm: BuildTaskRearm): 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: BUILD_TASK_REARM_MEMORY_KEY, value: rearm, type: 'json', timestamp: rearm.rearmedAt };\n return { ...base, longTerm: { ...base.longTerm, entries: [...base.longTerm.entries, entry] } };\n}\n\n/** Refused re-arm: the task holds no completed run that still counts, so the request would change nothing. */\nexport class NothingToRearmError extends Error {\n public override readonly name = 'NothingToRearmError';\n}\n\n/** The context source a `--despite-landed` run carries (#2409); its ref is what the brief and the settlement read. */\nexport const LANDED_OVERRIDE_CONTEXT_SOURCE_REF = 'application-creation:context/landed-override';\n\n/**\n * What an operator said was wrong with a landing, handed to the run they started past it (#2409).\n *\n * `wildo build run <task> --despite-landed --note \"<defect>\"` used to record the note on the run row only, and that\n * input is by contract never prompt bytes. The worker of `app-creation-test-005` was therefore asked to build a task\n * whose product was already in the tree, with no word of what was wrong with it, answered \"already in the tree … I made\n * no edits\", re-ran the typechecks and settled as a working result while the backend it had broken kept crash-looping.\n * The note is the operator's whole reason for the run, so it travels with it, as an assembly repair's failure does.\n */\nexport function landedOverrideContextSource(override: BuildTaskLandedOverride): BuildTaskContextSource {\n return {\n sourceRef: LANDED_OVERRIDE_CONTEXT_SOURCE_REF,\n originRef: 'application-creation:origin/dev-companion',\n content: {\n reason: override.reason,\n note: override.note,\n guidance: 'An operator ran this task although its landing probe calls it landed, because that landing is WRONG: '\n + 'the product already in the tree is defective, and `note` says how. Treat it as a defect to fix, not as finished '\n + 'work. Find the cause the note describes and change the files that carry it. Changing no file is not a repair: '\n + 'if you conclude that no change is needed, say so in your final message and give the evidence, and the run is '\n + 'reported as not repaired so the operator decides.',\n },\n };\n}\n\n/**\n * The override a coding CONTRACT carries, read from its context source; `undefined` for any other contract. The run's\n * settlement reads it to refuse a \"working result\" that changed nothing (#2409).\n */\nexport function readGivenLandedOverride(contract: unknown): BuildTaskLandedOverride | undefined {\n const sources = (contract as { contextSelection?: { selectedSources?: unknown } } | undefined)?.contextSelection?.selectedSources;\n if (!Array.isArray(sources)) return undefined;\n const source = sources.find((candidate) => (candidate as { sourceRef?: unknown } | null)?.sourceRef === LANDED_OVERRIDE_CONTEXT_SOURCE_REF) as\n | { content?: { reason?: unknown; note?: unknown } }\n | undefined;\n return readBuildTaskLandedOverride({ landedOverride: source?.content });\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"carried-verification-failure.models.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/carried-verification-failure.models.ts"],"names":[],"mappings":"AAeA,kFAAkF;AAClF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,0IAA0I;IAC1I,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,uEAAuE;IACvE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,gFAAgF;IAChF,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3C;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,SAAS,sBAAsB,EAAE,CAAC;CACvD;AAmBD;;;;GAIG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE;IACxD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,wHAAwH;IACxH,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,CAAC,uBAAuB,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;CAC5E,GAAG,4BAA4B,CAqB/B"}
1
+ {"version":3,"file":"carried-verification-failure.models.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/models/carried-verification-failure.models.ts"],"names":[],"mappings":"AAeA,kFAAkF;AAClF,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,0IAA0I;IAC1I,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,uEAAuE;IACvE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,gFAAgF;IAChF,QAAQ,CAAC,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3C;;;OAGG;IACH,QAAQ,CAAC,SAAS,EAAE,SAAS,sBAAsB,EAAE,CAAC;CACvD;AAmBD;;;;GAIG;AACH,wBAAgB,kCAAkC,CAAC,KAAK,EAAE;IACxD,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,wHAAwH;IACxH,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,CAAC,uBAAuB,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;CAC5E,GAAG,4BAA4B,CAqB/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"carried-verification-failure.models.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/carried-verification-failure.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAuBjC,6FAA6F;AAC7F,MAAM,2BAA2B,GAAG,IAAI,CAAC;AACzC,8FAA8F;AAC9F,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,wCAAwC;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AK,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QACrF,IAAI,MAAM;YAAE,SAAS,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3D,CAAC;IACD,OAAO;QACL,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,2BAA2B,CAAC;QACtD,cAAc;QACd,SAAS;KACV,CAAC;AACJ,CAAC","sourcesContent":["/**\n * The DIAGNOSIS of a check that was already red before a coding run started (#1529).\n *\n * Since `703d07c3` such a check no longer fails the task that met it — the run records it as carried\n * and completes. That stopped the task paying for the tree, and left the red itself with no owner: on\n * the first end-to-end run a generated brand file broke `check:specifications-typecheck` at 08:34, and\n * the only way anyone learned why was a human running the typecheck by hand an hour later, reading 36\n * `TS2322` lines, and finding the file's own banner naming the step that wrote it.\n *\n * Everything that took was already in hand at the moment the run detected the red: the check's output,\n * the files it names, and those files' banners. This is that, captured once, so a repair starts from a\n * diagnosis instead of from archaeology.\n */\nimport { join } from 'node:path';\n\n/** The producer a generated file names about itself, read from its own banner. */\nexport interface CarriedFailureProducer {\n readonly path: string;\n /** The banner line naming what wrote the file, verbatim — e.g. \"Promoted by the brand ACCEPT step (BrandAcceptCompanionService) at …\". */\n readonly producedBy: string;\n}\n\nexport interface CarriedVerificationDiagnosis {\n readonly checkRef: string;\n readonly message: string;\n /** The end of the check's output, where a compiler puts its errors. */\n readonly outputTail: string;\n /** Application-relative files the output names as failing, first-seen order. */\n readonly offendingPaths: readonly string[];\n /**\n * The offending files that say what GENERATED them. Repairing a generated file alone is repaired\n * until the next generation, so a diagnosis that names the producer names where the fix belongs.\n */\n readonly producers: readonly CarriedFailureProducer[];\n}\n\n/** How much output a diagnosis keeps — enough for a compiler's leading errors, not a log. */\nconst DIAGNOSIS_OUTPUT_TAIL_CHARS = 4000;\n/** Files a diagnosis names at most — the first few carry the cause; the rest are its echo. */\nconst DIAGNOSIS_MAXIMUM_PATHS = 12;\n/** A banner is at the top of a file. */\nconst BANNER_LINES = 40;\n\n/*\n * `path/to/file.ts(12,5): error TS2322: …` (tsc) and `path/to/file.ts:12:5 - error TS…` (tsc --pretty).\n * Deliberately TypeScript-shaped: the required checks this lane runs are typechecks, and a matcher that\n * guessed at every tool's format would name files that are not the cause.\n */\nconst COMPILER_ERROR_LOCATION = /^\\s*([^\\s(:]+\\.(?:ts|tsx|mts|cts))(?:\\(\\d+,\\d+\\)|:\\d+:\\d+)\\s*[:-]\\s*error\\s/gm;\n\n/** A banner line that says what wrote the file. */\nconst GENERATOR_BANNER = /\\b(?:promoted|generated|written|emitted|produced)\\s+by\\b.*$/im;\n\n/**\n * Build the diagnosis from what the baseline pass returned. `readHead` answers the first lines of an\n * application-relative file, or undefined when it cannot be read; it is a parameter so the function\n * stays pure and pinnable.\n */\nexport function diagnoseCarriedVerificationFailure(input: {\n readonly checkRef: string;\n /** The check's working directory, application-relative, when the plan names one — compiler paths are relative to it. */\n readonly checkPath: string | null;\n readonly message: string;\n readonly stdoutTail: string;\n readonly stderrTail: string;\n readonly readHead: (applicationRelativePath: string) => string | undefined;\n}): CarriedVerificationDiagnosis {\n const output = [input.stdoutTail, input.stderrTail].filter((part) => part.length > 0).join('\\n');\n const offendingPaths: string[] = [];\n for (const match of output.matchAll(COMPILER_ERROR_LOCATION)) {\n const relative = input.checkPath && !match[1]!.startsWith('/') ? join(input.checkPath, match[1]!) : match[1]!;\n if (!offendingPaths.includes(relative)) offendingPaths.push(relative);\n if (offendingPaths.length >= DIAGNOSIS_MAXIMUM_PATHS) break;\n }\n const producers: CarriedFailureProducer[] = [];\n for (const path of offendingPaths) {\n const head = input.readHead(path)?.split('\\n').slice(0, BANNER_LINES).join('\\n');\n const banner = head?.match(GENERATOR_BANNER)?.[0]?.replace(/\\s*\\*\\/\\s*$/, '').trim();\n if (banner) producers.push({ path, producedBy: banner });\n }\n return {\n checkRef: input.checkRef,\n message: input.message,\n outputTail: output.slice(-DIAGNOSIS_OUTPUT_TAIL_CHARS),\n offendingPaths,\n producers,\n };\n}\n"]}
1
+ {"version":3,"file":"carried-verification-failure.models.js","sourceRoot":"","sources":["../../../../src/meta-workflows/models/carried-verification-failure.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAuBjC,6FAA6F;AAC7F,MAAM,2BAA2B,GAAG,IAAI,CAAC;AACzC,8FAA8F;AAC9F,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,wCAAwC;AACxC,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB;;;;GAIG;AACH,MAAM,uBAAuB,GAAG,+EAA+E,CAAC;AAEhH,mDAAmD;AACnD,MAAM,gBAAgB,GAAG,+DAA+D,CAAC;AAEzF;;;;GAIG;AACH,MAAM,UAAU,kCAAkC,CAAC,KAQlD;IACC,MAAM,MAAM,GAAG,CAAC,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjG,MAAM,cAAc,GAAa,EAAE,CAAC;IACpC,KAAK,MAAM,KAAK,IAAI,MAAM,CAAC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAC7D,MAAM,QAAQ,GAAG,KAAK,CAAC,SAAS,IAAI,CAAC,KAAK,CAAC,CAAC,CAAE,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAE,CAAC;QAC9G,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,QAAQ,CAAC;YAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACtE,IAAI,cAAc,CAAC,MAAM,IAAI,uBAAuB;YAAE,MAAM;IAC9D,CAAC;IACD,MAAM,SAAS,GAA6B,EAAE,CAAC;IAC/C,KAAK,MAAM,IAAI,IAAI,cAAc,EAAE,CAAC;QAClC,MAAM,IAAI,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjF,MAAM,MAAM,GAAG,IAAI,EAAE,KAAK,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QACrF,IAAI,MAAM;YAAE,SAAS,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3D,CAAC;IACD,OAAO;QACL,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,2BAA2B,CAAC;QACtD,cAAc;QACd,SAAS;KACV,CAAC;AACJ,CAAC","sourcesContent":["/**\n * The DIAGNOSIS of a check that was already red before a coding run started (#1529).\n *\n * Since `703d07c3` such a check no longer fails the task that met it — the run records it as carried\n * and completes. That stopped the task paying for the tree, and left the red itself with no owner: on\n * the first end-to-end run a generated brand file broke `check:specifications-typecheck` at 08:34, and\n * the only way anyone learned why was a human running the typecheck by hand an hour later, reading 36\n * `TS2322` lines, and finding the file's own banner naming the step that wrote it.\n *\n * Everything that took was already in hand at the moment the run detected the red: the check's output,\n * the files it names, and those files' banners. This is that, captured once, so a repair starts from a\n * diagnosis instead of from archaeology.\n */\nimport { join } from 'node:path';\n\n/** The producer a generated file names about itself, read from its own banner. */\nexport interface CarriedFailureProducer {\n readonly path: string;\n /** The banner line naming what wrote the file, verbatim — e.g. \"Promoted by the brand ACCEPT step (BrandAcceptCompanionService) at …\". */\n readonly producedBy: string;\n}\n\nexport interface CarriedVerificationDiagnosis {\n readonly checkRef: string;\n readonly message: string;\n /** The end of the check's output, where a compiler puts its errors. */\n readonly outputTail: string;\n /** Application-relative files the output names as failing, first-seen order. */\n readonly offendingPaths: readonly string[];\n /**\n * The offending files that say what GENERATED them. Repairing a generated file alone is repaired\n * until the next generation, so a diagnosis that names the producer names where the fix belongs.\n */\n readonly producers: readonly CarriedFailureProducer[];\n}\n\n/** How much output a diagnosis keeps — enough for a compiler's leading errors, not a log. */\nconst DIAGNOSIS_OUTPUT_TAIL_CHARS = 4000;\n/** Files a diagnosis names at most — the first few carry the cause; the rest are its echo. */\nconst DIAGNOSIS_MAXIMUM_PATHS = 12;\n/** A banner is at the top of a file. */\nconst BANNER_LINES = 40;\n\n/*\n * `path/to/file.ts(12,5): error TS2322: …` (tsc) and `path/to/file.ts:12:5 - error TS…` (tsc --pretty).\n * Deliberately TypeScript-shaped: the required checks this lane runs are typechecks, and a matcher that\n * guessed at every tool's format would name files that are not the cause.\n */\nconst COMPILER_ERROR_LOCATION = /^\\s*([^\\s(:]+\\.(?:ts|tsx|mts|cts))(?:\\(\\d+,\\d+\\)|:\\d+:\\d+)\\s*[:-]\\s*error\\s/gm;\n\n/** A banner line that says what wrote the file. */\nconst GENERATOR_BANNER = /\\b(?:promoted|generated|written|emitted|produced)\\s+by\\b.*$/im;\n\n/**\n * Build the diagnosis from what the baseline pass returned. `readHead` answers the first lines of an\n * application-relative file, or undefined when it cannot be read; it is a parameter so the function\n * stays pure and pinnable.\n */\nexport function diagnoseCarriedVerificationFailure(input: {\n readonly checkRef: string;\n /** The check's working directory, application-relative, when the plan names one — compiler paths are relative to it. */\n readonly checkPath: string | null;\n readonly message: string;\n readonly stdoutTail: string;\n readonly stderrTail: string;\n readonly readHead: (applicationRelativePath: string) => string | undefined;\n}): CarriedVerificationDiagnosis {\n const output = [input.stdoutTail, input.stderrTail].filter((part) => part.length > 0).join('\\n');\n const offendingPaths: string[] = [];\n for (const match of output.matchAll(COMPILER_ERROR_LOCATION)) {\n const relative = input.checkPath && !match[1]!.startsWith('/') ? join(input.checkPath, match[1]!) : match[1]!;\n if (!offendingPaths.includes(relative)) offendingPaths.push(relative);\n if (offendingPaths.length >= DIAGNOSIS_MAXIMUM_PATHS) break;\n }\n const producers: CarriedFailureProducer[] = [];\n for (const path of offendingPaths) {\n const head = input.readHead(path)?.split('\\n').slice(0, BANNER_LINES).join('\\n');\n const banner = head?.match(GENERATOR_BANNER)?.[0]?.replace(/\\s*\\*\\/\\s*$/, '').trim();\n if (banner) producers.push({ path, producedBy: banner });\n }\n return {\n checkRef: input.checkRef,\n message: input.message,\n outputTail: output.slice(-DIAGNOSIS_OUTPUT_TAIL_CHARS),\n offendingPaths,\n producers,\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-round-relaunch.models.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/composite-round-relaunch.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAC5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAExF,oBAAY,8BAA8B;IACxC,2FAA2F;IAC3F,QAAQ,aAAa;IACrB,mFAAmF;IACnF,eAAe,oBAAoB;IACnC,0DAA0D;IAC1D,aAAa,kBAAkB;IAC/B,uFAAuF;IACvF,OAAO,YAAY;IACnB,mCAAmC;IACnC,aAAa,kBAAkB;IAC/B,+GAA+G;IAC/G,sBAAsB,2BAA2B;IACjD,6FAA6F;IAC7F,WAAW,gBAAgB;IAC3B,0DAA0D;IAC1D,aAAa,kBAAkB;CAChC;AAED;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,KAAK,CAAC;AAe3C,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,CAAC,OAAO,EAAE,sBAAsB,CAAC;IACzC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,cAAc,EAAE,8BAA8B,CAAC;IACxD,qCAAqC;IACrC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,0DAA0D;IAC1D,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,0GAA0G;IAC1G,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,kBAAkB,CAAC,EAAE;QAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;QAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;QAC7B,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;KACjD,CAAC;CACH;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,IAAI,CAAC,2BAA2B,EAAE,SAAS,GAAG,QAAQ,CAAC,GAAG,OAAO,CAEjH;AAED,wGAAwG;AACxG,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,IAAI,CAAC,2BAA2B,EAAE,SAAS,GAAG,QAAQ,GAAG,gBAAgB,CAAC,GAAG,OAAO,CAEnJ;AAED,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,2BAA2B,GAAG,8BAA8B,CAiB/G"}
1
+ {"version":3,"file":"composite-round-relaunch.models.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/models/composite-round-relaunch.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAC5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAExF,oBAAY,8BAA8B;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BAA8B,CAiB/G"}
@@ -1 +1 @@
1
- {"version":3,"file":"composite-round-relaunch.models.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/composite-round-relaunch.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAC5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AAExF,MAAM,CAAN,IAAY,8BAiBX;AAjBD,WAAY,8BAA8B;IACxC,2FAA2F;IAC3F,uDAAqB,CAAA;IACrB,mFAAmF;IACnF,qEAAmC,CAAA;IACnC,0DAA0D;IAC1D,iEAA+B,CAAA;IAC/B,uFAAuF;IACvF,qDAAmB,CAAA;IACnB,mCAAmC;IACnC,iEAA+B,CAAA;IAC/B,+GAA+G;IAC/G,mFAAiD,CAAA;IACjD,6FAA6F;IAC7F,6DAA2B,CAAA;IAC3B,0DAA0D;IAC1D,iEAA+B,CAAA;AACjC,CAAC,EAjBW,8BAA8B,KAA9B,8BAA8B,QAiBzC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,EAAE,CAAC;AAE3C,wGAAwG;AACxG,MAAM,kBAAkB,GAAsD;IAC5E,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,KAAK;IACtC,CAAC,sBAAsB,CAAC,UAAU,CAAC,EAAE,IAAI;IACzC,CAAC,sBAAsB,CAAC,IAAI,CAAC,EAAE,IAAI;CACpC,CAAC;AAEF,4EAA4E;AAC5E,MAAM,cAAc,GAAgD,IAAI,GAAG,CAAC;IAC1E,8BAA8B,CAAC,iBAAiB;IAChD,8BAA8B,CAAC,gBAAgB;CAChD,CAAC,CAAC;AAmBH;;;;;;;;;;GAUG;AACH,MAAM,UAAU,yBAAyB,CAAC,KAA8D;IACtG,OAAO,kBAAkB,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;AAC5D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,aAAa,CAAC;IACjG,OAAO,8BAA8B,CAAC,QAAQ,CAAC;AACjD,CAAC","sourcesContent":["/**\n * WHETHER a composite whose round just ended starts the next one (#1542).\n *\n * A full build is several runs of the root composite BY DESIGN: `maximumIterations` is \"a breaker, not\n * a budget\", a 94-task plan needs more rounds than any one run may take, and each run resumes from\n * where readiness stands because the plan's state is git rather than the run. So a root that stops on\n * its breaker has ended a ROUND, not the build — and until this existed nothing started round N+1. On\n * the first end-to-end run an operator's shell loop did it, polling every 45 s and pressing the Run\n * button through Playwright; without it the build ended after a fifth of the plan and nothing said why.\n *\n * Pure, so every way the chain can END is a pinned case rather than a behaviour of a loop:\n *\n * - the round ended for a reason other than a breaker — the composite concluded, chose to stop, or had\n * nothing eligible — so there is no round to continue;\n * - the posture does not let the system spend on its own (GUIDED);\n * - it was a dry run, which by contract writes nothing and so has nothing to continue;\n * - the plan is COMPLETE, or BLOCKED with every ready task stuck (#1547) — the next round could only\n * repeat what the board already withholds;\n * - the round landed NOTHING — a convergence failure, and more rounds only spend more (#1507's subject);\n * - the chain reached its own breaker.\n */\nimport { Journey_AutonomyPreset } from '@wildo-ai/saas-specifications/application-creation';\nimport { PlaybookChoreographyStopReason } from '@wildo-ai/application-creation-runtime';\n\nexport enum CompositeRoundRelaunchDecision {\n /** The round ended on a breaker, there is work left and it moved: start the next round. */\n RELAUNCH = 'relaunch',\n /** The composite ended on its own terms, not on a breaker: nothing to continue. */\n ROUND_CONCLUDED = 'round-concluded',\n /** The posture keeps spending decisions with a person. */\n POSTURE_HOLDS = 'posture-holds',\n /** A dry run writes nothing, so there is no state for another round to resume from. */\n DRY_RUN = 'dry-run',\n /** Every build task has landed. */\n PLAN_COMPLETE = 'plan-complete',\n /** Tasks remain, and every ready one is stuck — the next round would be withheld from dispatching anything. */\n BLOCKED_ON_STUCK_TASKS = 'blocked-on-stuck-tasks',\n /** The round that just ended landed nothing: another would re-choose over the same state. */\n NO_PROGRESS = 'no-progress',\n /** The chain reached {@link MAXIMUM_COMPOSITE_ROUNDS}. */\n ROUND_CEILING = 'round-ceiling',\n}\n\n/**\n * A breaker on the CHAIN, as `maximumIterations` is on one round — not a budget. The progress rule\n * already ends a chain that stops landing; this ends one that keeps landing without converging (a\n * refresh that makes something else stale, #1523), which no per-round check can see.\n */\nexport const MAXIMUM_COMPOSITE_ROUNDS = 40;\n\n/** Postures that let the system start work without a person — the same line the lane boundary draws. */\nconst POSTURE_RELAUNCHES: Readonly<Record<Journey_AutonomyPreset, boolean>> = {\n [Journey_AutonomyPreset.GUIDED]: false,\n [Journey_AutonomyPreset.YOLO_LIGHT]: true,\n [Journey_AutonomyPreset.YOLO]: true,\n};\n\n/** The stop reasons that end a ROUND rather than the work: the breakers. */\nconst ROUND_BREAKERS: ReadonlySet<PlaybookChoreographyStopReason> = new Set([\n PlaybookChoreographyStopReason.ITERATION_CEILING,\n PlaybookChoreographyStopReason.DURATION_CEILING,\n]);\n\nexport interface CompositeRoundRelaunchInput {\n readonly posture: Journey_AutonomyPreset;\n readonly dryRun: boolean;\n readonly stoppedBecause: PlaybookChoreographyStopReason;\n /** The round just ended, 1-based. */\n readonly round: number;\n /** Specification families the round's children landed. */\n readonly familiesLanded: number;\n /** Build tasks landed before the round started and after it ended; absent when there is no build plan. */\n readonly tasksLandedBefore?: number;\n readonly buildProgressAfter?: {\n readonly totalTasks: number;\n readonly landedTasks: number;\n readonly readyTasksAllStuck?: readonly string[];\n };\n}\n\n/**\n * Whether a round of this composite could EVER be relaunched — so whether the build progress the\n * decision reads is worth computing at all (#1639).\n *\n * That progress is not cheap: it probes every build task's landing and classifies every ready one as\n * stuck or not, each through actor-plane reads and introspection. A market-analysis DRY RUN paid it\n * before and after its round on 2026-09-25, under a loaded machine, for a decision that returns\n * {@link CompositeRoundRelaunchDecision.DRY_RUN} without looking — about fifteen of the round's\n * thirty-eight silent minutes. The answer here is the decision's own first gates, in its own order,\n * so the two cannot disagree about when the progress matters.\n */\nexport function compositeRoundMayRelaunch(input: Pick<CompositeRoundRelaunchInput, 'posture' | 'dryRun'>): boolean {\n return POSTURE_RELAUNCHES[input.posture] && !input.dryRun;\n}\n\n/** Whether the decision for a round that ended this way reads build progress: only a breaker's does. */\nexport function compositeRoundRelaunchReadsBuildProgress(input: Pick<CompositeRoundRelaunchInput, 'posture' | 'dryRun' | 'stoppedBecause'>): boolean {\n return ROUND_BREAKERS.has(input.stoppedBecause) && compositeRoundMayRelaunch(input);\n}\n\nexport function decideCompositeRoundRelaunch(input: CompositeRoundRelaunchInput): CompositeRoundRelaunchDecision {\n if (!ROUND_BREAKERS.has(input.stoppedBecause)) return CompositeRoundRelaunchDecision.ROUND_CONCLUDED;\n if (!POSTURE_RELAUNCHES[input.posture]) return CompositeRoundRelaunchDecision.POSTURE_HOLDS;\n if (input.dryRun) return CompositeRoundRelaunchDecision.DRY_RUN;\n const progress = input.buildProgressAfter;\n if (progress !== undefined && progress.totalTasks > 0 && progress.landedTasks >= progress.totalTasks) {\n return CompositeRoundRelaunchDecision.PLAN_COMPLETE;\n }\n if (progress?.readyTasksAllStuck !== undefined && progress.readyTasksAllStuck.length > 0) {\n return CompositeRoundRelaunchDecision.BLOCKED_ON_STUCK_TASKS;\n }\n const tasksLandedThisRound = progress !== undefined && input.tasksLandedBefore !== undefined\n ? progress.landedTasks - input.tasksLandedBefore\n : 0;\n if (input.familiesLanded === 0 && tasksLandedThisRound <= 0) return CompositeRoundRelaunchDecision.NO_PROGRESS;\n if (input.round >= MAXIMUM_COMPOSITE_ROUNDS) return CompositeRoundRelaunchDecision.ROUND_CEILING;\n return CompositeRoundRelaunchDecision.RELAUNCH;\n}\n"]}
1
+ {"version":3,"file":"composite-round-relaunch.models.js","sourceRoot":"","sources":["../../../../src/meta-workflows/models/composite-round-relaunch.models.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,sBAAsB,EAAE,MAAM,oDAAoD,CAAC;AAC5F,OAAO,EAAE,8BAA8B,EAAE,MAAM,w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AC,cAAc,CAAC;QAAE,OAAO,8BAA8B,CAAC,eAAe,CAAC;IACrG,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,OAAO,CAAC;QAAE,OAAO,8BAA8B,CAAC,aAAa,CAAC;IAC5F,IAAI,KAAK,CAAC,MAAM;QAAE,OAAO,8BAA8B,CAAC,OAAO,CAAC;IAChE,MAAM,QAAQ,GAAG,KAAK,CAAC,kBAAkB,CAAC;IAC1C,IAAI,QAAQ,KAAK,SAAS,IAAI,QAAQ,CAAC,UAAU,GAAG,CAAC,IAAI,QAAQ,CAAC,WAAW,IAAI,QAAQ,CAAC,UAAU,EAAE,CAAC;QACrG,OAAO,8BAA8B,CAAC,aAAa,CAAC;IACtD,CAAC;IACD,IAAI,QAAQ,EAAE,kBAAkB,KAAK,SAAS,IAAI,QAAQ,CAAC,kBAAkB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzF,OAAO,8BAA8B,CAAC,sBAAsB,CAAC;IAC/D,CAAC;IACD,MAAM,oBAAoB,GAAG,QAAQ,KAAK,SAAS,IAAI,KAAK,CAAC,iBAAiB,KAAK,SAAS;QAC1F,CAAC,CAAC,QAAQ,CAAC,WAAW,GAAG,KAAK,CAAC,iBAAiB;QAChD,CAAC,CAAC,CAAC,CAAC;IACN,IAAI,KAAK,CAAC,cAAc,KAAK,CAAC,IAAI,oBAAoB,IAAI,CAAC;QAAE,OAAO,8BAA8B,CAAC,WAAW,CAAC;IAC/G,IAAI,KAAK,CAAC,KAAK,IAAI,wBAAwB;QAAE,OAAO,8BAA8B,CAAC,aAAa,CAAC;IACjG,OAAO,8BAA8B,CAAC,QAAQ,CAAC;AACjD,CAAC","sourcesContent":["/**\n * WHETHER a composite whose round just ended starts the next one (#1542).\n *\n * A full build is several runs of the root composite BY DESIGN: `maximumIterations` is \"a breaker, not\n * a budget\", a 94-task plan needs more rounds than any one run may take, and each run resumes from\n * where readiness stands because the plan's state is git rather than the run. So a root that stops on\n * its breaker has ended a ROUND, not the build — and until this existed nothing started round N+1. On\n * the first end-to-end run an operator's shell loop did it, polling every 45 s and pressing the Run\n * button through Playwright; without it the build ended after a fifth of the plan and nothing said why.\n *\n * Pure, so every way the chain can END is a pinned case rather than a behaviour of a loop:\n *\n * - the round ended for a reason other than a breaker — the composite concluded, chose to stop, or had\n * nothing eligible — so there is no round to continue;\n * - the posture does not let the system spend on its own (GUIDED);\n * - it was a dry run, which by contract writes nothing and so has nothing to continue;\n * - the plan is COMPLETE, or BLOCKED with every ready task stuck (#1547) — the next round could only\n * repeat what the board already withholds;\n * - the round landed NOTHING — a convergence failure, and more rounds only spend more (#1507's subject);\n * - the chain reached its own breaker.\n */\nimport { Journey_AutonomyPreset } from '@wildo-ai/saas-specifications/application-creation';\nimport { PlaybookChoreographyStopReason } from '@wildo-ai/application-creation-runtime';\n\nexport enum CompositeRoundRelaunchDecision {\n /** The round ended on a breaker, there is work left and it moved: start the next round. */\n RELAUNCH = 'relaunch',\n /** The composite ended on its own terms, not on a breaker: nothing to continue. */\n ROUND_CONCLUDED = 'round-concluded',\n /** The posture keeps spending decisions with a person. */\n POSTURE_HOLDS = 'posture-holds',\n /** A dry run writes nothing, so there is no state for another round to resume from. */\n DRY_RUN = 'dry-run',\n /** Every build task has landed. */\n PLAN_COMPLETE = 'plan-complete',\n /** Tasks remain, and every ready one is stuck — the next round would be withheld from dispatching anything. */\n BLOCKED_ON_STUCK_TASKS = 'blocked-on-stuck-tasks',\n /** The round that just ended landed nothing: another would re-choose over the same state. */\n NO_PROGRESS = 'no-progress',\n /** The chain reached {@link MAXIMUM_COMPOSITE_ROUNDS}. */\n ROUND_CEILING = 'round-ceiling',\n}\n\n/**\n * A breaker on the CHAIN, as `maximumIterations` is on one round — not a budget. The progress rule\n * already ends a chain that stops landing; this ends one that keeps landing without converging (a\n * refresh that makes something else stale, #1523), which no per-round check can see.\n */\nexport const MAXIMUM_COMPOSITE_ROUNDS = 40;\n\n/** Postures that let the system start work without a person — the same line the lane boundary draws. */\nconst POSTURE_RELAUNCHES: Readonly<Record<Journey_AutonomyPreset, boolean>> = {\n [Journey_AutonomyPreset.GUIDED]: false,\n [Journey_AutonomyPreset.YOLO_LIGHT]: true,\n [Journey_AutonomyPreset.YOLO]: true,\n};\n\n/** The stop reasons that end a ROUND rather than the work: the breakers. */\nconst ROUND_BREAKERS: ReadonlySet<PlaybookChoreographyStopReason> = new Set([\n PlaybookChoreographyStopReason.ITERATION_CEILING,\n PlaybookChoreographyStopReason.DURATION_CEILING,\n]);\n\nexport interface CompositeRoundRelaunchInput {\n readonly posture: Journey_AutonomyPreset;\n readonly dryRun: boolean;\n readonly stoppedBecause: PlaybookChoreographyStopReason;\n /** The round just ended, 1-based. */\n readonly round: number;\n /** Specification families the round's children landed. */\n readonly familiesLanded: number;\n /** Build tasks landed before the round started and after it ended; absent when there is no build plan. */\n readonly tasksLandedBefore?: number;\n readonly buildProgressAfter?: {\n readonly totalTasks: number;\n readonly landedTasks: number;\n readonly readyTasksAllStuck?: readonly string[];\n };\n}\n\n/**\n * Whether a round of this composite could EVER be relaunched — so whether the build progress the\n * decision reads is worth computing at all (#1639).\n *\n * That progress is not cheap: it probes every build task's landing and classifies every ready one as\n * stuck or not, each through actor-plane reads and introspection. A market-analysis DRY RUN paid it\n * before and after its round on 2026-09-25, under a loaded machine, for a decision that returns\n * {@link CompositeRoundRelaunchDecision.DRY_RUN} without looking — about fifteen of the round's\n * thirty-eight silent minutes. The answer here is the decision's own first gates, in its own order,\n * so the two cannot disagree about when the progress matters.\n */\nexport function compositeRoundMayRelaunch(input: Pick<CompositeRoundRelaunchInput, 'posture' | 'dryRun'>): boolean {\n return POSTURE_RELAUNCHES[input.posture] && !input.dryRun;\n}\n\n/** Whether the decision for a round that ended this way reads build progress: only a breaker's does. */\nexport function compositeRoundRelaunchReadsBuildProgress(input: Pick<CompositeRoundRelaunchInput, 'posture' | 'dryRun' | 'stoppedBecause'>): boolean {\n return ROUND_BREAKERS.has(input.stoppedBecause) && compositeRoundMayRelaunch(input);\n}\n\nexport function decideCompositeRoundRelaunch(input: CompositeRoundRelaunchInput): CompositeRoundRelaunchDecision {\n if (!ROUND_BREAKERS.has(input.stoppedBecause)) return CompositeRoundRelaunchDecision.ROUND_CONCLUDED;\n if (!POSTURE_RELAUNCHES[input.posture]) return CompositeRoundRelaunchDecision.POSTURE_HOLDS;\n if (input.dryRun) return CompositeRoundRelaunchDecision.DRY_RUN;\n const progress = input.buildProgressAfter;\n if (progress !== undefined && progress.totalTasks > 0 && progress.landedTasks >= progress.totalTasks) {\n return CompositeRoundRelaunchDecision.PLAN_COMPLETE;\n }\n if (progress?.readyTasksAllStuck !== undefined && progress.readyTasksAllStuck.length > 0) {\n return CompositeRoundRelaunchDecision.BLOCKED_ON_STUCK_TASKS;\n }\n const tasksLandedThisRound = progress !== undefined && input.tasksLandedBefore !== undefined\n ? progress.landedTasks - input.tasksLandedBefore\n : 0;\n if (input.familiesLanded === 0 && tasksLandedThisRound <= 0) return CompositeRoundRelaunchDecision.NO_PROGRESS;\n if (input.round >= MAXIMUM_COMPOSITE_ROUNDS) return CompositeRoundRelaunchDecision.ROUND_CEILING;\n return CompositeRoundRelaunchDecision.RELAUNCH;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"creation-intervention.models.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/creation-intervention.models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgD,KAAK,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAE1H;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,iFAAiF;AACjF,oBAAY,wBAAwB;IAClC,6FAA6F;IAC7F,iBAAiB,sBAAsB;IACvC,4GAA4G;IAC5G,SAAS,cAAc;IACvB,iHAAiH;IACjH,aAAa,kBAAkB;IAC/B,8FAA8F;IAC9F,gBAAgB,qBAAqB;IACrC,yFAAyF;IACzF,gBAAgB,qBAAqB;IACrC,8CAA8C;IAC9C,UAAU,eAAe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CACjD,CA+CA"}
@@ -1 +1 @@
1
- {"version":3,"file":"creation-intervention.models.js","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/creation-intervention.models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAsB,MAAM,wCAAwC,CAAC;AAE1H;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,iFAAiF;AACjF,MAAM,CAAN,IAAY,wBAaX;AAbD,WAAY,wBAAwB;IAClC,6FAA6F;IAC7F,mEAAuC,CAAA;IACvC,4GAA4G;IAC5G,mDAAuB,CAAA;IACvB,iHAAiH;IACjH,2DAA+B,CAAA;IAC/B,8FAA8F;IAC9F,iEAAqC,CAAA;IACrC,yFAAyF;IACzF,iEAAqC,CAAA;IACrC,8CAA8C;IAC9C,qDAAyB,CAAA;AAC3B,CAAC,EAbW,wBAAwB,KAAxB,wBAAwB,QAanC;AAED,gDAAgD;AAChD,MAAM,CAAN,IAAY,gCAOX;AAPD,WAAY,gCAAgC;IAC1C,qEAAqE;IACrE,qDAAiB,CAAA;IACjB,oFAAoF;IACpF,mEAA+B,CAAA;IAC/B,8FAA8F;IAC9F,qEAAiC,CAAA;AACnC,CAAC,EAPW,gCAAgC,KAAhC,gCAAgC,QAO3C;AAED,0FAA0F;AAC1F,MAAM,CAAC,MAAM,mBAAmB,GAAG,OAAO,CAAC;AAE3C,0GAA0G;AAC1G,MAAM,CAAC,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;AAEpD,gGAAgG;AAChG,MAAM,CAAC,MAAM,iCAAiC,GAAG,yBAAyB,CAAC;AAoC3E,mHAAmH;AACnH,MAAM,CAAC,MAAM,4BAA4B,GAAG,6BAA6B,CAAC;AAE1E;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAsB,CAAC,kBAAkB,EAAE,oBAAoB,CAAC,CAAC;AActG;;;;;;;GAOG;AACH,SAAS,MAAM,CAAC,SAA+B,E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KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;QACtH,GAAG,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACrD,6BAA6B;QAC7B,wBAAwB,EAAE,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,MAAM;QAC5F,mCAAmC;QACnC,8BAA8B;KAC/B,CAAC;AACJ,CAAC","sourcesContent":["import { PlaybookSpendMeasurement, mergePlaybookSpend, type PlaybookSpend } from '@wildo-ai/application-creation-runtime';\n\n/**\n * THE INTERVENTION LEDGER of a creation run (#2231) — what a PERSON (or the session driving creation for\n * one) did to keep the lane going, derived from what the lane already records.\n *\n * ## Why this exists\n *\n * A creation run recorded what the playbooks did and nothing about what a person did. On\n * app-creation-test-004 (2026-10-01) the driving session kept the run report by hand: fifteen interventions,\n * each restart, hand edit, manual commit, re-arm and forced answer counted from memory, the spend added up\n * run by run. That report is the only measure of whether the next run needs a person less, and nothing in\n * the lane could produce it. The run's own history showed the gap: `161f4f9 build-task-logo: commit what\n * the wave left, writer unknown` is an intervention, and only its prose said so.\n *\n * ## Derived, not declared\n *\n * Every entry is computed from a record that exists for another reason, so a person is asked for nothing\n * but the REASON (`.claude/rules/derive-before-you-ask.md`):\n *\n * | kind | derived from |\n * |---|---|\n * | a manual commit | a commit NOT authored by the companion that commits, unchanged, a file a recorded run wrote |\n * | a hand edit | a commit not authored by the companion that changes such a file to something the run did not write, or the same change still uncommitted in the working tree |\n * | a companion restart | a boot whose reconciliation found runs in flight (`CreationRestartRecord`, written at that boot) |\n * | a re-arm | a person's re-arm on a build task's run row (`wildo build rearm`) |\n * | an override | a run started past a landing the person said was wrong (`wildo build run --despite-landed`) |\n * | a revert | a revert marker in the playbook write register (`wildo creation revert`); a forced one says so |\n *\n * ## What it covers, and what it cannot see\n *\n * - **One creation run is one application**, from its first recorded run: the same identity a defect found\n * during it carries in its `**Creation run:** <slug>` field (#2287), so the ledger and the issues filed\n * against the run cover the same thing. A person's later edit of a file a run wrote is still a HAND_EDIT,\n * because a creation is never \"over\": an application keeps being built by its lane.\n * - **A reverted run still owns what it wrote, until its revert.** The revert deletes the run's write record,\n * so its marker keeps the footprint (when it ran, what it wrote): a commit of those files before the revert\n * is still that run's, and committing the restored files afterwards is not a second intervention. Only a\n * marker written before it carried the footprint loses that, and the report says how many (`notChecked`).\n * - **Answers.** Answering or declining a question the lane asked is the lane working, not a person stepping in.\n * What counts as overriding an answer is overriding a VERDICT: running a task past its landing probe.\n *\n * ## A record for people, not an input to the lane\n *\n * Nothing in the creation lane reads this, and nothing may decide from it\n * (`.claude/rules/application-creation-directive.md`, \"Records\"): `wildo creation report` renders it and a\n * person reads it. The only thing it stores is what cannot be derived, each restart (an instant no later\n * read can recover) and each reason a person gives; both are throwaway state under `.wildo-saas/state/`.\n */\n\n/** What kind of act an intervention was. One named source for the vocabulary. */\nexport enum CreationInterventionKind {\n /** The companion booted with runs in flight; its reconciliation settled them interrupted. */\n COMPANION_RESTART = 'companion_restart',\n /** A file a recorded run wrote was changed by something no recorded run is: a person, a tool, a session. */\n HAND_EDIT = 'hand_edit',\n /** A person committed, unchanged, what a run wrote: the lane's own commit did not happen or did not cover it. */\n MANUAL_COMMIT = 'manual_commit',\n /** A person put a build task back in the queue after a run that completed without landing. */\n BUILD_TASK_REARM = 'build_task_rearm',\n /** A person overruled the lane's verdict: ran a task its landing probe called landed. */\n VERDICT_OVERRIDE = 'verdict_override',\n /** A person undid a playbook run's writes. */\n RUN_REVERT = 'run_revert',\n}\n\n/** Where an intervention's reason came from. */\nexport enum CreationInterventionReasonSource {\n /** The person stated it for this entry (`wildo creation reason`). */\n STATED = 'stated',\n /** The record the act left already carries it: a re-arm's or an override's note. */\n RECORDED_NOTE = 'recorded_note',\n /** The subject of the person's own commit: their words about it, until they state another. */\n COMMIT_MESSAGE = 'commit_message',\n}\n\n/** The lane name of the BUILD: every coding run of the build plan, whoever started it. */\nexport const CREATION_BUILD_LANE = 'build';\n\n/** The lane name of the unattended playbook LOOP (`wildo creation loop`), whose rows name no playbook. */\nexport const CREATION_LOOP_LANE = 'unattended loop';\n\n/** The lane of a playbook execution the report could not read (older than its page of rows). */\nexport const CREATION_UNRESOLVED_PLAYBOOK_LANE = 'playbook (row not read)';\n\n/** What an intervention unblocked: a lane (a playbook ref, or {@link CREATION_BUILD_LANE}) and, when known, its task. */\nexport interface CreationInterventionTarget {\n readonly lane: string;\n /** The build task's ref, or the playbook run's id. Absent when the record names no task. */\n readonly task?: string;\n}\n\nexport interface CreationIntervention {\n /** Stable across reads: `<kind>:<the record it was derived from>`. What `wildo creation reason` names. */\n readonly id: string;\n readonly kind: CreationInterventionKind;\n /** When it happened, ISO-8601. */\n readonly at: string;\n /** What it unblocked. Never empty: an act on nothing a run owns is no intervention in a creation run. */\n readonly targets: readonly CreationInterventionTarget[];\n /** What happened, in one line. */\n readonly summary: string;\n /** What it was derived from — a commit, a run row, a record — so a reader can check it. */\n readonly evidence: string;\n readonly reason?: { readonly text: string; readonly source: CreationInterventionReasonSource };\n}\n\n/** What one recorded run wrote: its lane and task, when it wrote, and each path's bytes after it (sha256; `null` = deleted). */\nexport interface CreationRunFootprint {\n readonly target: CreationInterventionTarget;\n readonly at: string;\n readonly files: ReadonlyMap<string, string | null>;\n /**\n * When the run stopped owning its files: a REVERTED run owns what it wrote until the revert, and no longer.\n * Without it, committing the restored files would read as a hand edit of a run that was already undone.\n */\n readonly until?: string;\n}\n\n/** The author git records for every commit the companion makes (`accepted-change-commit.companion.service.ts`). */\nexport const COMPANION_COMMIT_AUTHOR_NAME = 'Wildo development companion';\n\n/**\n * The trailers that mark a commit made through the lane's own accept door (`accepted-change-commit`'s\n * `Wildo-Coding-Run` / `Wildo-Playbook-Run`). A person's `wildo creation accept` carries one and is still a\n * person's commit, so it is still an intervention; the trailer only lets the summary say which door it was.\n */\nexport const LANE_ACCEPT_TRAILER_KEYS: readonly string[] = ['Wildo-Coding-Run', 'Wildo-Playbook-Run'];\n\n/** A commit, with the content of the run-owned paths it touched. */\nexport interface CreationCommitObservation {\n readonly sha: string;\n /** Committer date, ISO-8601: when it entered history. */\n readonly at: string;\n readonly authorName: string;\n readonly subject: string;\n readonly body: string;\n /** Each path it changed with its committed bytes' sha256 (`null` = deleted). Only paths a run owned need a hash. */\n readonly files: readonly { readonly path: string; readonly sha256: string | null }[];\n}\n\n/**\n * Whether a footprint still owns its files at a commit instant (#2231). A REVERTED run owns them until its revert.\n *\n * Git's commit instants (`%cI`) have no milliseconds and a revert's does, so within the revert's own second time\n * cannot say which came first. There the CONTENT decides: a commit holding exactly the bytes the run wrote is the\n * run's work, committed before it was undone; any other bytes (the restored pre-image) came after. Outside that\n * second, time decides alone.\n */\nfunction ownsAt(footprint: CreationRunFootprint, path: string, at: string, committedSha256: string | null | undefined): boolean {\n if (!footprint.files.has(path) || footprint.at > at) return false;\n if (footprint.until === undefined) return true;\n const untilTime = Date.parse(footprint.until);\n const atTime = Date.parse(at);\n if (!Number.isFinite(untilTime) || !Number.isFinite(atTime)) return at < footprint.until;\n const revertSecond = Math.floor(untilTime / 1000) * 1000;\n if (atTime < revertSecond) return true;\n if (atTime >= revertSecond + 1000) return false;\n return committedSha256 !== undefined && committedSha256 === footprint.files.get(path);\n}\n\n/**\n * The latest run that wrote `path` and still owned it at `at`, or `undefined` when no recorded run did.\n * `committedSha256` is the bytes the commit holds there, which settles a commit in a reverted run's last second.\n */\nexport function findRunOwningPathAt(\n path: string,\n at: string,\n footprints: readonly CreationRunFootprint[],\n committedSha256?: string | null,\n): CreationRunFootprint | undefined {\n let owner: CreationRunFootprint | undefined;\n for (const footprint of footprints) {\n if (!ownsAt(footprint, path, at, committedSha256)) continue;\n if (owner === undefined || footprint.at > owner.at) owner = footprint;\n }\n return owner;\n}\n\nconst uniqueTargets = (targets: readonly CreationInterventionTarget[]): CreationInterventionTarget[] => {\n const seen = new Map<string, CreationInterventionTarget>();\n for (const target of targets) seen.set(`${target.lane}\\u0000${target.task ?? ''}`, target);\n return [...seen.values()];\n};\n\n/**\n * A commit as an intervention, or `null` when it is not one: the companion authored it, or it touched no\n * path a run had written by then (a person's own work beside the lane is not the lane's business).\n *\n * MANUAL_COMMIT when every run-owned path holds exactly what its run left; HAND_EDIT as soon as one holds\n * something else. Paths are attributed to the latest run that wrote them before the commit.\n */\nexport function classifyCommitAsIntervention(commit: CreationCommitObservation, footprints: readonly CreationRunFootprint[]): CreationIntervention | null {\n if (commit.authorName === COMPANION_COMMIT_AUTHOR_NAME) return null;\n const owned = commit.files\n .map((file) => ({ file, owner: findRunOwningPathAt(file.path, commit.at, footprints, file.sha256) }))\n .filter((entry): entry is { file: (typeof commit.files)[number]; owner: CreationRunFootprint } => entry.owner !== undefined);\n if (owned.length === 0) return null;\n const changed = owned.filter((entry) => entry.owner.files.get(entry.file.path) !== entry.file.sha256);\n const kind = changed.length > 0 ? CreationInterventionKind.HAND_EDIT : CreationInterventionKind.MANUAL_COMMIT;\n const throughLaneAccept = LANE_ACCEPT_TRAILER_KEYS.some((key) => new RegExp(`^${key}:`, 'm').test(commit.body));\n const paths = (kind === CreationInterventionKind.HAND_EDIT ? changed : owned).map((entry) => entry.file.path);\n const summary = kind === CreationInterventionKind.HAND_EDIT\n ? `a commit by ${commit.authorName} changed ${paths.length} file(s) a run had written, to content the run did not write: ${paths.join(', ')}`\n : `${commit.authorName} committed ${paths.length} file(s) a run had written${throughLaneAccept ? ', through the lane\\'s accept' : ''}: ${paths.join(', ')}`;\n return {\n id: `commit:${commit.sha.slice(0, 12)}`,\n kind,\n at: commit.at,\n targets: uniqueTargets(owned.map((entry) => entry.owner.target)),\n summary,\n evidence: `commit ${commit.sha.slice(0, 12)} \"${commit.subject}\"`,\n ...(commit.subject.trim().length > 0 ? { reason: { text: commit.subject.trim(), source: CreationInterventionReasonSource.COMMIT_MESSAGE } } : {}),\n };\n}\n\n/**\n * Hand edits not committed yet: a working-tree file a run wrote, whose bytes are neither what the run left\n * nor what HEAD holds. Bytes equal to HEAD were committed and are judged by their commit; bytes equal to the\n * run's are the run's own output waiting for a commit. Read only while no run is in flight, because a run\n * in flight writes files no record yet names (the caller says so when it skips this).\n */\nexport function classifyWorkingTreeEdits(\n dirty: readonly { readonly path: string; readonly sha256: string | null; readonly headSha256: string | null }[],\n footprints: readonly CreationRunFootprint[],\n observedAt: string,\n): CreationIntervention[] {\n const edits: CreationIntervention[] = [];\n for (const file of dirty) {\n const owner = findRunOwningPathAt(file.path, observedAt, footprints);\n if (owner === undefined) continue;\n if (file.sha256 === owner.files.get(file.path) || file.sha256 === file.headSha256) continue;\n edits.push({\n id: `edit:${file.path}@${(file.sha256 ?? 'deleted').slice(0, 12)}`,\n kind: CreationInterventionKind.HAND_EDIT,\n at: observedAt,\n targets: [owner.target],\n summary: `${file.path}, which a run wrote, holds uncommitted content no recorded run wrote`,\n evidence: `working tree, observed ${observedAt}`,\n });\n }\n return edits;\n}\n\n/** A build task's run row, as far as interventions read it. */\nexport interface CreationBuildAttemptObservation {\n readonly taskRef: string;\n readonly runTaskId: string;\n readonly startedAt: string;\n readonly rearm?: { readonly reason: string; readonly note: string; readonly rearmedAt: string };\n readonly landedOverride?: { readonly reason: string; readonly note: string };\n}\n\n/**\n * Re-arms and overrides off the build's run rows. A re-arm whose reason is not one a PERSON may give is\n * the wave's own (it re-runs a task a sibling interfered with) and is not counted: nobody intervened.\n */\nexport function deriveBuildAttemptInterventions(\n attempts: readonly CreationBuildAttemptObservation[],\n personRearmReasons: readonly string[],\n): CreationIntervention[] {\n const interventions: CreationIntervention[] = [];\n for (const attempt of attempts) {\n const target = { lane: CREATION_BUILD_LANE, task: attempt.taskRef };\n if (attempt.rearm && personRearmReasons.includes(attempt.rearm.reason)) {\n interventions.push({\n id: `rearm:${attempt.runTaskId}`,\n kind: CreationInterventionKind.BUILD_TASK_REARM,\n at: attempt.rearm.rearmedAt,\n targets: [target],\n summary: `${attempt.taskRef} re-armed after its run of ${attempt.startedAt} (${attempt.rearm.reason})`,\n evidence: `run row ${attempt.runTaskId}`,\n reason: { text: attempt.rearm.note, source: CreationInterventionReasonSource.RECORDED_NOTE },\n });\n }\n if (attempt.landedOverride) {\n interventions.push({\n id: `override:${attempt.runTaskId}`,\n kind: CreationInterventionKind.VERDICT_OVERRIDE,\n at: attempt.startedAt,\n targets: [target],\n summary: `${attempt.taskRef} run although its landing probe called it landed (${attempt.landedOverride.reason})`,\n evidence: `run row ${attempt.runTaskId}`,\n reason: { text: attempt.landedOverride.note, source: CreationInterventionReasonSource.RECORDED_NOTE },\n });\n }\n }\n return interventions;\n}\n\n/** A revert marker of the playbook write register. */\nexport interface CreationRevertObservation {\n /** The marker's own name: one per revert, never per run. */\n readonly markerId: string;\n readonly runId: string;\n readonly playbookRef: string;\n readonly at: string;\n readonly paths: readonly string[];\n readonly forced: boolean;\n}\n\n/**\n * Each revert, once. A FORCED revert (over files edited since the run) is still one act, so it is one\n * entry that says it was forced, never a revert and an override counted twice.\n */\nexport function deriveRevertInterventions(reverts: readonly CreationRevertObservation[]): CreationIntervention[] {\n return reverts.map((revert) => ({\n id: `revert:${revert.markerId}`,\n kind: CreationInterventionKind.RUN_REVERT,\n at: revert.at,\n targets: [{ lane: revert.playbookRef, task: revert.runId }],\n summary: `${revert.paths.length} file(s) of ${revert.playbookRef} run ${revert.runId} reverted${revert.forced ? ', forced over edits made since the run' : ''}`,\n evidence: `revert marker ${revert.markerId}`,\n }));\n}\n\n/** What a boot found in flight, as `CreationInterventionLedgerCompanionService.recordRestart` wrote it. */\nexport interface CreationRestartRecord {\n readonly bootAt: string;\n readonly codingTaskIds: readonly string[];\n readonly playbookExecutionIds: readonly string[];\n readonly generationExecutionIds: readonly string[];\n}\n\n/** What the report knows of one meta-workflows execution a restart interrupted. */\nexport interface CreationInterruptedPlaybookExecution {\n /** The playbook it ran, or {@link CREATION_LOOP_LANE} for the unattended loop. */\n readonly lane: string;\n /** Set on a composite's CHILD: the root run whose tree it belongs to. */\n readonly rootRunId?: string;\n}\n\n/**\n * A restart as an intervention. Its targets are resolved through what the reader knows: a coding run's task\n * id to its build task, a playbook execution to its playbook (or the loop). A composite's child interrupted\n * with its root is the root's work, so it is folded into the root, and the summary counts RUNS, not rows. An\n * id nothing resolves still counts, under {@link CREATION_UNRESOLVED_PLAYBOOK_LANE}, because the restart did\n * interrupt it.\n */\nexport function deriveRestartIntervention(\n restart: CreationRestartRecord,\n resolve: {\n readonly codingTaskRef: (taskId: string) => string | undefined;\n readonly playbookExecution: (executionId: string) => CreationInterruptedPlaybookExecution | undefined;\n },\n): CreationIntervention {\n const coding = restart.codingTaskIds.map((taskId) => ({ lane: CREATION_BUILD_LANE, ...(resolve.codingTaskRef(taskId) ? { task: resolve.codingTaskRef(taskId)! } : {}) }));\n const generation = restart.generationExecutionIds.map(() => ({ lane: CREATION_BUILD_LANE }));\n const interrupted = new Set(restart.playbookExecutionIds);\n const playbookRuns = restart.playbookExecutionIds\n .map((executionId) => ({ executionId, known: resolve.playbookExecution(executionId) }))\n // A child whose root was interrupted too is that root's work, not a run of its own.\n .filter(({ known }) => known?.rootRunId === undefined || !interrupted.has(known.rootRunId));\n const playbooks = playbookRuns.map(({ executionId, known }) => ({ lane: known?.lane ?? CREATION_UNRESOLVED_PLAYBOOK_LANE, task: executionId }));\n const runs = restart.codingTaskIds.length + playbookRuns.length + restart.generationExecutionIds.length;\n return {\n id: `restart:${restart.bootAt}`,\n kind: CreationInterventionKind.COMPANION_RESTART,\n at: restart.bootAt,\n targets: uniqueTargets([...coding, ...generation, ...playbooks]),\n summary: `the companion restarted with ${runs} run(s) in flight: ${restart.codingTaskIds.length} coding, `\n + `${playbookRuns.length} playbook or loop, ${restart.generationExecutionIds.length} generation step(s)`,\n evidence: `restart record ${restart.bootAt}`,\n };\n}\n\n/** A person's stated reason, keyed by intervention id. A stated reason replaces a derived one. */\nexport function applyStatedReasons(\n interventions: readonly CreationIntervention[],\n stated: Readonly<Record<string, { readonly reason: string }>>,\n): CreationIntervention[] {\n return interventions.map((intervention) => {\n const reason = stated[intervention.id];\n return reason ? { ...intervention, reason: { text: reason.reason, source: CreationInterventionReasonSource.STATED } } : intervention;\n });\n}\n\n/**\n * The INDEPENDENCE SCORE (#2231): interventions per lane, and per landed unit. Lower is more independent; 0\n * means nobody stepped in. A lane with interventions and no landing has no ratio — `null`, never infinity\n * and never zero — and says so beside its count.\n *\n * A landed unit is a build task the plan reads LANDED or a playbook run that landed files. An intervention\n * that unblocked two lanes is counted once in each lane and once in the total.\n */\nexport function deriveIndependenceScore(\n interventions: readonly CreationIntervention[],\n landedByLane: ReadonlyMap<string, number>,\n): {\n readonly interventions: number;\n readonly landedUnits: number;\n readonly interventionsPerLandedUnit: number | null;\n readonly byLane: readonly { readonly lane: string; readonly interventions: number; readonly landed: number; readonly interventionsPerLanding: number | null }[];\n} {\n const counts = new Map<string, number>();\n for (const intervention of interventions) {\n for (const lane of new Set(intervention.targets.map((target) => target.lane))) counts.set(lane, (counts.get(lane) ?? 0) + 1);\n }\n const lanes = new Set([...counts.keys(), ...landedByLane.keys()]);\n const ratio = (numerator: number, denominator: number): number | null => (denominator > 0 ? Math.round((numerator / denominator) * 100) / 100 : numerator === 0 ? 0 : null);\n const byLane = [...lanes]\n .map((lane) => ({ lane, interventions: counts.get(lane) ?? 0, landed: landedByLane.get(lane) ?? 0 }))\n .map((entry) => ({ ...entry, interventionsPerLanding: ratio(entry.interventions, entry.landed) }))\n .sort((left, right) => right.interventions - left.interventions || left.lane.localeCompare(right.lane));\n const landedUnits = [...landedByLane.values()].reduce((sum, count) => sum + count, 0);\n return { interventions: interventions.length, landedUnits, interventionsPerLandedUnit: ratio(interventions.length, landedUnits), byLane };\n}\n\n/** One playbook ROOT run's spend, as its row records it (a root's spend includes its children). */\nexport interface CreationPlaybookRunSpend {\n readonly runId: string;\n readonly playbookRef: string;\n readonly instanceKey?: string;\n readonly startedAt: string;\n readonly finishedAt?: string;\n readonly status: string;\n /** Absent on a row from before #1507, or one whose process stopped before it settled. */\n readonly spend?: PlaybookSpend;\n}\n\n/** One coding run's spend, as its build task's row records it. */\nexport interface CreationCodingRunSpend {\n readonly runTaskId: string;\n readonly taskRef: string;\n readonly startedAt: string;\n readonly settledAt?: string;\n readonly tokens?: { readonly totalTokens?: number; readonly cacheReadTokens?: number };\n readonly cost?: { readonly amount: number; readonly currency: string };\n}\n\n/** One build GENERATION STEP's spend, as its row records it (#2232). `spend` is absent on a row from before it. */\nexport interface CreationGenerationStepSpend {\n readonly runTaskId: string;\n readonly taskRef: string;\n readonly startedAt: string;\n readonly settledAt?: string;\n readonly spend?: PlaybookSpend;\n}\n\n/** An unattended loop's own selection spend: its total less the lanes it ran, each a root run of its own. */\nexport interface CreationLoopSelectionSpend {\n readonly runId: string;\n readonly startedAt: string;\n readonly cost?: Readonly<Record<string, number>>;\n}\n\n/**\n * The journey's spend, counted ONCE (#2232, #2231).\n *\n * Root playbook runs + coding runs + generation steps + loop selections, less the coding runs and generation\n * steps a playbook run's own figure already contains (`PlaybookSpend.codingRuns` / `.generationSteps`), because\n * each of those is also on its build task's row.\n *\n * A root row that reported a cost and no coding part was recorded before #2232 counted that part. If coding\n * runs started inside its window, the total may count them twice; the number of such runs is returned rather\n * than guessed away, because a coding run started by a person while an unrelated lane ran is in that window\n * too, and subtracting it would undercount.\n */\nexport function deriveJourneySpend(input: {\n readonly playbookRuns: readonly CreationPlaybookRunSpend[];\n readonly codingRuns: readonly CreationCodingRunSpend[];\n readonly generationSteps: readonly CreationGenerationStepSpend[];\n readonly loopSelections: readonly CreationLoopSelectionSpend[];\n}): {\n readonly cost: Readonly<Record<string, number>>;\n readonly totalTokens?: number;\n readonly codingRunsWithoutReportedCost: number;\n readonly playbookRunsWithoutSpend: number;\n /** Settled generation steps whose row records no spend (rows from before #2232): left out, so a floor. */\n readonly generationStepsWithoutRecordedSpend: number;\n readonly codingRunsPossiblyCountedTwice: number;\n} {\n const cost: Record<string, number> = {};\n const add = (currency: string, amount: number) => { cost[currency] = Math.round(((cost[currency] ?? 0) + amount) * 1e6) / 1e6; };\n const playbookSpends = input.playbookRuns.flatMap((run) => (run.spend ? [run.spend] : []));\n const merged = mergePlaybookSpend(playbookSpends);\n for (const [currency, amount] of Object.entries(merged.cost ?? {})) add(currency, amount);\n for (const [currency, amount] of Object.entries(merged.codingRuns?.cost ?? {})) add(currency, -amount);\n // A generation step inside a playbook run is in its figure AND on its own row: counted once, from the row.\n for (const [currency, amount] of Object.entries(merged.generationSteps?.cost ?? {})) add(currency, -amount);\n let generationStepsWithoutRecordedSpend = 0;\n let generationTokens: number | undefined;\n for (const step of input.generationSteps) {\n // A step no meter observed recorded nothing either: a floor, never a free step.\n if (!step.spend || step.spend.measurement === PlaybookSpendMeasurement.NOT_OBSERVED) {\n if (step.settledAt !== undefined) generationStepsWithoutRecordedSpend += 1;\n continue;\n }\n for (const [currency, amount] of Object.entries(step.spend.cost ?? {})) add(currency, amount);\n if (step.spend.totalTokens !== undefined) generationTokens = (generationTokens ?? 0) + step.spend.totalTokens;\n }\n for (const loop of input.loopSelections) for (const [currency, amount] of Object.entries(loop.cost ?? {})) add(currency, amount);\n let codingRunsWithoutReportedCost = 0;\n let codingTokens: number | undefined;\n for (const run of input.codingRuns) {\n if (run.cost) add(run.cost.currency, run.cost.amount);\n else if (run.settledAt !== undefined) codingRunsWithoutReportedCost += 1;\n if (run.tokens?.totalTokens !== undefined) codingTokens = (codingTokens ?? 0) + run.tokens.totalTokens;\n }\n const playbookTokens = merged.totalTokens !== undefined\n ? merged.totalTokens - (merged.codingRuns?.totalTokens ?? 0) - (merged.generationSteps?.totalTokens ?? 0)\n : undefined;\n const totalTokens = codingTokens === undefined && playbookTokens === undefined && generationTokens === undefined\n ? undefined\n : (codingTokens ?? 0) + (playbookTokens ?? 0) + (generationTokens ?? 0);\n const unpartedWindows = input.playbookRuns\n .filter((run) => run.spend?.cost !== undefined && run.spend.codingRuns === undefined)\n .map((run) => ({ from: run.startedAt, to: run.finishedAt ?? '￿' }));\n const codingRunsPossiblyCountedTwice = input.codingRuns.filter((run) => run.cost !== undefined\n && unpartedWindows.some((window) => run.startedAt >= window.from && run.startedAt <= window.to)).length;\n return {\n cost: Object.fromEntries(Object.entries(cost).map(([currency, amount]) => [currency, Math.round(amount * 100) / 100])),\n ...(totalTokens !== undefined ? { totalTokens } : {}),\n codingRunsWithoutReportedCost,\n playbookRunsWithoutSpend: input.playbookRuns.filter((run) => run.spend === undefined).length,\n generationStepsWithoutRecordedSpend,\n codingRunsPossiblyCountedTwice,\n };\n}\n"]}
1
+ {"version":3,"file":"creation-intervention.models.js","sourceRoot":"","sources":["../../../../src/meta-workflows/models/creation-intervention.models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAAsB,MAAM,wCAAwC,CAAC;AAE1H;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,iFAAiF;AACjF,MAAM,CAAN,IAAY,wBAaX;AAbD,WAAY,wBAAwB;IAClC,6FAA6F;IAC7F,mEAAuC,CAAA;IACvC,4GAA4G;IAC5G,mDAAuB,CAAA;IACvB,iHAAiH;IACjH,2DAA+B,CAAA;IAC/B,8FAA8F;IAC9F,iEAAqC,CAAA;IACrC,yFAAyF;IACzF,iEAAqC,CAAA;IACrC,8CAA8C;IAC9C,qDAAyB,CAAA;AAC3B,CAAC,EAbW,wBAAwB,KAAxB,wBAAwB,QAanC;AAED,gDAAgD;AAChD,MAAM,CAAN,IAAY,gCAOX;AAPD,WAAY,gCAAgC;IAC1C,qEAAqE;IACrE,qDAAiB,CAAA;IACjB,oFAAoF;IACpF,mEAA+B,CAAA;IAC/B,8FAA8F;IAC9F,qEAAiC,CAAA;AACnC,CAAC,EAPW,gCAAgC,KAAhC,gCAAgC,QAO3C;AAED,0FAA0F;AAC1F,MAAM,CAAC,MAAM,mBAAmB,GAAG,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e,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,CAAC,SAAS,IAAI,MAAM,CAAC,IAAI,IAAI,GAAG,CAAC,SAAS,IAAI,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1G,OAAO;QACL,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;QACtH,GAAG,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QACrD,6BAA6B;QAC7B,wBAAwB,EAAE,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,MAAM;QAC5F,mCAAmC;QACnC,8BAA8B;KAC/B,CAAC;AACJ,CAAC","sourcesContent":["import { PlaybookSpendMeasurement, mergePlaybookSpend, type PlaybookSpend } from '@wildo-ai/application-creation-runtime';\n\n/**\n * THE INTERVENTION LEDGER of a creation run (#2231) — what a PERSON (or the session driving creation for\n * one) did to keep the lane going, derived from what the lane already records.\n *\n * ## Why this exists\n *\n * A creation run recorded what the playbooks did and nothing about what a person did. On\n * app-creation-test-004 (2026-10-01) the driving session kept the run report by hand: fifteen interventions,\n * each restart, hand edit, manual commit, re-arm and forced answer counted from memory, the spend added up\n * run by run. That report is the only measure of whether the next run needs a person less, and nothing in\n * the lane could produce it. The run's own history showed the gap: `161f4f9 build-task-logo: commit what\n * the wave left, writer unknown` is an intervention, and only its prose said so.\n *\n * ## Derived, not declared\n *\n * Every entry is computed from a record that exists for another reason, so a person is asked for nothing\n * but the REASON (`.claude/rules/derive-before-you-ask.md`):\n *\n * | kind | derived from |\n * |---|---|\n * | a manual commit | a commit NOT authored by the companion that commits, unchanged, a file a recorded run wrote |\n * | a hand edit | a commit not authored by the companion that changes such a file to something the run did not write, or the same change still uncommitted in the working tree |\n * | a companion restart | a boot whose reconciliation found runs in flight (`CreationRestartRecord`, written at that boot) |\n * | a re-arm | a person's re-arm on a build task's run row (`wildo build rearm`) |\n * | an override | a run started past a landing the person said was wrong (`wildo build run --despite-landed`) |\n * | a revert | a revert marker in the playbook write register (`wildo creation revert`); a forced one says so |\n *\n * ## What it covers, and what it cannot see\n *\n * - **One creation run is one application**, from its first recorded run: the same identity a defect found\n * during it carries in its `**Creation run:** <slug>` field (#2287), so the ledger and the issues filed\n * against the run cover the same thing. A person's later edit of a file a run wrote is still a HAND_EDIT,\n * because a creation is never \"over\": an application keeps being built by its lane.\n * - **A reverted run still owns what it wrote, until its revert.** The revert deletes the run's write record,\n * so its marker keeps the footprint (when it ran, what it wrote): a commit of those files before the revert\n * is still that run's, and committing the restored files afterwards is not a second intervention. Only a\n * marker written before it carried the footprint loses that, and the report says how many (`notChecked`).\n * - **Answers.** Answering or declining a question the lane asked is the lane working, not a person stepping in.\n * What counts as overriding an answer is overriding a VERDICT: running a task past its landing probe.\n *\n * ## A record for people, not an input to the lane\n *\n * Nothing in the creation lane reads this, and nothing may decide from it\n * (`.claude/rules/application-creation-directive.md`, \"Records\"): `wildo creation report` renders it and a\n * person reads it. The only thing it stores is what cannot be derived, each restart (an instant no later\n * read can recover) and each reason a person gives; both are throwaway state under `.wildo-saas/state/`.\n */\n\n/** What kind of act an intervention was. One named source for the vocabulary. */\nexport enum CreationInterventionKind {\n /** The companion booted with runs in flight; its reconciliation settled them interrupted. */\n COMPANION_RESTART = 'companion_restart',\n /** A file a recorded run wrote was changed by something no recorded run is: a person, a tool, a session. */\n HAND_EDIT = 'hand_edit',\n /** A person committed, unchanged, what a run wrote: the lane's own commit did not happen or did not cover it. */\n MANUAL_COMMIT = 'manual_commit',\n /** A person put a build task back in the queue after a run that completed without landing. */\n BUILD_TASK_REARM = 'build_task_rearm',\n /** A person overruled the lane's verdict: ran a task its landing probe called landed. */\n VERDICT_OVERRIDE = 'verdict_override',\n /** A person undid a playbook run's writes. */\n RUN_REVERT = 'run_revert',\n}\n\n/** Where an intervention's reason came from. */\nexport enum CreationInterventionReasonSource {\n /** The person stated it for this entry (`wildo creation reason`). */\n STATED = 'stated',\n /** The record the act left already carries it: a re-arm's or an override's note. */\n RECORDED_NOTE = 'recorded_note',\n /** The subject of the person's own commit: their words about it, until they state another. */\n COMMIT_MESSAGE = 'commit_message',\n}\n\n/** The lane name of the BUILD: every coding run of the build plan, whoever started it. */\nexport const CREATION_BUILD_LANE = 'build';\n\n/** The lane name of the unattended playbook LOOP (`wildo creation loop`), whose rows name no playbook. */\nexport const CREATION_LOOP_LANE = 'unattended loop';\n\n/** The lane of a playbook execution the report could not read (older than its page of rows). */\nexport const CREATION_UNRESOLVED_PLAYBOOK_LANE = 'playbook (row not read)';\n\n/** What an intervention unblocked: a lane (a playbook ref, or {@link CREATION_BUILD_LANE}) and, when known, its task. */\nexport interface CreationInterventionTarget {\n readonly lane: string;\n /** The build task's ref, or the playbook run's id. Absent when the record names no task. */\n readonly task?: string;\n}\n\nexport interface CreationIntervention {\n /** Stable across reads: `<kind>:<the record it was derived from>`. What `wildo creation reason` names. */\n readonly id: string;\n readonly kind: CreationInterventionKind;\n /** When it happened, ISO-8601. */\n readonly at: string;\n /** What it unblocked. Never empty: an act on nothing a run owns is no intervention in a creation run. */\n readonly targets: readonly CreationInterventionTarget[];\n /** What happened, in one line. */\n readonly summary: string;\n /** What it was derived from — a commit, a run row, a record — so a reader can check it. */\n readonly evidence: string;\n readonly reason?: { readonly text: string; readonly source: CreationInterventionReasonSource };\n}\n\n/** What one recorded run wrote: its lane and task, when it wrote, and each path's bytes after it (sha256; `null` = deleted). */\nexport interface CreationRunFootprint {\n readonly target: CreationInterventionTarget;\n readonly at: string;\n readonly files: ReadonlyMap<string, string | null>;\n /**\n * When the run stopped owning its files: a REVERTED run owns what it wrote until the revert, and no longer.\n * Without it, committing the restored files would read as a hand edit of a run that was already undone.\n */\n readonly until?: string;\n}\n\n/** The author git records for every commit the companion makes (`accepted-change-commit.companion.service.ts`). */\nexport const COMPANION_COMMIT_AUTHOR_NAME = 'Wildo development companion';\n\n/**\n * The trailers that mark a commit made through the lane's own accept door (`accepted-change-commit`'s\n * `Wildo-Coding-Run` / `Wildo-Playbook-Run`). A person's `wildo creation accept` carries one and is still a\n * person's commit, so it is still an intervention; the trailer only lets the summary say which door it was.\n */\nexport const LANE_ACCEPT_TRAILER_KEYS: readonly string[] = ['Wildo-Coding-Run', 'Wildo-Playbook-Run'];\n\n/** A commit, with the content of the run-owned paths it touched. */\nexport interface CreationCommitObservation {\n readonly sha: string;\n /** Committer date, ISO-8601: when it entered history. */\n readonly at: string;\n readonly authorName: string;\n readonly subject: string;\n readonly body: string;\n /** Each path it changed with its committed bytes' sha256 (`null` = deleted). Only paths a run owned need a hash. */\n readonly files: readonly { readonly path: string; readonly sha256: string | null }[];\n}\n\n/**\n * Whether a footprint still owns its files at a commit instant (#2231). A REVERTED run owns them until its revert.\n *\n * Git's commit instants (`%cI`) have no milliseconds and a revert's does, so within the revert's own second time\n * cannot say which came first. There the CONTENT decides: a commit holding exactly the bytes the run wrote is the\n * run's work, committed before it was undone; any other bytes (the restored pre-image) came after. Outside that\n * second, time decides alone.\n */\nfunction ownsAt(footprint: CreationRunFootprint, path: string, at: string, committedSha256: string | null | undefined): boolean {\n if (!footprint.files.has(path) || footprint.at > at) return false;\n if (footprint.until === undefined) return true;\n const untilTime = Date.parse(footprint.until);\n const atTime = Date.parse(at);\n if (!Number.isFinite(untilTime) || !Number.isFinite(atTime)) return at < footprint.until;\n const revertSecond = Math.floor(untilTime / 1000) * 1000;\n if (atTime < revertSecond) return true;\n if (atTime >= revertSecond + 1000) return false;\n return committedSha256 !== undefined && committedSha256 === footprint.files.get(path);\n}\n\n/**\n * The latest run that wrote `path` and still owned it at `at`, or `undefined` when no recorded run did.\n * `committedSha256` is the bytes the commit holds there, which settles a commit in a reverted run's last second.\n */\nexport function findRunOwningPathAt(\n path: string,\n at: string,\n footprints: readonly CreationRunFootprint[],\n committedSha256?: string | null,\n): CreationRunFootprint | undefined {\n let owner: CreationRunFootprint | undefined;\n for (const footprint of footprints) {\n if (!ownsAt(footprint, path, at, committedSha256)) continue;\n if (owner === undefined || footprint.at > owner.at) owner = footprint;\n }\n return owner;\n}\n\nconst uniqueTargets = (targets: readonly CreationInterventionTarget[]): CreationInterventionTarget[] => {\n const seen = new Map<string, CreationInterventionTarget>();\n for (const target of targets) seen.set(`${target.lane}\\u0000${target.task ?? ''}`, target);\n return [...seen.values()];\n};\n\n/**\n * A commit as an intervention, or `null` when it is not one: the companion authored it, or it touched no\n * path a run had written by then (a person's own work beside the lane is not the lane's business).\n *\n * MANUAL_COMMIT when every run-owned path holds exactly what its run left; HAND_EDIT as soon as one holds\n * something else. Paths are attributed to the latest run that wrote them before the commit.\n */\nexport function classifyCommitAsIntervention(commit: CreationCommitObservation, footprints: readonly CreationRunFootprint[]): CreationIntervention | null {\n if (commit.authorName === COMPANION_COMMIT_AUTHOR_NAME) return null;\n const owned = commit.files\n .map((file) => ({ file, owner: findRunOwningPathAt(file.path, commit.at, footprints, file.sha256) }))\n .filter((entry): entry is { file: (typeof commit.files)[number]; owner: CreationRunFootprint } => entry.owner !== undefined);\n if (owned.length === 0) return null;\n const changed = owned.filter((entry) => entry.owner.files.get(entry.file.path) !== entry.file.sha256);\n const kind = changed.length > 0 ? CreationInterventionKind.HAND_EDIT : CreationInterventionKind.MANUAL_COMMIT;\n const throughLaneAccept = LANE_ACCEPT_TRAILER_KEYS.some((key) => new RegExp(`^${key}:`, 'm').test(commit.body));\n const paths = (kind === CreationInterventionKind.HAND_EDIT ? changed : owned).map((entry) => entry.file.path);\n const summary = kind === CreationInterventionKind.HAND_EDIT\n ? `a commit by ${commit.authorName} changed ${paths.length} file(s) a run had written, to content the run did not write: ${paths.join(', ')}`\n : `${commit.authorName} committed ${paths.length} file(s) a run had written${throughLaneAccept ? ', through the lane\\'s accept' : ''}: ${paths.join(', ')}`;\n return {\n id: `commit:${commit.sha.slice(0, 12)}`,\n kind,\n at: commit.at,\n targets: uniqueTargets(owned.map((entry) => entry.owner.target)),\n summary,\n evidence: `commit ${commit.sha.slice(0, 12)} \"${commit.subject}\"`,\n ...(commit.subject.trim().length > 0 ? { reason: { text: commit.subject.trim(), source: CreationInterventionReasonSource.COMMIT_MESSAGE } } : {}),\n };\n}\n\n/**\n * Hand edits not committed yet: a working-tree file a run wrote, whose bytes are neither what the run left\n * nor what HEAD holds. Bytes equal to HEAD were committed and are judged by their commit; bytes equal to the\n * run's are the run's own output waiting for a commit. Read only while no run is in flight, because a run\n * in flight writes files no record yet names (the caller says so when it skips this).\n */\nexport function classifyWorkingTreeEdits(\n dirty: readonly { readonly path: string; readonly sha256: string | null; readonly headSha256: string | null }[],\n footprints: readonly CreationRunFootprint[],\n observedAt: string,\n): CreationIntervention[] {\n const edits: CreationIntervention[] = [];\n for (const file of dirty) {\n const owner = findRunOwningPathAt(file.path, observedAt, footprints);\n if (owner === undefined) continue;\n if (file.sha256 === owner.files.get(file.path) || file.sha256 === file.headSha256) continue;\n edits.push({\n id: `edit:${file.path}@${(file.sha256 ?? 'deleted').slice(0, 12)}`,\n kind: CreationInterventionKind.HAND_EDIT,\n at: observedAt,\n targets: [owner.target],\n summary: `${file.path}, which a run wrote, holds uncommitted content no recorded run wrote`,\n evidence: `working tree, observed ${observedAt}`,\n });\n }\n return edits;\n}\n\n/** A build task's run row, as far as interventions read it. */\nexport interface CreationBuildAttemptObservation {\n readonly taskRef: string;\n readonly runTaskId: string;\n readonly startedAt: string;\n readonly rearm?: { readonly reason: string; readonly note: string; readonly rearmedAt: string };\n readonly landedOverride?: { readonly reason: string; readonly note: string };\n}\n\n/**\n * Re-arms and overrides off the build's run rows. A re-arm whose reason is not one a PERSON may give is\n * the wave's own (it re-runs a task a sibling interfered with) and is not counted: nobody intervened.\n */\nexport function deriveBuildAttemptInterventions(\n attempts: readonly CreationBuildAttemptObservation[],\n personRearmReasons: readonly string[],\n): CreationIntervention[] {\n const interventions: CreationIntervention[] = [];\n for (const attempt of attempts) {\n const target = { lane: CREATION_BUILD_LANE, task: attempt.taskRef };\n if (attempt.rearm && personRearmReasons.includes(attempt.rearm.reason)) {\n interventions.push({\n id: `rearm:${attempt.runTaskId}`,\n kind: CreationInterventionKind.BUILD_TASK_REARM,\n at: attempt.rearm.rearmedAt,\n targets: [target],\n summary: `${attempt.taskRef} re-armed after its run of ${attempt.startedAt} (${attempt.rearm.reason})`,\n evidence: `run row ${attempt.runTaskId}`,\n reason: { text: attempt.rearm.note, source: CreationInterventionReasonSource.RECORDED_NOTE },\n });\n }\n if (attempt.landedOverride) {\n interventions.push({\n id: `override:${attempt.runTaskId}`,\n kind: CreationInterventionKind.VERDICT_OVERRIDE,\n at: attempt.startedAt,\n targets: [target],\n summary: `${attempt.taskRef} run although its landing probe called it landed (${attempt.landedOverride.reason})`,\n evidence: `run row ${attempt.runTaskId}`,\n reason: { text: attempt.landedOverride.note, source: CreationInterventionReasonSource.RECORDED_NOTE },\n });\n }\n }\n return interventions;\n}\n\n/** A revert marker of the playbook write register. */\nexport interface CreationRevertObservation {\n /** The marker's own name: one per revert, never per run. */\n readonly markerId: string;\n readonly runId: string;\n readonly playbookRef: string;\n readonly at: string;\n readonly paths: readonly string[];\n readonly forced: boolean;\n}\n\n/**\n * Each revert, once. A FORCED revert (over files edited since the run) is still one act, so it is one\n * entry that says it was forced, never a revert and an override counted twice.\n */\nexport function deriveRevertInterventions(reverts: readonly CreationRevertObservation[]): CreationIntervention[] {\n return reverts.map((revert) => ({\n id: `revert:${revert.markerId}`,\n kind: CreationInterventionKind.RUN_REVERT,\n at: revert.at,\n targets: [{ lane: revert.playbookRef, task: revert.runId }],\n summary: `${revert.paths.length} file(s) of ${revert.playbookRef} run ${revert.runId} reverted${revert.forced ? ', forced over edits made since the run' : ''}`,\n evidence: `revert marker ${revert.markerId}`,\n }));\n}\n\n/** What a boot found in flight, as `CreationInterventionLedgerCompanionService.recordRestart` wrote it. */\nexport interface CreationRestartRecord {\n readonly bootAt: string;\n readonly codingTaskIds: readonly string[];\n readonly playbookExecutionIds: readonly string[];\n readonly generationExecutionIds: readonly string[];\n}\n\n/** What the report knows of one meta-workflows execution a restart interrupted. */\nexport interface CreationInterruptedPlaybookExecution {\n /** The playbook it ran, or {@link CREATION_LOOP_LANE} for the unattended loop. */\n readonly lane: string;\n /** Set on a composite's CHILD: the root run whose tree it belongs to. */\n readonly rootRunId?: string;\n}\n\n/**\n * A restart as an intervention. Its targets are resolved through what the reader knows: a coding run's task\n * id to its build task, a playbook execution to its playbook (or the loop). A composite's child interrupted\n * with its root is the root's work, so it is folded into the root, and the summary counts RUNS, not rows. An\n * id nothing resolves still counts, under {@link CREATION_UNRESOLVED_PLAYBOOK_LANE}, because the restart did\n * interrupt it.\n */\nexport function deriveRestartIntervention(\n restart: CreationRestartRecord,\n resolve: {\n readonly codingTaskRef: (taskId: string) => string | undefined;\n readonly playbookExecution: (executionId: string) => CreationInterruptedPlaybookExecution | undefined;\n },\n): CreationIntervention {\n const coding = restart.codingTaskIds.map((taskId) => ({ lane: CREATION_BUILD_LANE, ...(resolve.codingTaskRef(taskId) ? { task: resolve.codingTaskRef(taskId)! } : {}) }));\n const generation = restart.generationExecutionIds.map(() => ({ lane: CREATION_BUILD_LANE }));\n const interrupted = new Set(restart.playbookExecutionIds);\n const playbookRuns = restart.playbookExecutionIds\n .map((executionId) => ({ executionId, known: resolve.playbookExecution(executionId) }))\n // A child whose root was interrupted too is that root's work, not a run of its own.\n .filter(({ known }) => known?.rootRunId === undefined || !interrupted.has(known.rootRunId));\n const playbooks = playbookRuns.map(({ executionId, known }) => ({ lane: known?.lane ?? CREATION_UNRESOLVED_PLAYBOOK_LANE, task: executionId }));\n const runs = restart.codingTaskIds.length + playbookRuns.length + restart.generationExecutionIds.length;\n return {\n id: `restart:${restart.bootAt}`,\n kind: CreationInterventionKind.COMPANION_RESTART,\n at: restart.bootAt,\n targets: uniqueTargets([...coding, ...generation, ...playbooks]),\n summary: `the companion restarted with ${runs} run(s) in flight: ${restart.codingTaskIds.length} coding, `\n + `${playbookRuns.length} playbook or loop, ${restart.generationExecutionIds.length} generation step(s)`,\n evidence: `restart record ${restart.bootAt}`,\n };\n}\n\n/** A person's stated reason, keyed by intervention id. A stated reason replaces a derived one. */\nexport function applyStatedReasons(\n interventions: readonly CreationIntervention[],\n stated: Readonly<Record<string, { readonly reason: string }>>,\n): CreationIntervention[] {\n return interventions.map((intervention) => {\n const reason = stated[intervention.id];\n return reason ? { ...intervention, reason: { text: reason.reason, source: CreationInterventionReasonSource.STATED } } : intervention;\n });\n}\n\n/**\n * The INDEPENDENCE SCORE (#2231): interventions per lane, and per landed unit. Lower is more independent; 0\n * means nobody stepped in. A lane with interventions and no landing has no ratio — `null`, never infinity\n * and never zero — and says so beside its count.\n *\n * A landed unit is a build task the plan reads LANDED or a playbook run that landed files. An intervention\n * that unblocked two lanes is counted once in each lane and once in the total.\n */\nexport function deriveIndependenceScore(\n interventions: readonly CreationIntervention[],\n landedByLane: ReadonlyMap<string, number>,\n): {\n readonly interventions: number;\n readonly landedUnits: number;\n readonly interventionsPerLandedUnit: number | null;\n readonly byLane: readonly { readonly lane: string; readonly interventions: number; readonly landed: number; readonly interventionsPerLanding: number | null }[];\n} {\n const counts = new Map<string, number>();\n for (const intervention of interventions) {\n for (const lane of new Set(intervention.targets.map((target) => target.lane))) counts.set(lane, (counts.get(lane) ?? 0) + 1);\n }\n const lanes = new Set([...counts.keys(), ...landedByLane.keys()]);\n const ratio = (numerator: number, denominator: number): number | null => (denominator > 0 ? Math.round((numerator / denominator) * 100) / 100 : numerator === 0 ? 0 : null);\n const byLane = [...lanes]\n .map((lane) => ({ lane, interventions: counts.get(lane) ?? 0, landed: landedByLane.get(lane) ?? 0 }))\n .map((entry) => ({ ...entry, interventionsPerLanding: ratio(entry.interventions, entry.landed) }))\n .sort((left, right) => right.interventions - left.interventions || left.lane.localeCompare(right.lane));\n const landedUnits = [...landedByLane.values()].reduce((sum, count) => sum + count, 0);\n return { interventions: interventions.length, landedUnits, interventionsPerLandedUnit: ratio(interventions.length, landedUnits), byLane };\n}\n\n/** One playbook ROOT run's spend, as its row records it (a root's spend includes its children). */\nexport interface CreationPlaybookRunSpend {\n readonly runId: string;\n readonly playbookRef: string;\n readonly instanceKey?: string;\n readonly startedAt: string;\n readonly finishedAt?: string;\n readonly status: string;\n /** Absent on a row from before #1507, or one whose process stopped before it settled. */\n readonly spend?: PlaybookSpend;\n}\n\n/** One coding run's spend, as its build task's row records it. */\nexport interface CreationCodingRunSpend {\n readonly runTaskId: string;\n readonly taskRef: string;\n readonly startedAt: string;\n readonly settledAt?: string;\n readonly tokens?: { readonly totalTokens?: number; readonly cacheReadTokens?: number };\n readonly cost?: { readonly amount: number; readonly currency: string };\n}\n\n/** One build GENERATION STEP's spend, as its row records it (#2232). `spend` is absent on a row from before it. */\nexport interface CreationGenerationStepSpend {\n readonly runTaskId: string;\n readonly taskRef: string;\n readonly startedAt: string;\n readonly settledAt?: string;\n readonly spend?: PlaybookSpend;\n}\n\n/** An unattended loop's own selection spend: its total less the lanes it ran, each a root run of its own. */\nexport interface CreationLoopSelectionSpend {\n readonly runId: string;\n readonly startedAt: string;\n readonly cost?: Readonly<Record<string, number>>;\n}\n\n/**\n * The journey's spend, counted ONCE (#2232, #2231).\n *\n * Root playbook runs + coding runs + generation steps + loop selections, less the coding runs and generation\n * steps a playbook run's own figure already contains (`PlaybookSpend.codingRuns` / `.generationSteps`), because\n * each of those is also on its build task's row.\n *\n * A root row that reported a cost and no coding part was recorded before #2232 counted that part. If coding\n * runs started inside its window, the total may count them twice; the number of such runs is returned rather\n * than guessed away, because a coding run started by a person while an unrelated lane ran is in that window\n * too, and subtracting it would undercount.\n */\nexport function deriveJourneySpend(input: {\n readonly playbookRuns: readonly CreationPlaybookRunSpend[];\n readonly codingRuns: readonly CreationCodingRunSpend[];\n readonly generationSteps: readonly CreationGenerationStepSpend[];\n readonly loopSelections: readonly CreationLoopSelectionSpend[];\n}): {\n readonly cost: Readonly<Record<string, number>>;\n readonly totalTokens?: number;\n readonly codingRunsWithoutReportedCost: number;\n readonly playbookRunsWithoutSpend: number;\n /** Settled generation steps whose row records no spend (rows from before #2232): left out, so a floor. */\n readonly generationStepsWithoutRecordedSpend: number;\n readonly codingRunsPossiblyCountedTwice: number;\n} {\n const cost: Record<string, number> = {};\n const add = (currency: string, amount: number) => { cost[currency] = Math.round(((cost[currency] ?? 0) + amount) * 1e6) / 1e6; };\n const playbookSpends = input.playbookRuns.flatMap((run) => (run.spend ? [run.spend] : []));\n const merged = mergePlaybookSpend(playbookSpends);\n for (const [currency, amount] of Object.entries(merged.cost ?? {})) add(currency, amount);\n for (const [currency, amount] of Object.entries(merged.codingRuns?.cost ?? {})) add(currency, -amount);\n // A generation step inside a playbook run is in its figure AND on its own row: counted once, from the row.\n for (const [currency, amount] of Object.entries(merged.generationSteps?.cost ?? {})) add(currency, -amount);\n let generationStepsWithoutRecordedSpend = 0;\n let generationTokens: number | undefined;\n for (const step of input.generationSteps) {\n // A step no meter observed recorded nothing either: a floor, never a free step.\n if (!step.spend || step.spend.measurement === PlaybookSpendMeasurement.NOT_OBSERVED) {\n if (step.settledAt !== undefined) generationStepsWithoutRecordedSpend += 1;\n continue;\n }\n for (const [currency, amount] of Object.entries(step.spend.cost ?? {})) add(currency, amount);\n if (step.spend.totalTokens !== undefined) generationTokens = (generationTokens ?? 0) + step.spend.totalTokens;\n }\n for (const loop of input.loopSelections) for (const [currency, amount] of Object.entries(loop.cost ?? {})) add(currency, amount);\n let codingRunsWithoutReportedCost = 0;\n let codingTokens: number | undefined;\n for (const run of input.codingRuns) {\n if (run.cost) add(run.cost.currency, run.cost.amount);\n else if (run.settledAt !== undefined) codingRunsWithoutReportedCost += 1;\n if (run.tokens?.totalTokens !== undefined) codingTokens = (codingTokens ?? 0) + run.tokens.totalTokens;\n }\n const playbookTokens = merged.totalTokens !== undefined\n ? merged.totalTokens - (merged.codingRuns?.totalTokens ?? 0) - (merged.generationSteps?.totalTokens ?? 0)\n : undefined;\n const totalTokens = codingTokens === undefined && playbookTokens === undefined && generationTokens === undefined\n ? undefined\n : (codingTokens ?? 0) + (playbookTokens ?? 0) + (generationTokens ?? 0);\n const unpartedWindows = input.playbookRuns\n .filter((run) => run.spend?.cost !== undefined && run.spend.codingRuns === undefined)\n .map((run) => ({ from: run.startedAt, to: run.finishedAt ?? '￿' }));\n const codingRunsPossiblyCountedTwice = input.codingRuns.filter((run) => run.cost !== undefined\n && unpartedWindows.some((window) => run.startedAt >= window.from && run.startedAt <= window.to)).length;\n return {\n cost: Object.fromEntries(Object.entries(cost).map(([currency, amount]) => [currency, Math.round(amount * 100) / 100])),\n ...(totalTokens !== undefined ? { totalTokens } : {}),\n codingRunsWithoutReportedCost,\n playbookRunsWithoutSpend: input.playbookRuns.filter((run) => run.spend === undefined).length,\n generationStepsWithoutRecordedSpend,\n codingRunsPossiblyCountedTwice,\n };\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"generation-step-progress.models.d.ts","sourceRoot":"","sources":["../../../../../src/meta-workflows/models/generation-step-progress.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,yBAAyB,EAE1B,MAAM,uDAAuD,CAAC;AAE/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,qCAAqC;IACrC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,qFAAqF;IACrF,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,8EAA8E;IAC9E,QAAQ,CAAC,QAAQ,EAAE,SAAS,6BAA6B,EAAE,CAAC;CAC7D;AAED,wCAAwC;AACxC,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,KAAK,EAAE,sBAAsB,CAAC;IACvC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,+BAA+B;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,yCAAyC;IACzC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,8DAA8D;IAC9D,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED;;;;GAIG;AACH,qBAAa,6BAA6B;IAStC,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,GAAG;IATtB,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAqH;IAE9I,6CAA6C;IAC7C,SAAgB,QAAQ,EAAE,yBAAyB,CAAC;gBAGjC,iBAAiB,EAAE,MAAM,EACzB,GAAG,GAAE,MAAM,IAAuB;IAU9C,QAAQ,IAAI,sBAAsB;IASzC,OAAO,CAAC,OAAO;IAQf,OAAO,CAAC,WAAW;IAWnB,OAAO,CAAC,OAAO;CAGhB"}
1
+ {"version":3,"file":"generation-step-progress.models.d.ts","sourceRoot":"","sources":["../../../../src/meta-workflows/models/generation-step-progress.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,yBAAyB,EAE1B,MAAM,uDAAuD,CAAC;AAE/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,qCAAqC;IACrC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,qFAAqF;IACrF,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,8EAA8E;IAC9E,QAAQ,CAAC,QAAQ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